An intelligent answering method, device and equipment for a pipeline design problem and a medium

By using a computational question-and-answer model for dredging pipelines to perform semantic parsing and calculation of user question-and-answer commands, the problems of low efficiency of manual calculation and large deviations in simulation in dredging pipeline design are solved, and accurate and timely answers to pipeline design questions are achieved.

CN122432284APending Publication Date: 2026-07-21NAT ENG RES CENT OF DREDGING TECH & EQUIP
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
NAT ENG RES CENT OF DREDGING TECH & EQUIP
Filing Date
2026-04-21
Publication Date
2026-07-21

AI Technical Summary

Technical Problem

In existing technologies for dredging pipeline design, manual calculations are inefficient and prone to errors, and simulation results often deviate from actual engineering requirements when there are few parameters.

Method used

An intelligent answering method is adopted, which uses a dredging pipeline calculation question-and-answer model to perform semantic parsing of user question-and-answer commands, determine the indicator parameter set, and use the target invocation method to perform calculations, identify user intent, provide accurate question-and-answer results, and clear irrelevant calculation processes to ensure the accuracy and timeliness of each round of question-and-answer.

Benefits of technology

Even when users provide few parameters, the system can quickly calculate accurate answers to questions, ensuring the accuracy and timeliness of the answers to each round of pipeline design questions and preventing the results of previous rounds from affecting the results of subsequent rounds.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122432284A_ABST
    Figure CN122432284A_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a kind of intelligent answering method, device, equipment and medium of pipeline design problem, method includes: receiving the current question and answer instruction of target user to current pipeline design problem, and according to current question and answer instruction determine index parameter group;Index parameter group is input dredging pipeline calculation question and answer model, to make dredging pipeline calculation question and answer model according to the parameter type of each index parameter in index parameter group determine target calling method;Get the question and answer result that dredging pipeline calculation question and answer model is calculated to each index parameter using target calling method and outputs;Receive the next question and answer instruction that target user feeds back according to question and answer result, and next question and answer instruction is as current question and answer instruction, return the step of determining index parameter group according to current question and answer instruction is executed, until determining that target user stops asking for current pipeline design problem, determine the end of asking for current pipeline design problem.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of dredging engineering technology, and in particular to an intelligent answering method, device, equipment and medium for pipeline design problems. Background Technology

[0002] As a complete flow pipeline system used for suction and transport of dredged materials (such as silt and mud), the design of a dredging pipeline system involves the coordinated optimization of many related index parameters, such as geometric parameters, medium parameters, and pump parameters.

[0003] Currently, the design of dredged pipelines is generally achieved through manual calculation or simulation. However, manual calculation is prone to inefficiency and large errors, while simulation, when provided with limited user-specified parameters, can easily result in calculations that deviate significantly from the actual engineering requirements. Summary of the Invention

[0004] This invention provides an intelligent answering method, apparatus, equipment, and medium for pipeline design questions, ensuring the accuracy and timeliness of the final answer results for each round of pipeline design questions.

[0005] In a first aspect, embodiments of the present invention provide an intelligent answering method for pipeline design problems, the method comprising: Receive the current Q&A instructions from the target user regarding the current pipeline design problem, and determine the indicator parameter group based on the current Q&A instructions.

[0006] Input the indicator parameter group into the dredging pipeline calculation question and answer model so that the dredging pipeline calculation question and answer model can determine the target calling method according to the parameter type of each indicator parameter in the indicator parameter group.

[0007] The question-and-answer results of the dredging pipeline calculation question-and-answer model are obtained by using the target invocation method to calculate the parameters of each indicator.

[0008] Receive the next question-and-answer instruction from the target user based on the question-and-answer results, and use the next question-and-answer instruction as the current question-and-answer instruction. Return to execute the step of determining the indicator parameter group based on the current question-and-answer instruction, until it is determined that the target user has stopped asking questions about the current pipeline design problem, and the questioning of the current pipeline design problem has ended.

[0009] The intelligent answering method for pipeline design questions provided in this invention obtains the current question-and-answer instruction by directly performing semantic parsing on the current pipeline design question, and determines the indicator parameter set based on the current question-and-answer instruction. This allows for rapid identification of whether the target user's intent in this inquiry leans more towards practical engineering or general knowledge. By utilizing a dredging pipeline calculation question-and-answer model and the indicator parameter set to determine the target calling method, and then using the target calling method to calculate each indicator parameter, the question-and-answer result is obtained. This solves the problem that current manual calculation or simulation methods result in significant deviations when the user-provided indicator parameters are limited. It ensures that even with a limited number of user-provided indicator parameters, a more accurate question-and-answer result can be obtained by selecting an appropriate target calling method based on the indicator parameter set. By determining whether the target user has stopped asking questions about the current pipeline design problem, we can determine whether the target user's questioning of the current pipeline design problem has ended (or the target user has started asking questions about the next pipeline design problem). In this way, when it is determined that the questioning of the current pipeline design problem has ended, the aforementioned calculation process can be cleared. This ensures that when the target user asks questions about other pipeline design problems again, the question and answer results of the new round of pipeline design problems will not be affected by the aforementioned calculation process with low relevance. This ensures the accuracy and timeliness of the final question and answer results of each round of pipeline design problems.

[0010] Secondly, embodiments of the present invention also provide an intelligent answering device for pipeline design questions, the device comprising: The receiving module is used to receive the current question and answer instructions from the target user regarding the current pipeline design problem, and to determine the indicator parameter group based on the current question and answer instructions.

[0011] The input module is used to input the index parameter group into the dredging pipeline calculation question and answer model, so that the dredging pipeline calculation question and answer model can determine the target calling method according to the parameter type of each index parameter in the index parameter group.

[0012] The acquisition module is used to obtain the question and answer results output by the dredging pipeline calculation question and answer model after calculating the parameters of each indicator using the target call method.

[0013] The judgment module is used to receive the next question-and-answer instruction from the target user based on the question-and-answer results, and take the next question-and-answer instruction as the current question-and-answer instruction. It then returns to execute the step of determining the indicator parameter group based on the current question-and-answer instruction until it is determined that the target user has stopped asking questions about the current pipeline design problem, thus determining the end of the questioning of the current pipeline design problem.

[0014] Thirdly, embodiments of the present invention also provide an electronic device, the electronic device comprising: At least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by at least one processor, such that the at least one processor is able to execute the intelligent answering method for pipeline design problems according to any embodiment of the present invention.

[0015] Fourthly, embodiments of the present invention also provide a computer-readable storage medium storing computer instructions for causing a processor to execute and implement the intelligent answering method for pipeline design problems according to any embodiment of the present invention.

[0016] Fifthly, embodiments of the present invention also provide a computer program product, including a computer program that, when executed by a processor, implements the intelligent answering method for pipeline design problems according to any embodiment of the present invention.

[0017] It should be noted that the aforementioned computer instructions may be stored, in whole or in part, on a computer-readable storage medium. This computer-readable storage medium may be packaged together with the processor of the intelligent answering device for pipeline design problems, or it may be packaged separately from the processor of the intelligent answering device for pipeline design problems; this application does not impose any limitations on this.

[0018] The descriptions of the second, third, fourth, and fifth aspects in this application can be referred to the detailed description of the first aspect; and the beneficial effects of the descriptions of the second, third, fourth, and fifth aspects can be referred to the analysis of the beneficial effects of the first aspect, which will not be repeated here.

[0019] In this application, the name of the intelligent answering device for the aforementioned pipeline design problem does not limit the device or functional module itself. In actual implementation, these devices or functional modules may appear under other names. As long as the function of each device or functional module is similar to that of this application, it falls within the scope of the claims of this application and its equivalents.

[0020] These or other aspects of this application will become more readily apparent in the following description. Attached Figure Description

[0021] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0022] Figure 1 A flowchart illustrating an intelligent answering method for pipeline design problems provided in an embodiment of the present invention; Figure 2A flowchart illustrating another intelligent answering method for pipeline design problems provided in an embodiment of the present invention; Figure 3 A schematic diagram of the structure of an intelligent answering device for pipeline design problems provided in an embodiment of the present invention; Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0023] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and not intended to limit it. Furthermore, it should be noted that, for ease of description, the accompanying drawings show only the parts relevant to the present invention, and not all of the structures.

[0024] In this article, the term "and / or" is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone.

[0025] The terms “current” and “next” in the specification and drawings of this application are used to distinguish different objects or to distinguish different processing of the same object, rather than to describe a specific order of objects.

[0026] Furthermore, the terms "comprising" and "having," and any variations thereof, used in the description of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the steps or units listed, but may optionally include other steps or units not listed, or may optionally include other steps or units inherent to such process, method, product, or apparatus.

[0027] Before discussing the exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe the operations (or steps) as sequential processes, many of these operations can be performed in parallel, concurrently, or simultaneously. Furthermore, the order of the operations can be rearranged. The process can be terminated when its operation is completed, but may also have additional steps not included in the figures. The process can correspond to a method, function, procedure, subroutine, subroutine, etc. Moreover, embodiments and features in the embodiments of the present invention can be combined with each other without conflict.

[0028] It should be noted that in the embodiments of this application, the words "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of the words "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0029] In the description of this application, unless otherwise stated, "a plurality of" means two or more.

