SCADA (supervisory control and data acquisition) data transmission method and system for oil-gas pipe network

By adjusting the SCADA data structure in the temporary processing node and storing it separately in the storage node, the problem of data theft during the data transmission of the SCADA system is solved, and the privacy and security of data are achieved.

CN119442298APending Publication Date: 2025-02-14PIPECHINA SOUTH CHINA CO +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411273701.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-12
Publication Date
2025-02-14

Smart Images

  • Figure CN119442298A_ABST
    Figure CN119442298A_ABST
Patent Text Reader

Abstract

The invention discloses an SCADA (supervisory control and data acquisition) data transmission method and system for an oil-gas pipe network. By applying the technical scheme of the invention, after it is detected that a certain service node of the SCADA system needs to transmit data to the SCADA system, the service node is not transmitted to the storage node of the SCADA system at the first time. Instead, the original data structure is firstly changed by using a temporary processing node, and the SCADA data with the changed data structure and the corresponding original data structure are subsequently transmitted to the storage node respectively. Therefore, when the SCADA system needs to restore the SCADA data, initial SCADA data is obtained through restoration according to the original data structure of the SCADA system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to SCADA data processing technology, and in particular to a SCADA data transmission method and system for oil and gas pipeline networks. Background Art

[0002] SCADA (Supervisory Control And Data Acquisition) is a data acquisition and monitoring control system. It is generally composed of data acquisition, data storage, screen configuration and other business functions.

[0003] Among them, data collection and data transmission are the core functions of the SCADA system. Under the existing scheme, after a business node of the SCADA system collects the corresponding SCADA data, it will directly or in response to a transmission instruction transmit it to the storage node of the SCADA system.

[0004] However, there is a problem with the above method, that is, since most SCADA data is industrial data, it is easy for malicious users to steal important business data generated by certain specific objects. That is, once the storage node of the SCADA system is monitored by a malicious user, the above transmission method of SCADA data will cause the malicious user to steal the data of interest from the storage node according to the data structure of each SCADA data, thereby causing the disadvantage of important data leakage. Summary of the invention

[0005] The embodiment of the present application provides a SCADA data transmission method and system for oil and gas pipeline networks, thereby solving the problem that malicious users can steal data of interest from storage nodes based on the data structure of SCADA data, thereby causing important data to be leaked.

[0006] According to one aspect of an embodiment of the present application, a SCADA data transmission method for an oil and gas pipeline network is provided, comprising: When receiving a transmission instruction, the initial SCADA data from the business node of the SCADA system is transmitted to the temporary processing node; The temporary processing node adjusts the first data structure of the initial SCADA data into a second data structure based on the data adjustment rule to obtain the target SCADA data, and stores in the temporary processing node a correlation relationship between the target SCADA data and the first data structure; Transmit the target SCADA data from the temporary processing node to the storage node of the SCADA system; When a call instruction for restoring the data structure of the target SCADA data is received, the association relationship is called from the temporary processing node.

[0007] Optionally, in another embodiment of the method of the present application, the temporary processing node adjusts the first data structure of the initial SCADA data to the second data structure based on the data adjustment rule, including: Obtaining an importance index of a business node, where the importance index is determined based on the region where the business node is located and the amount of data collected within a preset period; The temporary processing node selects a data adjustment rule that matches the importance index, and based on the data adjustment rule, adjusts the first data structure of the initial SCADA data to a second data structure.

[0008] Optionally, in another embodiment of the method of the present application, based on a data adjustment rule, adjusting the first data structure of the initial SCADA data to a second data structure includes: Determine an adjustment object included in the data adjustment rule, wherein the adjustment object includes at least one of a data identifier, data content, data attribute, and data version; By adjusting the adjustment object of the initial SCADA data, it is determined that the first data structure of the initial SCADA data is adjusted to the second data structure.

[0009] Optionally, in another embodiment of the method of the present application, when receiving a call instruction for restoring the data structure of the target SCADA data, calling the association relationship from the temporary processing node includes: Acquire a first time point at which the storage node receives the target SCADA data; and acquire a second time point at which the retrieval instruction is received; After detecting that the interval between the first time point and the second time point exceeds the preset time length, the association relationship is retrieved from the temporary processing node.

