Pipeline initial stress processing method and device, electronic equipment, storage medium and program product

By constructing a set of stress relationships and solving the matrix, the initial stress of the pipeline can be directly calculated, solving the problem that the initial stress cannot be accurately obtained in the existing technology and realizing high-precision stress measurement.

CN122020989APending Publication Date: 2026-05-12CHINA UNIV OF PETROLEUM (BEIJING)
View PDF 4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHINA UNIV OF PETROLEUM (BEIJING)
Filing Date
2026-01-07
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

Existing technologies cannot directly obtain the initial stress of a pipeline, and ultrasonic stress measurement is affected by the poor stability of the coupling conditions on the pipeline surface, the anisotropic interference of materials, and environmental noise, making it difficult to achieve continuous stress monitoring and high-precision analysis.

Method used

By constructing a set of stress relationships, the stress variation at multiple feature points on the target pipeline is determined. Using the pre-constructed first and second sets of relationships, the initial stress is inferred, including the determination of the initial bending moment and initial axial force. The initial stress is then directly calculated by solving the matrix using the least squares method.

Benefits of technology

It enables direct and accurate measurement of the initial stress of the pipeline, improves the accuracy of stress measurement, and avoids the influence of pipeline surface coupling conditions and environmental noise.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122020989A_ABST
    Figure CN122020989A_ABST
Patent Text Reader

Abstract

The invention provides a pipeline initial stress processing method and device, electronic equipment, a storage medium and a program product, and the method comprises the steps: responding to an initial stress analysis request for a target pipeline, so as to determine corresponding stress variations of a plurality of feature points on the target pipeline at any two moments, obtaining a first relational expression group through a pre-constructed stress relational expression and the corresponding stress variations of the plurality of feature points at any two moments, obtaining a second relational expression group among the initial stress, the initial bending moment and the initial axial force corresponding to the plurality of feature points through the stress relational expression, and obtaining a second relational expression group among the initial bending moment and the initial axial force corresponding to the plurality of feature points through the first relational expression group. Determining the first initial bending moment, the second initial bending moment and the initial axial force corresponding to the target pipeline, and obtaining the initial stress corresponding to each feature point on the target pipeline according to the first initial bending moment, the second initial bending moment and the initial axial force. Based on the method provided by the invention, the initial stress of the pipeline can be directly and accurately obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of pipeline engineering inspection technology, and in particular to a method, apparatus, electronic device, storage medium and program product for handling initial stress in pipelines. Background Technology

[0002] Analyzing the initial stress of pipelines can help identify and control potential problems during the initial installation or operation phases, ensuring their safety, stability, and compliance with design requirements.

[0003] Currently, pipeline stress analysis largely relies on strain gauges to measure the relative change in stress, but this method cannot directly obtain the initial stress, leading to blind spots in stress evolution analysis. While ultrasonic stress measurement technology can attempt to detect the absolute value of the initial stress, it is affected by the poor stability of pipeline surface coupling conditions, material anisotropy interference, and environmental noise. Furthermore, ultrasonic testing and X-ray testing methods are complex to operate and can only measure stress at a specific moment, failing to achieve continuous stress monitoring. Therefore, providing a method that can directly and accurately obtain the initial stress of a pipeline is a pressing problem in this field. Summary of the Invention

[0004] This application provides a method, apparatus, electronic device, storage medium, and program product for processing the initial stress of a pipeline, which can directly and accurately obtain the initial stress of the pipeline.

[0005] In a first aspect, embodiments of this application provide a method for handling initial stress in a pipeline, applied to a server, comprising:

[0006] In response to an initial stress analysis request for the target pipeline, the stress changes at multiple feature points on the target pipeline at any two time points are determined.

[0007] By using pre-constructed stress relationships and the stress changes at multiple feature points at any two times, a first set of relationships is obtained. The first set of relationships includes multiple first relationships, which are used to characterize the stress changes at each feature point.

[0008] Through the stress relationship, a second set of relationships between the initial stress, initial bending moment and initial axial force corresponding to multiple feature points is obtained. The second set of relationships includes multiple second relationships, which are used to characterize the relationship between the initial bending moment, initial axial force and initial stress corresponding to each feature point.

[0009] The first initial bending moment in the first direction and the second initial bending moment in the second direction are determined by the first set of relationships.

[0010] The initial axial force corresponding to the target pipeline is determined by the first initial bending moment, the second initial bending moment, and the second set of relational formulas.

[0011] Based on the first initial bending moment, the second initial bending moment, and the initial axial force, the initial stress corresponding to each feature point on the target pipeline is obtained.

[0012] In one possible implementation, determining the stress change at multiple feature points on the target pipeline at any two time points includes:

[0013] Determine the coordinate data of multiple feature points on the target pipeline on the corresponding target cross-section;

[0014] Determine the cross-sectional curvature corresponding to the target cross-section;

[0015] Based on the coordinate data and cross-sectional curvature, a third relationship between bending strain and cross-sectional curvature is constructed;