[0030] Figure 1 This is a flowchart illustrating an intelligent answering method for pipeline design questions provided by an embodiment of the present invention. This embodiment is applicable to situations where users can intelligently answer pipeline design questions through a question-and-answer format. This method can be executed by an intelligent answering device for pipeline design questions, which can be implemented in hardware and / or software and can be configured in an electronic device. In this embodiment, the electronic device can be a computer device or a server. (Continue to refer to...) Figure 1 This embodiment specifically includes: S101. Receive the target user's current question and answer instruction regarding the current pipeline design problem, and determine the indicator parameter group based on the current question and answer instruction.

[0031] The target user refers to the user who is using the intelligent answering device for pipeline design questions to inquire about pipeline design issues. The current pipeline design question is the pipeline design question that the target user is currently asking. The current question-and-answer instruction is used to characterize the question and instruction requirements raised by the target user regarding the current pipeline design question. The indicator parameter group is obtained by integrating the indicator parameters involved by the target user in the current pipeline design question.

[0032] Specifically, after a target user asks a question or provides design requirements using the intelligent answering device for pipeline design questions, the device can perform semantic parsing on the current pipeline design question to obtain the current question-and-answer instruction. Then, semantic extraction can be performed on the current question-and-answer instruction, such as extracting the target user's design purpose and design requirements from the current pipeline design question, or extracting the indicator parameter data related to pipeline design indicators mentioned by the target user. Then, the indicator parameter group can be determined based on the current question-and-answer instruction obtained after semantic extraction.

[0033] Optionally, in this embodiment, there are two possibilities. In one possibility, the target user's current pipeline design question is merely a general knowledge inquiry, such as "What indicators and parameters are related to pipeline design?" In this case, the current question-and-answer instruction can be "The correlation between pipeline design and indicator parameters," and the indicator parameter group can be empty. In another possibility, the target user's current pipeline design question is an engineering question, such as "Given that the value of indicator parameter A is a, the value of indicator parameter B is b, ..., and the design requirements are ..., please help generate the designed pipeline." In this case, the current question-and-answer instruction can be "Indicator parameter value A - a, indicator parameter value B - b, ..., design requirements..." In this case, it can be determined that the indicator parameter group includes indicator parameter value A a, indicator parameter value B b, ...

[0034] In this embodiment, the current question and answer instruction is obtained by directly performing semantic parsing on the current pipeline design problem, and the indicator parameter group is determined based on the current question and answer instruction. On the one hand, it can quickly identify whether the target user's current inquiry is more inclined towards engineering practicality or knowledge popularization. On the other hand, the indicator parameters in the current question and answer instruction are extracted to form an indicator parameter group, which can provide a basis for quickly substituting the indicator parameters given by the target user into the relevant pipeline design formulas for pipeline design calculations.

[0035] S102. Input the index parameter group into the dredging pipeline calculation question and answer model so that the dredging pipeline calculation question and answer model can determine the target calling method according to the parameter type of each index parameter in the index parameter group.

[0036] The dredging pipeline computational question-answering model is a pre-trained question-answering model, such as a large-scale AI model including a code expert model, a general scientific reasoning model, and a multimodal model. Optionally, the dredging pipeline computational question-answering model in this embodiment can be constructed by fine-tuning a digital engineering knowledge system comprised of professional design specifications, engineering drawings, hydraulic calculation formulas, actual pipeline design cases, and expert experience as the knowledge base of the large-scale model. The index parameters are relevant parameters used for pipeline design. The parameter type characterizes the degree of correlation between the index parameters and the pipeline design scenario. The target invocation method is the method required for the dredging pipeline computational question-answering model to output the question-answering results.

[0037] Specifically, the indicator parameter set is used as input to the dredging pipeline calculation question-and-answer model. This allows the model to first determine the category of each indicator parameter based on its parameter type, and then determine the target invocation method according to the different types of indicator parameters. Simultaneously, to ensure the accuracy of the subsequent question-and-answer results generated by the dredging pipeline calculation question-and-answer model, the current question-and-answer command can also be input into the model.

[0038] S103. Obtain the question and answer results output by the dredging pipeline calculation question and answer model after calculating each indicator parameter using the target invocation method.

[0039] Specifically, after the target invocation method is determined in the dredging pipeline calculation question and answer model, the dredging pipeline calculation question and answer model can use the target invocation method to substitute the parameters in the index parameter group into their corresponding pipeline design calculation formula, and then output the calculated question and answer results.

[0040] For example, in one implementation, if the indicator parameter group is empty, the dredging pipeline calculation question-and-answer model directly uses the current question-and-answer instruction as a guide to first determine the target user's final intent. Then, using a target invocation method, it filters a set of pipeline design knowledge related to the final intent from the pipeline design knowledge involved in the final intent, ensuring that the relevance to the final intent exceeds a first relevance threshold. Next, it sorts and integrates the pipeline design knowledge in the set to obtain at least one question-and-answer approach with the final intent as the final result. Finally, it outputs at least one question-and-answer approach as the question-and-answer result. In another implementation, if the indicator parameter group is not empty, and the current question-and-answer instruction indicates that the target user has given the final objective to be calculated (e.g., designing a pipeline with optimal cost), the target invocation method is used to determine the calculation formula required for this calculation. The indicator parameters in the indicator parameter group and the alternative indicator parameters determined based on the target invocation method (indicator parameters that are empty in the indicator parameter group, i.e., indicator parameters not given by the target user) are substituted into the calculation formula for calculation, and the question-and-answer result is finally obtained and output.

[0041] In this embodiment, the target invocation method is determined by using the dredging pipeline calculation question-and-answer model and the indicator parameter group, and the target invocation method is used to calculate each indicator parameter to obtain the question-and-answer result. This solves the problem that the calculation results of the current manual calculation or simulation method are greatly deviated when the number of indicator parameters given by the user is small. It ensures that even when the number of indicator parameters given by the user is small, a more accurate question-and-answer result can be obtained by selecting an appropriate target invocation method based on the indicator parameter group.

[0042] S104. Receive the next question-and-answer instruction from the target user based on the question-and-answer results, and use the next question-and-answer instruction as the current question-and-answer instruction. Return to execute the step of determining the indicator parameter group based on the current question-and-answer instruction until it is determined that the target user has stopped asking questions about the current pipeline design problem, and the questioning of the current pipeline design problem has ended.

[0043] Specifically, after obtaining the question-and-answer results output by the dredging pipeline calculation question-and-answer model, the results can be displayed to the target user. Then, it is determined whether the target user has further questions regarding the current pipeline design issue. For example, semantic analysis is performed on the target user's next question to determine its relevance to the current question-and-answer instruction. If the relevance exceeds a preset relevance threshold, it indicates that the target user's questioning regarding the current pipeline design issue has not ended. In this case, it is necessary to receive the target user's next question-and-answer instruction based on the question-and-answer results, i.e., to receive the target user's further question regarding the current pipeline design issue, and to convert the further question into a next question-and-answer instruction using the same method. The next question-and-answer instruction is then used as the current question-and-answer instruction, and the process returns to the step of determining the indicator parameter group based on the current question-and-answer instruction. If the relevance does not exceed the preset relevance threshold, it indicates that the target user has finished addressing the current pipeline design issue, but there may be a next pipeline design issue. In this case, it can be determined that the questioning regarding the current pipeline design issue has ended. Furthermore, the intelligent answer to the pipeline design question can automatically clear the aforementioned calculation process to ensure that the next round of answers to the target user is not affected by the previous process. At the same time, it is necessary to clear the calculation process of the dredging pipeline calculation question and answer model to ensure that the target calling method called by the dredging pipeline calculation question and answer model is not affected by the index parameters given in the aforementioned question.

[0044] In this embodiment, the determination of whether the target user has stopped asking questions about the current pipeline design problem is made by checking whether the target user has stopped asking questions about the current pipeline design problem (or the target user has started asking questions about the next pipeline design problem). In this way, the aforementioned calculation process can be cleared when it is determined that the current pipeline design problem has ended. This ensures that when the target user asks questions about other pipeline design problems again, the question and answer results of the new round of pipeline design problems will not be affected by the aforementioned calculation process with low relevance. This ensures the accuracy and timeliness of the final question and answer results of each round of pipeline design problems.

[0045] The intelligent answering method for pipeline design questions provided in this invention obtains the current question-and-answer instruction by directly performing semantic parsing on the current pipeline design question, and determines the indicator parameter set based on the current question-and-answer instruction. This allows for rapid identification of whether the target user's intent in this inquiry leans more towards practical engineering or general knowledge. By utilizing a dredging pipeline calculation question-and-answer model and the indicator parameter set to determine the target calling method, and then using the target calling method to calculate each indicator parameter, the question-and-answer result is obtained. This solves the problem that current manual calculation or simulation methods result in significant deviations when the user-provided indicator parameters are limited. It ensures that even with a limited number of user-provided indicator parameters, a more accurate question-and-answer result can be obtained by selecting an appropriate target calling method based on the indicator parameter set. By determining whether the target user has stopped asking questions about the current pipeline design problem, we can determine whether the target user's questioning of the current pipeline design problem has ended (or the target user has started asking questions about the next pipeline design problem). In this way, when it is determined that the questioning of the current pipeline design problem has ended, the aforementioned calculation process can be cleared. This ensures that when the target user asks questions about other pipeline design problems again, the question and answer results of the new round of pipeline design problems will not be affected by the aforementioned calculation process with low relevance. This ensures the accuracy and timeliness of the final question and answer results of each round of pipeline design problems.

