Geothermal monitoring data intelligent analysis method and system
By unifying the packaging, page division, and operational condition restoration analysis of geothermal monitoring data, the problem of organizing geothermal monitoring data according to operational status segments was solved, achieving data unification and analyzability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHANDONG PROVINCIAL GEOLOGICAL & MINERAL EXPLORATION & DEV BUREAU 801 HYDROGEOLOGY & ENG GEOLOGY BRIGADE (SHANDONG PROVINCIAL GEOLOGICAL & MINERAL ENG EXPLORATION INST)
- Filing Date
- 2026-04-30
- Publication Date
- 2026-06-05
AI Technical Summary
Geothermal monitoring data from different wells, well sections, and operating conditions are difficult to organize into unified pages and operating conditions according to operating conditions, leading to data cross-mixing and inconsistent analysis standards.
By acquiring geothermal monitoring data and operational context data, a unified sequence of monitoring data units is generated. The data is then divided into pages and aggregated within each page according to well identifier, well segment identifier, and operational status switching time. Natural time and process time fields are written into the data, and stage position mapping and operating condition fields are also written to form an operating condition restoration analysis volume.
This approach enables unified organization and analysis of geothermal monitoring data, reduces data cross-contamination, ensures the consistency and accuracy of the analysis, and creates a target analysis dataset that can be used for subsequent calculations and applications.
Smart Images