[0016] Based on the third relation, the bending strain difference value corresponding to multiple feature points at any two time points is determined;

[0017] Determine the elastic modulus of the target pipe;

[0018] Based on the elastic modulus of the target pipeline and the bending strain difference between multiple feature points at any two times, the stress change at multiple feature points at any two times is obtained.

[0019] In one possible implementation, determining the first initial bending moment corresponding to the first direction and the second initial bending moment corresponding to the second direction using a first set of relationships includes:

[0020] Determine the coefficient matrix and observation vector corresponding to the first set of relations;

[0021] By using the coefficient matrix and the observation vector, the first set of relations is simplified to obtain the corresponding matrix equation;

[0022] The matrix equations are solved using the least squares method to obtain the first and second initial bending moments.

[0023] In one possible implementation, the matrix equations are solved using the least squares method to obtain the first initial bending moment and the second initial bending moment, including:

[0024] Determine the number of corresponding sub-equations and the preset rounds in the matrix equation;

[0025] The third-party program group corresponding to the matrix equation is constructed by the number of sub-equations and the preset number of rounds;

[0026] Determine the transpose matrix corresponding to the coefficient matrix;

[0027] The first and second initial bending moments are obtained by solving the third equation set using the transpose matrix.

[0028] In one possible implementation, the initial stress corresponding to each feature point on the target pipeline is obtained based on the first initial bending moment, the second initial bending moment, and the initial axial force, including:

[0029] Substitute the first initial bending moment, the second initial bending moment, and the initial axial force into the second relational formulas in the second relational formula group to obtain the initial stress corresponding to each feature point on the target pipeline.

[0030] In one possible implementation, the process of constructing the stress relationship includes:

[0031] Determine the axial force, cross-sectional area, first coordinate data of the feature points on the cross-section in the first direction, second coordinate data in the second direction, moment of inertia of the cross-section, first bending moment component in the first direction, and second bending moment component in the second direction corresponding to the target pipeline;

[0032] The ratio of axial force to cross-sectional area is defined as the tensile-compressive stress relationship.

[0033] Determine the first product between the first bending moment component and the first coordinate data, and the second product between the second bending moment component and the second coordinate data;

[0034] The first product and the second product are summed, and the ratio between the summation result and the moment of inertia of the cross section is determined as the bending stress relationship.

[0035] The stress relationship is obtained by summing the tensile and compressive stress relationship with the bending stress relationship.

[0036] Secondly, embodiments of this application provide a device for processing initial stress in a pipeline, applied to a server, comprising:

[0037] The response module is used to respond to the initial stress analysis request for the target pipeline to determine the stress change at multiple feature points on the target pipeline at any two time points.

[0038] The processing module is used to obtain a first set of relational expressions by using a pre-constructed stress relational expression and the stress change of multiple feature points at any two times. The first set of relational expressions includes multiple first relational expressions, wherein the first relational expressions are used to characterize the stress change of each feature point.

[0039] The processing module is also used to obtain a second set of relational formulas between the initial stress, initial bending moment and initial axial force corresponding to multiple feature points through stress relational formulas. The second set of relational formulas includes multiple second relational formulas, which are used to characterize the relationship between the initial bending moment, initial axial force and initial stress corresponding to each feature point.

[0040] The processing module is also used to determine the first initial bending moment corresponding to the first direction and the second initial bending moment corresponding to the second direction through the first set of relational expressions;

[0041] The processing module is also used to determine the initial axial force corresponding to the target pipe through the first initial bending moment, the second initial bending moment and the second set of relational formulas;

[0042] The processing module is also used to obtain the initial stress corresponding to each feature point on the target pipeline based on the first initial bending moment, the second initial bending moment, and the initial axial force.

[0043] In one possible implementation, the processing module is specifically used to determine the coordinate data of multiple feature points on the target pipeline on the corresponding target cross-section;

[0044] The processing module is also specifically used to determine the cross-sectional curvature corresponding to the target cross-section;

[0045] The processing module is also used to construct a third relationship between bending strain and cross-sectional curvature based on coordinate data and cross-sectional curvature.

[0046] The processing module is also specifically used to determine the bending strain difference between multiple feature points at any two times based on the third relation.

[0047] The processing module is also specifically used to determine the elastic modulus of the target pipeline;

[0048] The processing module is also used to obtain the stress change of multiple feature points at any two times based on the elastic modulus of the target pipeline and the bending strain difference value of multiple feature points at any two times.

[0049] In one possible implementation, the processing module is further configured to determine the coefficient matrix and observation vector corresponding to the first set of relations;

[0050] The processing module is also used to simplify the first set of relations through the coefficient matrix and the observation vector to obtain the corresponding matrix equation;

[0051] The processing module is also specifically used to solve the matrix equation based on the least squares method to obtain the first initial bending moment and the second initial bending moment;

[0052] In one possible implementation, the processing module is further configured to determine the number of corresponding sub-equations and the preset round in the matrix equation;