[0046] Figure 2 This is a flowchart illustrating another intelligent answering method for pipeline design problems provided by an embodiment of the present invention. This embodiment elaborates on the steps of determining the indicator parameter set, inputting the indicator parameter set into the dredging pipeline calculation question-answering model, and determining the target invocation method by the dredging pipeline calculation question-answering model, based on the above embodiments. In this embodiment, the method mainly includes: S201. Determine the indicator parameters from the current question and answer instruction, and classify the indicator parameters into main indicator parameters, non-main indicator parameters, and scenario indicator parameters according to the parameter type.

[0047] In this embodiment, the indicator parameters refer to those specifically related to the calculation formulas for pipeline design. Parameter types are used to distinguish the classification of different indicator parameters. Primary indicator parameters are used to characterize that the parameter belongs to a specialized category within the indicator parameters; optionally, primary indicator parameters are core indicators that directly affect the calculation results. Non-primary indicator parameters are used to characterize that the parameter belongs to a general category within the indicator parameters; alternatively, non-primary indicator parameters can be parameters that affect the calculation results but do not affect pressure loss along the pipeline, and whose default values ​​can be matched from user manuals, experience values, knowledge bases, etc. Scenario indicator parameters are used to characterize that the parameter can only represent the application scenarios required by the target user within the indicator parameters.

[0048] Specifically, after receiving the current question and answer instruction from the target user regarding the current pipeline design problem, the indicator parameters can be extracted from the current question and answer instruction, and the indicator parameters can be classified according to the parameter type. In this embodiment, the indicator parameters can be divided into main indicator parameters, non-main indicator parameters, and scenario indicator parameters.

[0049] For example, in this embodiment, the main index parameters can also be specialized parameters, which may include: medium parameters - density - undisturbed soil density, medium parameters - concentration - undisturbed soil density, resistance parameters - unit friction loss - friction loss per unit length of pipe, resistance parameters - local resistance - local resistance loss of pipe, pump parameters - design flow rate - flow rate at maximum pump efficiency, pump parameters - design head - pump design lift pressure for clean water, and pump parameters - design power - pump design maximum flow rate. Non-main index parameters can also be general parameters, which may include: geometric parameters - pipe length - physical length of a single section of dredged pipe, geometric parameters - pipe diameter - nominal pipe diameter, motion parameters - flow velocity - velocity of the medium flowing within the pipe, position parameters - elevation - elevation difference between the two ends of the pipe, pressure parameters - initial pressure - pressure value at the beginning of the pipe / pump section, and pressure parameters - final pressure - pressure value at the end of the pipe / pump section. Scene indicator parameters include: Geographic scene parameters - offshore scene density - original soil density in offshore scenes; Geographic scene parameters - port scene density - original soil density in port scenes (also including river scene density and lake scene density, etc.); Pipeline layout scene parameters - buried layout scene local resistance - local resistance loss of pipelines when buried pipelines are required; and Pipeline layout scene parameters - overhead layout scene local resistance - local resistance loss of pipelines when overhead pipelines are required (also including horizontal bending layout scenes and branching layout scenes, etc.).

[0050] Optionally, in practical use, if the target user provides specific values ​​for the scenario indicator parameters, these parameters can be used as the primary indicator parameters. If the target user only mentions the scenario in words but does not provide specific parameter values, then it will only be considered as a scenario.

[0051] It is worth noting that all the indicators and parameters shown above are presented in the form of parameter category - parameter name - parameter definition.

[0052] S202. Fill the main indicator parameters into the pre-set main parameter matrix to obtain the main indicator parameter group. Fill the non-main indicator parameters into the pre-set non-main parameter matrix to obtain the non-main indicator parameter group. Then, associate the scenario indicator parameters, the current pipeline design problem, and the historical pipeline design problem to obtain the scenario indicator parameter group.

[0053] In this embodiment, all indicator parameters are presented in matrix form. Therefore, to distinguish different indicator parameters, parameter matrices corresponding to different indicator parameters can be pre-set, such as the primary parameter matrix and non-primary parameter matrix in this embodiment. Optionally, in this embodiment, the primary parameter matrix and non-primary parameter matrix can be merged into a single matrix. Historical pipeline design problems are pipeline design problems proposed by target users prior to the current pipeline design problem.

[0054] Specifically, an indicator parameter matrix is ​​pre-set. This matrix can be divided into a primary parameter matrix corresponding to the primary indicator parameters and a secondary parameter matrix corresponding to the secondary indicator parameters, or it can be a total parameter matrix containing all indicator parameters. Therefore, after obtaining the primary and secondary indicator parameters, the corresponding indicator parameters can be filled into their respective matrix positions within the parameter matrix. The resulting indicator parameter matrix is ​​then used as an indicator parameter group. Furthermore, since scenario indicator parameters may exist in a form that only includes the scenario but not the data, the scenario indicator parameter group in this embodiment can be based on the scenario indicator parameters mentioned in the current pipeline design problem, as well as historical scenario indicator parameters (containing historically used values ​​or default values) mentioned in historical pipeline design problems whose correlation with the scenario indicator parameters mentioned in the current pipeline design problem exceeds a threshold. These historical scenario indicator parameters are used as the scenario indicator parameters with numerical values ​​in the current pipeline design problem, ultimately generating the scenario indicator parameter group.

[0055] For example, in this embodiment, both the main indicator parameter group and the non-main indicator parameter group can be obtained in the following way. Here, we take obtaining the main indicator parameter group as an example: Fill the key indicator parameters into the pre-set key parameter matrix to obtain the key indicator parameter group, including: (i) Extract the parameter values ​​corresponding to the main indicator parameters in the current question and answer instruction, and determine the dimension definition and axis mapping corresponding to the main indicator parameters in the main parameter matrix.

[0056] Among them, dimension definition and axis mapping are used to reflect the position or structure of a parameter in a matrix.

[0057] Specifically, if the target user's question contains a definition of the parameter value for a key indicator, such as mentioning "undisturbed soil density is 'a'" in the question, then the key indicator parameter can be determined from the current question-and-answer instruction to be the undisturbed soil density, with the corresponding parameter value being 'a'. Furthermore, the dimension definition and axis mapping of the undisturbed soil density in the key parameter matrix can be determined. For example, in the matrix, the undisturbed soil density should be defined in the a1 row and b2 column of the key parameter matrix dimension.

[0058] (ii) Based on the dimension definition and axis mapping, fill the parameter values ​​corresponding to the main indicator parameters into the target positions in the main parameter matrix, and after filling all the main indicator parameters, obtain the main indicator parameter group.

[0059] In this embodiment, the target position refers to the position indicated by the dimension definition and axis mapping.

[0060] Specifically, after obtaining the dimension definitions and axis mappings, the parameter values ​​corresponding to the main indicator parameters can be filled into the target positions in the main parameter matrix according to the dimension definitions and axis mappings. Furthermore, after all the main indicator parameters with values ​​have been filled, the resulting matrix can be used as the main indicator parameter group.

[0061] Optionally, in one embodiment, if the index parameter group is in the form of a multi-dimensional matrix, that is, including a main index parameter matrix, a non-main index parameter matrix, etc., by constructing all the parameters calculated for the dredged pipeline, the following pre-set matrix can be obtained: ; Where M is the initial set of index parameters (e.g., representing a pipeline segment matrix), with a matrix dimension of N×K (N is the number of pipelines, K is the number of index parameters); len indicates which pipeline segment, such as len1 for the first pipeline segment, len2 for the second pipeline segment, etc.; d indicates the inner diameter of the pipeline segment corresponding to which segment, such as d2 for the inner diameter of the second pipeline segment; v indicates the average flow velocity of the medium in the pipeline, with the subscript meaning as above; pressStart indicates the starting pressure of the pipeline segment, with the subscript meaning as above; pressEnd indicates the ending pressure of the pipeline segment, with the subscript meaning as above; the "..." after each line indicates that the line includes multiple index parameters, with a total of K per line.

[0062] Optionally, in this embodiment, another two-dimensional matrix P can be constructed separately for the pump parameters and associated with the above-mentioned pipeline segment matrix index.

[0063] Alternatively, to simplify the computation, the matrix can be reduced in dimension, transforming the two-dimensional matrix into a one-dimensional array M', arranged in "segment number priority" order. The dimension reduction formula is as follows: ; Where i = 0, 1, ..., N-1; j = 0, 1, ..., K-1.

[0064] Next, the one-dimensional array M' is sequenced, and the reduced-dimensional array is converted into a JSON string using a JSON writing method. Finally, index reading is performed: the one-dimensional array index is calculated using the segment number i and the parameter index j to quickly read the target parameter, such as index = i × K + j.

