CN115544630A - BIM component creating method and device, storage medium and electronic equipment - Google Patents

BIM component creating method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN115544630A
CN115544630A CN202211381668.6A CN202211381668A CN115544630A CN 115544630 A CN115544630 A CN 115544630A CN 202211381668 A CN202211381668 A CN 202211381668A CN 115544630 A CN115544630 A CN 115544630A
Authority
CN
China
Prior art keywords
instruction
creation
creation instruction
bim
creating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211381668.6A
Other languages
Chinese (zh)
Other versions
CN115544630B (en
Inventor
谢伟
方长建
季如艳
赵广坡
孙浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Southwest Architectural Design and Research Institute Co Ltd
Original Assignee
China Southwest Architectural Design and Research Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Southwest Architectural Design and Research Institute Co Ltd filed Critical China Southwest Architectural Design and Research Institute Co Ltd
Priority to CN202211381668.6A priority Critical patent/CN115544630B/en
Publication of CN115544630A publication Critical patent/CN115544630A/en
Application granted granted Critical
Publication of CN115544630B publication Critical patent/CN115544630B/en
Priority to PCT/CN2023/099727 priority patent/WO2023241519A1/en
Priority to US18/498,932 priority patent/US20240061969A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Geometry (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Mathematics (AREA)
  • Structural Engineering (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • Civil Engineering (AREA)
  • Architecture (AREA)
  • Data Mining & Analysis (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a building method and device of a BIM component, a storage medium and an electronic device, comprising: acquiring a recommended creation instruction based on a current creation instruction and transition probability information for creating a BIM component; the transition probability information comprises the execution probability of the next arbitrary creation instruction after the current creation instruction, and the recommended creation instruction comprises the creation instructions with the front preset number of bits which are sorted from large to small according to the execution probability; displaying a recommendation creation instruction on a recommendation interface; when any one of the recommended creation instructions is determined to be a new creation instruction, the new creation instruction is executed. The recommendation creation instruction is displayed on the recommendation interface for selection of a user, the user directly selects the recommendation operation instruction on the recommendation interface, the selection efficiency is higher compared with the instruction for selecting the next step from the instruction library, the requirement on the technical cost is reduced, and the creation efficiency of the BIM component can be improved.

Description

BIM component creating method and device, storage medium and electronic equipment
Technical Field
The application relates to the technical field of building engineering, in particular to a Building Information Modeling (BIM) component creating method, a BIM component creating device, a storage medium and electronic equipment.
Background
BIM is the main mode for realizing digitization in the construction industry, BIM components are the constituent units of BIM models, a BIM component library consisting of the BIM components is one of the most important foundations for BIM development in the construction industry, and the abundant BIM component library can help construction engineering practitioners to quickly build the BIM models and promote multi-party cooperation of the construction industry taking the BIM as a core. At present, the mode of expanding the BIM component library is to manually create BIM components, and BIM software comprises Autodesk Revit, bentley, citia and the like. Especially for building engineering design, construction enterprises and product suppliers, there is generally a specialized BIM component creation team to create BIM components that conform to custom-made enterprises or fields according to different BIM software.
The BIM component has stronger specialties under different application parties and application forms, for example, an owner pays attention to the transmission and application of BIM component information in the whole life cycle, a design party pays attention to the expression of design intention, a construction party pays attention to the application of calculated amount and construction cost, a construction party pays attention to the implementation of a process method, and a property party pays attention to the application of operation and maintenance information. The creation of a BIM component meeting professional requirements by professionals is the only choice in the construction industry, but the creation of a BIM component also has the problems of strong inefficiency, high technical cost and capability of creating a BIM component by a practitioner after learning.
Therefore, how to increase the creation efficiency of the BIM component and reduce the technical cost becomes a problem that those skilled in the art pay attention to.
Disclosure of Invention
An object of the present application is to provide a method and an apparatus for creating a BIM component, a storage medium, and an electronic device, so as to at least partially improve the above problems.
In order to achieve the above purpose, the embodiments of the present application employ the following technical solutions:
in a first aspect, an embodiment of the present application provides a method for creating a BIM component, where the method includes:
acquiring a recommended creation instruction based on a current creation instruction and transition probability information for creating a BIM component;
the transition probability information comprises the execution probability of the next arbitrary creation instruction after the current creation instruction, and the recommended creation instruction comprises the creation instructions with the front preset number of bits which are sorted from large to small according to the execution probability;
displaying the recommendation creating instruction on a recommendation interface;
and executing the new creation instruction when any one of the recommended creation instructions is determined to be the new creation instruction.
In a second aspect, an embodiment of the present application provides an apparatus for creating a BIM component, the apparatus including:
the processing unit is used for acquiring a recommendation creation instruction based on a current creation instruction for creating the BIM component and the transition probability information;
the recommended creation instruction comprises creation instructions with front preset digits which are sorted from large to small according to the execution probability;
the processing unit is further used for displaying the recommendation creating instruction on a recommendation interface;
and the execution unit is used for executing the new creation instruction when any one recommended creation instruction is determined to be the new creation instruction.
In a third aspect, the present application provides a storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method described above.
In a fourth aspect, an embodiment of the present application provides an electronic device, including: a processor and memory for storing one or more programs; the one or more programs, when executed by the processor, implement the methods described above.
Compared with the prior art, the method and the device for creating the BIM component, the storage medium and the electronic device provided by the embodiment of the application comprise the following steps: acquiring a recommended creation instruction based on a current creation instruction and transition probability information for creating a BIM component; the transition probability information comprises the execution probability of the next arbitrary creation instruction after the current creation instruction, and the recommended creation instruction comprises the creation instructions with the front preset number of bits which are sorted from large to small according to the execution probability; displaying a recommendation creation instruction on a recommendation interface; when any one of the recommended creation instructions is determined to be a new creation instruction, the new creation instruction is executed. The recommendation creation instruction is displayed on the recommendation interface for selection of a user, the user directly selects the recommendation operation instruction on the recommendation interface, the selection efficiency is higher compared with the instruction for selecting the next step from the instruction library, the requirement on the technical cost is reduced, and the creation efficiency of the BIM component can be improved.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and it will be apparent to those skilled in the art that other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart of a method for creating a BIM component according to an embodiment of the present disclosure;
FIG. 3 is a schematic flow chart of a method for creating a BIM component according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram illustrating the substeps of S102 according to an embodiment of the present disclosure;
FIG. 5 is a schematic structural diagram of a BIM component provided in an embodiment of the present application;
fig. 6 is a schematic view of substeps of S101 provided in an embodiment of the present application;
FIG. 7 is a second flowchart illustrating a method for creating a BIM component according to an embodiment of the present disclosure;
FIG. 8 is a third flowchart illustrating a method for creating a BIM component according to an embodiment of the present disclosure;
fig. 9 is a schematic unit diagram of a BIM component creation apparatus provided in an embodiment of the present application.
In the figure: 10-a processor; 11-a memory; 12-a bus; 13-a communication interface; 201-a processing unit; 202-execution unit.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, as generally described and illustrated in the figures herein, could be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, as presented in the figures, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
In the description of the present application, it should be noted that the terms "upper", "lower", "inner", "outer", and the like indicate orientations or positional relationships based on orientations or positional relationships shown in the drawings or orientations or positional relationships conventionally found in use of products of the application, and are used only for convenience in describing the present application and for simplification of description, but do not indicate or imply that the referred devices or elements must have a specific orientation, be constructed in a specific orientation, and be operated, and thus should not be construed as limiting the present application.
In the description of the present application, it is also to be noted that, unless otherwise explicitly specified or limited, the terms "disposed" and "connected" are to be interpreted broadly, e.g., as being either fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in this application will be understood to be a specific case for those of ordinary skill in the art.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments and features of the embodiments described below can be combined with each other without conflict.
For the currently adopted manual creation of BIM components by using BIM software, it is one of the effective ways to enrich the BIM component library to improve the creation efficiency of the BIM components. According to the method, the next BIM component creating instruction which is possibly used can be recommended to a user in the process of creating the BIM component by the user based on the existing BIM component creating instruction log record, and the efficiency of creating the BIM component by the user is improved to a certain extent.
It should be noted that a markov chain is a random process in a state space that undergoes a transition from one state to another, and this process requires "memoryless", i.e., the probability distribution of the next state can only be determined by the current state, and events preceding it in the time series are all unrelated to it. This particular type of "memoryless" is referred to as a Markov property.
Mathematically, the sequence state is assumed to be 8230X t-2 ,X t-1 ,X t ,X t+1 ,X t+2 8230while in X t+1 The conditional probability of the state of a moment only depends on the previous moment X t The state of (1), compared with the previous state of (8230X) t-2 ,X t-1 Independently, namely:
Figure P_221031122215562_562676001
in the Markov chain model, the probability of state transition at a certain moment only depends on the previous state, and the Markov chain model can be determined only by calculating the transition probability between any two states in the system.
Specifically, the embodiment of the application provides an electronic device which can be a computer device, a server device, a mobile phone device and the like. Referring to fig. 1, a schematic structural diagram of an electronic device is shown. The electronic device comprises a processor 10, a memory 11, a bus 12. The processor 10, the memory 11 are connected by a bus 12, and the processor 10 is configured to execute executable modules, such as computer programs, stored in the memory 11.
The processor 10 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the method of creating the BIM structure may be performed by instructions in the form of hardware integrated logic circuits or software in the processor 10. The Processor 10 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
The Memory 11 may comprise a high-speed Random Access Memory (RAM) and may further comprise a non-volatile Memory (non-volatile Memory), such as at least one disk Memory.
The bus 12 may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. Only one bi-directional arrow is shown in fig. 1, but this does not indicate only one bus 12 or one type of bus 12.
The memory 11 is used for storing programs, for example, programs corresponding to the creation means of the BIM component. The means for creating the BIM components includes at least one software function module that can be stored in the memory 11 in the form of software or firmware (firmware) or solidified in an Operating System (OS) of the electronic device. The processor 10, upon receiving the execution instruction, executes the program to implement the BIM component creation method.
Possibly, the electronic device provided by the embodiment of the present application further includes a communication interface 13. The communication interface 13 is connected to the processor 10 via a bus. The electronic device may receive the log file transmitted by another terminal through the communication interface 13, and may further obtain an input instruction of the user through the communication interface 13.
It should be understood that the structure shown in fig. 1 is merely a structural schematic diagram of a portion of an electronic device, which may also include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
The method for creating a BIM component provided in the embodiment of the present application can be applied to, but is not limited to, the electronic device shown in fig. 1, and please refer to fig. 2, where the method for creating a BIM component includes: s103, S104, and S106 are specifically described below.
S103, acquiring a recommended creation instruction based on the current creation instruction for creating the BIM component and the transition probability information.
The transition probability information comprises the execution probability of the next arbitrary creation instruction after the current creation instruction, and the recommended creation instruction comprises the creation instructions with the front preset number of bits which are sorted from large to small according to the execution probability.
Optionally, the current creation instruction may be retrieved based on an API interface of the BIM software.
Optionally, the transition probability information is a markov chain transition probability matrix.
It should be understood that, in the process of creating a BIM component, the user selects different creation commands with greater randomness, and it can be assumed that the creation commands of the BIM component used at the next time are only related to the creation commands at the last time, and the number of creation commands of the BIM component provided by the BIM software is limited, and the selection of the creation commands by the user at different times is also limited, which means that the markov chain transition state is limited. It can be further explained that for any two consecutive moments X t 、X t+1 ,X t Creation instruction for user's use at a time: (
Figure F_221031122208453_453342001
),X t+1 Creation instruction for user's use at a time: (
Figure F_221031122208563_563657002
) Has a probability of
Figure F_221031122208642_642292003
Where f and g are the creation instruction sequence numbers of any two BIM components.
Thus constructing a Markov chain transition probability matrix
Figure F_221031122208720_720436004
The following:
Figure F_221031122208801_801087005
wherein,
Figure F_221031122208879_879124006
is characterized bylA creation command, s represents the total number of creation commands used by the user in the process of creating the BIM component,
Figure F_221031122208957_957259007
characterizing in creating an instruction: (
Figure F_221031122209022_022660008
) Then executing a create instruction (
Figure F_221031122209085_085204009
) Or, at the creation instruction: (
Figure F_221031122209147_147702010
) Then create instruction (
Figure F_221031122209229_229704011
) The execution probability of (2).
The Markov chain transition probability matrix
Figure F_221031122209292_292202012
The method has two characteristics:
Figure F_221031122209390_390336013
in which
Figure F_221031122209628_628156014
Namely: to any one of
Figure F_221031122209721_721893015
The value range is [0,1 ]];
Figure F_221031122209788_788294016
Wherein
Figure F_221031122209850_850799017
Namely: i.e. the sum of the transition probabilities for each row in the matrix equals 1.
It should be understood that on the basis of the current creation instruction and the transition probability information, the execution probability of the next arbitrary creation instruction after the current creation instruction can be known, and then the recommended creation instruction can be determined.
Alternatively, the preset number of bits may be greater than or equal to 1, for example, the creation instruction with the largest execution probability is selected as the recommended creation instruction, or the creation instruction with the top 5 of the execution probability ranking is selected as the recommended creation instruction.
Of course, the transition probability information may be presented in the form of a matrix, or may be presented in other forms, such as a set, a sequence, and a table, which are not limited herein.
And S104, displaying a recommendation creation instruction on a recommendation interface.
Optionally, the recommendation interface may be presented via a display, and may be a plug-in interface. The recommendation creation instruction is displayed on the recommendation interface, so that reference is provided for the user, and the user can conveniently select the next creation instruction.
The recommendation creation instruction is displayed on the recommendation interface for selection of a user, the user directly selects the recommendation operation instruction on the recommendation interface, and compared with the instruction for selecting the next step from the instruction library, the selection efficiency is higher, the requirement on the technical cost is reduced, and the creation efficiency of the BIM component can be improved.
And S106, when any recommended creation instruction is determined to be a new creation instruction, executing the new creation instruction.
Alternatively, the new creation instruction may be executed by the corresponding BIM software. Optionally, the new creation instruction is a creation instruction to be executed.
To sum up, the embodiment of the present application provides a method for creating a BIM component, including: acquiring a recommended creation instruction based on a current creation instruction and transition probability information for creating the BIM component; the recommended creation instruction comprises creation instructions with front preset digits which are sorted from large to small according to the execution probability; displaying a recommendation creation instruction on a recommendation interface; when any one of the recommended creation instructions is determined to be a new creation instruction, the new creation instruction is executed. The recommendation creation instruction is displayed on the recommendation interface for selection of a user, the user directly selects the recommendation operation instruction on the recommendation interface, and compared with the instruction for selecting the next step from the instruction library, the selection efficiency is higher, the requirement on the technical cost is reduced, and the creation efficiency of the BIM component can be improved.
It should be appreciated that in the next cycle, the newly executed create instruction may be repeated as a new current create instruction, repeating the create instruction recommendation.
Optionally, the probability matrix characteristic, state are transferred according to a Markov chain model
Figure F_221031122209928_928923018
The probability matrix for the transition x steps is:
Figure F_221031122210009_009477019
the Markov chain probability distribution is completely formed by the one-step probability matrix
Figure F_221031122210072_072000020
And initial distribution probability
Figure F_221031122210150_150111021
The decision that any operation command used in the process of creating the BIM component by the user is only related to the initially formed transition probability matrix and initial distribution, while the initial state is known for command recommendation, only needs to consider all possible commands to execute next and their probabilities.
From
Figure F_221031122210231_231155022
Transition x steps to State
Figure F_221031122210309_309315023
Has a transition probability of
Figure F_221031122210373_373239024
I.e. by
Figure F_221031122210467_467472025
To (1)
Figure F_221031122210529_529987026
Go to the first
Figure F_221031122210593_593948027
And (4) columns.
For the recommendation of the BIM component creation instruction, only 1 step of transition needs to be considered to obtain the probability matrix of the next state
Figure F_221031122210672_672088028
Further, the probability matrix can be derived from
Figure F_221031122210750_750206029
Get the current operation command
Figure F_221031122210814_814655030
All probability values for transitioning to any other operation command are as follows:
Figure F_221031122210877_877178031
obtaining
Figure F_221031122210955_955298032
And taking the creation instruction with the front preset number of bits with the middle execution probability sorted from large to small as a recommended creation instruction. According to
Figure F_221031122211034_034882033
The command name and the command id of the next command to be executed are obtained, the command name can be selected by the user, and the command id is used as an input parameter for executing the next command.
On the basis of fig. 2, regarding how to obtain the transition probability information, the embodiment of the present application further provides a possible implementation manner, please refer to fig. 3, before S103, the method for creating a BIM component further includes: s101 and S102 are specifically set forth below.
S101, acquiring a log record created by the BIM component of the target object.
The log record comprises history creating instructions used by the target object in the BIM component creating process and the execution sequence of the history creating instructions.
Alternatively, the target object may be the user himself, or may be a list object with higher efficiency of the BIM component. In order to make the data more representative and fit with the habit of the user, the log records of the same user can be collected as much as possible, and the created transition probability information can improve the experience of the user.
Alternatively, S101 may acquire only log records within a preset time period. It should be understood that the number of log records may be other than 1, for example, creating a log file for acquisition of m BIM components corresponds to m log records.
S102, obtaining transition probability information based on the log records.
On the basis of fig. 3, for the content in S102, the embodiment of the present application further provides a possible implementation manner, please refer to fig. 4, in which S102 includes: s102-1, S102-2, S102-3, and S102-4 are specifically set forth below.
S102-1, all history creating instructions are determined based on the log records.
Optionally, defining any BIM component creation instruction in any log record as:
Figure F_221031122211097_097377034
where i represents the log record created by the ith BIM component, which is takenThe value range is {1, m }, m representing the total number of log records;
Figure F_221031122211185_185761035
representing the jth creation instruction in the ith log record, wherein the value range of the jth creation instruction is {1, n } i }, n i The total number of create instructions in the ith log record is characterized.
To be provided with
Figure F_221031122211263_263896036
Expressing a BIM component creation instruction sequence in a log record created by a BIM component, forming an instruction sequence after traversing a log record, and storing a creation instruction read in the traversing process
Figure F_221031122211326_326390037
In the step (1), the first step,
Figure F_221031122211391_391802038
comprising a plurality of create instructions
Figure F_221031122211454_454306039
Referring to table 1 below, table 1 is used to show some creating instructions in a log record obtained, and the creating instructions shown in table 1 are used to create the BIM component illustrated in fig. 5.
Figure P_221031122215641_641311001
TABLE 1
Forming m instruction sequences after traversing all log records, and forming the instruction sequence of a single log record
Figure F_221031122211612_612041040
Performing summarization, summarizing m instruction sequences into
Figure F_221031122211674_674548041
To this point, obtainThere is a creation instruction in the log record created by the BIM component, and all instruction sequences are recorded for all collected BIM component creation log records
Figure F_221031122211752_752672042
Can be expressed as follows.
Figure F_221031122211819_819043043
I.e. any BIM building Block instruction sequence
Figure F_221031122211897_897182044
Each having a corresponding set of BIM building instructions
Figure F_221031122211960_960105045
And (7) corresponding.
At the moment of acquisition
Figure F_221031122212037_037821046
On the basis of the instruction sequence, all two-dimensional instruction sequences can be combined
Figure F_221031122212106_106624047
Down to one dimension, i.e. to
Figure F_221031122212164_164238048
And circularly taking out and sequentially splicing to form a first instruction set T which is expressed as follows:
Figure F_221031122212227_227271049
after removing all the repeated creating instructions in the first instruction set T, the total number of S creating instructions is retained, and a second instruction set Q including all the creating instructions used in the process of creating the BIM component is obtained, which is expressed as follows:
Figure F_221031122212336_336628050
wherein,
Figure F_221031122212438_438702051
characterize the second in the second set of instructions QlA create instruction for an arbitrary
Figure F_221031122212516_516816052
And
Figure F_221031122212581_581261053
are all different.
Figure F_221031122212659_659409054
The Name represents the Name of the creating instruction, and the id represents the id of the creating instruction.
It should be understood that the create instructions in the second instruction set Q are all history create instructions.
And S102-2, counting the frequency of the occurrence of any command combination in the log record.
The instruction combination is a combination of any two adjacent history creation instructions. It should be understood that the two history creation instructions in the same instruction combination may be the same or different.
Optionally, the sequence of BIM building block instructions may be based on the randomness of user actions or the complexity of creating one BIM building block instruction
Figure F_221031122212721_721901055
Any one of the instructions in
Figure F_221031122212787_787341056
The distribution has certain randomness and repeatability and certain existence
Figure F_221031122212865_865467057
Therefore, it is to cyclically read BIM component instruction sequence
Figure F_221031122213129_129122058
Iterative statistics
Figure F_221031122213193_193590059
And the next instruction after the occurrence, the statistical instruction combination
Figure F_221031122213256_256064060
The frequency of occurrence, the counted instruction combination sequence is marked as O, and is expressed as follows:
Figure F_221031122213334_334189061
Figure F_221031122213398_398635062
the instruction combination sequence O comprises any instruction combination in BIM component creation operation log record
Figure F_221031122213476_476768063
In order to conveniently count all the instruction combination conditions and the corresponding number thereof, all the instruction combination sequences are circularly taken out and spliced, so that an instruction sequence set S in a one-dimensional space can be obtained.
Figure F_221031122213554_554888064
The frequency of occurrence of any combination of instructions in the log record can be counted based on the instruction sequence set S.
And S102-3, counting the number of combinations corresponding to any history creation instruction in the log record.
The combination number is the number of instruction combinations in which the history creation instruction is the first instruction.
It should be understood that the number of combinations corresponding to any one history creation instruction may also be obtained based on the instruction sequence set S.
S102-4, based on the frequency and the number of combinations, determining the execution probability of any history creating instruction after each history creating instruction to generate transition probability information.
In particular, due to instruction combination
Figure F_221031122213634_634986065
Is created by a corresponding pair of BIM software
Figure F_221031122213697_697484066
To express, remember
Figure F_221031122213778_778544067
The frequency of occurrence in the instruction sequence set S is
Figure F_221031122213841_841022068
To be recorded with
Figure F_221031122213919_919157069
The number of instruction combinations for the first instruction therein is
Figure F_221031122213983_983121070
Thus, X t The creation command used by the user at the moment is
Figure F_221031122214061_061237071
Then X t+1 The creation command used by the user at the moment is
Figure F_221031122214123_123736072
The probability of (c) is:
Figure F_221031122214189_189190073
a markov chain transition probability matrix can be obtained:
Figure F_221031122214267_267301074
it is to be understood that, among others,
Figure F_221031122214362_362972075
on the basis of fig. 3, regarding how to obtain the log record in S101, the embodiment of the present application further provides a possible implementation manner, please refer to fig. 6, where S101 includes: s101-1, S101-2 and S101-3 are specifically described as follows.
S101-1, reading the log file under the specified path, acquiring the line text at the beginning of the specified character string in the log file, and generating a corresponding log record.
It should be appreciated that many operating systems and software applications have a way to log messages, errors, output, etc. in what is commonly referred to as a log file, which is used to diagnose problems or ensure that the program is functioning properly, and which is also present in the BIM software and can be conveniently retrieved from a computer default location. The log file also contains instructions related to the operation of the BIM model and the operation of the BIM components. In the aspect of collecting log files, in order to make data more representative, log files of the same user (target object) can be collected as many as possible, and the created transition probability matrix can improve the experience of a single user.
Taking BIM software adopting Autodesk Revit as an example for explanation, the log file can be obtained under the path "% LOCALAPPDATA% \ Autodesk \ Revit \ product name and version > \ journal ″. For the purposes of the present application, a log file, journal. Xxxx. Txt, which is specifically used for component creation is collected, wherein xxxx represents a sequence number generated by the journal log file, and the log file under the path includes a project operation log and a component operation log. After finding out the log file path (namely, the designated path) which accords with the BIM software version, the user gives the log file path to the electronic equipment, the electronic equipment acquires files under all the log file paths, and all the log files can be acquired only by screening txt format files.
And further, corresponding log records can be generated by acquiring line texts at the beginning of the specified character strings in the log files.
Optionally, after reading all log files circularly, in order to ensure the integrity of the original file, the content in the log file is read by lines in a read-only manner, and the line text beginning with "jrn.
It should be understood that, in the process of generating the log record, reading is performed in the row arrangement order in the log file so that the log record includes the history creation instruction used by the target object in the process of performing BIM component creation and the order in which the history creation instruction is executed. Namely, the history creating instructions in the log record are arranged according to the execution sequence of the UI.
S101-2, under the condition that the log record contains the first characteristic character string or does not contain the second characteristic character string, deleting the log record.
The first characteristic string is, for example, "create new item", and the second characteristic string is, for example, "create new family".
Optionally, the log file includes two types of logs, including an item operation log and a component operation log, and after each log file is read, a corresponding log record can be generated.
And obtaining log records corresponding to log files only used for BIM component creation by judging whether the log records contain two character strings of ' creating new family ' and ' not containing ' creating new item ', and obtaining m log records.
S101-3, deleting the first line in the reserved log record.
Optionally, part of the creation instructions in the BIM modeling software may be preprocessed to facilitate subsequent creation of the markov transition probability matrix.
Note that the first line in all log records beginning with "jnn.Therefore, the line needs to be deleted, an instruction line that only includes component creation is obtained, and the instruction name and the instruction id in the line are further screened. Further determining m log records, each log record comprising
Figure F_221031122214441_441624076
A component creates an instruction.
On the basis of fig. 2, regarding a method for creating a BIM component, an embodiment of the present application further provides a possible implementation manner, please refer to fig. 7, where the method for creating a BIM component further includes: s105, S107, and S108 are specifically described below.
S105, whether any recommended creation instruction is determined as a new creation instruction or not is judged. If yes, executing S106; if not, S107 is executed.
Specifically, after S104, S105 is executed to continuously determine whether any one of the recommended creation instructions is determined as a new creation instruction. When any recommended creation instruction is determined as a new creation instruction, the usage habit of the user is matched with the current transition probability information, and S106 is directly performed. When any one of the recommended creation instructions is determined to be a new creation instruction, it indicates that the usage habit of the user does not match the current transition probability information, and after S107 is executed, S108 needs to be executed to update the transition probability information.
S107, when any one of the recommended creation instructions is determined as a new creation instruction, the new creation instruction is executed.
And S108, updating the transition probability information.
It should be understood that the updated transition probability information can better conform to the use habits of the user, and is helpful for improving the creation efficiency of the user.
Optionally, the updating is done based on the last operation instruction and the new current operation instruction. Alternatively, after S107, the transition probability information update is completed from the log record corresponding to the newly acquired log file.
On the basis of fig. 2, regarding the method for creating the BIM component, the embodiment of the present application further provides a possible implementation manner, please refer to fig. 8, and after S106, the method for creating the BIM component further includes: s109 is specifically described below.
S109, whether the BIM component is completely created is determined. If yes, ending; if not, the process returns to step S103.
Optionally, it is determined whether the BIM component is created complete by determining whether the new create instruction is an end flag, e.g., rn. If not, repeatedly acquiring a recommended creation instruction based on the current creation instruction for creating the BIM component and the transition probability information.
It is understood that after S107, S109 may also be performed.
It should be noted that the transition probability information in the embodiment of the present application may be obtained in the manner shown in fig. 3, or may be directly downloaded from a server, and may be dynamically updated in the working process.
In one possible implementation, the electronic device may automatically recognize the version of the BIM software, thereby determining the designated path to obtain the corresponding log file.
Referring to fig. 9, fig. 9 is a schematic diagram of a device for creating a BIM component according to an embodiment of the present disclosure, where the device for creating a BIM component is optionally applied to the electronic device described above.
The BIM member creation apparatus includes: a processing unit 201 and an execution unit 202.
A processing unit 201, configured to obtain a recommended creation instruction based on a current creation instruction for creating a BIM component and transition probability information;
the transition probability information comprises the execution probability of the next arbitrary creation instruction after the current creation instruction, and the recommended creation instruction comprises the creation instructions with the front preset number of bits which are sorted from large to small according to the execution probability;
the processing unit 201 is further configured to display the recommendation creation instruction on a recommendation interface;
an execution unit 202, configured to execute a new creation instruction when any of the recommended creation instructions is determined to be a new creation instruction.
Alternatively, the processing unit 201 may execute S101 to S105, S108, and S109, and the execution unit 202 may execute S106 and S107 described above.
It should be noted that the BIM component creating apparatus provided in the present embodiment can execute the method flows shown in the above method flow embodiments to achieve the corresponding technical effects. For the sake of brevity, the corresponding contents in the above embodiments may be referred to where not mentioned in this embodiment.
The embodiment of the application also provides a storage medium, wherein the storage medium stores computer instructions and programs, and the computer instructions and the programs execute the BIM component creating method of the embodiment when being read and run. The storage medium may include memory, flash memory, registers, or a combination thereof, etc.
The following provides an electronic device, which may be a computer device, a server device, a mobile phone device, and so on, and as shown in fig. 1, the electronic device may implement the method for creating a BIM component described above; specifically, the electronic device includes: processor 10, memory 11, bus 12. The processor 10 may be a CPU. The memory 11 is used to store one or more programs, which when executed by the processor 10, perform the method of creating a BIM building block of the above-described embodiment.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.

