A method and system for investment intelligence analysis for cost software
By using AI-driven intelligent investment analysis methods, the problems of data silos and insufficient accuracy in traditional cost management have been solved. This enables efficient and accurate multi-dimensional investment data comparison and analysis, thereby improving the level of intelligence in engineering cost management.
Patent Information
- Application Number
- CN202611382571.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-08
- Publication Date
- 2026-11-20
AI Technical Summary
Traditional cost management methods rely on human experience, resulting in data silos, information fragmentation, and insufficient accuracy, making it difficult to adapt to complex and ever-changing market environments. Furthermore, existing software is inefficient and inaccurate when comparing engineering investment data.
The AI-driven intelligent investment analysis method automatically completes field mapping and unit standardization by constructing a unified data structure, enabling multi-dimensional investment data comparison and analysis. It supports manual adjustment of matching relationships and provides intuitive warning indicators and drag-and-drop interaction to achieve data correction and one-click report generation.
It significantly improves the efficiency and accuracy of comparing engineering investment data, enabling multi-dimensional and in-depth analysis of investment differences, providing flexible data correction and intuitive early warning indicators, and generating structured multi-dimensional comparative analysis reports.
Smart Images

Figure CN123141018A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of engineering cost software technology, and specifically to a method and system for intelligent investment analysis in cost software. Background Technology
[0002] The core method of investment intelligent analysis in cost estimation software is to use data as the foundation and AI algorithms as the engine to transform traditional cost estimation work that relies on human experience into a data-driven intelligent decision-making process that runs through the entire project lifecycle.
[0003] Construction cost management, as a core component of construction projects, directly impacts investment efficiency and resource utilization. Traditional cost management methods have long relied heavily on manual experience and quantity surveying, leading to the following prominent problems in investment analysis: Data silos and information fragmentation: Construction cost management spans the entire lifecycle of a project, from investment decision-making, design, construction to final settlement. It has long faced pain points such as data silos, process fragmentation, information lag, and crude accounting. Cost data between different stages and different participants is difficult to circulate and share effectively.
[0004] Reliance on experience-based estimations leads to insufficient accuracy: Traditional cost forecasting methods have significant limitations when dealing with complex nonlinear relationships and multidimensional characteristic data. Investment estimates rely heavily on the personal experience and subjective judgment of cost estimators, making them difficult to adapt to complex and ever-changing market environments. Traditional statistical regression methods cannot effectively handle the complex nonlinear interactions between cost factors, and prediction errors can increase dramatically when project size increases or technology is innovated.
[0005] To address the aforementioned issues, this invention provides a method and system for intelligent investment analysis in cost estimation software. This system can be used to perform node-by-node comparative analysis of investment data for two different stages of the same project, automatically calculate the increase or decrease in amount and magnitude of each dimension, and support manual adjustment of matching relationships and location jumps. Summary of the Invention
[0006] This invention provides a method for intelligent investment analysis in cost estimation software, the specific steps of which are as follows: S1. Obtain the investment data of the first project and the investment data of the second project, and construct a comparison dataset with a unified data structure. The comparison dataset is divided into a total investment data table, a main project quantity data table, a main material and equipment price data table, and a list data table according to the comparison dimensions. S2. Facilitates matching and calculation of total investment data table, main project quantity data table, main material and equipment price data table, and bill of quantities data table; In the total investment data table, using "project name or expense name" as the matching key, calculate the total amount of each expense item, the amount of investment increase or decrease, and the percentage increase or decrease in total investment. The data changes include price changes, policy adjustments, and design changes. In the main engineering quantity data table, the increase or decrease in engineering quantity and the increase or decrease range are calculated based on the engineering quantity values after the "unit" is consistent, using "engineering quantity type" as the matching key; In the main materials and equipment price data table, the increase or decrease amount and range of material or equipment prices are calculated with "name and specifications" as the matching key and the "unit" being consistent. In the bill of quantities data table, using "project name" as the matching key, calculate the quantity deviation, unit price deviation, total price deviation, and increase / decrease for each item. S3. For each comparison dimension, the deviation items are divided into three levels: same items, different items, and missing items. The first level is data hierarchy structure matching: the first project investment data and the second project investment data are respectively parsed to form a tree data model. The tree model includes a cost category layer, a cost sub-category layer, and a basic data item layer. The structure matching is performed layer by layer from the top to the bottom. Within the same level, a one-to-one matching is performed using the project name as the matching key. When the same data object is in a different hierarchical position or has a different hierarchical depth in the two sets of data, or when the project name cannot be matched in the corresponding level, it is uniformly judged as a missing item. Missing items are not included in the second level of data value comparison and are marked with a gray background to prompt the user. The second layer is data value comparison: it is only performed on data objects that pass the first layer structure matching verification, and is compared one by one in the order of unit, quantity of work, construction unit price, construction cost, equipment unit price, and equipment cost; if the data is inconsistent, it is judged as a difference item and marked in red; if the data is inconsistent, it is judged as the same item and marked in green. S4. Responding to the user's operation on the display mode switching control, switch between "Show All" mode and "Show Differences Only" mode. When "Show Differences Only" mode is selected, the interface only displays the data rows that were identified as differences and missing items in S3, and hides the data rows of identical items. S5. In the comparison interface, in response to the user's positioning and editing operation on any data item, the modified data is written back to the corresponding engineering investment database, and all comparison dimensions associated with the modified data item are automatically recalculated and refreshed through the refresh button; S6. In the comparison interface, in response to the user's positioning and editing operation on any data item, the modified data is written back to the corresponding engineering investment database, and all comparison dimensions associated with the modified data item are automatically recalculated and refreshed through the refresh button; S7. Summarize the comparison results of the four dimensions, generate a multi-dimensional investment comparison analysis report, and display the comparison data and deviation details of each dimension in the report interface by switching dimensions respectively; S8. In response to the user's one-click send command, the currently generated multi-dimensional investment comparison analysis is sent with one click according to the preset template, and the sending method is an Excel file; Furthermore, the construction of a unified data structure in S1 includes using the first project investment data as a benchmark to perform field mapping, unit standardization, and cost item name normalization on the second project investment data. The cost item name normalization process includes removing spaces and unifying full-width / half-width characters.
[0007] Furthermore, the specific calculation steps for the total investment comparison in S2 are as follows: S21.1, Investment increase / decrease amount = Total cost of the second project - Total cost of the first project; S21.2, Increase / Decrease Range = (Total Investment Costs of the Second Project - Total Investment Costs of the First Project) / Total Investment Costs of the First Project × 100%; S21.3 Price change = (Current price of labor, materials and machinery - Original price of labor, materials and machinery) * Quantity of work; S21.4, Design Change = Labor, Material and Machinery Price * (Quantity of Second Project Cost Item - Quantity of First Project Cost Item), and also count unique cost items that exist only in the First Project or only in the Second Project.
[0008] Furthermore, the specific calculation steps for the list comparison in S2 are as follows: S22.1 Using "Project Name" as the primary matching key, when the project names are the same but the units are different, a unit inconsistency prompt will be issued on the comparison interface. S22.2 Simultaneously identify items in the list that exist only in the first project or only in the second project, and mark them as "new items in the list" and "deleted items in the list" respectively. The calculation formula is: Increase / decrease range = (total investment cost items of the second project - total investment cost items of the first project) / total investment cost items of the first project × 100%.
[0009] Furthermore, the specific steps for positioning and editing operations in S5 are as follows: S51. When a user double-clicks the numerical cell corresponding to any data item in the comparison interface, the cell is switched to the editable state of the project. S52. After the user modifies the value and confirms it, the system verifies the format of the input data. If the verification is successful, the modified value is written to the original database of the corresponding project. S53. After the user clicks the refresh button, the system automatically re-executes the deviation calculation for the dimension to which the data item belongs, and updates all affected comparison results and marker colors under the dimension and related dimensions.
[0010] Furthermore, the specific steps for dragging in S6 are as follows: S61. In the comparison interface, each comparison item of the second project investment data is equipped with a draggable interactive control. S62. When a user drags a comparison item of the second project from its current matching position to another comparison item position of the first project, the system cancels the original matching relationship of the comparison item of the second project and establishes a matching relationship with the comparison item of the first project corresponding to the new position. S63. Drag and drop operations can be performed in the list comparison dimension interface; S64. After the matching relationship is adjusted, the system automatically identifies newly added unmatched items and duplicate matched items caused by dragging operations, and marks them with prompts.
[0011] Furthermore, the specific steps for displaying the report interface in S7 are as follows: S71. Total Investment Dimension: Using the total investment estimate table as the data benchmark, compare the total amount of each cost item of the two projects and display the increase or decrease of each cost item in tabular form. S72, Main Quantity Dimensions: Compare the S7 values of the quantities for each quantity type in tabular form; S73, Price Dimension of Main Materials and Equipment: Displays price deviations of main materials or equipment by category; S74, List Dimension: Displays the details of the list deviations item by item in an expandable tree table; S75 allows users to manually switch between views for each dimension, and data marked as differences and similarities in S3 are highlighted in red and green.
[0012] Furthermore, the one-click send command in S8 is implemented as follows: a one-click send button is set on the comparison interface. After the user clicks it, a send configuration window pops up, and the corresponding comparison data and deviation details are assembled into an Excel format according to a preset template.
[0013] Furthermore, the specific steps for switching display modes in S8 are as follows: S81. Set a display mode switching control in the investment intelligent analysis and comparison interface. The control provides the "Show All" option and the "Show Differences Only" option. S82. When the user selects the "Show All" option, the report interface displays all data rows under the current dimension, including missing items, identical items, and different items. S83. When the user selects the "Show only differences" option, the system filters and hides all missing data rows, and the comparison interface only displays the data rows of the same and different items. S84. The display mode switching operation can be performed independently in the comparison interface of the four dimensions: total investment, main project quantity, main material and equipment price, and list. The display modes of each dimension do not affect each other.
[0014] This invention also provides an intelligent investment analysis system for cost estimation software, including an engineering data loading and verification module, a multi-dimensional comparison data module, a difference calculation module, a tree-structured navigation display module, and a location modification linkage module. The engineering data loading and verification module loads engineering data from two different stages of the same project and verifies the consistency of the node structures of the two projects to ensure that the two compared projects belong to the same project and that their node structures correspond. The multi-dimensional comparison data generation module extracts data for the corresponding dimensions from the two engineering data according to the comparison dimensions selected by the user and encapsulates them into a unified comparison data container. The comparison dimensions include... The system includes: a comparison of total investment, major project quantities, material and equipment prices, bill of quantities pricing, and cost tables; a difference calculation module that matches the comparison data on both sides line by line, calculates the increase or decrease amount and magnitude of each line, and appends the difference results to the data column on the right for display; a tree navigation display module that displays the list of project nodes and comparison dimensions in a tree structure, triggering the generation and display of comparison data for the corresponding node when the user clicks on a tree node; and a location linkage module that, based on the data row selected by the user in the comparison interface, jumps back to the original project and locates the corresponding project element, achieving linkage between the comparison interface and the original editing interface.
[0015] This invention offers the following advantages: It significantly improves comparison efficiency. Existing cost estimation software typically requires cost estimators to manually export data to Excel, then manually write formulas and check each row—a tedious, time-consuming, and error-prone process. This invention, by constructing a comparison dataset with a unified data structure, automatically completes field mapping, unit standardization, and cost item name normalization, enabling two sets of data with inherent structural differences to be directly and accurately matched and calculated. This automated process reduces the traditionally time-consuming or even day-long manual comparison work to minutes, greatly improving work efficiency.
[0016] This invention enables multi-dimensional and in-depth difference analysis: traditional comparison methods often only involve simple increases and decreases in total investment amount, making it difficult to pinpoint the specific root causes of differences. This invention breaks down the comparative analysis into four core dimensions: total investment, major engineering quantities, prices of major materials and equipment, and bill of quantities data. It penetrates layer by layer from macro to micro, especially in the total investment dimension, further decomposing the causes of changes into price fluctuations, design changes, and policy adjustments; in the bill of quantities dimension, it decomposes the total price deviation into engineering quantity deviation and unit price deviation, enabling cost engineers to quickly and accurately locate the specific sources and driving factors of investment differences, providing precise data support for cost control decisions.
[0017] This invention features intuitive warning indicators: it establishes a three-level classification system based on deviation thresholds: green for identical items, red for differing items, and gray background for missing items. This intuitive color scheme allows cost estimators to identify all relevant data and risk points at a glance, without having to read through each line of data. Furthermore, the "show only differing items" display mode allows for filtering of all changed items.
[0018] This invention features flexible data correction and dynamic matching: In traditional workflows, once an error is found in the source data during the comparison stage, it is often necessary to return to the original cost file for modification, then re-export and re-compare, which is a lengthy process. This invention provides a "what you see is what you get" positioning and editing capability, allowing users to directly double-click to modify data items on the comparison interface. The system automatically writes back to the original database and recalculates all affected comparison results through the "refresh" button, realizing a closed-loop operation of "error detection - data correction - result update".
[0019] Furthermore, to address the automatic matching errors or omissions caused by non-standard writing of list item names, this invention provides an intuitive and efficient drag-and-drop interaction method, allowing users to manually drag and drop the second project comparison item to the correct matching position. The system automatically adjusts the matching relationship and updates the calculation results in real time. This effectively solves the common problem of inconsistent list names in actual engineering and ensures the accuracy of the comparison results.
[0020] This invention enables one-click report generation and output: It summarizes the analysis results into a structured, multi-dimensional comparative analysis report and allows users to send commands with one click to output the report as an Excel file according to a preset standard template, without having to switch interfaces.
[0021] This invention constructs a complete, efficient, and easy-to-use intelligent investment analysis solution through automated data preprocessing, multi-dimensional deviation calculation, intelligent hierarchical early warning, flexible data correction and dynamic matching, and one-click report generation and output. It can effectively meet the urgent needs of the field of engineering cost management for refined and intelligent investment difference analysis, and has significant technological progress and practical value. Attached Figure Description
[0022] Figure 1 This is a system block diagram of the present invention; Figure 2 This is a flowchart of the present invention. Detailed Implementation
[0023] This invention provides a method for intelligent investment analysis in cost estimation software.
[0024] Example 1 S1, Engineering Data Loading and Verification Module: Loads engineering data from two different stages of the same project and verifies the consistency of the node structure of the two projects to ensure that the two projects being compared belong to the same project and that their node structures correspond. S11. Detect the number of MDI sub-windows that are open in the main window. The comparison function is allowed to start only when two project windows are open. If the number of open sub-windows is not equal to 2, a prompt message will pop up: "Please open two different stages of the same project to perform investment data comparison and analysis". S12. Convert the two MDI child forms into project form objects GCFrm, denoted as the first project form frmA and the second project form frmB, respectively, corresponding to two different stages of the project (such as the preliminary design stage and the construction drawing design stage). S13. Extract the data driver objects DataDriver of the two projects, denoted as the first data driver ddA and the second data driver ddB respectively. Each data driver object contains all the project node data, cost data and material and equipment data of the project. S14. Perform a consistency check on the project node sets of the two projects. The specific check method is as follows: traverse all project nodes SlGcItem of the first project and compare the node type GCItemType with the corresponding project nodes of the second project one by one. If the number of nodes in the two projects is not equal, or the node type at any corresponding position is inconsistent, the check is deemed to have failed, and the prompt "Unable to perform investment data comparison: Project nodes are inconsistent. Please check whether the two projects opened are the same project" will be displayed. S15. After the verification is passed, establish a mapping dictionary gcItemDic from the first project node ID to the second project node ID for node matching during subsequent comparison. At the same time, add nodes of the type of basic information, basic data, unit price project, annual reverse calculation, and report to the exclusion list excludeID. These nodes will not participate in the investment comparison. S2. Multi-dimensional comparison data module: The multi-dimensional comparison data module supports five comparison dimensions, each corresponding to different data extraction and encapsulation logic. The system adopts a lazy loading mechanism, generating comparison data for a node only when the user clicks on the corresponding tree node, and caching the generated comparison data container in the NodeCompareObjects dictionary to avoid duplicate calculations. The five comparison dimensions are: total investment comparison (DATA_TOTALPRICE), main engineering quantity comparison (DATA_MAINQUANTITIES), material and equipment price comparison (DATA_MATERIALS), bill of quantities pricing comparison, and cost table comparison. The first three are project-level summary comparisons, while the latter two are single engineering node-level comparisons. S21. Total Investment Comparison: The total investment comparison dimension is used to compare the total investment report data of the two phases of the project. It reads the total price report name from the configuration file, concatenates the complete path of the report template, and configures it in the "Investment Intelligent Analysis" section of the system configuration file, including configuration items such as total price report data column, total price report total column, and total price report matching column. S21.1 Load the report template file, initialize the report engine, inject the project data into the report template, and generate the DataTable for the total investment report; S21.2. Based on the configured print column set PrintCols, extract the data of the specified columns from the report data table and construct the comparison data item DataCompareItem. Each comparison data item contains the values of each report column specified in the configuration, as well as the reserved increase / decrease amount column and increase / decrease range column. S21.3 Add all comparison data items to the comparison data collection DataCompareCollection and encapsulate them into a comparison data container DataCompareContainer. The two projects generate their respective comparison data containers to form a set of comparison data. S22. Comparison of Major Quantities: The comparison of major quantities is used to compare the summary data of major quantities of the two phases of the project. The data generation specifically includes the following: S22.1 Find the root node gcItem of type Folder Project from the project nodes; S22.2 Call the CalcMainQuantities function to recursively calculate the main quantities of all child nodes under this project node, and return a dictionary of quantity names to quantity values, keeping two decimal places during the calculation; S22.3. Traverse the quantity dictionary and create a comparison data item for each quantity item, containing four fields: "Unit Price Rule" (quantity name), "Total Quantity" (quantity value), "Increase / Decrease Amount" and "Increase / Decrease Range". S22.4. Encapsulate all comparison data items into a comparison data set and a comparison data container; S23. Comparison of Labor, Material, and Equipment Prices: This dimension is used to compare the unit price data of labor, materials, and equipment in two stages of the project. S23.1 Obtain the set of all material elements for the global distribution from the data-driven object; S23.2 Construct the root node for labor price, traverse all material elements, filter elements with the attribute "labor", and add them as child nodes under the root node for labor price. Each child node contains three fields: name, unit, and price (budget price excluding tax). S23.3 Construct the root node for material prices, traverse all material elements, filter elements with attributes of "material", "equipment", "equipment" or empty, and add them as child nodes under the root node for material prices; S23.4. Encapsulate the root node of labor price and the root node of material price together into a comparison data set, the set type being an engineering parameter set; S24. Bill of Quantities (BOQ) Pricing Comparison: The BOQ pricing comparison dimension is used to compare the pricing BOQ data under a single project node. It is triggered when the user clicks on a tree node that is a regular project node and that node contains cost elements. The generation method is as follows: S24.1 Create a comparison data container with a file data source type, and create a comparison data set with a list table containing prices and a title "Project Name: Node Name"; S24.2. Iterate through all cost elements (CostElement) under this project node, filter out empty elements (ElementEmpty), and form a list of valid cost elements.
[0025] S24.3 Call the FillCompareItemList_JJBWithPrice method of the data comparison item factory to convert the cost element list into a hierarchical comparison data item tree structure, preserving the hierarchical relationship of the list (parts, sub-items, list entries, etc.). S24.4. The two projects perform the above steps respectively to generate their respective comparison data containers. The corresponding node in the second project is found through the node mapping dictionary gcItemDic for data extraction. S25. Fee Table Comparison: The fee table comparison dimension is used to compare the fee item data under a single project node. It is triggered when the user clicks on a tree node that contains project fees (ProjectFees). S25.1. Create a comparison data container with the data source type being expense type, and create a comparison data set with the set type being expense table; S25.2 Call the FillCompareItemList_Expense method of the data comparison item to convert the project cost list of the node into a comparison data item tree structure, with the cost type being independent cost; S25.3. Perform the above steps for each of the two projects to generate their respective comparison data containers; S3, Difference Calculation Module: The difference calculation module is used to calculate the difference between the data rows on the left and right sides after matching, including the increase or decrease in amount and the increase or decrease in magnitude. The difference calculation module supports difference calculation for various comparison types and supports recursive calculation of the difference of child nodes. S31. Obtain the value of a specified data column from the left data row and convert it to the decimal value priceA; if the left data row is empty, then priceA is 0; S32. Obtain the value of a specified data column in the right-hand data row and convert it to the decimal value priceB; if the right-hand data row is empty, then priceB is 0; S33. Calculate the increase / decrease in credit limit diff = priceB - priceA. If diff equals 0, display "-" in the increase / decrease column; if diff is greater than 0, display "+" in the format of "+value"; if diff is less than 0, display a negative value directly. S34. Calculate the increase / decrease percentage. If priceA equals 0 (no data on the left), display "-" in the increase / decrease percentage column; otherwise, calculate the percentage using the formula diffRate = (priceB - priceA) / priceA × 100, rounded to two decimal places. If the absolute value of the increase / decrease percentage is less than 0.01%, display "-"; if it is greater than 0, display "+X.XX%"; if it is less than 0, display "X.XX%". The specific column for calculating the difference varies depending on the comparison dimension. S34.1 Comparison of Bill of Quantities Pricing: Calculate the differences in quantities, unit prices, construction and installation costs, equipment unit prices, and equipment costs, and additionally calculate the total increase or decrease of the sum of construction and installation costs and equipment costs; S34.2 Comparison of expense tables: Calculate the increase or decrease amount and magnitude of the expense value column; S34.3, Total Investment Comparison: Calculate the difference based on the total column of the configuration; S34.4 Comparison of Major Quantities: Calculate the difference in the total quantity column; S35.5 Comparison of material and equipment prices: Calculate the difference in the price columns; The difference calculation is performed recursively, and the difference calculation is also performed on all child nodes of each data row to ensure that the difference information is displayed at all levels of the entire tree; S4. Tree Navigation Display Module: The tree navigation display module consists of two parts: a left-side navigation tree and a right-side two-column comparison table. The left-side navigation tree, gcItemTreeLite1, is used to display the project structure and comparison dimension categories. The initialization method is as follows: S41. Initialize the tree control based on the project node set of the first project to display the complete project node hierarchy structure; S42. Traverse the tree nodes and change the name of the root node of type Project to "Project Summary" for easy user identification. S43. Add three virtual category nodes at the root level of the tree: "Materials and Machinery" (ID: DATA_MATERIALS), "Main Quantities" (ID: DATA_MAINQUANTITIES), and "Total Investment" (ID: DATA_TOTALPRICE), which correspond to three project-level comparison dimensions respectively. S44. Node focus changes: When the user clicks on different tree nodes, the SetNodeData method is triggered to load the corresponding node's comparison data. The right-hand two-column comparison table uses a left-right split layout, with the left side displaying the first project data and the right side displaying the second project data. The display logic is as follows: S44.1 Clear the current comparison table data and unbind the old node replacement event: Set the corresponding comparator LocalComparer according to the current node ID. Use TotalPriceComparer for total investment comparison, TotalQuantitiesComparer for main engineering quantities comparison, and MaterialsComparer for labor, materials and machinery comparison. Do not use a custom comparator for node-level comparison.
[0026] S44.2. Comparators are used to define the matching rules for left and right data rows: TotalPriceComparer: performs multi-column matching based on the configured matching column matchCols; if the values of all matching columns are equal, they are determined to be the same row; TotalQuantitiesComparer: performs matching based on the "Unit Price Rule" column (quantity name); MaterialsComparer: performs matching based on the combination of the "Name" and "Unit" columns; if both the name and unit are the same, they are determined to be the same material. The left and right comparison data containers are set to the left and right data sources of the comparison control respectively. S44.3 Perform difference calculations and add increase / decrease amounts and magnitudes to the right-hand data columns: Initialize column display based on the comparison set type. For bill of quantities tables containing price types, hide columns that do not need comparison, such as construction and installation VAT, equipment VAT, and material unit prices. Add difference columns such as quantity difference, construction and installation unit price difference, construction and installation cost difference, equipment unit price difference, equipment cost difference, and increase / decrease magnitude, and fix the width of the code and name columns. For cost table types, hide auxiliary columns such as user-defined codes, calculation formulas, and coefficient values, and add increase / decrease amounts and magnitudes. Hide difference columns for other types. S44.4 Refresh the table data source and complete the comparison display: The system supports display mode switching: Select to display all or only display the difference items through the drop-down box tsb_DisplayMode in the toolbar. When selecting to display only the difference, the ToggleHideSame method is called to hide the rows with the same values on the left and right sides, making it easier for users to quickly locate the difference points. S5. Positioning Linkage Module: The positioning linkage module is used to realize the linkage jump between the comparison interface and the original project editing interface. When the user selects a row of data in the comparison table and clicks the "Position" button, the system automatically switches to the corresponding project window and positions the selected project element. S51. Obtain the ID of the currently selected node in the left navigation tree and compare it with the currently focused data row in the table; S52. Determine whether the user is focusing on the left table or the right table. If the user is focusing on the left table, the target form is the first project form frmA, and the target node ID is the current tree node ID. If the user is focusing on the right table, the target form is the second project form frmB, and the target node ID is obtained by converting the node mapping dictionary gcItemDic. S53. Get the element ID corresponding to the selected data row. If no valid element is selected or the element ID is invalid, a prompt "Please select an element" will pop up. S54. Call the SwitchToProject method of the main form to switch to the MDI child form corresponding to the target project; S55: Locate the corresponding project node item in the target project and execute different positioning logic based on the collection type of the comparison data: If it is a list table containing price type: search for the target cost element targetElement in the cost element list of the project node based on the element ID, obtain the page control of the node, and if the page control has been loaded, directly set the focus to the target element; if the page control has not been loaded, register the page load completion event, and automatically locate the target element after loading is complete; If it is a cost table type: directly set the focus to the corresponding project node.
[0027] This embodiment utilizes a location-linking function, allowing users to jump directly to the original editing interface for viewing and modification after identifying differences through comparison. This significantly improves the efficiency of cost comparison analysis and adjustment.
[0028] This invention also provides an intelligent investment analysis system for cost estimation software, including an engineering data loading and verification module, a multi-dimensional comparison data module, a difference calculation module, a tree-structured navigation display module, and a location modification linkage module. The engineering data loading and verification module loads engineering data from two different stages of the same project and verifies the consistency of the node structures of the two projects to ensure that the two compared projects belong to the same project and that their node structures correspond. The multi-dimensional comparison data generation module extracts data for the corresponding dimensions from the two engineering data according to the comparison dimensions selected by the user and encapsulates them into a unified comparison data container. The comparison dimensions include... The system includes: a comparison of total investment, major project quantities, material and equipment prices, bill of quantities pricing, and cost tables; a difference calculation module that matches the comparison data on both sides line by line, calculates the increase or decrease amount and magnitude of each line, and appends the difference results to the data column on the right for display; a tree navigation display module that displays the list of project nodes and comparison dimensions in a tree structure, triggering the generation and display of comparison data for the corresponding node when the user clicks on a tree node; and a location linkage module that, based on the data row selected by the user in the comparison interface, jumps back to the original project and locates the corresponding project element, achieving linkage between the comparison interface and the original editing interface.
[0029] Although specific embodiments of the present invention have been described in detail with reference to the accompanying drawings, this should not be construed as limiting the scope of protection of the present invention. Various modifications and variations that can be made by those skilled in the art without inventive effort within the scope described in the claims are still within the scope of protection of the present invention.
Claims
1. A method for intelligent investment analysis in cost estimation software, characterized in that: The specific steps of the method are as follows: S1. Obtain the investment data of the first project and the investment data of the second project, and construct a comparison dataset with a unified data structure. The comparison dataset is divided into a total investment data table, a main project quantity data table, a main material and equipment price data table, and a list data table according to the comparison dimension. S2. Facilitates matching and calculation of total investment data table, main project quantity data table, main material and equipment price data table, and bill of quantities data table; In the total investment data table, the total amount of each expense item, the amount of investment increase or decrease, and the percentage increase or decrease in total investment are calculated using "project name or expense name" as the matching key. The data changes include price changes, policy adjustments, and design changes. In the main engineering quantity data table, the increase or decrease in engineering quantity and the magnitude of increase or decrease are calculated based on the engineering quantity values after the "unit" is consistent, using "engineering quantity type" as the matching key; In the main material and equipment price data table, the increase or decrease amount and magnitude of material or equipment price are calculated under the condition that the "unit" is consistent, using "name and specifications" as the matching key. In the aforementioned list data table, using "project name" as the matching key, the quantity deviation, unit price deviation, total price deviation, and increase / decrease range are calculated item by item. S3. For each comparison dimension, the deviation items are divided into three levels: identical items, different items, and missing items. The first level is data hierarchy structure matching: the first project investment data and the second project investment data are respectively parsed to form a tree data model. The tree model includes a cost category layer, a cost sub-category layer, and a basic data item layer. The structure matching is performed layer by layer from the top to the bottom. Within the same level, a one-to-one matching is performed using the project name as the matching key. When the same data object is in a different hierarchical position or has a different hierarchical depth in the two sets of data, or when the project name cannot be matched in the corresponding level, it is uniformly determined to be a missing item. The missing item does not enter the data value comparison in the second level and is marked with a gray background to prompt the user. The second layer is data value comparison: it is only performed on data objects that pass the first layer structure matching verification, and is compared one by one in the order of unit, quantity of work, construction unit price, construction cost, equipment unit price, and equipment cost; if the data is inconsistent, it is judged as a difference item and marked in red; if the data is inconsistent, it is judged as the same item and marked in green. S4. Responding to the user's operation on the display mode switching control, switch between "Show All" mode and "Show Differences Only" mode. When "Show Differences Only" mode is selected, the interface only displays the data rows that are identified as differences and missing items in S3, and hides the data rows of identical items. S5. In the comparison interface, in response to the user's positioning and editing operation on any data item, the modified data is written back to the corresponding engineering investment database, and all comparison dimensions associated with the modified data item are automatically recalculated and refreshed through the refresh button; S6. In the comparison interface, in response to the user's positioning and editing operation on any data item, the modified data is written back to the corresponding engineering investment database, and all comparison dimensions associated with the modified data item are automatically recalculated and refreshed through the refresh button; S7. Summarize the comparison results of the four dimensions, generate a multi-dimensional investment comparison analysis report, and display the comparison data and deviation details of each dimension in the report interface by switching dimensions respectively; S8. In response to the user's one-click send command, the currently generated multi-dimensional investment comparison analysis is sent with one click according to the preset template, and the sending method is an Excel file.
2. The method for intelligent investment analysis in cost estimation software as described in claim 1, characterized in that: The construction of a unified data structure in S1 includes using the first project investment data as a benchmark to perform field mapping, unit standardization, and expense item name normalization on the second project investment data. The expense item name normalization process includes removing spaces and unifying full-width / half-width characters.
3. The method for intelligent investment analysis in cost estimation software as described in claim 1, characterized in that: The specific calculation steps for the total investment comparison in S2 are as follows: S21.1, Investment increase / decrease amount = Total cost of the second project - Total cost of the first project; S21.2, Increase / Decrease Range = (Total Investment Costs of the Second Project - Total Investment Costs of the First Project) / Total Investment Costs of the First Project × 100%; S21.3 Price change = (Current price of labor, materials and machinery - Original price of labor, materials and machinery) * Quantity of work; S21.4, Design Change = Labor, Material and Machinery Price * (Quantity of Second Project Cost Item - Quantity of First Project Cost Item), and also count unique cost items that exist only in the First Project or only in the Second Project.
4. The method for intelligent investment analysis in cost estimation software as described in claim 1, characterized in that: The specific calculation steps for the inventory comparison in S2 are as follows: S22.1 Using "project name" as the primary matching key, when the project names are the same but the units are different, a unit inconsistency prompt will be issued on the comparison interface. S22.2 Simultaneously identify items in the list that exist only in the first project or only in the second project, and mark them as "new items in the list" and "deleted items in the list" respectively. The calculation formula is: Increase / decrease range = (total investment cost items of the second project - total investment cost items of the first project) / total investment cost items of the first project × 100%.
5. The method for intelligent investment analysis in cost estimation software as described in claim 1, characterized in that: The specific steps of the positioning and editing operation in S5 are as follows: S51. When a user double-clicks the numerical cell corresponding to any data item in the comparison interface, the cell is switched to the editable state of the project. S52. After the user modifies the value and confirms it, the system verifies the format of the input data. If the verification is successful, the modified value is written to the original database of the corresponding project. S53. After the user clicks the refresh button, the system automatically re-executes the deviation calculation for the dimension to which the data item belongs, and updates all affected comparison results and marker colors under the dimension and related dimensions.
6. The method for intelligent investment analysis in cost estimation software as described in claim 1, characterized in that: The specific steps of the drag operation in S6 are as follows: S61. In the comparison interface, each comparison item of the second project investment data is equipped with a draggable interactive control. S62. When a user drags a comparison item of the second project from its current matching position to another comparison item position of the first project, the system cancels the original matching relationship of the comparison item of the second project and establishes a matching relationship with the comparison item of the first project corresponding to the new position. S63. Drag and drop operations can be performed in the list comparison dimension interface; S64. After the matching relationship is adjusted, the system automatically identifies newly added unmatched items and duplicate matched items caused by dragging operations, and marks them with prompts.
7. The method for intelligent investment analysis in cost estimation software as described in claim 1, characterized in that: The specific steps for displaying the report interface in S7 are as follows: S71. Total Investment Dimension: Using the total investment estimate table as the data benchmark, compare the total amount of each cost item of the two projects and display the increase or decrease of each cost item in tabular form. S72, Main Quantity Dimensions: Compare the S7 values of the quantities for each quantity type in tabular form; S73, Price Dimension of Main Materials and Equipment: Displays price deviations of main materials or equipment by category; S74, List Dimension: Displays the details of the list deviations item by item in an expandable tree table; S75 allows users to manually switch between views for each dimension, and data marked as differences and similarities in S3 are highlighted in red and green.
8. The method for intelligent investment analysis in cost estimation software as described in claim 1, characterized in that: The one-click sending command in S8 is implemented as follows: a one-click sending button is set on the comparison interface. After the user clicks it, a sending configuration window pops up, and the corresponding comparison data and deviation details are assembled into an Excel format file according to a preset template.
9. The method for intelligent investment analysis in cost estimation software as described in claim 1, characterized in that: The specific steps for switching the display mode in S8 are as follows: S81. Set a display mode switching control in the investment intelligent analysis and comparison interface. The control provides a "show all" option and a "show only differences" option. S82. When the user selects the "Show All" option, the report interface displays all data rows under the current dimension, including missing items, identical items, and different items. S83. When the user selects the "Show only differences" option, the system filters and hides all missing data rows, and the comparison interface only displays the data rows of the same and different items. S84. The display mode switching operation can be performed independently in the comparison interface of the four dimensions: total investment, main project quantity, main material and equipment price, and list. The display modes of each dimension do not affect each other.
10. An intelligent investment analysis system for cost estimation software, comprising an engineering data loading and verification module, a multi-dimensional data comparison module, a difference calculation module, a tree-structured navigation display module, and a location modification linkage module, characterized in that: The engineering data loading and verification module is used to load engineering data from two different stages of the same project and verify the consistency of the node structure of the two projects to ensure that the two projects being compared belong to the same project and that their node structures correspond. The multi-dimensional comparison data generation module is used to extract data of the corresponding dimensions from the two engineering data according to the comparison dimensions selected by the user and encapsulate them into a unified comparison data container. The comparison dimensions include: total investment comparison, main engineering quantity comparison, material and machine price comparison, bill of quantities pricing comparison, and cost table comparison. The difference calculation module is used to match the comparison data on the left and right sides line by line and calculate the increase or decrease amount and magnitude of each line of data, and append the difference results to the data column on the right for display. The tree navigation display module is used to display the list of engineering nodes and the classification of comparison dimensions in a tree structure. When the user clicks on a tree node, it triggers the generation and display of the comparison data of the corresponding node. The positioning linkage module is used to jump back to the original project and locate the corresponding engineering element position according to the data row selected by the user in the comparison interface, so as to realize the linkage between the comparison interface and the original editing interface.