[0053] The processing module is also specifically used to construct a third-party program group corresponding to the matrix equation based on the number of sub-equations and the preset number of rounds;

[0054] The processing module is also specifically used to determine the transpose matrix corresponding to the coefficient matrix;

[0055] The processing module is also used to solve the third process group by transposing the matrix to obtain the first initial bending moment and the second initial bending moment.

[0056] In one possible implementation, the processing module is further configured to substitute the first initial bending moment, the second initial bending moment, and the initial axial force into each of the second relational expressions in the second relational expression group to obtain the initial stress corresponding to each feature point on the target pipeline.

[0057] In one possible implementation, the processing module is further configured to determine the axial force, cross-sectional area, first coordinate data in the first direction, second coordinate data in the second direction, cross-sectional moment of inertia, first bending moment component in the first direction, and second bending moment component in the second direction of the cross-section corresponding to the target pipe.

[0058] The processing module is also used to determine the ratio between the axial force and the cross-sectional area as a tensile-compressive stress relationship.

[0059] The processing module is also used to determine a first product between the first bending moment component and the first coordinate data, and a second product between the second bending moment component and the second coordinate data;

[0060] The processing module is also used to sum the first product and the second product, and to determine the ratio between the summation result and the moment of inertia of the cross section as the bending stress relationship.

[0061] The processing module is also used to sum the tensile and compressive stress relationships with the bending stress relationships to obtain the stress relationships.

[0062] Thirdly, embodiments of this application provide an electronic device, including: a processor, and a memory communicatively connected to the processor;

[0063] The memory stores instructions that the computer executes;

[0064] The processor executes computer execution instructions stored in memory, causing the processor to perform the first aspect and / or various possible implementations of the first aspect as described above.

[0065] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the first aspect and / or various possible implementations of the first aspect.

[0066] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the first aspect and / or various possible implementations of the first aspect.

[0067] The pipeline initial stress processing method, apparatus, electronic device, storage medium, and program product provided in this application embodiment determine the stress change corresponding to multiple feature points on the target pipeline, and pre-construct a first set of relational formulas and a second set of relational formulas. First, the first initial bending moment, the second initial bending moment, and the initial axial force corresponding to multiple feature points on the target pipeline are determined. Then, based on the determined first initial bending moment, the second initial bending moment, and the initial axial force, the initial stress is inversely calculated, and the initial stress corresponding to each feature point on the target pipeline can be directly determined. Furthermore, the pipeline initial stress processing method provided in this application embodiment can directly refer to the mathematical relationship between the stress change, the first initial bending moment, the second initial bending moment, and the initial axial force to obtain the corresponding initial stress. It is not affected by the poor stability of pipeline surface coupling conditions, material anisotropy interference, or environmental noise, thus improving the accuracy of the obtained initial stress. Attached Figure Description

[0068] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0069] Figure 1 This application provides a schematic diagram of the scenario.

[0070] Figure 2 Flowchart of the method for handling initial stress in pipelines provided in this application Figure 1 ;

[0071] Figure 3 Flowchart of the method for handling initial stress in pipelines provided in this application Figure 2 ;

[0072] Figure 4 A schematic diagram of multiple feature points on a target cross-section as an example;

[0073] Figure 5 Flowchart of the method for handling initial stress in pipelines provided in this application Figure 3 ;

[0074] Figure 6 Flowchart of the method for handling initial stress in pipelines provided in this application Figure 4 ;

[0075] Figure 7 Flowchart of the method for handling initial stress in pipelines provided in this application Figure 5 ;

[0076] Figure 8 A schematic diagram of the structure of the device for treating the initial stress of a pipeline provided in this application;

[0077] Figure 9A schematic diagram of the structure of the electronic device provided in this application.

[0078] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0079] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0080] The collection, storage, use, processing, transmission, provision, and disclosure of financial data or user data involved in the technical solution of this application all comply with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0081] It should be noted that in the embodiments of this application, certain software, components, models and other existing solutions in the industry may be mentioned. These should be regarded as exemplary and are only intended to illustrate the feasibility of implementing the technical solution of this application. However, it does not mean that the applicant has used or necessarily used the solution.

[0082] Analyzing the initial stress of pipelines can help identify and control potential problems during the initial installation or operation phases, ensuring their safety, stability, and compliance with design requirements. Currently, initial stress analysis in pipelines largely relies on strain gauges to measure relative stress changes, but this method cannot directly obtain the initial stress, leading to blind spots in stress evolution analysis. While ultrasonic stress measurement technology can attempt to detect the absolute value of initial stress, it is affected by poor stability of pipeline surface coupling conditions, material anisotropy interference, and environmental noise, making it difficult to meet high-precision requirements. Therefore, providing a method that can directly and accurately obtain the initial stress of pipelines is a pressing issue in this field.

