Oil and gas field data change notification method, device and system

By using hash functions to generate digest information and identity tokens in the data change notification method in the oil and gas field, and combining proactive push and passive refresh mechanisms, the problems of resource consumption and poor real-time performance in data change notification are solved, and efficient and secure data transmission and processing are achieved.

CN122160424APending Publication Date: 2026-06-05RICHFIT INFORMATION TECH +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
RICHFIT INFORMATION TECH
Filing Date
2024-12-04
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

Existing technologies for data change notifications in the oil and gas sector suffer from excessive resource consumption and poor data real-time performance. In particular, they can easily lead to message loss during system failures or network problems, and frequent database queries can impact data source performance.

Method used

A hash function is used to generate digest information and identity tokens, and a data change request is generated. The request is then verified and validated in the oil and gas data service control system to ensure the security and efficiency of data transmission. A proactive push and passive refresh mechanism is adopted to achieve targeted data push.

Benefits of technology

It improves the performance of data centers and data service control systems in the oil and gas sector, ensures the security and real-time performance of data transmission, reduces the risk of data loss, and improves data processing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122160424A_ABST
    Figure CN122160424A_ABST
Patent Text Reader

Abstract

The application discloses a kind of oil and gas field data change notification method, device and system, the method includes: when the oil and gas field data change event occurs, when event change type is the type that needs to be notified, generate oil and gas field event data body, and generate abstract information;According to oil and gas field event data body, abstract information and the identity token of oil and gas field data center, generate data change request, and send to oil and gas field data service control system, so that oil and gas field data service control system is verified to abstract information and the identity token of oil and gas field data center, after passing, according to data exchange model type, the changed oil and gas field data body in data change request is checked, and in check through, the oil and gas field data that meets data discovery rule is sent to corresponding oil and gas work area.The application improves the performance of oil and gas field data center and oil and gas field data service control system in the case where the message notification efficiency is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data processing technology, and in particular to a method, apparatus and system for notifying data changes in the oil and gas sector. Background Technology

[0002] This section is intended to provide background or context for the embodiments of the invention set forth in the claims. The description herein is not an admission that it is prior art simply because it is included in this section.

[0003] With the development of internet technology, especially after the introduction of microservice architecture, the decoupling between services and the complexity of distributed systems have made data change notifications particularly important. Message queues (MQ) and event-driven architecture (EDA) have become common technologies for implementing data change notifications. Through the publish / subscribe pattern, services can subscribe to specific data change events and receive notifications when data changes, thereby triggering corresponding business logic. However, implementing data change notifications may lead to excessive resource consumption, such as frequent database queries or message passing. In the event of system failure or network problems, without a proper message notification mechanism, there is a risk of message loss.

[0004] Currently, most commonly used solutions employ a database polling method via API queries at a frequency agreed upon by both parties to synchronize and update data. However, this approach suffers from poor data real-time performance, making it difficult to meet the timeliness requirements of business users. Furthermore, as the query frequency increases, it can negatively impact database write performance, significantly affecting the data source. Summary of the Invention

[0005] In a first aspect, embodiments of the present invention provide a data change notification method for the oil and gas sector, applied to various oil and gas sector data centers. Each oil and gas sector data center communicates with an oil and gas sector data service control system. The method enables effective notification of data change events from the oil and gas sector data center to the oil and gas work area through a message notification mechanism. While ensuring message notification efficiency, it improves the performance of the oil and gas sector data center and the oil and gas sector data service control system. The method includes:

[0006] When a data change event occurs in the oil and gas sector, determine the current event change type;

[0007] When the event change type is a notification-required type, an oil and gas sector event data body is generated, which includes oil and gas sector data based on changes in the data exchange model type.

[0008] Summarize information from key fields of event data in the oil and gas sector using hash functions;

[0009] Generate a data change request based on the oil and gas sector event data body, summary information, and the identity token of the oil and gas sector data center;

[0010] The data change request is sent to the oil and gas field data service control system. After the oil and gas field data service control system verifies the summary information and the identity token of the oil and gas field data center in the data change request, it verifies the changed oil and gas field data body in the data change request according to the data exchange model type. After the verification is passed, the oil and gas field data that meets the data discovery rules is sent to the corresponding oil and gas work area.

[0011] Secondly, embodiments of the present invention also provide a data change notification method in the oil and gas sector, applied to an oil and gas sector data service control system. The oil and gas sector data service control system communicates with multiple oil and gas sector data centers and can effectively notify oil and gas sector data centers to oil and gas work areas through a message notification mechanism for oil and gas sector data change events. While ensuring message notification efficiency, this method improves the performance of both the oil and gas sector data centers and the oil and gas sector data service control system. The method includes:

[0012] Receive data change requests sent by the oil and gas sector data center; the data change request is generated by the oil and gas sector data center when an oil and gas sector data change event occurs and the event change type is a notification-required type, based on the changed oil and gas sector data; the data change request includes an oil and gas sector event data body, summary information, and an identity token of the oil and gas sector data center; the summary information is generated by a hash function on the key fields of the oil and gas sector event data body; the oil and gas sector event data body includes the changed oil and gas sector data based on the data exchange model type;

[0013] Verify identity tokens for data centers in the oil and gas sector;

[0014] After successful verification, a summary of information is generated based on the oil and gas sector event data body in the received data change request;

[0015] Compare the generated summary information with the summary information in the received data change request;

[0016] After a successful comparison, the event data in the oil and gas sector is verified.

[0017] After verification, oil and gas field data that conforms to the data discovery rules in the oil and gas field event data body are sent to the corresponding oil and gas field according to the data discovery rules of each oil and gas field.

[0018] Thirdly, embodiments of the present invention provide an oil and gas sector data change notification device, applied to various oil and gas sector data centers. Each oil and gas sector data center communicates with an oil and gas sector data service control system. It can effectively notify oil and gas sector data centers to oil and gas work areas through a message notification mechanism for oil and gas sector data change events, improving the performance of the oil and gas sector data centers and the oil and gas sector data service control system while ensuring message notification efficiency. The device includes:

[0019] The event change type determination module is used to determine the current event change type when a data change event occurs in the oil and gas field.

[0020] The oil and gas sector event data body production module is used to generate an oil and gas sector event data body when the event change type is a notification-required type. The oil and gas sector event data body includes oil and gas sector data based on changes in data exchange model type.

[0021] The summary information generation module is used to generate summary information from key fields of oil and gas event data using hash functions;

[0022] The data change request generation module is used to generate data change requests based on the oil and gas field event data body, summary information, and the identity token of the oil and gas field data center.

[0023] The active push module is used to send the data change request to the oil and gas field data service control system. After the oil and gas field data service control system verifies the summary information and the identity token of the oil and gas field data center in the data change request, it verifies the changed oil and gas field data body in the data change request according to the data exchange model type. After the verification is successful, the oil and gas field data that meets the data discovery rules is sent to the corresponding oil and gas work area.

[0024] Fourthly, embodiments of the present invention also provide an oil and gas sector data change notification device, applied to an oil and gas sector data service control system. The oil and gas sector data service control system communicates with multiple oil and gas sector data centers and can effectively notify oil and gas sector data centers to oil and gas work areas through a message notification mechanism for oil and gas sector data change events. While ensuring message notification efficiency, this improves the performance of the oil and gas sector data centers and the oil and gas sector data service control system. The device includes:

[0025] The data receiving module is used to receive data change requests sent by the oil and gas domain data center. The data change request is generated by the oil and gas domain data center when an oil and gas domain data change event occurs and the event change type is a notification-required type, based on the changed oil and gas domain data. The data change request includes an oil and gas domain event data body, summary information, and an identity token of the oil and gas domain data center. The summary information is generated by hashing the key fields of the oil and gas domain event data body. The oil and gas domain event data body includes the changed oil and gas domain data based on the data exchange model type.

[0026] The verification module is used to verify the identity tokens of data centers in the oil and gas sector.

[0027] The summary regeneration module is used to generate summary information based on the oil and gas event data body in the received data change request after verification.

[0028] The digest comparison module is used to compare the generated digest information with the digest information in the received data change request;

[0029] The verification module is used to verify the event data in the oil and gas field after a successful comparison.

[0030] The notification module is used to send oil and gas field data that conforms to the data discovery rules in the oil and gas field event data body to the corresponding oil and gas field after the verification is passed, according to the data discovery rules of each oil and gas field.

[0031] Fifthly, embodiments of the present invention also provide an oil and gas field data change notification system, which can effectively notify oil and gas field data centers to oil and gas work areas through a message notification mechanism for oil and gas field data change events. While ensuring message notification efficiency, it improves the performance of oil and gas field data centers and oil and gas field data service control systems. The system includes an oil and gas field data change notification device applied to each oil and gas field data center and an oil and gas field data change notification device applied to the oil and gas field data service control system.

[0032] In a sixth aspect, embodiments of the present invention also provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the above-described oil and gas field data change notification method.