[0010] Optionally, in another embodiment of the method of the present application, when receiving a call instruction for restoring the data structure of the target SCADA data, calling the association relationship from the temporary processing node includes: Determine a first publishing target for publishing a call instruction; and determine a second publishing target for publishing a transfer instruction; After detecting that the first publishing object and the second publishing object are the same publishing object, the association relationship is retrieved from the temporary processing node.

[0011] Optionally, in another embodiment of the method of the present application, after retrieving the association relationship from the temporary processing node, the method further includes: Eliminate temporary processing nodes; Based on the first data structure included in the association relationship, the second data structure of the target SCADA data is adjusted to the first data structure.

[0012] Optionally, in another embodiment of the above method of the present application, after the target SCADA data is transmitted from the temporary processing node to the storage node of the SCADA system, it also includes: Clear the transmission records at the temporary processing node.

[0013] Optionally, in another embodiment of the method of the present application, after receiving the transmission instruction, it also includes: creating a temporary node inside the SCADA system, the temporary node is a node with a preset life cycle and a preset storage space, and using the temporary node as a temporary processing node; or, Obtain a third-party node that can be trusted by the SCADA system and use the third-party node as a temporary processing node.

[0014] According to another aspect of the embodiment of the present application, a SCADA data transmission system for an oil and gas pipeline network is provided, comprising: a receiving module configured to transmit the initial SCADA data from the service node of the SCADA system to the temporary processing node upon receiving a transmission instruction; The adjustment module is configured to adjust the first data structure of the initial SCADA data to the second data structure based on the data adjustment rule by the temporary processing node, obtain the target SCADA data, and store the data used to characterize the association relationship between the target SCADA data and the first data structure in the temporary processing node; The transmission module is configured to transmit the target SCADA data from the temporary processing node to the storage node of the SCADA system; the retrieval module is configured to retrieve the association relationship from the temporary processing node when receiving a retrieval instruction for restoring the data structure of the target SCADA data.

[0015] According to another aspect of the embodiments of the present application, an electronic device is provided, including: A memory for storing executable instructions; and The display is used to execute executable instructions with the memory to complete the operation of any one of the above-mentioned SCADA data transmission methods for oil and gas pipeline networks.

[0016] According to another aspect of an embodiment of the present application, a computer-readable storage medium is provided for storing computer-readable instructions, which, when executed, perform any one of the operations of the above-mentioned SCADA data transmission method for oil and gas pipeline networks.

[0017] In the present application, when a transmission instruction is received, the initial SCADA data from the business node of the SCADA system is transmitted to the temporary processing node; the temporary processing node adjusts the first data structure of the initial SCADA data to the second data structure based on the data adjustment rule to obtain the target SCADA data, and stores the association relationship between the target SCADA data and the first data structure in the temporary processing node; the target SCADA data is transmitted from the temporary processing node to the storage node of the SCADA system; when a call instruction for restoring the data structure of the target SCADA data is received, the association relationship is called from the temporary processing node.

[0018] By applying the technical solution of the present application, after detecting that a certain service node of the SCADA system needs to transmit data to the SCADA system, the data is not transmitted to the storage node of the SCADA system immediately. Instead, a temporary processing node is used to change the original data structure first, and then the SCADA data with the changed data structure and the original data structure corresponding thereto are transmitted to the storage node respectively. In this way, when the SCADA system needs to restore the SCADA data, it can restore the initial SCADA data according to its original data structure.

[0019] Thus, on the one hand, a method is achieved to confuse malicious users by obfuscating the data structure of SCADA business data, thereby preventing them from stealing important business data from storage nodes by searching for the data structure of interest. On the other hand, by transmitting the data adjustment record and the adjusted data separately, it is also possible to prevent malicious users from reversely restoring the original SCADA data based on the data adjustment record as long as they intercept the transmission process once, thereby further ensuring the privacy of SCADA data.

[0020] The technical solution of the present application is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The accompanying drawings, which constitute a part of the specification, illustrate embodiments of the present application and, together with the description, serve to explain the principles of the present application.

[0022] The present application can be more clearly understood from the following detailed description with reference to the accompanying drawings, in which: Figure 1 A schematic diagram of a SCADA data transmission method for oil and gas pipeline networks proposed in this application; Figure 2 This is an overall flow chart of a SCADA data transmission method for oil and gas pipeline network proposed in this application; Figure 3This is a schematic diagram of the structure of the SCADA data transmission system for oil and gas pipeline networks proposed in this application; Figure 4 This is a schematic diagram of the structure of the electronic device proposed in this application. DETAILED DESCRIPTION