[0065] Optionally, after presetting the parameter matrix according to the above method, upon receiving the current response instruction, the parameter values ​​in the current response instruction can be mapped to parameter indices and values, and then JSON deserialization is performed to convert the text instruction into a JSON array. Finally, matrix reconstruction is performed to reconstruct the parsed array into an N×K two-dimensional matrix, i.e., the parameter matrix in the above embodiment, to obtain the indicator parameter group.

[0066] In this embodiment, a parameter matrix is ​​pre-established, and after receiving the current question-and-answer instruction, the values ​​of the parameter indicators in the current question-and-answer instruction, as well as the dimension definitions and axis mappings corresponding to the indicator parameters, are extracted and filled into the target positions in the indicator parameter matrix. This not only enables the rapid filling of the parameters involved in the current question-and-answer instruction into the parameter matrix for convenient subsequent calculations, but also enables the reasonable determination of the corresponding position of each indicator parameter. This provides a basis for determining whether the default values ​​of indicator parameters that the target user has not given but must use should be used as the parameter values ​​required for this calculation.

[0067] S203. Input the index parameter group into the dredging pipeline calculation question and answer model so that the dredging pipeline calculation question and answer model can determine the number of corresponding index parameters under the same parameter type according to the parameter type of each index parameter, and determine the target calling method according to the number of parameters.

[0068] In this embodiment, the target invocation method is divided into a full-parameter hydraulic calculation method, a parameter correction method, and a scenario adaptation method. The full-parameter hydraulic calculation method is suitable for use when performing initial calculations or recalculating core steps in pipeline design. The parameter correction method is suitable for use when the target user continuously modifies their needs for the current pipeline design problem. The scenario adaptation method is suitable for use when the target user describes only a pipeline design scenario for the current pipeline design problem but does not provide specific parameter values.

[0069] Specifically, after determining the set of indicator parameters, they can be input into the dredging pipeline calculation question-and-answer model. In this way, the dredging pipeline calculation question-and-answer model can determine the number of corresponding indicator parameters under the same parameter type based on the parameter type of each indicator parameter (primary indicator parameters, non-primary indicator parameters, and scenario indicator parameters), and then determine the target calling method that can be called this time.

[0070] For example, after inputting the indicator parameter set into the dredging pipeline computational question-answering model, the model first converts the matrix into a structured sequence. Then, the model extracts the number of primary indicator parameters, the number of non-primary indicator parameters, and the number of scenario indicator parameters, and determines the target invocation method based on the pre-learned parsing requirements.

[0071] For example, the indicator parameter group is input into the dredging pipeline calculation question-answering model, so that the dredging pipeline calculation question-answering model determines the number of parameters corresponding to the same parameter type according to the parameter type of each indicator parameter, and determines the target invocation method according to the number of parameters, including: (i) Input the main indicator parameters into the dredging pipeline calculation question-and-answer model so that when the number of parameters corresponding to the main indicator parameters exceeds the limit of the main indicator parameters, the dredging pipeline calculation question-and-answer model determines the target calling method as the full-parameter hydraulic calculation method. Alternatively, (ii) Input the main indicator parameters and non-main indicator parameters into the dredging pipeline calculation question-and-answer model so that when the number of parameters corresponding to the main indicator parameters does not exceed the limit of the main indicator parameters and the number of parameters of the non-main indicator parameters is not zero, the dredging pipeline calculation question-and-answer model determines the target calling method as the parameter correction method. Alternatively, (iii) Input the main indicator parameters, non-main indicator parameters, and scenario indicator parameters into the dredging pipeline calculation question-and-answer model so that when the number of parameters corresponding to the main indicator parameters does not exceed the limit of the main indicator parameters, the number of parameters of the non-main indicator parameters is zero, and the number of parameters of the scenario indicator parameters is not zero, the dredging pipeline calculation question-and-answer model determines the target calling method as the scenario adaptation method.

[0072] That is, the above steps can be simply determined as follows: (i) If the number of main indicator parameters (including scenario indicator parameters) is ≥2, the full-parameter hydraulic calculation method is invoked. This means that the core pressure of the pump and pipe, pipeline geometric parameters, pump-pipe operating point, etc., need to be recalculated. (ii) If the number of main indicator parameters (including scenario indicator parameters) is <2 or only non-main indicator parameters are included, the parameter correction method is invoked. The parameters can be iteratively corrected based on the existing calculation results without recalculating important design values. (iii) If there are no main or non-main indicator parameters in this case, and the current question and answer instruction only contains a scenario description, the scenario adaptation method is invoked.

[0073] S204. If the target calling method is determined to be the full-parameter hydraulic calculation method, then obtain the first question and answer result output by the dredging pipeline calculation question and answer model after calculating with the pipeline calculation formula that has a strong correlation with the main index parameters and the main index parameters.

[0074] Specifically, if the target method is determined to be a full-parameter hydraulic calculation method, the dredging pipeline calculation question-answering model can, after converting the matrix into a structured sequence, perform cross-dimensional semantic interaction and weight fusion on the extracted sequence features through a multi-head attention mechanism. It then combines this with a feedforward neural network to perform nonlinear mapping and physical constraint encoding on each indicator parameter (determining which parameter in which formula each key indicator parameter has a mapping relationship, i.e., identifying the pipeline calculation formula strongly correlated with the key indicator parameters). Based on each hydraulic calculation formula in the knowledge base and each actual pipeline design case, it constructs an interpretable reasoning path. Finally, through autoregressive decoding, it generates a first question-answering result that combines numerical accuracy and engineering operability. In this way, the intelligent answering device for pipeline design questions can obtain the first question-answering result output by the dredging pipeline calculation question-answering model after calculating using the pipeline calculation formula strongly correlated with the key indicator parameters.

[0075] For example, the pipeline calculation formula input to the dredging pipeline calculation question-and-answer model in this embodiment may include: (1) Formulas for calculating basic hydraulic parameters: ; Where, ρ m The density of the mixture (the mixture being the dredging medium), ρ w For water density, ρ s c represents the density of dredged solid particles (which can be adapted to the scenario) and the volume concentration of the medium.

[0076] (2) Formula for calculating friction loss per unit length of pipeline: ; Where, d less Here, denoted as f, is the friction loss per unit length of pipe; f is the friction coefficient (obtained from the Moody diagram and related to pipe roughness and Reynolds number); v is the average velocity of the medium inside the pipe; d is the pipe inner diameter; k is the sediment resistance correction factor (1.2~1.5 for marine dredging, 1.0~1.2 for river dredging, adapted according to the specific scenario); and d is the average velocity of the medium inside the pipe. m The median particle size is denoted as .

[0077] Furthermore, for the friction coefficient f, the Reynolds number Re needs to be calculated: ; Where nu is the kinematic viscosity of the fluid (1.004 × 10⁻⁶ for pure water at 20℃). -6 (Square meters per second, subject to adjustment based on water temperature and water purity).

[0078] (3) Formula for calculating pipeline pressure loss: Based on the initial pressure of the pipeline, it can be divided into the first section of the pipeline and the subsequent sections: When it is the first section of pipeline (the beginning of the system, without any preceding pipeline section), the initial pipeline pressure is calculated using the following formula: ; Among them, pressStart1 pipe The initial pressure of the first section of the pipe is represented by mv, which is the kinetic energy pressure term per unit volume of fluid (which can be calculated based on the density of the mixture and the average internal velocity, such as mv = 1 / 2 × mixture density × average internal velocity). 2 ), frictionStart pipe The local resistance coefficient at the pipe inlet (determined based on the specific inlet type, such as bell-shaped or right-angled inlet), friction In "1" represents the local resistance coefficient at the suction port, and "1" represents the basic coefficient of the kinetic energy term, corresponding to the pure kinetic energy loss.

[0079] When it is not the first segment of the pipeline (inheriting the pressure at the end of the preceding segment), the pipeline starting pressure is: ; Among them, pressStart2 pipe Indicates the initial pressure of the non-first segment of the pipeline, pressEnd. pipe(n-1) This represents the ending pressure of the (n-1)th segment of the pipeline.

[0080] Pipeline end pressure: ; Among them, f pipe Let l be the local resistance coefficient along the pipeline, l be the length of a single pipeline segment, and D be the local resistance coefficient along the pipeline. h The elevation difference between the two ends of the pipe (positive if the end is higher than the beginning, negative if lower), g is the acceleration due to gravity, and f is the acceleration due to gravity. Endpipe This represents the local resistance coefficient at the pipeline outlet.

[0081] (4) Pump pressure compensation calculation: Pump starting pressure can be divided into starting pressure of the initial pump and starting pressure of the non-initial pump. The specific calculation formula is as follows: Starting pump initial pressure, i.e., system initial pressure: ; Among them, pressStart1 pump This is the starting pressure of the initial pump.

[0082] The starting pressure of the non-starting pump is inherited from the end pressure of the preceding pump / pipeline section: ; Among them, pressStart2 pumpFor non-starting pump starting pressure, pressEnd pipe(last) This refers to the pressure at the end of the pipe section.

[0083] The pump terminal pressure is: ; Among them, P pump The pump's rated boost pressure (determined by the pump model), fStart pump For the pump inlet local resistance coefficient, fEnd pump This is the local resistance coefficient at the pump outlet.