[0033] In a seventh aspect, embodiments of the present invention also provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described oil and gas field data change notification method.

[0034] Eighthly, embodiments of the present invention also provide a computer program product, the computer program product including a computer program, which, when executed by a processor, implements the above-described oil and gas field data change notification method.

[0035] In this embodiment of the invention, when an oil and gas data change event occurs, the current event change type is determined. If the event change type is a notification-required type, an oil and gas event data body is generated, which includes changed oil and gas data based on a data exchange model type. A summary information is generated from the key fields of the oil and gas event data body using a hash function. A data change request is generated based on the oil and gas event data body, the summary information, and the identity token of the oil and gas data center. The data change request is sent to the oil and gas data service control system, so that after the oil and gas data service control system verifies the summary information and the identity token of the oil and gas data center in the data change request, it verifies the changed oil and gas data body in the data change request according to the data exchange model type. After the verification is successful, the oil and gas data that meets the data discovery rules is sent to the corresponding oil and gas work area. In the above process, data changes based on the event mechanism require determining the event change type. Data processing only occurs when a notification type is required. To improve data push efficiency and security, oil and gas sector data is encapsulated into an oil and gas sector event data body, and the oil and gas sector data is based on a data exchange model type. To further enhance the security of data transmission, a dual protection method using summary information and identity tokens is adopted. After receiving a data change request, the oil and gas sector data service control system verifies it, and after successful verification, sends oil and gas sector data that conforms to the data discovery rules to the corresponding oil and gas work area, thus achieving targeted push to oilfield work areas. Attached Figure Description

[0036] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. In the drawings:

[0037] Figure 1 This is a flowchart of the oil and gas field data change notification method in an embodiment of the present invention;

[0038] Figure 2 This is a schematic diagram illustrating the event processing principle based on data event rules in an embodiment of the present invention;

[0039] Figure 3 This is a flowchart of another oil and gas data change notification method in an embodiment of the present invention;

[0040] Figure 4 This is a schematic diagram of the structure of the oil and gas field data change notification device in an embodiment of the present invention;

[0041] Figure 5 This is a schematic diagram of another oil and gas field data change notification device in an embodiment of the present invention;

[0042] Figure 6 This is a schematic diagram of the structure of the oil and gas field data change notification system in an embodiment of the present invention;

[0043] Figure 7 This is a schematic diagram of a computer device in an embodiment of the present invention. Detailed Implementation

[0044] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings. Here, the illustrative embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.

[0045] Figure 1 This is a flowchart of a data change notification method in the oil and gas sector, as described in this embodiment of the invention. The method is applied to various oil and gas sector data centers, each of which communicates with the oil and gas sector data service control system. The method includes:

[0046] Step 101: When an oil and gas data change event occurs, determine the current event change type;

[0047] Step 102: When the event change type is a notification-required type, generate an oil and gas sector event data body, which includes oil and gas sector data based on changes in the data exchange model type.

[0048] Step 103: Generate summary information for key fields of the oil and gas event data body using a hash function;

[0049] Step 104: Generate a data change request based on the oil and gas sector event data body, summary information, and the identity token of the oil and gas sector data center;

[0050] Step 105: Send the data change request to the oil and gas field data service control system. After the oil and gas field data service control system verifies the summary information and the identity token of the oil and gas field data center in the data change request, it verifies the changed oil and gas field data body in the data change request according to the data exchange model type. After the verification is passed, the oil and gas field data that meets the data discovery rules is sent to the corresponding oil and gas work area.

[0051] In this embodiment of the invention, data changes based on an event mechanism require determining the type of event change. Data processing only occurs when a notification type is required. To improve data push efficiency and security, oil and gas sector data is encapsulated into an oil and gas sector event data body, and the oil and gas sector data is based on a data exchange model type. To further enhance the security of data transmission, a dual protection method using summary information and identity tokens is employed. After receiving a data change request, the oil and gas sector data service control system verifies it and, upon successful verification, sends oil and gas sector data that conforms to the data discovery rules to the corresponding oil and gas work area, thus achieving targeted push for oilfield work areas.

[0052] Each step is described in detail below.

[0053] This invention supports two push modes: active push mode and passive refresh mode. In active push mode, data changes (such as additions, deletions, and modifications) are actively pushed to the respective oil and gas data centers. Passive refresh mode serves as a compensation mechanism for active push mode; in the event of unexpected situations such as data transmission interruptions or network problems, the oil and gas data service control system sends data push commands to each oil and gas data center.

