Pipeline data association method and device

By acquiring and classifying data from multiple pipeline data servers, the target data association model is built based on knowledge base rules, which solves the problem of insufficient data association in the information system and expands the types and utilization efficiency of business processes.

CN113515542BActive Publication Date: 2024-10-29PETROCHINA CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010273883.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-04-09
Publication Date
2024-10-29
Estimated Expiration
2040-04-09

AI Technical Summary

Technical Problem

The pipeline data stored in existing information systems has not been fully utilized, resulting in fewer types of business processes and the inability to effectively correlate data from multiple information systems.

Method used

By acquiring data from multiple pipeline data servers, performing classification processing and data association, an initial data association model is constructed based on the data association rules stored in the knowledge base, and the target data association model is obtained through optimization processing to represent the association between multiple types of pipeline data. relation.

Benefits of technology

It realizes the correlation of data from multiple information systems, expands the types of business processes, and improves the utilization efficiency of information systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113515542B_ABST
    Figure CN113515542B_ABST
Patent Text Reader

Abstract

The present application discloses a pipeline data association method and device, belonging to the field of computer technology. The method includes: obtaining pipeline data stored in each pipeline data server among multiple pipeline data servers; classifying and processing the pipeline data stored in each pipeline data server to obtain multiple categories of pipeline data; based on multiple data association rules corresponding to multiple business processes stored in a knowledge base, associating various types of pipeline data in the multiple categories of pipeline data to obtain an initial data association model; based on the verification rules stored in the knowledge base, optimizing the initial data association model to obtain a target data association model. Through the target data association model, business processes related to a certain information system can be carried out, and business processes related to two (or more) information systems can also be carried out, thereby increasing the types of business processes carried out using the established information system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a pipeline data association method and device. Background Art

[0002] With the continuous development of computer technology, major pipeline companies have established a series of data-centric information systems, including pipeline life cycle databases and pipeline integrity management systems, and have accumulated a certain amount of data assets.

[0003] At present, the application of pipeline data stored in the information system is mainly to establish associations with the pipeline data stored in the information system to support the management of business processes related to the information system.

[0004] However, currently only business processes related to a certain information system can be carried out, and it is impossible to fully utilize the pipeline data stored in various established information systems, resulting in a small number of business processes currently carried out using established information systems. Summary of the invention

[0005] The embodiment of the present application provides a pipeline data association method and device, which can solve the technical problem that the types of business processes carried out by the existing information system are relatively few. The technical solution is as follows:

[0006] In one aspect, a method for associating pipeline data is provided, which is applied to an associating server, and the method comprises:

[0007] Obtaining pipeline data stored in each pipeline data server among a plurality of pipeline data servers;

[0008] Classify the acquired pipeline data stored in each pipeline data server to obtain multiple categories of pipeline data;

[0009] Based on a plurality of data association rules corresponding to a plurality of business processes stored in a knowledge base, various types of pipeline data in the plurality of types of pipeline data are associated to obtain an initial data association model;

[0010] Based on the verification rules stored in the knowledge base, the initial data association model is optimized to obtain a target data association model, where the target data association model is used to characterize an association relationship between at least two types of pipeline data among the multiple types of pipeline data.

[0011] Optionally, based on the verification rules stored in the knowledge base, the initial data association model is optimized to obtain a target data association model, including:

[0012] Based on the verification rule, the initial data association model is optimized multiple times to obtain the target data association model, wherein each optimization process includes:

[0013] Based on the verification rules, performing data accuracy detection on the initial data association model;

[0014] If it is determined that an error occurs in the process of acquiring the pipeline data stored in a certain pipeline data server, prompt information indicating that an error occurs in acquiring the pipeline data stored in the certain pipeline data server is sent to the terminal, and the terminal is used to send a re-entry instruction to the associated server based on the prompt information;

[0015] Based on the re-entry instruction, the pipeline data stored in the certain server is retrieved.

[0016] Optionally, the multiple pipeline data servers include at least two pipeline data servers to be selected, and the at least two pipeline data servers to be selected both store the specified pipeline data;

[0017] After the initial data association model is tested for data accuracy based on the verification rule, the optimization process further includes:

[0018] If it is determined that the designated pipeline data stored in the candidate pipeline data server among the at least two pipeline servers to be selected does not have an error, then the error data in the acquired pipeline data is deleted, and the error data is the designated data stored in the pipeline server other than the candidate pipeline server among the at least two pipeline servers to be selected.

[0019] Optionally, the acquired pipeline data stored in each pipeline data server is classified to obtain multiple types of pipeline data, including:

[0020] Detecting the data type of the pipeline data;

[0021] If the pipeline data is structured data, then based on the attribute information carried by the structured data, the structured data is subjected to regularization and classification processing to classify the structured data;

[0022] If the pipeline data is unstructured data, classifying the unstructured data based on a label corresponding to the unstructured data to classify the unstructured data;

