Unified method, device and computer storage medium for element type names

By obtaining and classifying the character combination information of BIM element type names and performing regular processing, the problem of non-standard type names in BIM models is solved, and the naming standardization of BIM projects and the stability of exported results are improved.

CN112241558BActive Publication Date: 2024-08-30SHENZHEN CAPOL INT & ASSOC CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010916307.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-03
Publication Date
2024-08-30
Estimated Expiration
2040-09-03

AI Technical Summary

Technical Problem

During the design process of existing BIM models, the element type names are not standardized due to the habits or operation problems of different designers, resulting in a messy naming method of model element type names, which affects the standardization and export results of the model.

Method used

By obtaining the type name of the BIM element, extracting the character combination information of the type name, classifying and regularizing it, ensuring that the type name naming types are consistent, providing a unified element type name processing method and device, and using the processor and memory to execute the computer program to implement the type Unification of names.

Benefits of technology

It effectively solves the problem of non-standard type names, improves naming standardization in BIM projects, avoids export failures, and improves the aesthetics and operability of exported lists.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112241558B
    Figure CN112241558B
Patent Text Reader

Abstract

The present invention discloses a method, device and computer storage medium for unifying element type names, the method comprising: obtaining type names of multiple BIM elements; obtaining character combination information of the type names based on the type names; classifying the type names based on the character combination information to obtain naming categories of the type names; and regularizing the type names of multiple different naming categories so that the naming categories of the multiple type names are consistent. Through the above method, the standardization of the type names of BIM elements can be effectively guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of BIM, and in particular to a method and device for unifying element type names and a computer storage medium. Background Art

[0002] BIM (Building Information Modeling) three-dimensional models are gaining more and more attention in the field because of their better three-dimensional expression information.

[0003] In the design process of existing BIM models, multiple designers are generally required to work together. Due to habits or operational problems, different designers may have different naming methods when setting element type names, which makes the element type names of the entire BIM model not standardized. Summary of the invention

[0004] The present invention provides a method, a device and a computer storage medium for unifying element type names, so as to solve the problem of non-standard element type names in the prior art.

[0005] In order to solve the above technical problems, a technical solution adopted by the present invention is: to provide a method for unifying element type names, the unification method comprising: obtaining type names of multiple BIM elements; obtaining character combination information of the type names based on the type names; classifying the type names based on the character combination information to obtain naming types of the type names; and regularizing multiple type names of different naming types to make the naming types of the multiple type names consistent.

[0006] To solve the above technical problem, another technical solution adopted by the present invention is: to provide a device for unifying element type names, the device for unifying element type names comprising a processor and a memory; a computer program is stored in the memory, and the processor is used to execute the computer program to implement the steps of the above method.

[0007] To solve the above technical problems, another technical solution adopted by the present invention is to provide a computer storage medium, in which a computer program is stored, and the processor is used to execute the computer program to implement any of the methods mentioned above. When the computer program is executed, the steps of the above-mentioned method of unifying element type names are implemented.

[0008] Different from the prior art, the present invention obtains the type names of multiple BIM elements, obtains the character combination information of the type names based on the type names, and then classifies the type names based on the character combination information to obtain the naming categories of the type names, and regularizes the type names of multiple different naming categories so that the naming categories of the multiple type names are consistent. In this way, the type names of multiple BIM elements can be effectively processed to determine the naming categories of different type names, and then the type names of different naming categories are regularized so that the naming categories of the multiple type names are consistent. This can be beneficial to the standardization of BIM element naming in the entire BIM project, and both the aesthetics and operability are greatly improved, such as avoiding the problem of export failure due to inability to identify during subsequent export, and making the list beautiful and neat after export. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0010] Figure 1 It is a flowchart of a first embodiment of a method for unifying element type names provided by the present invention;

[0011] Figure 2 yes Figure 1 A schematic diagram of the sub-step flow chart of step S12;

[0012] Figure 3 yes Figure 1 A schematic flow chart of a first implementation of the sub-steps of step S13;