[0054] Steps 101-105 specifically address the proactive push mode. The proactive push mode employs an event processing principle based on data event rules. Figure 2 This is a schematic diagram of the event processing principle based on data event rules in an embodiment of the present invention. In this embodiment, the event refers to an oil and gas data change event. Time change type filtering refers to judging the current event change type and filtering out the exchange data corresponding to oil and gas data change events with the event change type of "needing notification".

[0055] In step 101, when an oil and gas data change event occurs, the current event change type is determined;

[0056] The oil and gas sector encompasses seismic, logging, drilling and completion, pipeline, reservoir, and integrated management fields. Data change events in the oil and gas sector include object events, container events, and data events. The addition, modification, and deletion of object events, the addition and removal of container events, and all data event changes are considered notification-required types. Taking the seismic sector as an example, notification-required types specifically include changes to project and work area object types supporting objects and data events, as well as changes to seismic data, 3D horizons, and 3D faults supporting containers, objects, and data events.

[0057] In step 102, when the event change type is a notification-required type, an oil and gas sector event data body is generated, which includes oil and gas sector data based on changes in the data exchange model type.

[0058] In one embodiment, the oil and gas field event data body further includes at least one of data version, data exchange model type, event identifier, event occurrence time, data source, and data type.

[0059] The format of event data in the oil and gas sector is shown in Table 1.

[0060] Table 1

[0061]

[0062] According to Table 1, event data in the oil and gas sector can be identified using JSON format.

[0063] In step 103, a summary information is generated for the key fields of the oil and gas event data body using a hash function. Specifically, the key fields can be determined according to the actual situation. In this embodiment of the invention, the key fields include data version, data exchange model type, and oil and gas data based on changes in the data exchange model type.

[0064] In step 104, a data change request is generated based on the oil and gas sector event data body, summary information, and the identity token of the oil and gas sector data center;

[0065] In one embodiment, before sending the data change request to the oil and gas sector data service control system, the method further includes:

[0066] When the size of the data change request exceeds a first preset data size, the data change request is converted into a binary data serialization format;

[0067] When the size of a data change request in binary data serialization format exceeds the second preset data size, a lossless compression algorithm is used to compress the data change request in binary data serialization format.

[0068] The compressed data change requests are stored in a memory-based queue;

[0069] A multi-threaded asynchronous program is used to send compressed data change requests from a memory-based queue to the oil and gas data service control system.

[0070] Specifically, in scenarios involving large-scale data changes, to optimize message generation and transmission efficiency, a binary data serialization format can be used. After format conversion, data can be compressed into a more compact binary form, thereby reducing the amount of data transmitted over the network. The binary data serialization format is marked with, for example, `application / vnd.apache.avro.binary+json` so that the receiver can correctly identify and decode the data. This method not only improves data transmission efficiency but also leverages powerful schema support, making the data structure more explicit and easier to manage.

[0071] For cases involving very large datasets, such as seismic data volumes or reservoir model data volumes, lossless compression algorithms like Deflate and Snappy can be used to compress data change requests in binary serialized data formats. The receiving end then decompresses the data before use. (Seismic data volumes can be sliced ​​using VDS technology, creating gather slices along longitudinal or connecting survey lines, or along the time direction, for fragmented transmission. Reservoir model data volumes can be thinned according to the model mesh.) Furthermore, concurrent processing methods can be considered, using memory-based queues like Disruptor. This high-performance, lock-free queue uses a circular buffer in memory to store messages, and then uses a multi-threaded asynchronous program to batch process data, achieving high throughput and low latency data transfer. Additionally, memory-based queues can avoid lock contention by pre-allocating memory, thereby improving concurrent processing capabilities.

[0072] In one embodiment, a multi-threaded asynchronous program is used to send compressed data change requests from a memory-based queue to an oil and gas data service control system, including:

[0073] The multi-threaded asynchronous program actively invokes the data change service of the oil and gas field data service control system, and pushes compressed data change requests from a memory-based queue to the oil and gas field data service control system.

[0074] In step 105, the data change request is sent to the oil and gas field data service control system. After the oil and gas field data service control system verifies the summary information and the identity token of the oil and gas field data center in the data change request, it verifies the changed oil and gas field data body in the data change request according to the data exchange model type. After the verification is passed, the oil and gas field data that meets the data discovery rules is sent to the corresponding oil and gas work area.

[0075] The inventors discovered that, in addition to the existing solutions employing an active push mode, data compensation mechanisms are not adequately considered in the event of unexpected situations during data transmission, leading to data loss or incompleteness. Therefore, embodiments of this invention also propose a passive refresh mode.