[0023] If the pipeline data is time series data, the time series data is categorized based on a joint primary key in a time series data model corresponding to the time series data to classify the time series data.

[0024] Optionally, the multiple categories of pipeline data include: a master data category, a transaction data category, and an indicator data category.

[0025] On the other hand, a pipeline data association device is provided, which is applied to an association server, and the device includes:

[0026] An acquisition module, used for acquiring pipeline data stored in each pipeline data server among a plurality of pipeline data servers;

[0027] A classification processing module, used for classifying and processing the acquired pipeline data stored in each pipeline data server to obtain multiple categories of pipeline data;

[0028] an association module, configured to associate various types of pipeline data among the multiple types of pipeline data based on a plurality of data association rules corresponding to a plurality of business processes stored in a knowledge base, so as to obtain an initial data association model;

[0029] The optimization module is used to optimize the initial data association model based on the verification rules stored in the knowledge base to obtain a target data association model, wherein the target data association model is used to characterize the association relationship between at least two types of pipeline data among the multiple types of pipeline data.

[0030] Optionally, the optimization module is specifically used to: perform multiple optimization processes on the initial data association model based on the verification rule to obtain the target data association model, wherein each optimization process includes:

[0031] Based on the verification rules, performing data accuracy detection on the initial data association model;

[0032] If it is determined that an error occurs in the process of acquiring the pipeline data stored in a certain pipeline data server, prompt information indicating that an error occurs in acquiring the pipeline data stored in the certain pipeline data server is sent to the terminal, and the terminal is used to send a re-entry instruction to the associated server based on the prompt information;

[0033] Based on the re-entry instruction, the pipeline data stored in the certain server is retrieved.

[0034] Optionally, the multiple pipeline data servers include at least two pipeline data servers to be selected, and the at least two pipeline data servers to be selected both store the specified pipeline data;

[0035] After the initial data association model is tested for data accuracy based on the verification rule, the optimization process further includes:

[0036] If it is determined that the designated pipeline data stored in the candidate pipeline data server among the at least two pipeline servers to be selected does not have an error, then the error data in the acquired pipeline data is deleted, and the error data is the designated data stored in the pipeline server other than the candidate pipeline server among the at least two pipeline servers to be selected.

[0037] Optionally, the classification processing module is specifically used to:

[0038] Detecting the data type of the pipeline data;

[0039] If the pipeline data is structured data, then based on the attribute information carried by the structured data, the structured data is subjected to regularization and classification processing to classify the structured data;

[0040] If the pipeline data is unstructured data, classifying the unstructured data based on a label corresponding to the unstructured data to classify the unstructured data;

[0041] If the pipeline data is time series data, the time series data is categorized based on a joint primary key in a time series data model corresponding to the time series data to classify the time series data.

[0042] Optionally, the multiple categories of pipeline data include: a master data category, a transaction data category, and an indicator data category.

[0043] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:

[0044] By acquiring multiple categories of pipeline data stored in multiple pipeline data servers, and based on multiple data association rules corresponding to multiple business processes, a target data association model for characterizing the association relationship between at least two categories of pipeline data in the multiple categories of pipeline data can be obtained. Since the target data association model in the present application is constructed based on multiple data association rules corresponding to multiple business processes, the possible association relationship between multiple categories of pipeline data stored in multiple pipeline data servers is constructed, therefore, through the target data association model, both the business process related to a certain information system (that is, the pipeline data server) and the business process related to two (or more) information systems can be carried out, and then the pipeline data stored in each established information system can be fully utilized, thereby increasing the types of business processes carried out using the established information system. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0046] Figure 1 It is a structural schematic diagram of a pipeline data association system involved in a pipeline data association method provided in an embodiment of the present application;

[0047] Figure 2 is a flow chart of a pipeline data association method provided in an embodiment of the present application;

[0048] Figure 3 is a flow chart of another pipeline data association method provided in an embodiment of the present application;

[0049] Figure 4 It is a schematic diagram of the format of unstructured data provided in an embodiment of the present application;

[0050] Figure 5 It is a schematic diagram of a storage method of unstructured data provided in an embodiment of the present application;

[0051] Figure 6 It is a schematic diagram of a hierarchical structure of multiple types of pipeline data provided by an embodiment of the present application;

[0052] Figure 7 It is a structural block diagram of a pipeline data association device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0053] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0054] Please refer to Figure 1 , Figure 1 1 is a schematic diagram of the structure of a pipeline data association system involved in a pipeline data association method provided in an embodiment of the present application. The pipeline data association system 100 may include: an association server 101 and multiple pipeline data servers 102. A communication connection is established between the association server 101 and each pipeline data server 102. It should be noted that the so-called communication connection in the embodiment of the present application may be a communication connection established through a wired network or a wireless network.

[0055] The associated server 101 and each pipeline data server 102 may be a single server, or a server cluster consisting of a plurality of servers.

