CN116107971A - Model data processing method and device, electronic equipment and storage medium - Google Patents

Model data processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116107971A
CN116107971A CN202111331016.7A CN202111331016A CN116107971A CN 116107971 A CN116107971 A CN 116107971A CN 202111331016 A CN202111331016 A CN 202111331016A CN 116107971 A CN116107971 A CN 116107971A
Authority
CN
China
Prior art keywords
attribute information
component
information
model
basic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111331016.7A
Other languages
Chinese (zh)
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.)
Guangdong Bozhilin Software Technology Co ltd
Original Assignee
Guangdong Bozhilin Robot 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 Guangdong Bozhilin Robot Co Ltd filed Critical Guangdong Bozhilin Robot Co Ltd
Priority to CN202111331016.7A priority Critical patent/CN116107971A/en
Publication of CN116107971A publication Critical patent/CN116107971A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/164File meta data generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Library & Information Science (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a data processing method and device of a model, electronic equipment and a storage medium. The method comprises the following steps: basic attribute information of each component in the model is read, and business attribute information of each component input from the outside is received; generating an information file of each component in the model based on the basic attribute information and the service attribute information, wherein the information file comprises component identifications, basic attribute information and service attribute information which are stored in a correlated manner by each component; and based on the component identification and/or basic attribute information of each component in the model, matching in the information file, calling a writing plug-in of batch information, and writing the matched attribute information into the model. By the technical scheme disclosed by the embodiment of the invention, the high efficiency, the accuracy, the rapidity and the universality of the building data input process in the BIM model are ensured.

Description

Model data processing method and device, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of data processing, in particular to a data processing method and device of a model, electronic equipment and a storage medium.
Background
The state of the art is greatly popularizing BIM (Building Information Modeling ) technology. The BIM technology is quickened to be applied to the integrated integration of the novel building industrialization full life period, the extraction and utilization of BIM data information in the process can be achieved, a BIM model is used as a parameterized carrier, the model itself contains attribute data of a large number of components, but based on the current building full life period data utilization mode, huge data volume in the BIM model cannot be extracted accurately and effectively.
Therefore, how to quickly and accurately input model data and improve the working efficiency of designers is a technical problem to be solved urgently when model data input based on a BIM platform is performed at present, and the problem can be solved to effectively implement the novel digital integrated application of the whole life cycle of the building.
Disclosure of Invention
The invention provides a data processing method, a data processing device, electronic equipment and a storage medium of a model, so as to realize the high efficiency, accuracy, rapidity and universality of a building data input process in a BIM model.
In a first aspect, an embodiment of the present invention provides a method for processing data of a model, where the method includes:
basic attribute information of each component in the model is read, and business attribute information of each component input from the outside is received;
Generating an information file of each component in the model based on the basic attribute information and the service attribute information, wherein the information file comprises component identifications, basic attribute information and service attribute information which are stored in a correlated manner by each component;
and based on the component identification and/or basic attribute information of each component in the model, matching in the information file, calling a writing plug-in of batch information, and writing the matched attribute information into the model.
Optionally, the basic attribute information carries a component identifier, and the service attribute information includes a component identifier, where the basic attribute information and the component identifier in the service attribute information are determined based on the same coding mode;
the generating an information file of each component in the model based on the basic attribute information and the service attribute information includes:
and matching the basic attribute information with the service attribute information based on the component identifier, and storing the basic attribute information and the service attribute information corresponding to the same component identifier in a correlated manner to form an information file.
Optionally, before matching the basic attribute information and the service attribute information based on the component identifier, the method further includes:
And performing de-duplication processing on the repeated items in the basic attribute information, and performing de-duplication processing on the repeated items in the service attribute information.
Optionally, the basic attribute information and the service attribute information corresponding to the same component identifier are stored in an associated manner, and before the information file is formed, the method further includes:
and setting a distinguishing mark for the attribute item identification in the basic attribute information or the service attribute information.
Optionally, the method further comprises:
and identifying each attribute item in the information file according to the type of the component, and carrying out association processing on the attribute item identifiers which are associated in the basic attribute information and the service attribute information.
Optionally, after the basic attribute information and the service attribute information corresponding to the same component identifier are stored in an associated manner, the method further includes:
and setting attribute values corresponding to preset attribute information in the basic attribute information and the service attribute information as preset labels, wherein the preset labels are assigned labels.
Optionally, the writing the matched attribute information into the model includes:
if the written attribute information is a preset label, reading an attribute value corresponding to the preset identifier, and writing the attribute value into the model.
Optionally, after writing the matched attribute information into the model, the method further includes:
determining abnormal components in which attribute information is not written in the model, and/or determining abnormal components which are not successfully matched in the information file, and updating the information file based on the abnormal components;
and calling a writing plug-in of batch information, and writing the attribute information into the model based on the updated information file.
In a second aspect, an embodiment of the present invention further provides a data processing apparatus for a model, where the apparatus includes:
the attribute information acquisition module is used for reading basic attribute information of each component in the model and receiving externally input service attribute information of each component;
an information file generating module, configured to generate an information file of each component in the model based on the basic attribute information and the service attribute information, where the information file includes a component identifier, basic attribute information, and service attribute information that are stored in association with each component;
and the information writing module is used for matching in the information file based on the component identification and/or the basic attribute information of each component in the model, calling a writing plug-in of batch information and writing the matched attribute information into the model.
In a third aspect, an embodiment of the present invention further provides an electronic device, including:
one or more processors;
storage means for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement a data processing method for a model as provided by any embodiment of the present invention.
In a fourth aspect, embodiments of the present invention further provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a data processing method of a model provided by any embodiment of the present invention.
The technical scheme of the embodiment of the invention is that the basic attribute information of each component in the model is read, and the service attribute information of each component input from the outside is received; further, generating an information file of each component in the model based on the basic attribute information and the service attribute information, wherein the information file comprises a component identifier, basic attribute information and service attribute information which are stored in a correlated manner by each component; by setting a whole set of general coding system as an intermediary between a model and a service, the accurate hooking of model data and the requirements of each service is realized, the information of corresponding components is directly and accurately extracted from a BIM model, the rapid and effective data utilization is realized, and a new data acquisition mode is established; further, matching in an information file based on component identification and/or basic attribute information of each component in the model, calling a writing plug-in of batch information, and writing the matched attribute information into the model; by adopting a mode of automatically matching data by the plug-in, errors caused by manually inputting the data are avoided, the iteration times of the data are effectively reduced, and the correctness of the data is ensured; the method and the device realize the high efficiency, accuracy, rapidity and universality of the building data input process in the BIM.
Drawings
In order to more clearly illustrate the technical solution of the exemplary embodiments of the present invention, a brief description is given below of the drawings required for describing the embodiments. It is obvious that the drawings presented are only drawings of some of the embodiments of the invention to be described, and not all the drawings, and that other drawings can be made according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for processing data of a model according to a first embodiment of the present invention;
FIG. 2 is a flow chart of a data processing method of a model according to a second embodiment of the present invention;
FIG. 3 is a schematic diagram of a data processing apparatus of a model according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Example 1
FIG. 1 is a flowchart of a method for processing data of a model according to a first embodiment of the present invention, where the embodiment is applicable to a case of inputting component data of a model into a BIM model; the method is more suitable for the condition of fast data input into the BIM model based on the plug-in. The method may be performed by a data processing means of the model, which means may be implemented by means of software and/or hardware.
Before the technical scheme of the embodiment of the invention is introduced, an application scene of the embodiment is introduced in an exemplary manner. Of course, the following application scenario is only an optional application scenario, and the technical solution of the present embodiment may also be applied to other application scenarios, which is not limited in this embodiment. Specifically, rational application scenarios include: the state of the art is greatly popularizing BIM (Building Information Modeling ) technology. The BIM technology is quickened to be applied to the integrated integration of the novel building industrialization full life period, the extraction and utilization of BIM data information in the process can be achieved, a BIM model is used as a parameterized carrier, the model itself contains attribute data of a large number of components, but based on the current building full life period data utilization mode, huge data volume in the BIM model cannot be extracted accurately and effectively. Therefore, how to quickly and accurately input model data and improve the working efficiency of designers is a technical problem to be solved urgently when model data input based on a BIM platform is performed at present, and the problem can be solved to effectively implement the novel digital integrated application of the whole life cycle of the building.
Specifically, taking the cost calculation as an example, the data of the model cannot be directly read, and the attribute of the model service requirement needs to be given for identification. Therefore, the attribute information of all components needs to be re-entered into the BIM model according to the business requirement data. In the prior art, the data input mode is usually that a designer manually inputs corresponding data to components in a building model after building the model, but because the types and the quantity of the model components are too many, the data input usually needs to take a lot of time, repeated work is carried out, the accuracy of manual input is unstable, repeated iteration is needed, and the efficiency is extremely low.
In order to solve the technical problems, the technical idea of the embodiment of the invention realizes the batch export and input of the model data by designing the data input plug-in, can automatically identify the marking attribute of the components in the model, extract the specific attribute value and realize the automatic input of a large amount of component data, and the method can ensure the high efficiency, the accuracy, the rapidity and the universality of the data input process.
Based on the technical thought, the technical scheme of the embodiment of the invention specifically reads the basic attribute information of each component in the model and receives the service attribute information of each component input from the outside; further, generating an information file of each component in the model based on the basic attribute information and the service attribute information, wherein the information file comprises a component identifier, basic attribute information and service attribute information which are stored in a correlated manner by each component; by setting a whole set of general coding system as an intermediary between a model and a service, the accurate hooking of model data and the requirements of each service is realized, the information of corresponding components is directly and accurately extracted from a BIM model, the rapid and effective data utilization is realized, and a new data acquisition mode is established; further, matching in an information file based on component identification and/or basic attribute information of each component in the model, calling a writing plug-in of batch information, and writing the matched attribute information into the model; by adopting a mode of automatically matching data by the plug-in, errors caused by manually inputting the data are avoided, the iteration times of the data are effectively reduced, and the correctness of the data is ensured; the method and the device realize the high efficiency, accuracy, rapidity and universality of the building data input process in the BIM.
As shown in fig. 1, the method specifically includes the following steps:
s110, basic attribute information of each component in the model is read, and business attribute information of each component input from the outside is received.
In the embodiment of the invention, the components can be components for building a building. The underlying attribute information may be attribute items of components contained in the BIM model itself. Specifically, the attribute information of the components in the BIM model can be determined according to the national, local and enterprise internal standards. Exemplary attribute items include, but are not limited to, category, element encoding, and extended data range attribute information. Furthermore, specific parameter values required to be contained in each type of components of the BIM model, such as attribute items contained in attribute information of pipeline diameter, system type, material arrangement and the like, can be determined according to national, local and enterprise internal standards. The service attribute information may be attribute information corresponding to a service requirement, that is, service requirement attribute data of a building construction service.
Specifically, before basic attribute information of each component in the model is acquired, each component needs to be classified according to a component classification mode determined by national, local and enterprise internal standards, so as to generate a multi-class component information table. Further, the attribute information of each component which needs to be exported currently is selected through a data export function in a preset data entry plug-in, and then the selected attribute information table is exported, so that the basic attribute information of each component in the model is obtained. The attribute information of each component that is currently required to be derived may be attribute information of each component that is predetermined based on the service requirement.
Illustratively, the basic attribute information for each component is shown in table 1 below:
table 1 basic attribute information table
Figure BDA0003348845050000071
Figure BDA0003348845050000081
The basic attribute information table A of each member can be distinguished based on the category of each member, that is, the group of each member in Table 1 1 Basic attribute information table A 2 Basic attribute information table A 3 … … and basic attribute information table A n The system type and size of the component are both property items of the component.
Specifically, the method for obtaining the service attribute information of each member may include directly reading the service attribute information of each member constructing the building from a preset storage file, for example, reading the service attribute information of each member from a preset service requirement information file.
Of course, other manners may be used to obtain the basic attribute information and the service attribute information of each member, and the method for obtaining the attribute information is not limited in this embodiment.
Because of the many repeated items of the basic attribute information directly derived from the BIM model, errors easily occur in the process of filling information in batches, the technical scheme of the embodiment carries out the de-duplication processing on repeated items in the basic attribute information and the repeated items in the service attribute information before the basic attribute information and the service attribute information are matched based on the component identification.
Specifically, duplicate items with the same attribute information in the basic attribute information table or the service attribute table are deleted, so that the data processing amount is greatly reduced, and the correctness can be effectively improved when the data root table is searched in a matching way. Optionally, duplicate items with the same preset attribute items may be deleted, and for example, in the second item "give-drain_pvc-U drain pipe_socket, pipe type, P-wastewater system, 50mm" and the third item "give-drain_pvc-U drain pipe_socket, pipe type, P-wastewater system, 110mm" in table 1 are identical except for the size, and the second item or the third item is deleted to achieve the reduction of the data throughput. Optionally, the deletion processing can be performed only by repeated items with the same attribute items, so as to ensure the integrity of the data.
S120, generating an information file of each component in the model based on the basic attribute information and the business attribute information.
In the present embodiment, the information file is a comprehensive information file in which basic attribute information and service attribute information of each component are stored in association. The basic attribute information carries the component identifier, and the service attribute information includes the component identifier, where the component identifiers in the basic attribute information and the service attribute information are determined based on the same coding mode, in other words, the component identifier of the component may also be coding information of the component.
Specifically, after the service attribute information of each component is obtained, the element root table and the material root table corresponding to each component are further obtained. Specifically, the root table of each component corresponds to the service attribute information of each component. In this embodiment, the element root table contains information such as element names and element codes of the respective members; the material setting root table comprises information such as material setting names, material setting codes and the like of all the components; the basic attribute information and the business attribute information of each component in the model are encoded through element encoding and material setting encoding, so that a set of universal encoding system is formed, and the root table in the embodiment is applicable to all items in the same category in the building industry and has universality.
Optionally, the method for generating the information file may include: and matching the basic attribute information and the service attribute information based on the component identification, and storing the basic attribute information and the service attribute information corresponding to the same component identification in an associated manner to form an information file.
Specifically, corresponding attribute items are added in the basic attribute information table according to each attribute item in the service attribute information table. For example, if the attribute items included in the service attribute information have attributes such as materials, diameters, and types, the attributes are added to the basic attribute information table.
Furthermore, the Excel table is used for matching each component in the element root table and the material set root table with each component in the basic attribute information table, and information such as element codes, material set codes and the like which are respectively corresponding to each component which is successfully matched is added into the basic attribute information table to form an information file containing the codes and parameter information. Exemplary information files are shown in table 2:
TABLE 2 information File
Figure BDA0003348845050000101
Optionally, in order to distinguish the basic attribute item from the service attribute item of each component, the technical solution of this embodiment further sets a distinguishing flag for the attribute item identifier in the basic attribute information or the service attribute information before forming the information file of each component.
Specifically, all business attribute items are prefixed, as shown in the following table 3, XX-material, XX-diameter, XX-size, etc., and XX characters can be automatically distinguished from basic attributes of the members.
TABLE 3 information file
Name of the name Family of System type XX-material XX-building XX-diameter XX-size
Water supply and drainage_PP-R pipe_hot melt Type of pipe P-water supply system
Water supply and drainage tee joint clamp Pipe fitting type P-fire hydrant system
Y-type filter for water supply and drainage Pipeline accessory P-water supply system
Optionally, because the attribute characteristics of the components in different types are different, such as diameter, thickness, material and the like of the pipeline need to be read, and the pipe needs to be read in size, shape and style and the like, before the information file is formed, the technical scheme of the embodiment also identifies each attribute item in the information file according to the type of the component, and carries out association processing on the basic attribute information and the associated attribute item identifier in the service attribute information. Specifically, in the generated information file, identification and division are performed according to different component types, for example, XX-diameter corresponds to the diameter in the reading model, XX-size corresponds to the size in basic attribute information in the reading model, attribute with prefix is adapted to attribute items in the basic attribute information, so that the plug-in can directly read corresponding attribute, and the exemplary adapted information file is shown in table 4;
Table 4: information file
Figure BDA0003348845050000111
S130, matching in the information file based on the component identification and/or the basic attribute information of each component in the model, calling a writing plug-in of batch information, and writing the matched attribute information into the model.
In this embodiment, the method for matching in the information file based on the component identifier and/or the basic attribute information of each component in the model may include: and reading each component name identification component through the automatic identification function of the data entry plug-in, and matching the service attribute item and the basic attribute item of the component in the identified information file. And (3) writing the service attribute information of the successfully matched components back into a model, such as the added XX-element classification codes, XX-material set classification codes, XX-materials, XX-buildings, XX-diameters and other attributes of all the water supply and drainage_PP-R pipe_hot melting.
In this embodiment, in order to reduce the throughput of data, after the basic attribute information and the service attribute information corresponding to the same component identifier are stored in an associated manner, an attribute value corresponding to preset attribute information in the basic attribute information and the service attribute information is set as a preset tag, where the preset tag is an assigned tag.
Specifically, the attribute values corresponding to the preset attribute information of each component in the information file are labeled through specific symbols, such as the XX-material of the drainage_PP-R pipe is PPR, the attribute value of the material attribute of each component in the information file is labeled with the specific symbol $PPR, after the attribute information of each component in the information file is input into the model through the plug-in, the batch information writing function of the data input plug-in automatically extracts the corresponding attribute values of the labeled components, so that the corresponding attribute values are assigned or modified, and the like, and the processing amount of the processing is reduced.
Further, if the written attribute information is a preset label, the attribute value corresponding to the preset identifier is read, and the attribute value is written into the model.
Specifically, in the process that the data input plug-in writes the business attribute information of each component into the model based on the batch writing function, the labels corresponding to the attribute items with the labels in the information file are directly and reversely written into the model through the plug-in. Illustratively, all XX-texture-imparting flags field PPR for drain_PP-R pipe_hot melt, the plug-in batch write-backs the tagged attribute values to the model.
The technical scheme of the embodiment of the invention is that the basic attribute information of each component in the model is read, and the service attribute information of each component input from the outside is received; further, generating an information file of each component in the model based on the basic attribute information and the service attribute information, wherein the information file comprises a component identifier, basic attribute information and service attribute information which are stored in a correlated manner by each component; by setting a whole set of general coding system as an intermediary between a model and a service, the accurate hooking of model data and the requirements of each service is realized, the information of corresponding components is directly and accurately extracted from a BIM model, the rapid and effective data utilization is realized, and a new data acquisition mode is established; further, matching in an information file based on component identification and/or basic attribute information of each component in the model, calling a writing plug-in of batch information, and writing the matched attribute information into the model; by adopting a mode of automatically matching data by the plug-in, errors caused by manually inputting the data are avoided, the iteration times of the data are effectively reduced, and the correctness of the data is ensured; the method and the device realize the high efficiency, accuracy, rapidity and universality of the building data input process in the BIM.
Example two
Fig. 2 is a flowchart of a data processing method of a model according to a second embodiment of the present invention, where "determining abnormal components in which attribute information is not written in the model and/or determining abnormal components in an information file that are not successfully matched, and updating the information file based on the abnormal components" are added on the basis of the above embodiments, and explanation of terms identical to or corresponding to the above embodiments is not repeated herein. Referring to fig. 2, the data processing method of the model provided in this embodiment includes:
s210, basic attribute information of each component in the model is read, and business attribute information of each component input from outside is received.
S220, generating an information file of each component in the model based on the basic attribute information and the business attribute information.
S230, matching in the information file based on the component identification and/or the basic attribute information of each component in the model, calling a writing plug-in of batch information, and writing the matched attribute information into the model.
S240, determining abnormal components in which the attribute information is not written in the model, and/or determining abnormal components which are not successfully matched in the information file, and updating the information file based on the abnormal components.
In the embodiment, the data input is used as a process, the process needs to be repeatedly checked, the probability of error occurrence in manual input is high, and the data input in error needs to be checked and modified; meanwhile, if the model is updated, the data needs to be updated iteratively, but the process is mechanically and repeatedly checked at present, so that quick check cannot be realized.
Therefore, in view of the above technical problem, the automatic checking function of the data entry plug-in provided in the present embodiment determines an abnormal component in the model in which the attribute information is not written, and/or determines an abnormal component in the information file in which the matching is unsuccessful, and updates the information file based on the abnormal component.
Specifically, the attribute information and the information file imported into the model are checked through the automatic checking function of the data input plug-in, so that the attribute information of the problematic component can be quickly checked, and a new information file is generated according to the checking result, so that quick checking is realized.
Further, a write-in plug-in of batch information is called, and a writing operation of attribute information is performed on the model based on the updated information file, so that the attribute information imported in the model is updated attribute information, and the accuracy of data import is ensured.
According to the technical scheme, the information file is automatically reported to be wrong when being matched in the model, the information of the components with problems can be rapidly checked, a new data table can be generated after the matching, and rapid iteration can be realized by checking the components with unmatched values in the table, so that the high efficiency, the accuracy, the rapidity and the universality of the building data input process in the BIM model are realized.
The following is an embodiment of a data processing apparatus for a model according to an embodiment of the present invention, which belongs to the same inventive concept as the data processing method for a model according to each of the above embodiments, and details of the embodiment of the data processing apparatus for a model, which are not described in detail, may refer to the embodiment of the data processing method for a model.
Example III
FIG. 3 is a schematic structural diagram of a data processing device of a model according to a third embodiment of the present invention, where the present embodiment is applicable to a case of inputting component data of a model into a BIM model; the method is more suitable for the condition of fast data input into the BIM model based on the plug-in. The specific structure of the data processing device of the model comprises: an attribute information acquisition module 310, an information file generation module 320, and an information writing module 330; wherein, the liquid crystal display device comprises a liquid crystal display device,
An attribute information obtaining module 310, configured to read basic attribute information of each component in the model, and receive externally input service attribute information of each component;
an information file generating module 320, configured to generate an information file of each component in the model based on the basic attribute information and the service attribute information, where the information file includes a component identifier, basic attribute information, and service attribute information that are stored in association with each component;
and the information writing module 330 is configured to perform matching in the information file based on the component identifier and/or the basic attribute information of each component in the model, call a writing plug-in of batch information, and write the matched attribute information into the model.
Based on the technical thought, the technical scheme of the embodiment of the invention specifically reads the basic attribute information of each component in the model and receives the externally input business attribute information of each component; further, generating an information file of each component in the model based on the basic attribute information and the service attribute information, wherein the information file comprises component identifications, basic attribute information and service attribute information which are stored in a correlated manner by each component; by setting a whole set of general coding system as an intermediary between a model and a service, the accurate hooking of model data and the requirements of each service is realized, the information of corresponding components is directly and accurately extracted from a BIM model, the rapid and effective data utilization is realized, and a new data acquisition mode is established; further, matching in the information file based on component identification and/or basic attribute information of each component in the model, calling a writing plug-in of batch information, and writing the matched attribute information into the model; by adopting a mode of automatically matching data by the plug-in, errors caused by manually inputting the data are avoided, the iteration times of the data are effectively reduced, and the correctness of the data is ensured; the method and the device realize the high efficiency, accuracy, rapidity and universality of the building data input process in the BIM.
On the basis of the above embodiments, the basic attribute information carries a component identifier, and the service attribute information includes a component identifier, where the basic attribute information and the component identifier in the service attribute information are determined based on the same coding mode;
accordingly, the information file generating module 320 includes:
and the information file generation unit is used for matching the basic attribute information with the service attribute information based on the component identification, and storing the basic attribute information and the service attribute information corresponding to the same component identification in an associated mode to form an information file.
On the basis of the above embodiments, the device further includes:
and the deduplication processing module is used for performing deduplication processing on repeated items in the basic attribute information and performing deduplication processing on the repeated items in the service attribute information before the basic attribute information and the service attribute information are matched based on the component identification.
On the basis of the above embodiments, the device further includes:
and the distinguishing mark setting module is used for carrying out association storage on the basic attribute information and the service attribute information corresponding to the same component identifier, and setting a distinguishing mark on the basic attribute information or the attribute item identifier in the service attribute information before forming an information file.
On the basis of the above embodiments, the device further includes:
and the attribute item identification association module is used for carrying out association storage on the basic attribute information and the service attribute information corresponding to the same component identification, identifying each attribute item in the information file according to the component type before forming the information file, and carrying out association processing on the attribute item identification with association in the basic attribute information and the service attribute information.
On the basis of the above embodiments, the device further includes:
the label setting module is used for setting the attribute value corresponding to the preset attribute information in the basic attribute information and the service attribute information as a preset label after the basic attribute information and the service attribute information corresponding to the same component identifier are stored in a correlated mode, wherein the preset label is an assigned label.
Based on the above embodiments, the information writing module 330 includes:
and the information writing unit is used for reading the attribute value corresponding to the preset identifier and writing the attribute value into the model if the written attribute information is the preset label.
On the basis of the above embodiments, the device further includes:
An information file module, configured to determine an abnormal component in which attribute information is not written in a model, and/or determine an abnormal component in the information file that is not successfully matched, and update the information file based on the abnormal component;
and the batch information writing plug-in calling module is used for calling the writing plug-in of batch information and writing the attribute information into the model based on the updated information file.
The data processing device of the model provided by the embodiment of the invention can execute the data processing method of the model provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
It should be noted that, in the embodiment of the data processing apparatus of the above model, each unit and module included are only divided according to the functional logic, but not limited to the above division, so long as the corresponding functions can be implemented; in addition, the specific names of the functional units are also only for distinguishing from each other, and are not used to limit the protection scope of the present invention.
Example IV
Fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention. Fig. 4 illustrates a block diagram of an exemplary electronic device 12 suitable for use in implementing embodiments of the present invention. The electronic device 12 shown in fig. 4 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 4, the electronic device 12 is in the form of a general purpose computing electronic device. Components of the electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, a bus 18 that connects the various system components, including the system memory 28 and the processing units 16.
Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 12 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by electronic device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, commonly referred to as a "hard disk drive"). Although not shown in fig. 4, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. The system memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of the embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored in, for example, system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods of the embodiments described herein.
The electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with the electronic device 12, and/or any devices (e.g., network card, modem, etc.) that enable the electronic device 12 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. Also, the electronic device 12 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, through a network adapter 20. As shown in fig. 4, the network adapter 20 communicates with other modules of the electronic device 12 over the bus 18. It should be appreciated that although not shown in fig. 4, other hardware and/or software modules may be used in connection with electronic device 12, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processing unit 16 executes various functional applications and sample data acquisition by running a program stored in the system memory 28, for example, implementing the steps of a data processing method of a model provided in the present embodiment, the data processing method of a model includes:
basic attribute information of each component in the model is read, and business attribute information of each component input from the outside is received;
generating an information file of each component in the model based on the basic attribute information and the service attribute information, wherein the information file comprises component identifications, basic attribute information and service attribute information which are stored in a correlated manner by each component;
and based on the component identification and/or basic attribute information of each component in the model, matching in the information file, calling a writing plug-in of batch information, and writing the matched attribute information into the model.
Of course, those skilled in the art will appreciate that the processor may also implement the technical solution of the sample data obtaining method provided in any embodiment of the present invention.
Example five
The fifth embodiment provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements, for example, the steps of a data processing method for implementing a model provided by the present embodiment, the data processing method for a model including:
Basic attribute information of each component in the model is read, and business attribute information of each component input from the outside is received;
generating an information file of each component in the model based on the basic attribute information and the service attribute information, wherein the information file comprises component identifications, basic attribute information and service attribute information which are stored in a correlated manner by each component;
and based on the component identification and/or basic attribute information of each component in the model, matching in the information file, calling a writing plug-in of batch information, and writing the matched attribute information into the model.
The computer storage media of embodiments of the invention may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium may be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present invention may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
It will be appreciated by those of ordinary skill in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be centralized on a single computing device, or distributed over a network of computing devices, or they may alternatively be implemented in program code executable by a computer device, such that they are stored in a memory device and executed by the computing device, or they may be separately fabricated as individual integrated circuit modules, or multiple modules or steps within them may be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (11)