[0023] Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that unless otherwise specifically stated, the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present application.

[0024] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.

[0025] The following description of at least one exemplary embodiment is merely illustrative in nature and is not intended to limit the present application, its application, or uses.

[0026] Technologies, systems, and devices known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, systems, and devices should be considered part of the specification.

[0027] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0028] In addition, the technical solutions between the various embodiments of the present application can be combined with each other, but it must be based on the fact that ordinary technicians in the field can implement it. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0029] It should be noted that all directional indications in the embodiments of the present application (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0030] Combine the following Figure 1-Figure 2 To describe a SCADA data transmission method for an oil and gas pipeline network according to an exemplary embodiment of the present application. It should be noted that the following application scenarios are only shown to facilitate understanding of the spirit and principles of the present application, and the embodiments of the present application are not limited in this regard. On the contrary, the embodiments of the present application can be applied to any applicable scenario.

[0031] The present application also proposes a SCADA data transmission method and system for oil and gas pipeline networks.

[0032] Figure 1 The flowchart of a SCADA data transmission method for oil and gas pipeline network according to an embodiment of the present application is schematically shown. Figure 1 As shown, including: S101, upon receiving a transmission instruction, transmitting the initial SCADA data from the service node of the SCADA system to the temporary processing node.

[0033] S102, the temporary processing node adjusts the first data structure of the initial SCADA data to a second data structure based on the data adjustment rule to obtain target SCADA data, and stores in the temporary processing node a relationship characterizing the association between the target SCADA data and the first data structure.

[0034] S103, transmitting the target SCADA data from the temporary processing node to the storage node of the SCADA system.

[0035] S104, when receiving a call instruction for restoring the data structure of the target SCADA data, the association relationship is called from the temporary processing node.

[0036] Under the existing scheme, SCADA system is widely used in various industrial sectors and has become the most important part of industrial management system. For example, SCADA system can be used to monitor and collect data of one or more industrial equipment in a certain area in real time or periodically, and then collect the operation data, repair data, maintenance data, fault data, etc. of each industrial equipment.

[0037] In one embodiment, the SCADA system is a computer-based DCS and industrial automation monitoring system, that is, a data acquisition and monitoring system.

[0038] In one embodiment, the SCADA system can simply observe or control industrial processes and has data collection capabilities, and has been developed in many industries.

[0039] In one embodiment, in an actual business application scenario, there are usually some industrial equipment that is extremely important or sensitive to the business platform. That is, the business data generated by these industrial equipment may affect the progress of important businesses that the business platform is responsible for. In other words, once the business data generated by these important industrial equipment is stolen by malicious users, it may lead to the adverse consequence of leakage of important business of the business platform.

[0040] In this case, how to prevent the business data generated by this part of important industrial equipment from being stolen by malicious users has become one of the problems that technical personnel in this field need to solve.

[0041] Under the existing scheme, after a certain service node of the SCADA system collects the corresponding SCADA data, it will directly (or upon receiving a transmission instruction) transmit the original data to the storage node of the SCADA system.

[0042] It is understandable that the above problem may lead to a problem that once the storage node of the SCADA system is monitored by a malicious user, the malicious user may select the SCADA data of interest from the various data stored in the storage node.

[0043] In one method, since a massive amount of SCADA data is stored in the storage node, malicious users usually select specific SCADA data by checking specific data structures.

[0044] For example, a malicious user can extract all SCADA data with image attributes in the storage node by checking specific data attributes. Alternatively, a malicious user can also extract all SCADA data with version number 1.0 in the storage node by checking specific version attributes. Alternatively, a malicious user can also extract all SCADA data with date fields in the storage node by checking specific keyword attributes. It is understandable that the above methods will cause significant business losses to the business platform.

[0045] Based on the above problems, the present application proposes a data transmission method for oil and gas pipeline network SCADA data, which can, after obtaining data with a damaged data structure, determine from the source of the data what type of damage the data has suffered, and specifically select a data recognition model that matches the type of damage to identify the data features of the data, so as to obtain the data ID associated with the original data corresponding to the damaged data in advance based on the recognition result, and thereby determine the original data corresponding to the damaged data.