[0084] Alternatively, considering the actual efficiency of the pump, the effective head of the pump can be corrected during the calculation. ; Where, η pump For pump efficiency, H pump The effective head of the pump is used for intuitive engineering representation.

[0085] (5) Calculation of pipe segment geometric parameters: For the length of spatial pipe segments, it can be calculated by converting geographic coordinates to physical length, such as by using the spatial rectangular coordinate transformation and joint distance formula based on the 1984 World Geodetic System (WGS84) ellipsoid.

[0086] Regarding the calculation of the number of pipe segments, the core calculation logic is to automatically segment the pipe when the total length of the pipe segment exceeds the maximum length of a single segment. ; Among them, l total Total geographical path length (spatial segment length), l max This represents the maximum length of a single pipe section. The symbols in the formula... The representation is rounded up.

[0087] (6) Optimization calculation of pump quantity and location: Pump quantity calculation: ; Among them, pressEnd total The total pressure loss at the end of the entire pipeline, P pump,goal The target compensation pressure for a single pump.

[0088] Pressure decay slope, used to determine pump insertion position: ; Optionally, to ensure safety in pipeline design, it is necessary to determine the pump insertion threshold: When the pressure at a certain location in the pipeline is lower than the preset allowable pressure, a safety redundancy factor is set, and the pump is inserted. ; Among them, press current The pressure at the current location of the pipe section is given by `minPressure`, which is the minimum allowable operating pressure (generally taken as 5 × 10⁻⁶ for dredging projects). 4 The values ​​are: Pa and minPressure×1.01, which represent the preset allowable pressure, and 1.01, which represents the set safety redundancy factor.

[0089] Then, after the pump is inserted, the pressure is updated to determine the updated pressure at a certain location in the pipe section. new : .

[0090] (7) Iterative calculation of pressure balance between pipe and pump: A method for searching the operating point of pump-pipe pressure balance based on the bisection method is established. The method includes: The flow rate Q is set as the iterative variable, and the goal is to find the optimal flow rate Q' that matches the pump outlet pressure and the pipeline inlet pressure. The corresponding flow velocity v can be calculated from the flow rate. When searching for the pump-pipe pressure balance operating point, a flow rate search interval needs to be set first. If the pump outlet pressure is greater than the pipeline inlet pressure, it indicates that the flow rate is too high (excessive flow velocity leads to increased pipeline inlet pressure demand), and the search interval is narrowed to [Q']. min Q mid If the pump outlet pressure is less than the pipeline inlet pressure, it indicates that the flow rate is too low (the low flow velocity causes pump pressure redundancy), so the search range should be narrowed to [Q]. mid Q max The specific iteration process updates the search range and the flow rate for the next iteration according to the following rules.

[0091] ; Among them, Q n+1 Let Q be the target flow rate for the (n+1)th iteration. mid The flow rate at the midpoint of the interval in the nth iteration can be expressed by Q. min With Q max Calculated; Q min Q is the minimum flow interval limit planned in the nth iteration. max This is the maximum flow range limit planned for the nth iteration.

[0092] The goal of the iteration is to match the pump outlet pressure with the pipeline inlet pressure. The termination condition for the above loop is: ; Among them, pressEnd pump (Q mid) and pressStart pipe (Q mid ) represent the flow rate Q at the midpoint of the nth iteration. mid Pump outlet pressure and pipeline inlet pressure.

[0093] When the termination condition is met, the iterative calculation of the pump-pipe pressure balance is completed.

[0094] (8) Based on the above calculations, with the goal of cost optimization, multi-factor optimization can be performed to obtain the objective optimization function: ; Among them, C pipe Cost per unit diameter and unit length of pipe, C pump Cost of purchasing and installing a single pump.

[0095] Furthermore, constraints such as pipeline pressure, flow velocity, medium concentration, and pipe diameter are set to ensure engineering suitability. First, regarding pipeline pressure compensation constraints, the absolute value of the total pressure loss at the end of the entire pipeline segment must not exceed the total compensation pressure of all pumps. This constraint ensures that the total lifting capacity of the pumps can cover the pressure loss throughout the pipeline, preventing the dredging medium from being interrupted due to insufficient pressure. ; Secondly, regarding flow velocity constraints, the flow velocity of the dredging medium inside the pipeline must be controlled between the "non-silting flow velocity" and "non-flushing flow velocity" specified in the dredging engineering specifications. Flow velocities below the lower limit will lead to sediment deposition and blockage of the pipeline; flow velocities above the upper limit will exacerbate wear on the inner wall of the pipeline and significantly increase pump energy consumption.

[0096] Furthermore, to reasonably constrain the concentration of the medium, the volume concentration of solid particles in the dredging slurry needs to be controlled between 10% and 30%. Too low a concentration will lead to low dredging efficiency; too high a concentration will significantly increase the density of the mixture, resulting in a sharp increase in pipeline pressure loss and pump energy consumption.

[0097] Furthermore, in response to the constraints of pipe diameter engineering adaptation, the inner diameter of the dredging pipeline should be selected from commonly used engineering specifications. This range covers the mainstream pipe diameters from small river dredging to large sea area dredging, avoiding the use of non-standard pipe diameters that would lead to a surge in procurement and construction costs.

[0098] The above aims at cost optimization and uses various constraints as optimization conditions to find the optimal pipeline design parameters at the optimal cost. For example, in the dredging pipeline calculation question-and-answer model, a full-parameter hydraulic calculation method is needed to obtain the first question-and-answer result. This can be achieved using a combination of gridded enumeration, constraint filtering, and bisection iterative convergence. This combination can be specifically divided into a basic layer, a filtering layer, an optimization layer, and a fine-tuning layer. ① At the basic layer, the core parameters involved in cost optimization (such as pipe diameter, medium concentration, flow rate, and number of pumps) are discretized into "grid parameter combinations" according to the reasonable range of the project to ensure coverage of all feasible parameter combinations and prepare for subsequent screening. If the target user's current question and answer instruction provides a specific parameter value, the parameter value given by the target user shall be selected first. For parameter values ​​not given in the target user's current question and answer instruction, the default parameter value or the parameter value of the core parameter in a historical pipeline design problem with a similarity exceeding the preset similarity to the current pipeline design problem may be selected.

[0099] ② Filtering layer: For each "grid parameter combination", the above constraints are checked in turn; if any constraint is not satisfied, invalid combinations are eliminated by condition judgment, and only feasible solutions that meet all constraints are retained.

[0100] ③ Optimization layer: For all feasible solutions, substitute them into the objective optimization function to calculate the cost value, and select the parameter combination with the minimum cost as the optimal solution interval.

[0101] ④ Fine-tuning layer: For the optimal parameter combination selected by gridding, after locking the optimal pipe diameter and concentration combination, the bisection method is used to further refine the parameter accuracy for the core variable (flow rate Q) to ensure that the cost function converges to the global minimum value.

[0102] Finally, after ensuring that the cost function converges to the global minimum, the dredging pipeline calculation question-and-answer model can use the corresponding optimal index parameters such as the optimal pipe diameter and concentration combination as the first question-and-answer result, and display it to the target user through the intelligent answer device for pipeline design questions.

[0103] S205. If the target calling method is determined to be the parameter correction method, then obtain the second question and answer result output by the dredging pipeline calculation question and answer model after correcting the calculation based on the historical calculation formula determined by the main index parameters and non-main index parameters.

[0104] Among them, the historical calculation formula is the calculation formula in the historical process that has a strong correlation with the main and non-main indicator parameters with numerical values ​​given by the target user; the "historical" here can refer to the formula used in the historical question-and-answer rounds for the current pipeline design problem, or it can refer to the formula used in historical pipeline design problems that have a similarity to the current pipeline design problem that exceeds a threshold.

[0105] Specifically, if the target call method is determined to be a parameter correction method, in one possibility, the target user's current question-and-answer instruction is not the first round of inquiry for the current pipeline design problem, but may be a subsequent follow-up round. Therefore, the dredging pipeline calculation question-and-answer model can call the parameter correction method, substituting the values ​​of the main and non-main indicator parameters in the current question-and-answer instruction back into the historical calculation formulas related to these indicator parameters used in previous rounds for the current pipeline design problem, to update the results calculated by the formula, thereby obtaining the corrected second question-and-answer result. In another possibility, the target user's current question-and-answer instruction is the first round of inquiry for the current pipeline design problem. In this case, the historical calculation formula for the current pipeline design problem is empty. Therefore, the historical calculation formulas related to the main and non-main indicator parameters in the current question-and-answer instruction from historical pipeline design problems with a similarity exceeding a threshold to the current pipeline design problem can be used as the historical calculation formulas to be used in this round. The values ​​of the main and non-main indicator parameters in the current question-and-answer round are substituted into the historical calculation formulas, and the missing indicator parameter values ​​are filled with default values ​​or historical values ​​to calculate the second question-and-answer result.

[0106] S206. If the target calling method is determined to be a scenario adaptation method, then obtain the target scenario determined by the dredging pipeline calculation question and answer model based on the scenario index parameters, the scenario mode determined from the knowledge base based on the target scenario, and the third question and answer result output after calculation using the default parameters corresponding to the scenario mode and the pipeline calculation formula corresponding to the scenario mode.

