BIM-oriented parameter calculation method, device and equipment
Through the circular sorting algorithm and automated detection, the problem of chaotic parameter dependencies in BIM parametric modeling is solved, and the accuracy and efficiency of parameter calculation are improved, which is suitable for complex BIM modeling scenarios.
Patent Information
- Application Number
- CN202510929540.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-07
- Publication Date
- 2025-09-12
- Estimated Expiration
- 2045-07-07
AI Technical Summary
During the BIM parametric modeling process, the logical relationship between parameters is not arranged in the order of use, resulting in chaotic dependency relationships during calculations, infinite loops, or calculation failures. The existing system cannot effectively handle the sorting and loop detection of large-scale parameter sets, affecting modeling efficiency.
A BIM-oriented parameter calculation method is provided. By obtaining the target parameters input by the user, an intermediate parameter set is constructed, and a circular sorting algorithm is used to clarify the parameter dependency order, generate sorting information, detect and adjust circular use, and generate a circular path diagram for highlighting prompts, thereby realizing automatic parameter sorting and calculation.
It improves the accuracy and efficiency of parameter calculation in the BIM modeling process, avoids calculation failure, shortens calculation time, and improves design efficiency.
Smart Images

Figure CN120429939B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer-aided technology, and in particular to a BIM-oriented parameter calculation method, device and equipment. Background Art
[0002] During BIM parametric modeling, user-defined parameter sets often present issues. These include the logical relationships between parameters not being arranged in the order of use, and the existence of references between parameters. This can lead to confusion in calculation dependencies, resulting in infinite loops or calculation failures. Existing systems only report calculation errors through log text, requiring users to manually track dependency chains, a complex process. Summary of the Invention
[0003] In order to solve the problem of calculation failure caused by disordered parameter set order in existing BIM parameter calculation, the present invention provides a BIM-oriented parameter calculation method, device and equipment.
[0004] In a first aspect, the present invention provides a BIM-oriented parameter calculation method, the method comprising:
[0005] Acquire multiple target parameters and corresponding parameter information input by the user; wherein the target parameters include original parameters and intermediate parameters, the parameter information of the original parameters includes parameter values, and the parameter information of the intermediate parameters includes calculation formulas and the original parameters and / or other intermediate parameters used;
[0006] Extracting intermediate parameters from the target parameters in the input order to construct an intermediate parameter set, and generating sorting information;
[0007] Traversing the target parameters in the intermediate parameter set to see if they use intermediate parameters, placing the intermediate parameters used by the i-th target parameter into the first sequence, and simultaneously filling the i-th target parameter into the second sequence until all intermediate parameter sets are traversed;
[0008] Circularly sort the intermediate parameter set according to the sorting information m of the Nth target parameter in the first sequence in the intermediate parameter set and the sorting information n of the Nth target parameter in the second sequence in the intermediate parameter set;
[0009] The circular sorting includes:
[0010] Determine whether the sorting information m is greater than the sorting information n;
[0011] If so, move the mth target parameter in the intermediate parameter set to the n-1th position, update the sorting information, and determine the N+1th target parameter;
[0012] If not, then determine the N+1th target parameter until all target parameters in the first sequence are determined;
[0013] The target parameters in the sorted intermediate parameter set are calculated in sequence in combination with the original parameters to complete the calculation.
[0014] According to a specific embodiment, in the above calculation method, the method further includes:
[0015] Based on the cyclically sorted intermediate parameter set, check whether the sorting information m of the Mth target parameter in the first sequence in the intermediate parameter set is greater than the sorting information n of the Mth target parameter in the second sequence in the intermediate parameter set;
[0016] If yes, an alarm message is issued, wherein the alarm message is used to indicate that the Mth target parameter is recycled;
[0017] If not, no alarm message is issued.
[0018] According to a specific embodiment, in the above calculation method, based on the issuance of an alarm message, the method further includes:
[0019] Generate a cyclic path graph of the Mth target parameter;
[0020] Associate other target parameters used by the Mth target parameter and highlight them;
[0021] Receive the modified parameters of the Mth target parameter and re-traverse and re-sort.
[0022] According to a specific implementation, in the above calculation method, i, N, M, m and n are positive integers.
[0023] In a second aspect, the present invention provides a BIM-oriented parameter calculation device, the device comprising:
[0024] a parameter input unit, which obtains multiple target parameters and corresponding parameter information input by the user; wherein the target parameters include original parameters and intermediate parameters, the parameter information of the original parameters includes parameter values, and the parameter information of the intermediate parameters includes calculation formulas and the original parameters and / or other intermediate parameters used;
[0025] A parameter storage unit, configured to extract intermediate parameters from the target parameters in the order of input to construct an intermediate parameter set, and generate sorting information;
[0026] a sequence generating unit, configured to traverse the target parameters in the intermediate parameter set to determine whether they use intermediate parameters, place the intermediate parameters used by the i-th target parameter into the first sequence, and simultaneously fill the i-th target parameter into the second sequence until the intermediate parameter set is completely traversed;
[0027] A dynamic sorting unit, configured to cyclically sort the intermediate parameter set according to sorting information m of the Nth target parameter in the first sequence in the intermediate parameter set and sorting information n of the Nth target parameter in the second sequence in the intermediate parameter set;
[0028] The circular sorting includes:
[0029] Determine whether the sorting information m is greater than the sorting information n;
[0030] If so, move the mth target parameter in the intermediate parameter set to the n-1th position, update the sorting information, and determine the N+1th target parameter;
[0031] If not, then determine the N+1th target parameter until all target parameters in the first sequence are determined;
[0032] The parameter calculation unit is used to calculate the target parameters in the sorted intermediate parameter set in combination with the original parameters to complete the calculation.
[0033] According to a specific embodiment, in the above-mentioned computing device, the device further includes:
[0034] an alarm feedback unit, configured to check, based on the cyclically sorted intermediate parameter set, whether the sorting information m of the Mth target parameter in the first sequence in the intermediate parameter set is greater than the sorting information n of the Mth target parameter in the second sequence in the intermediate parameter set;
[0035] If yes, an alarm message is issued, wherein the alarm message is used to indicate that the Mth target parameter is recycled;
[0036] If not, no alarm message is issued.
[0037] According to a specific embodiment, in the above-mentioned computing device, the device further includes:
[0038] The text pop-up unit is used to display the alarm information.
[0039] According to a specific embodiment, in the above-mentioned computing device, the device further includes:
[0040] A multi-level prompting unit for generating a cyclic path diagram of the Mth target parameter;
[0041] Parameter highlighting unit, used to associate other target parameters used by the Mth target parameter and highlight them;
[0042] The parameter modification unit is used to receive the modified parameters of the Mth target parameter and re-traverse and cyclically sort.
[0043] According to a specific implementation, in the above-mentioned computing device, i, N, M, m and n are positive integers.
[0044] In a third aspect, the present invention provides an electronic device, the device comprising a memory and a processor;
[0045] The memory is used to store a computer program; the processor is used to call and execute the computer program so that the device performs any one of the above-mentioned BIM-oriented parameter calculation methods.
[0046] Compared with the prior art, the present invention has the following beneficial effects:
[0047] The present invention provides a parameter calculation method for BIM, which arranges disordered intermediate parameters into an ordered parameter set that can be directly calculated through cyclic sorting, clarifies the dependency order between parameters, avoids calculation failures caused by chaotic dependency relationships, and avoids repeated calculations caused by missing dependency relationships, improves the accuracy of parameter calculation in the BIM modeling process, shortens the calculation time of parametric modeling, and improves the design efficiency of BIM. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 A flow chart of a BIM-oriented parameter calculation method provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0049] The present invention will be further described in detail below with reference to specific embodiments. However, this should not be construed as limiting the scope of the present invention to the following embodiments, as all technologies implemented based on the present invention fall within the scope of the present invention.
[0050] Unless otherwise specified, in the description of the specific embodiments of the present invention, the expressions "first", "second", "third", etc. are merely used to distinguish the descriptions of the same or similar components and should not be understood as emphasizing or implying the relative importance of specific components.
[0051] In addition, in the description of the embodiments of the present invention, "several," "plurality," and "a number" represent at least two. It can also be any number such as two, three, four, five, six, seven, eight, nine, or even more than nine.
[0052] Existing technologies primarily rely on manual inspection or simple linear sorting. Particularly in BIM design, traditional methods are unable to efficiently handle the sorting and loop detection of large parameter sets, hindering modeling efficiency. Furthermore, existing technologies typically employ general-purpose DAG sorting algorithms, lack hardware acceleration optimization for BIM parameter characteristics, and lack intuitive loop dependency notifications. This makes it difficult for users to quickly identify and modify faulty logic. Given the large scale of parameters and complex logic, an efficient automated solution is urgently needed.
[0053] Based on this, the present invention provides a parameter calculation method for BIM, please refer to Figure 1 , which shows a flow chart of a BIM-oriented parameter calculation method provided by an embodiment of the present invention, the method comprising:
[0054] Step 1: Obtain multiple target parameters and corresponding parameter information input by the user.
[0055] The target parameters include original parameters and intermediate parameters, the parameter information of the original parameters includes parameter values, and the parameter information of the intermediate parameters includes calculation formulas and the used original parameters and / or other intermediate parameters.
[0056] It should be understood that, based on the scenario in which the target parameter is applied, the parameter information should also include the value type, the original parameter should include the specific parameter value, and the calculation formula should include the logical calculation process for indicating the calculation of the intermediate parameter and the second intermediate parameter.
[0057] Specifically, the original parameters may be initial parameters such as length, width, height, etc. in the corresponding BIM model that depend on user input.
[0058] In this step, the target parameters do not need to be managed sequentially, and can be input in the order of the user's usage habits or actual conditions.
[0059] Step 2: Extract the intermediate parameters from the target parameters in the input order to construct an intermediate parameter set, and generate sorting information.
[0060] For example, in this step, the parameter list can be used to arrange the parameters in the order of creation into a generic collection. ) as an example, where List is a collection type. Then create an intermediate parameter collection with {A0}(List ) as an example, and then traverse the set {A}(List ), extract the intermediate parameters in the order of input and put them into the collection {A0}(List ). Collection {A0}(List ) is the intermediate parameter set, and the sorting information is generated at the same time. It can be understood that the sorting information is the position sequence number of each target parameter.
[0061] Step 3: traverse the target parameters in the intermediate parameter set to see if they use intermediate parameters, place the intermediate parameters used by the i-th target parameter into the first sequence, and fill the i-th target parameter into the second sequence until the intermediate parameter set is traversed.
[0062] In this step, in order to facilitate the description of the technical solution, firstly the set {A0} (List ) to perform the first traversal, extract the remaining parameter records used in the calculation formula of each intermediate parameter in turn and enter them into the new set {Bi}(List ), a set is generated after each traversal, and these sets are recorded into the set {C}List in the order of traversal <List >).
[0063] Create {S1}(List ) and {S2}(List ), are the first sequence and the second sequence respectively, wherein {S1}(List ) is used to record the intermediate parameters input as parameters, {S2}(List ) is used to record the intermediate parameters traversed.
[0064] Then, perform a second traversal, traversing the set {C}. The i-th traversal corresponds to the traversal into the set {Bi}. The parameter is determined to be an intermediate parameter. If so, it is added to the first sequence {S1}. At the same time, the i-th parameter in {A0} is added to the second sequence {S2}, and this continues until the set {C} is completely traversed. This establishes a logical relationship: the i-th parameter in the first sequence {S1} should come before the i-th parameter in the second sequence {S2}.
[0065] Step 4: cyclically sort the intermediate parameter set according to the sorting information m of the Nth target parameter in the first sequence in the intermediate parameter set and the sorting information n of the Nth target parameter in the second sequence in the intermediate parameter set.
[0066] The cyclic sorting includes:
[0067] Step 401: Determine whether the ranking information m is greater than the ranking information n;
[0068] Step 402: If yes, move the mth target parameter in the intermediate parameter set to the n-1th position, update the sorting information, and determine the N+1th target parameter;
[0069] Step 403: If not, determine the N+1th target parameter until all target parameters in the first sequence are determined.
[0070] After the above-mentioned cyclic sorting is completed, the sorting of the intermediate parameter set is completed.
[0071] Step 5: Combine the original parameters to calculate the target parameters in the sorted intermediate parameter set in sequence to complete the calculation.
[0072] For ease of understanding, the following briefly describes several target parameters with the input order of A, B, C, D, and E. Define A as the original parameter, and B, C, D, and E as intermediate parameters, where B = C + D + E; C = D + E; D = 10 * E; and E = A + 100. The resulting set of intermediate parameters is {B, C, D, E}. The first iteration yields the set {C} = {B1, B2, B3} = {{C, D, E}, {D, E}, {E}}. Correspondingly, the first sequence {S1} = {C, D, E, D, E, E}, and the second sequence {S2} = {B, B, B, C, C, D}. The formula logic dictates that the correct order of intermediate parameters is E, D, C, B. By performing a loop sort, the set of intermediate parameters can be correctly arranged.
[0073] Based on the above technical solution, the disordered intermediate parameters are arranged into an ordered parameter set that can be directly calculated through circular sorting, which clarifies the dependency order between parameters, avoids calculation failures caused by chaotic dependency relationships, and repeated calculations caused by missing dependency relationships, improves the accuracy of parameter calculation in the BIM modeling process, shortens the calculation time of parametric modeling, and improves the design efficiency of BIM.
[0074] Furthermore, in order to avoid the situation where there are still cyclically used target parameters in the intermediate parameter set after cyclic sorting, an embodiment of the present invention further provides an alarm prompt, including:
[0075] Based on the cyclically sorted intermediate parameter set, check whether the sorting information m of the Mth target parameter in the first sequence in the intermediate parameter set is greater than the sorting information n of the Mth target parameter in the second sequence in the intermediate parameter set;
[0076] If yes, an alarm message is issued, wherein the alarm message is used to indicate that the Mth target parameter is recycled;
[0077] If not, no alarm message is issued.
[0078] The above traversal can detect the circular dependency of the target parameters, further break the cycle, provide alarm information, and enhance the robustness of the calculation method.
[0079] Correspondingly, based on the issuance of an alarm message, the embodiment of the present invention further includes:
[0080] Generate a cyclic path graph of the Mth target parameter;
[0081] Associate other target parameters used by the Mth target parameter and highlight them;
[0082] Receive the modified parameters of the Mth target parameter and re-traverse and re-sort.
[0083] Specifically, in the above calculation method, i, N, M, m and n are positive integers.
[0084] Furthermore, in order to better illustrate the technical solutions provided by the embodiments of the present invention, the present invention is introduced and described in detail below in conjunction with specific implementation methods.
[0085] For example, a simple concrete column model is designed using BIM modeling. The goal is to automatically calculate the column's volume, surface area, weight, and cost through parametric modeling. The following definitions are made:
[0086] Raw parameters containing specific parameter values entered by the user:
[0087] Length (L): length of the rectangular column section, in meters (m); Width (W): width of the column, in meters (m); Height (H): height of the column, in meters (m); Concrete density (D): density of concrete, in kilograms per cubic meter (kg / m³); Concrete unit price (P): unit price of concrete, in yuan per cubic meter (yuan / m³).
[0088] Intermediate parameters obtained by calculation formulas that depend on original parameters or other intermediate parameters:
[0089] Volume (V): The volume of the column, calculated by the formula V=A0×H, in cubic meters (m³); The base area of the column (A0)=L×W, in square meters (m²); Surface area (A): The surface area of the column, calculated by the formula A=2×L×W+2×L×H+2×W×H, in square meters (m²); Weight (M): The weight of the column, calculated by the formula M=V×D, in kilograms (kg); Construction cost (C): The construction cost of the column, calculated by the formula C=M×P, in yuan (¥).
[0090] Furthermore, as described in step 1 above, multiple target parameters entered by the user and their corresponding parameter information are obtained. For example, the original parameters include: length (L) = 2m; width (W) = 0.5m; height (H) = 3m; concrete density (D) = 2400kg / m³; concrete unit price (P) = 500 yuan / m³. The calculation formulas for the aforementioned intermediate parameters (volume (V), surface area (A), bottom area (A0), weight (M), and cost (C)) are also obtained.
[0091] Assume that the user inputs the intermediate parameters in a disordered order when defining them, as described in step 2 above, and the obtained intermediate parameter set is {M, A, C, V, A0} and the corresponding sorting information.
[0092] In this set, if calculated sequentially, (M) (weight) and (C) (cost) both depend on (V) (volume), but (V) comes last. If the calculations are performed directly in the order {M, A, C, V, A0}, (M) and (C) will not be able to access the value of (V), resulting in calculation failure. The correct order should be {A0, V, M, C}, where A has no relationship with other intermediate parameters and can be ordered arbitrarily.
[0093] Furthermore, as described in step 3 above, the target parameters in the intermediate parameter set are traversed to see whether they use intermediate parameters, the intermediate parameters used by the i-th target parameter are placed in the first sequence, and the i-th target parameter is filled into the second sequence until the intermediate parameter set is traversed.
[0094] It can be obtained that the target parameters in the first sequence include {V, M, A0}, and the target parameters in the second sequence include {M, C, V}.
[0095] Furthermore, as described in step 4 above, a cyclic sorting is started according to the sorting information of each target parameter in the first sequence and the second sequence in the intermediate parameter set.
[0096] In the first sequence, the first target parameter (V) ranks 4th in the set {M, A, C, V, A0} (denoted as m=4).
[0097] In the second sequence, the first target parameter (M) ranks first in the set {M, A, C, V, A0} (denoted as n=1).
[0098] Judgment m=4>n=1, true.
[0099] Move (V) to before (M) (i.e., position n−1=0), and update the set to {V, M, A, C, A0}.
[0100] Sort the second target parameter based on the intermediate parameter set after the updated sorting information.
[0101] At this time, the second target parameter (M) in the first sequence ranks second in the set {V, M, A, C, A0} (denoted as m=2), and the second target parameter (C) in the second sequence ranks third in the set {V, M, A, C, A0} (denoted as n=3).
[0102] The judgment m=2>n=3 is not true. So we continue to judge the next bit.
[0103] In the first sequence, the third target parameter (A0) ranks 5th in the set {V, M, A, C, A0} (denoted as m=5), and in the second sequence, the third target parameter (V) ranks 1st in the set {V, M, A, C, A0} (denoted as n=1).
[0104] If m = 5 > n = 1, (A0) is moved before (V) (i.e., position n − 1 = 0), and the updated set is {A0, V, M, A, C}. The loop sort is now complete, and we proceed to step 5.
[0105] As described in step 5 above, calculate the intermediate parameters in the new order {A0, V, M, A, C}:
[0106] Calculate the base area (A0): A0 = L × W = 2 × 0.5 = 1 m²; calculate the volume (V): V = A0 × H = 1 × 3 = 3 m³; calculate the weight (M): M = V × D = 3 × 2400 = 7200 kg; calculate the surface area (A): A = 2 × (L × H + W × H) = 2 × (2 × 3 + 0.5 × 3) = 2 × (6 + 1.5) = 15 m²; calculate the cost (C): C = M × P = 7200 × 500 = 3,600,000 yuan. After a circular sorting adjustment, all parameters were successfully calculated.
[0107] It should be understood that the above is only a simple illustration. This eliminates the need for users to manually sort parameters, enabling automated processing that is particularly suitable for complex BIM parametric modeling scenarios. Even with multiple target parameters, the calculation method provided by the present invention can achieve sorting and successfully complete the final calculation.
[0108] On the other hand, an embodiment of the present invention further provides a BIM-oriented parameter calculation device, the device comprising:
[0109] The parameter input unit is used to obtain multiple target parameters and corresponding parameter information input by the user.
[0110] The target parameters include original parameters and intermediate parameters, the parameter information of the original parameters includes parameter values, and the parameter information of the intermediate parameters includes calculation formulas and the used original parameters and / or other intermediate parameters.
[0111] The parameter storage unit is used to extract the intermediate parameters in the target parameters according to the input order to construct an intermediate parameter set and generate sorting information.
[0112] The sequence generation unit is used to traverse whether the target parameters in the intermediate parameter set use intermediate parameters, place the intermediate parameters used by the i-th target parameter into the first sequence, and fill the i-th target parameter into the second sequence until the intermediate parameter set is traversed.
[0113] The dynamic sorting unit is used to cyclically sort the intermediate parameter set according to the sorting information m of the Nth target parameter in the first sequence in the intermediate parameter set and the sorting information n of the Nth target parameter in the second sequence in the intermediate parameter set.
[0114] The circular sorting includes:
[0115] Determine whether the sorting information m is greater than the sorting information n;
[0116] If so, move the mth target parameter in the intermediate parameter set to the n-1th position, update the sorting information, and determine the N+1th target parameter;
[0117] If not, the N+1th target parameter is judged until all target parameters in the first sequence are judged.
[0118] The parameter calculation unit is used to calculate the target parameters in the sorted intermediate parameter set in combination with the original parameters to complete the calculation.
[0119] According to a specific embodiment, in the above-mentioned computing device, the device further includes:
[0120] an alarm feedback unit, configured to check, based on the cyclically sorted intermediate parameter set, whether the sorting information m of the Mth target parameter in the first sequence in the intermediate parameter set is greater than the sorting information n of the Mth target parameter in the second sequence in the intermediate parameter set;
[0121] If yes, an alarm message is issued, wherein the alarm message is used to indicate that the Mth target parameter is recycled;
[0122] If not, no alarm message is issued.
[0123] According to a specific embodiment, in the above-mentioned computing device, the device further includes:
[0124] The text pop-up unit is used to display the alarm information.
[0125] Specifically, the alarm information may include that the target parameter being recycled is the mth in the intermediate parameter set, and its formula information can be found in the parameter input unit. This information is collected and a text pop-up window is displayed to the user, indicating which target parameter is being recycled and the parameter formula.
[0126] According to a specific embodiment, in the above-mentioned computing device, the device further includes:
[0127] A multi-level prompting unit for generating a recurrent path graph for the Mth target parameter.
[0128] The parameter highlighting unit is used to associate other target parameters used by the Mth target parameter and highlight them.
[0129] The parameter modification unit is used to receive the modified parameters of the Mth target parameter and re-traverse and cyclically sort.
[0130] It is understandable that the above-mentioned computing device and computing method provided in the embodiments of the present invention can achieve the same beneficial effects, which will not be described in detail here.
[0131] On the other hand, the present invention also provides an electronic device comprising a memory and a processor, wherein the memory is used to store a computer program; the processor is used to call and execute the computer program so that the device performs a BIM-oriented parameter calculation method as described in any one of the above items.
[0132] In embodiments of the present invention, the processor may be an integrated circuit chip having signal processing capabilities. The processor may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0133] The methods, steps, and logic diagrams disclosed in the embodiments of the present invention can be implemented or executed. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of the present invention can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software modules within the decoding processor. The software modules can be located in a storage medium well-established in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. The processor reads the information from the storage medium and, in conjunction with its hardware, completes the steps of the aforementioned methods.
[0134] The storage medium may be a memory and may be, for example, a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memory.
[0135] Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory.
[0136] The volatile memory may be random access memory (RAM), which is used as an external cache memory. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), sync link DRAM (SLDRAM), and direct rambus random access memory (DRRAM).
[0137] The storage media described in the embodiments of the present invention are intended to include, but are not limited to, these and any other suitable types of memory.
[0138] It should be understood that the apparatus disclosed in the embodiments of the present invention can be implemented in other ways. For example, the division of units described above is merely a logical functional division, and actual implementations may employ other division methods, such as combining or integrating multiple units or components into another system, or omitting or disabling certain features. Furthermore, the communication connection between units can be through some interface, indirect coupling or communication connection between the server and the unit, and can be electrical or otherwise.
[0139] In addition, the functional modules in various embodiments of the present invention may be integrated into a single processing unit, each module may exist physically separately, or two or more modules may be integrated into a single processing unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0140] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk, etc. Various media that can store program codes.
[0141] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A parameter calculation method for BIM, characterized in that: The method comprises: Acquire multiple target parameters and corresponding parameter information input by the user; wherein the target parameters include original parameters and intermediate parameters, the parameter information of the original parameters includes parameter values, and the parameter information of the intermediate parameters includes calculation formulas and the original parameters and / or other intermediate parameters used; Extracting intermediate parameters from the target parameters in the input order to construct an intermediate parameter set, and generating sorting information; Traversing the target parameters in the intermediate parameter set to see if they use intermediate parameters, placing the intermediate parameters used by the i-th target parameter into the first sequence, and simultaneously filling the i-th target parameter into the second sequence until all intermediate parameter sets are traversed; Circularly sort the intermediate parameter set according to the sorting information m of the Nth target parameter in the first sequence in the intermediate parameter set and the sorting information n of the Nth target parameter in the second sequence in the intermediate parameter set; The circular sorting includes: Determine whether the sorting information m is greater than the sorting information n; If so, move the mth target parameter in the intermediate parameter set to the n-1th position, update the sorting information, and determine the N+1th target parameter; If not, then determine the N+1th target parameter until all target parameters in the first sequence are determined; Combining the original parameters, the target parameters in the sorted intermediate parameter set are calculated in sequence to complete the calculation; Wherein, i, N, m and n are positive integers.
2. A BIM-oriented parameter calculation method according to claim 1, characterized in that: The method further comprises: Based on the cyclically sorted intermediate parameter set, check whether the sorting information m of the Mth target parameter in the first sequence in the intermediate parameter set is greater than the sorting information n of the Mth target parameter in the second sequence in the intermediate parameter set; If yes, an alarm message is issued, wherein the alarm message is used to indicate that the Mth target parameter is recycled; If not, no alarm message will be issued; Wherein, M is a positive integer.
3. A BIM-oriented parameter calculation method according to claim 2, characterized in that: Based on the alarm information being issued, the method further includes: Generate a cyclic path graph of the Mth target parameter; Associate other target parameters used by the Mth target parameter and highlight them; Receive the modified parameters of the Mth target parameter and re-traverse and cyclically sort.
4. A parameter calculation device for BIM, characterized in that: The device comprises: a parameter input unit, which obtains multiple target parameters and corresponding parameter information input by the user; wherein the target parameters include original parameters and intermediate parameters, the parameter information of the original parameters includes parameter values, and the parameter information of the intermediate parameters includes calculation formulas and the original parameters and / or other intermediate parameters used; A parameter storage unit, configured to extract intermediate parameters from the target parameters in the order of input to construct an intermediate parameter set, and generate sorting information; a sequence generating unit, configured to traverse the target parameters in the intermediate parameter set to determine whether they use intermediate parameters, place the intermediate parameters used by the i-th target parameter into the first sequence, and simultaneously fill the i-th target parameter into the second sequence until the intermediate parameter set is completely traversed; A dynamic sorting unit, configured to cyclically sort the intermediate parameter set according to sorting information m of the Nth target parameter in the first sequence in the intermediate parameter set and sorting information n of the Nth target parameter in the second sequence in the intermediate parameter set; The circular sorting includes: Determine whether the sorting information m is greater than the sorting information n; If so, move the mth target parameter in the intermediate parameter set to the n-1th position, update the sorting information, and determine the N+1th target parameter; If not, then determine the N+1th target parameter until all target parameters in the first sequence are determined; A parameter calculation unit, configured to sequentially calculate target parameters in the sorted intermediate parameter set based on the original parameters to complete the calculation; Wherein, i, N, m and n are positive integers.
5. The BIM-oriented parameter calculation device according to claim 4, characterized in that: The device further comprises: an alarm feedback unit, configured to check, based on the cyclically sorted intermediate parameter set, whether the sorting information m of the Mth target parameter in the first sequence in the intermediate parameter set is greater than the sorting information n of the Mth target parameter in the second sequence in the intermediate parameter set; If yes, an alarm message is issued, wherein the alarm message is used to indicate that the Mth target parameter is recycled; If not, no alarm message will be issued; Wherein, M is a positive integer.
6. The BIM-oriented parameter calculation device according to claim 5, characterized in that: The device further comprises: The text pop-up unit is used to display the alarm information.
7. The BIM-oriented parameter calculation device according to claim 5, characterized in that: The device further comprises: A multi-level prompting unit for generating a cyclic path diagram of the Mth target parameter; Parameter highlighting unit, used to highlight other target parameters used in conjunction with the Mth target parameter; The parameter modification unit receives the modified parameters of the Mth target parameter and re-traverses and cyclically sorts them.
8. An electronic device, characterized in that: The device includes a memory and a processor; The memory is used to store a computer program; the processor is used to call and execute the computer program so that the device executes a BIM-oriented parameter calculation method according to any one of claims 1 to 3.
Citation Information
Patent Citations
Equalizer and an equalizer training unit for data-dependent distortion compensation
US20220271979A1
Method, a system, a computer program product and a service for determining an intermediate product-specific sustainability indicator
US20230011642A1