[0046] It can be understood that the technical solution of the present application can achieve the purpose of confusing malicious users by confusing the data structure of SCADA business data, thereby preventing them from stealing important business data from storage nodes by searching for the data structure of interest. On the other hand, by transmitting the data adjustment record and the adjusted data separately, it can also prevent malicious users from reversely restoring the original SCADA data according to the data adjustment record as long as they intercept the transmission process once, thereby further ensuring the privacy of SCADA data.

[0047] Further, this application is hereby incorporated by reference Figure 2 Describe the plan in detail: Step 1: upon receiving a transmission instruction, the initial SCADA data from the business node of the SCADA system is transmitted to the temporary processing node.

[0048] In one embodiment, the present application does not limit the number of service nodes, for example, it can be one or more.

[0049] In one approach, the service node may be a service node deployed in a specific area. As an example, the service node may be one or more service nodes deployed in the Beijing area. As another example, the service node may also be a node of a specific service device, such as a service node of a wind power device.

[0050] In one embodiment, the service node can be determined by a service platform associated with the SCADA system. That is, the service platform can use the SCADA data collected from the service nodes in a specific area (or specific service equipment) as the data to be transmitted in this application according to its own required data privacy.

[0051] In one embodiment, the temporary processing node is obtained by one of the following two methods: First case: Obtain a third-party node that can be trusted by the SCADA system and use the third-party node as a temporary processing node.

[0052] In one embodiment, the temporary processing node may be a temporary node with a certain life cycle, that is, it may disappear after processing the initial SCADA data, thereby preventing malicious users from monitoring the temporary processing node and then tracing back to the target object.

[0053] In one embodiment, the temporary processing node may also be a third-party node of other business platforms deployed outside the SCADA system. That is, as long as the third-party node can be trusted by the SCADA system, it can be used as a temporary processing node.

[0054] Second case: A temporary node is created within the SCADA system. The temporary node is a node with a preset life cycle and preset storage space, and the temporary node is used as a temporary processing node. As an example, the preset life cycle may be 5 minutes or 30 minutes, etc. The preset storage space is a space larger than the total size of the initial SCADA data.

[0055] Step 2: Obtain the importance index of the business node, and select the data adjustment rule that matches the importance index by the temporary processing node.

[0056] The importance index is determined based on the region where the business node is located and the amount of data collected within a preset period.

[0057] In one approach, the embodiment of the present application may determine which data adjustment rule to apply to the service node based on the importance of the service node (reflected by an importance index).

[0058] As an example, the data adjustment rules may be used to adjust the data identification, data content, data attributes, data version, etc. of the initial SCADA data.

[0059] In one method, if the importance index of a business node is higher, it means that its business importance is higher, and thus data can be adjusted in various ways (for example, the data identification, data content, data attributes, and data version of the initial SCADA data are adjusted accordingly).

[0060] In another way, if the importance index of a business node is low, it means that its business importance is low, and thus a data adjustment can be made to it in a certain way (for example, any one of the data identification, data content, data attribute, and data version of the initial SCADA data can be adjusted accordingly).

[0061] Step 3: Determine the adjustment objects included in the data adjustment rules.

[0062] The adjustment object includes at least one of data identification, data content, data attribute and data version.

[0063] As an example, for example, if the business node is wind power equipment A in Beijing, the initial SCADA data is the data collected at wind power equipment A for characterizing the wind power situation in Beijing.

[0064] In one embodiment, the data identifier of the initial SCADA data is “wind power data”, and the data attribute is “binary attribute”.

[0065] In one embodiment, the embodiment of the present application requires that the temporary processing node determine the adjustment object included in the data adjustment rule, for example, the "data identifier" corresponding to the initial SCADA data.

[0066] Furthermore, the temporary processing node can convert the data identifier of the initial SCADA data from "wind power data" to other data identifiers, such as "road section data". It can be understood that after the temporary processing node adjusts the data identifier of the initial SCADA data, it can determine that the data structure of the initial SCADA data has been converted (i.e., converted from its original first data structure to the second data structure), thereby obtaining the target SCADA data.

[0067] Step 4: Using the temporary processing node, adjusting the adjustment object of the initial SCADA data, determining to adjust the first data structure of the initial SCADA data to the second data structure, and obtaining the target SCADA data.

[0068] Taking the above example again, for example, the adjustment objects included in the data adjustment rule include not only "data identification" but also "data attributes".