[0107] The knowledge base consists of relevant knowledge about dredged pipeline design entered during the training of the computational question-and-answer model for dredged pipelines. The scenario modes represent pipeline design patterns corresponding to different scenarios. Specifically, if the target call method is determined to be a scenario-adaptive method, one possibility is that the target user only provides a scenario and wants to generate a simple scenario example. In this case, the dredging pipeline calculation question-answering model can read the default parameter type modification matrix of the scenario from the knowledge base. For example, if the user proposes the target scenario of "deep-water dredging pipeline calculation," then there must be a scenario mode of "underwater vertical transportation + waterborne relay transportation." The large model can call the default parameters of the scenario to calculate, and the calculation result is the third question-answering result. Another possibility is that the target user's current question-answering instruction contains scenario indicator parameters. In this case, the dredging pipeline calculation question-answering model can extract the target scenario from the indicator parameters in the scenario indicator parameter group, determine the scenario mode according to the target scenario, and then directly call the calculation formula corresponding to the scenario mode. The scenario indicator parameters are substituted into the calculation formula corresponding to the scenario mode to calculate and obtain the third question-answering result.

[0108] In this embodiment, by determining the types of numerical index parameters and the number of different types of index parameters in the current question-and-answer instruction, the dredging pipeline calculation question-and-answer model can accurately select the most suitable target invocation method to process the current question-and-answer instruction based on the target user's question-and-answer intent, thereby obtaining the question-and-answer result. This not only achieves the selection of the most suitable target invocation method based on the target user's question-and-answer intent, making the final question-and-answer result more suitable for the target user's intent, but also accurately provides the question-and-answer result to the target user. Furthermore, when the target user only selects to correct some index parameters, it is not necessary to recalculate all of them; only the values ​​of the index parameters that need to be corrected and their corresponding calculation formulas need to be recalculated. This can greatly reduce the model's calculation time and achieve rapid correction of calculation results.

[0109] It is worth noting that in this embodiment, S204, S205 and S206 are parallel steps, and in a specific implementation scenario, only one of them is selected to be executed in each cycle.

[0110] S207. Use the user target value in the current question-and-answer instruction and the design limit value corresponding to the core design parameter as the limiting threshold.

[0111] Here, the user's target value is also the user's demand value, such as the user's pre-set demand value for cost, the minimum number of pipe segments, and other pre-set requirements. The design limits corresponding to the core design parameters are different from the limits in the above examples. In this embodiment, the design limits corresponding to the core design parameters are mainly the design limits for the core design parameters required by the target user, which may be related to the pipeline design scenario.

[0112] Specifically, since in the actual process, the target user may have design requirements for this pipeline design, that is, there are design limits corresponding to the user's target value and the core design parameters in the current question and answer instruction, the user's target value and the design limits corresponding to the core design parameters can both be used as limiting thresholds.

[0113] S208. Determine whether the calculated values ​​of each design parameter in the question and answer results meet the corresponding threshold limits of each design parameter; if they do, proceed to S210; if they do not, proceed to S209.

[0114] In this embodiment, the design parameters refer to the numerical values ​​of each index parameter that have been calculated.

[0115] Specifically, determine whether the calculated values ​​of each design parameter in the question and answer results meet the corresponding threshold. If the calculated values ​​of all design parameters meet their corresponding thresholds, then S210 can be executed; if the calculated value of any design parameter does not meet its corresponding threshold, then S209 needs to be executed.

[0116] S209. Input design parameters that do not meet the limit threshold into the dredging pipeline calculation question and answer model, so that the dredging pipeline calculation question and answer model calls the knowledge base again to adjust the calculated values ​​of the design parameters that do not meet the limit threshold; update the calculated values ​​of the adjusted design parameters in the index parameter group; return to execute S202.

[0117] Specifically, during the calculation process, the dredging pipeline calculation question-and-answer model may use historical or default values ​​for calculations because the current question-and-answer instruction does not provide values ​​for some indicator parameters. Therefore, the final calculation result may show that the calculated values ​​of the design parameters in the question-and-answer result do not meet the corresponding limit thresholds. Thus, when it is determined that the calculated values ​​of the design parameters do not meet the corresponding limit thresholds, the design parameters that do not meet the limit thresholds and the limit thresholds can be re-entered into the dredging pipeline calculation question-and-answer model. The dredging pipeline calculation question-and-answer model will call the knowledge base again to adjust the calculated values ​​of the design parameters that do not meet the limit thresholds, for example, by re-selecting the default value or re-selecting the historical value for calculation, and update the adjusted calculated values ​​of the design parameters in the indicator parameter group, and return to execute S202 to recalculate the question-and-answer result.

[0118] In this embodiment, if the calculated value of a design parameter does not meet the threshold value corresponding to that design parameter, the calculated value of that design parameter can be readjusted through the dredging pipeline calculation question-and-answer model, and used as the basis for recalculation. This is then updated in the index parameter group for recalculation, further achieving the goal of meeting the user's design requirements.

[0119] S210. Receive the next question-and-answer instruction from the target user based on the question-and-answer results, and use the next question-and-answer instruction as the current question-and-answer instruction.

[0120] Specifically, if it is determined that the calculated values ​​of each design parameter meet the corresponding threshold, then the next question-and-answer instruction from the target user based on the question-and-answer results can be received, and the next question-and-answer instruction can be used as the current question-and-answer instruction.

[0121] S211. Determine whether the target user has stopped asking questions about the current pipeline design problem; if yes, continue to S212; if no, return to S201.

[0122] Specifically, the process involves determining whether the target user has stopped asking questions about the current pipeline design issue. One implementation determines this if the target user automatically initiates a "new conversation." Another implementation determines this if the target user closes the question-and-answer interface for the current pipeline design issue. Yet another implementation performs semantic analysis on newly initiated questions and answers from the target user to determine if their intent is strongly related to the current pipeline design issue. If a strong correlation exists, the target user has not stopped asking questions about the current pipeline design issue; otherwise, the target user has stopped asking questions.

[0123] S212. Confirm the end of the questioning of the current pipeline design problem.