1. A method of data processing of a model, comprising:
basic attribute information of each component in the model is read, and business attribute information of each component input from the outside is received;
generating an information file of each component in the model based on the basic attribute information and the service attribute information, wherein the information file comprises component identifications, basic attribute information and service attribute information which are stored in a correlated manner by each component;
and based on the component identification and/or basic attribute information of each component in the model, matching in the information file, calling a writing plug-in of batch information, and writing the matched attribute information into the model.
2. The method according to claim 1, wherein the basic attribute information carries a component identifier, and the service attribute information includes a component identifier, where the basic attribute information and the component identifier in the service attribute information are determined based on a same coding manner;
the generating an information file of each component in the model based on the basic attribute information and the service attribute information includes:
and matching the basic attribute information with the service attribute information based on the component identifier, and storing the basic attribute information and the service attribute information corresponding to the same component identifier in a correlated manner to form an information file.
3. The method of claim 2, wherein prior to matching the base attribute information and the business attribute information based on the component identification, the method further comprises:
and performing de-duplication processing on the repeated items in the basic attribute information, and performing de-duplication processing on the repeated items in the service attribute information.
4. The method according to claim 2, wherein the basic attribute information and the service attribute information corresponding to the same component identifier are stored in association, and before forming an information file, the method further comprises:
and setting a distinguishing mark for the attribute item identification in the basic attribute information or the service attribute information.
5. The method according to claim 4, wherein the method further comprises:
and identifying each attribute item in the information file according to the type of the component, and carrying out association processing on the attribute item identifiers which are associated in the basic attribute information and the service attribute information.
6. The method according to claim 2, wherein after associating and storing the basic attribute information and the service attribute information corresponding to the same component identification, the method further comprises:
And setting attribute values corresponding to preset attribute information in the basic attribute information and the service attribute information as preset labels, wherein the preset labels are assigned labels.
7. The method of claim 6, wherein writing the matched attribute information into the model comprises:
if the written attribute information is a preset label, reading an attribute value corresponding to the preset identifier, and writing the attribute value into the model.
8. The method of claim 1, wherein after writing the matched attribute information into the model, the method further comprises:
determining abnormal components in which attribute information is not written in the model, and/or determining abnormal components which are not successfully matched in the information file, and updating the information file based on the abnormal components;
and calling a writing plug-in of batch information, and writing the attribute information into the model based on the updated information file.
9. A data processing apparatus of a model, comprising:
the attribute information acquisition module is used for reading basic attribute information of each component in the model and receiving externally input service attribute information of each component;
An information file generating module, configured to generate an information file of each component in the model based on the basic attribute information and the service attribute information, where the information file includes a component identifier, basic attribute information, and service attribute information that are stored in association with each component;
and the information writing module is used for matching in the information file based on the component identification and/or the basic attribute information of each component in the model, calling a writing plug-in of batch information and writing the matched attribute information into the model.
10. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs,
when executed by the one or more processors, causes the one or more processors to implement the data processing method of the model of any of claims 1-8.
11. A computer-readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements a data processing method of a model according to any one of claims 1-8.
CN202111331016.7A 2021-11-11 2021-11-11 Model data processing method and device, electronic equipment and storage medium Pending CN116107971A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111331016.7A CN116107971A (en) 2021-11-11 2021-11-11 Model data processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111331016.7A CN116107971A (en) 2021-11-11 2021-11-11 Model data processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116107971A true CN116107971A (en) 2023-05-12