[0069] Furthermore, the temporary processing node can convert the data identifier of the initial SCADA data from "wind power data" to "road section data" on the one hand, and on the other hand, it is also necessary to convert the data attribute of the initial SCADA data from "binary attribute" to other data attributes, such as "nominal attribute".

[0070] In one approach, after adjusting the data identifier and data attributes of the initial SCADA data, the temporary processing node can determine that the data structure of the initial SCADA data has been adjusted (ie, converted from its original first data structure to a second data structure), thereby obtaining target SCADA data.

[0071] It is understandable that after the data structure of the initial SCADA data is adjusted in the embodiment of the present application, when a malicious user subsequently wants to steal business data of the wind power category, or wants to steal business data of the binary attribute category, even if the malicious user cracks the storage node of the SCADA system, the malicious user cannot find the SCADA data with the data identifier of "wind power data" and the data attribute of "binary attribute". And because the storage node of the SCADA system stores a large amount of data, this will also cause the malicious user to be unable to specifically identify each business data one by one, thereby achieving the problem of protecting important data from being leaked.

[0072] Step 5: storing the association relationship between the target SCADA data and the first data structure in the temporary processing node, and transmitting the target SCADA data from the temporary processing node to the storage node of the SCADA system.

[0073] In one way, in order to ensure that the subsequent SCADA system can restore the data structure of the target SCADA data, the embodiment of the present application also requires the temporary node to store the original data structure of the target SCADA data (i.e., the association relationship used to characterize the first data structure) locally, so that the association relationship can be transmitted when the SCADA system needs it later.

[0074] In one embodiment, in order to avoid the problem of restoring the initial SCADA data through the association relationship caused by malicious users intercepting the data transmission channel to intercept the target SCADA data and the association relationship, the embodiment of the present application needs to transmit the target SCADA data and the association relationship separately. That is, the target SCADA data is first transmitted to the storage node, and after the call instruction is detected later, the association relationship is transmitted.

[0075] Step 6: upon receiving a call instruction for restoring the data structure of the target SCADA data, obtaining a first time point at which the storage node receives the target SCADA data; and obtaining a second time point at which the call instruction is received.

[0076] Step 7: After detecting that the interval between the first time point and the second time point exceeds a preset time, retrieve the association relationship from the temporary processing node.

[0077] In one embodiment, the embodiment of the present application may also first determine a first publishing object for publishing a call instruction; and determine a second publishing object for publishing a transfer instruction; After detecting that the first publishing object and the second publishing object are the same publishing object, the association relationship is retrieved from the temporary processing node.

[0078] In one way, in order to avoid the problem that a malicious user associates the relationship between the target SCADA data and the association relationship due to the transmission interval between the two being too close, thereby restoring the target SCADA data based on the association relationship, the embodiment of the present application also needs to detect the interval between the first time point and the second time point, and after determining that the interval between the two exceeds a preset time, allow the association relationship to be transmitted to the storage node.

[0079] As an example, the interval may be 1 day, 30 days, etc. This application does not limit this.

[0080] In another way, in order to prevent malicious users from sending a call instruction to a temporary processing node without authorization, which may lead to the leakage of the association relationship, the embodiment of the present application also needs to compare the consistency of the first publishing object corresponding to the call instruction with the second publishing object corresponding to the transmission instruction. Only after the two are determined to be consistent, the association relationship will be allowed to be transmitted to the storage node.

[0081] In an optional manner, in order to confuse malicious users, the embodiment of the present application can also forge an association relationship and store it in a temporary processing node, so that even if a malicious user cracks the temporary processing node, the real association relationship cannot be found.

[0082] Step 8: Eliminate the temporary processing node, and adjust the second data structure of the target SCADA data to the first data structure based on the first data structure included in the association relationship.

[0083] It is understandable that the target SCADA data stored in the storage node of the SCADA system is the business data whose data structure has been changed, so malicious users cannot steal the business data of a specific object from the storage node according to the data structure of the SCADA data.

[0084] By applying the technical solution of the present application, after detecting that a certain service node of the SCADA system needs to transmit data to the SCADA system, the data is not transmitted to the storage node of the SCADA system immediately. Instead, a temporary processing node is used to change the original data structure first, and then the SCADA data with the changed data structure and the original data structure corresponding thereto are transmitted to the storage node respectively. In this way, when the SCADA system needs to restore the SCADA data, it can restore the initial SCADA data according to its original data structure.