[0013] Figure 4 yes Figure 1 A schematic flow chart of a second implementation of the sub-steps of step S13;

[0014] Figure 5 yes Figure 1 Schematic diagram of the sub-step flow chart of step S14;

[0015] Figure 6 It is a schematic diagram of a display interface of a type name provided by the present invention;

[0016] Figure 7 is another schematic diagram of the display interface of the type name provided by the present invention;

[0017] Figure 8 is another schematic diagram of the display interface of the type name provided by the present invention;

[0018] Fig. 9 It is a structural schematic diagram of an embodiment of a device for unifying element type names provided by the present invention;

[0019] Fig.10 It is a schematic diagram of the structure of an embodiment of a computer storage medium of the present invention. DETAILED DESCRIPTION

[0020] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0021] Please refer to Figure 1 , Figure 1 It is a flowchart of the first embodiment of the method for unifying element type names of the present invention. The method for unifying element type names of this embodiment includes the following steps.

[0022] S11, obtaining type names of multiple BIM elements.

[0023] You can get the type names of multiple BIM elements. Optionally, you can extract BIM elements from a BIM project. In the optional scenario, you can mainly model a BIM project through BIM software such as Revit, and then use plug-ins or API interfaces to get BIM elements in the BIM project. BIM elements generally include system elements and loaded elements. System elements are elements that have been saved in BIM software such as Revit. They can generally be used to create basic graphic units, such as walls, floors, and stairs. Loadable elements are generally created externally using plug-ins and then imported into BIM projects. They have highly customized features, such as water heaters, doors, and windows. Whether it is a system element or a loadable element, the information of the BIM element generally includes the element name and type name. For example, the element name generally includes rectangular columns and rectangular beams, etc.

[0024] Optionally, BIM elements refer to basic components in BIM software, such as families in Revit software, components in PDMS software, parts in Catia software, and entities in Macrostation software.

[0025] Taking Revit software as an example, families may generally include three-dimensional families, such as components, and two-dimensional families, such as annotations, etc.

[0026] The type name of a BIM element can generally be used to display the type of the BIM element. Several BIM elements with the same element name may include different type names. For example, a BIM element with the element name of rectangular column may include type names such as "400x500", "500x700", "600X700", "500X500X", and "500x 500".

[0027] S12, obtaining character combination information of the type name based on the type name.

[0028] Optionally, the type name is generally composed of multiple character components. For example, "400x500" is composed of seven characters, 4, 0, 0, x, 5, 0, 0. "500X500X" is composed of eight characters, 5, 0, 0, X, 5, 0, 0, X.

[0029] Optionally, the type name is generally a combination of numbers and symbols, where the numbers are generally Arabic numerals such as 0-9, and the symbols can be "X", "x", "×", "", etc.

[0030] See also Figure 2 , Figure 2 for Figure 1 The schematic diagram of the sub-step flow chart of step S12 specifically includes the following steps:

[0031] S121, treating consecutive numbers in the type name as numeric characters, and treating each symbol in the type name as a symbol character.

[0032] When obtaining the character combination information of the type name based on the type name, the type name can be split first, such as splitting the type name "400x500" into "4, 0, 0, x, 5, 0, 0", and then the consecutive numbers in the type name can be taken together as numeric characters, that is, the consecutive numbers can be taken together as a single numeric character, such as "4, 0, 0, x, 5, 0, 0", "4, 0, 0" are consecutive numbers, then "4, 0, 0" can be taken as a numeric character "400", and "5, 0, 0" can also be taken as a numeric character "500".

[0033] Then, each symbol in the type name is regarded as a symbol character. For example, "4, 0, 0, x, 5, 0, 0" includes the symbol "x", so the symbol "x" is regarded as a symbol character. For example, the type name "500x 500X" can be divided into "5, 0, 0, x, 5, 0, 0, X", which includes the three characters "x", "", and "X". Then, "x", "", and "X" can be regarded as symbol characters.

[0034] S122, obtaining character combination information according to the numeric character and the symbol character.

[0035] Obtain character combination information from numeric characters and symbolic characters. Optionally, the numeric characters and symbolic characters can be combined according to their sorting in the type name to obtain the character combination information.

