CN113382069A - Data transmission method, device and equipment for oil and gas pipeline and storage medium - Google Patents

Data transmission method, device and equipment for oil and gas pipeline and storage medium Download PDF

Info

Publication number
CN113382069A
CN113382069A CN202110640864.XA CN202110640864A CN113382069A CN 113382069 A CN113382069 A CN 113382069A CN 202110640864 A CN202110640864 A CN 202110640864A CN 113382069 A CN113382069 A CN 113382069A
Authority
CN
China
Prior art keywords
control data
system unit
communication channel
monitoring server
oil
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110640864.XA
Other languages
Chinese (zh)
Inventor
毛建飞
任炜松
黄燕荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Supcon Technology Co Ltd
Original Assignee
Zhejiang Supcon Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Supcon Technology Co Ltd filed Critical Zhejiang Supcon Technology Co Ltd
Priority to CN202110640864.XA priority Critical patent/CN113382069A/en
Publication of CN113382069A publication Critical patent/CN113382069A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Pipeline Systems (AREA)

Abstract

The application provides a data transmission method, a data transmission device, data transmission equipment and a storage medium of an oil-gas pipeline, and belongs to the technical field of data transmission processing. The method comprises the following steps: respectively acquiring control data of each control system unit based on a first communication channel corresponding to each control system unit, wherein the first communication channel corresponding to each control system unit carries out data transmission based on at least one communication protocol; respectively converting the control data of each control system unit into converted control data which accords with a target communication protocol; and respectively sending the converted control data to a monitoring server based on a second communication channel, wherein the second communication channel carries out data transmission based on a target communication protocol. The application can unify the transmission protocol of the automatic control system unit, thereby improving the stability and maintainability of the control system of the oil-gas pipeline.

Description