[0076] In one embodiment, the method further includes:

[0077] After receiving a data push command from the oil and gas data service control system, query the data within the time range specified in the data push command.

[0078] Based on the version change information of the retrieved data, obtain incremental data;

[0079] The generated data change request is sent to the oil and gas field data service control system through the passive refresh interface of the oil and gas field data service control system.

[0080] Specifically, in the passive refresh mode described above, incremental data is pushed through the passive refresh interface. The passive refresh interface is described in Table 2.

[0081] Table 2

[0082]

[0083]

[0084] In the above process, incremental data is obtained based on the version change information of the queried data. For example, the business primary key is composed of fields such as the business department of the oilfield enterprise and the batch time of the processing and interpretation as version information. Whether incremental synchronization is triggered is inferred based on the version change information.

[0085] Both the active push mode and the passive refresh mode have two ways of sending data content, including single data push and batch data push.

[0086] This invention also proposes a method for notifying data changes in the oil and gas sector. Figure 3 This is a flowchart of another oil and gas sector data change notification method according to an embodiment of the present invention. The method is applied to an oil and gas sector data service control system, which communicates with multiple oil and gas sector data centers. The method includes:

[0087] Step 301: Receive a data change request sent by the oil and gas domain data center; the data change request is generated by the oil and gas domain data center when an oil and gas domain data change event occurs and the event change type is a notification-required type, based on the changed oil and gas domain data; the data change request includes an oil and gas domain event data body, summary information, and an identity token of the oil and gas domain data center; the summary information is generated by a hash function on the key fields of the oil and gas domain event data body; the oil and gas domain event data body includes the changed oil and gas domain data based on the data exchange model type.

[0088] In one embodiment, after receiving a data change request from an oil and gas data center, the method further includes:

[0089] If the data change request is in compressed format, decompress the received data change request;

[0090] If the decompressed data change request is in binary serialized format, convert the decompressed data change request into the original format of the oil and gas data center.

[0091] Step 302: Verify the identity token of the oil and gas data center;

[0092] Each oil and gas data center has its own identity token to verify its identity and ensure the security of its data services.

[0093] Step 303: After verification, generate summary information based on the oil and gas field event data body in the received data change request;

[0094] Step 304: Compare the generated summary information with the summary information in the received data change request;

[0095] Step 305: After successful comparison, verify the event data body in the oil and gas field;

[0096] In one embodiment, the verification of oil and gas sector event data includes:

[0097] The first verification is performed on the oil and gas sector where the event data body is located.

[0098] After the first verification passes, a second verification is performed on the relationship between the data exchange model type and the data type.

[0099] After the second verification passes, the oil and gas sector data in the oil and gas sector event data body is verified based on the data exchange model type.

[0100] Specifically, the first verification is to determine whether the oil and gas event data body corresponds correctly to the oil and gas sector.

[0101] The second verification step involves checking the data exchange model type and data type of oil and gas sector data. The third verification step involves verifying the oil and gas sector data within the event data body based on the data exchange model type. For example, seismic field data is verified using the seismic field exchange model, and well logging curves are verified using the well logging curve exchange model. Furthermore, pattern verification is performed upon data reception; if the patterns do not match, the data can be rejected, thus ensuring data consistency. Synchronization markers are included in binary format data, allowing the location and identification of corrupted data blocks during data transmission, thereby ensuring data integrity.

[0102] Step 306: After the verification is passed, according to the data discovery rules of each oil and gas work area, send the oil and gas field data that conforms to the data discovery rules in the oil and gas field event data body to the corresponding oil and gas work area.

[0103] Data discovery rules can be configured based on the scope of master data, change type (such as addition, modification, deletion, etc.), or other business logic. Specifically, matching can be performed according to pre-defined data discovery rules. If the data discovery rules are met, a corresponding data notification action will be triggered. For example, a workspace studies a block and needs well logging data within the block. The data discovery rules define the inclusion relationship between the well spatial geographic location and the block spatial geographic location. If the data discovery rules are met, a notification is sent to the workspace indicating a new interpretation conclusion. When the well logging DMS generates a new interpretation conclusion, a notification is sent after the data interpretation is completed, indicating that the data discovery rules defined for that workspace are met, and a notification is sent to the workspace indicating a new interpretation conclusion. Data discovery rules are flexibly configurable. In addition to rules related to spatial geographic location information, rule definitions can also be set for dimensions such as time range, business stage, and well depth.

