Method, device, equipment and storage medium for generating bill of quantities
By generating nested family information and calculating engineering quantity data, the time-consuming problem of manual modeling of complex components is solved, and the efficiency and accuracy of engineering quantity statistics are improved.
Patent Information
- Application Number
- CN202111258739.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-26
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2041-10-26
AI Technical Summary
In construction projects, manual modeling of complex components requires a lot of time and low work efficiency, resulting in inefficient engineering statistics.
By obtaining project information, extracting target component information and generating target nested family information based on preset nested family construction rules, calculating the project quantity data corresponding to the target nested family, integrating the data to generate a bill of quantities, and directly outputting it to the user terminal.
It realizes the rapid and accurate calculation of engineering quantity data, avoids time-consuming manual modeling, and improves the efficiency of engineering quantity statistics and data accuracy.
Smart Images

Figure CN113987644B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data statistics, and in particular to a method, device, equipment and storage medium for generating a bill of quantities. Background Art
[0002] When doing quantity statistics for construction projects, it is usually necessary to manually establish a quantity calculation model in the quantity calculation software, and then perform model mapping based on the established model, and then perform quantity calculation based on the mapped model. However, in actual engineering projects, some complex components may appear, and manual modeling of complex components will take a lot of time and have low work efficiency.
[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention
[0004] The main purpose of the present invention is to provide a method, device, equipment and storage medium for generating a bill of quantities, aiming to solve the technical problem that the existing technology consumes a lot of time and has low work efficiency for manual modeling of complex components.
[0005] To achieve the above object, the present invention provides a method for generating a bill of quantities, the method comprising the following steps:
[0006] Optionally, generating target nested family information according to the target component information and preset nested family construction rules includes:
[0007] Determining whether the target component information contains sub-component information;
[0008] If not, target nested family information is generated according to the target component information and preset nested family construction rules.
[0009] Optionally, after determining whether the target component information contains sub-component information, the method further includes:
[0010] If yes, extracting the subcomponent information in the target component information;
[0011] Generate sub-component nested family information according to the sub-component information and preset nested family construction rules;
[0012] The sub-component nested family information is combined to obtain target nested family information.
[0013] Optionally, the obtaining target engineering quantity data corresponding to the target nested family information includes:
[0014] Determining whether the target nested family information contains sub-component nested family information;
[0015] When the target nested family information does not contain the sub-component nested family information, marking is performed according to the target nested family information by using a preset nested family construction rule to obtain an attribute identifier;
[0016] The target engineering quantity data corresponding to the target nested family information is obtained based on the target nested family information and the attribute identifier.
[0017] Optionally, after determining whether the target nested family information contains sub-component nested family information, the method further includes:
[0018] When the target nested family information contains sub-component nested family information, marking is performed according to the sub-component nested family information by using a preset nested family construction rule to obtain a sub-component attribute identifier;
[0019] The target engineering quantity data corresponding to the target nested family information is obtained according to the target nested family information, the sub-component nested family information and the sub-component attribute identifier.
[0020] Optionally, obtaining target engineering quantity data corresponding to the target nested family information according to the target nested family information, the sub-component nested family information and the sub-component attribute identifier includes:
[0021] Obtaining subcomponent engineering quantity data according to the subcomponent attribute identifier and the subcomponent nested family information;
[0022] The target engineering quantity data corresponding to the target nested family information is obtained according to the sub-component engineering quantity data and the target nested family information.
[0023] Optionally, obtaining a bill of quantities according to the target engineering quantity data, the engineering project information and the target component information includes:
[0024] The target engineering quantity data is converted according to a preset conversion rule to obtain a data conversion result;
[0025] A bill of quantities is obtained according to the data conversion result, the engineering project information and the target component information.
[0026] In addition, to achieve the above-mentioned purpose, the present invention also provides a bill of quantities generating device, the bill of quantities generating device comprising:
[0027] An information acquisition module, used to acquire engineering project information and extract target component information from the engineering project information;
[0028] A nested family generation module, used to generate target nested family information according to the target component information and preset nested family construction rules;
[0029] A data acquisition module, used to acquire target engineering quantity data corresponding to the target nested family information;
[0030] A bill of quantities generating module, which obtains a bill of quantities according to the target engineering quantity data, the engineering project information and the target component information;
[0031] The data transmission module is used to output the bill of quantities to a user terminal for display.
[0032] In addition, to achieve the above-mentioned purpose, the present invention also proposes a bill of quantities generation device, which includes: a memory, a processor, and a bill of quantities generation program stored in the memory and executable on the processor, and the bill of quantities generation program is configured to implement the steps of the bill of quantities generation method as described above.
[0033] In addition, to achieve the above-mentioned purpose, the present invention also proposes a storage medium, on which a bill of quantities generation program is stored, and when the bill of quantities generation program is executed by a processor, the steps of the bill of quantities generation method as described above are implemented.
[0034] The present invention obtains project information, extracts target component information in the project information, generates target nested family information according to the target component information and preset nested family construction rules, obtains target engineering quantity data corresponding to the target nested family information, obtains a bill of quantities according to the target engineering quantity data, the project information and the target component information, and outputs the bill of quantities to a user terminal for display. Compared with the prior art, the present invention establishes corresponding target nested family information according to preset nested family construction rules for each target component information in the project information, calculates engineering quantity data by calculating the target nested family information, and can conveniently and quickly calculate engineering quantity data, and the target component information corresponds to the target nested family information to ensure the accuracy of the data, integrates the obtained engineering quantity data, obtains a bill of quantities, and can intuitively display it to the user, avoiding the technical problem that manual modeling of complex components consumes a lot of time and has low work efficiency, and improves the efficiency of calculating engineering quantities. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 It is a structural schematic diagram of a bill of quantities generating device for a hardware operating environment involved in an embodiment of the present invention;
[0036] Figure 2 It is a flowchart of a first embodiment of a method for generating a bill of quantities of the present invention;
[0037] Figure 3 It is a flow chart of the second embodiment of the method for generating a bill of quantities of the present invention;
[0038] Figure 4 It is a flowchart of a third embodiment of the method for generating a bill of quantities of the present invention;
[0039] Figure 5 It is a nested family parameter-variable attribute data adaptation diagram of an embodiment of a method for generating a bill of quantities of the present invention;
[0040] Figure 6 It is a structural block diagram of the first embodiment of the bill of quantities generating device of the present invention.
[0041] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0042] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0043] Reference Figure 1 , Figure 1 A schematic diagram of the equipment structure is generated for the bill of quantities of the hardware operating environment involved in the embodiment of the present invention.
[0044] like Figure 1 As shown, the bill of quantities generating device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (Wireless-Fidelity, Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM), or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk storage. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0045] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the bill of quantities generating device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0046] like Figure 1As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a bill of quantities generation program.
[0047] exist Figure 1 In the bill of quantities generating device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the bill of quantities generating device of the present invention can be set in the bill of quantities generating device, and the bill of quantities generating device calls the bill of quantities generating program stored in the memory 1005 through the processor 1001, and executes the bill of quantities generating method provided by the embodiment of the present invention.
[0048] The embodiment of the present invention provides a method for generating a bill of quantities, referring to Figure 2 , Figure 2 It is a flowchart of a first embodiment of a method for generating a bill of quantities according to the present invention.
[0049] In this embodiment, the method for generating a bill of quantities includes the following steps:
[0050] Step S10: Acquire engineering project information, and extract target component information from the engineering project information.
[0051] It should be noted that the execution entity of this embodiment is the bill of quantities generating device, wherein the bill of quantities generating device can be a device with data processing or data transmission, and can also be an electronic device such as a mobile phone, a PDA, and a control computer. In this embodiment and the following embodiments, the control computer will be used as the execution entity for explanation.
[0052] It can be understood that the engineering project information can be a user input instruction, which is parsed according to the user input instruction to obtain the engineering project information. The engineering project information can be information that reflects and controls engineering project management activities, such as: reports, numbers, text and images, etc., which is not specifically limited in this embodiment. In addition, the engineering project information has different component information depending on the project type, which is not specifically limited in this embodiment.
[0053] It is worth noting that the target construction information may be the component information represented by each project in the engineering project information, wherein the component information may be the size information, material information, quantity information, etc. of the component, and this embodiment does not impose any specific limitation.
[0054] In a specific implementation, when an instruction input by a user is received, the project information is obtained according to the instruction input by the user, and each component information is extracted from the project information, one of the component information is taken as the target component information, and each component information in the project information is traversed according to the target construction information until all the component information is selected as the target component information.
[0055] Step S20: generating target nested family information according to the target component information and preset nested family construction rules.
[0056] It should be noted that the preset nested family construction rules are used to provide construction standards for generating corresponding nested families for components. In this embodiment, the preset nested family construction rules can be enterprise parametric nested family standards, etc., or other rule standards that can provide standards for nested family components. This embodiment does not impose specific restrictions on this.
[0057] In the specific implementation, the preset nested family construction rules will be explained using the enterprise parametric nested family standard as an example. That is, in this embodiment, the enterprise parametric nested family standard can provide specifications for converting component information in the target project information into a nested family, and can also provide reference rules for subsequent engineering quantity calculations. If a component has multiple sub-components, it can also facilitate the screening and classification of the sub-components in the component, and a corresponding algorithm model can also be provided when screening and classifying the sub-components.
[0058] It is worth noting that after obtaining the target component information, the target component information is dimensioned, locked, and other processing is performed according to the preset nested family construction rules, and a corresponding component nested family is created based on the processed target component information, and the component nested family contains the size information corresponding to the component information.
[0059] In addition, in order to standardize the naming of nested families, the nested families can also be named according to the preset nested family construction rules. For example, in the face of a house construction project, the house construction project may include a beam component. A nested family corresponding to the beam component is established based on the size information of the beam component, and the beam component is named: Z beam, and the beam nested family corresponding to the beam component is named: QT beam nested family.
[0060] It should be understood that in the quantity calculation, only some of the properties of the components affect the final quantity calculation data. The values corresponding to the properties that affect the quantity calculation are recorded as parametric attribute data, and in the process of nested family construction, only the parametric attribute data can be focused on.
[0061] Step S30: Obtain target engineering quantity data corresponding to the target nested family information.
[0062] It should be noted that the target engineering quantity data is a specific value obtained by calculating the target nested family information, wherein the calculation of the target nested family information can be through a plug-in or software that can calculate the engineering quantity, etc. This embodiment does not impose any specific restrictions on this.
[0063] It is worth mentioning that when calculating the target engineering quantity data, it is necessary to consider the impact of various parameter attribute data on the engineering quantity. For example, when calculating the engineering quantity corresponding to a beam, it is necessary to consider the dimensional information such as the length, width and height of the beam, as well as the material cost of building the beam.
[0064] Step S40: Obtaining a bill of quantities according to the target engineering quantity data, the engineering project information and the target component information.
[0065] It can be understood that the bill of quantities is used to tabulate the project information, the target component information contained in the project information, and the target quantity data corresponding to the target component information, so as to facilitate viewing and management by users.
[0066] In this embodiment, the bill of quantities may be output as a Datagridview table, or in other table formats that can display project information, target component information, and target quantity data, and this embodiment does not impose any specific restrictions on this.
[0067] Furthermore, in order to obtain a bill of quantities, step S40 further includes:
[0068] The target engineering quantity data is converted according to a preset conversion rule to obtain a data conversion result;
[0069] A bill of quantities is obtained according to the data conversion result, the engineering project information and the target component information.
[0070] It should be noted that the preset conversion rules are used to unify the data units of the parameter attribute data. Since in actual application, the data units such as the size information of different components may be inconsistent, resulting in errors in the calculation of engineering quantities, it is necessary to unify the data format in advance and obtain an accurate bill of quantities based on the unified data format, target engineering quantity data, project information and the target component information.
[0071] Step S50: outputting the bill of quantities to a user terminal for display.
[0072] It is understandable that the user terminal may be an electronic device such as a control computer, a mobile phone, or a PDA, or may be other devices having the functions of receiving and displaying data, and this embodiment does not impose any specific restrictions on this.
[0073] This embodiment obtains project information, extracts target component information from the project information, generates target nested family information according to the target component information and preset nested family construction rules, obtains target engineering quantity data corresponding to the target nested family information, obtains a bill of quantities according to the target engineering quantity data, the project information and the target component information, and outputs the bill of quantities to a user terminal for display. This embodiment establishes corresponding target nested family information for each target component information in the project information according to preset nested family construction rules, calculates engineering quantity data by calculating the target nested family information, and can conveniently and quickly calculate engineering quantity data. The target component information corresponds to the target nested family information to ensure data accuracy. The obtained engineering quantity data is integrated to obtain a bill of quantities, which can be intuitively displayed to the user, avoiding the technical problem of manual modeling of complex components that consumes a lot of time and has low work efficiency, thereby improving the efficiency of calculating engineering quantities.
[0074] refer to Figure 3 , Figure 3 It is a flow chart of a second embodiment of a method for generating a bill of quantities according to the present invention.
[0075] Based on the above first embodiment, in this embodiment, step S20 includes:
[0076] Step S201: Determine whether the target component information contains sub-component information.
[0077] It should be noted that in the actual process, the target component may contain multiple sub-components. For example, in a housing project, the window sill component includes multiple window sill sub-components, wherein the window sill component may include windows, waterproof shutters, drip lines, window guardrails, upper floating boards and lower floating board sub-components.
[0078] The target component that can be split contains sub-components, and in the actual splitting process, it is necessary to split according to the enterprise parametric nested family standards.
[0079] Step S202: If not, generate target nested family information according to the target component information and preset nested family construction rules.
[0080] It is understandable that if the target component information does not contain sub-component information, that is, the target component information cannot be split under the limitation of the preset nested family construction rules, the target nested family information is generated according to the target component information and the preset nested family construction rules.
[0081] Furthermore, if the target component information contains sub-component information, after step S202, the following steps are further included:
[0082] If yes, extracting the subcomponent information in the target component information;
[0083] Generate sub-component nested family information according to the sub-component information and preset nested family construction rules;
[0084] The sub-component nested family information is combined to obtain target nested family information.
[0085] It should be noted that the sub-component nested family information is dimensioned, locked, and other processes are performed on the sub-component information according to preset nested family construction rules, and a corresponding component nested family is created based on the processed sub-component information, and the sub-component nested family contains size information corresponding to the sub-component information.
[0086] This embodiment obtains project information, extracts target component information in the project information, determines whether the target component information contains sub-component information, and if not, generates target nested family information according to the target component information and preset nested family construction rules, obtains target engineering quantity data corresponding to the target nested family information, obtains a bill of quantities according to the target engineering quantity data, the project information and the target component information, and outputs the bill of quantities to the user terminal for display. This embodiment establishes corresponding target nested family information according to preset nested family construction rules for each target component information in the project information, and establishes a sub-component nested family for the target construction with sub-component information, so as to achieve nested family establishment of complex constructions. By calculating the target nested family information to calculate the engineering quantity data, the engineering quantity data can be calculated conveniently and quickly, and the target component information corresponds to the target nested family information to ensure the accuracy of the data. The obtained engineering quantity data is integrated to obtain the bill of quantities, which can be intuitively displayed to the user, avoiding the technical problems of manual modeling of complex components, which consumes a lot of time and has low work efficiency, and improves the efficiency of calculating engineering quantities.
[0087] refer to Figure 4 , Figure 4 It is a flowchart diagram of a third embodiment of a method for generating a bill of quantities according to the present invention.
[0088] Based on the above second embodiment, in this embodiment, step S30 includes:
[0089] Step S301: Determine whether the target nested family information contains sub-component nested family information.
[0090] It should be noted that when calculating the engineering quantity, it is calculated based on the nested family information. Because when constructing a nested family, the sub-component nested family corresponding to the sub-component also needs to be calculated, so the workload becomes larger and the complexity increases. For the target nested family containing sub-component nested families and the target nested family not containing sub-component nested families, the methods used to calculate the engineering quantity are different. When calculating the target nested family that does not contain sub-component nested families, the calculation can be performed through the quantity calculation software; and when facing the nested family containing sub-components, the parametric nested family quantity calculation plug-in developed independently is used to extract and convert the nested family engineering quantum items and their values that need to be calculated.
[0091] Furthermore, in order to ensure that the engineering quantity data can be accurately calculated when the target nested family information contains sub-component nested family information, after step S301, the following is further included:
[0092] When the target nested family information contains sub-component nested family information, marking is performed according to the sub-component nested family information by using a preset nested family construction rule to obtain a sub-component attribute identifier;
[0093] The target engineering quantity data corresponding to the target nested family information is obtained according to the target nested family information, the sub-component nested family information and the sub-component attribute identifier.
[0094] It should be noted that the target engineering quantity data is obtained by obtaining the sub-component engineering quantity data according to the sub-component attribute identifier and the sub-component nested family information, and the target engineering quantity data corresponding to the target nested family information is obtained according to the sub-component engineering quantity data and the target nested family information.
[0095] Step S302: When the target nested family information does not contain the sub-component nested family information, labeling is performed according to the target nested family information using a preset nested family construction rule to obtain an attribute identifier.
[0096] It can be understood that the attribute identifier refers to the numerical value corresponding to the attribute that affects the quantity calculation, which is recorded as parametric attribute data, and in the process of nested family construction, it is also possible to only focus on the parametric attribute data. Since in the quantity calculation, only some attributes of the component affect the final quantity calculation data, the numerical value corresponding to the attribute that affects the quantity calculation is recorded as parametric attribute data, and in the process of nested family construction, it is also possible to only focus on the parametric attribute data.
[0097] Therefore, after the nested family is constructed, for the nested family that does not contain the sub-component nested family information in the target nested family information, the attribute identification required for the engineering quantity calculation can be directly obtained by the standard, and then the engineering quantity calculation can be performed.
[0098] In addition, since the nested family is established based on the construction information and the preset nested family construction rules, that is, the value of the engineering quantity attribute required to be calculated for the nested family is associated with the corresponding attribute value in the sub-component, calculating the engineering quantity data through the parametric attribute data of the nested family can simplify the calculation steps, improve efficiency, and can also make necessary connections with other nested families. For example: in a housing project, the window sill nested family is connected to the beam nested family, and the upper and lower floating board nested families of the window sill nested family are connected to the beam component nested family.
[0099] Step S303: obtaining target engineering quantity data corresponding to the target nested family information based on the target nested family information and the attribute identifier.
[0100] It should be noted that when calculating the target engineering quantity data, it is necessary to obtain the target engineering quantity data corresponding to the target nested family information based on the target nested family information and the parametric attribute data according to the influence of each parametric attribute data on the engineering quantity. For example, when calculating the engineering quantity of the window sill nested family, refer to Figure 5 It is necessary to calculate the engineering quantity of each sub-component according to the sub-component nested family parameter attribute data corresponding to the sub-component parameter attribute data, and then summarize them to obtain the total target engineering quantity data.
[0101] In the specific implementation, the parametric nested family quantity calculation plug-in obtains the entity components of all custom families in the project, and then traverses all the components, and determines whether the component is a nested family that needs to calculate the engineering quantity based on the information in the component name or annotation, and records it if it is. Then it traverses all the components that need to calculate the engineering quantity, extracts the required attribute data according to the definition of various parametric nested families in the enterprise parametric nested family standard, and then converts and summarizes them according to the corresponding conversion rules.
[0102] This embodiment establishes corresponding target nested family information for each target component information in the engineering project information according to preset nested family construction rules, and establishes sub-component nested families for the target construction with sub-component information to achieve nested family establishment of complex constructions, and determines the attribute flags required for engineering quantity calculation according to the preset nested family construction rules, and calculates the engineering quantity data by calculating the target nested family information and the attribute flags of the nested family. The engineering quantity data can be calculated quickly and conveniently, and the target component information corresponds to the target nested family information to ensure the accuracy of the data. The obtained engineering quantity data is integrated to obtain a bill of quantities, which can be intuitively displayed to users, avoiding the technical problem of manual modeling of complex components that consumes a lot of time and has low work efficiency, thereby improving the efficiency of calculating engineering quantities.
[0103] In addition, an embodiment of the present invention further proposes a storage medium, on which a bill of quantities generation program is stored. When the bill of quantities generation program is executed by a processor, the steps of the bill of quantities generation method described above are implemented.
[0104] Since the storage medium adopts all the technical solutions of all the above embodiments, it at least has all the beneficial effects brought by the technical solutions of the above embodiments, which will not be described one by one here.
[0105] Reference Figure 6 , Figure 6 It is a structural block diagram of the first embodiment of the bill of quantities generating device of the present invention.
[0106] like Figure 6 As shown, the bill of quantities generating device proposed in the embodiment of the present invention includes:
[0107] The information acquisition module 10 is used to acquire engineering project information and extract target component information from the engineering project information;
[0108] A nested family generating module 20, configured to generate target nested family information according to the target component information and preset nested family building rules;
[0109] A data acquisition module 30 is used to acquire target engineering quantity data corresponding to the target nested family information;
[0110] A bill of quantities generating module 40 is configured to obtain a bill of quantities based on the target engineering quantity data, the engineering project information and the target component information;
[0111] The data transmission module 50 is used to output the bill of quantities to a user terminal for display.
[0112] This embodiment obtains project information, extracts target component information from the project information, generates target nested family information according to the target component information and preset nested family construction rules, obtains target engineering quantity data corresponding to the target nested family information, obtains a bill of quantities according to the target engineering quantity data, the project information and the target component information, and outputs the bill of quantities to a user terminal for display. This embodiment establishes corresponding target nested family information for each target component information in the project information according to preset nested family construction rules, calculates engineering quantity data by calculating the target nested family information, and can conveniently and quickly calculate engineering quantity data. The target component information corresponds to the target nested family information to ensure data accuracy. The obtained engineering quantity data is integrated to obtain a bill of quantities, which can be intuitively displayed to the user, avoiding the technical problem of manual modeling of complex components that consumes a lot of time and has low work efficiency, thereby improving the efficiency of calculating engineering quantities.
[0113] In one embodiment, the nested family generating module 20 is further used to determine whether the target component information contains sub-component information; if not, generate target nested family information according to the target component information and preset nested family building rules.
[0114] In one embodiment, the nested family generation module 20 is also used to extract sub-component information from the target component information; generate sub-component nested family information according to the sub-component information and preset nested family construction rules; and combine the sub-component nested family information to obtain target nested family information.
[0115] In one embodiment, the data acquisition module 30 is also used to determine whether the target nested family information contains sub-component nested family information; when the target nested family information does not contain sub-component nested family information, the target nested family information is marked according to the preset nested family construction rules to obtain the attribute identifier; based on the target nested family information and the attribute identifier, the target engineering quantity data corresponding to the target nested family information is obtained.
[0116] In one embodiment, the data acquisition module 30 is also used to, when the target nested family information contains sub-component nested family information, mark the sub-component nested family information according to preset nested family construction rules to obtain sub-component attribute identification; and obtain the target engineering quantity data corresponding to the target nested family information according to the target nested family information, the sub-component nested family information and the sub-component attribute identification.
[0117] In one embodiment, the data acquisition module 30 is further used to obtain sub-component quantity data based on the sub-component attribute identifier and the sub-component nested family information; and to obtain target quantity data corresponding to the target nested family information based on the sub-component quantity data and the target nested family information.
[0118] In one embodiment, the list generation module 40 is further used to convert the target engineering quantity data according to preset conversion rules to obtain data conversion results; and obtain the engineering quantity list according to the data conversion results, the engineering project information and the target component information.
[0119] It should be understood that the above is only an example and does not constitute any limitation on the technical solution of the present invention. In specific applications, technicians in this field can make settings as needed, and the present invention does not limit this.
[0120] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of the present invention. In practical applications, technicians in this field can select part or all of them according to actual needs to achieve the purpose of the present embodiment, and no limitation is made here.
[0121] In addition, for technical details that are not described in detail in this embodiment, reference can be made to the method for generating a bill of quantities provided in any embodiment of the present invention, and will not be repeated here.
[0122] In addition, it should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0123] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0124] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory (ROM) / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0125] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for generating a bill of quantities, characterized in that: The method for generating a bill of quantities comprises: Acquire engineering project information, and extract target component information from the engineering project information; Generate target nested family information according to the target component information and preset nested family construction rules; Obtaining target engineering quantity data corresponding to the target nested family information; Obtaining a bill of quantities according to the target engineering quantity data, the engineering project information and the target component information; Outputting the bill of quantities to a user terminal for display; The step of obtaining target engineering quantity data corresponding to the target nested family information includes: Determining whether the target nested family information contains sub-component nested family information; When the target nested family information does not contain the sub-component nested family information, marking is performed according to the target nested family information by using a preset nested family construction rule to obtain an attribute identifier; Obtaining target engineering quantity data corresponding to the target nested family information based on the target nested family information and the attribute identifier; Among them, the parametric nested family quantity calculation plug-in obtains the physical components of all custom families in the project, and then traverses all the components therein, and determines whether the component is a nested family that needs to calculate the engineering quantity based on the information in the component name or annotation. If so, it is recorded, and all the components that need to calculate the engineering quantity are traversed. According to the definitions of various parametric nested families in the enterprise parametric nested family standards, the required attribute data is extracted, and then converted according to the corresponding conversion rules and summarized item by item to obtain the target engineering quantity data corresponding to the target nested family information.
2. The method for generating a bill of quantities according to claim 1, characterized in that: The generating target nested family information according to the target component information and the preset nested family construction rule includes: Determining whether the target component information contains sub-component information; If not, target nested family information is generated according to the target component information and preset nested family construction rules.
3. The method for generating a bill of quantities according to claim 2, characterized in that: After determining whether the target component information contains sub-component information, the method further includes: If yes, extracting the subcomponent information in the target component information; Generate sub-component nested family information according to the sub-component information and preset nested family construction rules; The sub-component nested family information is combined to obtain target nested family information.
4. The method for generating a bill of quantities according to claim 1, wherein: After determining whether the target nested family information contains sub-component nested family information, the method further includes: When the target nested family information contains sub-component nested family information, marking is performed according to the sub-component nested family information by using a preset nested family construction rule to obtain a sub-component attribute identifier; The target engineering quantity data corresponding to the target nested family information is obtained according to the target nested family information, the sub-component nested family information and the sub-component attribute identifier.
5. The method for generating a bill of quantities according to claim 4, characterized in that: The step of obtaining target engineering quantity data corresponding to the target nested family information according to the target nested family information, the sub-component nested family information and the sub-component attribute identifier includes: Obtaining subcomponent engineering quantity data according to the subcomponent attribute identifier and the subcomponent nested family information; The target engineering quantity data corresponding to the target nested family information is obtained according to the sub-component engineering quantity data and the target nested family information.
6. The method for generating a bill of quantities according to claim 1, wherein: The obtaining of a bill of quantities according to the target engineering quantity data, the engineering project information and the target component information includes: The target engineering quantity data is converted according to a preset conversion rule to obtain a data conversion result; A bill of quantities is obtained according to the data conversion result, the engineering project information and the target component information.
7. A device for generating a bill of quantities, characterized in that: The bill of quantities generating device comprises: An information acquisition module, used to acquire engineering project information and extract target component information from the engineering project information; A nested family generation module, used to generate target nested family information according to the target component information and preset nested family construction rules; A data acquisition module, used to acquire target engineering quantity data corresponding to the target nested family information; A bill of quantities generating module, which obtains a bill of quantities according to the target engineering quantity data, the engineering project information and the target component information; A data transmission module, used for outputting the bill of quantities to a user terminal for display; The data acquisition module is further used to determine whether the target nested family information contains sub-component nested family information; When the target nested family information does not contain the sub-component nested family information, marking is performed according to the target nested family information by using a preset nested family construction rule to obtain an attribute identifier; Obtaining target engineering quantity data corresponding to the target nested family information based on the target nested family information and the attribute identifier; Among them, the parametric nested family quantity calculation plug-in obtains the physical components of all custom families in the project, and then traverses all the components therein, and determines whether the component is a nested family that needs to calculate the engineering quantity based on the information in the component name or annotation. If so, it is recorded, and all the components that need to calculate the engineering quantity are traversed. According to the definitions of various parametric nested families in the enterprise parametric nested family standards, the required attribute data is extracted, and then converted according to the corresponding conversion rules and summarized item by item to obtain the target engineering quantity data corresponding to the target nested family information.
8. A bill of quantities generating device, characterized in that: The bill of quantities generating device comprises: a memory, a processor and a bill of quantities generating program stored in the memory and executable on the processor, wherein the bill of quantities generating program is configured to implement the bill of quantities generating method according to any one of claims 1 to 6.
9. A storage medium, characterized in that: The storage medium stores a bill of quantities generation program, and when the bill of quantities generation program is executed by the processor, the bill of quantities generation method according to any one of claims 1 to 6 is implemented.