[0083] Figure 1 The scenario diagram provided for this application is as follows: Figure 1As shown, this application receives and responds to a request for initial stress analysis of a target pipeline via a server to determine the stress changes corresponding to multiple feature points on the target pipeline. Using pre-constructed first and second sets of relational formulas, it first determines the first initial bending moment, the second initial bending moment, and the initial axial force corresponding to multiple feature points on the target pipeline. Then, based on the determined first initial bending moment, the second initial bending moment, and the initial axial force, it reverse-calculates the initial stress to determine the initial stress corresponding to each feature point on the target pipeline. The pipeline initial stress processing method provided in this application can directly obtain the corresponding initial stress by referring to the mathematical relationships between the stress changes, the first initial bending moment, the second initial bending moment, and the initial axial force. It is unaffected by poor stability of pipeline surface coupling conditions, material anisotropy interference, and environmental noise, thus improving the accuracy of the obtained initial stress.

[0084] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0085] Figure 2 Flowchart of the method for handling initial stress in pipelines provided in this application Figure 1 ,like Figure 2 As shown, this method is applied to a server and includes:

[0086] S201. In response to the request for initial stress analysis of the target pipeline, determine the stress changes at multiple feature points on the target pipeline at any two time points.

[0087] Combined with scenario examples, Figure 1 In this embodiment, the execution entity is a server. The server can be used to receive an initial stress analysis request for a target pipeline. This initial stress analysis request can be sent to the server from a terminal belonging to a specific technician. The target pipeline is the pipeline whose initial stress needs to be determined. During installation, a corresponding strain gauge can be installed simultaneously. The strain gauge can be used to monitor the stress change of the target pipeline between any two moments during operation.

[0088] Optional, Figure 3 Flowchart of the method for handling initial stress in pipelines provided in this application Figure 2 ,like Figure 3 As shown, S201 includes:

[0089] S301. Determine the coordinate data of multiple feature points on the target pipeline on the corresponding target cross-section.

[0090] Combined with scenario examples, Figure 4This is a schematic diagram of multiple feature points on the target cross-section, as shown in the example. Figure 4 As shown, taking three feature points as an example, these three feature points are points a, b, and c. The center of the target cross-section can be determined as the origin, establishing a rectangular coordinate system to determine the coordinate data corresponding to points a, b, and c respectively. Optionally, the angles between points a, b, and c and the origin can be determined as θ1, θ2, and θ3 respectively. Therefore, the coordinates of point a (y1, z1) are (rsinθ1, rcosθ1), similarly, the coordinates of point b (y2, z2) are (rsinθ2, rcosθ2), and the coordinates of point c (y3, z3) are (rsinθ3, rcosθ3), where r is the radius of the target pipe. The server can store the attribute information of the target pipe locally, so the radius of the target pipe can be determined by querying the attribute information of the target pipe.

[0091] S302. Determine the cross-sectional curvature corresponding to the target cross-section.

[0092] Based on a scenario example, the cross-sectional curvature can be defined as k(t), and k(t) can be expressed by the following relationship:

[0093]

[0094] Where d is the diameter of the target cross-section, s is the arc length of the pipe axis, and θ(t) is the cross-sectional rotation angle of the target cross-section, all of which can be determined by querying the attribute information of the target pipe.

[0095] S303. Based on the coordinate data and cross-sectional curvature, construct the third relationship between bending strain and cross-sectional curvature.

[0096] Based on a scenario example, the third relationship between bending strain and cross-sectional curvature can be expressed as:

[0097]

[0098] in, Let t be the bending strain at any feature point on the target pipeline at time t, and y be the y-axis coordinate of that feature point.

[0099] S304. Based on the third relation, determine the bending strain difference between multiple feature points at any two time points.

[0100] Using a scenario example, let's define any two times as tp and tq. The difference in bending strain at times tp and tq can be expressed as:

[0101]

[0102] in, The difference in bending strain at times tp and tq is the value of the difference in bending strain. Let tp be the bending strain. Let be the bending strain at time tq. Let be the cross-sectional curvature at time tp. Let be the cross-sectional curvature at time tq.

[0103] Therefore, combining the above information, the difference in bending strain at point a at times tp and tq is: The difference in bending strain at point b at times tp and tq is: The difference in bending strain at point c at times tp and tq is: .

[0104] S305. Determine the elastic modulus of the target pipeline.

[0105] Based on the scenario example, the elastic modulus E (Pa) of the target pipeline can be determined by querying the attribute information of the target pipeline.

[0106] S306. Based on the elastic modulus of the target pipeline and the bending strain difference between multiple feature points at any two times, obtain the stress change at multiple feature points at any two times.

[0107] Based on the scenario example, the stress change is the product of the elastic modulus and the difference in bending strain. Therefore, the stress change at point a at times tp and tq is: The stress change at point b at times tp and tq is: The stress change at point c at times tp and tq is: .

[0108] Based on the method provided in this example, the stress change at each feature point on the target pipeline at any two time points can be obtained.

[0109] S202. By using the pre-constructed stress relationship and the stress change of multiple feature points at any two times, a first set of relationships is obtained, wherein the first set of relationships includes multiple first relationships, and the first relationships are used to characterize the stress change of each feature point.