Claims (10)

1. A method of creating a BIM component, the method comprising:
acquiring a recommended creation instruction based on a current creation instruction and transition probability information for creating a BIM component;
the transition probability information comprises the execution probability of the next arbitrary creation instruction after the current creation instruction, and the recommended creation instruction comprises the creation instructions with the front preset number of bits which are sorted from large to small according to the execution probability;
displaying the recommendation creating instruction on a recommendation interface;
when any one of the recommended creation instructions is determined to be a new creation instruction, executing the new creation instruction.
2. The method of creating a BIM component as claimed in claim 1, wherein before said obtaining a recommended creation instruction based on a current creation instruction and transition probability information for creating a BIM component, the method further comprises:
acquiring a log record created by a BIM component of a target object;
wherein the log record comprises history creating instructions used by the target object in the process of building the BIM component and the execution sequence of the history creating instructions;
and acquiring the transition probability information based on the log record.
3. The BIM construct creation method of claim 2, wherein the step of obtaining the transition probability information based on the log record comprises:
determining all history creation instructions based on the log record;
counting the frequency of the occurrence of any instruction combination in the log record;
the instruction combination is a combination of any two adjacent history creation instructions;
counting the number of combinations corresponding to any history creation instruction in the log record;
wherein the number of combinations is the number of instruction combinations in which the history creation instruction is the first instruction;
based on the frequency and the number of combinations, determining an execution probability of any history creation instruction after each history creation instruction to generate the transition probability information.
4. The method of claim 2, wherein the step of obtaining log records created by the BIM component of the target object comprises:
reading a log file under a specified path, acquiring a line text at the beginning of a specified character string in the log file, and generating a corresponding log record;
deleting the log record if the log record contains the first characteristic string or does not contain the second characteristic string.
5. The BIM construct creation method of claim 4, wherein the step of obtaining log records created by the BIM construct of the target object further comprises:
deleting the first row in the log record which is kept.
6. The BIM component creation method of claim 1, wherein when any one other than the recommended creation instruction is determined to be a new creation instruction, the method further comprises:
executing a new creation instruction and updating the transition probability information.
7. The BIM building method of claim 1, wherein after executing the new building instruction, the method further comprises:
determining whether the creation of the BIM component is completed;
if not, repeatedly acquiring a recommended creation instruction based on the current creation instruction for creating the BIM component and the transition probability information.
8. An apparatus for creating a BIM component, the apparatus comprising:
the processing unit is used for acquiring a recommended creation instruction based on a current creation instruction for creating the BIM component and the transition probability information;
the transition probability information comprises the execution probability of the next arbitrary creation instruction after the current creation instruction, and the recommended creation instruction comprises the creation instructions with the front preset number of bits which are sorted from large to small according to the execution probability;
the processing unit is further used for displaying the recommendation creating instruction on a recommendation interface;
and the execution unit is used for executing the new creation instruction when any one recommended creation instruction is determined to be the new creation instruction.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-7.
10. An electronic device, comprising: a processor and memory for storing one or more programs; the one or more programs, when executed by the processor, implement the method of any of claims 1-7.
CN202211381668.6A 2022-06-13 2022-11-07 BIM component creating method and device, storage medium and electronic equipment Active CN115544630B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202211381668.6A CN115544630B (en) 2022-11-07 2022-11-07 BIM component creating method and device, storage medium and electronic equipment
PCT/CN2023/099727 WO2023241519A1 (en) 2022-06-13 2023-06-12 Bim component creation method and apparatus, and digital design resource library application method and apparatus
US18/498,932 US20240061969A1 (en) 2022-06-13 2023-10-31 Bim component creating method, digital design resource library application method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211381668.6A CN115544630B (en) 2022-11-07 2022-11-07 BIM component creating method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN115544630A true CN115544630A (en) 2022-12-30
CN115544630B CN115544630B (en) 2023-03-24

