Data management system, method, device, equipment and storage medium
By introducing the structure of data management server and data node server into the oil and gas pipeline system, the problem of multiple data application systems repeatedly querying data collection equipment is solved, and the stability of data collection equipment and the security of data transmission are improved.
Patent Information
- Application Number
- CN202110478950.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-30
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-04-30
Smart Images

Figure CN115277738B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of oil and gas pipelines, and in particular to a data management system, method, device, equipment and storage medium for an oil and gas pipeline system. Background Art
[0002] With the rapid development of the national economy, the country has gradually increased its investment in oil and gas pipeline construction, and a crisscrossing network of oil and gas pipelines has been formed across the country to transport oil and natural gas. In order to ensure the long-term operation of oil and gas pipelines, it is necessary to obtain various data from various stations and valve rooms of oil and gas pipelines to monitor the operation of oil and gas pipelines.
[0003] In the related art, each external application system obtains pipeline data from the data acquisition device of the oil and gas pipeline system. When multiple external data application systems need to obtain pipeline data, they will repeatedly query the data acquisition device for data, affecting the stable operation of the data acquisition device. Summary of the invention
[0004] The embodiments of the present disclosure provide a data management system, method, device and storage medium for an oil and gas pipeline system, which can improve the stability of the operation of data acquisition equipment in the oil and gas pipeline system. The technical solution is as follows:
[0005] In a first aspect, a data management system for an oil and gas pipeline system is provided, wherein the oil and gas pipeline system comprises a plurality of sections arranged in sequence along the oil and gas pipeline, and each section is provided with a plurality of the data acquisition devices;
[0006] The data management system comprises: a data management server and a plurality of data node servers;
[0007] The multiple data node servers correspond to the multiple sections one by one, and the data node servers are used to obtain and store pipeline data collected by the data collection equipment in the corresponding section;
[0008] The data management server is used to receive a data request, the data request is used to request target data; send a data transmission request to a target data node server according to the data request, the target data node server is the data node server where the target data is located;
[0009] The target data node server is used to send the target data to the sender of the data request according to the received data transmission request.
[0010] Optionally, the data transmission connection between the target data node server and the corresponding data acquisition device is a unidirectional data transmission connection, and the target data node server is used to periodically obtain and save the pipeline data through the unidirectional data transmission connection; obtain the target data from the saved pipeline data according to the data transmission request and send it to the sender of the data request.
[0011] Optionally, the data management server is further configured to perform permission review on the data request before sending the data transmission request to the target data node server according to the data request; and send the data transmission request to the target data node server according to the data request that passes the review.
[0012] Optionally, the target data node server is further configured to perform identity authentication on the data management server after receiving the data transmission request; in response to determining that the data management server passes the identity authentication, send the target data to the sender.
[0013] Optionally, the target data node server is further used to convert the target data into a target data format, where the target data format is a data format supported by the sender; and send the target data in the target data format to the sender.
[0014] In a second aspect, a data management method for an oil and gas pipeline system is provided, the method comprising:
[0015] The data management server receives a data request, wherein the data request is used to request target data;
[0016] The data management server sends a data transmission request to the target data node server according to the data request. The target data node server is the data node server where the target data is located. The data transmission request is used to instruct the target data node server to send the target data to the sender of the data request.
[0017] Optionally, the data management method further includes:
[0018] The data management server performs a permission review on the data request before sending the data transmission request to the target data node server according to the data request;
[0019] Send a data transmission request to the target data node server based on the approved data request.
[0020] In a third aspect, another data management device for an oil and gas pipeline system is provided, the data management device comprising:
[0021] A receiving module, used for receiving a data request, wherein the data request is used for requesting target data;
[0022] The sending module is used to send a data transmission request to the target data node server according to the data request. The target data node server is the data node server where the target data is located. The data transmission request is used to instruct the target data node server to send the target data to the sender of the data request.
[0023] Optionally, the data management device further includes:
[0024] A permission review module, used for performing permission review on the data request before sending the data transmission request to the target data node server according to the data request;
[0025] The sending module is also used to send a data transmission request to the target data node server according to the approved data request.
[0026] According to a fourth aspect, a computer device is provided, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute the method described in the second aspect.
[0027] In a fifth aspect, a computer-readable storage medium is provided. When the instructions in the computer-readable storage medium are executed by a processor of a computer device, the computer device is enabled to execute the method described in the second aspect.
[0028] The technical solution provided by the embodiments of the present disclosure brings the following beneficial effects:
[0029] In the disclosed embodiment, the data management system includes a data management server and a data node server corresponding to multiple sections of the oil and gas pipeline, and the data node server is used to obtain and store the pipeline data collected by the data acquisition device in the corresponding section. When the data management server receives a data request, it sends a data transmission request to the target data node server according to the data request, and the target data node server sends the target data to the sender of the data request according to the received data transmission request. In this way, the senders of multiple data requests can obtain the target data from the target data node server, avoiding repeated acquisition of data from the data acquisition device, and improving the stability of the operation of the data acquisition device in the oil and gas pipeline system. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, 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 disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0031] Figure 1 is a structural schematic diagram of an oil and gas pipeline system provided by an embodiment of the present disclosure;
[0032] Figure 2 is a structural schematic diagram of a data management system for an oil and gas pipeline system provided by an embodiment of the present disclosure;
[0033] Figure 3 is a flow chart of a data management method for an oil and gas pipeline system provided by an embodiment of the present disclosure;
[0034] Figure 4 is a flow chart of another data management method for an oil and gas pipeline system provided by an embodiment of the present disclosure;
[0035] Figure 5 is a structural block diagram of a data management device for an oil and gas pipeline system provided by an embodiment of the present disclosure;
[0036] Figure 6 It is a structural block diagram of a computer device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0037] In order to make the objectives, technical solutions and advantages of the present disclosure more clear, the embodiments of the present disclosure will be further described in detail below with reference to the accompanying drawings.
[0038] In order to facilitate understanding of the embodiments of the present disclosure, the oil and gas pipeline system is briefly introduced below.
[0039] Figure 1 This is an oil and gas pipeline system provided by the embodiment of the present disclosure. Figure 1 The oil and gas pipeline system includes an oil and gas pipeline 10 and a plurality of stations or valve chambers 11 distributed along the oil and gas pipeline 10 , and each station or valve chamber 11 is provided with a plurality of oil and gas pipeline equipment 111 and a plurality of data acquisition equipment 112 .
[0040] The oil and gas pipeline equipment 111 includes an oil pump, a heating furnace, an oil storage tank, a metering device, a compressor, and the like.
[0041] The data acquisition device 112 is used to collect pipeline operation data and relevant data of the oil and gas pipeline equipment 111. The data acquisition device 112 includes a variety of sensors, controllers and data servers. Among them, the types of sensors include temperature sensors, pressure sensors, voltage sensors, current sensors, flow sensors, etc., which are set at the locations where pipelines and oil and gas pipeline equipment need to be detected as needed. The controller may include a single-chip microcomputer, a PLC (Programmable Logic Controller), etc. The data server may be a server corresponding to a SCADA (Supervisory Control And Data Acquisition) system, a UPS (Uninterruptible Power Supply) system, a flow meter system, an equipment ledger system, a security system, and other systems. The data server is connected to the controller in the data acquisition device 112 through a network. The data server is used to obtain and store the pipeline data collected by the data acquisition device 112 to which it belongs. The controller obtains pipeline operation data in the oil and gas pipeline system, such as pressure, temperature, etc., and relevant data of each oil and gas pipeline equipment 111 through sensors, so as to analyze the operation status of the oil and gas pipeline system based on these data, thereby ensuring the long-term operation of the oil and gas pipeline system.
[0042] Different data acquisition devices 112 are used to obtain different types of pipeline data. Here, the types of pipeline data include but are not limited to data related to production scheduling (i.e. data corresponding to the SCADA system), environmental data (i.e. data corresponding to the security system), power data (i.e. data corresponding to the UPS system), flow data (i.e. data corresponding to the flow meter system), equipment operation data (i.e. data corresponding to the equipment ledger system), etc.
[0043] In the embodiment of the present disclosure, the oil and gas pipeline is divided into a plurality of sections 11 arranged in sequence along the oil and gas pipeline, and each section 11 is provided with a plurality of data acquisition devices 112. Each section 11 may correspond to one station field or valve chamber, or may correspond to a plurality of stations fields or valve chambers. For example, a plurality of adjacent stations fields or valve chambers that are close to each other may be divided into one section.
[0044] Figure 2 This is a data management system for an oil and gas pipeline system provided by an embodiment of the present disclosure. Figure 2, the data management system includes a data management server 21 and multiple data node servers 22. The multiple data node servers 22 correspond one-to-one to the multiple sections 11 of the oil and gas pipeline, that is, each section 11 corresponds to a data node server 22. The data node server 22 is used to obtain and store the data collected by the data acquisition device 112 in the corresponding section 11. The data management server 21 is used to receive a data request, and then send a data transmission request to the target data node server according to the received data request. The data transmission request is used to instruct the target data node server to send the target data to the sender 31 of the data request. The target data node server is the data node server 22 where the target data is located.
[0045] The data request is used to request target data, and the target data is the pipeline data that the sender 31 of the data request wants to obtain. The data request is sent by the sender 31 of the data request to the data management server 21.
[0046] The sender 31 of the data request may be an external data application system. Optionally, the external data application system may be an electronic dispatching system, a flow meter remote maintenance system, an automation remote maintenance system, a pump remote maintenance system, a compressor remote maintenance system, a centralized monitoring system, a leakage detection system, a data center, etc.
[0047] Among them, the electronic dispatching system, flow meter remote maintenance system, automation remote maintenance system, pump remote maintenance system and compressor remote maintenance system need to obtain the pipeline data corresponding to the SCADA system; the flow meter remote maintenance system and leakage detection system need to obtain the data corresponding to the flow meter system; the centralized monitoring system and data center both need to obtain the data corresponding to the SCADA system, UPS system, flow meter system, equipment inventory system and security system.
[0048] The data request includes information about the sender of the data request and information indicating the target data.
[0049] Exemplarily, the sender information of the data request may be account information, location information, etc. of the external data application system.
[0050] In some examples, the indication information of the target data may include an identifier of the target data node server and identification information of the target data.
[0051] After receiving the data request sent by the sender 31 of the data request, the data management server 21 determines the target data node server according to the identifier of the target data node server in the data request, and then sends a data transmission request to the target data node server.
[0052] In other examples, the indication information of the target data may include only identification information of the target data.
[0053] The data management server 21 pre-stores the corresponding relationship between the pipeline data and the data node server 22. After receiving the data request sent by the sender 31 of the data request, the data management server 21 determines the target data node server according to the target data to be requested by the data request and the corresponding relationship. Then, the data management server 21 sends a data transmission request to the target data node server.
[0054] In the embodiment of the present application, the data transmission request includes identification information of the target data, which is used to instruct the target data node server to determine the target data according to the identification information of the target data. The target data node server sends the target data to the sender 31 of the data request according to the received data transmission request sent by the data management server 21.
[0055] In some examples, each data node server 22 periodically obtains and stores data from the corresponding multiple data acquisition devices 112. In this case, after receiving the data transmission request sent by the data management server 21, the target data node server sends the target data corresponding to the identification information of the target data stored locally to the sender 31 of the data request according to the identification information of the target data in the data transmission request.
[0056] Exemplarily, the data management server 21 is a common X86 kernel server, which can manage 1024 data node servers 22 .
[0057] In the disclosed embodiment, the data management system includes a data management server and a data node server corresponding to multiple sections of the oil and gas pipeline, and the data node server is used to obtain and store the pipeline data collected by the data acquisition device in the corresponding section. When the data management server receives a data request, it sends a data transmission request to the target data node server according to the data request, and the target data node server sends the target data to the sender of the data request according to the received data transmission request. In this way, the senders of multiple data requests can obtain the target data from the target data node server, avoiding repeated acquisition of data from the data acquisition device, and improving the stability of the operation of the data acquisition device in the oil and gas pipeline system.
[0058] Optionally, the data transmission connection between the target data node server and the corresponding data acquisition device is a unidirectional data transmission connection, and the target data node server is used to periodically obtain and save pipeline data through the unidirectional data transmission connection; obtain target data from the saved pipeline data according to the data transmission request and send it to the sender 31 of the data request.
[0059] One-way data transmission connection means that the target data node server can only read the data collected by the corresponding data acquisition device 112, and cannot send data to the data server. In this way, it can be avoided that the data sent by the data node server 22 modifies or deletes the data collected by the data acquisition device 112, thereby ensuring that the data collected by the data acquisition device 112 is real data.
[0060] The one-way data transmission connection may be realized by a one-way gateway included in the data server in the data acquisition device 112 .
[0061] Optionally, the data transmission connection between the data node server 22 and the data acquisition device 112 may be a bidirectional data transmission connection. The bidirectional data transmission connection may be realized directly through the network connection between the data node server 22 and the data acquisition device 112 without installing a network gate.
[0062] Optionally, the data management server 21 is further configured to perform authority review on the data request before sending the data transmission request to the target data node server according to the data request; and send the data transmission request to the target data node server according to the data request that passes the review.
[0063] In the disclosed embodiment, the data node server 22 and the data request sender 31 can be connected for data transmission via the network segment defined by the enterprise LAN and the public network. The data acquisition device 112 is connected to the oil and gas pipeline equipment 111 via the intranet within the station.
[0064] The data management server 21 stores the authority review rules in advance. The authority review rules are formulated by the owner of the pipeline data in each section 11, and different types of pipeline data may correspond to different authority review rules.
[0065] Exemplarily, the authority review rules may include: the data management server pre-stores the correspondence between user information and pipeline data types, and the user information includes user accounts and data request passwords, etc. The data request sent by the sender 31 of the data request to the data management server 21 needs to include user account information and data request passwords corresponding to the data type of the target data. If the data management server 21 verifies that the user account information in the data request is consistent with the stored user account information, and the data request password is consistent with the stored data request password, it is considered that the authority review has been passed. The data request password is set by the owner of the pipeline data of each section, and then notified to the sender 31 of the data request.
[0066] In some examples, the owner of the oil and gas pipeline data can send a permission audit rule setting instruction to the data management server 21 through the client, and the setting instruction is used to indicate the addition, deletion or modification of the correspondence between user information and pipeline data type. The data management server 21 modifies the permission audit rule according to the received setting instruction.
[0067] When the data request is approved, the data management server 21 sends a data transmission request to the target data node server. In this way, the sender of the data request who is not authorized cannot obtain the pipeline data, thereby ensuring the security of the pipeline data.
[0068] Optionally, the target data node server is further configured to perform identity authentication on the data management server 21 after receiving the data transmission request; in response to determining that the data management server 21 passes the identity authentication, send the target data to the sender 31 of the data request.
[0069] Each data node server 22 stores the identity information of the data management server that manages the data node server 22. When the target data node server receives the data transmission request sent by the data management server 21, the identity information of the data management server 21 is authenticated according to the stored identity information of the data management server 21. If the identity information is consistent with the stored identity information of the data management server 21, it is determined that the data management server 21 has passed the identity authentication, and the target data is sent to the sender 31 of the data request.
[0070] Exemplarily, the identity information of the data management server 21 may be the IP (Internet Protocol) address, device model, etc. of the server.
[0071] By authenticating the data management server 21, the sender 31 of the data request cannot obtain the pipeline data through the data management server 21 without management authority. The risk of pipeline data leakage can be reduced, and the security of pipeline data can be further guaranteed.
[0072] Optionally, the target data node server is further used to convert the target data into a target data format, where the target data format is a data format supported by the sender of the data request; and send the target data in the target data format to the sender of the data request.
[0073] In an embodiment of the present application, the data transmission request received by the target data node server also includes format information, which is used to indicate the data format supported by the sender of the data request. The target data node server determines the target data format according to the format information in the data transmission request.
[0074] In a possible implementation, the data request includes the format information, the data management server 21 obtains the format information from the data request, and carries the obtained format information in a data transmission request and sends it to the target data node server.
[0075] In other examples, format information of data formats supported by various application systems is stored in the data management server 21. The data management server 21 determines the corresponding format information according to the sender information in the data request, and sends the format information to the target data node server in the data transmission request.
[0076] By converting the data format, the sender 31 of the data request can better be compatible with different types of data of the oil and gas pipeline, and can also facilitate the data management server 21 to analyze, manage and use the data.
[0077] In other implementations, the target data node server directly sends the acquired target data to the sender 31 of the data request, and the sender 31 of the data request converts and processes the target data by itself.
[0078] Figure 3 The present invention provides a data management method for an oil and gas pipeline system. Figure 2 The data management server 21. Figure 3 , the method comprises the following steps:
[0079] In step 301, a data request is received.
[0080] Data request is used to request target data. The target data is the data that the sender of the data request wants to obtain. For more information about data request, see Figure 2 The detailed description of the corresponding embodiments is omitted here.
[0081] In step 302, according to the data request, a data transmission request is sent to the target data node server.
[0082] The target data node server is the data node server where the target data is located. The data transmission request is used to instruct the target data node server to send the target data to the sender of the data request. For more information about the data transmission request, see Figure 2 The embodiment shown is omitted here for detailed description.
[0083] In the disclosed embodiment, the data management system includes a data management server and a data node server corresponding to multiple sections of the oil and gas pipeline, and the data node server is used to obtain and store the pipeline data collected by the data acquisition device in the corresponding section. When the data management server receives a data request, it sends a data transmission request to the target data node server according to the data request, and the target data node server sends the target data to the sender of the data request according to the received data transmission request. In this way, the senders of multiple data requests can obtain the target data from the target data node server, avoiding repeated acquisition of data from the data acquisition device, and improving the stability of the operation of the data acquisition device in the oil and gas pipeline system.
[0084] Figure 4 Another data management method for an oil and gas pipeline system provided by the embodiment of the present disclosure is as follows. Figure 2 The data node server 22 and the data management server 21 in the embodiment are executed together. Figure 4 , the method comprises the following steps:
[0085] In step 401, a sender of a data request sends a data request to a data management server.
[0086] The data request is used to request target data, which is the data of the oil and gas pipeline system that the sender of the data request wants to obtain.
[0087] In some examples, the sender of the data request sends the data request to the data management server through a data adapter.
[0088] Accordingly, the data management server receives the data request from the sender.
[0089] In step 402, the data management server performs permission review on the data request.
[0090] After receiving the data request sent by the sender of the data request, the data management server reviews the data request according to the pre-stored authority review rules to determine whether the sender of the data request has the authority to obtain the data.
[0091] If the data request permission review passes, the data management server determines that the sender of the data request has the permission to obtain the data, and executes step 403. If the data request permission review fails, the data management server determines that the sender of the data request does not have the permission to obtain the data, and does not execute step 403 and subsequent steps, and the data management server records the relevant information of the data request that failed the permission review in the system log for subsequent review by relevant technical personnel.
[0092] In step 403, the data management server determines the target data node server according to the data request.
[0093] The target data node server is the data node server where the target data is located.
[0094] The data request includes information about the sender of the data request and indication information of the target data.
[0095] In some examples, the indication information of the target data may include an identifier of the target data node server and identification information of the target data.
[0096] After receiving the data request sent by the sender of the data request, the data management server determines the target data node server according to the identifier of the target data node server in the data request, and then sends a data transmission request to the target data node server.
[0097] In other embodiments, the indication information of the target data may only include identification information of the target data.
[0098] The data management server pre-stores the corresponding relationship between the pipeline data and the data node server. After receiving the data request sent by the sender of the data request, the data management server determines the target data node server according to the target data requested by the data request and the corresponding relationship. Then, the data management server sends a data transmission request to the target data node server.
[0099] Exemplarily, the identification information of the target data may include identification information of oil and gas pipeline equipment or identification information of pipeline operation data. The identification information of oil and gas pipeline equipment may be the serial number of the oil and gas pipeline equipment, the equipment type, etc. The identification information of pipeline operation data may be pressure data, temperature data, etc.
[0100] In step 404, the data management server determines whether the target data node server is online.
[0101] If the target data node server is not online, it may be that the target data node server has a network failure or the target data node server itself has a failure. At this time, the data management server records the information that the target data node server is not online in the system log, so that subsequent relevant technical personnel can analyze the reason why the sender of the data request cannot obtain data based on the system log.
[0102] Optionally, the data node server can also feedback the information that the target data node server is offline to the sender of the data request, or when there are other senders of data requests who also want to obtain the target data through the target data node server, inform the sender of the data request that the target data cannot be obtained through the target data node server.
[0103] If the target data node server is online, execute step 405.
[0104] In step 405, the data management server sends a data transmission request to the target node server.
[0105] Correspondingly, the target data node server receives the data transmission request. For details about the data transmission request, see Figure 2 The embodiment shown is omitted here for detailed description.
[0106] In step 406, the target data node server obtains the target data according to the data transmission request.
[0107] In some examples, each data node server periodically obtains and stores data from the corresponding multiple data acquisition devices. In this case, after receiving the data transmission request sent by the data management server, the target data node server sends the target data corresponding to the identification information of the target data stored locally to the sender of the data request according to the identification information of the target data in the data transmission request.
[0108] Optionally, the data transmission connection between the target data node server and the data acquisition device can be a unidirectional data transmission connection or a bidirectional data transmission connection. For details about the unidirectional data transmission connection and the bidirectional data transmission connection, see Figure 2 The detailed description of the embodiment is omitted here.
[0109] Optionally, before the target data node server obtains the target data, the method further includes performing identity authentication on the data management server that sends the data transmission request.
[0110] The target data node server can authenticate the data management server according to the identity information of the pre-stored data management server. If the authentication fails, it means that there are other senders of data requests who want to obtain pipeline data from the target data node server through the unauthorized data management server. At this time, the target data node server sends the target data to the sender of the data request, and records the information of the data management server's failed authentication in the system log, which is convenient for subsequent related technical personnel to view.
[0111] By authenticating the data management server, pipeline data leakage can be further avoided and the security of pipeline data can be guaranteed.
[0112] In step 407, the target data node server sends the target data to the sender of the data request.
[0113] Optionally, before the target data node server sends the target data to the sender of the data request, the method further includes the target data node server determining whether the network connection between the target data node server and the sender of the data request is successful.
[0114] If the network connection between the target data node server and the sender of the data request is successful, the target data is sent to the sender of the data request.
[0115] If the target data node server fails to connect to the data requester, the target data node server returns a connection failure prompt to the data management server, and the data management server records the connection failure information in the system log, so that subsequent relevant technical personnel can analyze the reason why the data request sender cannot obtain data based on the system log. Or the data management server feeds back the connection failure information to the sender of the data request, so that the sender of the data request can check whether there is a network failure.
[0116] Optionally, before the target data node server sends the target data to the sender of the data request, the method further includes: the target data node server converts the target data into a data format supported by the sender of the data request, and then sends the format-converted target data to the sender of the data request. Accordingly, the sender of the data request receives the target data.
[0117] In the disclosed embodiment, by setting up a data management server and multiple data node servers corresponding to multiple sections of the oil and gas pipeline, all pipeline data of the oil and gas pipeline can be decentralized managed and stored. When a data node server fails, it will not affect the data request sender to obtain data from other data node servers. By performing permission review on the data request sent by the sender of the data request and the identity information of the data management server, it can be prevented that the pipeline data is not obtained by the sender of the unauthorized data request, further improving the security of pipeline data transmission.
[0118] In the disclosed embodiment, the data management server is used to receive the data request sent by the sender of the data request and perform permission review on the data request, and then determine the data node server where the target data is located. That is, the data management server itself does not store the pipeline data, and the sender of the data request cannot obtain the pipeline data from the data management server. In this way, other unknown external applications cannot obtain the pipeline data from the data management server, which ensures the security of the pipeline data.
[0119] In the disclosed embodiment, since the data center needs to obtain all pipeline data of the entire oil and gas pipeline system, it is possible to back up all pipeline data of the oil and gas pipeline system. On the one hand, the sender of other data requests can directly obtain pipeline data from the data center, which improves the efficiency of pipeline data transmission to a certain extent. On the other hand, since the data center backs up all pipeline data of the oil and gas pipeline system, when the data node server fails, or the data acquisition equipment fails, or the oil and gas pipeline equipment fails, causing the sender of the data request to be unable to obtain the target data from the data node server, the target data can be directly obtained from the data center, thereby improving the reliability of pipeline data transmission.
[0120] Figure 5 1 is a structural block diagram of a data management device 500 for an oil and gas pipeline system provided by an embodiment of the present disclosure. The device comprises: a receiving module 501 and a sending module 502.
[0121] The receiving module 501 is used to receive a data request, and the data request is used to request target data. The sending module 502 is used to send a data transmission request to a target data node server according to the data request, and the target data node server is a data node server where the target data is located, and the data transmission request is used to instruct the target data node server to send the target data to the sender of the data request.
[0122] Optionally, the device further includes a permission review module 503, which is used to perform a permission review on the data request before sending the data transmission request to the target data node server according to the data request.
[0123] The sending module 502 is used to send a data transmission request to a target data node server according to the approved data request.
[0124] It should be noted that: the data management device for oil and gas pipeline system provided in the above embodiment only uses the division of the above functional modules as an example when performing data management. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the data management device for oil and gas pipeline system provided in the above embodiment and the data management method embodiment for oil and gas pipeline system belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0125] Figure 6 is a block diagram of the computer device structure provided by the embodiment of the present disclosure. Figure 6 As shown, the computer device includes: a processor 601 and a memory 602 .
[0126] The processor 601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 601 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 601 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 601 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 601 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0127] The memory 602 may include one or more computer-readable storage media, which may be non-transitory. The memory 602 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 602 is used to store at least one instruction, which is used to be executed by the processor 601 to implement the steps performed by the data management server in the data management method for the oil and gas pipeline system provided in the embodiment of the present application.
[0128] Those skilled in the art will understand that Figure 6 The structure shown in the figure does not constitute a limitation on the computer device, and may include more or less components than shown in the figure, or combine some components, or adopt a different component arrangement.
[0129] The embodiment of the present invention also provides a non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by the processor of the computer device, the computer device can execute Figure 3 The data management method of the oil and gas pipeline system provided in the embodiment, or executing Figure 4 The data management method provided in the embodiment includes steps executed by the data management server.
[0130] A computer program product containing instructions that, when executed on a computer, causes the computer to perform Figure 3 The data management method of the oil and gas pipeline system provided in the embodiment shown, or executing Figure 4 The data management method provided in the embodiment includes steps executed by the data management server.
[0131] The above description is only an optional embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A data management system for an oil and gas pipeline system, characterized in that: The oil and gas pipeline system includes a plurality of sections arranged in sequence along the oil and gas pipeline, each of the sections corresponds to one or more stations or valve chambers, the stations or valve chambers include a plurality of oil and gas pipeline equipment and a plurality of data acquisition equipment, the oil and gas pipeline equipment includes an oil pump, a heating furnace, an oil storage tank, a metering device and a compressor, the data acquisition equipment includes a sensor and a data server, the sensor is used to collect pipeline data, the pipeline data includes pipeline operation data in the oil and gas pipeline system and data of the oil and gas pipeline equipment, the data server includes a data monitoring control and data acquisition system, an uninterruptible power supply system, a flow meter system, an equipment ledger system and a server corresponding to the security system, the data server is used to obtain and store the pipeline data collected by the data acquisition equipment, each of the data servers includes a one-way network switch, the one-way network switch is used to realize a one-way data transmission connection between the data node server and the corresponding data acquisition equipment; The data management system comprises: a data management server and a plurality of data node servers; The multiple data node servers correspond one-to-one to the multiple sections, and the data node servers are used to periodically acquire and store the pipeline data collected by the data collection device in the corresponding section through the unidirectional data transmission connection; The data management server is used to receive a data request, the data request is used to request target data; and send a data transmission request to a target data node server according to the data request, the target data node server is a data node server where the target data is located; The target data node server is used to obtain the target data from the saved pipeline data according to the received data transmission request, and send the target data to the sender of the data request, the sender includes an electronic scheduling system, a flow meter remote maintenance system, an automation remote maintenance system, a pump remote maintenance system, a compressor remote maintenance system, a centralized monitoring system, a leakage detection system and a data center, the electronic scheduling system, the flow meter remote maintenance system, the automation remote maintenance system, the pump remote maintenance system and the compressor remote maintenance system need to obtain the data corresponding to the data monitoring control and data acquisition system, the flow meter remote maintenance system and the leakage detection system need to obtain the data corresponding to the flow meter system, the centralized monitoring system and the data center need to obtain the data corresponding to the data monitoring control and data acquisition system, the uninterruptible power supply system, the flow meter system, the equipment inventory system and the security system.
2. The data management system according to claim 1, characterized in that: The data management server is also used to perform permission review on the data request before sending the data transmission request to the target data node server according to the data request; and send the data transmission request to the target data node server according to the data request that passes the review.
3. The data management system according to claim 1 or 2, characterized in that: The target data node server is further configured to perform identity authentication on the data management server after receiving the data transmission request; and in response to determining that the data management server passes the identity authentication, send the target data to the sender.
4. The data management system according to claim 1 or 2, characterized in that: The target data node server is also used to convert the target data into a target data format, where the target data format is a data format supported by the sender; and send the target data in the target data format to the sender.
5. A data management method for an oil and gas pipeline system, characterized in that: Applied to the data management system according to any one of claims 1 to 4 above, the data management method comprises: The data management server receives a data request, wherein the data request is used to request target data; The data management server sends a data transmission request to the target data node server according to the data request. The target data node server is the data node server where the target data is located. The data transmission request is used to instruct the target data node server to obtain the target data from the saved pipeline data and send the target data to the sender of the data request.
6. The data management method according to claim 5, characterized in that: The data management method further comprises: The data management server performs a permission review on the data request before sending the data transmission request to the target data node server according to the data request; Send a data transmission request to the target data node server based on the approved data request.
7. A data management device for an oil and gas pipeline system, characterized in that: A data management server applied to a data management system according to any one of claims 1 to 4, wherein the data management device comprises: A receiving module, used for receiving a data request, wherein the data request is used for requesting target data; A sending module is used to send a data transmission request to a target data node server according to the data request, wherein the target data node server is a data node server where the target data is located, and the data transmission request is used to instruct the target data node server to obtain the target data from the saved pipeline data and send the target data to the sender of the data request.
8. A computer device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the method according to claim 5 or 6.
9. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of a computer device, the computer device is enabled to perform the method according to claim 5 or 6.