[0110] Based on the scenario example, the stress relationship can be decomposed into the axial stress at any point on the target cross section according to the beam bending theory of mechanics of materials, so as to obtain the tensile, compressive and bending stresses caused by the axial force of the pipe.

[0111] Optional, Figure 5 Flowchart of the method for handling initial stress in pipelines provided in this application Figure 3 ,like Figure 5As shown, the process of constructing the stress relationship includes:

[0112] S501. Determine the axial force, cross-sectional area, first coordinate data of the feature point on the cross-section in the first direction, second coordinate data in the second direction, cross-sectional moment of inertia, first bending moment component in the first direction and second bending moment component in the second direction corresponding to the target pipeline.

[0113] In the context of the scenario, the axial force of the target pipe section refers to the tensile or compressive force acting on both sides of any cross-section of the pipe along its axial direction, and can be represented by "T". The cross-sectional area refers to the area of ​​any cross-section, and can be represented by "A". The moment of inertia is a physical quantity used to measure the ability of a component's cross-section to resist bending deformation; the larger the value, the less likely the cross-section is to break or bend, and can be represented by "I". The axial force, cross-sectional area, and moment of inertia can be determined by querying the target pipe's attribute information. (Reference) Figure 4 The first direction can be the direction corresponding to the y-axis, and the second direction can be the direction corresponding to the Z-axis. Therefore, the first coordinate data of the feature point on the cross section in the first direction is the y-axis coordinate of the feature point, and the second coordinate data of the feature point on the second direction is the Z-axis coordinate of the feature point. The first bending moment component in the first direction can be defined as Mx, and the second bending moment component in the second direction can be defined as My.

[0114] S502. The ratio between the axial force and the cross-sectional area is determined as the tensile-compressive stress relationship.

[0115] Based on scenario examples, tensile and compressive stresses can be defined as " The tension-compression stress relationship can be expressed as:

[0116]

[0117] S503. Determine the first product between the first bending moment component and the first coordinate data, and the second product between the second bending moment component and the second coordinate data.

[0118] Based on the scenario example, the first product between the first bending moment component and the first coordinate data can be expressed as: The second product between the second bending moment component and the second coordinate data can be expressed as: .

[0119] S504. Summing the first product and the second product, and determining the ratio between the summation result and the moment of inertia of the cross section as the bending stress relationship.

[0120] Based on a scenario example, bending stress can be defined as " The bending stress relationship can be expressed as:

[0121]

[0122] S505. Summing the tensile and compressive stress relationships with the bending stress relationships yields the stress relationships.

[0123] With a scenario example, the axial stress at any point on the pipe cross-section can be decomposed into tensile and compressive stresses. With bending stress Therefore, the axial stress at any point on the pipe cross-section can reduce the tensile and compressive stresses. With bending stress Summation is performed to obtain the corresponding stress relationship. Therefore, the stress relationship can be expressed as:

[0124]

[0125] in, Used to represent the axial stress at any point on the cross-section of a pipe.

[0126] Based on the foregoing, y = rsinθ, z = rcosθ, therefore the stress relationship can be transformed into:

[0127]

[0128] Therefore, for characteristic point a, the stress change at times tp and tq is:

[0129]

[0130] Similarly, for feature point b, the stress change at times tp and tq is:

[0131]

[0132] For feature point c, the stress change at times tp and tq is:

[0133]

[0134] Based on the foregoing, the stress changes at point a at times tp and tq are as follows: The stress change at point b at times tp and tq is: The stress change at point c at times tp and tq is: The corresponding first set of relations is obtained as follows:

[0135]

[0136] S203. Through the stress relationship, a second set of relationships between the initial stress, initial bending moment and initial axial force corresponding to multiple feature points is obtained. The second set of relationships includes multiple second relationships, which are used to characterize the relationship between the initial bending moment, initial axial force and initial stress corresponding to each feature point.

[0137] Based on the scenario example and the preceding content, the stress relationship is as follows:

[0138]

[0139] The initial stress can be defined as σ. 0 The first initial bending moment in the first direction is M. x 0 The second initial bending moment in the second direction is M. y 0 The initial axial force is Therefore, combining the stress relationship, the resulting second set of relationships can be:

[0140]

[0141] S204. Determine the first initial bending moment in the first direction and the second initial bending moment in the second direction through the first set of relational formulas.

[0142] Based on the scenario example, the first target estimate of the first bending moment in the first direction and the second target estimate of the second bending moment in the second direction can be obtained by solving the first set of equations. Then, the first initial bending moment M in the first direction can be obtained by combining the first target estimate and the second target estimate. x 0 The second initial bending moment in the second direction is M. y 0 .

[0143] Optional, Figure 6 Flowchart of the method for handling initial stress in pipelines provided in this application Figure 4 ,like Figure 6 As shown, S204 includes:

[0144] S601. Determine the coefficient matrix and observation vector corresponding to the first set of relations.