[0056] The pipeline data server 102 may also be referred to as an information system, which may store pipeline data. For example, the plurality of pipeline data servers 102 include: a PCM system, a PPS system, a PIS system, and an ERP system.

[0057] Please refer to Figure 2 , Figure 2 is a flow chart of a pipeline data association method provided in an embodiment of the present application, and the pipeline data association method is applied to Figure 1 The associated server 101 in the pipeline data associated system 100 is shown. The pipeline data associated method may include the following steps:

[0058] Step 201: Obtain pipeline data stored in each pipeline data server among multiple pipeline data servers.

[0059] Step 202: Classify the acquired pipeline data stored in each pipeline data server to obtain multiple categories of pipeline data.

[0060] Step 203 : Based on a plurality of data association rules corresponding to a plurality of business processes stored in the knowledge base, various types of pipeline data in the plurality of types of pipeline data are associated to obtain an initial data association model.

[0061] Step 204: Based on the verification rules stored in the knowledge base, the initial data association model is optimized to obtain a target data association model. The target data association model is used to characterize the association relationship between at least two types of pipeline data among the multiple types of pipeline data.

[0062] In summary, the pipeline data association method provided in the embodiment of the present application can obtain a target data association model for characterizing the association relationship between at least two types of pipeline data in the multiple types of pipeline data by acquiring multiple types of pipeline data stored in multiple pipeline data servers and based on multiple data association rules corresponding to multiple business processes. Since the target data association model in the present application is constructed based on multiple data association rules corresponding to multiple business processes, the possible association relationship between multiple types of pipeline data stored in multiple pipeline data servers is obtained. Therefore, the target data association model can be used to carry out business processes related to a certain information system (that is, pipeline data server) or business processes related to two (or more) information systems, and then the pipeline data stored in each established information system can be fully utilized, thereby increasing the types of business processes carried out using the established information system.

[0063] Please refer to Figure 3 , Figure 3is a flowchart of another pipeline data association method provided in an embodiment of the present application. The pipeline data association method is applied to Figure 1 The associated server 101 in the pipeline data associated system 100 is shown. The pipeline data associated method may include the following steps:

[0064] Step 301: Obtain pipeline data stored in each pipeline data server among multiple pipeline data servers.

[0065] In an embodiment of the present application, the associated server can obtain pipeline data stored in each pipeline data server of the multiple pipeline data servers. Optionally, the pipeline data server can also become an information system, and the multiple pipeline data servers can include: PCM system, PPS system, PIS system and ERP system, etc.

[0066] It should be noted that the types of pipeline data stored in each pipeline data server can be divided into: structured data, unstructured data and time series data. Since the associated server obtains structured data, unstructured data and time series data in different ways, the embodiments of the present application are schematically described in terms of the ways of obtaining structured data, unstructured data and time series data respectively.

[0067] First, regarding the way in which the associated server obtains structured data, the structured data may also be referred to as row data, which is data logically expressed and implemented by a two-dimensional table structure, and strictly follows the data format and length specifications. In an embodiment of the present application, the way in which the associated server obtains structured data may include the following steps:

[0068] Step S1: verify the pipeline data stored in each pipeline data server.

[0069] In an embodiment of the present application, the associated server may perform data verification on the pipeline data stored in each pipeline data server based on data quality settings such as data type and numerical characteristics, thereby ensuring the accuracy of the pipeline data obtained by the associated server.

[0070] Step S2: Clean the pipeline data stored in each pipeline data server.

[0071] In the embodiment of the present application, the associated server can delete some null value data in the pipeline data stored in each pipeline data server based on the data cleaning rules stored in the knowledge base, and perform a unified transformation process on the units of the pipeline data to obtain pipeline data that meets the specification requirements. For example, assuming that the associated server performs data cleaning on the pipeline data a in the pipeline data server A, it may include the following sub-steps:

[0072] Step S21: The associated server collects pipeline data a from pipeline data server A, and puts the collected pipeline data a into the database to be cleaned.

[0073] Step S22: The associated server performs data analysis on the pipeline data a in the database to be cleaned to determine the attribute information of the pipeline data a.

[0074] Step S23: The associated server defines cleaning rules, and formulates different cleaning rules according to different error types of the pipeline data a.

[0075] Step S24: The associated server performs initial cleaning on the pipeline data a according to the cleaning rules.

[0076] Step S25: The associated server performs deep cleaning on the pipeline data a after the initial cleaning.

[0077] Step S26: The associated server verifies the cleaning result and determines whether the pipeline data a meets the cleaning requirements after deep cleaning.

[0078] For example, if the pipeline data a meets the cleaning requirements after deep cleaning, step S27 is executed; if the pipeline data a does not meet the cleaning requirements after deep cleaning, the execution is repeated and the process jumps back to step S22.

[0079] Step S27: The associated server replaces the original pipeline data a with the pipeline data a after deep cleaning.

[0080] It should be noted that after executing the above steps S21 to S27 for multiple times, the associated server can complete the data cleaning of the pipeline data stored in each pipeline data server.

[0081] Step S3: perform data integration on the pipeline data stored in each pipeline data server.

[0082] In an embodiment of the present application, the association server can store the structured data stored in each pipeline data server into a structured database in the big data center that conforms to the Schema definition based on the data Schema mapping rules recorded in the knowledge base.

[0083] Step S4: Aggregate the structured data in the structured database.

[0084] In the embodiment of the present application, the association server aggregates the structured data in the structured database based on multiple dimensions. It should be noted that the multiple dimensions may include a geographical dimension and a time dimension.

[0085] For example, assuming that the associated server aggregates the structured data in the structured database based on the region dimension, multiple groups of structured data corresponding to multiple regions can be obtained, which makes it easier to directly obtain the structured data corresponding to a specified region in the future.

[0086] It should be noted that after the associated server executes the above steps S1 to S4, the associated server can obtain the structured data stored in each pipeline data server.

[0087] Secondly, regarding the way in which the associated server obtains unstructured data, the unstructured data refers to data with irregular or incomplete structure and no predefined data, and the unstructured data cannot be well represented by the two-dimensional logical table of the database. For example, the unstructured data may include office documents of all formats, text, pictures, XML, HTML, various reports, images, and audio / video information.

[0088] In the embodiment of the present application, the association server can directly obtain the unstructured data stored in each pipeline data server and store it in the unstructured database.

[0089] For examples, please refer to Figure 4 , Figure 4 It is a format diagram of unstructured data provided by an embodiment of the present application. Each unstructured data stored in the unstructured database can be called an object. Each object may include an object file, a set of attribute information for describing the object file, and an object definition for associating the object file with the attribute information of the object file. The object file can be a file in any format, for example, it can be a file in a picture format, a video format, a document format, or a binary format, etc.; the attribute information of the object file includes object metadata such as file name, file type, and file date, as well as a tag for indicating user-defined business-related descriptive information.

[0090] For example, suppose Figure 4 The unstructured data shown is a pipeline 3D design file, and the object file included in the object may be XXX pipeline 3D model.igse. The object may also include: object metadata and tags. The object metadata may include information such as the file name, file type, and file date of the object file; the tag may include user-defined business-related description information such as "XXX project".

[0091] Optionally, in the embodiment of the present application, a distributed system can be used to store object files, object metadata, tags and object definitions respectively, thereby achieving load balancing distribution to the server and improving the working performance of the server. For an example, please refer to Figure 5, Figure 5 The schematic diagram of a storage method of unstructured data provided by an embodiment of the present application is as follows: The associated server can store each object file of unstructured data in the Hadoop distributed file system, and store the object metadata, label and object definition of each unstructured data in a distributed relational database.

[0092] Third, regarding the way in which the associated server obtains time series data, the time series data mainly includes real-time detection data of various devices such as compressors, engines, and gas turbines. The associated server needs to store the data continuously generated by these devices, and model the time series data generated by each device to obtain a time series data model corresponding to the device. The time series data model consists of three parts: timestamp, joint primary key, and measurement domain.

[0093] Among them, the timestamp refers to the time when the sensor in the device collects data. When the sensor collects data, the timestamp can be automatically added to the collected data. The joint primary key refers to the unique identifier used to identify the data. It can be defined according to the business significance of the data, and then the data can be quickly queried according to the primary key dimension. For example, the joint primary key of the compressor can be defined as "pipeline-station-compressor". The measurement domain refers to the measurement value used to store the equipment sensor. For example, the measurement domain of the compressor can be temperature, pressure, speed, etc.

[0094] In the embodiment of the present application, through the above three aspects, the associated server can obtain the structured data, unstructured data and time series data stored in each pipeline data server.

[0095] Step 302: Classify the acquired pipeline data stored in each pipeline data server to obtain multiple categories of pipeline data.

[0096] In the embodiment of the present application, the association server may classify the acquired pipeline data stored in each pipeline data server to obtain multiple categories of pipeline data.

[0097] It should be noted that in this application, the associated server classifies the pipeline data to obtain multiple types of pipeline data, which may include the following steps:

[0098] Step 302a: Detect the data type of the pipeline data.

[0099] In the embodiment of the present application, the data type of the pipeline data can be divided into: structured data, unstructured data and time series data. For example, the associated server can first detect the data type of each pipeline data, and after detecting that the pipeline data is structured data, execute step 302b; after detecting that the pipeline data is unstructured data, execute step 302c; after detecting that the pipeline data is time series data, execute step 302d.

[0100] Step 302b: If the pipeline data is structured data, then based on the attribute information carried by the structured data, the structured data is categorized to classify the structured data.

[0101] In an embodiment of the present application, since the structured data carries attribute information, the associated server can classify the structured data based on the attribute information carried by the structured data after detecting that the pipeline data is structured data, so as to classify the structured data.

[0102] Step 302c: If the pipeline data is unstructured data, the unstructured data is classified based on the label corresponding to the unstructured data to classify the unstructured data.

[0103] In an embodiment of the present application, since the unstructured data has a label corresponding to it, the associated server can, after detecting that the pipeline data is unstructured data, classify the unstructured data based on the label corresponding to the unstructured data to classify the unstructured data.

[0104] Step 302d: If the pipeline data is time series data, then based on the joint primary key in the time series data model corresponding to the time series data, the time series data is categorized and processed to classify the time series data.

[0105] In an embodiment of the present application, since the time series data model corresponding to the time series data has a joint primary key, the associated server can, after detecting that the pipeline data is time series data, perform classification processing on the time series data based on the joint primary key in the time series data model corresponding to the time series data to classify the time series data.

[0106] It should be noted that, through the above steps 302a to 302d, the associated server can classify each type of pipeline data obtained, thereby obtaining multiple types of pipeline data.

[0107] Optional, please refer to Figure 6 , Figure 6 It is a schematic diagram of a hierarchical structure of multiple categories of pipeline data provided in an embodiment of the present application. The multiple categories of pipeline data may include: a master data class, a transaction data class, and an indicator data class.

[0108] The master data class refers to data that does not change with business operations. The data in this master data class can be shared by business activities. It is mostly static data. The data in this master data class is the core of the target data association model constructed later. It is usually relational structured data. The master data class can be divided into: personnel class, equipment class, material class, method class and area class. Among them, the data in the personnel class can be divided into: supplier data, purchasing unit data, owner unit data, design unit data, construction unit data, testing unit data, monitoring unit data, evaluation unit data and operation and maintenance unit data; the data in the equipment class can be divided into: maintenance equipment data, physical equipment data, testing equipment data, construction equipment data, experimental equipment data and measuring equipment data; the data in the material class can be divided into: raw material data and auxiliary material data; the data in the method class can be divided into: work plan data and work guide data; the data in the area class can be divided into: pipeline data, station data, valve room data and crossing data.

[0109] The data in the transaction data class is usually real-time dynamic data, which can include structured data and unstructured data. The transaction data class can be divided into: planning class, design class, procurement class, construction class, operation class and scrapping class. Among them, the data in the planning class can be divided into: overall planning data, special planning data, security planning data, etc.; the data in the design class can be divided into: feasibility study data, preliminary design data and construction drawing data, etc.; the data in the procurement class can be divided into: equipment and material procurement data and contractor procurement data, etc.; the data in the construction class can be divided into: plan progress data, investment data, quality data and outsourcing data, etc.; the data in the operation class can be divided into: pipeline detection data, repair and maintenance data, pipeline protection data, cathodic protection data, pipeline inspection data, operation monitoring data and emergency data, etc.

[0110] The indicator data category is the indicator data that reflects the operation status of oil and gas pipelines. It is a measure of key business activities and does not involve specific operating processes. It is systematic and directional.

[0111] Step 303: Based on a plurality of data association rules corresponding to a plurality of business processes stored in the knowledge base, various types of pipeline data in the plurality of types of pipeline data are associated to obtain an initial data association model.

[0112] In an embodiment of the present application, the association server may associate various types of associated data in multiple types of pipeline data based on multiple data association rules corresponding to multiple business processes stored in a knowledge base to obtain an initial data association model.

[0113] It should be noted that the data association rule can associate certain types of pipeline data among multiple types of pipeline data, so that there is an association relationship between the certain types of pipeline data. When the business process corresponding to the association rule is subsequently performed, the association server can display the certain types of pipeline data and the association relationship between them. Since multiple types of pipeline data may be obtained from different pipeline data servers, it is possible to implement certain business process scenarios that require obtaining pipeline data from different pipeline data servers.

[0114] Step 304: Based on the verification rules stored in the knowledge base, the initial data association model is optimized multiple times to obtain a target data association model.

[0115] In an embodiment of the present application, after the initial data association model is initially constructed, the error rate of the initial data association model may be high, and therefore, the initial data association model needs to be optimized. For example, the association server may perform multiple optimization processes on the initial data association model based on the verification rules stored in the knowledge base to obtain a target data association model. The target data association model is used to characterize the association relationship between at least two types of pipeline data in multiple types of pipeline data. Each optimization process may include the following steps:

[0116] Step 304a: Based on the verification rules stored in the knowledge base, the initial data association model is tested for data accuracy.

[0117] In the embodiment of the present application, the association server can perform data accuracy detection on the initial association model based on the verification rules stored in the knowledge base, thereby determining two situations in which the initial data association model may be wrong. In the first situation, an error occurs in the pipeline data during the input process, at which point step 304b needs to be executed; in the second situation, an error occurs in the pipeline data during the reversal process of different pipeline data servers (ie, information systems), at which point step 304d needs to be executed.

[0118] Step 304b: If it is determined that an error occurs in the process of acquiring the pipeline data stored in a certain pipeline data server, a prompt message indicating that an error occurs in acquiring the pipeline data stored in the certain pipeline data server is sent to the terminal.

[0119] In an embodiment of the present application, if the associated server determines that an error occurs in the process of obtaining pipeline data stored in a pipeline data server, the associated server may send a prompt message to the terminal indicating that an error has occurred in obtaining pipeline data stored in a pipeline data server. The terminal refers to an operating terminal of an operator, which may be a mobile phone, a desktop computer, or a laptop computer. After receiving the prompt message, the terminal may display the prompt message to the operator, and after viewing the prompt message, the operator may send a re-entry instruction to the associated server through the terminal.

[0120] Step 304c: based on the re-entry instruction, re-acquire the pipeline data stored in a certain server.

[0121] In an embodiment of the present application, the associated server may receive a re-entry instruction sent by the terminal, and based on the re-entry instruction, re-acquire pipeline data stored in a certain server.

[0122] Step 304d: If it is determined that the designated pipeline data stored in the candidate pipeline data server among the at least two candidate pipeline servers is free of errors, the error data in the acquired pipeline data is deleted.

[0123] In the embodiment of the present application, the at least two pipeline servers to be selected belong to servers among a plurality of pipeline data servers, and the at least two pipeline servers to be selected both store designated pipeline data, and the designated pipeline data refers to the same pipeline data among the pipeline data stored in the two pipeline servers to be selected. If the associated server determines that the designated pipeline data stored in the candidate pipeline server among the at least two pipeline servers to be selected does not have an error, the associated server may delete the error data in the acquired pipeline data, and the error data is the designated data stored in the pipeline server other than the candidate pipeline server among the at least two pipeline servers to be selected.

[0124] It should be noted that the embodiment of the present application needs to repeatedly execute the above steps 304a to 304d multiple times, so that the initial data association model can be continuously optimized, so that the error rate of the target data association model finally constructed is low.

[0125] Combined with the above-mentioned embodiment classification type, the following two different usage scenarios of the target data association model are described:

[0126] In the first usage scenario, the target data association model can be used to monitor the business process of the device. In this business process, the target data association model can be used to read all the pipeline data related to the device and the associations between various types of pipeline data. If it is determined based on this information that the current device has loss, a decision can be made with the device with loss. For example, if it is determined based on this information that the loss stored in the current device is too large, the parameters of the current device need to be adjusted.

[0127] In the second usage scenario, the target data association model can be used to evaluate the performance of patrol personnel. In this business process, the pipeline patrol data previously stored in the patrol information system (the patrol information system is also a pipeline data server), the personnel data previously existing in the personnel information system (the patrol personnel information system is also another pipeline data server), and the association between the pipeline patrol data and the personnel data can be read through the target association data. Through these data, the performance of a certain person can be given for the inspection quality of the pipeline patrol, thereby completing the business process of evaluating the performance of the patrol personnel. In the related technology, since it is impossible to obtain related data in different information systems, it is impossible to carry out the business process of evaluating the performance of patrol personnel.

[0128] In the embodiment of the present application, by collecting and updating pipeline data in real time, the integration of all relevant data in the station and line is realized, the on-site situation of production operation is monitored, and combined with automated data integration, the operation and the site are detected at the same time, and the control personnel are assisted to improve the control ability of the pipeline network operation and enhance the safe production capacity of the pipeline network transmission and distribution; the constructed target association model can be used for real-time warning, and a prediction can be made in advance before the event occurs, and the relevant parties can be coordinated to deal with it in time to avoid causing greater losses to production; through the collection of pipeline data, various digital technologies can be applied to the execution process of emergency plans, and according to the handling process of the emergency time, the text plan can be developed into a series of emergency operation procedures that can be executed sequentially with the evolution of the emergency event, and auxiliary decision-making functions such as automatic analysis of the warning level, prompting of emergency strategies, and optimal handling plans can be realized according to the situation; through the distributed storage of pipeline data, the load balancing distribution of the original server is realized, the server load sharing is realized, the scope of server failure is reduced, and energy scheduling and safe and stable production are provided. Guarantee.

[0129] It should be noted that the order of the steps of the pipeline data association method provided in the embodiment of the present application can be appropriately adjusted, and the steps can be increased or decreased accordingly according to the situation. Any technician familiar with the technical field can easily think of the changed methods within the technical scope disclosed in the present application, and they should be included in the protection scope of the present application, so they will not be repeated.

[0130] In summary, the pipeline data association method provided in the embodiment of the present application can obtain a target data association model for characterizing the association relationship between at least two types of pipeline data in the multiple types of pipeline data by acquiring multiple types of pipeline data stored in multiple pipeline data servers and based on multiple data association rules corresponding to multiple business processes. Since the target data association model in the present application is constructed based on multiple data association rules corresponding to multiple business processes, the possible association relationship between multiple types of pipeline data stored in multiple pipeline data servers is obtained. Therefore, the target data association model can be used to carry out business processes related to a certain information system (that is, pipeline data server) or business processes related to two (or more) information systems, and then the pipeline data stored in each established information system can be fully utilized, thereby increasing the types of business processes carried out using the established information system.

[0131] The embodiment of the present application also provides a pipeline data association device, which can be integrated in Figure 1 The pipeline data association system 100 is shown in the association server 101. Figure 7 , Figure 7 4 is a structural block diagram of a pipeline data association device provided in an embodiment of the present application. The pipeline data association device 400 may include:

[0132] The acquisition module 401 is used to acquire the pipeline data stored in each pipeline data server among the multiple pipeline data servers.

[0133] The classification processing module 402 is used to classify the acquired pipeline data stored in each pipeline data server to obtain multiple types of pipeline data.

[0134] The association module 403 is used to associate various types of pipeline data in the multiple types of pipeline data based on multiple data association rules corresponding to multiple business processes stored in the knowledge base to obtain an initial data association model.

[0135] The optimization module 404 is used to optimize the initial data association model based on the verification rules stored in the knowledge base to obtain a target data association model, where the target data association model is used to characterize the association relationship between at least two types of pipeline data among the multiple types of pipeline data.

[0136] In summary, the pipeline data association device provided in the embodiment of the present application can obtain a target data association model for characterizing the association relationship between at least two types of pipeline data in the multiple types of pipeline data by acquiring multiple types of pipeline data stored in multiple pipeline data servers and based on multiple data association rules corresponding to multiple business processes. Since the target data association model in the present application is constructed based on multiple data association rules corresponding to multiple business processes, the possible association relationship between multiple types of pipeline data stored in multiple pipeline data servers is obtained. Therefore, through the target data association model, both the business process related to a certain information system (that is, the pipeline data server) and the business process related to two (or more) information systems can be carried out, and then the pipeline data stored in each established information system can be fully utilized, thereby increasing the types of business processes carried out using the established information system.

[0137] Optionally, the optimization module 404 is specifically used to: perform multiple optimization processes on the initial data association model based on the verification rule to obtain the target data association model, wherein each optimization process includes:

[0138] Based on the verification rules, the initial data association model is checked for data accuracy; if it is determined that an error occurs in the process of obtaining pipeline data stored in a certain pipeline data server, a prompt message indicating that an error has occurred in obtaining pipeline data stored in a certain pipeline data server is sent to the terminal, and the terminal is used to send a re-entry instruction to the association server based on the prompt message; based on the re-entry instruction, the pipeline data stored in a certain server is re-acquired.

[0139] Optionally, the plurality of pipeline data servers include at least two pipeline data servers to be selected, and the at least two pipeline data servers to be selected both store the specified pipeline data. After the initial data association model is tested for data accuracy based on the verification rule, the optimization process further includes:

[0140] If it is determined that the designated pipeline data stored in the candidate pipeline data server among the at least two candidate pipeline servers is not erroneous, then the erroneous data in the acquired pipeline data is deleted, where the erroneous data is the designated data stored in the pipeline servers other than the candidate pipeline server among the at least two candidate pipeline servers.

[0141] Optionally, the classification processing module 402 is specifically used to: detect the data type of the pipeline data; if the pipeline data is structured data, then based on the attribute information carried by the structured data, the structured data is classified and processed to classify the structured data; if the pipeline data is unstructured data, then based on the label corresponding to the unstructured data, the unstructured data is classified and processed to classify the unstructured data; if the pipeline data is time series data, then based on the joint primary key in the time series data model corresponding to the time series data, the time series data is classified and processed to classify the time series data.

[0142] Optionally, the multiple categories of pipeline data include: master data category, transaction data category, and indicator data category.

[0143] In summary, the pipeline data association device provided in the embodiment of the present application can obtain a target data association model for characterizing the association relationship between at least two types of pipeline data in the multiple types of pipeline data by acquiring multiple types of pipeline data stored in multiple pipeline data servers and based on multiple data association rules corresponding to multiple business processes. Since the target data association model in the present application is constructed based on multiple data association rules corresponding to multiple business processes, the possible association relationship between multiple types of pipeline data stored in multiple pipeline data servers is obtained. Therefore, through the target data association model, both the business process related to a certain information system (that is, the pipeline data server) and the business process related to two (or more) information systems can be carried out, and then the pipeline data stored in each established information system can be fully utilized, thereby increasing the types of business processes carried out using the established information system.

[0144] The present application also provides a computer-readable storage medium in which at least one instruction is stored. The instruction is loaded and executed by a processor to implement Figure 2 or Figure 3 A method for associating pipeline data is shown.