[0036] For example, the type name "400x500" is split into "4, 0, 0, x, 5, 0, 0", including the numeric characters "400" and "500" and the symbolic character "x". After combining them according to the sorting in the type name, the character combination information ["400", "x", "500"] can be formed. For example, the type name "500x 500X" can be split into "5, 0, 0, x,, 5, 0, 0, X", including the numeric characters "500" and "500" and the symbolic characters "x", "", and "X". Then, after combining them according to the sorting in the type name, the character combination information ["500", "x", "", "500", "X"] can be formed.

[0037] That is, optionally, the formed character combination information includes multiple characters arranged in sequence, and the characters include numeric characters and symbolic characters.

[0038] In an alternative embodiment, the symbol can also be other characters besides numbers, such as Chinese characters like "乘" (multiply), "和" (and), or English characters like "O".

[0039] For example, for the type name "400乘500", it can be split into "4, 0, 0, 乘, 5, 0, 0", and it can include the numeric characters "400" and "500" and the symbolic character "乘". After combining them according to the sorting in the type name, the character combination information ["400", "乘", "500"] can be formed.

[0040] S13. Classify the type name based on the character combination information to obtain the naming categories of the type name.

[0041] Optionally, for a type name, the main characters representing its information are numeric characters. For example, for the type names "400×500" and "400×600", since the numbers are different, the meanings represented are also different, that is, the specifications of the corresponding BIM elements are different. However, for the type names "400×500" and "400X 500X", the meanings represented are actually the same, that is, the specifications of the corresponding BIM elements are the same, only the symbols are different, and the difference in symbols may be due to the habits or operations of designers.

[0042] Optionally, during the BIM design process, it may be necessary to export a list related to the elements of the BIM project. Subsequently, different type names may represent the same meaning, but some symbols in the type names cannot be recognized during export, resulting in the inability to export the corresponding type names, thus making the list incomplete, or the types of symbols being too messy, which will affect the overall aesthetics of the list.

[0043] Therefore, the type names can be classified based on the character combination information to obtain the naming categories of the type names.

[0044] See also Figure 3 , Figure 3 for Figure 1 The flowchart of the first embodiment of the sub-steps of step S13 specifically includes the following steps:

[0045] S131a, obtaining arrangement information of multiple characters in the character combination information.

[0046] Arrangement information of multiple characters in the multiple character combination information is obtained, wherein the arrangement information includes relative positions of numeric characters and symbol characters in the multiple characters and types of symbol characters.

[0047] For example, the arrangement information of the character combination information ["400" "x" "500"] is: the symbol character is "x", and the symbol character is located between two numeric characters.

[0048] S132a: Classify the corresponding type name into corresponding naming categories based on the arrangement information.

[0049] In an optional embodiment, the corresponding type names may be classified into corresponding naming categories based on the arrangement information, that is, a corresponding naming category may be preset for each arrangement information.

[0050] For example, when the arrangement information is: the symbol character is "x", and the symbol character is located between two numeric characters, the preset naming type for the arrangement information can be type A.

[0051] For example, when the arrangement information is: the symbol character is "X", and the symbol character is located between two numeric characters, the preset naming type for the arrangement information may be type B.

[0052] For example, when the arrangement information is: the symbol characters are "X" and "", and the two symbol characters are located between two numeric characters, the preset naming type for the arrangement information may be type C.

[0053] For example, when the arrangement information is: the symbol characters are "x" and "X", and the symbol character "x" is located between two numeric characters, and the symbol character "X" is located after the second numeric character, the preset naming type for the arrangement information can be type D.

[0054] For example, the arrangement information of the character combination information ["400" "x" "500"] is: the symbol character is "x" and the symbol character is located between two numeric characters. Then the corresponding type name "400x500" can be classified into type A.

[0055] For example, the arrangement information of the character combination information ["400" "X" "" "500"] is: the symbol characters are "X" and "", and the two symbol characters are located between the two numeric characters. Then the naming type of the corresponding type name "400X 500" can be classified as type C.

