Decoration quotation generation method and system based on CAD
Through the CAD-based decoration quotation generation method and system, the data matching channel and process attribute price list are used to solve the problem of cumbersome measurement and evaluation and large errors in traditional decoration quotation methods, and achieve fast and accurate decoration project quotation calculation and optimization .
Patent Information
- Application Number
- CN202311516386.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-14
- Publication Date
- 2024-12-13
AI Technical Summary
Traditional decoration quotation methods rely on manual calculations, resulting in cumbersome measurement and evaluation, large errors, and it is impossible to quickly and accurately calculate various parts of the decoration project.
Using the CAD-based decoration quotation generation method and system, by obtaining decoration drawings, data matching channels are built, including layer, linear and attribute matching channels, combined with process attribute price list, single process prices are calculated, and optimized according to user needs to generate Renovation quotation.
It realizes rapid and accurate measurement and calculation of various parts of the decoration project, reducing the cumbersomeness and error of manual calculations, and improving the accuracy and efficiency of quotations.
Smart Images

Figure CN119130561A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of decoration quotation, and in particular to a decoration quotation generation method and system based on CAD. Background Art
[0002] With the development of computer-aided design (CAD) technology, people began to explore the application of CAD technology in the process of generating decoration quotations. Through CAD software, various parts of the decoration project, including materials, labor, dimensions, etc., can be measured and evaluated more accurately, so as to generate more accurate and detailed quotations. In addition, CAD software can also help better plan and control the construction process of the decoration project, and improve construction quality and efficiency. The decoration quotation generation method based on CAD can not only improve the accuracy and efficiency of the quotation, but also provide decoration companies with better construction planning and quality control tools. At the same time, for customers, they can also understand the details and accuracy of the decoration quotation more clearly, so as to make better decisions. Therefore, the decoration quotation generation method based on CAD has broad application prospects in the construction decoration industry.
[0003] Traditional decoration quotations are often calculated and evaluated manually, which is not only time-consuming, but also may lead to inaccurate quotations due to human errors. In addition, the various details and variables in the decoration project also make the quotation process more complicated.
[0004] However, the inventors of this application found that the above technology has at least the following technical problems in the process of implementing the technical solution of the invention in the embodiment of this application:
[0005] It is impossible to quickly and accurately measure and calculate the various parts of the decoration project. Manual calculation and evaluation are cumbersome and have large errors. Summary of the invention
[0006] This application mainly solves the problem that it is impossible to quickly and accurately measure and calculate various parts of the decoration project. Manual calculation and evaluation are cumbersome and have large errors.
[0007] In view of the above problems, the present application provides a decoration quotation generation method and system based on CAD. In the first aspect, the present application provides a decoration quotation generation method based on CAD, the method comprising: obtaining decoration drawings, importing the decoration drawings into CAD software for drawing analysis, and obtaining basic drawing data; constructing a data matching channel, the data matching channel comprising a layer matching channel, a linear matching channel, and an attribute matching channel; based on a preset scheme framework, inputting the basic drawing data into the data matching channel for template type matching, and obtaining multiple single process attributes and corresponding multiple single process quantities; according to the multiple single process attributes and the corresponding multiple single process quantities, A price list of combined process attributes is used to calculate and obtain multiple single process prices; user needs are obtained, and the multiple single process prices are screened according to the user needs, and several single process prices that do not meet the user needs are taken as items to be optimized; for the first single process attribute and the first single process quantity of the item to be optimized, single process optimization is performed to obtain a single process optimization result, and the single process optimization result is an adjustment optimization of the attribute and quantity; based on the single process optimization result, unit price is calculated again, and the calculation result is added to the multiple single process prices to obtain multiple optimized single process prices, and the multiple optimized single process prices are summed to obtain the user's decoration quotation.
[0008] In the second aspect, the present application provides a decoration quotation generation system based on CAD, the system comprising: a basic data acquisition module, the basic data acquisition module is used to acquire decoration drawings, import the decoration drawings into CAD software for drawing analysis, and acquire basic drawing data; a data matching channel construction module, the data matching channel construction module is used to construct a data matching channel, the data matching channel includes a layer matching channel, a linear matching channel, and an attribute matching channel; a single process quantity acquisition module, the single process quantity acquisition module is based on a preset scheme framework, inputs the drawing basic data into the data matching channel for template type matching, and acquires multiple single process attributes and corresponding multiple single process quantities; a single process price calculation acquisition module, the single process price calculation acquisition module is used to calculate the price of the single process according to the multiple single process attributes and the corresponding multiple single process quantities, combined with the process a price list of sequence attributes, and calculates and obtains multiple single process prices; a user requirement acquisition module, the user requirement acquisition module is used to obtain user requirements, screen the multiple single process prices according to the user requirements, and use several single process prices that do not meet the user requirements as items to be optimized; a single process optimization result acquisition module, the single process optimization result acquisition module is used to optimize the first single process attribute and the first single process quantity of the item to be optimized, and obtain the single process optimization result, wherein the single process optimization result is the adjustment optimization of the attribute and the quantity; a user decoration quotation acquisition module, the user decoration quotation acquisition module calculates the unit price again based on the single process optimization result, and adds the calculation result to the multiple single process prices to obtain multiple optimized single process prices, and sums the multiple optimized single process prices to obtain the user decoration quotation.
[0009] One or more technical solutions provided in this application have at least the following technical effects or advantages:
[0010] The present application provides a method and system for generating decoration quotations based on CAD, which relates to the field of privacy protection technology. The method includes: importing decoration drawings into CAD software to perform drawing analysis to obtain basic drawing data, then building a data matching channel, performing template type matching based on a preset plan, obtaining the number of multiple single processes, combining the process attribute price list to obtain user needs, screening prices, treating unsatisfied ones as items to be optimized, then obtaining single process optimization results, calculating unit prices for the optimization results again, summing up the prices of multiple optimized single processes, and obtaining user decoration quotations.
[0011] This application mainly solves the problem that it is not possible to quickly and accurately measure and calculate the various parts of the decoration project. Manual calculation and evaluation are cumbersome and have large errors. It breaks the traditional manual calculation, facilitates users to quickly and conveniently calculate and submit to the cloud, quickly provide data to the mobile phone to continue the quotation operation, and improve management efficiency.
[0012] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0014] Figure 1 A schematic diagram of a decoration quotation generation method based on CAD is provided for the embodiment of the present application;
[0015] Figure 2 The present application provides a method for generating a decoration quotation based on CAD, in which, according to the evaluation results, individuals that meet the fitness threshold are used as update individuals and substituted into the iterative process.
[0016] Figure 3 A schematic flow chart of a method for adjusting a user's decoration quotation according to a comparison result in a decoration quotation generation method based on CAD is provided for an embodiment of the present application;
[0017] Figure 4 A structural schematic diagram of a CAD-based decoration quotation generation system is provided for an embodiment of the present application.
[0018] Explanation of the reference numerals: basic data acquisition module 10, data matching channel construction module 20, single process quantity acquisition module 30, single process price calculation acquisition module 40, user requirement acquisition module 50, single process optimization result acquisition module 60, user decoration quotation acquisition module 70. DETAILED DESCRIPTION
[0019] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0020] This application mainly solves the problem that it is not possible to quickly and accurately measure and calculate the various parts of the decoration project. Manual calculation and evaluation are cumbersome and have large errors. It breaks the traditional manual calculation, facilitates users to quickly and conveniently calculate and submit to the cloud, quickly provide data to the mobile phone to continue the quotation operation, and improve management efficiency.
[0021] In order to better understand the above technical solution, the above solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods:
[0022] Embodiment 1
[0023] like Figure 1 The method for generating decoration quotation based on CAD is shown, and the method comprises:
[0024] Obtain decoration drawings, import the decoration drawings into CAD software for drawing analysis, and obtain basic drawing data;
[0025] Specifically, the decoration quotation generation method based on CAD, after obtaining the decoration drawings, imports the decoration drawings into the CAD software for drawing analysis, obtains the basic data of the drawings, and after importing the decoration drawings into the CAD software, the drawing analysis can be performed through the tools of the CAD software. Including operations such as identifying, measuring, and calculating each element in the decoration drawings, so as to obtain the basic data of the drawings. These data may include but are not limited to the quantity, type, specification, construction area, construction difficulty, labor costs and other information of the decoration materials. Through the automation function of the CAD software, these basic data can be obtained quickly and accurately. For example, the length, area, volume, etc. in the decoration drawings can be measured by the measuring tools of the CAD software, so as to obtain data such as the quantity of materials and the construction area. At the same time, the construction difficulty and labor costs can also be evaluated and calculated by the calculation tools of the CAD software.
[0026] Constructing a data matching channel, wherein the data matching channel includes a layer matching channel, a linear matching channel, and an attribute matching channel;
[0027] Specifically, a data matching channel is constructed, and the data matching channel includes a layer matching channel, a linear matching channel, and an attribute matching channel, wherein the layer matching channel: in CAD software, different elements and information are usually placed on different layers. The layer matching channel is mainly used to identify and match elements on different layers, so as to obtain various information in the decoration drawings. For example, the layer matching channel can be used to identify elements such as walls, doors, windows, furniture, etc. in the decoration drawings, and obtain their relevant information. The linear matching channel: The linear matching channel is mainly used to identify and match linear elements in the decoration drawings, such as lines, edges, etc. Through the linear matching channel, relevant information of each linear element in the decoration drawings, such as length, angle, etc., can be obtained. The attribute matching channel: The attribute matching channel is mainly used to identify and match attribute information in the decoration drawings, such as the type, specification, color, etc. of the material. By constructing the data matching channel, various information in the decoration drawings can be obtained more comprehensively, so as to generate more accurate and detailed quotations. At the same time, the data matching channel can also help better plan and control the construction process of the decoration project, and improve the construction quality and efficiency.
[0028] Based on the preset solution framework, the basic drawing data is input into the data matching channel for template type matching to obtain multiple single process attributes and corresponding multiple single process quantities;
[0029] Specifically, based on the preset scheme framework, the basic data of the drawing is input into the data matching channel for template type matching, and multiple single process attributes and corresponding multiple single process quantities are obtained. First, according to the preset scheme framework, the basic data of the drawing is input into the data matching channel for template type matching. This process mainly matches and corresponds each element and information in the drawing with the preset template. For example, through the data matching channel, the wall elements in the drawing are matched with the preset wall template, and the door and window elements are matched with the preset door and window template. Through template type matching, multiple single process attributes and corresponding multiple single process quantities can be obtained. These single process attributes may include but are not limited to construction difficulty, labor costs, material costs, etc. The number of single processes is the number of each single process obtained by matching the basic data of the drawing with the template type. For example, the number of single processes for door and window installation can be calculated based on the number of doors and windows in the drawing. After obtaining these single process attributes and the corresponding single process quantities, these data can be further processed and analyzed. For example, the total construction time and labor costs can be evaluated based on attributes such as construction difficulty and labor costs. At the same time, the total cost of each process in the decoration project can be calculated according to the number of each single process, so as to generate an accurate quotation. Through data matching and template type matching based on the preset solution framework, decoration quotations can be generated more quickly and accurately.
[0030] Calculate and obtain multiple single process prices according to the multiple single process attributes and the corresponding multiple single process quantities in combination with the process attribute price list;
[0031] Specifically, according to the multiple single process attributes and the corresponding multiple single process quantities, combined with the process attribute price list, multiple single process prices are calculated. First, it is necessary to calculate according to the obtained multiple single process attributes and the corresponding multiple single process quantities, combined with the process attribute price list. This process mainly multiplies the quantity of each single process by the corresponding unit price, so as to obtain the price of each single process. For example, the total cost of door and window installation can be calculated according to the number of single processes of door and window installation and the corresponding door and window installation unit price. After calculating and obtaining multiple single process prices, these prices can be further processed and analyzed. For example, the total cost of each process in the decoration project can be calculated according to the price of each single process, so as to generate an accurate quotation. At the same time, the total budget and labor costs of the construction can also be evaluated according to these prices. By calculating and obtaining multiple single process prices in combination with the process attribute price list, a decoration quotation can be generated more accurately and finely. At the same time, this method can also help better plan and control the construction process of the decoration project, and improve the construction quality and efficiency.
[0032] Obtaining user needs, screening the multiple single process prices according to the user needs, and taking several single process prices that cannot meet the user needs as items to be optimized;
[0033] Specifically, based on user needs, multiple single process prices are screened, and several single process prices that cannot meet user needs are taken as items to be optimized. First, the user's needs and requirements need to be obtained. These requirements may include the budget, construction time, material quality, design style, etc. of the decoration project. Then, multiple single process prices need to be screened according to the user's needs. This process mainly screens out several single process prices that cannot meet user needs as items to be optimized. For example, if the user requires the use of high-end materials, the single process prices of medium and low-end materials can be screened out as items to be optimized. After taking several single process prices that cannot meet user needs as items to be optimized, these items to be optimized can be optimized and adjusted according to actual conditions. For example, you can negotiate with the user to change the material brand or adjust the design plan to meet user needs and requirements. At the same time, the quotation can also be adjusted and revised according to other factors, such as market price fluctuations, construction difficulty, etc. By obtaining user needs and screening items to be optimized, the user's needs and requirements can be better met, and the quality and satisfaction of the decoration project can be improved. At the same time, this method can also help better control the construction process and cost of the decoration project, and improve construction efficiency and quality.
[0034] For the first single process attribute and the first single process quantity of the item to be optimized, single process optimization is performed to obtain a single process optimization result, wherein the single process optimization result is an adjustment optimization of the attribute and the quantity;
[0035] Specifically, for the first single process attribute and the first single process quantity of the item to be optimized, single process optimization is performed to obtain a single process optimization result, and the single process optimization result is an adjustment optimization of the attribute and quantity, and each item to be optimized needs to be optimized. This process mainly adjusts and optimizes the single process attribute and the single process quantity. For the first single process attribute, you can try to adjust the material brand, specification, quality and other attributes to obtain a result that better meets the user's needs and requirements. For the first single process quantity, you can adjust and optimize it according to the actual situation, such as increasing or decreasing the quantity. Through single process optimization, you can obtain an adjustment and optimization result for the attribute and quantity. This result may be a single process attribute and a corresponding single process quantity that better meets the user's needs and requirements. For example, the low-end material brand may be replaced with a high-end material brand, and the corresponding single process quantity may be adjusted. After obtaining the single process optimization result, it can be applied to the decoration quotation. This process mainly updates the adjusted and optimized single process attribute and single process quantity to the quotation. For example, the first single process attribute and the first single process quantity after adjustment and optimization can replace the original attribute and quantity, so as to generate a more accurate and detailed quotation. Through the application of single process optimization and adjustment optimization results, the needs and requirements of users can be better met, and the quality and satisfaction of decoration projects can be improved.
[0036] The unit price is calculated again based on the single process optimization result, and the calculation result is added to the multiple single process prices to obtain multiple optimized single process prices, and the multiple optimized single process prices are summed to obtain the user's decoration quotation.
[0037] Specifically, the unit price is calculated again based on the optimization result of the single process, and the calculation result is added to multiple single process prices to obtain multiple optimized single process prices. The multiple optimized single process prices are summed to obtain the user's decoration quotation. The unit price needs to be calculated again based on the optimization result of the single process. This process mainly applies the adjusted and optimized single process attributes and the number of single processes to the unit price calculation to obtain the optimized unit price. For example, the unit price of the first single process can be recalculated according to the adjusted and optimized first single process attributes and the number of the first single process. The calculation result is added to multiple single process prices to obtain multiple optimized single process prices. This process mainly adds the optimized unit price of each single process to the corresponding single process price, thereby generating multiple optimized single process prices. For example, the optimized unit price of the first single process can be added to the original price of the first single process, thereby generating the first optimized single process price. Sum multiple optimized single process prices to obtain the user's decoration quotation. This process mainly adds all optimized single process prices to obtain the total quotation for the decoration project. For example, the prices of all optimized single process items can be added together to obtain the total quotation for the renovation project. By recalculating the unit price based on the optimization results of the single process items, obtaining the prices of multiple optimized single process items, and calculating the user's renovation quotation, a more accurate and detailed renovation quotation can be generated.
[0038] Furthermore, the method of the present application constructs a data matching channel, which includes a layer matching channel, a linear matching channel, and an attribute matching channel, including:
[0039] Acquire multiple sample layer information records and multiple sample layer recognition result records based on the decoration quotation record, wherein the multiple sample layer information records include but are not limited to walls, doors and windows, furniture, etc.;
[0040] The multiple sample layer information records and the multiple sample layer recognition result records are respectively used as training data sets, and a layer recognition model is constructed and trained and updated based on machine learning to obtain a layer recognition model that meets preset requirements as a layer matching channel.
[0041] Specifically, first, it is necessary to obtain multiple sample layer information records and multiple sample layer recognition result records based on the decoration quotation records. These sample records can come from historical decoration quotation data or existing decoration drawing data. These sample records include but are not limited to information such as walls, doors and windows, and furniture, which can be used as layer information records. At the same time, these sample records should also contain corresponding layer recognition result records, which can be used as training data sets. Then, a machine learning method can be used to build a layer recognition model based on these sample records and train and update. This process mainly uses machine learning algorithms to learn and train sample records to build a model that can automatically identify and match each layer in the decoration drawings. For example, deep learning algorithms such as convolutional neural networks (CNNs) and recurrent neural networks (RNNs) can be used to train and learn sample records to build a model that can automatically identify layers. After the layer recognition model is built, the model needs to be evaluated and tested to ensure that it can meet the preset requirements. If the recognition accuracy and stability of the model do not meet the requirements, the model needs to be optimized and adjusted, such as adding more sample data, adjusting model parameters, etc. Finally, the layer recognition model that can meet the preset requirements is used as a layer matching channel and applied to the decoration quotation generation process. This process mainly involves matching and corresponding each element and information in the decoration drawing with the layer recognition model, so as to obtain data such as the attributes and quantity of each layer in the decoration drawing. For example, through the layer matching channel, the elements such as walls, doors, windows, and furniture in the decoration drawing can be automatically identified, and their attributes and quantity data can be obtained. By obtaining multiple sample layer information records and multiple sample layer recognition result records based on the decoration quotation record, and constructing a layer recognition model that meets the preset requirements as a layer matching channel, the decoration quotation can be generated more quickly and accurately.
[0042] Furthermore, the method of the present application constructs a data matching channel, which includes a layer matching channel, a linear matching channel, and an attribute matching channel, including:
[0043] Construct the linear matching channel and attribute matching channel obtained through training in sequence;
[0044] The layer matching channel, the linear matching channel, and the attribute matching channel are sequentially connected to obtain the data matching channel.
[0045] Specifically, first, it is necessary to construct and train the linear matching channel and the attribute matching channel in sequence. The linear matching channel is mainly used to identify and match linear elements in decoration drawings, such as lines, edges, etc., and can be constructed and trained using corresponding algorithms and techniques. The attribute matching channel is used to identify and match attribute information in decoration drawings, such as material type, specification, color, etc., and can also be constructed and trained using corresponding algorithms and techniques. After the linear matching channel and the attribute matching channel are constructed and trained, they need to be sequentially connected with the layer matching channel to obtain the data matching channel. This process mainly connects the layer matching channel, the linear matching channel, and the attribute matching channel in a certain order to form a complete matching channel. In this way, the various elements and information in the decoration drawings can be matched and identified in sequence through this data matching channel, so as to obtain the corresponding attributes and quantity data. By sequentially constructing and training the linear matching channel and the attribute matching channel, and sequentially connecting them with the layer matching channel to obtain the data matching channel, various information in the decoration drawings can be obtained more comprehensively, thereby generating more accurate and detailed quotations.
[0046] Furthermore, the method of the present application performs template type matching, including:
[0047] A set of template types are predefined, where each template type represents a type of decoration element and has specific attribute requirements and value ranges;
[0048] The drawing basic data is input into the data matching channel, and the template type is used as a constraint condition to output multiple single process attributes that meet the conditions and the corresponding multiple single process quantities.
[0049] Specifically, first, a set of template types needs to be reserved. Each template type represents a type of decoration element, such as walls, doors and windows, furniture, etc. Each template type has specific attribute requirements and value ranges, such as material type, size, color, etc. These attribute requirements and value ranges can be used as constraints for the template type. Then, the basic data of the drawing is input into the data matching channel. This process mainly matches and corresponds each element and information in the drawing with the predefined template type. The data matching channel will use the template type as a constraint and output multiple single process attributes that meet the conditions and the corresponding multiple single process quantities. For example, if the wall element in the drawing matches the predefined wall template type, the data matching channel will output the corresponding wall single process attributes and the corresponding quantity. By predefining a set of template types and inputting the basic data of the drawing into the data matching channel for matching and correspondence, multiple process attributes that meet the conditions and the corresponding multiple single process quantities can be obtained.
[0050] Furthermore, the method of the present application performs single process optimization, including:
[0051] According to user needs, define optimization objectives and optimization space, where the optimization space is a space with restrictions on attributes and quantities;
[0052] In the optimization space, a plurality of capital individuals are randomly generated, and the capital territory is initialized;
[0053] Based on the optimization goal, construct a fitness function;
[0054] Using the fitness function to evaluate the fitness of the plurality of capital individuals, and based on the evaluation result, selecting a capital whose fitness meets the fitness threshold as a winner capital;
[0055] For the victorious capital, it selects neighboring capitals with lower fitness for territorial conquest, and incorporates their territories into the territory of the victorious capital by adjusting the attributes and number of capital individuals;
[0056] Repeat the competition for capitals and the conquest of territories until the preset termination conditions are met, and output the optimal capital individual, which includes the optimal attributes and the optimal quantity.
[0057] Specifically, we first define the optimization goal and optimization space: the optimization goal here is to find the optimal solution that can maximize the satisfaction of user needs, and the optimization space is the restricted space of attributes and quantity, that is, only the solution within this space may be the optimal solution. Randomly generate multiple capital individuals: this is equivalent to randomly generating a set of possible solutions. Initialize the capital territory: a certain territory is allocated to each capital individual, and this territory can be understood as the living space of the solution. Construct the fitness function: this function is used to evaluate the fitness of each capital individual, that is, the degree of excellence of the solution. Select the capital whose fitness meets the fitness threshold as the winner capital: this step is equivalent to screening all solutions and selecting solutions with higher fitness. Conduct territorial conquest: for the winner capital, select the neighboring capital with lower fitness for territorial conquest, which is equivalent to a mechanism of survival of the fittest. Excellent solutions will obtain more territories (that is, better solutions) through conquest. Repeat capital competition and territorial conquest: through continuous iteration and selection, the entire population gradually evolves in a better direction. Output the optimal capital individual: when the preset termination condition is met, stop iteration and output the optimal solution. Through such a process, we can find the solution that best meets user needs, that is, the optimal capital individual.
[0058] Furthermore, if Figure 2 As shown, the present application method also includes:
[0059] During the capital competition, a preset proportion of multiple individuals are randomly selected as migration targets;
[0060] For multiple individuals in the migration target, random disturbances are introduced to perform random mutations of attributes;
[0061] The mutated individuals are evaluated using the fitness function. According to the evaluation results, the individuals that meet the fitness threshold are used as updated individuals and substituted into the iterative process.
[0062] Specifically, multiple individuals in a preset proportion are randomly selected as migration targets: this is to introduce new genes (i.e., new solutions) into the population and increase the diversity of the population. Introduce random perturbations for random mutation of attributes: this is to produce new changes on the basis of the original solution, which helps to discover new solutions or avoid falling into local optimal solutions. Use fitness function for evaluation: according to the evaluation results of the fitness function, select individuals that meet the fitness threshold as update individuals. Substitute individuals that meet the fitness threshold into the iterative process: this is to replace some individuals in the original population with new solutions (i.e., update individuals) to maintain the diversity of the population. Through such a strategy, we can increase the diversity of the population and help to jump out of the local optimal solution and find a more global optimal solution. This method can help find the best solution in the process of generating decoration quotations and improve the accuracy and efficiency of quotations.
[0063] Furthermore, if Figure 3 As shown, the present application method also includes:
[0064] Connect to multiple suppliers to inquire and obtain multiple alternative process attribute price lists;
[0065] The process attribute price list is compared with the multiple candidate process attribute price lists, and the decoration quotation for the user is adjusted according to the comparison result.
[0066] Specifically, first, it is necessary to connect to multiple supplier terminals for price inquiry and obtain multiple alternative process attribute price lists. These alternative process attribute price lists contain the attributes, prices and other information of different decoration processes provided by different suppliers, which can be used as a reference for quotation. Then, the process attribute price list is compared with multiple alternative process attribute price lists. This process mainly compares and analyzes the actual needs of the user's decoration project with the decoration processes provided by various suppliers, including the type, specification, color, quality and other attributes and price information of the materials. Finally, the user's decoration quotation is adjusted according to the comparison results. This process mainly adjusts and improves the quotation accordingly according to the comparison results and the needs of the user, including adjusting the price, adding or reducing the process, etc., to meet the actual needs and budget of the user. By connecting to multiple supplier terminals for price inquiry, obtaining multiple alternative process attribute price lists, and comparing and adjusting, a more comprehensive and accurate decoration quotation can be obtained to meet the actual needs and budget of the user.
[0067] Embodiment 2
[0068] Based on the same inventive concept as the decoration quotation generating method based on CAD in the above-mentioned embodiment, Figure 4 As shown, the present application provides a decoration quotation generation system based on CAD, the system comprising:
[0069] A basic data acquisition module 10 is used to acquire decoration drawings, import the decoration drawings into CAD software for drawing analysis, and acquire basic drawing data;
[0070] A data matching channel construction module 20, wherein the data matching channel construction module 20 is used to construct a data matching channel, wherein the data matching channel includes a layer matching channel, a linear matching channel, and an attribute matching channel;
[0071] A single process quantity acquisition module 30, which is based on a preset solution framework, inputs the basic drawing data into the data matching channel for template type matching, and acquires multiple single process attributes and corresponding multiple single process quantities;
[0072] A single process price calculation and acquisition module 40, the single process price calculation and acquisition module 40 is used to calculate and obtain multiple single process prices according to the multiple single process attributes and the corresponding multiple single process quantities in combination with the process attribute price list;
[0073] A user requirement acquisition module 50, the user requirement acquisition module 50 is used to acquire user requirements, filter the multiple single process prices according to the user requirements, and select several single process prices that do not meet the user requirements as items to be optimized;
[0074] A single process optimization result acquisition module 60, which is used to optimize the first single process attribute and the first single process quantity of the item to be optimized, and obtain the single process optimization result, wherein the single process optimization result is the adjustment optimization of the attribute and the quantity;
[0075] The user decoration quotation acquisition module 70 recalculates the unit price based on the single process optimization result, adds the calculation result to the multiple single process prices, obtains multiple optimized single process prices, sums the multiple optimized single process prices, and obtains the user decoration quotation.
[0076] Furthermore, the system also includes:
[0077] The layer matching channel acquisition module obtains multiple sample layer information records and multiple sample layer recognition result records based on the decoration quotation record, and the multiple sample layer information records include but are not limited to walls, doors and windows, furniture, etc.; the multiple sample layer information records and the multiple sample layer recognition result records are respectively used as training data sets, and based on machine learning, a layer recognition model is constructed and trained and updated to obtain a layer recognition model that meets preset requirements as a layer matching channel.
[0078] Furthermore, the system also includes:
[0079] In the data matching channel acquisition module, the user sequentially constructs and trains to obtain a linear matching channel and an attribute matching channel; the layer matching channel, the linear matching channel, and the attribute matching channel are sequentially connected to obtain the data matching channel.
[0080] Furthermore, the system also includes:
[0081] A plurality of single process quantity output modules are used to predefine a set of template types, wherein each template type represents a type of decoration element and has specific attribute requirements and value ranges; the basic drawing data is input into the data matching channel, and the template type is used as a constraint condition to output a plurality of single process attributes that meet the conditions and a corresponding plurality of single process quantities.
[0082] Furthermore, the system also includes:
[0083] The optimal solution acquisition module is used to define the optimization target and optimization space according to user needs, and the optimization space is a restricted space of attributes and quantity; in the optimization space, a plurality of capital individuals are randomly generated, and the capital territory is initialized; based on the optimization target, a fitness function is constructed; the fitness function is used to evaluate the fitness of the plurality of capital individuals, and based on the evaluation result, a capital whose fitness meets the fitness threshold is selected as the winner capital; for the winner capital, a neighboring capital with lower fitness is selected for territorial conquest, and its territory is included in the territory of the winner capital by adjusting the attributes and quantity of the capital individuals; the capital competition and territorial conquest are repeated until the preset termination condition is met, and the optimal capital individual is output, and the optimal capital individual includes the optimal attribute and the optimal quantity.
[0084] Furthermore, the system also includes:
[0085] The update individual acquisition module is used to randomly select multiple individuals with a preset ratio as migration targets during the capital competition process; for multiple individuals in the migration targets, random disturbances are introduced to perform random mutations of attributes; the mutated individuals are evaluated using the fitness function, and based on the evaluation results, the individuals that meet the fitness threshold are used as update individuals and substituted into the iterative process.
[0086] Furthermore, the system also includes:
[0087] The quotation adjustment module is used to connect to multiple supplier terminals to inquire about prices and obtain multiple alternative process attribute price lists; compare the process attribute price list with the multiple alternative process attribute price lists, and adjust the user's decoration quotation according to the comparison result.
[0088] Through the detailed description of the aforementioned CAD-based decoration quotation generation method, those skilled in the art can clearly understand the CAD-based decoration quotation generation system in this embodiment. For the system disclosed in the embodiment, since it corresponds to the device disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.
[0089] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A decoration quotation generation method based on CAD, characterized in that: include: Obtain decoration drawings, import the decoration drawings into CAD software for drawing analysis, and obtain basic drawing data; Constructing a data matching channel, wherein the data matching channel includes a layer matching channel, a linear matching channel, and an attribute matching channel; Based on the preset solution framework, the basic drawing data is input into the data matching channel for template type matching to obtain multiple single process attributes and corresponding multiple single process quantities; Calculate and obtain multiple single process prices according to the multiple single process attributes and the corresponding multiple single process quantities in combination with the process attribute price list; Obtaining user needs, screening the multiple single process prices according to the user needs, and taking several single process prices that cannot meet the user needs as items to be optimized; For the first single process attribute and the first single process quantity of the item to be optimized, single process optimization is performed to obtain a single process optimization result, wherein the single process optimization result is an adjustment optimization of the attribute and the quantity; The unit price is calculated again based on the single process optimization result, and the calculation result is added to the multiple single process prices to obtain multiple optimized single process prices, and the multiple optimized single process prices are summed to obtain the user's decoration quotation.
2. The method according to claim 1, characterized in that Construct a data matching channel, which includes a layer matching channel, a linear matching channel, and an attribute matching channel, including: Acquire multiple sample layer information records and multiple sample layer recognition result records based on the decoration quotation record, wherein the multiple sample layer information records include but are not limited to walls, doors and windows, furniture, etc.; The multiple sample layer information records and the multiple sample layer recognition result records are respectively used as training data sets, and a layer recognition model is constructed and trained and updated based on machine learning to obtain a layer recognition model that meets preset requirements as a layer matching channel.
3. The method according to claim 2, characterized in that Construct a data matching channel, which includes a layer matching channel, a linear matching channel, and an attribute matching channel, including: Construct the linear matching channel and attribute matching channel obtained through training in sequence; The layer matching channel, the linear matching channel, and the attribute matching channel are sequentially connected to obtain the data matching channel.
4. The method according to claim 1, characterized in that Perform template type matching, including: A set of template types are predefined, where each template type represents a type of decoration element and has specific attribute requirements and value ranges; The basic drawing data is input into the data matching channel, and the template type is used as a constraint condition to output multiple single process attributes that meet the conditions and the corresponding multiple single process quantities.
5. The method according to claim 1, characterized in that Optimize individual processes, including: According to user needs, define optimization objectives and optimization space, where the optimization space is a space with restrictions on attributes and quantities; In the optimization space, a plurality of capital individuals are randomly generated, and the capital territory is initialized; Based on the optimization goal, construct a fitness function; Using the fitness function to evaluate the fitness of the plurality of capital individuals, and based on the evaluation result, selecting a capital whose fitness meets the fitness threshold as a winner capital; For the victorious capital, it selects neighboring capitals with lower fitness for territorial conquest, and incorporates their territories into the territory of the victorious capital by adjusting the attributes and number of capital individuals; Repeat the competition for capitals and the conquest of territories until the preset termination conditions are met, and output the optimal capital individual, which includes the optimal attributes and the optimal quantity.
6. The method according to claim 5, characterized in that Also includes: During the capital competition, a preset proportion of multiple individuals are randomly selected as migration targets; For multiple individuals in the migration target, random disturbances are introduced to perform random mutations of attributes; The mutated individuals are evaluated using the fitness function. According to the evaluation results, the individuals that meet the fitness threshold are used as updated individuals and substituted into the iterative process.
7. The method according to claim 1, characterized in that Also includes: Connect to multiple suppliers to inquire and obtain multiple alternative process attribute price lists; The process attribute price list is compared with the multiple candidate process attribute price lists, and the decoration quotation for the user is adjusted according to the comparison result.
8. The decoration quotation generation system based on CAD is characterized by: include: A basic data acquisition module, which is used to acquire decoration drawings, import the decoration drawings into CAD software for drawing analysis, and acquire basic drawing data; A data matching channel construction module, wherein the data matching channel construction module is used to construct a data matching channel, wherein the data matching channel includes a layer matching channel, a linear matching channel, and an attribute matching channel; A single process quantity acquisition module, which is based on a preset solution framework, inputs the basic drawing data into the data matching channel for template type matching, and acquires multiple single process attributes and corresponding multiple single process quantities; A single process price calculation and acquisition module, the single process price calculation and acquisition module is used to calculate and obtain multiple single process prices according to the multiple single process attributes and the corresponding multiple single process quantities in combination with the process attribute price list; A user requirement acquisition module, the user requirement acquisition module is used to acquire user requirements, screen the multiple single process prices according to the user requirements, and select several single process prices that do not meet the user requirements as items to be optimized; A single process optimization result acquisition module, which is used to optimize the first single process attribute and the first single process quantity of the item to be optimized, and obtain the single process optimization result, wherein the single process optimization result is the adjustment optimization of the attribute and the quantity; A user decoration quotation acquisition module is used to recalculate the unit price based on the optimization result of the single process, and add the calculation result to the multiple single process prices to obtain multiple optimized single process prices, and sum up the multiple optimized single process prices to obtain the user decoration quotation.
Citation Information
Cited By
Indoor soft installation cost estimation method and device based on image detection and medium
CN121617123A