[0145] Based on the scenario example and the first set of relations, the left side of the equals sign can be determined as the corresponding observation vector, i.e., the observation vector is:

[0146]

[0147] in, The observation vector representing the i-th feature point The y-coordinate of the i-th feature point is represented. The curvature of the cross section at time tp represents the i-th feature point. The curvature of the cross section corresponding to the i-th feature point at time tq is represented.

[0148] The left side of the equals sign can be defined as the corresponding coefficient matrix, i.e., the coefficient matrix is:

[0149]

[0150] It can be simplified to:

[0151]

[0152] in, The coefficient representing the j-th column corresponding to the i-th feature point.

[0153] S602. By using the coefficient matrix and the observation vector, the first set of relations is simplified to obtain the corresponding matrix equation.

[0154] Based on scenario examples, we can define: Then, based on the coefficient matrix and observation vector obtained above, the corresponding matrix equation obtained after simplifying the first set of relations is:

[0155]

[0156] Where A is the coefficient matrix obtained above, and b is the observation vector obtained above.

[0157] S603. Solve the matrix equations using the least squares method to obtain the first initial bending moment and the second initial bending moment.

[0158] With a scenario example, the core of the least squares method is to find the fitted straight line or curve that best represents the pattern behind a set of data by minimizing the sum of squared errors. It is the most commonly used method in data processing and regression analysis.

[0159] Optional, Figure 7 Flowchart of the method for handling initial stress in pipelines provided in this application Figure 5 ,like Figure 7 As shown, S603 includes:

[0160] S701. Determine the number of corresponding sub-equations and the preset rounds in the matrix equation.

[0161] Based on the scenario example, since the least squares method is used to solve the matrix equation, the sum of squares after multiple solutions is required. Therefore, the preset number of rounds to be processed can be determined and defined as "n". The number of corresponding sub-equations in the matrix equation can be defined as "m". As can be seen from the above, the number of corresponding sub-equations in the matrix equation is 3.

[0162] S702. Construct a third-party program group corresponding to the matrix equation by using the number of sub-equations and the preset rounds.

[0163] Based on the scenario example, and considering the number of sub-equations and the preset number of rounds defined above, the third-party program group can be represented as follows:

[0164]

[0165] in, This characterizes the combination of taking two values ​​during n rounds of processing for the three sub-equations (i.e., ... ) represents the total number of equations contained in a third-party equation set.

[0166] S703, Determine the transpose matrix corresponding to the coefficient matrix.

[0167] Based on a scenario example, the transpose of the coefficient matrix A can be defined as: .

[0168] S704. Solve the third process group by transposing the matrix to obtain the first initial bending moment and the second initial bending moment.

[0169] Using scenario examples, by simultaneously adding the content on both sides of the equals sign in the third-party program group... Multiplying them together, we get:

[0170]

[0171] Based on the relationship obtained above, we can then derive:

[0172]

[0173] Based on this, the least squares method can be used to obtain the result in multiple rounds of processing. and The corresponding optimal estimate, that is, the optimal estimate corresponding to the change in the first bending moment. And the optimal estimate corresponding to the change in the second bending moment. .

[0174] The difference between the actual value of the first bending moment at any given time and the optimal estimate corresponding to the change in the first bending moment can be determined as the first initial bending moment, i.e., the first initial bending moment is: Similarly, the difference between the actual value of the second bending moment at any given time and the optimal estimate corresponding to the change in the second bending moment is determined as the second initial bending moment, i.e., the second initial bending moment is: .

[0175] S205. Determine the initial axial force corresponding to the target pipeline by using the first initial bending moment, the second initial bending moment, and the second set of relational expressions.

[0176] Using the scenario example, substituting the obtained first and second initial bending moments into each of the second relations in the above set of second relations, we can obtain the initial axial force as follows: and initial axial force It has a linear relationship with the initial stress.

[0177] S206. Based on the first initial bending moment, the second initial bending moment, and the initial axial force, the initial stress corresponding to each feature point on the target pipeline is obtained.

[0178] Based on the scenario example and the above content, the first initial bending moment is: The second initial bending moment is: The initial axial force is: .

[0179] Optionally, the first initial bending moment, the second initial bending moment, and the initial axial force can be substituted into each of the second relations in the second relational set to obtain the initial stress corresponding to each feature point on the target pipeline.

[0180] Using a scenario example, when the first initial bending moment... Second initial bending moment and initial axial force Substituting these values ​​into the second relational expressions, we obtain the initial stress as follows:

[0181]

[0182] Right now

[0183]

[0184] in, Characterizes the initial stress and initial axial force corresponding to the i-th feature point on the target pipe. It has a linear relationship with the initial stress.

[0185] Based on the method provided in this embodiment, the corresponding initial stress can be obtained directly by referring to the mathematical relationship between the stress change, the first initial bending moment, the second initial bending moment and the initial axial force. It is not affected by the poor stability of the pipe surface coupling conditions, the anisotropy of the material and the environmental noise, so the accuracy of the obtained initial stress can be improved.