[0085] Thus, on the one hand, a method is achieved to confuse malicious users by obfuscating the data structure of SCADA business data, thereby preventing them from stealing important business data from storage nodes by searching for the data structure of interest. On the other hand, by transmitting the data adjustment record and the adjusted data separately, it is also possible to prevent malicious users from reversely restoring the original SCADA data based on the data adjustment record as long as they intercept the transmission process once, thereby further ensuring the privacy of SCADA data.

[0086] Optionally, in another embodiment of the method of the present application, the temporary processing node adjusts the first data structure of the initial SCADA data to the second data structure based on a data adjustment rule, including: Obtaining an importance index of the service node, where the importance index is determined based on a region where the service node is located and an amount of data collected within a preset period; The temporary processing section selects the data adjustment rule that matches the importance index, and based on the data adjustment rule, adjusts the first data structure of the initial SCADA data to a second data structure.

[0087] Optionally, in another embodiment of the method of the present application, adjusting the first data structure of the initial SCADA data to the second data structure based on the data adjustment rule includes: Determining an adjustment object included in the data adjustment rule, wherein the adjustment object includes at least one of a data identifier, data content, data attribute, and data version; By adjusting the adjustment object of the initial SCADA data, it is determined that the first data structure of the initial SCADA data is adjusted to a second data structure.

[0088] Optionally, in another embodiment of the method of the present application, when receiving a call instruction for restoring the data structure of the target SCADA data, calling the association relationship from the temporary processing node includes: obtaining a first time point when the storage node receives the target SCADA data; and obtaining a second time point when the call instruction is received; After detecting that the interval between the first time point and the second time point exceeds a preset time period, the association relationship is retrieved from the temporary processing node.

[0089] Optionally, in another embodiment of the method of the present application, when receiving a call instruction for restoring the data structure of the target SCADA data, calling the association relationship from the temporary processing node includes: determining a first publishing object for publishing the call instruction; and determining a second publishing object for publishing the transmission instruction; After detecting that the first publishing object and the second publishing object are the same publishing object, the association relationship is retrieved from the temporary processing node.

[0090] Optionally, in another embodiment of the above method of the present application, after retrieving the association relationship from the temporary processing node, the method further includes: Eliminating the temporary processing node; Based on the first data structure included in the association relationship, the second data structure of the target SCADA data is adjusted to the first data structure.

[0091] Optionally, in another embodiment of the above method of the present application, after transmitting the target SCADA data from the temporary processing node to the storage node of the SCADA system, it also includes: The transmission record at the temporary processing node is cleared.

[0092] Optionally, in another embodiment of the method of the present application, after receiving the transmission instruction, the method further includes: Creating the temporary node within the SCADA system, the temporary node being a node with a preset life cycle and a preset storage space, and using the temporary processing node as the temporary processing node; or, A third-party node that can be trusted by the SCADA system is obtained, and the third-party node is used as the temporary processing node.

[0093] By applying the technical solution of the present application, after detecting that a certain service node of the SCADA system needs to transmit data to the SCADA system, the data is not transmitted to the storage node of the SCADA system immediately. Instead, a temporary processing node is used to change the original data structure first, and then the SCADA data with the changed data structure and the original data structure corresponding thereto are transmitted to the storage node respectively. In this way, when the SCADA system needs to restore the SCADA data, it can restore the initial SCADA data according to its original data structure.

[0094] The present application also provides an electronic device to execute the above-mentioned SCADA data transmission method for oil and gas pipeline network. Figure 4 , which shows a schematic diagram of an electronic device provided by some embodiments of the present application. Figure 4 As shown, the electronic device 3 includes: a processor 300, a memory 301, a bus 302 and a communication interface 303, wherein the processor 300, the communication interface 303 and the memory 301 are connected via the bus 302; the memory 301 stores a computer program that can be run on the processor 300, and when the processor 300 runs the computer program, the SCADA data transmission method for oil and gas pipeline networks provided in any of the aforementioned embodiments of the present application is executed.

[0095] The memory 301 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the device network element and at least one other network element is realized through at least one communication interface 303 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.