Figure CN122153344A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of geothermal monitoring data processing technology, specifically to an intelligent analysis method and system for geothermal monitoring data. Background Technology
[0002] In the development and utilization of geothermal resources, various types of monitoring points are typically deployed around geothermal wells, well sections, reinjection channels, and related operational processes to continuously collect information on temperature, pressure, flow rate, liquid level, and related operational status. The collected results are then written into a monitoring platform or data storage system in chronological order to support the monitoring of geothermal well operational status, identification of well section operating conditions, recording of operational processes, and retrieval of historical data. As the geothermal monitoring cycle extends, the number of monitored objects increases, and operational status changes become more frequent, multi-source continuous data will continuously form within the same geothermal monitoring system, spanning wells, well sections, and status zones. The monitoring data not only has temporal continuity but also possesses multi-dimensional attributes such as well identifiers, well section identifiers, operational status identifiers, and acquisition method identifiers. Therefore, how to uniformly organize, sequentially process, and construct analysis objects for geothermal monitoring data has become a fundamental technical aspect of geothermal monitoring data processing. In the process of geothermal monitoring data processing, there is a problem that it is difficult to uniformly page and organize the continuously acquired multi-well and multi-segment geothermal monitoring data according to the operating status segment. Specifically, on the one hand, monitoring records from different wells, different well segments, and different operating states are mixed and written into the same data stream in chronological order, and are only linearly stacked according to the acquisition time. There is a lack of organizational units with wells, well segments, and operating status segments as boundaries. In actual analysis, it is necessary to repeatedly split by well, divide by well segment, and manually divide by state switching points, which easily leads to cross-mixing of segment data and inconsistencies in analysis caliber. On the other hand, monitoring records usually only save the acquisition time and measurement value, lacking the identifier that can characterize the process position of the data within the operating segment and the operating condition field corresponding to the well role, well segment role, and acquisition method. This makes it difficult to organize the data within the same segment in a stable order, and it is also difficult to filter, splice, and rearrange the data between different segments under unified rules, making it difficult to directly obtain the target analysis dataset that can be used for subsequent calculations and calls. Summary of the Invention
[0003] The purpose of this invention is to provide an intelligent analysis method and system for geothermal monitoring data, in order to solve the problem mentioned in the background art that it is difficult to uniformly page and organize geothermal monitoring data from multiple wells and sections according to their operating status.
[0004] To achieve the above objectives, the technical solution of the present invention is: an intelligent analysis method for geothermal monitoring data, comprising: S1. Acquire geothermal monitoring data and operational context data, encapsulate the geothermal monitoring data and operational context data in a unified manner, and generate a sequence of monitoring data units sorted by acquisition time; S2. Based on the same well identifier, the same well section identifier, and the acquisition time interval between two adjacent operating status switching times, the monitoring data unit sequence is divided into pages and the data is aggregated within the page to generate a thermal history page. The monitoring data units within the thermal history page are encapsulated with dual clocks and written into the natural time field and the process time field. Among them, the thermal history page is a page-type data structure formed by aggregating monitoring data units with the same well identifier, the same well section identifier, and the same operating state section; dual clock encapsulation refers to the operation of writing two types of time information into the same monitoring data unit at the same time. S3. Based on the thermal history page and operating context data, perform stage position mapping on the monitoring data units in each thermal history page, and write them into the well role field, well section role field and acquisition method field. Then sort the monitoring data units in the same thermal history page according to the process time field to form the operating condition restoration analysis volume. Among them, the operating condition restoration analysis volume refers to the set of in-page analysis data formed by adding relevant fields of operating conditions to the monitoring data units in the same thermal history page; S4. Based on the target analysis request, perform volume filtering on the working condition restoration analysis volume to obtain the target working condition restoration analysis volume. Perform inter-volume splicing and intra-volume rearrangement on the target working condition restoration analysis volume to output the target analysis dataset.
[0005] Preferably, in S2, page partitioning and intra-page aggregation are operations that segment and aggregate the monitoring data unit sequence according to the same well identifier, the same well segment identifier, and the acquisition time interval between two adjacent operating state switching times; wherein, page partitioning uses the switching times of two adjacent operating states as page boundaries, and determines the page belonging interval of the monitoring data unit under the constraints of the same well identifier and the same well segment identifier; intra-page aggregation is to group the monitoring data units within the page belonging interval into the same thermal history page, and organize the intra-page monitoring data units according to the acquisition time order.
[0006] Preferably, in step S2, the thermal history page is a page-based data structure composed of header information and a set of monitoring data units within the page, used to carry monitoring data units corresponding to the same well identifier, the same well segment identifier, and the same operating status segment; each thermal history page corresponds one-to-one with each operating status segment, the header information includes at least the well identifier, well segment identifier, operating status identifier, page start acquisition time, and page end acquisition time, and the set of monitoring data units within the page includes monitoring data units collected to the corresponding thermal history page.
[0007] Preferably, in step S2, dual-clock encapsulation is a write operation that simultaneously establishes the actual acquisition time location and the process location within the page for monitoring data units assigned to the same thermal history page. This is used to synchronously record the actual acquisition time and the process position within the corresponding thermal history page within the same monitoring data unit. The two types of time information simultaneously written to the same monitoring data unit by dual-clock encapsulation are a natural time field and a process time field. The natural time field is used to characterize the actual acquisition time of the monitoring data unit and its time position within the overall acquisition process; the content written to the natural time field is the acquisition time of the monitoring data unit. The process time field is used to characterize the process position of the monitoring data unit within its corresponding thermal history page and its time relationship within the page relative to the starting position of the corresponding thermal history page; the content written to the process time field is the time difference between the acquisition time of the monitoring data unit and the starting acquisition time of the corresponding thermal history page.
[0008] Preferably, in step S3, the stage position mapping is a mapping process that determines the order of monitoring data units within the same thermal history page based on the process time field and writes it into the stage position field. This is used to establish the pass-through position for each monitoring data unit within the same thermal history page. The specific method for performing stage position mapping on the monitoring data units within each thermal history page is as follows: For each thermal history page, read the process time field of each monitoring data unit within that thermal history page, sort the monitoring data units according to the ascending order of the process time field, generate stage position values sequentially according to the sorting results, and write the stage position values into the stage position field of the corresponding monitoring data unit. The stage position value is used to represent the process sequence of the monitoring data unit within its respective thermal history page. For monitoring data units with the same process time field, assign the same stage position value and write it into the same stage position field.
[0009] Preferably, in step S3, the operational condition restoration analysis volume is a page-based analysis data volume. It is formed by further writing well role, well segment role, and acquisition method fields into monitoring data units within the same thermal history page that have already been written with natural time, process time, and stage position fields. The data is organized according to the process time field order. This volume is used to output an analysis data set carrying operational condition information under a single time series. Each operational condition restoration analysis volume corresponds one-to-one with a thermal history page. The operational condition restoration analysis volume includes all monitoring data units within that thermal history page that have completed writing the well role, well segment role, and acquisition method fields. The operational condition-related fields include stage position, well role, well segment role, and acquisition method fields.
[0010] On the other hand, the present invention provides an intelligent analysis system for geothermal monitoring data, including a memory, a processor, and a computer program stored in the memory and executable on the processor. The processor executes the computer program to implement the aforementioned intelligent analysis method for geothermal monitoring data.
[0011] Compared with the prior art, the above-mentioned technical solution of the present invention has the following beneficial technical effects: 1. In this invention, based on performing page division and intra-page aggregation processing on geothermal monitoring data, and forming thermal history pages corresponding to well identifiers, well segment identifiers, and operating status segments, the monitoring records of multiple wells and well segments that were originally stored continuously and mixed along time can be reorganized into page-type data objects with clear ownership and boundaries. This reduces the problem of inconsistent analysis standards caused by the cross-mixing of data from different wells, different well segments, and different operating status segments, and enables subsequent data retrieval and processing to be based on a unified data organization. 2. In this invention, by writing natural time and process time fields into the monitoring data units within the thermal history page, and further performing stage position mapping and operating condition field writing to form an operating condition restoration analysis volume, a unified expression of time positioning, process positioning, and operating condition positioning of monitoring data within the same operating state segment is achieved. This enables geothermal monitoring data to be screened, spliced between volumes, and rearranged within volumes according to unified rules, directly forming a target analysis dataset that can be called for subsequent analysis. Attached Figure Description
[0012] Figure 1 This is a flowchart of one embodiment of the present invention. Detailed Implementation
[0013] Example 1, as Figure 1 As shown, the specific implementation steps of the intelligent analysis method for geothermal monitoring data proposed in this invention are as follows: S1. Acquire geothermal monitoring data and operational context data, encapsulate the geothermal monitoring data and operational context data in a unified manner, and generate a sequence of monitoring data units sorted by acquisition time; S2. Based on the same well identifier, the same well section identifier, and the acquisition time interval between two adjacent operating status switching times, the monitoring data unit sequence is divided into pages and the data is aggregated within the page to generate a thermal history page. The monitoring data units within the thermal history page are encapsulated with dual clocks and written into the natural time field and the process time field. Among them, the thermal history page is a page-type data structure formed by aggregating monitoring data units with the same well identifier, the same well section identifier, and the same operating state section; dual clock encapsulation refers to the operation of writing two types of time information into the same monitoring data unit at the same time. S3. Based on the thermal history page and operating context data, perform stage position mapping on the monitoring data units in each thermal history page, and write them into the well role field, well section role field and acquisition method field. Then sort the monitoring data units in the same thermal history page according to the process time field to form the operating condition restoration analysis volume. Among them, the operating condition restoration analysis volume refers to the set of in-page analysis data formed by adding relevant fields of operating conditions to the monitoring data units in the same thermal history page; S4. Based on the target analysis request, perform volume filtering on the working condition restoration analysis volume to obtain the target working condition restoration analysis volume. Perform inter-volume splicing and intra-volume rearrangement on the target working condition restoration analysis volume to output the target analysis dataset.
[0014] In this embodiment S1, geothermal monitoring data is received and organized according to its acquisition source. The received objects include various monitoring records related to geothermal wells, well sections, and the geothermal monitoring process. Geothermal monitoring data can be temperature data, pressure data, flow data, liquid level data, well section profile data, and status record data corresponding to the monitored objects. Operational context data is received synchronously with the geothermal monitoring data and is associated and organized. Operational context data includes at least well identifier, well section identifier, acquisition time, operation status identifier, operation status switching time, well role identifier, well section role identifier, and acquisition method identifier. After entering the processing flow of this embodiment, various types of geothermal monitoring data and operational context data no longer directly participate in subsequent organization and processing in their original acquisition format. Instead, they are first converted into a data record format that can be uniformly compared and organized to ensure that data from different acquisition sources, different acquisition granularities, and different acquisition cycles enter the subsequent packaging process under the same processing caliber. Unified packaging is for geothermal monitoring. Data and operational context data undergo field-level organization and record-level combination. Specifically, each geothermal monitoring record is aligned with its corresponding operational context record in terms of identifier, time, and field, and written into the same data record according to a preset field order. Identifier alignment is used to establish a unique correspondence between geothermal monitoring records from the same well and well section and their corresponding operational context records. Time alignment is used to match the acquisition time of the geothermal monitoring record with the status record time, status switching time, and acquisition method record time in the operational context. Field alignment is used to write data fields from different sources according to a unified name, unified arrangement order, and unified record format. Each data record, after unified encapsulation, forms a monitoring data unit. The monitoring data unit at least carries a well identifier, well section identifier, variable identifier, acquisition time, variable value, and the operational context field corresponding to the variable value, so that the monitoring data unit simultaneously possesses monitoring value information and operational condition information of the monitoring value.
[0015] In this embodiment S1, the formation of monitoring data units is not a simple splicing of the original data, but a redefinition of the record boundaries of the original data. The redefinition of the record boundaries uses a single valid acquisition record as the basic unit and combines it with the operating context corresponding to that valid acquisition record as the auxiliary record content. Specifically, when there are multiple variable records at the same acquisition time, each variable record forms an independent monitoring data unit, and the corresponding variable identifier and variable value are written into each monitoring data unit. For records of the same variable generated in different wells or different well sections, different monitoring data units are formed according to the well identifier and well section identifier. For data records with different acquisition sources but corresponding to the same well identifier, the same well section identifier, and the same acquisition time, the variable identifier is written independently during unified encapsulation, and no mixed variable writing processing is performed. This ensures that each monitoring data unit corresponds to only one clear data record boundary and can be directly used as the smallest processing object in subsequent steps.
[0016] In this embodiment S1, the monitoring data unit sequence is formed by sorting the data by acquisition time. This involves performing a time-series arrangement process on all the monitoring data units formed after unified encapsulation. The time-series arrangement is based primarily on the acquisition time. When the acquisition time is the same, the data units are arranged in the order of well identifier, well segment identifier, and variable identifier to form a monitoring data unit sequence with a defined order. The original field content of each monitoring data unit in the sequence remains unchanged, and only its arrangement order in the sequence is adjusted. When there are differences in the data acquisition time due to different data sources, the standard acquisition time field in the encapsulated record is used as the sorting basis. When there is a state switching record in the running context data corresponding to the geothermal monitoring data, the state switching record does not directly change the sorting result of the monitoring data units, but is retained as a context field in the monitoring data units. The monitoring data unit sequence formed in this way has continuous time sequence, clear record boundaries, and a unified field structure, and can be used as a direct input object for subsequent page division and intra-page aggregation processing.
[0017] In this embodiment S1, after unified encapsulation and time-series arrangement, each monitoring data unit in the monitoring data unit sequence simultaneously contains monitoring value information, object location information, and operating context information. The monitoring value information is used to characterize the specific data content of a single acquisition record, the object location information is used to characterize the well and well section to which the acquisition record belongs, and the operating context information is used to characterize the operating status, role relationship, and acquisition method corresponding to the acquisition record. The resulting monitoring data unit sequence is no longer a simple linear stack of the original acquisition data, but a sequential data sequence with a unified record structure, unified time caliber, and unified identification caliber.
[0018] In this embodiment S2, page partitioning and intra-page aggregation are operations that segment and aggregate the monitoring data unit sequence according to the same well identifier, the same well segment identifier, and the acquisition time interval between two adjacent operating state switching times. Specifically, page partitioning uses the switching times of two adjacent operating states as page boundaries and determines the page belonging interval of the monitoring data unit under the constraints of the same well identifier and the same well segment identifier. Intra-page aggregation is to group the monitoring data units within the page belonging interval into the same thermal history page and organize the intra-page monitoring data units according to the acquisition time order.
[0019] In this embodiment S2, page partitioning and intra-page aggregation perform sequential page-based organization processing on the monitoring data unit sequence. The processing object is the monitoring data unit sequence that has been uniformly encapsulated and sorted by acquisition time. The processing basis includes well identifier, well segment identifier, and operating state switching time. Page partitioning first reads the corresponding well identifier, well segment identifier, and acquisition time for each monitoring data unit in the monitoring data unit sequence. Then, it determines the operating state segment to which the monitoring data unit belongs by combining the operating state switching time in the operating context data. Subsequently, the same well identifier, the same well segment identifier, and acquisition time between two adjacent operating state switching times are used as the same page determination condition. Monitoring data units that meet the same page determination condition are assigned to the same page belonging interval, thereby transforming the monitoring data unit sequence from a linear time series structure into a page-based organization structure with operating state segments as boundaries.
[0020] In this embodiment S2, the page boundaries in page division are formed by the operation state switching time. Specifically, for monitoring data units that appear consecutively under the same well identifier and the same well segment identifier, the operation state switching time corresponding to the well identifier and the well segment identifier is read, and several adjacent switching time pairs are determined according to the time sequence. The acquisition time interval between any adjacent switching time pairs is used as a candidate page boundary interval. Then, the monitoring data units whose acquisition time falls into the candidate page boundary interval are determined as objects to be collected in the same segment. When the acquisition time of a certain monitoring data unit coincides with the operation state switching time, the page assignment of the monitoring data unit is determined according to the segment corresponding to the operation state after the switch. This ensures that the page boundary is consistent with the operation state segment boundary, and at the same time ensures that monitoring data units of different operation state segments under the same well identifier and the same well segment identifier are not assigned to the same data page.
[0021] In this embodiment S2, intra-page aggregation is a data aggregation process performed after the page division determines the page belonging interval. Intra-page aggregation performs centralized writing and intra-page sorting on monitoring data units falling into the same page belonging interval. Centralized writing refers to writing monitoring data units belonging to the same well identifier, the same well segment identifier, and in the same operating state segment into the intra-page area of the same thermal history page. Intra-page sorting refers to arranging monitoring data units in the same thermal history page according to the order of acquisition time. For monitoring data units with the same acquisition time, they are further arranged according to the variable identifier, thereby forming a stable arrangement order of the intra-page monitoring data unit set. Through intra-page aggregation, the records originally scattered in the monitoring data unit sequence within the same operating state segment are integrated into an intra-page data set that can be directly read.
[0022] In this embodiment S2, after page division and intra-page aggregation are completed, each thermal history page corresponds to a set of defined intra-page monitoring data units. Pages are separated by the boundaries of operating status segments. Within the same thermal history page, the same well identifier, the same well segment identifier, and the same operating status segment are maintained. The intra-page monitoring data units are arranged in order of acquisition time and the original variable identifiers and variable values remain unchanged. After this processing, each monitoring data unit in the monitoring data unit sequence retains the original record attributes and adds a clear page affiliation relationship. The page organization result can be directly used for subsequent page header information writing, dual-clock encapsulation, and intra-page time positioning processing. Among them, page division reflects the segment separation relationship of monitoring data units, and intra-page aggregation reflects the centralized organization relationship of monitoring data units within the same segment.
[0023] In this embodiment S2, the operating state switching time is taken from the state switching record in the operating context data. The state switching record establishes a correspondence according to the well identifier and well segment identifier, and forms an operating state switching time sequence according to the time sequence. For any monitoring data unit corresponding to a well identifier and well segment identifier, the corresponding operating state switching time sequence is read. The time range between two adjacent operating state switching times is used as a page boundary interval. Monitoring data units whose acquisition time falls within this page boundary interval are determined as the same page partitioning candidate set, so that the page partitioning boundary is directly derived from the segment switching record of the operating state. A unified attribution rule is adopted for page boundaries during page partitioning. When the acquisition time of a monitoring data unit is located in a certain page boundary area... When the monitoring data unit is within a certain time interval, it is assigned to the thermal history page corresponding to that page boundary interval. When the acquisition time of the monitoring data unit coincides with the switching time of a certain operating state, the monitoring data unit is assigned to the subsequent page boundary interval starting from that operating state switching time. When the monitoring data unit under a certain well identifier and well segment identifier is located before the first operating state switching time, the first page boundary interval is formed from the earliest acquisition time under that well identifier and well segment identifier to the first operating state switching time. When the monitoring data unit is located after the last operating state switching time, the last page boundary interval is formed from the last operating state switching time to the latest acquisition time under that well identifier and well segment identifier. This ensures that the page division remains continuous throughout the entire time range.
[0024] In this embodiment S2, after page division, page aggregation performs page aggregation verification and sequential organization processing. Page aggregation verification includes well identifier consistency verification, well segment identifier consistency verification, and page boundary interval consistency verification. Only monitoring data units that simultaneously meet the requirements of the same well identifier, the same well segment identifier, and acquisition time belonging to the corresponding page boundary interval are written to the corresponding thermal history page. Monitoring data units assigned to the same thermal history page are sorted within the page according to the order of acquisition time. When the acquisition time is the same, a secondary sort is performed according to the variable identifier. When both the acquisition time and the variable identifier are the same, the original order in the monitoring data unit sequence remains unchanged, thereby ensuring that the arrangement order of monitoring data units within the page remains definite after aggregation. After page division and page aggregation are completed, a unique page affiliation relationship is established for each monitoring data unit. Any monitoring data unit is assigned to only one thermal history page and is not repeatedly written between multiple thermal history pages. Each thermal history page contains only monitoring data that is consistent with its page affiliation conditions. According to the unit, records with inconsistent well identifiers, inconsistent well segment identifiers, or acquisition times exceeding the corresponding page boundary intervals are excluded. The processing results after page division and intra-page aggregation retain the original field content of the monitoring data unit, only adding page attribution relationships and intra-page order relationships, transforming the monitoring data unit sequence from a linear time-series organization to a page-based segmented organization. In the page-based organization results formed by page division and intra-page aggregation, each thermal history page corresponds to a definite set of page attribution conditions, which includes at least the well identifier, well segment identifier, and page boundary interval. After page division, any monitoring data unit can be uniquely mapped to the corresponding thermal history page through its own well identifier, well segment identifier, and acquisition time. All monitoring data units in the same thermal history page share the same set of page attribution conditions, but retain their own independent variable identifiers, acquisition times, and variable value records. Thus, the page-based organization results simultaneously retain intra-page common attribution information and unit-level individual record information.
[0025] In this embodiment S2, the thermal history page is a page-type data structure composed of header information and a set of monitoring data units within the page. It is used to carry monitoring data units corresponding to the same well identifier, the same well segment identifier, and the same operating status segment. Each thermal history page corresponds one-to-one with each operating status segment. The header information includes at least the well identifier, well segment identifier, operating status identifier, page start acquisition time, and page end acquisition time. The set of monitoring data units within the page includes monitoring data units collected to the corresponding thermal history page.
[0026] In this embodiment S2, the thermal history page, as a page-based data structure, consists of two parts: a header information and a set of monitoring data units within the page. The header information characterizes the page's scope and segment boundaries, while the set of monitoring data units within the page carries the monitoring data units aggregated to that page. The formation of the thermal history page is based on page division and the results of aggregation within the page. Each thermal history page only carries monitoring data units from the same well identifier, the same well segment identifier, and the same operating state segment. Unlike ordinary data pages formed by time length or fixed windows, the page boundaries of a thermal history page are not determined by a fixed duration but by the segment boundaries limited by the operating state switching time. Therefore, the thermal history page corresponds to the monitoring data in... A continuous set of records within an operational status segment; the page header information includes at least a well identifier, a well segment identifier, an operational status identifier, a page start acquisition time, and a page end acquisition time. The well identifier is used to identify the geothermal well object corresponding to the thermal history page, the well segment identifier is used to identify the well segment object corresponding to the thermal history page, the operational status identifier is used to identify the operational status segment corresponding to the thermal history page, and the page start acquisition time and page end acquisition time are used to identify the time start and time end of the set of monitoring data units within the page, respectively. The page header information is written synchronously when the thermal history page is generated and forms a stable association with the set of monitoring data units within the page, thereby enabling any thermal history page to simultaneously obtain page ownership information and page data content when it is read.
[0027] In this embodiment S2, a one-to-one correspondence is established between thermal history pages and operating status segments. Specifically, for each operating status segment under the same well identifier and well segment identifier, only one thermal history page corresponding to that operating status segment is generated. For different operating status segments, even if the acquisition time of the monitoring data units within the page is continuous, different thermal history pages are formed. Simultaneously, for different well identifiers or different well segment identifiers, even if the operating status segments are the same, different thermal history pages are formed. This ensures that the thermal history page has a triple boundary of well, well segment, and operating status, preventing data from different objects or different segments from being mixed into the same page-based data structure. The header information in the thermal history page maintains a header-body correspondence with the set of monitoring data units within the page. The well identifier, well segment identifier, and operating status identifier in the header information are used to verify the consistency of the set of monitoring data units within the page. The page start acquisition time and page end acquisition time are used to define the time coverage range of the set of monitoring data units within the page. Each monitoring data unit in the set of monitoring data units within the page satisfies the well identifier, well segment identifier, and operating status segment conditions consistent with the header information. Through this header-body correspondence, the thermal history page is not only an aggregation carrier of monitoring data, but also a direct basis for determining the time start point and process position within the page during the subsequent dual-clock encapsulation process.
[0028] In this embodiment S2, after the thermal history page is divided and the data is aggregated within the page, a header information and a set of monitoring data units within the page are generated. The generation of the header information and the determination of the set of monitoring data units within the page are completed simultaneously. The well identifier, well segment identifier, and operating status identifier are taken from the common attribution information corresponding to the monitoring data units assigned to the page. The page start acquisition time is taken from the first acquisition time after sorting the acquisition times within the page, and the page end acquisition time is taken from the last acquisition time after sorting the acquisition times within the page. When a page contains only one monitoring data unit, the page start acquisition time and page end acquisition time are taken from the acquisition time of that monitoring data unit, thus ensuring that the thermal history page is generated simultaneously. It has complete header information; the one-to-one correspondence between thermal history pages and operating status segments is established under the constraints of the same well identifier and the same well segment identifier; for each operating status segment under the same well identifier and the same well segment identifier, only one thermal history page corresponding to that operating status segment is formed; for monitoring data units with the same operating status identifier under different well identifiers or different well segment identifiers, different thermal history pages are formed respectively; for monitoring data units of different operating status segments under the same well identifier and the same well segment identifier, they are not written into the same thermal history page, thus making the ownership boundary of the thermal history page simultaneously constrained by the triple conditions of well identifier, well segment identifier and operating status segment.
[0029] In this embodiment S2, the header information of the thermal history page establishes a header-page body correspondence with the set of monitoring data units within the page; the well identifier and well segment identifier in the header information are used to characterize the object affiliation of the set of monitoring data units within the page, the operating status identifier is used to characterize the status affiliation of the set of monitoring data units within the page, and the page start acquisition time and page end acquisition time are used to characterize the time coverage range of the set of monitoring data units within the page; each monitoring data unit in the set of monitoring data units within the page satisfies the well identifier, well segment identifier, and operating status segment conditions consistent with the header information; the header information is used to perform affiliation verification, time verification, and page time base determination on the set of monitoring data units within the page, so that the thermal history page not only carries data content but also carries the common boundary information of the data within the page; the thermal history page, as a page-type data structure, carries the monitoring data units in a centralized manner within the page body; the monitoring data units recorded in the page body maintain the structure formed in S1. The unit boundaries remain unchanged and are written sequentially according to the page order. The header information and the set of monitoring data units recorded in the page body together constitute a complete thermal history page. When any thermal history page is read, it can simultaneously obtain the page ownership information, the page time range, and the set of monitoring data units within the page, thereby realizing centralized reading and centralized organization of monitoring data within the same well, the same well section, and the same operating status section. After the thermal history page is generated, the page content remains stable, and the set of monitoring data units within the page does not change the page ownership due to subsequent field writing. The page start acquisition time in the header information serves as the unified time reference for the calculation of subsequent process time fields, the page end acquisition time serves as the upper limit record of the page coverage range, and the well identifier, well section identifier, and operating status identifier serve as consistency constraints for the data ownership within the page. The thermal history page formed in this way can not only represent the aggregation result of monitoring data in the operating status section, but also provide a page-level basis for the relative time positioning of monitoring data units within the same page.
[0030] In this embodiment S2, dual-clock encapsulation is a write operation that simultaneously establishes the actual acquisition time location and the process location within the page for monitoring data units assigned to the same thermal history page. This is used to synchronously record the actual acquisition time and the process position within the corresponding thermal history page within the same monitoring data unit. The two types of time information simultaneously written to the same monitoring data unit by dual-clock encapsulation are a natural time field and a process time field. The natural time field is used to characterize the actual acquisition time of the monitoring data unit and its time position within the overall acquisition process; the content written to the natural time field is the acquisition time of the monitoring data unit. The process time field is used to characterize the process position of the monitoring data unit within its corresponding thermal history page and its time relationship within the page relative to the starting position of the corresponding thermal history page; the content written to the process time field is the time difference between the acquisition time of the monitoring data unit and the starting acquisition time of the corresponding thermal history page.
[0031] In this embodiment S2, dual-clock encapsulation is a writing process that synchronously writes two types of time information to the monitoring data units assigned to the same thermal history page after the thermal history page is generated. The two types of time information are the natural time field and the process time field. The natural time field is used to characterize the actual acquisition time of the monitoring data unit, and the process time field is used to characterize the process position of the monitoring data unit in its respective thermal history page. Dual-clock encapsulation does not change the original variable identifier and variable value of the monitoring data unit. Instead, while keeping the original data record boundary unchanged, it adds two time coordinates for each monitoring data unit: actual acquisition time positioning and page-internal process positioning. This allows the same monitoring data unit to be positioned both on the overall acquisition time axis and on the process time axis within its respective thermal history page.
[0032] In this embodiment S2, the content written in the natural time field is the acquisition time of the monitoring data unit. The natural time field directly inherits the acquisition time record formed in the unified encapsulation stage, and uses the acquisition time as the actual acquisition time identifier of the monitoring data unit and writes it into the monitoring data unit. When there are multiple monitoring data units with consecutive acquisition times in the thermal history page, each monitoring data unit retains its corresponding natural time field value. The natural time field is not recalculated or replaced due to the generation of the thermal history page, thereby maintaining the one-to-one correspondence between the monitoring data unit and the actual acquisition time, and providing a unified time basis for reading and comparing the monitoring data units in the page in the overall acquisition time sequence.
[0033] In this embodiment S2, the content written in the process time field is the time difference between the acquisition time of the monitoring data unit and the start acquisition time of the corresponding thermal history page. The start acquisition time of the page is taken from the start acquisition time of the page header information of the thermal history page. When writing, the acquisition time of each monitoring data unit in the same thermal history page is read, and then the difference is calculated with the start acquisition time of the corresponding thermal history page. The calculation result is written into the process time field of the corresponding monitoring data unit. When the acquisition time of the monitoring data unit coincides with the start acquisition time of the page, the process time field takes the minimum time difference value in that page, thereby mapping all monitoring data units in the page to the relative time coordinate system within the same thermal history page.
[0034] In this embodiment S2, after the dual-clock encapsulation is completed, the same monitoring data unit retains both a natural time field and a process time field. The former is used to represent the actual acquisition time of the monitoring data unit in the monitoring data unit sequence, and the latter is used to represent the intra-page time relationship of the monitoring data unit relative to the start acquisition time of the thermal history page to which it belongs. When there are different start acquisition times between different thermal history pages, the natural time field maintains a unified time reference between different pages, and the process time field maintains a unified process reference within each page. The two types of time fields together constitute the dual-time positioning result of the monitoring data unit within the thermal history page, and provide a direct time basis for determining the stage position based on the intra-page process sequence in the subsequent stage position mapping.
[0035] In this embodiment S2, dual-clock encapsulation involves writing fields to monitoring data units already assigned to the thermal history page after the thermal history page is generated. Dual-clock encapsulation does not generate new monitoring data units, nor does it change the original variable identifiers, variable values, well identifiers, and well segment identifiers. It only adds natural time and process time fields to the original monitoring data units. After encapsulation, the monitoring data units maintain their original page ownership and intra-page order, only adding two types of time positioning information. This ensures that dual-clock encapsulation is a time information expansion performed on the same recording object. The content written to the natural time field is the monitoring data unit's data in S1. The acquisition time is generated during encapsulation; the natural time field directly inherits the existing acquisition time record value of the monitoring data unit, without recalculation, intra-page conversion, or segment correction; after being written, the natural time field retains the actual acquisition time identifier of the monitoring data unit on the overall acquisition time axis; each monitoring data unit within the same thermal history page retains its own natural time field value, and they do not share the same natural time field value due to being on the same page, thereby maintaining a one-to-one correspondence between the monitoring data unit and the actual acquisition time; the content written to the process time field is the acquisition time of the monitoring data unit and the start of its corresponding thermal history page. The time difference between acquisition times; the page start acquisition time is uniformly taken from the page start acquisition time in the header information of the thermal history page, and serves as the common calculation benchmark for all monitoring data units within the same thermal history page; the acquisition time of each monitoring data unit within the same thermal history page is read separately, and the difference is calculated with the corresponding page start acquisition time, and the obtained difference is written into the process time field of the monitoring data unit; when the acquisition time of the monitoring data unit is the same as the page start acquisition time, the process time field takes a value of zero; when multiple monitoring data units have the same acquisition time, the corresponding process time field takes the same difference value, thereby establishing the internal time difference within the same page. A unified relative time coordinate is used; the process time field is recorded using the same time unit as the acquisition time, and all monitoring data units within the same thermal history page are written using the same time unit and the same page start time reference; the natural time field and the process time field represent the absolute acquisition time and the relative process position within the page, respectively, and the two exist in parallel within the same monitoring data unit. The natural time field maintains the overall time comparability across thermal history pages, while the process time field maintains the process sequence within a single thermal history page; through the above dual-time writing results, the same monitoring data unit simultaneously has global time positioning and page-specific time positioning.
[0036] In this embodiment S2, after the dual-clock encapsulation is completed, both the natural time field and the process time field are retained as constituent fields of the monitoring data unit within the thermal history page. The natural time field is used to read the actual acquisition time of the monitoring data unit, and the process time field is used to read the relative time position of the monitoring data unit within its respective thermal history page. When different thermal history pages have different page start acquisition times, the natural time field maintains a unified time reference between different thermal history pages, and the process time field maintains a unified process reference within each thermal history page. The two types of time fields together constitute the dual-time positioning result of the monitoring data unit within the thermal history page; the dual-clock encapsulation... The write results also maintain a fixed association with the header information; the natural time field directly corresponds to the acquisition time record of the monitoring data unit itself, and the process time field directly corresponds to the page start acquisition time in the header information; the process time field of any monitoring data unit within the same thermal history page can be traced back to the same page start acquisition time reference; when reading a monitoring data unit, the natural time field, process time field, and the header information of the corresponding thermal history page are read simultaneously to determine the actual acquisition time, relative position within the page, and page belonging range of the monitoring data unit, thereby giving the dual-clock encapsulation results a clear field source relationship and page positioning relationship.
[0037] In this embodiment S3, the stage position mapping is a mapping process that determines the order of monitoring data units within the same thermal history page based on the process time field and writes it into the stage position field. This is used to establish the pass-through position for each monitoring data unit within the same thermal history page. The specific method for performing stage position mapping on the monitoring data units within each thermal history page is as follows: For each thermal history page, the process time field of each monitoring data unit within that thermal history page is read, the monitoring data units are sorted in ascending order according to the process time field, stage position values are generated sequentially according to the sorting result, and the stage position values are written into the stage position field of the corresponding monitoring data unit. The stage position value is used to represent the process sequence of the monitoring data unit within its respective thermal history page. For monitoring data units with the same process time field, the same stage position value is assigned and written into the same stage position field.
[0038] In this embodiment S3, the stage position mapping is performed on the basis that the thermal history page has been formed and the dual-clock encapsulation has been completed. It involves determining the process order of monitoring data units within the same thermal history page. The processing object of the stage position mapping is limited to the set of monitoring data units in a single thermal history page. Different thermal history pages do not share the same stage position mapping result. Each thermal history page executes the stage position mapping independently. This ensures that the stage position field only reflects the process sequence relationship of the monitoring data units within their respective thermal history pages. The stage position mapping uses the process time field as the sole sorting criterion. For any thermal history page, the process time fields of all monitoring data units within that page are read first, and then the page is sorted according to the value of the process time field. After sorting, the monitoring data unit at the front corresponds to the one at the back. The stage position value is assigned to the monitoring data unit at the end of the sorted position. The stage position value is assigned to the next later stage position value. Writing the stage position value field does not change the values of the natural time field and the process time field. It only adds position information to the original monitoring data unit to represent the order within the page. The generation of stage position values is carried out page by page within the same thermal history page. When a thermal history page contains only one monitoring data unit, the monitoring data unit directly obtains the first stage position value of the page. When a thermal history page contains multiple monitoring data units, they are first sorted according to the process time field, and then the stage position values are assigned sequentially according to the sorting results. The stage position values form a continuous position sequence within the same thermal history page. The stage position values within different thermal history pages are not related to each other. This makes the stage position value field independent within the page and isolated between pages.
[0039] In this embodiment S3, for monitoring data units with the same process time field, the stage position mapping adopts the same position writing rule; that is, when two or more monitoring data units have the same process time field, it indicates that these monitoring data units are in the same process position in their respective thermal history pages. At this time, the same stage position value is assigned to these monitoring data units, and the same stage position value is written into the stage position field of the corresponding monitoring data unit. After completing the same position writing of monitoring data units with the same process time field, the subsequent monitoring data units with larger process time fields are assigned subsequent stage position values. This ensures that the stage position field reflects the process position within the page rather than the number of records. During the stage position mapping process, the original page affiliation relationship and the object affiliation relationship within the page of the monitoring data units remain unchanged. Any monitoring data unit has already belonged to a determined thermal history page before the stage position mapping is performed, and maintains a one-to-one affiliation relationship with that thermal history page. The stage position mapping is only completed within the page for sorting and... The data is written without migrating the monitoring data units to other thermal history pages, and without modifying the well identifier, well section identifier, operating status identifier, natural time field, and process time field. This makes the stage position field a newly added in-page sequence field on top of the existing page-based organization structure. The stage position field is used to characterize the process sequence of the monitoring data unit within its respective thermal history page. Same stage position fields indicate that the monitoring data units are in the same process position within the same page, while different stage position fields indicate that the monitoring data units are in different process positions within different pages. When the stage position field and natural time field are both retained, the former is used to represent the relative process position, and the latter is used to represent the actual acquisition time. When the stage position field and process time field are both retained, the former is used to represent the in-page sequence number result, and the latter is used to represent the in-page relative time reference. This allows the stage position mapping result to directly participate in the data volume organization after the operating condition field is written, and also provides a basis for stage position range filtering in the target analysis request.
[0040] In this embodiment S3, after the stage position mapping is completed, each monitoring data unit within the thermal history page carries three types of time sequence information: natural time field, process time field, and stage position field. The natural time field maintains the absolute time position of the monitoring data unit in the overall acquisition process, the process time field maintains the relative time position of the monitoring data unit within its respective thermal history page, and the stage position field maintains the sequential position of the monitoring data unit within its respective thermal history page. All three coexist within the same monitoring data unit and do not substitute for each other. This forms a record structure within the thermal history page that simultaneously possesses absolute time, relative time, and sequential position. After the stage position mapping result is written back to the corresponding monitoring data unit, a new set of monitoring data units is not regenerated; instead, the existing monitoring data is retained within the original thermal history page. The data units are aggregated and their fields are expanded. Subsequent writing of the well role field, well section role field, and acquisition method field is performed on the monitoring data units that have already completed the stage position mapping. This ensures a continuous data processing chain between the stage position mapping and the subsequent operation condition restoration analysis volume formation process. The intra-page order relationship formed by the stage position mapping uses the start acquisition time of the thermal history page as the unified intra-page time reference, the sorting result of the process time field as the direct mapping basis, the monitoring data unit as the smallest mapping object, and the stage position field as the final writing result. All monitoring data units within the same thermal history page form a complete intra-page order distribution after the stage position mapping is completed. This order distribution remains unchanged during the subsequent operation condition restoration analysis volume formation and is only read and utilized during the volume organization stage.
[0041] In this embodiment S3, the operating condition restoration analysis volume is a page-based analysis data volume. It is formed by further writing well role, well segment role, and acquisition method fields into monitoring data units within the same thermal history page that have already been written with natural time, process time, and stage position fields. The data is organized according to the process time field order. This volume is used to output an analysis data set carrying operating condition information under a single time series. Each operating condition restoration analysis volume corresponds one-to-one with a thermal history page. The operating condition restoration analysis volume includes all monitoring data units within that thermal history page that have completed writing the well role, well segment role, and acquisition method fields. The operating condition-related fields include stage position, well role, well segment role, and acquisition method fields.
[0042] In this embodiment S3, the operating condition restoration analysis volume is an in-page analysis data volume formed after the stage position mapping of the monitoring data units within the thermal history page has been completed; the object of the operating condition restoration analysis volume is limited to the monitoring data units within the same thermal history page; different thermal history pages form different operating condition restoration analysis volumes; each operating condition restoration analysis volume corresponds one-to-one with a thermal history page; thus, the operating condition restoration analysis volume maintains the same well identifier, well segment identifier, and operating status segment boundary as the thermal history page; the formation process of the operating condition restoration analysis volume includes two continuous processing steps: writing operating condition fields and organizing in-page volumes; the writing of operating condition fields is for the same thermal history. The monitoring data unit within the page, which already has the natural time field, process time field, and stage position field written in it, is executed. The written content includes the well role field, well segment role field, and acquisition method field. The well role field is used to characterize the role of the geothermal well to which the monitoring data unit belongs in the current operation. The well segment role field is used to characterize the segment role of the well segment to which the monitoring data unit belongs in the current page analysis. The acquisition method field is used to characterize the acquisition source or acquisition form of the corresponding record of the monitoring data unit. After all fields are written, the monitoring data unit is transformed from an in-page record that only carries time and location information into an in-page record that also carries operating condition information.
[0043] In this embodiment S3, the writing of the well role field, well segment role field, and acquisition method field is based on the operating context data. For monitoring data units belonging to the same thermal history page, the well role identifier, well segment role identifier, and acquisition method identifier corresponding to the monitoring data unit are read and written into the corresponding well role field, well segment role field, and acquisition method field of the monitoring data unit, respectively. During the writing process, the original well identifier, well segment identifier, natural time field, process time field, and stage position field of the monitoring data unit remain unchanged. When multiple monitoring data units in the same thermal history page correspond to the same well role, the same well segment role, or the same acquisition method, the same field values are written into each monitoring data unit. This ensures that the writing results of the operating condition field correspond one-to-one with each monitoring data unit in the page. The volume organization of the operating condition restoration analysis volume is based on the process time field as the main order. For monitoring data units in the same thermal history page that have completed the writing of the well role field, well segment role field, and acquisition method field, the process time field is used in ascending order. The data is arranged in rows and written to the same page for analysis. When multiple monitoring data units have the same process time field, their corresponding stage position fields are kept consistent, and they are arranged according to the execution order of variable identifiers when organizing the data into volumes. When both the process time field and variable identifier are the same, the existing arrangement order of the monitoring data units within the thermal history page is maintained. This forms a working condition restoration analysis volume with a defined order. The working condition restoration analysis volume contains all monitoring data units within the same thermal history page that have completed the writing of working condition fields. The working condition restoration analysis volume does not delete any monitoring data units that have already been assigned to a page, does not merge monitoring data units across thermal history pages, and does not change the existing page ownership boundaries of the thermal history page. Each monitoring data unit in the working condition restoration analysis volume carries a well identifier, well segment identifier, natural time field, process time field, stage position field, well role field, well segment role field, and acquisition method field. This makes the working condition restoration analysis volume a complete set of in-page analysis data after expanding the working condition fields of all monitoring data units within the page and organizing them in sequence.
[0044] In this embodiment S3, the operating condition-related fields in the operating condition restoration analysis volume include the stage position field, well role field, well segment role field, and acquisition method field. The stage position field is used to characterize the process sequence of the monitoring data unit within its respective thermal history page. The well role field is used to characterize the role information of the geothermal well to which the monitoring data unit belongs in the current operating relationship. The well segment role field is used to characterize the segment information of the well segment to which the monitoring data unit belongs in the analysis within the current page. The acquisition method field is used to characterize the acquisition format information of the corresponding data record of the monitoring data unit. Each operating condition-related field, along with the natural time field and the process time field, is retained in the same monitoring... Within a data unit, any record in the operational condition reconstruction analysis volume simultaneously possesses three types of information: object location, time location, and operational condition location. After the operational condition reconstruction analysis volume is formed, the page ownership relationship of the monitoring data units within the volume remains unchanged, the arrangement order within the volume is determined by the process time field, and the write results of the operational condition fields within the volume remain stable. When the same operational condition reconstruction analysis volume is read, the page ownership boundary of the corresponding thermal history page and the combination of operational condition fields of each monitoring data unit within the volume can be directly obtained. The operational condition reconstruction analysis volume does not directly output the final business judgment result, but serves as the basis for page-based analysis data for subsequent target analysis request execution of volume filtering, inter-volume splicing, and intra-volume rearrangement.
[0045] In this embodiment S3, a one-to-one correspondence is maintained between the operating condition restoration analysis volume and the thermal history page; each thermal history page forms only one corresponding operating condition restoration analysis volume; each operating condition restoration analysis volume only carries the monitoring data unit within one thermal history page; through this one-to-one correspondence, the operating condition restoration analysis volume inherits the well identifier, well segment identifier, and operating status segment boundary of the thermal history page, while adding operating condition-related fields within the volume and completing the sequential organization of the process time field; thus, the operating condition restoration analysis volume possesses both page-type boundary stability and the completeness of operating condition expression within the volume; after the operating condition restoration analysis volume is formed, any monitoring data unit within the volume can be located through the well identifier, well segment identifier, natural time field, process time field, and stage position field, or it can be located through... Well role field, well section role field, and acquisition method field are used for operating condition identification; multiple monitoring data units in the same operating condition restoration analysis volume can form an ordered analysis sequence within the page based on the stage position field and process time field; different operating condition restoration analysis volumes maintain independent volume boundaries and provide standardized input for cross-volume filtering and inter-volume splicing under subsequent target analysis requests; the result of forming the operating condition restoration analysis volume is based on the original monitoring data units and the original thermal history page, by adding relevant operating condition fields and organizing the volume order according to the process time field, forming an in-page analysis data volume for subsequent target analysis dataset construction; thus, thermal history pages, dual clock encapsulation, stage position mapping, and operating condition fields are continuously connected in the same data processing chain.
[0046] In this embodiment S4, the target analysis request is received and parsed as input conditions for subsequent organization and processing of the working condition restoration analysis volume. The target analysis request carries at least a request field for determining the volume screening range. The request fields include well identifier, well segment identifier, operating status identifier, stage position range, and natural time range. When the target analysis request contains multiple request fields, joint matching is performed on the multiple request fields. When the target analysis request contains only some request fields, corresponding matching is performed on the given request fields. This forms a set of volume screening conditions corresponding to the target analysis request. Volume screening is performed on all working condition restoration volumes. The analysis volume performs condition matching processing; specifically, it reads the well identifier, well segment identifier, and operating status identifier of the corresponding thermal history page of each working condition restoration analysis volume, and reads the stage position field and natural time field of the monitoring data unit within the volume; then it compares the reading results with the request fields in the target analysis request; when a working condition restoration analysis volume simultaneously satisfies well identifier matching, well segment identifier matching, and operating status identifier matching, and there are monitoring data units within the volume that fall within the target stage position range and natural time range, the working condition restoration analysis volume is determined as the target working condition restoration analysis volume; thus completing the screening of working condition restoration analysis volumes.
[0047] In this embodiment S4, the volume screening result can be a single operating condition restoration analysis volume or multiple operating condition restoration analysis volumes. When the volume screening result is a single operating condition restoration analysis volume, this operating condition restoration analysis volume is directly used as the processing object for subsequent intra-volume rearrangement. When the volume screening result is multiple operating condition restoration analysis volumes, inter-volume splicing is performed on the multiple operating condition restoration analysis volumes first, and then intra-volume rearrangement is performed on the splicing result. This ensures that volume screening, inter-volume splicing, and intra-volume rearrangement maintain a continuous processing relationship under different screening results. Inter-volume splicing is a volume-level organization process performed between multiple target operating condition restoration analysis volumes. Before inter-volume splicing, the header information of the corresponding thermal history page and the set of monitoring data units within the volume are read from each target operating condition restoration analysis volume. Then, the data is processed according to the well identifier, well section identifier, operating status identifier, natural time field, and stage position field. Establish a splicing order; for multiple working condition restoration analysis volumes with the same well identifier, the same well section identifier, and meeting the target analysis request, the monitoring data units in each volume are sequentially written into the same splicing result according to the preset volume order; thus forming a spliced analysis volume covering multiple thermal history pages; when splicing between volumes, the original field content of each monitoring data unit remains unchanged; the natural time field, process time field, stage position field, well role field, well section role field, and acquisition method field are all written into the splicing result along with the original monitoring data unit; the thermal history page boundary information is kept related through the volume source identifier; monitoring data units that originally belonged to different thermal history pages in different working condition restoration analysis volumes still retain their respective source relationships after splicing; thus, the inter-volume splicing is a cross-volume continuation process completed under the condition of maintaining the integrity of the original fields and the identifiability of the source.
[0048] In this embodiment S4, internal rearrangement is a sequential reorganization process performed within a single target condition restoration analysis volume or splicing analysis volume. Internal rearrangement first reads the well identifier, well segment identifier, natural time field, stage position field, and variable identifier of all monitoring data units; then, it performs internal sorting based on the natural time field as the primary order, the stage position field as the secondary order, and the variable identifier as the secondary order. When the natural time field, stage position field, and variable identifier are all the same, the existing sequential order formed during volume screening or inter-volume splicing of the monitoring data units is maintained; thus forming... The intra-volume arrangement is ordered; the purpose of intra-volume rearrangement is to organize the monitoring data units that meet the target analysis request into a unified sequence that can be directly read; the monitoring data units after intra-volume rearrangement maintain a unified sorting caliber in the same target analysis dataset; monitoring data units under the same well identifier and well section identifier are arranged continuously in time; monitoring data units from different thermal history pages are connected by natural time field and stage position field after splicing; thus, the target analysis dataset retains the original intra-volume operating condition fields and has a unified reading order.
[0049] In this embodiment S4, the target analysis dataset is the data organization result formed after volume selection, inter-volume splicing, and intra-volume rearrangement. The target analysis dataset consists of a set of monitoring data units that meet the target analysis request. Each monitoring data unit in the set retains a well identifier, well segment identifier, natural time field, process time field, stage position field, well role field, well segment role field, acquisition method field, variable identifier, and variable value. The target analysis dataset can correspond to a single working condition restoration analysis volume or to the splicing result of multiple working condition restoration analysis volumes. This makes the target analysis dataset a unified output data set oriented towards the target analysis request. The target analysis request, the target working condition restoration analysis volume, and the target analysis dataset maintain a sequential correspondence. The target analysis request is used to determine the volume selection conditions. The target working condition restoration analysis volume is used to carry volume-level data objects that meet the volume selection conditions. The target analysis dataset is used to carry volumes. The final output result is formed after filtering, inter-volume splicing, and intra-volume rearrangement. When the target operating condition restoration analysis volume is a single operating condition restoration analysis volume, the target analysis dataset directly comes from the intra-volume rearrangement result of that single operating condition restoration analysis volume. When the target operating condition restoration analysis volume consists of multiple operating condition restoration analysis volumes, the target analysis dataset comes from the inter-volume splicing result and intra-volume rearrangement result of multiple operating condition restoration analysis volumes. After the target analysis dataset is formed, it can be directly recorded, stored, and retrieved as the output result of the intelligent analysis method for geothermal monitoring data. The monitoring data units in the target analysis dataset have completed the range constraints according to the target analysis request, the source organization according to the operating condition restoration analysis volume, and the intra-volume arrangement according to a unified order. Therefore, the target analysis dataset can be directly used as the target analysis object by the subsequent reading process without re-performing page partitioning, re-performing dual-clock encapsulation, and re-performing stage position mapping and operating condition field writing.
[0050] Example 2: The present invention proposes an intelligent analysis system for geothermal monitoring data, which is applied to the intelligent analysis method for geothermal monitoring data proposed in Example 1. It includes a memory, a processor, and a computer program stored in the memory and executable on the processor. The processor executes the computer program to implement the intelligent analysis method for geothermal monitoring data in Example 1.
[0051] The embodiments of the present invention have been described in detail above with reference to the accompanying drawings. However, the present invention is not limited thereto. Various changes can be made within the scope of knowledge possessed by those skilled in the art without departing from the spirit of the present invention.
Claims
1. A method for intelligent analysis of geothermal monitoring data, characterized in that, Includes the following steps: S1. Acquire geothermal monitoring data and operational context data, encapsulate the geothermal monitoring data and operational context data in a unified manner, and generate a sequence of monitoring data units sorted by acquisition time; S2. Based on the same well identifier, the same well section identifier, and the acquisition time interval between two adjacent operating status switching times, the monitoring data unit sequence is divided into pages and the data is aggregated within the page to generate a thermal history page. The monitoring data units within the thermal history page are encapsulated with dual clocks and written into the natural time field and the process time field. Among them, the thermal history page is a page-type data structure formed by aggregating monitoring data units with the same well identifier, the same well section identifier, and the same operating state section; dual clock encapsulation refers to the operation of writing two types of time information into the same monitoring data unit at the same time. S3. Based on the thermal history page and operating context data, perform stage position mapping on the monitoring data units in each thermal history page, and write them into the well role field, well section role field and acquisition method field. Then sort the monitoring data units in the same thermal history page according to the process time field to form the operating condition restoration analysis volume. Among them, the operating condition restoration analysis volume refers to the set of in-page analysis data formed by adding relevant fields of operating conditions to the monitoring data units in the same thermal history page; S4. Based on the target analysis request, perform volume filtering on the working condition restoration analysis volume to obtain the target working condition restoration analysis volume. Perform inter-volume splicing and intra-volume rearrangement on the target working condition restoration analysis volume to output the target analysis dataset.
2. The method of claim 1, wherein: In S2, page partitioning and intra-page aggregation are operations that segment and aggregate the monitoring data unit sequence according to the same well identifier, the same well segment identifier, and the acquisition time interval between two adjacent operating state switching times. Specifically, page partitioning uses the switching times of two adjacent operating states as page boundaries and determines the page belonging interval of the monitoring data unit under the constraints of the same well identifier and the same well segment identifier. Intra-page aggregation is to group the monitoring data units within the page belonging interval into the same thermal history page and organize the intra-page monitoring data units according to the acquisition time order.
3. The method of claim 2, wherein: In S2, the thermal history page is a page-based data structure consisting of a header information and a set of monitoring data units within the page. It is used to carry monitoring data units corresponding to the same well identifier, the same well segment identifier, and the same operating status segment. Each thermal history page corresponds one-to-one with each operating status segment. The header information includes at least the well identifier, well segment identifier, operating status identifier, page start acquisition time, and page end acquisition time. The set of monitoring data units within the page includes monitoring data units collected to the corresponding thermal history page.
4. The intelligent analysis method for geothermal monitoring data according to claim 3, characterized in that: In S2, dual-clock encapsulation is a write operation that simultaneously establishes the actual acquisition time location and the process location within the page for monitoring data units assigned to the same thermal history page. This is used to synchronously record the actual acquisition time and the process position within the corresponding thermal history page within the same monitoring data unit. The two types of time information simultaneously written to the same monitoring data unit by dual-clock encapsulation are the natural time field and the process time field. The natural time field is used to characterize the actual acquisition time of the monitoring data unit and its time position within the overall acquisition process; the content written to the natural time field is the acquisition time of the monitoring data unit. The process time field is used to characterize the process position of the monitoring data unit within its corresponding thermal history page and its time relationship within the page relative to the starting position of the corresponding thermal history page; the content written to the process time field is the time difference between the acquisition time of the monitoring data unit and the starting acquisition time of the corresponding thermal history page.
5. The intelligent analysis method for geothermal monitoring data according to claim 4, characterized in that: In step S3, the stage position mapping is a mapping process that determines the order of monitoring data units within the same thermal history page based on the process time field and writes it into the stage position field. This is used to establish the pass-through position for each monitoring data unit within the same thermal history page. The specific method for performing stage position mapping on the monitoring data units within each thermal history page is as follows: For each thermal history page, the process time field of each monitoring data unit within that thermal history page is read, the monitoring data units are sorted in ascending order according to the process time field, stage position values are generated sequentially according to the sorting results, and the stage position values are written into the stage position field of the corresponding monitoring data unit. The stage position value is used to represent the process sequence of the monitoring data unit within its respective thermal history page. For monitoring data units with the same process time field, the same stage position value is assigned and written into the same stage position field.
6. The intelligent analysis method for geothermal monitoring data according to claim 5, characterized in that: In S3, the operational condition restoration analysis volume is a page-based analysis data volume. It is formed by further writing well role, well segment role, and acquisition method fields into monitoring data units within the same thermal history page that have already been written with natural time, process time, and stage position fields. The data is organized according to the process time field order. This volume is used to output an analysis data set carrying operational condition information under a single time series. Each operational condition restoration analysis volume corresponds one-to-one with a thermal history page. The operational condition restoration analysis volume includes all monitoring data units within that thermal history page that have completed the writing of well role, well segment role, and acquisition method fields. The operational condition-related fields include stage position, well role, well segment role, and acquisition method fields.
7. A geothermal monitoring data intelligent analysis system, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: The processor executes a computer program to implement the intelligent analysis method for geothermal monitoring data as described in any one of claims 1-6.