Family

ID=84719824

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211381668.6A Active CN115544630B (en) 2022-06-13 2022-11-07 BIM component creating method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN115544630B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023241519A1 (en) * 2022-06-13 2023-12-21 中国建筑西南设计研究院有限公司 Bim component creation method and apparatus, and digital design resource library application method and apparatus

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110442977A (en) * 2019-08-08 2019-11-12 广州华建工智慧科技有限公司 Mobile terminal BIM model intelligent buffer method based on construction process network recommendation
WO2021062113A1 (en) * 2019-09-27 2021-04-01 Dirtt Environmental Solutions, Ltd. Architectural design software incorporating intelligent data-driven user guidance
CN112784346A (en) * 2021-02-07 2021-05-11 殿汇空间(上海)信息科技有限公司 Building structure autonomous design method, system, terminal and storage medium
CN112836277A (en) * 2021-02-24 2021-05-25 蔡闻宇 Building electrical automation design system based on BIM model
CN112948951A (en) * 2021-04-07 2021-06-11 万翼科技有限公司 Building model creating method and device and processing server
CN113326405A (en) * 2021-06-30 2021-08-31 数云科际(深圳)技术有限公司 Park entrance recommendation method and system based on BIM technology
CN113360997A (en) * 2021-07-13 2021-09-07 重庆长厦安基建筑设计有限公司 cloud-BIM integrated system
CN113377473A (en) * 2021-06-10 2021-09-10 广州极飞科技股份有限公司 Task creation method and device, electronic equipment and computer readable storage medium
CN114239116A (en) * 2021-12-21 2022-03-25 盈嘉互联(北京)科技有限公司 BIM design recommendation method based on style migration
CN114357596A (en) * 2022-03-21 2022-04-15 中国建筑西南设计研究院有限公司 BIM component resource rapid design method and system
CN114997548A (en) * 2022-08-05 2022-09-02 武九铁路客运专线湖北有限责任公司 Water movement geological seepage real-time early warning method based on genetic neural network
CN115017340A (en) * 2022-04-29 2022-09-06 北京达佳互联信息技术有限公司 Multimedia resource generation method and device, electronic equipment and storage medium
CN115048588A (en) * 2022-08-17 2022-09-13 中国建筑西南设计研究院有限公司 Recommendation method and device for BIM component and electronic equipment

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110442977A (en) * 2019-08-08 2019-11-12 广州华建工智慧科技有限公司 Mobile terminal BIM model intelligent buffer method based on construction process network recommendation
WO2021062113A1 (en) * 2019-09-27 2021-04-01 Dirtt Environmental Solutions, Ltd. Architectural design software incorporating intelligent data-driven user guidance
CN112784346A (en) * 2021-02-07 2021-05-11 殿汇空间(上海)信息科技有限公司 Building structure autonomous design method, system, terminal and storage medium
CN112836277A (en) * 2021-02-24 2021-05-25 蔡闻宇 Building electrical automation design system based on BIM model
CN112948951A (en) * 2021-04-07 2021-06-11 万翼科技有限公司 Building model creating method and device and processing server
CN113377473A (en) * 2021-06-10 2021-09-10 广州极飞科技股份有限公司 Task creation method and device, electronic equipment and computer readable storage medium
CN113326405A (en) * 2021-06-30 2021-08-31 数云科际(深圳)技术有限公司 Park entrance recommendation method and system based on BIM technology
CN113360997A (en) * 2021-07-13 2021-09-07 重庆长厦安基建筑设计有限公司 cloud-BIM integrated system
CN114239116A (en) * 2021-12-21 2022-03-25 盈嘉互联(北京)科技有限公司 BIM design recommendation method based on style migration
CN114357596A (en) * 2022-03-21 2022-04-15 中国建筑西南设计研究院有限公司 BIM component resource rapid design method and system
CN115017340A (en) * 2022-04-29 2022-09-06 北京达佳互联信息技术有限公司 Multimedia resource generation method and device, electronic equipment and storage medium
CN114997548A (en) * 2022-08-05 2022-09-02 武九铁路客运专线湖北有限责任公司 Water movement geological seepage real-time early warning method based on genetic neural network
CN115048588A (en) * 2022-08-17 2022-09-13 中国建筑西南设计研究院有限公司 Recommendation method and device for BIM component and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
叶波: "基于动态混合预测模型的装配式建筑构件推荐系统", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023241519A1 (en) * 2022-06-13 2023-12-21 中国建筑西南设计研究院有限公司 Bim component creation method and apparatus, and digital design resource library application method and apparatus