[0186] Figure 8 This is a schematic diagram of the structure of the pipe initial stress treatment device provided in this application, applied to a server, such as... Figure 8 As shown, it includes:

[0187] The response module 81 is used to respond to the initial stress analysis request for the target pipeline to determine the stress change at multiple feature points on the target pipeline at any two time points.

[0188] The processing module 82 is used to obtain a first set of relational expressions by using a pre-constructed stress relational expression and the stress change of multiple feature points at any two times. The first set of relational expressions includes multiple first relational expressions, wherein the first relational expressions are used to characterize the stress change of each feature point.

[0189] The processing module 82 is also used to obtain a second set of relational formulas between the initial stress, initial bending moment and initial axial force corresponding to multiple feature points through stress relational formulas. The second set of relational formulas includes multiple second relational formulas, which are used to characterize the relationship between the initial bending moment, initial axial force and initial stress corresponding to each feature point.

[0190] The processing module 82 is also used to determine the first initial bending moment corresponding to the first direction and the second initial bending moment corresponding to the second direction through the first set of relational expressions;

[0191] Processing module 82 is also used to determine the initial axial force corresponding to the target pipe through the first initial bending moment, the second initial bending moment and the second set of relational expressions;

[0192] The processing module 82 is also used to obtain the initial stress corresponding to each feature point on the target pipeline based on the first initial bending moment, the second initial bending moment, and the initial axial force.

[0193] Optionally, the processing module 82 is specifically used to determine the coordinate data of multiple feature points on the target pipeline on the corresponding target cross section;

[0194] The processing module 82 is also specifically used to determine the cross-sectional curvature corresponding to the target cross-section;

[0195] The processing module 82 is also used to construct a third relationship between bending strain and cross-sectional curvature based on coordinate data and cross-sectional curvature.

[0196] The processing module 82 is also specifically used to determine the bending strain difference value of multiple feature points at any two times based on the third relation.

[0197] The processing module 82 is also specifically used to determine the elastic modulus of the target pipe;

[0198] The processing module 82 is further used to obtain the stress change of multiple feature points at any two times based on the elastic modulus of the target pipeline and the bending strain difference value of multiple feature points at any two times.

[0199] Optionally, the processing module 82 is further used to determine the coefficient matrix and observation vector corresponding to the first set of relations;

[0200] The processing module 82 is further used to simplify the first set of relations through the coefficient matrix and the observation vector to obtain the corresponding matrix equation;

[0201] The processing module 82 is specifically used to solve the matrix equation based on the least squares method to obtain the first initial bending moment and the second initial bending moment.

[0202] Optionally, the processing module 82 is further used to determine the number of corresponding sub-equations and the preset round in the matrix equation;

[0203] The processing module 82 is also specifically used to construct a third-party program group corresponding to the matrix equation by the number of sub-equations and the preset number of rounds;

[0204] Processing module 82 is also specifically used to determine the transpose matrix corresponding to the coefficient matrix;

[0205] The processing module 82 is further used to solve the third process group by transposing the matrix to obtain the first initial bending moment and the second initial bending moment.

[0206] Optionally, the processing module 82 is further used to substitute the first initial bending moment, the second initial bending moment, and the initial axial force into each of the second relational expressions in the second relational expression group to obtain the initial stress corresponding to each feature point on the target pipeline.

[0207] Optionally, the processing module 82 is also used to determine the axial force, cross-sectional area, first coordinate data in the first direction, second coordinate data in the second direction, cross-sectional moment of inertia, first bending moment component in the first direction, and second bending moment component in the second direction of the cross-section corresponding to the target pipe.

[0208] The processing module 82 is also used to determine the ratio between the axial force and the cross-sectional area as a tensile-compressive stress relationship;

[0209] The processing module 82 is also used to determine the first product between the first bending moment component and the first coordinate data, and the second product between the second bending moment component and the second coordinate data;

[0210] The processing module 82 is also used to sum the first product and the second product, and to determine the ratio between the summation result and the moment of inertia of the cross section as the bending stress relationship.

[0211] The processing module 82 is also used to sum the tensile and compressive stress relationship with the bending stress relationship to obtain the stress relationship.

[0212] The pipeline initial stress processing device provided in this embodiment can perform the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.

[0213] Figure 9 A schematic diagram of the structure of the electronic device provided in this application. Figure 9 As shown, the electronic device 50 provided in this embodiment includes at least one processor 501 and a memory 502. Optionally, the electronic device 50 further includes a communication component 503. The processor 501, memory 502, and communication component 503 are connected via a bus.

[0214] In a specific implementation, at least one processor 501 executes computer execution instructions stored in memory 502, causing at least one processor 501 to perform the above-described method.

[0215] The specific implementation process of processor 501 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.

[0216] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.

[0217] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.

[0218] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0219] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.

[0220] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method.

[0221] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.

[0222] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.

[0223] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.

[0224] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0225] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0226] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0227] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0228] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.

Claims