[0104] In this embodiment of the invention, the oil and gas data service control system updates the data index based on data discovery rules. For example, if multiple well logging interpretation conclusions are adjusted on a certain day, according to the data discovery rules, only the interpretation results of the last modification time are indexed.

[0105] This invention also proposes a data change notification device for the oil and gas sector, such as... Figure 4 This is a schematic diagram of the structure of the oil and gas sector data change notification device in an embodiment of the present invention. The device is applied to various oil and gas sector data centers, and each oil and gas sector data center communicates with the oil and gas sector data service control system. The device includes:

[0106] The event change type determination module 401 is used to determine the current event change type when an oil and gas data change event occurs.

[0107] The oil and gas sector event data body production module 402 is used to generate an oil and gas sector event data body when the event change type is a notification type. The oil and gas sector event data body includes oil and gas sector data based on changes in data exchange model type.

[0108] Summary information generation module 403 is used to generate summary information from key fields of oil and gas field event data through a hash function;

[0109] The data change request generation module 404 is used to generate a data change request based on the oil and gas field event data body, summary information and the identity token of the oil and gas field data center;

[0110] The active push module 405 is used to send the data change request to the oil and gas field data service control system, so that after the oil and gas field data service control system verifies the summary information and the identity token of the oil and gas field data center in the data change request, it verifies the changed oil and gas field data body in the data change request according to the data exchange model type, and after the verification is passed, it sends the oil and gas field data that meets the data discovery rules to the corresponding oil and gas work area.

[0111] In one embodiment, the active push module 405 is further configured to:

[0112] Before sending the data change request to the oil and gas field data service control system, if the size of the data change request exceeds a first preset data size, the data change request is converted into a binary data serialization format.

[0113] When the size of a data change request in binary data serialization format exceeds the second preset data size, a lossless compression algorithm is used to compress the data change request in binary data serialization format.

[0114] The compressed data change requests are stored in a memory-based queue;

[0115] A multi-threaded asynchronous program is used to send compressed data change requests from a memory-based queue to the oil and gas data service control system.

[0116] In one embodiment, the active push module 405 is further configured to:

[0117] The multi-threaded asynchronous program actively invokes the data change service of the oil and gas field data service control system, and pushes compressed data change requests from a memory-based queue to the oil and gas field data service control system.

[0118] In one embodiment, the oil and gas field event data body further includes at least one of data version, data exchange model type, event identifier, event occurrence time, data source, and data type.

[0119] In one embodiment, the device further includes a passive refresh module, used for:

[0120] After receiving a data push command from the oil and gas data service control system, query the data within the time range specified in the data push command.

[0121] Based on the version change information of the retrieved data, obtain incremental data;

[0122] The generated data change request is sent to the oil and gas field data service control system through the passive refresh interface of the oil and gas field data service control system.

[0123] This invention also proposes another data change notification device for the oil and gas sector, such as... Figure 5 This is a schematic diagram of another oil and gas sector data change notification device according to an embodiment of the present invention. The device is applied to an oil and gas sector data service control system, which communicates with multiple oil and gas sector data centers. The device includes:

[0124] The data receiving module 501 is used to receive data change requests sent by the oil and gas field data center. The data change request is generated by the oil and gas field data center when an oil and gas field data change event occurs and the event change type is a notification-required type, based on the changed oil and gas field data. The data change request includes an oil and gas field event data body, summary information, and an identity token of the oil and gas field data center. The summary information is generated by hashing the key fields of the oil and gas field event data body. The oil and gas field event data body includes the changed oil and gas field data based on the data exchange model type.

[0125] Verification module 502 is used to verify the identity token of the oil and gas field data center;

[0126] The summary regeneration module 503 is used to generate summary information based on the oil and gas field event data body in the received data change request after the verification is passed;

[0127] The summary comparison module 504 is used to compare the generated summary information with the summary information in the received data change request;

[0128] The verification module 505 is used to verify the event data body in the oil and gas field after a successful comparison.

[0129] The notification module 506 is used to send oil and gas field data that conforms to the data discovery rules in the oil and gas field event data body to the corresponding oil and gas field after the verification is passed, according to the data discovery rules of each oil and gas field.

[0130] In one embodiment, the data receiving module 501 is further configured to:

[0131] After receiving a data change request from the oil and gas data center, if the data change request is in compressed format, decompress the received data change request.

[0132] If the decompressed data change request is in binary serialized format, convert the decompressed data change request into the original format of the oil and gas data center.

[0133] In one embodiment, the verification module 505 is used for:

[0134] The first verification is performed on the oil and gas sector where the event data body is located.

[0135] After the first verification passes, a second verification is performed on the relationship between the data exchange model type and the data type.

[0136] After the second verification passes, the oil and gas sector data in the oil and gas sector event data body is verified based on the data exchange model type.

[0137] like Figure 6 This is a schematic diagram of the structure of the oil and gas field data change notification system in an embodiment of the present invention. The system includes an oil and gas field data change notification device 601 applied to various oil and gas field data centers and an oil and gas field data change notification device 602 applied to the oil and gas field data service control system.

[0138] In summary, in the method, apparatus, and system proposed in the embodiments of this invention, when an oil and gas data change event occurs, the current event change type is determined; when the event change type is a notification-required type, an oil and gas event data body is generated, which includes changed oil and gas data based on a data exchange model type; a summary information is generated from the key fields of the oil and gas event data body using a hash function; a data change request is generated based on the oil and gas event data body, the summary information, and the identity token of the oil and gas data center; the data change request is sent to the oil and gas data service control system, so that after the oil and gas data service control system verifies the summary information and the identity token of the oil and gas data center in the data change request, it verifies the changed oil and gas data body in the data change request according to the data exchange model type, and after the verification is successful, the oil and gas data that conforms to the data discovery rules is sent to the corresponding oil and gas work area. In the aforementioned process, data changes based on an event mechanism require determining the type of event change. Data processing only occurs when a notification type is required. To improve data push efficiency and security, oil and gas sector data is encapsulated into an oil and gas sector event data body, and this data is based on a data exchange model type. To further enhance data transmission security, a dual protection approach using summary information and identity tokens is employed. After receiving a data change request, the oil and gas sector data service control system verifies it. Upon successful verification, it sends oil and gas sector data conforming to the data discovery rules to the corresponding oil and gas work area, achieving targeted push notifications for specific oilfield work areas. This invention not only enables timely acquisition of the latest data changes but also allows for rapid indexing of new data, facilitating real-time adjustments to work by users in oil and gas work areas based on the latest data. Users can more quickly discover changes in data content, thereby improving data processing efficiency.

[0139] This invention also provides a computer device. Figure 7 This is a schematic diagram of a computer device in an embodiment of the present invention. The computer device 700 includes a memory 710, a processor 720, and a computer program 730 stored in the memory 710 and executable on the processor 720. When the processor 720 executes the computer program 730, it implements the above-mentioned oil and gas field data change notification method.

[0140] This invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described oil and gas field data change notification method.

[0141] This invention also provides a computer program product, which includes a computer program that, when executed by a processor, implements the above-described oil and gas field data change notification method.

[0142] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0143] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0144] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0145] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0146] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A method for notifying data changes in the oil and gas sector, characterized in that, The method, applicable to various oil and gas sector data centers, where each data center communicates with an oil and gas sector data service control system, includes: When a data change event occurs in the oil and gas sector, determine the current event change type; When the event change type is a notification-required type, an oil and gas sector event data body is generated, which includes oil and gas sector data based on changes in the data exchange model type. Summarize information from key fields of event data in the oil and gas sector using hash functions; Generate a data change request based on the oil and gas sector event data body, summary information, and the identity token of the oil and gas sector data center; The data change request is sent to the oil and gas field data service control system. After the oil and gas field data service control system verifies the summary information and the identity token of the oil and gas field data center in the data change request, it verifies the changed oil and gas field data body in the data change request according to the data exchange model type. After the verification is passed, the oil and gas field data that meets the data discovery rules is sent to the corresponding oil and gas work area.

2. The method as described in claim 1, characterized in that, Before sending the data change request to the oil and gas sector data service control system, the process also includes: When the size of the data change request exceeds a first preset data size, the data change request is converted into a binary data serialization format; When the size of a data change request in binary data serialization format exceeds the second preset data size, a lossless compression algorithm is used to compress the data change request in binary data serialization format. The compressed data change requests are stored in a memory-based queue; A multi-threaded asynchronous program is used to send compressed data change requests from a memory-based queue to the oil and gas data service control system.

3. The method as described in claim 2, characterized in that, Using a multi-threaded asynchronous program to send compressed data change requests from a memory-based queue to the oil and gas data service control system, including: The multi-threaded asynchronous program actively invokes the data change service of the oil and gas field data service control system, and pushes compressed data change requests from a memory-based queue to the oil and gas field data service control system.

4. The method as described in claim 1, characterized in that, The oil and gas field event data body also includes at least one of the following: data version, data exchange model type, event identifier, event occurrence time, data source, and data type.