Also Published As

Publication number Publication date
CN115544630B (en) 2023-03-24

Similar Documents

Publication Publication Date Title
AU2012200872B2 (en) Search apparatus, search method, and program
CN115544630B (en) BIM component creating method and device, storage medium and electronic equipment
CN110728123B (en) Report generation method, system and related equipment
US8732615B2 (en) Unified interface for display and modification of data arrays
CN109815238B (en) Method and device for realizing dynamic addition of database by strictly balanced binary tree
CN110716739A (en) Code change information statistical method, system and readable storage medium
CN113268485B (en) Data table association analysis method, device, equipment and storage medium
CN112734570A (en) Credit default prediction method and device and electronic equipment
JP5656593B2 (en) Apparatus and method for decoding encoded data
CN108628604A (en) The parameter value generation method and system of SOA request messages
CN114489762A (en) Method and system for realizing multi-version application and electronic equipment
CN114281983B (en) Hierarchical text classification method, hierarchical text classification system, electronic device and storage medium
CN114547189A (en) Data service construction method, construction device, electronic device and storage medium
CN113515517B (en) Method and computer equipment for querying data set based on tree structure data
CN104102411B (en) A kind of method for editing text and text editing apparatus
CN112966040A (en) Method, device, terminal and storage medium for converting data structure
WO2017117870A1 (en) Processing method and apparatus for trap instruction trap
CN111523921A (en) Funnel analysis method, analysis device, electronic device, and readable storage medium
CN113282807B (en) Keyword expansion method, device, equipment and medium based on bipartite graph
CN111767223B (en) File processing method and device, electronic equipment and storage medium
CN113780467A (en) Model training method and device, computer equipment and storage medium
CN111813769A (en) Data processing method and device
CN115004169A (en) User selection method, device, server and storage medium
CN112597125A (en) Data modeling method and device, storage medium and electronic device
KR100995127B1 (en) bio information analysis process auto design system and thereof.

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant