Method, system, electronic device and storage medium for constructing oil and gas pipeline SCADA project
By exporting and converting the digital design results of SmartPlant into PCS model objects in the oil and gas pipeline SCADA system, the inefficiency problem of manual drawing of process flow charts in the existing technology is solved, and automated construction and efficiency improvement are achieved.
Patent Information
- Application Number
- CN202210731533.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-24
- Publication Date
- 2025-07-04
- Estimated Expiration
- 2042-06-24
AI Technical Summary
In the prior art, the design results of the oil and gas pipeline SCADA system are converted from SmartPlant to the construction stage to manually draw process flow charts, with large workload, long construction period, high cost, and lack of automated construction methods.
By obtaining the digital design results of SmartPlant, exporting standard format files, building a device model and corresponding to the PCS model, serializing it into a PCS model object, and building a PCS project with engineering information, including verification steps to generate a difference comparison report.
The SCADA project is automatically constructed based on SmartPlant, reducing workload and cost and improving work efficiency.
Smart Images

Figure CN114971404B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of oil and gas pipeline engineering, and particularly relates to a method, a system, an electronic device, and a storage medium for automatically constructing an oil and gas pipeline SCADA project based on the digital design results of SmartPlant. Background Art
[0002] In the oil and gas industry, the pipeline control system (PCS) of the oil and gas pipeline SCADA system software can meet the regulation needs of oil and gas pipelines. To solve the practical problem that the data in each stage of design, construction, and operation and maintenance involved in engineering applications are independent of each other, the management platform technology of PCS projects has become a research focus. Application technologies such as data standardization of PCS projects, project management, and project migration are studied, and new functions such as automated auxiliary means for SCADA project construction and operation and maintenance are developed to further improve the project construction efficiency and the usability of PCS software.
[0003] In the construction of a new pipeline SCADA system, the commonly used process design software is SmartPlant. After the design results are transferred to the construction stage, currently, only manual methods can be used to draw the process flow diagram of the SCADA system based on the design drawings, resulting in a large workload, a long construction period, and high investment.
[0004] The information disclosed in this background art section is only intended to enhance the overall understanding of the present invention and should not be regarded as an admission or any form of suggestion that this information constitutes prior art already known to those of ordinary skill in the art. Summary of the Invention
[0005] One of the objectives of the present invention is to provide a method, a system, an electronic device, and a storage medium for constructing an oil and gas pipeline SCADA project, so as to be able to automatically construct an oil and gas pipeline SCADA project based on the digital design results of SmartPlant, improve work efficiency, reduce the workload of technical personnel, and lower costs.
[0006] To achieve the above objective, according to the first aspect of the present invention, the present invention provides a method for constructing an oil and gas pipeline SCADA project, including the following steps:
[0007] S110 Obtain the project information, design drawings, and data information of the digital design results of SmartPlant;
[0008] S120 Export the obtained design drawings and data information as standard format graphic files and standard format data files respectively;
[0009] S130 Construct device models according to the standard format graphic files;
[0010] S140 establishes the corresponding relationship between the constructed device model and the PCS model;
[0011] S150 converts the standard format graphic file into a PCS model object according to the established corresponding relationship and the data structure of the PCS model;
[0012] S160 serializes the converted PCS model object; and
[0013] S170 constructs a PCS project according to the project information, the serialized PCS model object, and the standard format data file.
[0014] Further, in the above technical solution, step S130 includes: S131 screening the device information, pipeline information, and device connection relationship information in the standard format graphic file; and S132 analyzing the process relationship between the screened information to construct a device model.
[0015] Further, in the above technical solution, the constructed device model includes a model name, attributes, and relationships.
[0016] Further, in the above technical solution, the device model includes devices such as compressors, pipelines, filter separators, and valves.
[0017] Further, in the above technical solution, the PCS project includes PCS project information, PCS project screens, and PCS project data.
[0018] Further, in the above technical solution, step 170 includes: S171 constructing PCS project information according to the project information; S172 constructing PCS project screens according to the serialized PCS model object; and S173 constructing PCS project data according to the standard format data file.
[0019] Further, in the above technical solution, the method for constructing an oil and gas pipeline SCADA project further includes a verification step: comparing the design drawing with the PCS project screen, comparing the data information with the PCS project data, and generating a difference comparison report.
[0020] Further, in the above technical solution, the generated difference comparison report is sent to the technician's client.
[0021] Further, in the above technical solution, the method for constructing an oil and gas pipeline SCADA project further includes steps: transmitting the PCS project screen to the PCS through the File Access of the PCS, and writing the PCS project data into the PCS database through JDBC.
[0022] Furthermore, in the above technical solution, the engineering information includes pipeline information and station information; the data information includes equipment foundation information and on-site equipment acquisition information; and the design drawing includes a process flow diagram.
[0023] According to a second aspect of the present invention, there is provided a system for constructing an oil and gas pipeline SCADA project, comprising: a data conversion unit configured to obtain the engineering information, design drawings, and data information of the digital design results of SmartPlant, and export the obtained design drawings and data information as standard format graphic files and standard format data files respectively; an image conversion unit configured to construct equipment models based on the standard format graphic files; a conversion configuration unit configured to establish a correspondence between the constructed equipment models and the PCS models, and convert the standard format graphic files into PCS model objects according to the established correspondence and the data structure of the PCS models, and serialize the converted PCS model objects; and an engineering construction unit configured to construct a PCS project based on the engineering information, serialized PCS model objects, and standard format data files.
[0024] Furthermore, in the above technical solution, the system for constructing an oil and gas pipeline SCADA project further includes: a verification unit configured to compare the design drawings with the PCS project screen and compare the data information with the PCS project data to generate a difference comparison report.
[0025] According to a third aspect of the present invention, there is provided an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to cause the at least one processor to execute the method for constructing an oil and gas pipeline SCADA project according to any one of the above technical solutions.
[0026] According to a fourth aspect of the present invention, there is provided a non-transitory computer-readable storage medium storing computer-executable instructions for causing a computer to execute the method for constructing an oil and gas pipeline SCADA project according to any one of the above technical solutions.
[0027] Compared with the prior art, the present invention has the following beneficial effects:
[0028] 1. By specifically processing and standardizing the various information of the digital design results of SmartPlant and combining with the correspondence with the PCS models, the present invention realizes the automatic conversion of the digital design results of SmartPlant into a PCS project.
[0029] 2. The present invention can automatically construct an oil and gas pipeline SCADA project based on the digital design results of SmartPlant, greatly reducing the workload and cost, and improving the work efficiency.
[0030] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention and be able to implement it according to the content of the specification, and in order to make the above and other objects, technical features, and advantages of the present invention more understandable, one or more preferred embodiments are listed below and described in detail with reference to the accompanying drawings as follows. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 is a schematic block diagram of a method for constructing an oil and gas pipeline SCADA project according to an embodiment of the present invention.
[0032] Figure 2 is a schematic diagram of a system for constructing an oil and gas pipeline SCADA project according to an embodiment of the present invention.
[0033] Figure 3 is a schematic diagram of data interaction of a method for constructing an oil and gas pipeline SCADA project according to an embodiment of the present invention.
[0034] Figure 4 is a schematic diagram of the hardware structure of an electronic device for executing a method for constructing an oil and gas pipeline SCADA project according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0035] The following will describe in detail the specific embodiments of the present invention with reference to the accompanying drawings. However, it should be understood that the protection scope of the present invention is not limited by the specific embodiments.
[0036] Unless otherwise clearly stated, throughout the specification and claims, the term "comprise" or its variations such as "comprises" or "comprising" will be understood to include the stated elements or components, without excluding other elements or other components.
[0037] In this document, for the convenience of description, spatial relative terms such as "below", "beneath", "under", "above", "over", "on", etc. may be used to describe the relationship between one element or feature and another element or feature in the drawings. It should be understood that spatial relative terms are intended to encompass different directions of an object in use or operation in addition to the directions depicted in the figures. For example, if an object in the figure is flipped, an element described as "below" or "under" another element or feature will be oriented "above" the element or feature. Thus, the exemplary term "below" can encompass both the lower and upper directions. The object may also have other orientations (rotated 90 degrees or other orientations) and the spatial relative terms used herein should be interpreted accordingly.
[0038] In this document, the terms "first", "second", etc. are used to distinguish two different elements or parts, and are not used to define a specific position or relative relationship. In other words, in some embodiments, the terms "first", "second", etc. may also be interchanged with each other.
[0039] As Figure 1 shown, the method for constructing an oil and gas pipeline SCADA project according to the specific embodiments of the present invention includes the following steps:
[0040] S110 Obtain the engineering information, design drawings, and data information of the digital design results of SmartPlant.
[0041] Further, in one or more exemplary embodiments of the present invention, the engineering information includes pipeline information and station information; the data information includes equipment basic information and on-site equipment acquisition information; the design drawings include graphic information such as process flow diagrams.
[0042] S120 Export the obtained design drawings and data information as standard format graphic files and standard format data files respectively.
[0043] S130 Construct an equipment model based on the standard format graphic files.
[0044] Further, in one or more exemplary embodiments of the present invention, step S130 includes: S131 Screen the equipment information, pipeline information, and equipment connection relationship information in the standard format graphic files; and S132 Analyze the process relationships between the screened information and construct an equipment model.
[0045] Further, in one or more exemplary embodiments of the present invention, the constructed equipment model includes a model name, attributes, and relationships. Further, in one or more exemplary embodiments of the present invention, the equipment model includes equipment such as compressors, pipelines, filter separators, and valves.
[0046] S140 Establish the corresponding relationship between the constructed device model and the PCS model;
[0047] S150 Convert the standard format graphic file into a PCS model object according to the established corresponding relationship and the data structure of the PCS model;
[0048] S160 Serialize the converted PCS model object; and
[0049] S170 Construct a PCS project based on the project information, the serialized PCS model object, and the standard format data file.
[0050] Further, in one or more exemplary embodiments of the present invention, the PCS project includes PCS project information, PCS project screens, and PCS project data. Further, in one or more exemplary embodiments of the present invention, step S170 includes: S171 constructing PCS project information according to the project information; S172 constructing PCS project screens according to the serialized PCS model object; and S173 constructing PCS project data according to the standard format data file.
[0051] Exemplarily, the project information mainly includes some basic information such as pipeline information and station information, and the data volume is not large, which can be directly imported into the PCS project. The data information mainly includes some equipment basic information and on-site equipment acquisition information, etc. It is exported as a standard format data file by using the output tool of the SmartPlant platform, the standard format data file is analyzed, imported into the PCS database according to the data format of the PCS, and data verification is performed to ensure the accuracy of the automatic entry of the data information, so as to realize the function of automatically importing the data information of the digital design results of SmartPlant into the PCS project.
[0052] Further, in one or more exemplary embodiments of the present invention, the method for constructing an oil and gas pipeline SCADA project further includes a verification step: comparing the design drawing with the PCS project screen, and comparing the data information with the PCS project data to generate a difference comparison report.
[0053] Further, in one or more exemplary embodiments of the present invention, the generated difference comparison report is sent to the technician's client. The technician can take corresponding processing methods according to the difference comparison report, and the present invention is not limited thereto.
[0054] Further, in one or more exemplary embodiments of the present invention, the method for constructing an oil and gas pipeline SCADA project further includes the steps: the PCS project screen is transmitted to the PCS through the File Access of the PCS, and the PCS project data is written into the PCS database through JDBC.
[0055] The method, system, electronic device and storage medium for constructing an oil and gas pipeline SCADA project of the present invention will be described in more detail below by way of specific embodiments. It should be understood that the embodiments are only exemplary, and the present invention is not limited thereto.
[0056] Embodiment 1
[0057] Referring to Figure 2 As shown, the system for constructing an oil and gas pipeline SCADA project in this embodiment includes: a data conversion unit 10, which is used to obtain the engineering information, design drawings and data information of the digital design results of SmartPlant; and export the obtained design drawings and data information as standard format graphic files and standard format data files respectively. An image conversion unit 20, which is used to construct a device model according to the standard format graphic file; a conversion configuration unit 30, which is used to establish the corresponding relationship between the constructed device model and the PCS model, and convert the standard format graphic file into a PCS model object according to the established corresponding relationship and the data structure of the PCS model, and serialize the converted PCS model object; and a project construction unit 40, which is used to construct a PCS project according to the engineering information, the serialized PCS model object and the standard format data file.
[0058] Further, in one or more exemplary embodiments of the present invention, the system for constructing an oil and gas pipeline SCADA project further includes: a verification unit, which is used to compare the design drawings with the PCS project screen and compare the data information with the PCS project data to generate a difference comparison report.
[0059] In one or more exemplary embodiments of the present invention, the data interaction between the system for constructing an oil and gas pipeline SCADA project and the SmartPlant platform and the PCS project is referred to Figure 3 As shown. Figure 3 Among them, "1" and "N" indicate that the data interaction relationship is "one-to-many", and "N" and "1" indicate that the data interaction relationship is "many-to-one".
[0060] The system for constructing an oil and gas pipeline SCADA project in this embodiment can be a stand-alone software. The system for constructing an oil and gas pipeline SCADA project can be installed in a Window environment or a Linux environment; it can be integrated into the PCS as a plug-in or installed and deployed independently.
[0061] Embodiment 2
[0062] This embodiment provides a non-transitory (non-volatile) computer storage medium. The computer storage medium stores computer-executable instructions, and the computer-executable instructions can execute the methods in any of the above method embodiments and achieve the same technical effects.
[0063] Example 3
[0064] This embodiment provides a computer program product. The computer program product includes a computer program stored on a non-transitory computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer is enabled to execute the methods in the above various aspects and achieve the same technical effects.
[0065] Example 4
[0066] Figure 4 It is a schematic diagram of the hardware structure of an electronic device for implementing the method of constructing an oil and gas pipeline SCADA project in this embodiment. The device includes one or more processors 610 and a memory 620. Taking one processor 610 as an example. The device may further include: an input device 630 and an output device 640.
[0067] The processor 610, the memory 620, the input device 630, and the output device 640 may be connected through a bus or other means. Figure 4 Taking the connection through a bus as an example.
[0068] The memory 620, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs, and modules. The processor 610 executes various functional applications and data processing of the electronic device by running the non-transitory software programs, instructions, and modules stored in the memory 620, that is, implements the processing method in the above method embodiment.
[0069] The memory 620 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system and application programs required for at least one function; the data storage area can store data, etc. In addition, the memory 620 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some embodiments, the memory 620 may optionally include a memory remotely set relative to the processor 610, and these remote memories can be connected to the processing device through a network. Examples of the above network include but are not limited to the Internet, an enterprise intranet, a local area network, a mobile communication network, and combinations thereof.
[0070] The input device 630 can receive input digital or character information and generate a signal input. The output device 640 may include a display device such as a display screen.
[0071] One or more modules are stored in the memory 620 and, when executed by one or more processors 610, execute:
[0072] S110 Obtain the engineering information, design drawings, and data information of the digital design results of SmartPlant;
[0073] S120 Export the obtained design drawings and data information as standard format graphic files and standard format data files respectively;
[0074] S130 Construct a device model based on the standard format graphic files;
[0075] S140 Compare the constructed device model with the PCS model and establish a corresponding relationship;
[0076] S150 Convert the standard format graphic files into PCS model objects according to the established corresponding relationship and the data structure of the PCS model;
[0077] S160 Serialize the converted PCS model objects; and
[0078] S170 Construct a PCS project based on the engineering information, serialized PCS model objects, and standard format data files.
[0079] The above product can execute the method provided by the embodiment of the present invention and has corresponding functional modules and beneficial effects for executing the method. For technical details not described in detail in this embodiment, reference can be made to the methods provided in other embodiments of the present invention.
[0080] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0081] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solutions in essence or the part that contributes to the related technologies can be embodied in the form of a software product, and this computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., including several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each embodiment or some parts of the embodiments.
[0082] The foregoing description of the specific exemplary embodiments of the present invention is for purposes of illustration and exemplification. These descriptions are not intended to limit the invention to the precise forms disclosed, and it is apparent that many changes and variations are possible in light of the above teachings. The purpose of selecting and describing the exemplary embodiments is to explain the specific principles of the present invention and its practical applications, so that those skilled in the art can implement and utilize the various different exemplary embodiments of the present invention, as well as various different selections and changes. Any simple modifications, equivalent variations, and embellishments made to the above exemplary embodiments shall fall within the protection scope of the present invention.
Claims
1. A method for constructing an oil and gas pipeline SCADA project, characterized in that, It includes the following steps: S110 Obtain the engineering information, design drawings, and data information of the digital design results of SmartPlant; the engineering information includes pipeline information and station information; the data information includes equipment foundation information and on-site equipment acquisition information; the design drawings include process flow diagrams; S120 Export the obtained design drawings and data information as standard format graphic files and standard format data files respectively; S130 Construct an equipment model based on the standard format graphic files; Step S130 specifically includes: S131 Screen the equipment information, pipeline information, and equipment connection relationship information in the standard format graphic files; and S132 Analyze the process relationships between the screened information to construct an equipment model; S140 Establish the corresponding relationship between the constructed equipment model and the PCS model; S150 Convert the standard format graphic files into PCS model objects according to the established corresponding relationship and the data structure of the PCS model; S160 Serialize the converted PCS model objects; and S170 Construct a PCS project based on the engineering information, serialized PCS model objects, and standard format data files; Step 170 specifically includes: S171 Construct PCS project information according to the engineering information; S172 Construct PCS project screens according to the serialized PCS model objects; and S173 Construct PCS project data according to the standard format data files.
2. The method for constructing an oil and gas pipeline SCADA project according to claim 1, wherein The constructed equipment model includes a model name, attributes, and relationships.
3. The method for constructing an oil and gas pipeline SCADA project according to claim 1, characterized in that, The equipment model includes compressors, pipelines, filter separators, and valves.
4. The method for constructing an oil and gas pipeline SCADA project according to claim 1, wherein It also includes a verification step: Compare the design drawings with the PCS project screens, and compare the data information with the PCS project data to generate a difference comparison report.
5. The method for constructing an oil and gas pipeline SCADA project according to claim 4, wherein Send the generated difference comparison report to the technician client.
6. The method for constructing an oil and gas pipeline SCADA project according to claim 1, wherein It also includes steps: Transmit the PCS project screens to the PCS through the File Access of the PCS, and write the PCS project data into the PCS database through JDBC.
7. A system for constructing an oil and gas pipeline SCADA project, characterized in that, Adopt the method described in any one of claims 1 to 6, including: A data conversion unit, which is used to obtain the engineering information, design drawings, and data information of the digital design results of SmartPlant, and export the obtained design drawings and data information as standard format graphic files and standard format data files respectively; An image conversion unit, which is used to construct an equipment model based on the standard format graphic files; A conversion configuration unit, which is used to establish the corresponding relationship between the constructed equipment model and the PCS model, convert the standard format graphic files into PCS model objects according to the established corresponding relationship, and serialize the converted PCS model objects; and An engineering construction unit, which is used to construct a PCS project based on the engineering information, serialized PCS model objects, and standard format data files.
8. The system for constructing an oil and gas pipeline SCADA project according to claim 7, wherein It also includes: A verification unit, which is used to compare the design drawings with the PCS project screens, and compare the data information with the PCS project data to generate a difference comparison report.
9. An electronic device, characterized in that, It includes: At least one processor; And A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to cause the at least one processor to execute the method for constructing an oil and gas pipeline SCADA project as described in any one of claims 1 to 6.
10. A non-transitory computer-readable storage medium, characterized in that, The non-transitory computer-readable storage medium stores computer-executable instructions for causing the computer to execute the method for constructing an oil and gas pipeline SCADA project as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Digital power grid construction method based on on-line data
CN104598671A
Regulation and control service support system for oil and gas pipelines and realization method for regulation and control service support system
CN104657900A