Data transmission method, device and equipment for oil and gas pipeline and storage medium
Technical Field
The application relates to the technical field of data transmission processing, in particular to a data transmission method, a data transmission device, data transmission equipment and a storage medium for an oil-gas pipeline.
Background
In order to know the working condition of the oil and gas pipeline in time, the related data of the oil and gas pipeline needs to be acquired through multi-stage control display, and the running state and other conditions of the oil and gas pipeline are judged based on the monitored related data.
The data transmission method of the oil and gas pipeline adopted at present mainly transmits related data to a monitoring server of a station and a monitoring server of a regulation and control center directly through an automatic control system unit arranged in the station, so that the monitoring of the working condition of the pipeline in the station is realized.
Disclosure of Invention
The application aims to provide a data transmission method, a data transmission device, data transmission equipment and a data transmission storage medium for an oil-gas pipeline, which can unify transmission protocols of automatic control system units, so that the stability and maintainability of a control system of the oil-gas pipeline are improved.
The embodiment of the application is realized as follows:
one aspect of the embodiments of the present application provides a data transmission method for an oil and gas pipeline, where the method is applied to an acquisition server in an oil and gas pipeline system, and the oil and gas pipeline system includes: the system comprises at least one automatic control system unit, an acquisition server and at least one monitoring server, wherein each automatic control system unit and each monitoring server are respectively in communication connection with the acquisition server, and the method comprises the following steps:
respectively acquiring control data of each control system unit based on a first communication channel corresponding to each control system unit, wherein the first communication channel corresponding to each control system unit carries out data transmission based on at least one communication protocol;
respectively converting the control data of each control system unit into converted control data which accords with a target communication protocol;
and respectively sending the converted control data to a monitoring server based on a second communication channel, wherein the second communication channel carries out data transmission based on a target communication protocol.
Optionally, the converted control data includes a timestamp, and the acquisition server includes: the historical database is used for storing converted control data to be sent to the monitoring server when the acquisition server is offline;
respectively sending the converted control data to a monitoring server based on a second communication channel, comprising:
acquiring the connection state of an acquisition server and a monitoring server;
and if the connection state is a normal connection state and the converted control data are stored in the historical database, transmitting the converted control data in the historical database to the monitoring server according to the timestamp of the control data.
Optionally, the method further comprises:
acquiring the connection state of an acquisition server and a monitoring server;
and if the connection state is the disconnection state, the converted control data is prestored in the historical database.
Optionally, the oil and gas pipeline system further comprises: the relational database is used for storing the incidence relation among the plurality of control data;
the method further comprises the following steps:
and sending the converted control data to a relational database for correlation storage.
Optionally, before the control data of each control system unit is acquired based on the first communication channel corresponding to the control system unit, the method further includes:
and respectively establishing a first communication channel between each control system unit and the acquisition server based on the communication protocol used by each control system unit.
Optionally, before the converted data are respectively sent to the monitoring server based on the second communication channel, the method further includes:
and screening the converted control data based on a preset screening rule to obtain screened control data.
Optionally, respectively sending the converted data to the monitoring server based on the second communication channel, including:
and sending the screened control data to a monitoring server based on a second communication channel.
On the other hand of the embodiment of this application, provide a data transmission device of oil gas pipeline, the collection server in oil gas piping system is applied to the device, and oil gas piping system includes: at least one autonomous system unit, acquisition server, at least one monitoring server, each accuse system unit, each monitoring server respectively with acquisition server communication connection, the device includes: the device comprises an acquisition module, a conversion module and a sending module;
the acquisition module is used for acquiring the control data of each control system unit based on the first communication channel corresponding to the control system unit, wherein the first communication channel corresponding to the control system unit carries out data transmission based on at least one communication protocol;
the conversion module is used for respectively converting the control data of each control system unit into converted control data which accords with a target communication protocol;
and the sending module is used for respectively sending the converted control data to the monitoring server based on a second communication channel, wherein the second communication channel is used for carrying out data transmission based on a target communication protocol.
Optionally, the converted control data includes a timestamp, and the acquisition server includes: the historical database is used for storing converted control data to be sent to the monitoring server when the acquisition server is offline; the sending module is used for acquiring the connection state of the acquisition server and the monitoring server; and if the connection state is a normal connection state and the converted control data are stored in the historical database, transmitting the converted control data in the historical database to the monitoring server according to the timestamp of the control data.
Optionally, the sending module is further configured to obtain a connection state between the acquisition server and the monitoring server; and if the connection state is the disconnection state, the converted control data is prestored in the historical database.
Optionally, the oil and gas pipeline system further comprises: the relational database is used for storing the incidence relation among the plurality of control data; and the conversion module is also used for sending the converted control data to a relational database for correlation storage.
Optionally, the receiving module is further configured to establish a first communication channel between each of the control system units and the acquisition server based on a communication protocol used by each of the control system units.
Optionally, the conversion module is further configured to filter the converted control data based on a preset filtering rule to obtain filtered control data.
Optionally, the sending module is further configured to send the filtered control data to the monitoring server based on the second communication channel.
In another aspect of the embodiments of the present application, there is provided a computer device, including: the data transmission method of the oil and gas pipeline comprises a memory and a processor, wherein a computer program capable of running on the processor is stored in the memory, and when the processor executes the computer program, the steps of the data transmission method of the oil and gas pipeline are realized.
In another aspect of the embodiments of the present application, a computer-readable storage medium is provided, where a computer program is stored on the storage medium, and when the computer program is executed by a processor, the steps of the data transmission method for an oil and gas pipeline are implemented.
The beneficial effects of the embodiment of the application include:
in the data transmission method, the device, the equipment and the storage medium for the oil and gas pipeline, control data of each control system unit can be acquired respectively based on the communication channel corresponding to each control system unit; respectively converting the control data of each control system unit into converted control data which accords with a target communication protocol; and respectively sending the converted control data to a monitoring server based on a second communication channel. The control data of each console unit is converted into the converted control data which accords with the target communication protocol, so that the transmission protocol of the automatic control system unit can be unified, the problem of system stability caused by excessive data transmission protocols is solved, and the stability and maintainability of the control system of the oil and gas pipeline are improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic view of a scene architecture of an oil and gas pipeline provided in an embodiment of the present application;
FIG. 2 is a first schematic structural diagram of an oil and gas pipeline system provided in an embodiment of the present application;
FIG. 3 is a first schematic flow chart of a data transmission method for an oil and gas pipeline according to an embodiment of the present disclosure;
FIG. 4 is a second schematic structural view of an oil and gas pipeline system provided in the embodiments of the present application;
FIG. 5 is a schematic flow chart diagram II of a data transmission method for an oil and gas pipeline according to an embodiment of the present application;
FIG. 6 is a third schematic flow chart of a data transmission method for an oil and gas pipeline according to an embodiment of the present application;
FIG. 7 is a third schematic structural view of an oil and gas pipeline system provided in an embodiment of the present application;
FIG. 8 is a schematic structural diagram of a data transmission device of an oil and gas pipeline provided by an embodiment of the application;
fig. 9 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In the description of the present application, it is noted that the terms "first", "second", "third", and the like are used merely for distinguishing between descriptions and are not intended to indicate or imply relative importance.
The following explains a specific scenario architecture of an application scenario of an oil and gas pipeline provided in the embodiment of the present application.
Fig. 1 is a schematic view of a scenario architecture of an oil and gas pipeline provided in an embodiment of the present application, please refer to fig. 1, and the scenario includes: the system comprises a local end 110, a station end 120 and a regulation and control center end 130, wherein the local end 110 can be a control display device erected on each oil and gas pipeline, and the control display device can display related display data under the local control of a user; the station end 120 may be disposed in a station of an oil and gas pipeline, and acquires and displays relevant display data of all oil and gas pipelines within a management range of the station; the control center terminal 130 may be disposed in a control center, and acquires and displays relevant display data of all oil and gas pipelines that can be controlled and managed.
Optionally, the local end 110, the station end 120, and the control center end 130 may be electronic equipment systems, the local end 110 is disposed on an oil-gas pipeline and is in control connection with a control system of the oil-gas pipeline, and the station end 120 and the control center end 130 are in remote communication connection with the control system of the oil-gas pipeline.
The following specifically explains the specific structural relationship of the oil and gas pipeline system provided in the embodiment of the present application and the connection with the above scenario.
Fig. 2 is a schematic structural diagram of an oil and gas pipeline system provided in an embodiment of the present application, referring to fig. 2, the oil and gas pipeline system includes: the system comprises at least one autonomous system unit 210, an acquisition server 220 and at least one monitoring server 230, wherein each autonomous system unit 210 and each monitoring server 230 are respectively in communication connection with the acquisition server 220.
Alternatively, the autonomous system unit 210 may be a control system on a certain section of oil and gas pipeline, and is used for adjusting and controlling related data on the section of oil and gas pipeline; the collection server 220 may be a server erected in a station of an oil and gas pipeline and used for collecting relevant data, and relevant data collection software is deployed on the collection server 220; the monitoring server 230 may be a remote server, And specifically may be a system server of an SCADA (Supervisory Control And Data Acquisition), in an application scenario shown in fig. 1, the monitoring server 230 may include two types, where the first type of monitoring server may be a station monitoring server disposed at the station end, And the second type of monitoring server may be a Control center monitoring server disposed at the Control center end, And is respectively configured to receive related Data And perform monitoring processing in the two scenarios.
Optionally, a plurality of different autonomous system units 210 may be disposed on the oil and gas pipeline, and each of the autonomous system units 210 may be in communication connection with a collection server 220 disposed in the station, and send related control data to the collection server 220; the collection server 220 may also be communicatively coupled to the two types of monitoring servers 230, respectively.
The following specifically explains a specific implementation process of the oil and gas pipeline data transmission method based on the acquisition server in the oil and gas pipeline system provided in the embodiment of the present application as an execution subject.
Fig. 3 is a first schematic flow chart of a method for transmitting data in an oil and gas pipeline according to an embodiment of the present application, please refer to fig. 3, where the method includes:
s310: and acquiring the control data of each control system unit based on the first communication channel corresponding to the control system unit.
The first communication channels corresponding to the respective control system units are used for data transmission based on at least one communication protocol.
Alternatively, the control data may be related parameters for the autonomous system unit to automatically control the corresponding oil and gas pipeline, and the automatic control may specifically be a control mode for automatically controlling some critical parameters in the oil and gas pipeline so that they can be automatically adjusted to return to the value range required by the engineering when they deviate from the normal state due to external interference (e.g., environmental factors such as climate, temperature, humidity, etc.).
Alternatively, the communication channel may be a channel for transmitting data of a specific format, and the communication channels may be different for different autonomous system units. Each first communication channel may perform data transmission based on one communication protocol, and if there are multiple autonomous system units, there may be multiple first communication channels, and the communication protocols corresponding to each first communication channel are also different, that is, data transmission may be performed based on multiple communication protocols for multiple autonomous system units.
Alternatively, the communication protocol may be any type of protocol, such as: the communication protocol may be any existing communication protocol such as modbus _ rtu, modbus _ TCP, IEC104, OPC, or a proprietary communication protocol established between autonomous system vendors, and is not limited herein.
Optionally, after the respective control system unit is connected to the collection server, the collection server may obtain the control data of each autonomous system unit, and the formats of the control data may be different.
S320: and respectively converting the control data of each control system unit into converted control data which accords with a target communication protocol.
Optionally, after receiving the control data of each autonomous system unit, format conversion may be performed on the control data of different format types, and the control data may be converted into converted control data conforming to the target communication protocol.
The target communication protocol may be a communication protocol sent to the monitoring server by the acquisition server, and the communication protocol may be a communication protocol with a uniform format.
S330: and respectively sending the converted control data to a monitoring server based on a second communication channel.
And the second communication channel carries out data transmission based on the target communication protocol.
Optionally, after the control data is converted into the converted control data, the converted control data may be sent to the monitoring server through the second communication channel, and specifically, the control data may be any one or two of the station monitoring server and the regulation and control center monitoring server.
Optionally, the second communication channel may be a communication channel between the acquisition server and the monitoring server, and specifically may be a communication channel for performing data transmission based on the aforementioned target communication protocol.
The target communication protocol may be a communication protocol commonly used in the autonomous system, such as IEC104 and MODBUS.
In the data transmission method for the oil and gas pipeline provided by the embodiment of the application, the control data of each control system unit can be obtained respectively based on the communication channel corresponding to the control system unit; respectively converting the control data of each control system unit into converted control data which accords with a target communication protocol; and respectively sending the converted control data to a monitoring server based on a second communication channel. The control data of each console unit is converted into the converted control data which accords with the target communication protocol, so that the transmission protocol of the automatic control system unit can be unified, the problem of system stability caused by excessive data transmission protocols is solved, and the stability and maintainability of the control system of the oil and gas pipeline are improved.
Another specific structural relationship of the oil and gas piping system provided in the embodiment of the present application is specifically explained below.
Fig. 4 is a schematic structural diagram of an oil and gas pipeline system provided in an embodiment of the present application, please refer to fig. 4, in which the collection server includes: a history database 221, where the history database 221 is used to store the converted control data to be sent to the monitoring server 230 by the acquisition server 220 when offline.
Alternatively, the history database 221 may be a database space provided in the collection server 220 or may also be a storage space of a hard disk device connected to an external device, which is not limited herein.
Another specific implementation of the method for transmitting data in an oil and gas pipeline provided in the embodiments of the present application is specifically explained below.
Fig. 5 is a schematic flow chart of a method for transmitting oil and gas pipeline data according to an embodiment of the present application, please refer to fig. 5, where the converted control data is respectively sent to a monitoring server based on a second communication channel, including:
s510: and acquiring the connection state of the acquisition server and the monitoring server.
Optionally, the connection state between the acquisition server and the monitoring server may be monitored in real time to determine whether the current acquisition server and the monitoring server are in a normal connection state or a disconnection state.
The normal connection state can be a state that the acquisition server and the monitoring server are in a data transmission process or can be carried out at any time when data transmission is needed; the disconnected state may be a state in which transmission is not possible when data transmission is required or a state in which transmission is disconnected.
S520: and if the connection state is a normal connection state and the converted control data are stored in the historical database, transmitting the converted control data in the historical database to the monitoring server according to the timestamp of the control data.
Optionally, after the connection state is determined to be the normal connection state, it may be further determined whether the converted control data is stored in the historical database, and if so, the converted control data in the historical database may be sent to the monitoring server according to the timestamp of the control data.
The timestamp can be a timestamp which is stored in the converted control data and is triggered by a communication zone bit, and when the condition is met, the converted control data in the historical database can be sent to the monitoring server from the position of the timestamp mark.
Optionally, if the connection state is a normal connection state and the converted control data is stored in the historical database, it may be determined that the current state is that the monitoring server and the acquisition server recover communication connection, and the data in the historical database with the timestamp may be transmitted to the monitoring server.
Optionally, if the connection state is a normal connection state and there is no converted control data in the historical database, it may be determined that the monitoring server and the acquisition server are not disconnected, and real-time information transmission may be performed without being stored in the historical database.
In the oil and gas pipeline data transmission method provided in the embodiment of the application, the connection state of the acquisition server and the monitoring server can be acquired, and if the connection state is a normal connection state and the converted control data is stored in the historical database, the converted control data in the historical database is sent to the monitoring server according to the timestamp of the control data. The breakpoint continuous transmission can be achieved through the transmission of the control data after conversion is carried out according to the timestamp, the situation that the data needs to be retransmitted after the connection and disconnection between the monitoring server and the acquisition server are recovered is avoided, and accordingly the transmission speed and timeliness of the control data after conversion can be improved.
The following is a specific explanation of another specific implementation of the method for transmitting data in an oil and gas pipeline provided in the embodiments of the present application.
Fig. 6 is a schematic flow chart of a third method for transmitting data in an oil and gas pipeline according to an embodiment of the present application, please refer to fig. 6, where the method further includes:
s610: and acquiring the connection state of the acquisition server and the monitoring server.
Optionally, S610 is the same as S510, and is not described herein again.
S620: and if the connection state is the disconnection state, the converted control data is prestored in the historical database.
Optionally, after detecting that the connection between the acquisition server and the monitoring server is disconnected, the converted control data may be pre-stored in the history database, and accordingly, a corresponding timestamp may be generated for storage.
For example, when data is being transmitted between the collection server and the monitoring server, if the connection is broken, the collection server may record the current time and transmit the converted control data to be transmitted after the current time to the historical database for storage.
Alternatively, after the data is stored in the history database, the recovery of the connection state may be waited, and if the connection state is recovered, the step of S520 may be executed to perform data transmission.
Next, still another structural connection relationship of the oil and gas piping system provided in the embodiment of the present application will be explained.
Fig. 7 is a third schematic structural diagram of the oil and gas pipeline system provided in the embodiment of the present application, please refer to fig. 7, the oil and gas pipeline system further includes: a relational database 240, the relational database 240 being used to store an association relationship between a plurality of control data.
Alternatively, relational database 240 may be a database built on a relational database model that handles data in the database by concepts and methods such as set algebra, and may be a formally descriptive table that acts as a special collector that holds data items, and the data in these tables can be accessed or recalled in many different ways without the need to reorganize the database tables.
It should be noted that, in the prior art, since there is no acquisition server, when it is necessary to transmit control data to the relational database 240, it is necessary to perform relatively complicated processing through the monitoring server, and in the embodiment of the present application, the acquisition server 220 may be connected to the relational database 240 through a preset relevant rule, and then transmit the converted control data to the relational database, so as to implement interaction between the system and the relational database.
Optionally, the method further comprises: and sending the converted control data to a relational database for correlation storage.
Optionally, the relational database may store the converted control data, wherein if the relational database is disconnected from the acquisition server, the related implementation processes of S510-S520 and S610-S620 may also be adopted, which are not described herein again.
Optionally, before the control data of each of the control system units is acquired based on the communication channel corresponding to the control system unit, the method further includes:
and establishing a first communication channel between each control system unit and the acquisition server based on the communication protocol used by each control system unit.
Optionally, before the control data of each control system unit is acquired based on the communication channel corresponding to the control system unit, the first communication channel may be established in advance, and the communication protocols used by the respective autonomous system units are different, so that different first communication channels may be established based on different communication protocols, thereby implementing the communication connection between the respective autonomous system units and the acquisition server.
Optionally, before the converted data are respectively sent to the monitoring server based on the second communication channel, the method further includes:
and screening the converted control data based on a preset screening rule to obtain screened control data.
Optionally, the preset screening rule may be a screening condition preset by the user, and when the user needs to obtain a certain type or certain types of data in the large amount of control data through the monitoring server, the converted control data may be screened by setting the corresponding preset screening rule, so as to obtain the screened control data.
Optionally, respectively sending the converted data to the monitoring server based on the second communication channel, including:
and sending the screened control data to a monitoring server based on a second communication channel.
Optionally, after the screening operation is performed, the screened control data may be sent to the monitoring server through the second communication channel, so that the user may obtain information of the relevant control data through the monitoring server.
The following describes a device, equipment, a storage medium, and the like corresponding to the data transmission method for the oil and gas pipeline provided by the present application, and specific implementation processes and technical effects thereof are referred to above and will not be described again below.
Fig. 8 is a schematic structural diagram of a data transmission device of an oil and gas pipeline provided in an embodiment of the present application, please refer to fig. 8, the device includes: a receiving module 810, a converting module 820 and a sending module 830;
the receiving module 810 is configured to obtain control data of each control system unit based on a communication channel corresponding to the control system unit, where a first communication channel corresponding to the control system unit performs data transmission based on at least one communication protocol;
a conversion module 820, configured to convert the control data of each control system unit into converted control data conforming to a target communication protocol;
a sending module 830, configured to send the converted control data to the monitoring server based on a second communication channel, where the second communication channel performs data transmission based on a target communication protocol.
Optionally, the converted control data includes a timestamp, and the acquisition server includes: the historical database is used for storing converted control data to be sent to the monitoring server when the acquisition server is offline; a sending module 830, configured to obtain a connection state between the acquisition server and the monitoring server; and if the connection state is a normal connection state and the converted control data are stored in the historical database, transmitting the converted control data in the historical database to the monitoring server according to the timestamp of the control data.
Optionally, the sending module 830 is further configured to obtain a connection state between the acquisition server and the monitoring server; and if the connection state is the disconnection state, the converted control data is prestored in the historical database.
Optionally, the oil and gas pipeline system further comprises: the relational database is used for storing the incidence relation among the plurality of control data; the conversion module 820 is further configured to send the converted control data to the relational database for association storage.
Optionally, the receiving module 810 is further configured to establish a first communication channel between each of the control system units and the acquisition server based on a communication protocol used by each of the control system units.
Optionally, the converting module 820 is further configured to filter the converted control data based on a preset filtering rule, so as to obtain filtered control data.
Optionally, the sending module 830 is further configured to send the filtered control data to the monitoring server based on the second communication channel.
The above-mentioned apparatus is used for executing the method provided by the foregoing embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
These above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Fig. 9 is a schematic structural diagram of a computer device according to an embodiment of the present application, and referring to fig. 9, the computer device includes: the data transmission method of the oil and gas pipeline comprises a memory 910 and a processor 920, wherein a computer program which can run on the processor 920 is stored in the memory 910, and when the processor 920 executes the computer program, the steps of the data transmission method of the oil and gas pipeline are realized.
In another aspect of the embodiments of the present application, a computer-readable storage medium is further provided, where the storage medium stores a computer program, and the computer program, when executed by a processor, implements the steps of the data transmission method for an oil and gas pipeline.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A data transmission method of an oil and gas pipeline is applied to an acquisition server in an oil and gas pipeline system, and the oil and gas pipeline system comprises the following steps: the system comprises at least one automatic control system unit, the acquisition server and at least one monitoring server, wherein each automatic control system unit and each monitoring server are respectively in communication connection with the acquisition server, and the method comprises the following steps:
respectively acquiring control data of each control system unit based on a first communication channel corresponding to each automatic control system unit, wherein the first communication channel corresponding to each automatic control system unit carries out data transmission based on at least one communication protocol;
respectively converting the control data of each automatic control system unit into converted control data which accords with a target communication protocol;
and respectively sending the converted control data to the monitoring server based on a second communication channel, wherein the second communication channel carries out data transmission based on the target communication protocol.
2. The method of claim 1, wherein the converted control data includes a timestamp, and wherein the acquisition server comprises: the historical database is used for storing converted control data to be sent to the monitoring server when the acquisition server is offline;
the sending the converted control data to the monitoring server based on a second communication channel respectively comprises:
acquiring the connection state of the acquisition server and the monitoring server;
and if the connection state is a normal connection state and the converted control data are stored in the historical database, sending the converted control data in the historical database to the monitoring server according to the timestamp of the control data.
3. The method of claim 2, wherein the method further comprises:
acquiring the connection state of the acquisition server and the monitoring server;
and if the connection state is a disconnection state, pre-storing the converted control data in the historical database.
4. The method of claim 1, wherein the oil and gas conduit system further comprises: a relational database for storing an association relationship between a plurality of control data;
the method further comprises the following steps:
and sending the converted control data to the relational database for correlation storage.
5. The method of claim 1, wherein before the obtaining the control data of the respective control system unit based on the first communication channel corresponding to the respective autonomous system unit, the method further comprises:
and respectively establishing a first communication channel between each automatic control system unit and the acquisition server based on the communication protocol used by each control system unit.
6. The method of any of claims 1-5, wherein before the separately transmitting the converted control data to the monitoring server based on a second communication channel, the method further comprises:
and screening the converted control data based on a preset screening rule to obtain screened control data.
7. The method of claim 6, wherein said separately sending said converted control data to said monitoring server based on a second communication channel comprises:
and sending the screened control data to the monitoring server based on a second communication channel.
8. The data transmission device of the oil and gas pipeline is characterized in that the device is applied to a collection server in an oil and gas pipeline system, and the oil and gas pipeline system comprises: at least one autonomous system unit, collection server, at least one monitoring server, each autonomous system unit, each monitoring server respectively with collection server communication connection, the device includes: the device comprises an acquisition module, a conversion module and a sending module;
the acquisition module is used for acquiring control data of each automatic control system unit based on a first communication channel corresponding to each automatic control system unit, wherein the first communication channel corresponding to each automatic control system unit performs data transmission based on at least one communication protocol;
the conversion module is used for respectively converting the control data of each automatic control system unit into converted control data which accords with a target communication protocol;
and the sending module is used for respectively sending the converted control data to the monitoring server based on a second communication channel, wherein the second communication channel carries out data transmission based on the target communication protocol.
9. A computer device, comprising: memory in which a computer program is stored which is executable on the processor, and a processor which, when executing the computer program, carries out the steps of the method according to any one of the preceding claims 1 to 7.
10. A computer-readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202110640864.XA 2021-06-09 2021-06-09 Data transmission method, device and equipment for oil and gas pipeline and storage medium Pending CN113382069A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110640864.XA CN113382069A (en) 2021-06-09 2021-06-09 Data transmission method, device and equipment for oil and gas pipeline and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110640864.XA CN113382069A (en) 2021-06-09 2021-06-09 Data transmission method, device and equipment for oil and gas pipeline and storage medium

Publications (1)

Publication Number Publication Date
CN113382069A true CN113382069A (en) 2021-09-10

Family

ID=77572936

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110640864.XA Pending CN113382069A (en) 2021-06-09 2021-06-09 Data transmission method, device and equipment for oil and gas pipeline and storage medium

Country Status (1)

Country Link
CN (1) CN113382069A (en)

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101807073A (en) * 2010-04-20 2010-08-18 杭州和利时自动化有限公司 Historical data processing method and device of distributed control system
CN102927449A (en) * 2012-10-25 2013-02-13 黄腾飞 Method and system for detecting small leakage defects of pipe network based on analog simulation technology
CN203159200U (en) * 2013-01-22 2013-08-28 哈尔滨天源石化装备制造有限责任公司 Automobile oil tank truck bottom filling sledge-type refueling device
CN105856234A (en) * 2016-06-08 2016-08-17 江苏若博机器人科技有限公司 Three-core two-axis crawler-type high-speed natural gas pipeline robot control system
CN105867326A (en) * 2016-04-08 2016-08-17 浙江中烟工业有限责任公司 Forming machine process quality parameter tracking system and tracking method thereof
CN106020100A (en) * 2016-07-12 2016-10-12 中国石油化工股份有限公司 Automatic switching control system of storage tank equipment liquid level high alarm during oil transportation operation
CN207965608U (en) * 2018-03-29 2018-10-12 席丰伟 A kind of electric automatization control device based on PLC
CN109005188A (en) * 2018-08-23 2018-12-14 郑州云海信息技术有限公司 A kind of data transmission device and method, system, equipment, computer storage medium
CN109532893A (en) * 2018-12-26 2019-03-29 天津亨通利铁道工程机械配件有限公司 Construction of underground tunnel railcar control system and control method
CN208796090U (en) * 2018-10-20 2019-04-26 茸明汽车科技(上海)有限公司 A kind of detection device control device based on PLC
CN110138843A (en) * 2019-04-23 2019-08-16 迈赫机器人自动化股份有限公司 A kind of agricultural machinery manufacture Internet of Things monitoring method and system
CN110351283A (en) * 2019-07-16 2019-10-18 腾讯科技(深圳)有限公司 A kind of data transmission method, device, equipment and storage medium
CN111163147A (en) * 2019-12-24 2020-05-15 深圳供电局有限公司 Gateway device, multi-protocol data transmission method and computer device
CN111669389A (en) * 2020-06-03 2020-09-15 浙江中控技术股份有限公司 Data transmission method and device of industrial control system and related equipment
CN111694828A (en) * 2020-06-08 2020-09-22 山东伏羲智库互联网研究院 Data processing method, device, system and storage medium
CN112653504A (en) * 2020-12-17 2021-04-13 上海京知信息科技有限公司 Data transmission method, device, equipment and storage medium of satellite navigation system
CN213182430U (en) * 2020-09-17 2021-05-11 天津天控科技有限公司 Intelligent control system equipment

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101807073A (en) * 2010-04-20 2010-08-18 杭州和利时自动化有限公司 Historical data processing method and device of distributed control system
CN102927449A (en) * 2012-10-25 2013-02-13 黄腾飞 Method and system for detecting small leakage defects of pipe network based on analog simulation technology
CN203159200U (en) * 2013-01-22 2013-08-28 哈尔滨天源石化装备制造有限责任公司 Automobile oil tank truck bottom filling sledge-type refueling device
CN105867326A (en) * 2016-04-08 2016-08-17 浙江中烟工业有限责任公司 Forming machine process quality parameter tracking system and tracking method thereof
CN105856234A (en) * 2016-06-08 2016-08-17 江苏若博机器人科技有限公司 Three-core two-axis crawler-type high-speed natural gas pipeline robot control system
CN106020100A (en) * 2016-07-12 2016-10-12 中国石油化工股份有限公司 Automatic switching control system of storage tank equipment liquid level high alarm during oil transportation operation
CN207965608U (en) * 2018-03-29 2018-10-12 席丰伟 A kind of electric automatization control device based on PLC
CN109005188A (en) * 2018-08-23 2018-12-14 郑州云海信息技术有限公司 A kind of data transmission device and method, system, equipment, computer storage medium
CN208796090U (en) * 2018-10-20 2019-04-26 茸明汽车科技(上海)有限公司 A kind of detection device control device based on PLC
CN109532893A (en) * 2018-12-26 2019-03-29 天津亨通利铁道工程机械配件有限公司 Construction of underground tunnel railcar control system and control method
CN110138843A (en) * 2019-04-23 2019-08-16 迈赫机器人自动化股份有限公司 A kind of agricultural machinery manufacture Internet of Things monitoring method and system
CN110351283A (en) * 2019-07-16 2019-10-18 腾讯科技(深圳)有限公司 A kind of data transmission method, device, equipment and storage medium
CN111163147A (en) * 2019-12-24 2020-05-15 深圳供电局有限公司 Gateway device, multi-protocol data transmission method and computer device
CN111669389A (en) * 2020-06-03 2020-09-15 浙江中控技术股份有限公司 Data transmission method and device of industrial control system and related equipment
CN111694828A (en) * 2020-06-08 2020-09-22 山东伏羲智库互联网研究院 Data processing method, device, system and storage medium
CN213182430U (en) * 2020-09-17 2021-05-11 天津天控科技有限公司 Intelligent control system equipment
CN112653504A (en) * 2020-12-17 2021-04-13 上海京知信息科技有限公司 Data transmission method, device, equipment and storage medium of satellite navigation system