[0056] Through the above method, the type name corresponding to each character combination information can be classified into the preset corresponding naming category.

[0057] Optionally, this method is suitable for situations where there are fewer naming types, so that the type names can be quickly classified to determine the corresponding naming types.

[0058] See also Figure 4 , Figure 4 for Figure 1 The flowchart of the second embodiment of the sub-steps of step S13 is as follows: for the character component information of multiple BIM elements, they can be compared with each other. If they are the same, they can be classified into the same naming category. If they are different, they can be classified into different naming categories. Specifically, the following steps are included:

[0059] S131b, obtaining arrangement information of multiple characters in the multiple character combination information.

[0060] The arrangement information includes the relative positions of the numeric characters and the symbol characters in the plurality of characters and the types of the symbol characters.

[0061] For example, the arrangement information of the character combination information ["400" "x" "500"] is: the symbol character is "x", and the symbol character is located between two numeric characters.

[0062] S132b, determine whether the arrangement information of the two type names is the same.

[0063] It is determined whether the arrangement information of any two type names among the multiple type names is the same. Optionally, the arrangement information of the type names of multiple BIM elements under the same element name may be compared, or the arrangement information of the type names of all the acquired BIM elements may be compared, which is not limited here.

[0064] S133b, if so, classify the two type names into the same naming category.

[0065] If the arrangement information in the character component information ["400" "x" "500"] and the character component information ["600" "x" "700"] is the same, that is, the relative positions of the numeric characters and the symbol characters are the same and the symbol characters of the two character component information are also the same, then the corresponding type name "400x500" and type name "600x700" can be classified as the same naming type.

[0066] S134b, if not, the two type names are divided into different naming categories.

[0067] Optionally, the arrangement information of the two type names is different, including multiple different situations, such as the relative positions of the numeric characters and the symbol characters of the multiple characters in the arrangement information are the same but the symbol characters are different.

[0068] For example, the arrangement information in the character component information ["400", "x", "500"] and the character component information ["600", "X", "700"] is different, because the relative positions of the numeric characters and the symbol characters of the multiple characters in the two arrangement information are the same, and the symbol character is located between two numeric characters, but the symbol characters are different. The symbol character of the character component information ["400", "x", "500"] is "x", and the symbol character of the character component information ["600", "X", "700"] is "X", so the corresponding type name "400x500" and type name "600X700" are divided into different naming types.

[0069] In another optional embodiment, two type names in which the relative positions of the numeric characters and the symbol characters of the plurality of characters in the arrangement information are different but the symbol characters are the same may be divided into different naming categories.

[0070] For example, the arrangement information in the character component information ["400" "" "500" "X"] and the character component information ["600" "X" "700" ""] is different because the relative positions of the numeric characters and symbol characters of the multiple characters in the two arrangement information are different, but the symbol characters are the same, both including "X" and "x", so the corresponding type name "400 500X" and type name "600X700" are divided into different naming types.

[0071] In another optional embodiment, two types of names in which the relative positions of the numeric characters and the symbol characters of the plurality of characters in the arrangement information are different and the symbol characters are also different may be divided into different naming categories.

[0072] For example, the arrangement information in the character component information ["400" "X" "500"] and the character component information ["600" "x" "700" ""] is different, because the relative positions of the numeric characters and symbol characters of multiple characters in the two arrangement information are different, and the symbols are completely different, the corresponding type name "400X500" and type name "600x700" can be divided into different naming types.

[0073] Through the above method, the type names of multiple BIM elements can be quickly judged and processed, so as to classify the type names of the BIM elements.

[0074] In an optional embodiment, before executing step S131b, the number of characters in the character combination information can also be obtained first, such as the number of characters in the character combination information ["400" "X" "500"] is 3, and the number of characters in the character component information ["600" "x" "700" ""] is 4.

[0075] If the number of characters in two character combination information is different, the two type names corresponding to the two character combination information are classified into different naming categories. For example, if the number of characters in the character combination information ["400" "X" "500"] is different from the number of characters in the character component information ["600" "x" "700" ""], the corresponding type name "400X500" and the type name "600x700" can be directly classified into different naming categories.