[0124] Specifically, if it is determined that the target user stops asking questions about the current pipeline design problem, that is, the target user no longer asks questions or the target user asks questions about the next pipeline design problem (for example, the relevance between the target user's question and the current pipeline design problem is lower than a threshold), then it can be determined that the target user's questioning of the current pipeline design problem has ended.

[0125] Optionally, using the above-described dredging pipeline computational question-and-answer model, the execution phase of the dredging pipeline computational question-and-answer model may include: (1) Data storage and deserialization: The parameters parsed from the user commands are stored in JSON format and then, using the serialization and dimensionality reduction method described earlier, are stored in a local / cloud database. The indexing rule is "Project ID-Segment Number-Parameter Index". During deserialization, the JSON data is parsed into an N×K computational matrix using the method described earlier. The large model, combined with a knowledge base, checks whether the parameter values ​​are within a reasonable range, automatically replacing outliers with the scenario's default values. The pipe segment parameter matrix and the pump parameter array are associated by segment number index, ultimately forming a pipe-pump collaborative computational matrix.

[0126] (2) Function call calculation: Based on the parsing of the current question-and-answer instructions, the required "parameters-scenario-objective" for calculation is obtained. According to the requirements, the calculation formulas mentioned earlier are invoked to complete the corresponding calculations. Specifically, the friction loss per unit length of pipeline is determined by flow velocity, roughness, and soil quality; the pressure loss of each pipe section in the entire conveying system is determined by unit pressure loss and pipeline size; the actual operating pressure required by each pump in the entire conveying system is determined by pipeline pressure loss; the geometric layout of the pipeline in the entire conveying system is determined by geographical coordinates; the optimal pump configuration (number, location, etc.) for the entire conveying system is determined by the parameters of existing pumps and pipeline layout; the operating point of the pumps under the optimal pump configuration is determined by the parameters of existing pumps and pipeline layout; and the conveying process parameters, such as flow velocity, concentration, and pipe diameter, are determined by pipeline and pump costs.

[0127] (3) Update the result matrix: For different needs, operating conditions, and cases, the calculation matrix is ​​dynamically overwritten, and the "Project ID-Segment Number-Parameter Index" is updated.

[0128] Furthermore, after obtaining the question-and-answer results, the step of "using the user's target value in the current question-and-answer instruction and the design limit corresponding to the core design parameter as the limiting threshold; determining whether the calculated values ​​of each design parameter in the question-and-answer results all meet the limiting threshold corresponding to each design parameter" is exemplified as follows: (1) Reasonableness judgment (a) Judgment based on existing knowledge / data: Threshold verification: For core indicators, such as pressure loss, the number of pumps must be sufficient, meaning the pressure loss must be within the pump's compensation capacity. ; Knowledge base comparison: Compare the calculation results with historical engineering data from the same scenario; the deviation rate must meet the following requirements: ; (b) Judgment based on user needs: Extract the target from the user command, such as core parameters like pressure loss, and verify whether the calculation results meet the requirements. ; (2) Feedback logic: If the condition is met, execute S210; if the condition is not met, execute S209.

[0129] Alternatively, in one example, performing the optimization of S209 includes: Specifically, for pipe diameter and pump quantity, iterative optimization can be performed using the methods described above, with the goal of minimizing cost. If there is user demand, the initial pipe diameter range and pump quantity range are determined accordingly; if there is no demand, data from similar cases are used as the initial range. Based on the initialization conditions, the pressure constraints formed by pipeline pressure loss and pump pressure are determined. All parameter combinations are traversed, and costs and pressure losses are calculated. Combinations that meet the constraints are selected, and the parameter combination corresponding to the minimum cost is chosen. Furthermore, textual knowledge bases, such as dredging engineering specifications and historical engineering cases, can be used to assist in determining the optimization direction. If pipeline pressure loss exceeds the standard, the pipe diameter can be increased / concentration can be decreased based on knowledge base recommendations, and after multiple iterations, the pipe-pump pressure will meet the requirements. If cost exceeds the standard, the number of pumps can be adjusted / the default concentration can be adapted to the scenario based on knowledge base recommendations, and the parameter combination with the lowest total cost can be selected through multiple iterations.

[0130] Optionally, in this embodiment, the question-and-answer results output by the dredging pipeline calculation question-and-answer model can be output in matrix form as the full parameter calculation results of the pipe and pump. Specifically, it can be divided into three parts: specific parameters and coordinate positions of each pipe section; specific parameters and coordinate positions of each pump; and overall pipe-pump operating point parameters under different concentration conditions, specifically involving the system's operating flow rate, operating head, actual output, etc. Furthermore, the output of the calculation process can be output according to the aforementioned calculation formula sequence, along with the source and value of the selected index parameters. Furthermore, a calculation report can be automatically generated, such as the following table: Optionally, the step of "receiving the next question-and-answer instruction from the target user based on the question-and-answer result, and using the next question-and-answer instruction as the current question-and-answer instruction, and returning to execute the step of determining the indicator parameter group based on the current question-and-answer instruction" is exemplified as follows: Feedback Reception: Receives user feedback on the next question-and-answer instruction, such as excessively high costs requiring a reduction in the number of pumps; Secondary Parsing: Re-parses the next question-and-answer instruction, matching the calculation method based on the previously described requirement parsing method, and determining the parameters to be modified or the optimization target; Iterative Optimization: Re-executes the "requirement parsing - calculation execution - result feedback - optimization" process based on the new parameters / targets; Result Update: Updates the calculation matrix and report, outputting the optimized results and report; Memory Storage: Stores user feedback optimization preferences, such as "prioritize cost control," into the user database, and subsequent calculations automatically prioritize this preference.

[0131] Figure 3 A schematic diagram of the structure of an intelligent answering device for pipeline design problems provided in an embodiment of the present invention is shown below. Figure 3 As shown, the device includes: The receiving module 301 is used to receive the current question and answer instruction from the target user regarding the current pipeline design problem, and determine the indicator parameter group based on the current question and answer instruction.

[0132] Input module 302 is used to input the index parameter group into the dredging pipeline calculation question and answer model so that the dredging pipeline calculation question and answer model can determine the target calling method according to the parameter type of each index parameter in the index parameter group.

[0133] The acquisition module 303 is used to acquire the question and answer results output by the dredging pipeline calculation question and answer model after calculating each index parameter using the target call method.

[0134] The judgment module 304 is used to receive the next question and answer instruction from the target user based on the question and answer result, and take the next question and answer instruction as the current question and answer instruction. It then returns to execute the step of determining the indicator parameter group based on the current question and answer instruction until it is determined that the target user has stopped asking questions about the current pipeline design problem, and the questioning of the current pipeline design problem has ended.

[0135] Based on the above embodiments, the receiving module 301 is specifically used for: The indicator parameters are determined from the current question and answer instructions, and are divided into main indicator parameters, non-main indicator parameters, and scenario indicator parameters according to their parameter types. The main indicator parameters are filled into a pre-set main parameter matrix to obtain the main indicator parameter group, and the non-main indicator parameters are filled into a pre-set non-main parameter matrix to obtain the non-main indicator parameter group. The scenario indicator parameters, the current pipeline design problem, and the historical pipeline design problem are associated to obtain the scenario indicator parameter group.

[0136] Based on the above embodiments, the main indicator parameters are filled into a pre-set main parameter matrix to obtain a main indicator parameter group. The receiving module 301 is specifically used for: Extract the parameter values ​​corresponding to the main indicator parameters in the current question and answer instruction, and determine the dimension definition and axis mapping corresponding to the main indicator parameters in the main parameter matrix; according to the dimension definition and axis mapping, fill the parameter values ​​corresponding to the main indicator parameters into the target positions in the main parameter matrix, and after filling all the main indicator parameters, obtain the main indicator parameter group.

[0137] Based on the above embodiments, the input module 302 is specifically used for: Input the index parameter group into the dredging pipeline calculation question and answer model so that the dredging pipeline calculation question and answer model can determine the number of corresponding index parameters under the same parameter type according to the parameter type of each index parameter, and determine the target calling method according to the number of parameters.

[0138] Based on the above embodiments, the indicator parameter group is input into the dredging pipeline calculation question-and-answer model so that the dredging pipeline calculation question-and-answer model determines the number of corresponding indicator parameters of the same parameter type according to the parameter type of each indicator parameter, and determines the target calling method according to the number of parameters. The input module 302 is specifically used for: The main indicator parameters are input into the dredging pipeline calculation question-and-answer model. When the number of parameters corresponding to the main indicator parameters exceeds the limit of the main indicator parameters, the target calling method is determined to be the full-parameter hydraulic calculation method. Alternatively, the main indicator parameters and non-main indicator parameters are input into the dredging pipeline calculation question-and-answer model. When the number of parameters corresponding to the main indicator parameters does not exceed the limit of the main indicator parameters and the number of parameters of the non-main indicator parameters is not zero, the target calling method is determined to be the parameter correction method. Alternatively, the main indicator parameters, non-main indicator parameters, and scenario indicator parameters are input into the dredging pipeline calculation question-and-answer model. When the number of parameters corresponding to the main indicator parameters does not exceed the limit of the main indicator parameters, the number of parameters of the non-main indicator parameters is zero, and the number of parameters of the scenario indicator parameters is not zero, the target calling method is determined to be the scenario adaptation method.

[0139] Based on the above embodiments, the acquisition module 303 is specifically used for: If the target calling method is determined to be a full-parameter hydraulic calculation method, then the first question-and-answer result is obtained after the dredging pipeline calculation question-and-answer model calculates using pipeline calculation formulas that are strongly correlated with the main indicator parameters and the main indicator parameters. If the target calling method is determined to be a parameter correction method, then the second question-and-answer result is obtained after the dredging pipeline calculation question-and-answer model corrects the calculation using historical calculation formulas determined based on the main indicator parameters and non-main indicator parameters. If the target calling method is determined to be a scenario adaptation method, then the third question-and-answer result is obtained after the dredging pipeline calculation question-and-answer model calculates using the target scenario determined by the scenario indicator parameters, the scenario mode determined from the knowledge base based on the target scenario, and the default parameters corresponding to the scenario mode and the pipeline calculation formula corresponding to the scenario mode.

[0140] Based on the above embodiments, before receiving the next question-and-answer instruction from the target user based on the question-and-answer results, the determination module 304 is further configured to: The process involves: using the user's target value in the current question-and-answer instruction and the design limit corresponding to the core design parameters as the limiting thresholds; determining whether the calculated values ​​of each design parameter in the question-and-answer results all meet the limiting thresholds corresponding to each design parameter; if the calculated values ​​of each design parameter all meet the limiting thresholds corresponding to each design parameter, then continuing to execute the step of receiving the next question-and-answer instruction from the target user based on the question-and-answer results; if at least one of the calculated values ​​of each design parameter does not meet the limiting thresholds corresponding to each design parameter, then inputting the design parameter that does not meet the limiting threshold into the dredging pipeline calculation question-and-answer model, so that the dredging pipeline calculation question-and-answer model re-calls the knowledge base to adjust the calculated values ​​of the design parameter that does not meet the limiting threshold; updating the calculated values ​​of the adjusted design parameters in the indicator parameter group, and returning to execute the step of filling the main indicator parameters into the pre-set main parameter matrix to obtain the main indicator parameter group.

[0141] The intelligent answering device for pipeline design problems provided in the embodiments of the present invention can execute the intelligent answering method for pipeline design problems provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the method execution.

[0142] It is worth noting that in the embodiments of the intelligent answering device for the above-mentioned pipeline design problem, the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of each functional unit are only for easy differentiation and are not used to limit the scope of protection of the present invention.

[0143] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Figure 4 A block diagram is shown of an exemplary electronic device 11 suitable for implementing embodiments of the present invention. Figure 4 The electronic device 11 shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of the present invention.

[0144] like Figure 4 As shown, the electronic device 11 is represented in the form of a general-purpose computing electronic device. The components of the electronic device 11 may include, but are not limited to: one or more processors or processing units 16, system memory 28, and bus 18 connecting different system components (including system memory 28 and processing unit 16).

[0145] Bus 18 represents one or more of several bus architectures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the various bus architectures. For example, these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the Enhanced ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnect (PCI) bus.

[0146] Electronic device 11 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by electronic device 11, including volatile and non-volatile media, removable and non-removable media.

[0147] System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. Electronic device 11 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 34 may be used to read and write non-removable, non-volatile magnetic media (… Figure 4 Not shown; usually referred to as a "hard drive"). Although Figure 4 As not shown, disk drives for reading and writing to removable non-volatile disks (e.g., "floppy disks") and optical disc drives for reading and writing to removable non-volatile optical discs (e.g., CD-ROMs, DVD-ROMs, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 via one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the embodiments of the present invention.

[0148] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. Program modules 42 typically perform the functions and / or methods described in the embodiments of the present invention.

[0149] Electronic device 11 can also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), and with one or more devices that enable a user to interact with electronic device 11, and / or with any device that enables electronic device 11 to communicate with one or more other computing devices (e.g., network card, modem, etc.). This communication can be performed via input / output (I / O) interface 22. Furthermore, electronic device 11 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 20. Figure 4 As shown, network adapter 20 communicates with other modules of electronic device 11 via bus 18. It should be understood that, although... Figure 4 As not shown, other hardware and / or software modules may be used in conjunction with electronic device 11, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0150] The processing unit 16 executes various functional applications and page displays by running programs stored in the system memory 28, such as implementing the intelligent answering method for pipeline design problems provided in this embodiment. Of course, those skilled in the art will understand that the processor can also implement the technical solutions of the intelligent answering method for pipeline design problems provided in any embodiment of this invention.