Similar Documents

Publication Publication Date Title
CN101846985B (en) Remote data acquisition system and method
CN108388223B (en) Equipment control system based on data closed loop for intelligent factory
CN111031034A (en) Multi-protocol convergence edge computing gateway
CN113609048B (en) Cloud edge service collaborative interaction method for electric power Internet of things
CN116980958B (en) Radio equipment electric fault monitoring method and system based on data identification
US20240056463A1 (en) Method and system to detect abnormal message transactions on a network
CN112180784A (en) NB-IOT (NB-IOT) -based machine tool production abnormity alarm remote monitoring system and method
CN106302485B (en) The bi-directional conversion system of OPC standard and power remote agreement
CN101197714B (en) Method for centrally capturing mobile data service condition
CN113382069A (en) Data transmission method, device and equipment for oil and gas pipeline and storage medium
CN111212093A (en) Data processing system and control device
CN102238198A (en) Remote condition automatic reporting system and method thereof of intelligent device
CN110708394A (en) Data transmission method, unit, system, acquisition terminal and central server
CN108200062B (en) Data management method and system for intelligent instrument equipment
CN110677293A (en) Alarm system based on machine room operation and maintenance management platform
CN210724868U (en) Data processing system and control device
CN114995349A (en) Remote diagnosis platform and method based on automatic control system
CN107896240A (en) Single-chip microcomputer and configuration software telecommunication system based on Internet
CN114363347A (en) Self-adaptive industrial equipment data acquisition method and system
CN112865312A (en) Power dispatching system and power data processing method
CN214670231U (en) Real-time monitoring system based on internet of things distributed architecture
TWI438591B (en) System and method for obtaining data from a remote end
CN114172971B (en) Gateway application system and method compatible with multiple different protocol sub-devices
CN210983084U (en) Remote monitoring and maintaining system for large-scale engineering equipment
CN113126585A (en) Real-time monitoring method and system based on distributed architecture of Internet of things

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210910