[0076] If the numbers of characters in the two character combination information are the same, step S131b is executed.

[0077] Through the above method, a pre-match can be performed based on the number of characters that can be quickly calculated, and characters with different numbers can be quickly classified first, thereby speeding up the calculation speed.

[0078] Optional, Figure 4 The relative way Figure 3 In general, it is suitable for situations where there are many types of names. For example, in large BIM projects, when designers from multiple companies or departments work together, there will be many different types of names. Through the above method, each type can be effectively classified.

[0079] S14, regularizing the type names of multiple different naming categories so that the naming categories of the multiple type names are consistent.

[0080] Optionally, type names of multiple different naming categories may be regularized so that the naming categories of the multiple type names are consistent.

[0081] In an optional embodiment, the type names of all acquired BIM elements may be normalized so that the naming types of these type names are consistent. For example, a rule may be preset, such as taking "100x100" as a preset standard, so that other type names are named with reference to the standard, such as the type name "100X500" may be normalized to obtain "100x500", and the type name "600X400x" may be normalized to obtain "600x400", and so on.

[0082] In other embodiments, type names with the same element name may also be regularized, such as Figure 5 , Figure 5 For the present invention Figure 1 The schematic diagram of the sub-step flow chart of step S14 specifically includes the following steps:

[0083] S141, displaying element names and element types of multiple BIM elements according to corresponding naming types.

[0084] The element names and type names of multiple BIM elements are displayed according to the corresponding naming types. That is, multiple type names are displayed in a manner of mainly using the element name and supplemented by the naming type.

[0085] like Figure 6 As shown, multiple type names are displayed in a manner of first naming the element name and then naming the type, and a click button for arranging in this order or in other forms is also included.

[0086] S142, obtaining the input normalization information.

[0087] Optionally, get the input click information to Figure 6 For example, the mouse click information can be obtained to determine which naming category the mouse click information is located in and which click key is corresponding to the regularization, and the naming category corresponding to the click key can be used as the required regularization information.

[0088] S143, regularizing multiple type names with the same element name according to the regularization information, so that the naming types of the multiple type names correspond to the regularization information.

[0089] A plurality of type names having the same element name are normalized according to normalization information, so that the naming types of the plurality of type names correspond to the normalization information.

[0090] like Figure 7 For example, if the element name is rectangular column and there are four types of names, if you click on the corresponding type 1, the regularization information is to change the name type of the type name under the element name to type 1. Figure 8 shown.

[0091] like Figure 7 For example, if the element name is rectangle and there are two types of names, if you click on the name type 2 corresponding to the regularization, the regularization information is to change the name type of the type name under the element name to name type 2. Figure 8 shown.

[0092] In other embodiments, the regularization information may also be input in other ways, such as directly obtaining the naming type information input by the user, and regularizing multiple type names with the same element name based on the regularization information, so that the naming types of the multiple type names correspond to the regularization information.

[0093] In other scenarios, some type names may be more complex combinations of numbers and symbols, such as "100X500X700X", or simpler combinations of numbers and symbols, such as "XXX1" and "XXX2", etc. They can also be regularized using the above method, which will not be elaborated here.

[0094] In summary, the present application provides a unified method for element type names, by obtaining the type names of multiple BIM elements, and obtaining the character combination information of the type names based on the type names, and then classifying the type names based on the character combination information to obtain the naming categories of the type names, and regularizing the type names of multiple different naming categories so that the naming categories of the multiple type names are consistent. In this way, the type names of multiple BIM elements can be effectively processed to determine the naming categories of different type names, and then the type names of different naming categories are regularized so that the naming categories of the multiple type names are consistent. In this way, it can be beneficial to the standardization of BIM element naming in the entire BIM project, and both the aesthetics and operability are greatly improved, such as avoiding the problem of export failure due to inability to identify during subsequent export, and making the list beautiful and neat after export.

