Gas pipeline management method, storage medium, and electronic equipment
By obtaining basic information and historical maintenance information of gas pipelines, using pre-trained fault prediction models and fault consequence prediction models to predict possible future fault types and event consequences, and triggering early warning mechanisms based on risk assessment values, gas pipeline management is solved Improve the operation management level and safety of gas pipelines by eliminating the deficiencies in fault prediction and risk assessment.
Patent Information
- Application Number
- CN202410958718.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-17
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-07-17
AI Technical Summary
Existing technology is difficult to effectively manage the operation of gas pipelines, especially in terms of predicting failures and assessing risks, making it difficult to effectively carry out gas safety improvement work.
By obtaining the basic information, historical maintenance information and environmental information of gas pipelines, using pre-trained fault prediction models and fault consequence prediction models, we can predict possible future fault types and event consequences, and trigger an early warning mechanism based on risk assessment values to realize gas Pipeline risk management.
It improves the operation and management level of gas pipelines, can predict failures and assess risks in advance, ensures gas safety, and reduces the possibility of accidents and losses.
Smart Images

Figure CN118499703B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of gas pipelines, and in particular to a gas pipeline management method, a storage medium, and an electronic device. Background Art
[0002] It is necessary to improve the operation and management level of gas pipelines and do a good job in gas safety rectification. Summary of the invention
[0003] The present invention aims to solve one of the technical problems in the related art at least to a certain extent. To this end, the first object of the present invention is to propose a gas pipeline management method to achieve operation management of the gas pipeline.
[0004] A second object of the present invention is to provide a computer-readable storage medium.
[0005] A third objective of the present invention is to provide an electronic device.
[0006] To achieve the above-mentioned purpose, a first aspect of the present invention proposes a gas pipeline management method, including: obtaining basic pipeline information, environmental information, surrounding social information and historical maintenance information of the target gas pipeline within a first preset time in the past, and obtaining target pipeline characteristics based on the historical maintenance information, the environmental information, the surrounding social information and the basic pipeline information; using a pre-trained gas pipeline fault prediction model, predicting the fault type of the target gas pipeline within a second preset time in the future and the failure probability of the fault type based on the parameter value of the target pipeline characteristic; using a pre-constructed gas pipeline fault consequence prediction model, predicting the event consequence caused by the fault type and the consequence probability of the event consequence based on the fault type and the environmental information; obtaining a risk assessment value of the target gas pipeline within the second preset time in the future based on the fault type and its failure probability, the event consequence and its consequence probability, and the surrounding social information; when the risk assessment value is greater than the preset risk threshold, triggering an early warning mechanism.
[0007] In addition, the gas pipeline management method according to the embodiment of the present invention may also have the following additional technical features:
[0008] In one embodiment of the present invention, the target pipeline characteristics are obtained according to the historical maintenance information, the environmental information, the surrounding social information and the pipeline basic information, including: correlating the historical maintenance information, the environmental information, the surrounding social information and the pipeline basic information to obtain a correlation information table; according to the correlation information table, pipeline characteristics related to the target fault type are obtained as the target pipeline characteristics, wherein the pipeline characteristics include but are not limited to pipe age, wall thickness, pipe diameter, pressure, maintenance frequency, and the distance between the maintenance time and the fault time, and the target fault type is but not limited to construction fault, corrosion fault, and sinking fault.
[0009] In one embodiment of the present invention, when training the gas pipeline fault prediction model, if there is a gas pipeline in the training set whose basic pipeline information is missing, the basic pipeline information of the gas pipelines surrounding the missing gas pipeline is used to complete the basic pipeline information of the missing gas pipeline.
[0010] In one embodiment of the present invention, the environmental information includes surface or underground spatial distribution and meteorological conditions, and the consequences of the event include but are not limited to diffusion, aggregation, fire, and explosion after leakage.
[0011] In one embodiment of the present invention, the surrounding social information includes surrounding personnel density and surrounding property density; the risk assessment value of the target gas pipeline is obtained by the following formula:
[0012] P = ρ1 × ρ2 × ,
[0013] Wherein, P represents the risk assessment value, ρ1 represents the surrounding personnel density, ρ2 represents the surrounding property density, and N represents the number of fault types whose predicted fault probability is greater than the first preset probability threshold. represents the failure probability of the i-th fault type, represents the number of event consequences whose consequence probability corresponding to the i-th fault type is greater than the second preset probability threshold, It represents the consequence probability of the jth event consequence corresponding to the i-th fault type.
[0014] In one embodiment of the present invention, the triggering warning mechanism includes: issuing preset warning information to provide a gas pipeline risk warning.
[0015] In one embodiment of the present invention, the trigger warning mechanism includes: using a pre-built risk response decision knowledge base to obtain a corresponding response decision according to the consequences of the event; generating a risk response decision report according to the response decision and the corresponding consequence probability for use in managing the target gas pipeline.
[0016] In one embodiment of the present invention, the risk response decision knowledge base is based on text mining and natural language processing technology to perform semantic recognition analysis on standard specifications, decision plans or enterprise emergency plans related to gas pipelines to obtain the correspondence between event consequences and response decisions.
[0017] To achieve the above-mentioned purpose, a second aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the above-mentioned gas pipeline management method is implemented.
[0018] To achieve the above objectives, a third aspect of the present invention provides an electronic device, comprising a memory, a processor and a computer program stored in the memory, wherein when the computer program is executed by the processor, the above gas pipeline management method is implemented.
[0019] According to the gas pipeline management method, storage medium, and electronic device of the embodiments of the present invention, basic pipeline information of the target gas pipeline and historical maintenance information within the past first preset time are obtained, and target pipeline characteristics are obtained based on the historical maintenance information and the basic pipeline information; a pre-trained gas pipeline fault prediction model is used to predict the fault type and the fault probability of the fault type of the target gas pipeline within the next second preset time according to the target pipeline characteristics; environmental information of the target gas pipeline is obtained, and a pre-built gas pipeline fault consequence prediction model is used to predict the event consequences caused by the fault type and the consequence probability of the event consequences according to the fault type and environmental information; a risk assessment value of the target gas pipeline within the next second preset time is obtained based on the fault type and its fault probability, the event consequences and their consequence probability, and the surrounding social information of the target gas pipeline; when the risk assessment value is greater than the preset risk threshold, an early warning mechanism is triggered to achieve operation management of the gas pipeline.
[0020] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 is a flow chart of a gas pipeline management method according to an embodiment of the present invention;
[0022] Figure 2 is a flow chart of a gas pipeline management method according to some embodiments of the present invention;
[0023] Figure 3 is a flow chart of a gas pipeline management method according to other embodiments of the present invention;
[0024] Figure 4 It is a structural block diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0025] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0026] The following describes the gas pipeline management method, storage medium, and electronic device according to the embodiments of the present invention with reference to the accompanying drawings.
[0027] Figure 1 4 is a flow chart of a gas pipeline management method according to an embodiment of the present invention.
[0028] like Figure 1 As shown, the gas pipeline management method comprises:
[0029] S11, obtaining basic pipeline information, environmental information, surrounding social information and historical maintenance information within a first preset time in the past of the target gas pipeline, and obtaining target pipeline characteristics based on the historical maintenance information, environmental information, surrounding social information and pipeline basic information.
[0030] Specifically, in order to achieve gas safety rectification, we first obtain the basic pipeline information, environmental information, surrounding social information and historical maintenance information within the first preset time in the past of the target gas pipeline. The historical maintenance information includes the fault time, fault type, maintenance method, etc. The basic pipeline information includes the pipeline ID (Identity), location, operating pressure, burial depth, material, etc. of the target gas pipeline. The surrounding social information includes regional population density, road type, traffic flow, building density, rail transit and high-voltage line distribution, etc. The environmental information includes the surface or underground space distribution, meteorological conditions, and may also include soil type, geographical conditions, etc.
[0031] It should be noted that if the historical maintenance information of the target gas pipeline cannot be obtained, the pipeline ID and location of the target gas pipeline may not be obtained. That is to say, when obtaining the pipeline ID and location of each gas pipeline, it can be set to only obtain the pipeline ID and location of the gas pipeline that has had failures in the past.
[0032] After obtaining the historical maintenance information and the basic pipeline information, the historical maintenance information and the basic pipeline information can be analyzed to extract the required target pipeline features.
[0033] S12, using a pre-trained gas pipeline fault prediction model, predicting the fault type and the fault probability of the target gas pipeline that will fail within a second preset time in the future according to the parameter values of the target pipeline characteristics.
[0034] Specifically, in order to establish a gas pipeline fault prediction model, it is necessary to determine the algorithm used to establish the model and the data set used to establish the gas pipeline fault prediction model.
[0035] The model established by the machine learning algorithm used to establish the gas pipeline fault prediction model can use, for example, random forest, support vector machine, neural network, etc.
[0036] In order to obtain the data set used to establish the gas pipeline fault prediction model mentioned above, it is necessary to first obtain the pipeline characteristics and historical fault categories of each gas pipeline used as training data, and then obtain the classification characteristics of each gas pipeline based on the pipeline characteristics, such as pipeline material, pipeline thickness, etc.
[0037] However, both classification features and fault types are text data. In order to enable the computer to recognize them, it is necessary to encode the classification features and each fault type and convert them into numerical data. Then, the above data set is obtained based on the classification features and fault types converted into numerical data.
[0038] After obtaining the data set, the data set is divided into a training set and a test set, and then the training set is used to train the model established according to the above selected machine learning algorithm, and then the test set data is used to evaluate the performance of the trained model, and the accuracy, recall rate, etc. are calculated to evaluate the model performance. After completing the training and testing, the model that passes the test can be used as the above gas pipeline fault prediction model.
[0039] Moreover, in order to more accurately estimate the generalization ability of the model and avoid overfitting, the above dataset can be divided into several subsets through cross-validation to repeatedly train and verify the model.
[0040] In this way, the training of the gas pipeline fault prediction model can be realized.
[0041] After the gas pipeline fault prediction model is trained, if the target pipeline characteristics are obtained, the gas pipeline fault prediction model can be used to analyze the target pipeline characteristics to obtain the fault type and the failure probability of the target gas pipeline within the second preset time in the future.
[0042] As an example, when using a gas pipeline fault prediction model to analyze the target pipeline characteristics, the gas pipeline fault prediction model can be used to first obtain the fault type and fault probability of the gas pipeline under different pipeline characteristics, and then the target pipeline characteristic parameters are matched with the fault type and fault probability. According to the matching results, the fault type and fault probability of the target gas pipeline within a second preset time in the future are obtained.
[0043] As another example, when using a gas pipeline fault prediction model to analyze the target pipeline characteristics, the target pipeline characteristics can be input into the gas pipeline fault prediction model, and the gas pipeline fault prediction model calculates the target pipeline characteristic parameters to obtain the fault type and failure probability of the target gas pipeline failing within a second preset time in the future.
[0044] Moreover, since the relationship between the probability of gas pipeline failure and the target pipeline characteristics is usually time-series-varying, for example, the probability of gas pipeline leakage will change with the service life. For another example, for the failure of gas pipeline bending, deformation and leakage caused by road collapse after heavy rain, for a certain area, heavy rain is seasonal, and the characteristic is a piecewise function characteristic. Therefore, the above-mentioned target pipeline characteristics can be obtained to obtain target pipeline characteristics that change with time series, and then the time-series-varying target pipeline characteristics are input into the gas pipeline fault prediction model. The gas pipeline fault prediction model can predict the probability of a certain type of fault occurring in the target gas pipeline at any time in the second preset time in the future based on the time-series-varying target pipeline characteristics, that is, obtain the time-varying fault probability of a certain fault type, so as to make advance diagnosis of current and future faults of the gas pipeline.
[0045] S13, using the pre-built gas pipeline fault consequence prediction model, predict the event consequence caused by the fault type and the consequence probability of the event consequence according to the fault type and environmental information.
[0046] The consequences of the above incidents include but are not limited to diffusion, accumulation, fire and explosion after gas leakage.
[0047] Specifically, in order to predict the consequences of events and the probability of consequences based on the fault type and environmental information, it is necessary to build a gas pipeline fault consequence prediction model to predict the fault development path when a fault occurs.
[0048] In order to build a gas pipeline failure consequence prediction model, we first extract the scenario elements of gas pipeline accident damage types (excavation construction damage, aging corrosion damage, etc.), environmental information (surface / underground spatial distribution, meteorological conditions, etc.), disaster-causing processes (diffusion, aggregation, ignition, explosion, damage, etc.) from different source data based on gas accident cases, enterprise scenario construction, accident chain mechanism research, etc., and construct an elemental representation of the accident evolution process.
[0049] After that, the above-mentioned scenario elements are data-encoded, that is, converted into digital information that can be recognized by computers.
[0050] After data encoding of scenario elements, a predetermined machine learning algorithm is used to build a gas pipeline failure consequence prediction model through correlation analysis and training between different fault types, environmental information and other elements. The frequency analysis of downstream evolution nodes of the same node in the evolution chain is combined to determine the evolution probability between nodes, so as to realize the rapid construction of the risk event consequence evolution chain under specific fault types and environmental elements input, and output possible evolution paths, consequences and probabilities.
[0051] Therefore, the construction of a gas pipeline failure consequence prediction model can be realized.
[0052] After constructing the gas pipeline failure consequence prediction model, the gas pipeline failure consequence prediction model can be combined with the above-mentioned gas pipeline failure prediction model to achieve dynamic prediction of the damage types that may exist in the gas pipeline at different periods and the disaster-causing processes such as diffusion, combustion and explosion that may occur after the damage.
[0053] Specifically, after the gas pipeline failure consequence prediction model is constructed, if the fault type and the fault probability of the fault type output by the above-mentioned gas pipeline failure prediction model are received, the event evolution process can be predicted based on the fault type, according to the above-mentioned gas pipeline failure consequence prediction model, and combined with environmental information, so as to predict the event consequence. For example, if the fault type is damage caused by third-party construction of the gas pipeline, then combined with environmental information such as the construction type and surrounding environmental information, the consequences such as jet fire and atmospheric diffusion can be evolved, which will lead to casualties and social impact. For another example, if the fault type is that the service life of a buried gas pipeline at a certain time exceeds 30 years, then the probability of aging corrosion leakage is very high, and because it is buried, there is a high probability of soil leakage. If there are drainage and power pipelines close to it, the leaked gas may diffuse into these spaces through the soil, and further explode under the action of gas accumulation and ignition, resulting in casualties, property losses, and social impact. Moreover, while obtaining the event consequence, the consequence probability of the event consequence can also be obtained.
[0054] S14, obtaining a risk assessment value of the target gas pipeline within a second preset time in the future according to the fault type and its fault probability, the event consequence and its consequence probability, and the surrounding social information.
[0055] S15, when the risk assessment value is greater than the preset risk threshold, the early warning mechanism is triggered.
[0056] Therefore, by obtaining the basic pipeline information of the target gas pipeline and the historical maintenance information within the first preset time in the past, and obtaining the target pipeline characteristics based on the historical maintenance information and the basic pipeline information; using the pre-trained gas pipeline fault prediction model, according to the target pipeline characteristics, predict the fault type and the failure probability of the fault type of the target gas pipeline within the second preset time in the future; obtain the environmental information of the target gas pipeline, and use the pre-built gas pipeline failure consequence prediction model to predict the event consequences caused by the fault type and the consequence probability of the event consequences according to the fault type and environmental information; obtain the risk assessment value of the target gas pipeline within the second preset time in the future based on the fault type and its failure probability, the event consequences and their consequence probability, and the surrounding social information of the target gas pipeline; when the risk assessment value is greater than the preset risk threshold, trigger the early warning mechanism, thereby realizing the operation management of the gas pipeline.
[0057] In some embodiments of the present invention, see Figure 2 , according to historical maintenance information, environmental information, surrounding social information and pipeline basic information, the target pipeline characteristics are obtained, including:
[0058] S21, historical maintenance information, environmental information, surrounding social information and pipeline basic information are associated to obtain an associated information table.
[0059] S22, obtaining pipeline features related to the target fault type according to the association information table as target pipeline features.
[0060] Among them, pipeline characteristics include but are not limited to pipe age, wall thickness, pipe diameter, pressure, maintenance frequency, and the distance between maintenance time and failure time. Target failure types include but are not limited to construction failure, corrosion failure, and sinking failure.
[0061] Since the above-mentioned pipeline basic information and historical maintenance information cannot fully display all pipeline characteristics of the target gas pipeline, for example, some information such as pipeline age, maintenance frequency, and distance from failure in maintenance records are not directly shown in the above-mentioned pipeline basic information and historical maintenance information, therefore, in order to obtain pipeline characteristics not included in the pipeline basic information and historical maintenance information, the historical maintenance information and the pipeline basic information can be associated to obtain an associated information table.
[0062] The above association refers to determining the corresponding relationship between different data sources and merging data association through field association mapping. When performing association, the target gas pipeline can be used as the main body to collect relevant historical maintenance information, environmental information, surrounding social information and pipeline basic information to obtain an association information table. When the above information is associated with the target gas pipeline as the main body, the pipeline name of the gas pipeline corresponding to the above information or the spatial location of the gas pipeline corresponding to the above information can be obtained, and then the association can be performed based on the pipeline name or spatial location.
[0063] The obtained associated information table can refer to the specific examples shown in Table 1, Table 2, and Table 3 below, where Table 1 is an emergency repair information table.
[0064] Table 1
[0065] Serial number unit date Team Leader member Event Details Associated pipeline ID Part (point) Rectification completion time Rectification Funds Corrective measures Emergency Plan Actual completion time Acceptance time Acceptance results 1 Pipeline Station 2006 / 12 / 27 Pei Grab three The inlet pipe is sinking and leaking rq100001 35-1-101 2006 / 12 / 27 none Fastening repair none 12:30 12:30 Fixed
[0066] Table 2 is the basic information table of gas pipelines.
[0067] Table 3 is the data table connection.
[0068] Table 2
[0069]
[0070] Table 3
[0071] Data No. Pipeline Type Pipeline Number Object Identifier Starting point number End point number Starting point elevation End elevation Starting point depth Key burial depth diameter Wall thickness Material Date of burial Pipeline pressure Part (point) Corrective measures Rectification completion time 0 natural gas rq100001 1605767 TQ1110260025 TQ1110260026 19.30900002 19.54500008 -140 -140 508 4 Galvanized steel pipe 20111026 Medium pressure B The inlet pipe is sinking and leaking Fastening repair 2006 / 12 / 27
[0072] After obtaining the associated information table, the data in the associated information table can be processed, such as using business knowledge, expert opinions, etc. to select pipeline features that may be related to the target fault type from the associated information table and encode and classify each pipeline feature.
[0073] In order to obtain pipeline features that are not included in the basic pipeline information and historical maintenance information, after obtaining the pipeline features that may be related to the target fault type in the associated information table, statistical analysis methods, expert opinions or application of data mining techniques, such as descriptive statistics, frequency distribution, cross-tabulation, etc., can be used to explore pipeline features related to the target fault type. For example, the installation date can be subtracted from the current date to obtain the pipeline age, thereby exploring pipeline features related to the target fault type.
[0074] The following is an example shown in Table 4 to illustrate the pipeline features related to the above-mentioned exploration target fault type.
[0075] Table 4
[0076]
[0077] It can be seen that there is a certain relationship between the leakage of this type of gas pipeline and the age of the pipe. As the age of the pipe increases, the leakage frequency conforms to the bathtub principle curve, showing a trend of first decreasing and then increasing. It is believed that there is a certain relationship between the age of the pipe and corrosion leakage. Furthermore, by analyzing the fault trend under the changes of wall thickness, pipe diameter, pressure and other data, the pipeline characteristics of potential different fault types can be screened.
[0078] After obtaining the pipeline feature corresponding to the target fault type, the pipeline feature can be used as the target pipeline feature.
[0079] Therefore, it is possible to determine whether the data has a strong correlation with a certain fault through the analysis of data changes and fault trends, and then screen out these features. For example, in Table 4 above, the pipe age and leakage frequency show a strong correlation of the bathtub curve, so the pipe age can be used as a feature of pipeline leakage failure. Similarly, wall thickness corresponds to pipeline corrosion failure, etc.
[0080] In some embodiments of the present invention, when training a gas pipeline fault prediction model, if there is a gas pipeline in the training set whose basic pipeline information is missing, the basic pipeline information of the missing gas pipeline is supplemented using the basic pipeline information of the gas pipelines surrounding the missing gas pipeline.
[0081] Specifically, after obtaining the above pipeline basic information and historical maintenance information, it is necessary to preliminarily process the pipeline basic information and historical maintenance information to obtain information with practical application value, so as to obtain the target pipeline characteristics based on the preliminarily processed pipeline basic information and historical maintenance information.
[0082] Among them, the above preliminary processing includes data cleaning and structured processing of pipeline basic information and historical maintenance information. For example, the pipeline basic information and historical maintenance information can be processed by missing value processing, outlier detection, data consistency analysis and other methods. For example, if the burial time of urban underground gas pipelines is missing, the mode of the burial time of surrounding gas pipelines with the same pressure and diameter can be used instead. If the corresponding burial time is obviously inconsistent with the actual situation, for example, the burial time of the gas pipeline is earlier than 1985, it is considered that the burial time is missing.
[0083] In some embodiments of the present invention, the surrounding social information includes the surrounding population density and the surrounding property density; the risk assessment value of the target gas pipeline is obtained by the following formula:
[0084] P = ρ1 × ρ2 × ,
[0085] Wherein, P represents the risk assessment value, ρ1 represents the surrounding personnel density, ρ2 represents the surrounding property density, and N represents the number of fault types whose predicted fault probability is greater than the first preset probability threshold. represents the failure probability of the i-th fault type, represents the number of event consequences whose consequence probability corresponding to the i-th fault type is greater than the second preset probability threshold, It represents the consequence probability of the jth event consequence corresponding to the i-th fault type.
[0086] In some embodiments of the present invention, triggering the early warning mechanism includes: issuing preset early warning information to provide a gas pipeline risk early warning.
[0087] In some embodiments of the present invention, see Figure 3 , triggering early warning mechanisms, including:
[0088] S31, using the pre-built risk response decision knowledge base to obtain corresponding response decisions according to the consequences of the event.
[0089] S32, generating a risk response decision report according to the response decision and the corresponding consequence probability, so as to be used for managing the target gas pipeline.
[0090] Specifically, after the early warning mechanism is triggered, you can also choose to use the pre-built risk response decision knowledge base to obtain a response decision, and then manage the target gas pipeline according to the response decision. You can also set up intelligent matching of risk response decisions, intelligent release of risk response decisions, and automatic generation of risk response decision reports.
[0091] The above-mentioned intelligent matching of risk response decisions refers to the automatic matching of the risk response decision knowledge base according to the potential fault types, possible consequence evolution paths, possible event consequences, severity of consequences, etc. of the target gas pipeline, and the output of different response decisions, including maintenance, monitoring, replacement, reinforcement and other measures.
[0092] The above-mentioned intelligent release of risk response decisions refers to the response decisions obtained based on the intelligent matching of the above-mentioned risk response decisions, combined with the above-mentioned risk assessment values, determining the priority according to the risk assessment values, and intelligently issuing the response decisions.
[0093] The automatic generation of the above-mentioned risk response decision report refers to the construction of the risk report intelligent output function based on the above-mentioned gas pipeline fault analysis, combined with NLP (Natural Language Processing), information extraction, machine learning and other methods, and the output of the risk response decision report based on user opinions. In other words, it is necessary to output a decision report based on the above-mentioned gas pipeline fault analysis, and the report content includes the fault type, possible evolution path, possible event consequences, consequence probability, risk level, response decisions at each stage and other contents.
[0094] In some embodiments of the present invention, the risk response decision knowledge base is based on text mining and natural language processing technology, and performs semantic recognition and analysis on standard specifications, decision plans or enterprise emergency plans related to gas pipelines to obtain the correspondence between event consequences and response decisions.
[0095] Specifically, in order to build a risk response decision knowledge base, text mining and natural language processing technology can be used to perform text and semantic recognition analysis on standards, specifications, decision-making plans, and enterprise emergency plans related to gas detection, maintenance, and emergency repairs, extract gas pipeline network information from the text, identify keywords, and record entity semantic relationships. For example, from the standard specifications, "When a gas facility catches fire, the fire should be controlled by cutting off the gas source or reducing the pressure, and negative pressure should be prevented", and "When a gas leak explodes, the gas source and fire should be quickly controlled to prevent secondary disasters", keywords such as "gas facility fire", "cut off the gas source", "reduce pressure", and "prevent negative pressure" are extracted. Based on the semantic association between the "fire" entity and various tasks and measures, a gas pipeline network risk response decision knowledge base based on numerous standard specifications, decision-making plans, enterprise emergency plans, and other regulations is constructed. Data extraction sources include but are not limited to gas operation and maintenance inspection standards and specifications, enterprise operation and maintenance procedures, accident emergency plans, local industry requirements, etc.
[0096] In view of the problems of complex content, numerous requirements and different structures of standards and regulations in the above standards, specifications, decision-making plans and enterprise emergency plans, based on the risk response decision knowledge base, machine learning algorithms and cluster analysis are used to associate and classify entities in the knowledge base, and combined with the gas pipeline failure prediction model and the gas pipeline failure consequence prediction model, supervised learning or semi-supervised learning is used to train and predict the text analysis model, and the corresponding decisions at different stages of the leakage risk event are displayed in the form of knowledge graphs. For example, the node entities of gas leakage, diffusion, combustion and explosion in the gas pipeline risk event process correspond to the task entities of rescue, release, fire control and explosion control, and respectively correspond to measures and decision entities such as "assisting the public security, fire protection and other relevant departments in rescue, protecting the scene and evacuating personnel", "repair of gas facility leakage should be carried out after pressure reduction or gas stop", "in case of fire, the fire should be controlled by cutting off the gas source or reducing the pressure, and negative pressure should be prevented", "after the explosion, the gas source and fire should be quickly controlled to prevent secondary disasters". Realize the structured and intelligent display of entity relationships and response decisions.
[0097] In some embodiments of the present invention, new historical maintenance information is acquired every third preset time, and the gas pipeline fault prediction model is updated based on the new historical maintenance information.
[0098] In summary, the gas pipeline management method of the embodiment of the present invention obtains the basic pipeline information of the target gas pipeline and the historical maintenance information within the first preset time in the past, and obtains the target pipeline characteristics according to the historical maintenance information and the basic pipeline information; uses a pre-trained gas pipeline fault prediction model to predict the fault type and the failure probability of the fault type of the target gas pipeline within the second preset time in the future according to the target pipeline characteristics; obtains the environmental information of the target gas pipeline, and uses a pre-built gas pipeline fault consequence prediction model to predict the event consequences caused by the fault type and the consequence probability of the event consequences according to the fault type and environmental information; obtains the risk assessment value of the target gas pipeline within the second preset time in the future according to the fault type and its failure probability, the event consequences and its consequence probability, and the surrounding social information of the target gas pipeline; when the risk assessment value is greater than the preset risk threshold, triggers the early warning mechanism, thereby realizing the operation management of the gas pipeline.
[0099] Furthermore, the present invention provides a computer-readable storage medium.
[0100] In an embodiment of the present invention, a computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned gas pipeline management method is implemented.
[0101] The computer-readable storage medium of the embodiment of the present invention, by implementing the above-mentioned gas pipeline management method, obtains the basic pipeline information of the target gas pipeline and the historical maintenance information within the first preset time in the past, and obtains the target pipeline characteristics based on the historical maintenance information and the basic pipeline information; uses a pre-trained gas pipeline fault prediction model to predict the fault type and the failure probability of the fault type of the target gas pipeline within the second preset time in the future according to the target pipeline characteristics; obtains the environmental information of the target gas pipeline, and uses a pre-built gas pipeline fault consequence prediction model to predict the event consequences caused by the fault type and the consequence probability of the event consequences according to the fault type and environmental information; obtains the risk assessment value of the target gas pipeline within the second preset time in the future according to the fault type and its failure probability, the event consequences and its consequence probability, and the surrounding social information of the target gas pipeline; when the risk assessment value is greater than the preset risk threshold, triggers the early warning mechanism, thereby realizing the operation management of the gas pipeline.
[0102] Furthermore, the present invention provides an electronic device.
[0103] Figure 4 It is a structural block diagram of an electronic device according to an embodiment of the present invention.
[0104] like Figure 4As shown, the electronic device 500 includes: a processor 501 and a memory 503. The processor 501 and the memory 503 are connected, such as through a bus 502. Optionally, the electronic device 500 may also include a transceiver 504. It should be noted that in actual applications, the transceiver 504 is not limited to one, and the structure of the electronic device 500 does not constitute a limitation on the embodiments of the present invention.
[0105] The processor 501 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of the present invention. The processor 501 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0106] The bus 502 may include a path to transmit information between the above components. The bus 502 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 502 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0107] The memory 503 is used to store a computer program corresponding to the gas pipeline management method of the above embodiment of the present invention, and the computer program is controlled and executed by the processor 501. The processor 501 is used to execute the computer program stored in the memory 503 to implement the content shown in the above method embodiment.
[0108] Figure 4 The electronic device 500 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0109] The electronic device of the embodiment of the present invention, by implementing the above-mentioned gas pipeline management method, obtains the basic pipeline information of the target gas pipeline and the historical maintenance information within the first preset time in the past, and obtains the target pipeline characteristics according to the historical maintenance information and the basic pipeline information; uses a pre-trained gas pipeline fault prediction model to predict the fault type and the fault probability of the fault type of the target gas pipeline within the second preset time in the future according to the target pipeline characteristics; obtains the environmental information of the target gas pipeline, and uses a pre-built gas pipeline fault consequence prediction model to predict the event consequences caused by the fault type and the consequence probability of the event consequences according to the fault type and environmental information; obtains the risk assessment value of the target gas pipeline within the second preset time in the future according to the fault type and its fault probability, the event consequences and its consequence probability, and the surrounding social information of the target gas pipeline; when the risk assessment value is greater than the preset risk threshold, triggers the early warning mechanism, thereby realizing the operation management of the gas pipeline.
[0110] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0111] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0112] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0113] In the description of the present invention, it is to be understood that the terms “center”, “longitudinal”, “lateral”, “length”, “width”, “thickness”, “up”, “down”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, “clockwise”, “counterclockwise”, “axial”, “radial”, “circumferential”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.
[0114] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0115] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0116] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.
[0117] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A gas pipeline management method, characterized in that: include: Obtaining basic pipeline information, environmental information, surrounding social information, and historical maintenance information within a first preset time period of the target gas pipeline, and obtaining target pipeline characteristics based on the historical maintenance information, the environmental information, the surrounding social information, and the pipeline basic information; Using a pre-trained gas pipeline fault prediction model, predicting the fault type and the fault probability of the fault type that will occur in the target gas pipeline within a second preset time in the future according to the parameter value of the target pipeline characteristic; Using a pre-built gas pipeline fault consequence prediction model, the event consequence caused by the fault type and the consequence probability of the event consequence are predicted according to the fault type and the environmental information; Obtaining a risk assessment value of the target gas pipeline within the second preset time in the future according to the fault type and its fault probability, the event consequence and its consequence probability, and the surrounding social information; When the risk assessment value is greater than the preset risk threshold, an early warning mechanism is triggered; The surrounding social information includes surrounding population density and surrounding property density; The risk assessment value of the target gas pipeline is obtained by the following formula: P=ρ1×ρ2× , Wherein, P represents the risk assessment value, ρ1 represents the surrounding personnel density, ρ2 represents the surrounding property density, and N represents the number of fault types whose predicted fault probability is greater than the first preset probability threshold. represents the failure probability of the i-th fault type, represents the number of event consequences whose consequence probability corresponding to the i-th fault type is greater than the second preset probability threshold, It represents the consequence probability of the jth event consequence corresponding to the i-th fault type.
2. The gas pipeline management method according to claim 1, characterized in that: The obtaining of target pipeline characteristics according to the historical maintenance information, the environmental information, the surrounding social information and the pipeline basic information includes: Associating the historical maintenance information, the environmental information, the surrounding social information and the pipeline basic information to obtain an associated information table; According to the associated information table, pipeline characteristics related to the target fault type are obtained as the target pipeline characteristics, wherein the pipeline characteristics include but are not limited to pipe age, wall thickness, pipe diameter, pressure, maintenance frequency, and the distance between the maintenance time and the fault time, and the target fault type is but not limited to construction failure, corrosion failure, and sinking failure.
3. The gas pipeline management method according to claim 2, characterized in that: When training the gas pipeline fault prediction model, if there is a gas pipeline in the training set whose basic pipeline information is missing, the basic pipeline information of the missing gas pipeline is supplemented by using the basic pipeline information of the gas pipelines surrounding the missing gas pipeline.
4. The gas pipeline management method according to claim 1, characterized in that: The environmental information includes the distribution of surface or underground space and meteorological conditions, and the consequences of the event include but are not limited to diffusion, accumulation, fire, and explosion consequences after gas leakage.
5. The gas pipeline management method according to claim 1, characterized in that: The trigger warning mechanism includes: Issue preset warning information to provide early warning of gas pipeline risks.
6. The gas pipeline management method according to claim 4, characterized in that: The trigger warning mechanism includes: Use the pre-built risk response decision knowledge base to obtain corresponding response decisions based on the consequences of the event; A risk response decision report is generated according to the response decision and the corresponding consequence probability for use in managing the target gas pipeline.
7. The gas pipeline management method according to claim 6, characterized in that: The risk response decision knowledge base is based on text mining and natural language processing technology, and performs semantic recognition and analysis on standard specifications, decision plans or enterprise emergency plans related to gas pipelines to obtain the corresponding relationship between event consequences and response decisions.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the gas pipeline management method according to any one of claims 1 to 7 is implemented.
9. An electronic device comprising a memory, a processor and a computer program stored in the memory, characterized in that: When the computer program is executed by the processor, the gas pipeline management method according to any one of claims 1 to 7 is implemented.