1. A method for treating initial stress in a pipeline, characterized in that, Applied to servers, including: In response to an initial stress analysis request for the target pipeline, the stress changes at multiple feature points on the target pipeline at any two time points are determined. By using the pre-constructed stress relationship and the stress change of the multiple feature points at any two times, a first set of relationships is obtained, wherein the first set of relationships includes multiple first relationships, and the first relationships are used to characterize the stress change of each feature point. Through the stress relationship, a second set of relationships between the initial stress, initial bending moment and initial axial force corresponding to multiple feature points is obtained. The second set of relationships includes multiple second relationships, which are used to characterize the relationship between the initial bending moment, initial axial force and initial stress corresponding to each feature point. The first initial bending moment in the first direction and the second initial bending moment in the second direction are determined by the first set of relationships. The initial axial force corresponding to the target pipeline is determined by the first initial bending moment, the second initial bending moment, and the second set of relationships. Based on the first initial bending moment, the second initial bending moment, and the initial axial force, the initial stress corresponding to each feature point on the target pipeline is obtained.

2. The method according to claim 1, characterized in that, Determining the stress change at multiple feature points on the target pipeline at any two time points includes: Determine the coordinate data of multiple feature points on the target pipeline on the corresponding target cross-section; Determine the cross-sectional curvature corresponding to the target cross-section; Based on the coordinate data and the cross-sectional curvature, a third relationship between bending strain and cross-sectional curvature is constructed; Based on the third relation, the bending strain difference value corresponding to the plurality of feature points at any two times is determined; Determine the elastic modulus of the target pipe; Based on the elastic modulus of the target pipe and the bending strain difference between the multiple feature points at any two times, the stress change at the multiple feature points at any two times is obtained.

3. The method according to claim 1, characterized in that, The step of determining the first initial bending moment in the first direction and the second initial bending moment in the second direction through the first set of relationships includes: Determine the coefficient matrix and observation vector corresponding to the first set of relations; The first set of relations is simplified using the coefficient matrix and the observation vector to obtain the corresponding matrix equation; The matrix equations are solved using the least squares method to obtain the first initial bending moment and the second initial bending moment.

4. The method according to claim 3, characterized in that, The process of solving the matrix equation using the least squares method to obtain the first initial bending moment and the second initial bending moment includes: Determine the number of corresponding sub-equations and the preset round in the matrix equation; The third-party program group corresponding to the matrix equation is constructed by the number of sub-equations and the preset number of rounds; Determine the transpose matrix corresponding to the coefficient matrix; The transpose matrix is ​​used to solve the third equation set to obtain the first initial bending moment and the second initial bending moment.

5. The method according to claim 1, characterized in that, The step of obtaining the initial stress corresponding to each feature point on the target pipeline based on the first initial bending moment, the second initial bending moment, and the initial axial force includes: Substitute the first initial bending moment, the second initial bending moment, and the initial axial force into each of the second relations in the second set of relations to obtain the initial stress corresponding to each feature point on the target pipeline.

6. The method according to claim 1, characterized in that, The process of constructing the stress relationship includes: Determine the axial force, cross-sectional area, first coordinate data of the feature points on the cross-section in the first direction, second coordinate data in the second direction, cross-sectional moment of inertia, first bending moment component in the first direction, and second bending moment component in the second direction corresponding to the target pipeline; The ratio between the axial force and the area of ​​the cross section is determined as the tensile-compressive stress relationship. Determine the first product between the first bending moment component and the first coordinate data, and the second product between the second bending moment component and the second coordinate data; The first product and the second product are summed, and the ratio between the summation result and the moment of inertia of the cross section is determined as the bending stress relationship. The tensile and compressive stress relationships are summed with the bending stress relationship to obtain the stress relationship.

7. A device for treating initial stress in a pipeline, characterized in that, Applied to servers, including: The response module is used to respond to the initial stress analysis request for the target pipeline to determine the stress change at multiple feature points on the target pipeline at any two time points. The processing module is used to obtain a first set of relational expressions by using a pre-constructed stress relational expression and the stress change amount corresponding to the plurality of feature points at any two times. The first set of relational expressions includes a plurality of first relational expressions, wherein the first relational expressions are used to characterize the stress change amount of each feature point. The processing module is also used to obtain a second set of relationships between initial stress, initial bending moment and initial axial force corresponding to multiple feature points through the stress relationship, wherein the second set of relationships includes multiple second relationships, wherein the second relationships are used to characterize the relationship between initial bending moment, initial axial force and initial stress corresponding to each feature point; The processing module is further configured to determine, through the first set of relational expressions, the first initial bending moment corresponding to the first direction and the second initial bending moment corresponding to the second direction; The processing module is also used to determine the initial axial force corresponding to the target pipe through the first initial bending moment, the second initial bending moment and the second set of relations; The processing module is also used to obtain the initial stress corresponding to each feature point on the target pipeline based on the first initial bending moment, the second initial bending moment, and the initial axial force.

8. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-6.

10. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method described in any one of claims 1-6.