[0096] The bus 302 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 301 is used to store programs, and the processor 300 executes the programs after receiving the execution instruction. The video transmission method disclosed in any implementation of the embodiment of the present application may be applied to the processor 300, or implemented by the processor 300.

[0097] The processor 300 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 300. The above processor 300 can be a general-purpose processor, including a processor (Central Processing Unit, referred to as CPU), a network processor (Network Processor, referred to as NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a readily available programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor to execute, or the hardware and software modules in the decoding processor can be executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 301, and the processor 300 reads the information in the memory 301 and completes the steps of the above method in combination with its hardware.

[0098] The electronic device provided in the embodiment of the present application and the SCADA data transmission method for oil and gas pipeline networks provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, operated or implemented therein.

[0099] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A SCADA data transmission method for oil and gas pipeline network, characterized in that: include: When receiving a transmission instruction, the initial SCADA data from the business node of the SCADA system is transmitted to the temporary processing node; The temporary processing node adjusts the first data structure of the initial SCADA data into a second data structure based on a data adjustment rule to obtain target SCADA data, and stores in the temporary processing node a correlation relationship between the target SCADA data and the first data structure; Transmitting the target SCADA data from the temporary processing node to a storage node of the SCADA system; When a call instruction for restoring the data structure of the target SCADA data is received, the association relationship is called from the temporary processing node.

2. The method according to claim 1, characterized in that The temporary processing node adjusts the first data structure of the initial SCADA data to the second data structure based on the data adjustment rule, including: Obtaining an importance index of the service node, where the importance index is determined based on a region where the service node is located and an amount of data collected within a preset period; The temporary processing section selects the data adjustment rule that matches the importance index, and based on the data adjustment rule, adjusts the first data structure of the initial SCADA data to a second data structure.

3. The method according to claim 1 or 2, characterized in that The method of adjusting the first data structure of the initial SCADA data to a second data structure based on the data adjustment rule comprises: Determining an adjustment object included in the data adjustment rule, wherein the adjustment object includes at least one of a data identifier, data content, data attribute, and data version; By adjusting the adjustment object of the initial SCADA data, it is determined that the first data structure of the initial SCADA data is adjusted to a second data structure.

4. The method according to claim 1, characterized in that When receiving a call instruction for restoring the data structure of the target SCADA data, calling the association relationship from the temporary processing node includes: Acquire a first time point at which the storage node receives the target SCADA data; and acquire a second time point at which the retrieval instruction is received; After detecting that the interval between the first time point and the second time point exceeds a preset time period, the association relationship is retrieved from the temporary processing node.

5. The method according to claim 1, characterized in that When receiving a call instruction for restoring the data structure of the target SCADA data, the association relationship is called from the temporary processing node, including: determining a first publishing object for publishing the call instruction; and determining a second publishing object for publishing the transmission instruction; after detecting that the first publishing object and the second publishing object are the same publishing object, the association relationship is called from the temporary processing node.

6. The method according to claim 1, 4 or 5, characterized in that: After the association relationship is retrieved from the temporary processing node, the method further includes: Eliminating the temporary processing node; Based on the first data structure included in the association relationship, the second data structure of the target SCADA data is adjusted to the first data structure.

7. The method according to claim 1, characterized in that After transmitting the target SCADA data from the temporary processing node to the storage node of the SCADA system, the method further comprises: The transmission record at the temporary processing node is cleared.

8. The method according to claim 1, characterized in that After receiving the transmission instruction, the method further includes: Creating the temporary node within the SCADA system, the temporary node being a node with a preset life cycle and a preset storage space, and using the temporary node as the temporary processing node; or, A third-party node that can be trusted by the SCADA system is obtained, and the third-party node is used as the temporary processing node.

9. A SCADA data transmission system for oil and gas pipeline network, characterized in that: include: a receiving module configured to transmit the initial SCADA data from the service node of the SCADA system to the temporary processing node upon receiving a transmission instruction; The adjustment module is configured to adjust the first data structure of the initial SCADA data to a second data structure based on a data adjustment rule by the temporary processing node to obtain target SCADA data, and store in the temporary processing node a correlation relationship between the target SCADA data and the first data structure; A transmission module, configured to transmit the target SCADA data from the temporary processing node to a storage node of the SCADA system; The retrieval module is configured to retrieve the association relationship from the temporary processing node when receiving a retrieval instruction for restoring the data structure of the target SCADA data.