[0095] like Fig. 9 As shown, the present application also provides a unified device 300 for element type names, see Fig. 9 , Fig. 9 1 is a schematic diagram of a structure of an embodiment of a device for unifying element type names provided by the present invention. In this embodiment, a device 300 for unifying element type names includes a processor 32 and a memory 31; the memory 31 stores a computer program, and the processor 32 is used to execute the computer program to implement the steps of the above-mentioned method for unifying element type names.

[0096] The logical process of the above-mentioned method for unifying element type names is presented in the form of a computer program. In terms of the computer program, if it is sold or used as an independent software product, it can be stored in a computer storage medium. Therefore, the present invention proposes a computer storage medium. Fig.10 , Fig.10 It is a structural diagram of an embodiment of a computer storage medium of the present invention. In this embodiment, a computer storage medium 200 stores a computer program 21, and when the computer program is executed by a processor, the above-mentioned network distribution method or control method is implemented.

[0097] The computer storage medium 200 may be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc., which can store computer programs, or may be a server storing the computer program, which can send the stored computer program to other devices for execution, or can also execute the stored computer program itself. From a physical entity point of view, the computer storage medium 200 may be a combination of multiple entities, such as multiple servers, a server plus a memory, or a memory plus a mobile hard disk, etc.

[0098] The above description is only an implementation mode of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for unifying element type names, characterized in that: The unified approach includes: Get the type names of multiple BIM elements; Obtaining character combination information of the type name based on the type name; Classifying the type name based on the character combination information to obtain a naming category of the type name; Regularizing the type names of the plurality of different naming categories so that the naming categories of the plurality of type names are consistent; Wherein, the character combination information includes a plurality of characters arranged in sequence, and the characters include numeric characters and symbol characters; The classifying the type name based on the character combination information to obtain the naming type of the type name includes: Acquire arrangement information of multiple characters in the character combination information; Classifying the corresponding type names into corresponding naming categories based on the arrangement information; The arrangement information includes the relative positions of the numeric characters and the symbol characters in the plurality of characters and the types of the symbol characters; or, The classifying the type name based on the character combination information to obtain the naming type of the type name includes: Acquire arrangement information of multiple characters in the character combination information; Determine whether the arrangement information of two type names is the same; If so, classify the two type names as the same naming kind; If not, the two type names are classified into different naming categories; The arrangement information includes the relative positions of the numeric characters and the symbol characters in the plurality of characters and the types of the symbol characters; Before obtaining the arrangement information of the plurality of characters in the character combination information, the method includes: Obtaining the number of characters in the character combination information; If the number of characters in the two character combination information is different, the two type names corresponding to the two character combination information are classified into different naming categories; If the numbers of characters in the two character combination information are the same, then executing the step of obtaining the arrangement information of the plurality of characters in the character combination information; Before obtaining the type names of the multiple BIM elements, the method includes: Extracting BIM elements in a BIM project, wherein the BIM elements include system elements and loaded elements, and the information of the BIM elements includes an element name and the type name; The step of regularizing the type names of the plurality of different naming types so that the naming types of the plurality of type names are consistent includes: Displaying the element names and type names of the plurality of BIM elements according to corresponding naming types; Obtaining input normalized information; A plurality of type names with the same element name are regularized according to the regularization information, so that the naming types of the plurality of type names correspond to the regularization information.

2. The unified method according to claim 1, characterized in that The obtaining character combination information of the type name based on the type name includes: The consecutive numbers in the type name are taken together as the number characters, and each symbol in the type name is taken as a symbol character; The character combination information is obtained according to the numeric character and the symbol character.

3. A device for unifying element type names, characterized in that: The device for unifying element type names comprises a processor and a memory; a computer program is stored in the memory, and the processor is used to execute the computer program to implement the steps of the method as claimed in claims 1-2.

4. A computer storage medium, characterized in that: The computer storage medium stores a computer program, and when the computer program is executed, the steps of the method according to any one of claims 1 to 2 are implemented.

Citation Information

Patent Citations

  • Address book sorting method and device and storage medium

    CN110086922A

  • Geological named entity extraction method and device

    CN111079436A