[0151] This invention provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements, for example, the intelligent answering method for pipeline design problems provided in this invention. The computer storage medium of this invention can be any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0152] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, capable of sending, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device.

[0153] Program code contained on a computer-readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.

[0154] This invention also provides a computer program product, including a computer program that, when executed by a processor, implements the intelligent answering method for pipeline design problems as provided in any embodiment of this invention.

[0155] Computer program code for performing the operations of this invention can be written in one or more programming languages ​​or a combination thereof. Programming languages ​​include object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages—such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0156] Those skilled in the art will understand that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Optionally, they can be implemented using computer-executable program code, thereby allowing them to be stored in a storage device for execution by a computing device, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.

[0157] Furthermore, the acquisition, storage, use, and processing of data in the technical solution of this invention all comply with the relevant provisions of national laws and regulations.

[0158] Note that the above description is merely a preferred embodiment of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of the present invention, the scope of which is determined by the scope of the appended claims.

Claims

1. An intelligent answering method for pipeline design problems, characterized in that, The method includes: Receive the target user's current question and answer instruction regarding the current pipeline design problem, and determine the indicator parameter group based on the current question and answer instruction; The index parameter group is input into the dredging pipeline calculation question and answer model so that the dredging pipeline calculation question and answer model can determine the target calling method according to the parameter type of each index parameter in the index parameter group; The question-and-answer results output by the dredging pipeline calculation question-and-answer model after calculating each index parameter using the target invocation method are obtained; Receive the next question-and-answer instruction from the target user based on the question-and-answer result, and use the next question-and-answer instruction as the current question-and-answer instruction. Return to execute the step of determining the indicator parameter group based on the current question-and-answer instruction, until it is determined that the target user stops asking questions about the current pipeline design problem, and the questioning of the current pipeline design problem ends.

2. The method according to claim 1, characterized in that, The process of receiving the target user's current question and answer instruction regarding the current pipeline design problem, and determining the indicator parameter group based on the current question and answer instruction, includes: The indicator parameters are determined from the current question and answer instruction, and the indicator parameters are divided into main indicator parameters, non-main indicator parameters and scenario indicator parameters according to the parameter type of the indicator parameters; The main indicator parameters are filled into a pre-set main parameter matrix to obtain a main indicator parameter group. The non-main indicator parameters are filled into a pre-set non-main parameter matrix to obtain a non-main indicator parameter group. The scenario indicator parameters, the current pipeline design problem, and the historical pipeline design problem are associated to obtain a scenario indicator parameter group.

3. The method according to claim 2, characterized in that, The step of filling the main indicator parameters into a pre-set main parameter matrix to obtain a main indicator parameter group includes: Extract the parameter values ​​corresponding to the main indicator parameters in the current question-and-answer instruction, and determine the dimension definition and axis mapping corresponding to the main indicator parameters in the main parameter matrix; Based on the dimension definition and axis mapping, the parameter values ​​corresponding to the main indicator parameters are filled into the target positions in the main parameter matrix, and after filling all the main indicator parameters, the main indicator parameter group is obtained.

4. The method according to claim 2, characterized in that, The step of inputting the indicator parameter group into the dredging pipeline calculation question-and-answer model, so that the dredging pipeline calculation question-and-answer model determines the target invocation method according to the parameter type of each indicator parameter in the indicator parameter group, includes: The index parameter group is input into the dredging pipeline calculation question and answer model so that the dredging pipeline calculation question and answer model determines the number of index parameters corresponding to the same parameter type according to the parameter type of each index parameter, and determines the target calling method according to the number of parameters.

5. The method according to claim 4, characterized in that, The step of inputting the indicator parameter group into the dredging pipeline calculation question-and-answer model, so that the dredging pipeline calculation question-and-answer model determines the number of corresponding indicator parameters of the same parameter type according to the parameter type of each indicator parameter, and determines the target invocation method according to the number of parameters, includes: The key indicator parameters are input into the dredging pipeline calculation question-and-answer model, so that when the number of parameters corresponding to the key indicator parameters exceeds the limit of the key indicator parameters, the model determines that the target calling method is the full-parameter hydraulic calculation method; or... The primary and secondary indicator parameters are input into the dredging pipeline calculation question-and-answer model. If the number of parameters corresponding to the primary indicator parameters does not exceed the primary indicator parameter limit and the number of parameters for the secondary indicator parameters is not zero, the model determines the target calling method as a parameter correction method; or... The main indicator parameters, the non-main indicator parameters, and the scenario indicator parameters are input into the dredging pipeline calculation question-answering model so that the dredging pipeline calculation question-answering model determines the target calling method as the scenario adaptation method when the number of parameters corresponding to the main indicator parameters does not exceed the limit of the main indicator parameters, the number of parameters of the non-main indicator parameters is zero, and the number of parameters of the scenario indicator parameters is not zero.

6. The method according to claim 5, characterized in that, The process of obtaining the question-and-answer results output by the dredging pipeline calculation question-and-answer model after calculating each indicator parameter using the target invocation method includes: If the target calling method is determined to be a full-parameter hydraulic calculation method, then the first question and answer result output by the dredging pipeline calculation question and answer model after calculating with the main index parameters using the pipeline calculation formula that has a strong correlation with the main index parameters is obtained; If the target calling method is determined to be a parameter correction method, then the second question and answer result output by the dredging pipeline calculation question and answer model after correcting the calculation based on the historical calculation formula determined by the main indicator parameters and the non-main indicator parameters is obtained; If the target invocation method is determined to be a scenario adaptation method, then the third question-and-answer result is obtained by the dredging pipeline calculation question-and-answer model after determining the target scenario based on the scenario index parameters, determining the scenario mode from the knowledge base based on the target scenario, and calculating using the default parameters corresponding to the scenario mode and the pipeline calculation formula corresponding to the scenario mode.

7. The method according to claim 2, characterized in that, Before receiving the next question-and-answer instruction from the target user based on the question-and-answer result, the method further includes: The design limit corresponding to the user's target value in the current question-and-answer instruction and the core design parameters is used as the limiting threshold; Determine whether the calculated values ​​of each design parameter in the question-and-answer results all meet the corresponding threshold limits for each design parameter; If the calculated values ​​of each design parameter meet the corresponding threshold, then the step of receiving the next question-and-answer instruction from the target user based on the question-and-answer result continues. If at least one of the calculated values ​​of the design parameters does not meet the corresponding threshold, the design parameter that does not meet the threshold is input into the dredging pipeline calculation question-and-answer model so that the dredging pipeline calculation question-and-answer model calls the knowledge base again to adjust the calculated value of the design parameter that does not meet the threshold; the adjusted calculated value of the design parameter is updated in the index parameter group, and the process returns to the step of filling the main index parameters into the pre-set main parameter matrix to obtain the main index parameter group.

8. An intelligent answering device for pipeline design problems, characterized in that, The device includes: The receiving module is used to receive the current question and answer instruction from the target user regarding the current pipeline design problem, and determine the indicator parameter group based on the current question and answer instruction; The input module is used to input the indicator parameter group into the dredging pipeline calculation question and answer model, so that the dredging pipeline calculation question and answer model can determine the target calling method according to the parameter type of each indicator parameter in the indicator parameter group; The acquisition module is used to acquire the question and answer results output by the dredging pipeline calculation question and answer model after calculating each indicator parameter using the target invocation method; The judgment module is used to receive the next question-and-answer instruction from the target user based on the question-and-answer result, and take the next question-and-answer instruction as the current question-and-answer instruction, and return to execute the step of determining the indicator parameter group based on the current question-and-answer instruction, until it is determined that the target user stops asking questions about the current pipeline design problem, and the questioning of the current pipeline design problem ends.

9. An electronic device, characterized in that, include: One or more processors; Memory, used to store one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the intelligent answering method for pipeline design problems as described in any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by the processor, the program implements an intelligent answering method for pipeline design problems as described in any one of claims 1 to 7.