Method for linking and batch checking and correcting based on graphic elements in calculation software
By constructing an engineering practice package database and a unique identifier mechanism, the intelligent automatic linking and batch management of graphic elements and bill of quantities in the quantity calculation software has been realized, solving the problem of misclassification caused by differences in graphic elements in the existing technology, and improving the accuracy and efficiency of engineering quantity calculation.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- 国泰新点软件股份有限公司
- Filing Date
- 2025-09-28
- Publication Date
- 2026-05-01
AI Technical Summary
Existing quantity calculation software cannot effectively distinguish subtle differences in the internal elements of components when linking bill of quantities and quotas at the component level, leading to misclassification or omission, which affects the accuracy of quantity calculation and the reliability of tender control price. Furthermore, manual verification is inefficient.
By constructing an engineering practice package database and utilizing a dual matching strategy of element attribute conditions and component attribute conditions, the system achieves intelligent and automatic linking of elements with bill of quantities and quotas. A unique identifier mechanism is used for management, supporting batch inspection and modification.
It improves the accuracy and efficiency of linking bill of quantities and quotas, reduces data redundancy, enhances the efficiency of quantity statistics and the flexibility of data management, and ensures the accuracy and consistency of quantity calculation.
Smart Images

Figure CN121233632B_ABST
Abstract
Description
Methods for linking and batch modifying quantity survey quotas based on graphic elements in quantity surveying software Technical Field
[0001] This application relates to the field of computer application technology, and in particular to a method for linking and batch querying / modifying bill of quantities quotas based on graphic elements in quantity calculation software. Background Technology
[0002] In construction project cost management, cost estimators typically need to prepare tender control prices. The common workflow involves first creating an engineering model in quantity surveying software, and then, based on the characteristic information of each component in the model, attaching the corresponding bill of quantities (BOQ) quotas according to current standards. The BOQ is a classification and coding system for various engineering items, used to clarify the scope of measurement; while the quotas specify the standards for labor, materials, machinery, etc., required to complete the corresponding BOQ items. Combining these two sets of standards creates the corresponding construction methods for each component, which is then used by the quantity surveying software to calculate the quantities. Finally, the BOQ quota data is imported into the pricing software to complete the preparation of the tender control price.
[0003] Currently, quantity surveying software typically implements the linking of bill of quantities (BOQ) quotas at the component level. Specifically, an engineering model is first established within the software. This model consists of several components and their internal geometric elements, each with specific attributes. The software reads the attributes of each component and compares them with the item rules in a built-in or external BOQ quota library to link the corresponding BOQ quota to the component. In practice, a component in the engineering model often consists of several smaller geometric elements, which may differ significantly in geometry or local attributes. Because existing linking logic mainly relies on coarse-grained attributes at the component level, subtle differences between different geometric elements within a component often cannot be fully distinguished or expressed, potentially leading to mis-linking or omissions during the actual application process. For example, if a wall component contains both straight and curved geometric elements, the component-level rules might only apply the BOQ quota for straight walls under the "wall" category, misidentifying curved segments as straight walls and applying the wrong BOQ quota. For the reasons mentioned above, after the automatic connection is completed, cost estimators still need to enter each component and check and modify its internal elements one by one to confirm and, if necessary, manually correct any incorrectly or missing elements.
[0004] However, in large or complex engineering projects, the number of components is enormous and the internal graphic elements vary significantly. Relying on manual verification of each element is not only time-consuming but also prone to omissions or inconsistencies. This manual verification method means that after the quantity calculation software automatically links the bill of quantities and quotas, it cannot guarantee the accuracy and consistency of linking all elements, directly affecting the correctness of quantity calculations and the reliability of the tender control price. Therefore, improving the accuracy and efficiency of linking bill of quantities and quotas has become a major challenge for cost management in current quantity calculation software. Summary of the Invention
[0005] This application provides a method for linking and batch modifying bill of quantities (BOQ) quotas based on graphic elements in quantity calculation software, which can improve the accuracy and efficiency of BOQ quota linking. This application provides the following technical solution:
[0006] Firstly, this application provides a method for linking and batch modifying quantity survey quotas based on graphic elements in quantity surveying software, the method comprising:
[0007] Build the engineering model and select the elements in the quantity calculation software;
[0008] The automatic element matching command is executed based on the selected elements to complete the matching and linking of the elements with the list quotas;
[0009] Quickly locate and batch check the graphic elements that have been linked to the list of quotas;
[0010] Perform batch modification operations on the elements that are mistakenly hung or need adjustment found in the inspection results;
[0011] Summarize the list of quotas attached to the graphic elements and export the data to the pricing software.
[0012] In a specific feasible implementation, the step of executing the automatic element matching command based on the selected element to complete the matching and attachment of the element to the list quota includes:
[0013] Group the selected elements according to their component type;
[0014] Construct a database of engineering practice packages. The database stores practice packages and their corresponding judgment conditions. A practice package represents any combination of bill of quantities and quota.
[0015] For grouped elements, the engineering method package and its judgment conditions are selected from the engineering method package database based on the component type.
[0016] Iterate through each selected method package and its judgment conditions. If the judgment conditions only include component attribute conditions, attach the first matching method package to all elements under the corresponding component type. If the judgment conditions include element attribute conditions, match all elements in the group and attach the method package to the elements that meet the conditions.
[0017] In one specific implementation scheme, the build engineering practice package database includes:
[0018] The method package is a collection consisting of a list and several quotas, wherein the list is used to reflect the overall description of the component work in the project pricing process, and the quotas are used to reflect the consumption involved in the list;
[0019] Each of the aforementioned method packages is configured with judgment conditions to limit the scope of application of the method package; the judgment conditions include component attribute conditions and element attribute conditions, and the judgment conditions are set according to the requirements of the bill of quantities and quotas in the current engineering cost specifications.
[0020] In one specific implementation scheme, a unique identifier is calculated when the method package is created. The unique identifier is implemented by combining and encoding the list and quota contents in the method package.
[0021] After receiving the engineering practice package database, the database performs structured processing on the list and quota data of the practice package, calculates the hash value using the SHA-256 algorithm, and generates a unique identifier.
[0022] The generated unique identifier is retrieved from the engineering practice package database. If a matching record already exists, the corresponding unique identifier is returned directly. If no match is found, a new record is created in the database, and the generated unique identifier is associated with and stored with the practice package.
[0023] In a specific feasible implementation, the step of selecting engineering practice packages from the engineering practice package database based on component type and the judgment criteria for grouped elements includes:
[0024] For each group of graphic elements, obtain the component type to which the graphic elements belong; filter all method packages in the engineering method package database. Each method package in the engineering method package database is marked with the applicable component type range. By comparing the component type to which each group of graphic elements belongs with the applicable type marked by each method package, the set of applicable method packages is filtered out.
[0025] In a specific implementation scheme, the step of traversing each filtered method package and its judgment conditions, if the judgment conditions only include component attribute conditions, involves attaching the method package to the corresponding component type's graphic element; if the judgment conditions include graphic element attribute conditions, matching all graphic elements within the group and attaching the method package includes:
[0026] For each set of selected primitives and its corresponding set of method packages, traverse each method package in turn and parse its judgment conditions.
[0027] For a method package that only contains component attribute conditions, compare the component attributes of the components to which the elements in the group belong with the component attribute conditions in the current method package until the first method package that meets the conditions is found. Then attach the method package to all elements in the group. If the conditions are not met, skip it.
[0028] For a method package that includes primitive attribute conditions, the primitive attributes of each primitive in the group are compared with the primitive attribute conditions in the current method package. The first matching method package is attached to the primitive, and the rest is skipped.
[0029] In a specific implementation scheme, comparing the primitive attributes of each primitive within the group with the primitive attribute conditions in the current implementation package includes:
[0030] For the implementation package containing primitive attribute conditions, the geometric, spatial, and physical attributes of each primitive are extracted in real time and fused into a multi-dimensional feature vector.
[0031] Simultaneously, the primitive attribute conditions of the method package are parsed into logical expressions, including comparison operators and logical operators. A dynamic evaluation function is constructed based on the primitive attribute conditions. The multidimensional feature vector of the primitive is input into the dynamic evaluation function for calculation and logical judgment to determine whether the primitive satisfies the primitive attribute conditions of the method package.
[0032] When the feature vector of a primitive satisfies all the constraints of the dynamic evaluation function, it is determined that the match is successful, and the first solution package that meets the conditions corresponding to the primitive is returned; after a successful match, the primitive is associated with the solution package through a unique identifier, thereby realizing the attachment.
[0033] Secondly, this application provides a system for linking and batch querying / modifying bill of quantities quotas based on graphic elements in quantity calculation software, which adopts the following technical solution:
[0034] A system for linking and batch querying / modifying bill of quantities quotas based on graphic elements in quantity calculation software includes:
[0035] The element selection module is used to build an engineering model and select elements in the quantity calculation software;
[0036] The automatic element matching module is used to execute the automatic element matching command based on the selected elements, and complete the matching and linking of elements with the list quota.
[0037] The batch inspection module is used to quickly locate and batch inspect the graphic elements that have been linked to the list of quotas.
[0038] The batch modification module is used to perform batch modification operations on elements that are mistakenly hung or need to be adjusted in the inspection results.
[0039] The data export module is used to summarize the list of quotas attached to the calculated graphic elements and export the data to the pricing software.
[0040] Thirdly, this application provides an electronic device, the device including a processor and a memory; the memory stores a program, the program being loaded and executed by the processor to implement the method for linking and batch querying / modifying list quotas based on graphic elements in a quantity calculation software as described in the first aspect.
[0041] Fourthly, this application provides a computer-readable storage medium storing a program that, when executed by a processor, is used to implement a method for linking and batch querying / modifying list quotas based on graphic elements in a quantity calculation software as described in the first aspect.
[0042] In summary, the beneficial effects of this application include at least the following:
[0043] (1) By abstracting each combination of bill of quantities quotas into an independent practice package and assigning a unique identifier to each practice package, centralized management of practices associated with graphic elements is achieved. When a graphic element establishes an association with a practice package, it only stores the unique identifier and does not directly store the complete bill of quantities and quota plaintext. This mechanism effectively avoids data redundancy caused by repeatedly associating the same bill of quantities quotas in large-scale engineering projects, thereby significantly reducing the storage pressure on the database and memory and improving the management efficiency of engineering model data.
[0044] (2) By using the unique identifier mechanism of the work package, duplicate detection can be quickly performed when summarizing and calculating the elements and attaching them to the bill of quantities, avoiding the redundant calculation process of filtering the bill of quantities for each element. This method can significantly improve the efficiency of quantity surveying while ensuring the accuracy of the statistical results.
[0045] (3) Based on automatic application, the system provides functions for quick location, batch inspection, and adjustment of elements attached to the bill of quantities. Users can select and modify specific component types, specific elements, or specific bill of quantities, and the system automatically updates the element attachment information synchronously. Through this function, users can efficiently handle incorrectly attached, adjusted, or changed bill of quantities, realize flexible management and precise control of engineering quantity data, and improve the applicability and operability of the quantity calculation software in actual engineering operations.
[0046] By constructing a bill of quantities quota management mechanism based on construction method packages, and combining a dual matching strategy of component attribute conditions and element attribute conditions, intelligent and automatic linking of elements to bill of quantities quotas is achieved. In implementation, construction method packages are first coarsely screened based on the component type to which the element belongs. Then, precise matching is performed between the element attributes and the judgment conditions of the construction method package. A lightweight association between the element and the construction method package is established through a unique identifier, enabling centralized storage and reference management. Simultaneously, it supports rapid location, batch inspection, and flexible modification of the linking results, allowing users to efficiently identify incorrectly linked or adjusted elements and automatically update the linking information. This significantly improves the accuracy and inspection efficiency of bill of quantities quota linking, effectively solving the problems of low efficiency and high error rates caused by cumbersome manual intervention and data redundancy in existing quantity calculation software for cost management.
[0047] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, the preferred embodiments of this application are described in detail below with reference to the accompanying drawings. Attached Figure Description
[0048] Figure 1 is a flowchart illustrating the method for linking and batch querying / modifying the list quota based on graphic elements in the quantity calculation software of this application.
[0049] Figure 2 is a flowchart of step S102 in an embodiment of this application.
[0050] Figure 3 is a schematic diagram of the use case of the method package in the embodiments of this application.
[0051] Figure 4 is a structural block diagram of the system for linking and batch querying / modifying the bill of quantities quota based on graphic elements in the quantity calculation software of this application embodiment.
[0052] Figure 5 is a block diagram of electronic equipment for attaching and batch querying / modifying bill of quantities based on graphic elements in the quantity calculation software of this application embodiment. Detailed Implementation
[0053] The specific embodiments of this application will be described in further detail below with reference to the accompanying drawings and examples. The following examples are used to illustrate this application, but are not intended to limit the scope of this application.
[0054] Optionally, this application uses the method of attaching and batch querying the list quota based on graphic elements in the quantity calculation software provided in various embodiments as an example for application in electronic devices. The electronic device is a terminal or a server. The terminal can be a computer, tablet computer, etc. This embodiment does not limit the type of electronic device.
[0055] Referring to Figure 1, it is a flowchart illustrating a method for linking and batch querying / modifying quantity quotas based on graphic elements in a quantity calculation software provided in an embodiment of this application. The method includes at least the following steps:
[0056] Step S101: Construct an engineering model and select graphic elements in the quantity calculation software;
[0057] In step S101, the engineering model can be generated directly by drawing in the quantity calculation software, or it can be imported directly from an existing modeling software. The selected graphic element is the smallest structural unit inside the component in the engineering model. Each graphic element has its own attribute information in the model, such as geometric shape, spatial location, and physical properties. In implementation, users can select graphic elements through the system interface of the quantity calculation software according to single selection, multiple selection, or full floor selection. Single selection operates on a single graphic element, multiple selection allows users to select several graphic elements at the same time for batch processing, and full floor selection allows all graphic elements in the entire floor to be selected at once.
[0058] Alternatively, other methods can be used for selecting graphic elements, and this application does not impose restrictions on the selection method of graphic elements.
[0059] Step S102: Execute the automatic element matching command based on the selected elements to complete the matching and linking of elements with the list quota.
[0060] In step S102, an automatic matching command is executed on the selected graphic elements to match and link them with predefined construction method packages, i.e., combinations of bill of quantities and quotas, thereby achieving automatic association of bill of quantities and quotas for all selected graphic elements. The core of this step lies in filtering matching construction method packages from the construction method package library based on the component attributes of the component to which the graphic element belongs and the graphic element's own graphic element attributes, and completing the association between the graphic element and the construction method package.
[0061] Referring to Figure 2, which is a flowchart of step S102 of this application, step S102 includes at least the following steps:
[0062] Step S1021: Group the selected graphic elements according to their component types.
[0063] In step S1021, the selected graphic elements are analyzed, and they are grouped according to the component type to which each graphic element belongs. Graphic elements under the same component are grouped together, forming several processing units. Specifically, the component attribute information corresponding to each graphic element is first identified, such as whether it belongs to beam, slab, column, wall, or other component categories. Then, the component category is used as the grouping basis, and graphic elements of the same category are classified into the same group, thus forming multiple sets of graphic elements corresponding to multiple component categories. In this process, all graphic elements under the same component type are assigned to the same set, while graphic elements of different component types are divided into independent sets. Subsequent automatic nesting operations will be executed in parallel or serially on a group basis to improve processing efficiency.
[0064] Step S1022: Construct a construction method package database. The construction method package database stores the method packages and their corresponding judgment conditions, where the method package represents any combination of the bill of quantities and the quota.
[0065] In step S1022, a construction method package database is constructed, which stores multiple method packages and their corresponding judgment conditions. Specifically, referring to Figure 3, which is a use case diagram of a method package in this embodiment, a method package is a collection formed by combining a list of quantities and several quotas. The list of quantities entries are used to reflect the overall description of the component work during the engineering pricing process, while the quota entries specify the labor, material, and machinery consumption involved in the list of quantities entries. Through this combination of a list of quantities and multiple quotas, the consumption relationship of components in the engineering measurement and pricing process can be fully expressed. Therefore, each method package can be stored as an organically bound unit of the list of quantities and quotas.
[0066] Meanwhile, each construction method package in the database is configured with judgment conditions to limit its applicable scope. These conditions include component attribute conditions and element attribute conditions. Component attribute conditions are determined by the basic parameters of the component in the engineering design, such as component type, cross-sectional dimensions, material information, or structural purpose. Element attribute conditions are determined by the geometric characteristics or physical parameters of the element, such as length, height, inclination angle, and protrusion distance. These judgment conditions are set according to the requirements of the current engineering cost specifications in the bill of quantities and quotas, ensuring that each construction method package is only used on components or elements that meet the specifications, guaranteeing the accuracy and consistency of the automatic application of bill of quantities and quotas.
[0067] Furthermore, as a preferred method, to ensure the uniqueness and reusability of the data stored in the database, each practice package is assigned a unique identifier upon creation. This unique identifier is achieved by combining and encoding the list and quota contents within the practice package. Using this unique identifier, identical practice packages can be quickly identified and compared with existing practice packages, thus avoiding duplicate storage. When creating or editing a drawing element practice, if the generated practice package matches the unique identifier of an existing practice package in the database, a reference relationship is directly established between the drawing element and the existing practice package; if the unique identifier does not exist, the new practice package is written to the database and associated with the relevant drawing element. Through this referencing mechanism, the database can reduce redundant storage and ensure the consistency of practice data.
[0068] In one feasible embodiment, after receiving a new practice package, the practice package database structures the list and quota contents within the package and generates a unique identifier using a hash algorithm to quickly distinguish between different practice packages. For example, the list and quota entries of the practice package can be combined into structured data, and then a hash value can be calculated using the SHA-256 algorithm to generate a unique identifier. The identifier is then retrieved from the database: if a matching record already exists, the corresponding unique identifier is returned directly; if no match is found, a new record is created in the database, and the generated unique identifier is associated with and stored with the practice package, thus ensuring the uniqueness and reusability of each practice package in the database.
[0069] Step S1023: For the grouped elements, filter the engineering method package and its judgment conditions from the engineering method package database according to the component type.
[0070] In step S1023, for each group of graphic elements grouped in step S1021, the component type to which the group of graphic elements belongs is first obtained. Then, all method packages are filtered in the engineering method package database. Each method package in the database indicates its applicable component type range. By comparing the component type to which each group of graphic elements belongs with the applicable types indicated by each method package, a preliminary set of potentially applicable method packages is selected. It should be noted that this step does not compare the specific attributes of components and graphic elements; it only performs a coarse screening based on component type, thereby providing a set of candidate method packages to be processed for subsequent precise matching.
[0071] Step S1024: Iterate through each of the filtered method packages and its judgment conditions. If the judgment conditions only include component attribute conditions, attach the first matched method package to all the elements under the corresponding component type. If the judgment conditions include element attribute conditions, match all elements in the group and attach the method package to the elements that meet the conditions.
[0072] In step S1024, for each group of graphic elements and its corresponding candidate method package set selected in step S1023, each method package is traversed sequentially and its judgment conditions are parsed. For method packages containing only component attribute conditions, the component attributes of the components to which the graphic elements in the group belong are compared with the component attribute conditions in the current method package until the first method package that meets the conditions is found. This method package is then attached to all graphic elements in the group; otherwise, it is skipped. For method packages containing graphic element attribute conditions, the graphic element attributes of each graphic element in the group are compared with the graphic element attribute conditions in the current method package. The first matching method package is attached to that graphic element; otherwise, it is skipped. The above method distinguishes between two cases: those containing only component attribute conditions and those containing graphic element attribute conditions. For method packages containing only component attribute conditions, the matched method package can be attached to all graphic elements under that component type at once, thus avoiding checking each graphic element one by one, greatly reducing repeated matching and attachment operations, and improving overall processing efficiency. For method packages that include primitive attribute conditions, each primitive within the group is compared one by one, and only primitives that meet the conditions are associated with the corresponding method package, thus ensuring the accuracy of the association results. In this way, batch association can be achieved under simple conditions to improve efficiency, while ensuring the accuracy of one-to-one matching under complex conditions, thus achieving a balance between efficiency and accuracy.
[0073] In implementation, this application parses complex conditional rules into an abstract syntax tree, and based on this, breaks down the conditions into component attribute conditions and primitive attribute conditions. The execution path is dynamically determined according to the condition type: if the condition only contains component attribute conditions, a one-time matching is performed only at the component type level; if the condition contains primitive attribute conditions, all primitive instances within the group must be traversed for precise matching. This optimization avoids unnecessary primitive traversal, thereby significantly improving the matching processing speed.
[0074] Furthermore, preferably, for practice packages containing element attribute conditions, the geometric, spatial, and physical attributes of each element are extracted in real time and fused into a multi-dimensional feature vector. Simultaneously, the element attribute conditions of the practice package are parsed into logical expressions, including comparison operators (such as >, <, =, ≥, ≤, ≠) and logical operators (such as AND, OR). A dynamic evaluation function is constructed based on the element attribute conditions. The multi-dimensional feature vector of the element is input into the dynamic evaluation function for high-speed calculation and logical judgment to determine whether the element satisfies the element attribute conditions of the practice package. When the feature vector of an element satisfies all the constraints of the dynamic evaluation function, it is considered a successful match, and the first practice package corresponding to that element that meets the conditions is returned. After a successful match, the list and quota content in the practice package are not directly copied. Instead, a request is sent to the practice package management system, using the matched practice package as a query condition. The practice package management system returns a unique identifier for the practice package, and the element establishes an association with the practice package through this unique identifier, thus achieving the attachment. In this way, primitives do not need to store the complete plaintext of the method. Instead, they are associated with the method package in the form of lightweight references, thereby reducing data redundancy, improving the efficiency of subsequent modifications and statistics, and ensuring the consistency of the method package among various primitives.
[0075] In summary, this application achieves centralized management of the connection of drawing elements to construction methods by abstracting each combination of bill of quantities (BOQ) quotas into independent construction method packages and assigning a unique identifier to each construction method package. When a drawing element establishes an association with a construction method package, it only stores the unique identifier, rather than directly storing the complete BOQ and quota plaintext. This mechanism effectively avoids data redundancy caused by repeatedly connecting the same BOQ quotas in large-scale engineering projects, thereby significantly reducing the storage pressure on the database and memory and improving the management efficiency of engineering model data. Furthermore, the unique identifier mechanism of construction method packages enables rapid deduplication when summarizing and calculating the BOQ quotas connected to drawing elements, avoiding the redundant calculation process of filtering BOQ quotas for each drawing element individually. This method significantly improves the efficiency of quantity surveying while ensuring the accuracy of the statistical results. Through the centralized management and referencing mechanism of construction method packages, the BOQ quota quantities connected to each drawing element can be quickly summarized, providing reliable data support for engineering cost analysis, tender control price preparation, and subsequent decision-making.
[0076] Step S103: Quickly locate and batch check the graphic elements that have been linked to the list quota.
[0077] In step S103, multi-dimensional rapid positioning and batch checking of elements that have been linked to the bill of quantities and quotas are supported. Specifically, users can select a component type in batches, such as beams, columns, or slabs, and the quantity calculation software will automatically list all the bill of quantities and quotas linked to all elements of that type, facilitating overall review and management. Furthermore, users can also select specific bills of quantities or quotas, and the quantity calculation software will locate and display all elements linked to that bill of quantities and quotas, while highlighting the corresponding element positions in the 3D model, thus achieving a direct association between elements and bill of quantities and quotas. This function not only facilitates users in quickly verifying the completeness and consistency of the linkage but also supports batch verification of specific component types or bill of quantities and quotas, improving the efficiency of engineering quantity calculation and data management. In this way, users can flexibly switch between the 3D model view and the bill of quantities and quota view, achieving traceability and efficient checking of the linked data.
[0078] Step S104: Perform batch modification operations on the elements that are mistakenly hung or need to be adjusted in the inspection results.
[0079] In step S104, for the connection errors or elements requiring adjustment found in step S103, the quantity calculation software provides a flexible batch modification function to quickly correct the connection problems of the bill of quantities and quotas. Users can select the operation scope according to actual needs, including the entire component type, some elements, or adjustments to a single bill of quantities and quota item.
[0080] Specifically, firstly, batch modification is possible by component type. Users can select a component type, such as beam, column, or slab, and the quantity calculation software will list all elements under that type and their associated bill of quantities (BOQ) quotas, allowing for unified adjustment or re-attachment. Secondly, modification is possible by BOQ quota item. Users can select a BOQ or quota item, and the software will locate all elements associated with that BOQ quota, allowing for batch adjustment of these elements. Finally, modification is possible by element selection: users can select several elements in the 3D model or list view and uniformly modify their associated BOQ quotas, achieving flexible adjustments. Through these operations, users can quickly correct misattachments, optimize the correspondence between BOQ quotas and elements, and ensure data consistency and integrity, improving the efficiency of engineering quantity calculation and data management. This step achieves traceability and efficient maintenance of BOQ quota attachments, providing a reliable data foundation for subsequent quantity calculation work.
[0081] Step S105: Summarize and calculate the list of quotas attached to the graphic elements and export the data to the pricing software.
[0082] In step S105, quantity calculation software is used to summarize and calculate the quantities of the completed bill of quantities (BOQ) elements, integrating the BOQ quantities associated with each element into the total project quantity and construction method quantity. During the summarization process, the software automatically adds up the labor, material, and machinery consumption data, generating a complete project quantity statistics table. After the summarization is completed, the user can export or transfer the calculation results to the pricing software for use in preparing the tender control price or conducting project cost analysis. This step enables BOQ statistics management based on BOQ elements, ensuring accurate project quantity calculations, data traceability, and supporting efficient subsequent cost work.
[0083] In summary, by constructing a bill of quantities quota management mechanism based on construction method packages and combining a dual matching strategy of component attribute conditions and element attribute conditions, intelligent and automatic linking of elements to bill of quantities quotas is achieved. In implementation, construction method packages are first coarsely screened based on the component type to which the element belongs. Then, precise matching is performed between the element attributes and the judgment conditions of the construction method packages. A lightweight association between the element and the construction method package is established through a unique identifier, enabling centralized storage and reference management. Simultaneously, it supports rapid location, batch inspection, and flexible modification of the linking results, allowing users to efficiently identify incorrectly linked or adjusted elements and automatically update the linking information. This significantly improves the accuracy and inspection efficiency of bill of quantities quota linking, effectively solving the problems of low efficiency and high error rate caused by cumbersome manual intervention and data redundancy in existing quantity surveying software for cost management.
[0084] Furthermore, in addition to automatic application, the system provides functions for quickly locating, batch checking, and adjusting elements linked to bill of quantities (BOQ) quotas. Users can select and modify specific component types, specific elements, or specific BOQ quotas, and the system automatically updates the element linking information synchronously. This function enables users to efficiently handle incorrectly linked, adjusted, or changed BOQ quotas, achieving flexible management and precise control of quantity data, and improving the applicability and operability of the quantity calculation software in actual engineering operations.
[0085] Figure 4 is a structural block diagram of a system for linking and batch querying / modifying bill of quantities quotas based on graphic elements in a quantity calculation software provided in an embodiment of this application. The system includes at least the following modules:
[0086] The element selection module is used to build an engineering model and select elements in the quantity calculation software;
[0087] The automatic element matching module is used to execute the automatic element matching command based on the selected elements, and complete the matching and linking of elements with the list quota.
[0088] The batch inspection module is used to quickly locate and batch inspect the graphic elements that have been linked to the list of quotas.
[0089] The batch modification module is used to perform batch modification operations on elements that are mistakenly hung or need to be adjusted in the inspection results.
[0090] The data export module is used to summarize the list of quotas attached to the calculated graphic elements and export the data to the pricing software.
[0091] For relevant details, please refer to the above method implementation examples.
[0092] Figure 5 is a block diagram of an electronic device provided in one embodiment of this application. The device includes at least a processor 501 and a memory 502.
[0093] Processor 501 may include one or more processing cores, such as a quad-core processor or an octa-core processor. Processor 501 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 501 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 501 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 501 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.
[0094] The memory 502 may include one or more computer-readable storage media, which may be non-transitory. The memory 502 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 502 is used to store at least one instruction, which is executed by the processor 501 to implement the primitive-based list quota attachment and batch query / modification method in the quantity calculation software provided in the method embodiments of this application.
[0095] In some embodiments, the electronic device may also optionally include: a peripheral device interface and at least one peripheral device. The processor 501, memory 502, and peripheral device interface can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface via a bus, signal line, or circuit board. Indicatively, peripheral devices include, but are not limited to: radio frequency circuits, touch displays, audio circuits, and power supplies.
[0096] Of course, electronic devices may also include fewer or more components, and this embodiment does not limit this.
[0097] Optionally, this application also provides a computer-readable storage medium storing a program that is loaded and executed by a processor to implement the method for attaching and batch querying / modifying list quotas based on graphic elements in the quantity calculation software of the above method embodiments.
[0098] Optionally, this application also provides a computer product including a computer-readable storage medium storing a program, which is loaded and executed by a processor to implement the method for attaching and batch querying / modifying list quotas based on graphic elements in the quantity calculation software of the above method embodiments.
[0099] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0100] The above embodiments merely illustrate several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. A method for linking and batch modifying bill of quantities quotas based on graphic elements in quantity calculation software, characterized in that, The method includes: constructing an engineering model and selecting graphic elements in quantity calculation software; executing an automatic graphic element matching command based on the selected graphic elements to complete the matching and linking of graphic elements with the bill of quantities and quotas; the step of executing the automatic graphic element matching command based on the selected graphic elements to complete the matching and linking of graphic elements with the bill of quantities and quotas includes: grouping the selected graphic elements according to their component types; constructing an engineering practice package database, which stores practice packages and their corresponding judgment conditions, wherein a practice package represents any combination of the bill of quantities and quotas; for the grouped graphic elements, filtering practice packages and their judgment conditions from the engineering practice package database according to the component type; traversing the filtered... For each method package and its judgment conditions, if the judgment conditions only include component attribute conditions, the first matching method package is attached to all elements under the corresponding component type; if the judgment conditions include element attribute conditions, all elements within the group are matched, and method packages are attached to the elements that meet the conditions. The process of filtering method packages and their judgment conditions from the engineering method package database based on component type for grouped elements includes: for each group of elements, obtaining the component type to which the group of elements belongs; filtering all method packages in the engineering method package database, where each method package is marked as applicable. The component type range is determined by comparing the component type of each group of graphic elements with the applicable type marked in each method package to filter out the set of applicable method packages. The process of traversing each filtered method package and its judgment conditions involves: if the judgment conditions only include component attribute conditions, attaching the method package to the graphic element under the corresponding component type; if the judgment conditions include graphic element attribute conditions, matching all graphic elements within the group and attaching the method package includes: for each filtered group of graphic elements and its corresponding method package set, traversing each method package sequentially and parsing its judgment conditions; for method packages that only contain component attribute conditions, matching the component type of the group of graphic elements... The component attributes are compared with the component attribute conditions in the current construction method package until the first construction method package that meets the conditions is found. This construction method package is then attached to all elements in the group. If the conditions are not met, the package is skipped. For construction method packages that include element attribute conditions, the element attributes of each element in the group are compared with the element attribute conditions in the current construction method package. The first matching construction method package is attached to that element. If the conditions are not met, the package is skipped. The elements that have been attached to the bill of quantities and quotas are quickly located and batch checked. Elements that are misattached or need adjustment are batch modified in the check results. The bill of quantities and quotas attached to the elements are summarized and calculated, and the data is exported to the pricing software.
2. The method for linking and batch modifying quantity survey quotas based on graphic elements in the quantity calculation software according to claim 1, characterized in that, The construction method package database includes: each method package is a collection formed by combining a list of quantities and several quotas, wherein the list of quantities is used to reflect the overall description of the component work in the engineering pricing process, and the quotas are used to reflect the consumption involved in the list of quantities; each method package is configured with judgment conditions to limit the scope of application of the method package; the judgment conditions include component attribute conditions and element attribute conditions, and the judgment conditions are set according to the requirements of the list of quantities and quotas in the current engineering cost specifications.
3. The method for linking and batch modifying quantity survey quotas based on graphic elements in the quantity calculation software according to claim 1, characterized in that, When the practice package is created, a unique identifier is calculated. The unique identifier is achieved by combining and encoding the list and quota contents in the practice package. After receiving the practice package, the engineering practice package database performs structured processing on the list and quota data of the practice package, calculates the hash value using the SHA-256 algorithm, and generates a unique identifier. The generated unique identifier is retrieved in the engineering practice package database. If a matching record already exists, the corresponding unique identifier is returned directly. If no match is found, a new record is created in the database, and the generated unique identifier is associated with and stored with the package.
4. The method for linking and batch modifying quantity survey quotas based on graphic elements in the quantity calculation software according to claim 1, characterized in that, The comparison of the primitive attributes of each primitive within the group with the primitive attribute conditions in the current method package includes: for a method package containing primitive attribute conditions, extracting the geometric, spatial, and physical attributes of each primitive in real time and fusing them into a multi-dimensional feature vector; simultaneously parsing the primitive attribute conditions of the method package into logical expressions, including comparison and logical operators, and constructing a dynamic evaluation function based on the primitive attribute conditions; inputting the multi-dimensional feature vector of the primitive into the dynamic evaluation function for calculation and logical judgment to determine whether the primitive satisfies the primitive attribute conditions of the method package; when the feature vector of the primitive satisfies all the constraints of the dynamic evaluation function, it is determined to be a successful match, and the first method package that satisfies the conditions corresponding to the primitive is returned; after a successful match, the primitive is associated with the method package through a unique identifier to achieve attachment.
5. A system for linking and batch querying / modifying bill of quantities quotas based on graphic elements in quantity calculation software, characterized in that, include: The element selection module is used to build an engineering model and select elements in the quantity calculation software; The automatic element matching module is used to execute an automatic element matching command based on selected elements to complete the matching and attachment of elements with the bill of quantities and quotas. The execution of the automatic element matching command based on selected elements to complete the matching and attachment of elements with the bill of quantities and quotas includes: grouping the selected elements according to their component types; constructing an engineering practice package database, which stores practice packages and their corresponding judgment conditions, where a practice package represents any combination of the bill of quantities and quotas; for the grouped elements, filtering practice packages and their judgment conditions from the engineering practice package database according to the component type; iterating through each filtered practice package and its judgment conditions, and if the judgment condition is... If the condition only contains component attribute conditions, the first matched method package is attached to all elements under the corresponding component type; if the condition includes element attribute conditions, all elements in the group are matched and method packages are attached to elements that meet the conditions; the process of filtering method packages from the engineering method package database based on component type and the judgment conditions for grouped elements includes: for each group of elements, obtaining the component type to which the group of elements belongs; filtering all method packages in the engineering method package database, where each method package is marked with the applicable component type range, and comparing the component types to which each group of elements belongs. The type is compared with the applicable type marked for each method package to filter out the set of applicable method packages; the process of traversing each filtered method package and its judgment conditions, if the judgment conditions only contain component attribute conditions, the method package is attached to the graphic element under the corresponding component type; if the judgment conditions contain graphic element attribute conditions, matching all graphic elements in the group and attaching the method package includes: for each group of filtered graphic elements and its corresponding method package set, traversing each method package and parsing its judgment conditions in turn; for method packages that only contain component attribute conditions, comparing the component attributes of the component to which the graphic elements in the group belong with the component attribute conditions in the current method package, directly... Once the first matching practice package is found, it is attached to all elements in that group; otherwise, it is skipped. For practice packages containing element attribute conditions, the element attributes of each element in the group are compared with the element attribute conditions in the current practice package. The first matching practice package is attached to that element; otherwise, it is skipped. The batch check module is used to quickly locate and batch check the elements that have been attached to the bill of quantities and quotas. The batch modification module is used to perform batch modification operations on elements that are misattached or need adjustment in the inspection results. The data export module is used to summarize and calculate the bill of quantities and quotas attached to the elements and export the data to the pricing software.
6. An electronic device, characterized in that, The device includes a processor and a memory; the memory stores a program, which is loaded and executed by the processor to implement a method for linking and batch querying / modifying list quotas based on graphic elements in a quantity calculation software as described in any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that, The storage medium stores a program, which, when executed by a processor, is used to implement the method for linking and batch querying / modifying list quotas based on graphic elements in a quantity calculation software as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Power transformation engineering project mounting method and system, readable storage medium and computer
CN111507002A
Three-dimensional design-based power transformation engineering cost rapid and accurate compilation method and system
CN112116322A