[0145] The embodiment of the present application also provides an associated server, including: a processor and a memory, wherein the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement Figure 2 or Figure 3 A method for associating pipeline data is shown.

[0146] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0147] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A pipeline data association method, characterized in that: Applied to an associated server, the method comprises: Acquire pipeline data stored in each pipeline data server of a plurality of pipeline data servers, wherein the plurality of pipeline data servers include: a PCM system, a PPS system, a PIS system, and an ERP system; Classify the acquired pipeline data stored in each pipeline data server to obtain multiple categories of pipeline data, wherein the multiple categories of pipeline data include: a master data category, a transaction data category, and an indicator data category; Based on a plurality of data association rules corresponding to a plurality of business processes stored in a knowledge base, various types of pipeline data in the plurality of types of pipeline data are associated to obtain an initial data association model; Based on the verification rules stored in the knowledge base, the initial data association model is optimized multiple times to obtain a target data association model, wherein each optimization process includes: based on the verification rules, the initial data association model is tested for data accuracy; if it is determined that an error occurs in the process of obtaining the pipeline data stored in a certain pipeline data server, prompt information indicating that an error occurs in obtaining the pipeline data stored in the certain pipeline data server is sent to the terminal, and the terminal is used to send a re-entry instruction to the association server based on the prompt information; based on the re-entry instruction, the pipeline data stored in a certain server is re-acquired; The multiple pipeline data servers include at least two pipeline data servers to be selected, and the at least two pipeline data servers to be selected both store designated pipeline data; if it is determined that the designated pipeline data stored in the candidate pipeline data server among the at least two pipeline data servers to be selected does not have an error, then delete the error data in the acquired pipeline data, and the error data is the designated data stored in the pipeline server other than the candidate pipeline server among the at least two pipeline data servers to be selected; the target data association model is used to characterize the association relationship between at least two types of pipeline data among the multiple types of pipeline data.

2. The method according to claim 1, characterized in that The acquired pipeline data stored in each pipeline data server is classified and processed to obtain multiple types of pipeline data, including: Detecting the data type of the pipeline data; If the pipeline data is structured data, then based on the attribute information carried by the structured data, the structured data is subjected to regularization and classification processing to classify the structured data; If the pipeline data is unstructured data, classifying the unstructured data based on a label corresponding to the unstructured data to classify the unstructured data; If the pipeline data is time series data, the time series data is categorized based on a joint primary key in a time series data model corresponding to the time series data to classify the time series data.

3. A pipeline data association device, characterized in that: Applied to an associated server, the device comprises: An acquisition module, used to acquire pipeline data stored in each pipeline data server of a plurality of pipeline data servers, wherein the plurality of pipeline data servers include: a PCM system, a PPS system, a PIS system and an ERP system; A classification processing module, used for classifying and processing the acquired pipeline data stored in each pipeline data server to obtain multiple categories of pipeline data, wherein the multiple categories of pipeline data include: a master data category, a transaction data category, and an indicator data category; an association module, configured to associate various types of pipeline data among the multiple types of pipeline data based on a plurality of data association rules corresponding to a plurality of business processes stored in a knowledge base, so as to obtain an initial data association model; an optimization module, configured to optimize the initial data association model based on the verification rules stored in the knowledge base to obtain a target data association model, wherein the target data association model is used to characterize the association relationship between at least two types of pipeline data among the multiple types of pipeline data; The optimization module is specifically used to: perform multiple optimization processes on the initial data association model based on the verification rule to obtain the target data association model, wherein each optimization process includes: Based on the verification rules, performing data accuracy detection on the initial data association model; If it is determined that an error occurs in the process of acquiring the pipeline data stored in a certain pipeline data server, prompt information indicating that an error occurs in acquiring the pipeline data stored in the certain pipeline data server is sent to the terminal, and the terminal is used to send a re-entry instruction to the associated server based on the prompt information; Based on the re-entry instruction, re-acquire pipeline data stored in a server; The multiple pipeline data servers include at least two pipeline data servers to be selected, and the at least two pipeline data servers to be selected both store designated pipeline data; After the initial data association model is tested for data accuracy based on the verification rule, the optimization process further includes: If it is determined that the designated pipeline data stored in the candidate pipeline data server among the at least two pipeline servers to be selected does not have an error, then the error data in the acquired pipeline data is deleted, where the error data is the designated data stored in the pipeline server other than the candidate pipeline server among the at least two pipeline servers to be selected.

4. The device according to claim 3, characterized in that The classification processing module is specifically used for: Detecting the data type of the pipeline data; If the pipeline data is structured data, then based on the attribute information carried by the structured data, the structured data is subjected to regularization and classification processing to classify the structured data; If the pipeline data is unstructured data, classifying the unstructured data based on a label corresponding to the unstructured data to classify the unstructured data; If the pipeline data is time series data, the time series data is categorized based on a joint primary key in a time series data model corresponding to the time series data to classify the time series data.