High-fidelity ground temperature field dynamic coupling working method for mountainous city
By acquiring high-fidelity temperature data in mountainous cities and generating temperature change data using a dynamic coupling model of the geothermal field, the problem of inaccurate simulation in existing technologies is solved, and efficient and secure temperature data transmission and management are achieved.
Patent Information
- Application Number
- CN202511726261.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-24
- Publication Date
- 2026-01-23
AI Technical Summary
Existing technologies struggle to achieve high-fidelity dynamic coupling of geothermal fields in mountainous cities, leading to inaccurate temperature data simulations.
By acquiring high-fidelity temperature data, temperature change data is generated using a dynamic coupling model of the geothermal field and transmitted to the geothermal field management center. The data is then processed using the SHA3 digest algorithm and a preset compression method to ensure the efficiency and security of the data.
It achieves high-fidelity transmission and security of geothermal field temperature data in mountainous cities, ensuring the accuracy and integrity of the temperature data.
Smart Images

Figure CN121392011A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to a technical field of data information, and in particular to a high-fidelity dynamic coupling method for geothermal fields in mountainous cities. Background Technology
[0002] Geothermal energy is a renewable energy source with abundant reserves, wide distribution, and is green and clean, playing an important role in the sustainable development of society. Patent application number 2021106639748, entitled "An Experimental System for a Comprehensive Test Model of Geothermal Field and Displacement Field in Deep Geothermal Development," discloses a system including a servo system and a housing. The housing is equipped with a slide rail, on which the servo system is mounted. The housing contains a hot water storage jacket with small holes on its inner wall. A filter screen is installed between the hot water storage jacket and the backfill. The backfill within the housing contains a reinjection well, a production well, a pressure sensor, and a temperature sensor. The temperature data source must be consistent with the actual site conditions to accurately simulate real-world conditions. Summary of the Invention
[0003] This invention aims to at least solve the technical problems existing in the prior art, and in particular, it innovatively proposes a high-fidelity dynamic coupling method for geothermal fields in mountainous cities.
[0004] To achieve the above-mentioned objectives of the present invention, the present invention provides a high-fidelity dynamic coupling method for geothermal fields in mountainous cities, comprising the following steps:
[0005] S1, obtain ~ High-fidelity temperature data corresponding to the time period;
[0006] S2, the time period in step S1 ~ And high-fidelity temperature data is input into the dynamic coupling model of the geothermal field to generate geothermal field temperature change data;
[0007] S3 transmits the temperature change data of the geothermal field to the geothermal field management center of the mountain city.
[0008] In a preferred embodiment of the present invention, the source of the high-fidelity temperature data in step S1 is the temperature data measured by a sensor installed in a mountainous city.
[0009] In a preferred embodiment of the present invention, the dynamic coupling model of the geothermal field in step S2 includes the following steps:
[0010] S21, using the input time period ~ Combine high-fidelity temperature data to create a temperature-time curve;
[0011] S22, obtain the number of pixels in the temperature-time curve, and generate a graph based on the number of pixels in the curve. × Matrix; Initial time × All values in the matrix are 0;
[0012] S24, Determine the pixel points in the temperature-time curve. Change the color × matrix;
[0013] S25, according to the preset sequence × Extracting values from the matrix yields binary numbers;
[0014] S26. Put the data into a WORD document and compress the data into the WORD document using the preset compression method to obtain the geothermal field temperature change data.
[0015] In a preferred embodiment of the present invention, step S24 includes:
[0016] If the pixel in the temperature-time curve graph If it is white, then the first one in the matrix Line number Column values constant;
[0017] If the pixel in the temperature-time curve graph If it is black, then the first one in the matrix Line number Column values Change to 1;
[0018] =1, 2, 3, ... ;
[0019] =1, 2, 3, ... Continue until the iteration is complete.
[0020] In a preferred embodiment of the present invention, step S25 further includes:
[0021] S251 uses the SHA3 digest algorithm to process the temperature-time curve and outputs a 512-bit binary value.
[0022] S252, Judgment Relationship with 512:
[0023] like ≤512, then Enter the next step, at this point It is a 512-bit binary value;
[0024] like >512, then Enter the next step, at this point To add to the end of a 512-bit binary number The same 512-bit binary value;
[0025] S253, for and Calculate digit by digit to obtain ;
[0026] The binary number calculated in step S253;
[0027] The binary number retrieved in step S25;
[0028] It is the binary number after step S252.
[0029] In a preferred embodiment of the present invention, step S253 includes:
[0030] ,
[0031] in, express The first in Bit value;
[0032] express The first in Bit value;
[0033] express The first in Bit value;
[0034] ,
[0035] ,
[0036] .
[0037] In a preferred embodiment of the present invention, step S4 is further included after step S3.
[0038] The Mountain City Geothermal Field Management Center uses a dynamic anti-coupling model of the geothermal field to analyze the received data, including the following steps:
[0039] S41, the received data can be decompressed using a preset compression method to obtain decompressed data, and the data in the decompressed data can be extracted;
[0040] S42, construct an image with a white background;
[0041] S43, Change the colors in the image:
[0042] like Then the pixel The color at that location remains unchanged;
[0043] like Then the pixel The color of the area changed from white to black;
[0044] For the first data string Bit value; ;
[0045] =1, 2, 3, ... ;
[0046] =1, 2, 3, ... The temperature-time curve can be obtained by iterating until the iteration is complete.
[0047] In a preferred embodiment of the present invention, step S41 involves decompressing the received data using a preset compression method to obtain decompressed data, and further includes the following steps:
[0048] S411, If the number of bits in data string 1 is less than or equal to 512 bits, proceed to the next step;
[0049] If the number of bits in data string one is greater than 512, then add to the end of data string two. Two identical data strings; , The number of bits in the data string;
[0050] S412, perform bit-by-bit calculations on the data string one from step S411 and the data string two from step S411 to obtain the data string three; let the data string three be a data string.
[0051] In a preferred embodiment of the present invention, step S412 includes:
[0052] ,
[0053] in, express The first in Bit value;
[0054] express The first in Bit value;
[0055] express The first in Bit value;
[0056] For data strings, use three;
[0057] The data string is the one passed through step S411;
[0058] The second data string is the data string obtained through step S411.
[0059] In summary, by adopting the above technical solution, the present invention can generate geothermal field temperature change data from the collected high-fidelity temperature data using a geothermal field dynamic coupling model for transmission, ensuring the efficiency and security of temperature data.
[0060] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description
[0061] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which:
[0062] Figure 1 This is a schematic flowchart of the present invention. Detailed Implementation
[0063] Embodiments of the present invention are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and should not be construed as limiting the present invention.
[0064] This invention discloses a high-fidelity dynamic coupling method for geothermal fields in mountainous cities, such as... Figure 1 As shown, it includes the following steps:
[0065] S1, obtain ~ High-fidelity temperature data corresponding to the time period; among which... This represents the start time of the time period. This is the end time of the time period; This represents the starting time number within the time period. This is the end number of the time period. < , =1, 2, 3, ... , =1, 2, 3, ... , This is the current time sequence number; the source of the high-fidelity temperature data is the temperature data measured by sensors located in mountainous cities (such as Chongqing).
[0066] S2, the time period in step S1 ~ And high-fidelity temperature data is input into the dynamic coupling model of the geothermal field to generate geothermal field temperature change data;
[0067] S3 transmits the temperature change data of the geothermal field to the geothermal field management center of the mountain city.
[0068] In a preferred embodiment of the present invention, the dynamic coupling model of the geothermal field in step S2 includes the following steps:
[0069] S21, using the input time period ~ Combine high-fidelity temperature data to create a temperature-time curve; specifically:
[0070] S211, using a white background as the canvas, establish a two-dimensional coordinate system with the X-axis representing time and the Y-axis representing temperature, with the center of the canvas as the origin;
[0071] S212, Mark each moment on the X-axis and the temperature at each moment on the Y-axis, then mark the location of the temperature at each moment. , , ... ;in, For a moment Corresponding temperature Location For a moment Corresponding temperature Location For a moment Corresponding temperature Location For a moment Corresponding temperature Location;
[0072] S213, connect the positions in chronological order to form a temperature-time curve; that is... → → →……→ , → means connection.
[0073] S22, obtain the number of pixels in the temperature-time curve, and denote it as... and , This represents the number of vertical pixels in the curve graph. This represents the number of horizontal pixels in the curve graph; it is generated based on the number of pixels in the curve graph. × Matrix; Initial time × All values in the matrix are 0;
[0074] S24, Determine the pixel points in the temperature-time curve. Color:
[0075] If the pixel in the temperature-time curve graph If it is white, then the first one in the matrix Line number Column values constant;
[0076] If the pixel in the temperature-time curve graph If it is black, then the first one in the matrix Line number Column values Change to 1;
[0077] =1, 2, 3, ... ;
[0078] =1, 2, 3, ... The iteration continues until completion; that is, it can be:
[0079] S241, let the iteration line number =1, iteration column number =1;
[0080] S242, Determine the pixel points in the temperature-time curve. Color:
[0081] If the pixel in the temperature-time curve graph If it is white, then the first one in the matrix Line number Column values constant;
[0082] If the pixel in the temperature-time curve graph If it is black, then the first one in the matrix Line number Column values Change to 1;
[0083] S243, = +1;
[0084] S244, judgment and Relationship between them:
[0085] like ≤ Then proceed to step S242;
[0086] like > ,but = +1;
[0087] S245, Judgment and Relationship between them:
[0088] like ≤ Then proceed to step S242;
[0089] like > If the iteration is complete, then the iteration is finished.
[0090] Alternatively, it can be: S241, let the iteration line number =1, iteration column number =1;
[0091] S242, Determine the pixel points in the temperature-time curve. Color:
[0092] If the pixel in the temperature-time curve graph If it is white, then the first one in the matrix Line number Column values constant;
[0093] If the pixel in the temperature-time curve graph If it is black, then the first one in the matrix Line number Column values Change to 1;
[0094] S243, = +1;
[0095] S244, judgment and Relationship between them:
[0096] like ≤ Then proceed to step S242;
[0097] like > ,but = +1;
[0098] S245, Judgment and Relationship between them:
[0099] like ≤ Then proceed to step S242;
[0100] like > If the iteration is complete, then the iteration is finished.
[0101] S25, according to a preset order (e.g., from left to right, from top to bottom) × Extracting the values from the matrix yields binary numbers; binary numbers are values consisting only of 0 and 1.
[0102] S26. Put the data into a WORD document and compress the data into the WORD document using a preset compression method (such as zip) to obtain the geothermal field temperature change data.
[0103] In a preferred embodiment of the present invention, step S25 further includes:
[0104] S251, after processing the temperature-time curve using the SHA3 digest algorithm, outputs a 512-bit binary value:
[0105] ,
[0106] in, To output a 512-bit binary value after processing the temperature-time curve using the SHA3 digest algorithm;
[0107] It uses the SHA3 hash algorithm;
[0108] This is a temperature-time curve.
[0109] S252, Judgment Relationship with 512:
[0110] like ≤512, then Enter the next step, at this point It is a 512-bit binary value;
[0111] like >512, then Enter the next step, at this point To add to the end of a 512-bit binary number To add an identical 512-bit binary number to the end of a 512-bit binary number, for example, to add an identical 512-bit binary number to the end of a 512-bit binary number, would be... Adding two identical 512-bit binary numbers to the end of a 512-bit binary number results in... Adding three identical 512-bit binary numbers to the end of a 512-bit binary number results in... Adding five identical 512-bit binary numbers to the end of a 512-bit binary number results in... ; This represents the number of pixels in the temperature-time curve. = * ; The calculation method is as follows:
[0112] ,
[0113] and These are rounding up and rounding down, respectively. When the value is an integer or a decimal, rounding up adds 1 to the integer part of the value; rounding down returns the integer part of the value.
[0114] S253, for and Calculate digit by digit to obtain :
[0115] ,
[0116] in, express The first in Bit value; =1, 2, 3, ... ;
[0117] express The first in Bit value; =1, 2, 3, ... ;
[0118] express The first in Bit value; =1, 2, 3, ... ;
[0119] ,
[0120] ,
[0121] ,
[0122] The binary number calculated in step S253;
[0123] The binary number retrieved in step S25;
[0124] The binary number after step S252;
[0125] S26, at this time and and number of images × Insert into a Word document; use a carriage return to distinguish them. and and number of images × To split, the part before the first carriage return is... The number of images follows the second carriage return separator. × The space between two carriage returns is .
[0126] In a preferred embodiment of the present invention, step S4 is further included after step S3.
[0127] The Mountain City Geothermal Field Management Center uses a dynamic anti-coupling model of the geothermal field to analyze the received data, including the following steps:
[0128] S41, the received data can be decompressed using a preset compression method (e.g., zip) to obtain the decompressed data; extract the data from the decompressed data; the data includes a data string and the number of images; because:
[0129] When putting data into a Word document, it is done by... and number of images × Insert into a Word document; use a carriage return to distinguish them. and number of images × To split, the part before the carriage return separator is... The number of images follows the carriage return separator. × .
[0130] S42, construct an image with a white background, the image size is ( ). × (image)
[0131] S43, Change the colors in the image:
[0132] like Then the pixel The color at that location remains unchanged;
[0133] like Then the pixel The color of the area changed from white to black;
[0134] For the first data string Bit value; ;
[0135] =1, 2, 3, ... ;
[0136] =1, 2, 3, ... The temperature-time curve can be obtained by iterating until the process is complete; that is, it can be:
[0137] S431, let the iteration line number =1, iteration column number =1;
[0138] S432, if Then the pixel The color at that location remains unchanged;
[0139] like Then the pixel The color of the area changed from white to black;
[0140] S433, = +1;
[0141] S434, judgment and Relationship between them:
[0142] like ≤ Then proceed to step S432;
[0143] like > ,but = +1;
[0144] S435, judgment and Relationship between them:
[0145] like ≤ Then proceed to step S432;
[0146] like > Then the iteration is complete.
[0147] In a preferred embodiment of the present invention, step S41 involves decompressing the received data using a preset compression method (e.g., zip) to obtain decompressed data, and extracting data string one (data string one being the data before the first carriage return) and data string two (data string two being the data between two carriage returns) from the decompressed data; the method further includes the following steps:
[0148] S411, If the number of bits in data string 1 is less than or equal to 512 bits, proceed to the next step;
[0149] If the number of bits in data string one is greater than 512, then add to the end of data string two. Two identical data strings; , The number of bits in the data string;
[0150] S412, perform bit-by-bit calculations on the data string one from step S411 and the data string two from step S411 to obtain data string three:
[0151] ,
[0152] in, express The first in Bit value; =1, 2, 3, ... ;
[0153] express The first in Bit value; =1, 2, 3, ... ;
[0154] express The first in Bit value; =1, 2, 3, ... ;
[0155] ,
[0156] This indicates taking the smaller of the two values;
[0157] This represents the bit-counting function;
[0158] Number of digits;
[0159] For data strings, use three;
[0160] The data string is the one passed through step S411;
[0161] The second data string is the one processed in step S411;
[0162] Let data string three be a data string.
[0163] In a preferred embodiment of the present invention, step S43 further includes the output result of processing the temperature-time curve obtained in step S43 using the SHA3 digest algorithm:
[0164] ,
[0165] in, This is the output result after processing the temperature-time curve obtained in step S43 using the SHA3 digest algorithm;
[0166] It uses the SHA3 hash algorithm;
[0167] The temperature-time curve obtained in step S43;
[0168] like If the data string matches the extracted and decompressed data, then there is no error.
[0169] like If the data string is inconsistent with the extracted and decompressed data, then an error exists.
[0170] The present invention also discloses a computer system, comprising:
[0171] processor;
[0172] Memory used to store processor-executable instructions;
[0173] The processor is configured to implement the high-fidelity geothermal field dynamic coupling method for mountainous cities when executing the executable instructions.
[0174] The present invention also discloses a computer-readable storage medium, comprising:
[0175] A memory on which computer programs are stored;
[0176] A processor is used to execute the program in the memory to implement the high-fidelity geothermal field dynamic coupling method for mountainous cities.
[0177] Although embodiments of the invention have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.
Claims
1. A high-fidelity dynamic coupling method for geothermal fields in mountainous cities, characterized in that, Includes the following steps: S1, obtain ~ High-fidelity temperature data corresponding to the time period; S2, the time period in step S1 ~ And high-fidelity temperature data is input into the dynamic coupling model of the geothermal field to generate geothermal field temperature change data; S3 transmits the temperature change data of the geothermal field to the geothermal field management center of the mountain city.
2. The high-fidelity geothermal field dynamic coupling method for mountainous cities according to claim 1, characterized in that, In step S1, the source of the high-fidelity temperature data is the temperature data measured by sensors installed in the mountainous city.
3. The high-fidelity geothermal field dynamic coupling method for mountainous cities according to claim 1, characterized in that, The dynamic coupling model of the geothermal field in step S2 includes the following steps: S21, using the input time period ~ Combine high-fidelity temperature data to create a temperature-time curve; S22, obtain the number of pixels in the temperature-time curve, and generate a graph based on the number of pixels in the curve. × Matrix; Initial time × All values in the matrix are 0; S24, Determine the pixel points in the temperature-time curve. Change the color × matrix; S25, according to the preset sequence × Extracting the values from the matrix yields a binary number; S26. Put the data into a WORD document and compress the data into the WORD document using the preset compression method to obtain the geothermal field temperature change data.
4. The high-fidelity geothermal field dynamic coupling method for mountainous cities according to claim 3, characterized in that, Step S24 includes: If the pixel in the temperature-time curve is If it is white, then the first one in the matrix Line 1 Column values constant; If the pixel in the temperature-time curve is If it is black, then the first one in the matrix Line 1 Column values Change to 1; =1、2、3、……、 ; =1, 2, 3, ... Continue until the iteration is complete.
5. The high-fidelity geothermal field dynamic coupling method for mountainous cities according to claim 1, characterized in that, Step S25 also includes: S251 uses the SHA3 digest algorithm to process the temperature-time curve and outputs a 512-bit binary value. S252, Judgment Relationship with 512: like ≤512, then Enter the next step, at this point It is a 512-bit binary value; like >512, then Enter the next step, at this point To add to the end of a 512-bit binary number The same 512-bit binary value; S253, for and Calculate digit by digit to obtain ; The binary number calculated in step S253; The binary number retrieved in step S25; It is the binary number after step S252.
6. The high-fidelity geothermal field dynamic coupling method for mountainous cities according to claim 1, characterized in that, Step S253 includes: , in, express The first in Bit value; express The first in Bit value; express The first in Bit value; , , 。 7. The high-fidelity geothermal field dynamic coupling method for mountainous cities according to claim 3, characterized in that, Step S3 is followed by step S4. The Mountain City Geothermal Field Management Center uses a dynamic anti-coupling model of the geothermal field to analyze the received data, including the following steps: S41, the received data can be decompressed using a preset compression method to obtain decompressed data, and the data in the decompressed data can be extracted; S42, construct an image with a white background; S43, Change the colors in the image: like Then the pixel The color at that location remains unchanged; like Then the pixel The color of the area changed from white to black; For the first data string Bit value; ; =1、2、3、……、 ; =1、2、3、……、 ; Once the iteration is complete, the temperature-time curve will be obtained.
8. The high-fidelity geothermal field dynamic coupling method for mountainous cities according to claim 7, characterized in that, Step S41 involves decompressing the received data using a preset compression method to obtain the decompressed data. The steps also include: S411, If the number of bits in data string 1 is less than or equal to 512 bits, proceed to the next step; If the number of bits in data string one is greater than 512, then add to the end of data string two. Two identical data strings; , The number of bits in the data string; S412, perform bit-by-bit calculations on the data string one from step S411 and the data string two from step S411 to obtain the data string three; let the data string three be a data string.
9. The high-fidelity geothermal field dynamic coupling method for mountainous cities according to claim 8, characterized in that, Step S412 includes: , in, express The first in Bit value; express The first in Bit value; express The first in Bit value; For data strings, use three; The data string is the one passed through step S411; The second data string is the data string obtained through step S411.