5. The method as described in claim 1, characterized in that, Also includes: After receiving a data push command from the oil and gas data service control system, query the data within the time range specified in the data push command. Based on the version change information of the retrieved data, obtain incremental data; The generated data change request is sent to the oil and gas field data service control system through the passive refresh interface of the oil and gas field data service control system.

6. A method for notifying data changes in the oil and gas sector, characterized in that, A data service control system for the oil and gas sector, which communicates with multiple oil and gas sector data centers, includes the following method: Receive data change requests sent by the oil and gas sector data center; the data change request is generated by the oil and gas sector data center when an oil and gas sector data change event occurs and the event change type is a notification-required type, based on the changed oil and gas sector data; the data change request includes an oil and gas sector event data body, summary information, and an identity token of the oil and gas sector data center; the summary information is generated by a hash function on the key fields of the oil and gas sector event data body; the oil and gas sector event data body includes the changed oil and gas sector data based on the data exchange model type; Verify identity tokens for data centers in the oil and gas sector; After successful verification, a summary of information is generated based on the oil and gas sector event data body in the received data change request; Compare the generated summary information with the summary information in the received data change request; After a successful comparison, the event data in the oil and gas sector is verified. After verification, oil and gas field data that conforms to the data discovery rules in the oil and gas field event data body are sent to the corresponding oil and gas field according to the data discovery rules of each oil and gas field.

7. The method as described in claim 6, characterized in that, After receiving a data change request from the oil and gas sector data center, the process also includes: If the data change request is in compressed format, decompress the received data change request; If the decompressed data change request is in binary serialized format, convert the decompressed data change request into the original format of the oil and gas data center.

8. The method as described in claim 6, characterized in that, Validate event data volumes in the oil and gas sector, including: The first verification is performed on the oil and gas sector where the event data body is located. After the first verification passes, a second verification is performed on the relationship between the data exchange model type and the data type. After the second verification passes, the oil and gas sector data in the oil and gas sector event data body is verified based on the data exchange model type.

9. A data change notification device in the oil and gas sector, characterized in that, An apparatus for use in various oil and gas sector data centers, where each data center communicates with an oil and gas sector data service control system, comprising: The event change type determination module is used to determine the current event change type when a data change event occurs in the oil and gas field. The oil and gas sector event data body production module is used to generate an oil and gas sector event data body when the event change type is a notification-required type. The oil and gas sector event data body includes oil and gas sector data based on changes in data exchange model type. The summary information generation module is used to generate summary information from key fields of oil and gas event data using hash functions; The data change request generation module is used to generate data change requests based on the oil and gas field event data body, summary information, and the identity token of the oil and gas field data center. The active push module is used to send the data change request to the oil and gas field data service control system. After the oil and gas field data service control system verifies the summary information and the identity token of the oil and gas field data center in the data change request, it verifies the changed oil and gas field data body in the data change request according to the data exchange model type. After the verification is successful, the oil and gas field data that meets the data discovery rules is sent to the corresponding oil and gas work area.

10. A data change notification device in the oil and gas sector, characterized in that, A data service control system for the oil and gas sector, which communicates with multiple oil and gas sector data centers, includes: The data receiving module is used to receive data change requests sent by the oil and gas domain data center. The data change request is generated by the oil and gas domain data center when an oil and gas domain data change event occurs and the event change type is a notification-required type, based on the changed oil and gas domain data. The data change request includes an oil and gas domain event data body, summary information, and an identity token of the oil and gas domain data center. The summary information is generated by hashing the key fields of the oil and gas domain event data body. The oil and gas domain event data body includes the changed oil and gas domain data based on the data exchange model type. The verification module is used to verify the identity tokens of data centers in the oil and gas sector. The summary regeneration module is used to generate summary information based on the oil and gas event data body in the received data change request after verification. The digest comparison module is used to compare the generated digest information with the digest information in the received data change request; The verification module is used to verify the event data in the oil and gas field after a successful comparison. The notification module is used to send oil and gas field data that conforms to the data discovery rules in the oil and gas field event data body to the corresponding oil and gas field after the verification is passed, according to the data discovery rules of each oil and gas field.

11. A data change notification system for the oil and gas sector, characterized in that, This includes the oil and gas sector data change notification device for various oil and gas sector data centers as described in claim 9 and the oil and gas sector data change notification device for oil and gas sector data service control system as described in claim 10.

12. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method of any one of claims 1 to 8.

13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method of any one of claims 1 to 8.

14. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the method of any one of claims 1 to 8.