Family

ID=86266153

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111331016.7A Pending CN116107971A (en) 2021-11-11 2021-11-11 Model data processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116107971A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117271011A (en) * 2023-09-28 2023-12-22 北京构力科技有限公司 Conversion processing system and method for building information model data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117271011A (en) * 2023-09-28 2023-12-22 北京构力科技有限公司 Conversion processing system and method for building information model data
CN117271011B (en) * 2023-09-28 2024-05-24 北京构力科技有限公司 Conversion processing system and method for building information model data

Similar Documents

Publication Publication Date Title
CN111291049A (en) Method, device, equipment and storage medium for creating table
CN111813804B (en) Data query method and device, electronic equipment and storage medium
CN109165209B (en) Data verification method, device, equipment and medium for object types in database
CN113626223A (en) Interface calling method and device
CN112613964A (en) Account checking method, account checking device, account checking equipment and storage medium
CN110688305B (en) Test environment synchronization method, device, medium and electronic equipment
CN112685117A (en) System language internationalization maintenance method, device and computer readable storage medium
CN113448869B (en) Method and device for generating test case, electronic equipment and computer readable medium
CN116107971A (en) Model data processing method and device, electronic equipment and storage medium
CN112258244B (en) Method, device, equipment and storage medium for determining task to which target object belongs
CN112039975A (en) Method, device, equipment and storage medium for processing message field
CN116185389A (en) Code generation method and device, electronic equipment and medium
CN115809228A (en) Data comparison method and device, storage medium and electronic equipment
CN110471708B (en) Method and device for acquiring configuration items based on reusable components
CN112988583A (en) Method and device for testing syntax compatibility of database
CN113961672A (en) Information labeling method and device, electronic equipment and storage medium
CN113609128A (en) Method and device for generating database entity class, terminal equipment and storage medium
CN113238940A (en) Interface test result comparison method, device, equipment and storage medium
CN113742321A (en) Data updating method and device
CN113987785B (en) Management method and device for complete information of algorithm block of nuclear power station DCS system
CN117573561B (en) Automatic test system, method, electronic equipment and storage medium
CN116755684B (en) OAS Schema generation method, device, equipment and medium
CN114896273B (en) SQL statement configuration method and equipment compatible with storage process and storage medium
CN114185890B (en) Database retrieval method and device, storage medium and electronic equipment
CN118152485A (en) ER diagram generation method, electronic device, storage medium, and program product

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20230703

Address after: A4-04, Floor 4, Building A1, No. 1, Panpu Road, Country Garden Community, Beijiao Town, Shunde District, Foshan City, Guangdong Province, 528000 (residence declaration is only for office purposes)

Applicant after: Guangdong Bozhilin Software Technology Co.,Ltd.

Address before: 528000 a2-05, 2nd floor, building A1, 1 Panpu Road, Biguiyuan community, Beijiao Town, Shunde District, Foshan City, Guangdong Province

Applicant before: GUANGDONG BOZHILIN ROBOT Co.,Ltd.