A remote data transmission control method and system for oil and gas field well drilling
By dividing and distinguishing the well opening data of oil and gas field production data and closing data of oil and gas field production data, and using multiple preset data transmission lines for sub-line transmission, the problem of low data transmission efficiency in oil and gas field well opening control is solved, real-time data transmission and efficient processing are achieved.
Patent Information
- Application Number
- CN202411558374.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-04
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2044-11-04
AI Technical Summary
In the control of oil and gas field well opening, the specific inter-well opening situation of oil and gas fields cannot be effectively and conveniently obtained, resulting in low processing efficiency and large-capacity data transmission may lead to communication congestion.
A remote data transmission control method for well opening in oil and gas fields is proposed. By acquiring and preprocessing the production data of oil and gas fields, the well data and the shutdown data are divided, and the first data and the second data are distinguished according to the total data capacity. Then, multiple preset data transmission lines are used for line transmission, and time-sharing transmission is performed according to the initial transmission time to ensure instant data transmission and effective processing.
The classified transmission of well opening and closing data in oil and gas fields under different working conditions is realized, reducing the chance of congestion in data transmission and improving the processing efficiency of remote control of oil and gas fields by the backend system.
Smart Images

Figure CN119135596B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of network security, and in particular to a method and system for controlling remote transmission of data for drilling wells in oil and gas fields. Background Art
[0002] With the gradual deepening of oil and gas field development, the general output and efficiency of the pumping system will be greatly reduced, and the working conditions of the oil wells have shown a certain degree of decline compared with before. In this case, most oil and gas fields implement an intermittent well system to adapt to production capacity, such as shutting down for several hours in a day and then reopening the well for several hours. Intermittent well control of oil and gas fields usually needs to be analyzed and implemented in combination with relevant data parameters of the oil and gas field site, so it is necessary to obtain the actual data of the oil and gas field site. At present, the collected oil and gas field site data is usually directly transmitted remotely to the background system, but considering that the oil and gas field data may be related to different oil well working conditions, this method has certain limitations. That is to say, for the background system, it is impossible to effectively and conveniently obtain the specific intermittent well situation of the oil and gas field. If it takes extra time to parse the acquired data, the processing efficiency will be greatly reduced. In addition, in some application scenarios, if the total amount of oil and gas field data transmitted in a single time is large, the possibility of communication congestion in data transmission cannot be ruled out. Summary of the invention
[0003] The present invention aims to solve one of the technical problems in the related art at least to a certain extent. To this end, the present invention proposes a data remote transmission control method and system for drilling wells in oil and gas fields.
[0004] In a first aspect, an embodiment of the present invention provides a method for controlling remote transmission of data for drilling wells in oil and gas fields, comprising the following steps:
[0005] Step S1, obtaining production data of the oil and gas field within a preset working time period, and preprocessing the production data of the oil and gas field within the preset working time period to obtain target production data; performing data analysis on the target production data to obtain data analysis results;
[0006] Step S2, judging whether the target production data includes both the well-opening data and the well-closing data according to the data analysis result, if so, executing step S3, otherwise adjusting the preset working time period once and returning to executing step S1, until it is determined according to the data analysis result that the target production data includes both the well-opening data and the well-closing data, wherein the well-opening data is the production data of the oil and gas field in the working time period corresponding to the well-opening state, and the well-closing data is the production data of the oil and gas field in the working time period corresponding to the well-closing state;
[0007] Step S3, respectively obtaining the total data capacity of the well opening data and the well closing data, and determining the size relationship between the total data capacity of the well opening data and the total data capacity of the well closing data and a preset capacity threshold; if it is determined that one of the total data capacity of the well opening data and the total data capacity of the well closing data is greater than the preset capacity threshold and the other is less than the preset capacity threshold, executing step S4;
[0008] Step S4, dividing the first data according to data relevance to obtain multiple groups of first target data to be transmitted, and dividing the second data according to preset data categories to obtain multiple groups of second target data to be transmitted, wherein the first data is the one with a larger total data capacity between the well opening data and the well closing data, and the second data is the one with a smaller total data capacity between the well opening data and the well closing data;
[0009] Step S5, obtaining the data capacity of each group of first target data, determining the expected transmission time corresponding to the first target data for each group of first target data according to the data capacity of the first target data, and selecting one of the preset data transmission lines as the first target transmission line from the multiple candidate preset data transmission lines according to the data capacity and the expected transmission time of the first target data; and determining the second target transmission line corresponding to the second data according to the data capacity of the second data, and determining the initial transmission time corresponding to each group of second target data respectively, wherein the initial transmission time corresponding to different groups of second target data is different, and the second target transmission line is different from any first target transmission line;
[0010] Step S6: at the same preset transmission time, respectively transmit the first target data corresponding to each other through each first target transmission line, and respectively transmit each group of second target data through the second target transmission line in the order of the initial transmission time corresponding to each group of second target data.
[0011] Optionally, in one embodiment of the present invention, the step in step S5, determining the expected transmission duration corresponding to the first target data according to the data capacity of the first target data, comprises the following steps:
[0012] Step S51: Substitute the data capacity of the first target data into the first time simulation transmission formula for calculation to obtain the expected transmission duration corresponding to the first target data, wherein the first time simulation transmission formula is as follows:
[0013] ;
[0014] in, is the expected transmission time corresponding to the first target data, is the data capacity of the first target data, is the preset simulation time conversion factor.
[0015] Optionally, in one embodiment of the present invention, the step in step S5, selecting one of the preset data transmission lines as the first target transmission line from the multiple candidate preset data transmission lines according to the data capacity and expected transmission duration of the first target data, comprises the following steps:
[0016] Step S52: According to the data capacity of the first target data, all preset data transmission lines that meet the first target condition are selected from the multiple candidate preset data transmission lines as the first transition transmission lines, wherein the first target condition is that the data capacity that can be accommodated by the preset data transmission line is not less than the data capacity of the first target data;
[0017] Step S53, obtaining a target transmission duration range corresponding to each first transition transmission line, and selecting all first transition transmission lines whose target transmission duration range includes the expected transmission duration from each first transition transmission line as second transition transmission lines;
[0018] Step S54: Select one of the second transition transmission lines with the longest target transmission duration range from all the second transition transmission lines as the first target transmission line.
[0019] Optionally, in one embodiment of the present invention, the steps in step S5, respectively determining the initial transmission time corresponding to each group of second target data, include the following steps:
[0020] Step S55: for each group of second target data, calculate the ratio of the data capacity of the second target data to the data capacity of the second data, substitute the ratio corresponding to the second target data into the second time simulation transmission formula for calculation, and obtain the initial transmission time corresponding to the second target data, wherein the second time simulation transmission formula is as follows:
[0021] ;
[0022] in, is the initial transmission time corresponding to the second target data, is the preset standard transmission time, is the proportion value corresponding to the second target data, It is the preset percentage threshold.
[0023] Optionally, in one embodiment of the present invention, step S3 further includes the following steps:
[0024] Step S31: if it is determined that the total data capacity of the well-opening data and the total data capacity of the well-shut-in data are both less than or equal to the preset capacity threshold, one of the preset data transmission lines is selected as a third target transmission line from the plurality of preset data transmission lines, and the well-opening data and the well-shut-in data are transmitted through the third target transmission line, wherein the data capacity that can be accommodated by the third target transmission line is not less than the sum of the total data capacity of the well-opening data and the total data capacity of the well-shut-in data;
[0025] or,
[0026] Step S32: If it is determined that the total data capacity of the well-opening data and the total data capacity of the well-shutdown data are both greater than the preset capacity threshold, two of the preset data transmission lines are selected from the multiple preset data transmission lines as the fourth target transmission line and the fifth target transmission line, and the well-opening data is transmitted through the fourth target transmission line, and the well-shutdown data is transmitted through the fifth target transmission line, wherein the data capacity that can be accommodated by the fourth target transmission line is not less than the total data capacity of the well-opening data, and the data capacity that can be accommodated by the fifth target transmission line is not less than the total data capacity of the well-shutdown data.
[0027] Optionally, in one embodiment of the present invention, step S6 includes the following steps:
[0028] Step S61: for each group of first target data, generate corresponding first identification information according to the first target data, and encapsulate the first target data and the first identification information into a corresponding first message at the same time, wherein the first identification information represents the data association corresponding to the first target data;
[0029] Step S62: for each group of second target data, generate corresponding second identification information according to the second target data, and encapsulate the second target data and the second identification information into a corresponding second message at the same time, wherein the second identification information represents a preset data category corresponding to the second target data;
[0030] Step S63: at the same preset transmission time, transmit the first messages corresponding to the first messages through the first target transmission lines respectively, and transmit the second messages through the second target transmission lines respectively in the order of the initial transmission time corresponding to the second messages.
[0031] Optionally, in one embodiment of the present invention, when the second data is well drilling data, the preset data category includes at least one of the following: drilling parameters, oil well operating parameters, oil well productivity parameters, oil well fluid production parameters and oil well liquid level parameters.
[0032] Optionally, in one embodiment of the present invention, when the second data is shut-in data, the preset data category includes at least one of the following: static pressure parameter, shut-in riser pressure parameter, formation pressure parameter and well-killing fluid injection parameter.
[0033] In a second aspect, an embodiment of the present invention provides a data remote transmission control system for drilling wells in oil and gas fields, comprising:
[0034] at least one processor;
[0035] at least one memory for storing at least one program;
[0036] When at least one of the programs is executed by at least one of the processors, the method for controlling remote transmission of data for oil and gas field well drilling as described in the first aspect is implemented.
[0037] In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores a program executable by a processor, and when the program executable by the processor is executed by the processor, it is used to implement the data remote transmission control method for oil and gas field well drilling as described in the first aspect.
[0038] By adopting the above technical solution, compared with the prior art, the beneficial effects of the present invention at least include:
[0039] The collected production data of the oil and gas field is divided into opening well data and closing well data according to the opening well working conditions, and then the first data and the second data in the opening well data and the closing well data are distinguished according to the total data capacity of the opening well data and the closing well data; on this basis, for the first data with a larger total data capacity, the first data is divided into multiple groups of first target data to be transmitted, so that at the same preset transmission time, the first target data corresponding to each of the first target transmission lines are respectively transmitted, that is, the simultaneous and divided line transmission of relatively large capacity data is realized, and for the second data with a smaller total data capacity, the second data is divided into multiple groups of second target data to be transmitted, so that according to the second target data of each group According to the order of the corresponding initial transmission time, each group of second target data is transmitted separately through the second target transmission line, that is, the time-divided and same-line transmission of relatively small-capacity data is realized; it can be seen that the above method is used to realize the real-time transmission of oil and gas field data, which not only realizes the classified transmission of well opening data and well closing data under different working conditions of the oil and gas field, but also can effectively reduce the probability of congestion in oil and gas field data transmission, especially facilitates the background system to directly and conveniently obtain the well opening data and well closing data of the oil and gas field, so that the background system can timely perform intermittent well opening control according to the well opening data and well closing data of the oil and gas field, which is conducive to improving the processing efficiency of the background system for remote control of the oil and gas field. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 This is a flow chart of a method for remote transmission control of data for oil and gas field well drilling provided by an embodiment of the present invention;
[0041] Figure 2 yes Figure 1A partial flow chart of the step S5 in step “selecting one of the preset data transmission lines as the first target transmission line from the plurality of candidate preset data transmission lines according to the data capacity and the expected transmission duration of the first target data”;
[0042] Figure 3 yes Figure 1 Flow chart of step S6 in FIG.
[0043] Figure 4 The present invention is a schematic structural diagram of a remote data transmission control system for oil and gas field well drilling provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0044] like Figure 1 As shown, an embodiment of the present invention provides a method for controlling remote transmission of data for drilling wells in oil and gas fields, which may include but is not limited to steps S1 to S6.
[0045] Step S1, obtaining the production data of the oil and gas field within a preset working time period, and preprocessing the production data of the oil and gas field within the preset working time period to obtain target production data; performing data analysis on the target production data to obtain data analysis results, wherein the specific range of the preset working time period is not limited, and can be set accordingly according to the actual application scenario. Generally speaking, the preset working time period can be set to a current working time period or a future working time period, that is, a planned working time, so as to facilitate the collection of relevant working data under the real-time production conditions of the oil and gas field;
[0046] Step S2, judging whether the target production data includes both the well-opening data and the well-closing data according to the data analysis result, if so, executing step S3, otherwise adjusting the preset working time period once and returning to executing step S1, until it is determined according to the data analysis result that the target production data includes both the well-opening data and the well-closing data, wherein the well-opening data is the production data of the oil and gas field in the working time period corresponding to the well-opening state, and the well-closing data is the production data of the oil and gas field in the working time period corresponding to the well-closing state;
[0047] Step S3, respectively obtaining the total data capacity of the well opening data and the well closing data, and determining the size relationship between the total data capacity of the well opening data and the total data capacity of the well closing data and the preset capacity threshold; if it is determined that one of the total data capacity of the well opening data and the total data capacity of the well closing data is greater than the preset capacity threshold and the other is less than the preset capacity threshold, executing step S4, wherein the specific value of the preset capacity threshold can be set according to different application scenarios, and is not limited here;
[0048] Step S4, dividing the first data according to data relevance to obtain multiple groups of first target data to be transmitted, and dividing the second data according to preset data categories to obtain multiple groups of second target data to be transmitted, wherein the first data is the one with a larger total data capacity between the well opening data and the well closing data, and the second data is the one with a smaller total data capacity between the well opening data and the well closing data, that is, when the first data is the well opening data, the second data is the well closing data, or when the first data is the well closing data, the second data is the well opening data;
[0049] Step S5, obtaining the data capacity of each group of first target data, determining the expected transmission time corresponding to the first target data for each group of first target data according to the data capacity of the first target data, and selecting one of the preset data transmission lines as the first target transmission line from the multiple candidate preset data transmission lines according to the data capacity and the expected transmission time of the first target data; and determining the second target transmission line corresponding to the second data according to the data capacity of the second data, and determining the initial transmission time corresponding to each group of second target data respectively, wherein the initial transmission time corresponding to different groups of second target data is different, and the second target transmission line is different from any first target transmission line. It can be seen that by setting the initial transmission time corresponding to different groups of second target data to be different, the purpose is to achieve time-sharing transmission of different second target data, which can ensure that the transmission of different second target data has a sense of hierarchy, prevent transmission confusion, abnormality, etc., and can also reduce the traffic burden that may be caused by simultaneous transmission to a certain extent;
[0050] Step S6: at the same preset transmission time, respectively transmit the first target data corresponding to each other through each first target transmission line, and respectively transmit each group of second target data through the second target transmission line in the order of the initial transmission time corresponding to each group of second target data, wherein the specific value of the preset transmission time can be determined accordingly according to the actual application scenario, and is not limited here, for example, the preset transmission time is set to be the same as one of the initial transmission times.
[0051] In this step, the collected production data of the oil and gas field is divided into opening well data and closing well data according to the well opening condition, and then the first data and the second data in the opening well data and the closing well data are distinguished according to the total data capacity of the opening well data and the closing well data; on this basis, for the first data with a larger total data capacity, the first data is divided into multiple groups of first target data to be transmitted, so that at the same preset transmission time, the first target data corresponding to each of the first target transmission lines are respectively transmitted, that is, the simultaneous and divided line transmission of relatively large capacity data is realized, and for the second data with a smaller total data capacity, the second data is divided into multiple groups of second target data to be transmitted, so that according to the second data of each group The target data is transmitted in sequence of the initial transmission time corresponding to each other, and each group of second target data is transmitted separately through the second target transmission line, that is, the time-divided and same-line transmission of relatively small-capacity data is realized; it can be seen that the above method is used to realize the real-time transmission of oil and gas field data, which not only realizes the classified transmission of well opening data and well closing data under different working conditions of the oil and gas field, but also can effectively reduce the probability of congestion in oil and gas field data transmission, especially facilitates the background system to directly and conveniently obtain the well opening data and well closing data of the oil and gas field, so that the background system can timely perform intermittent well opening control according to the well opening data and well closing data of the oil and gas field, which is conducive to improving the processing efficiency of the background system for remote control of the oil and gas field.
[0052] In one embodiment, the step in step S1 is to preprocess the production data of the oil and gas field within a preset working time period. There may be many specific ways of preprocessing, such as but not limited to data filtering, data splicing, data cleaning and data arrangement, etc., the purpose of which is to obtain standardized and normalized data so as to improve the data processing accuracy in subsequent steps, wherein data filtering is to eliminate obvious abnormal data or irrelevant data in the production data, data splicing is to splice the production data in a separate list or document for display, so as to display the production data intuitively and conveniently, data cleaning is to discover and correct identifiable errors in the production data, which may specifically include operations such as checking data consistency and processing invalid values and missing values, and data arrangement is to arrange the production data in a preset order to facilitate finding relevant parts of the production data; it should be noted that the above-mentioned various preprocessing methods can be selected accordingly according to the actual scenario, and there is no limitation here.
[0053] In one embodiment, the steps in step S1 may be performed in a variety of ways to perform data analysis on the target production data, such as, but not limited to, identifying the working condition of the target production data, that is, identifying whether the working condition corresponding to the target production data is in an open well state or a closed well state, so as to determine the corresponding open well data and closed well data according to the specific working condition, or classifying the target production data to obtain the data classification results of the target production data, so as to determine the corresponding open well data and closed well data according to the data classification results of the target production data, etc., which is not limited here.
[0054] In one embodiment, the purpose of adjusting the preset working time period once and returning to execute step S1 in step S2 is: by adjusting the range of the preset working time period, in order to adjust the production data within the corresponding preset working time period, the preset working time period is adjusted according to the number of times, that is, each time the preset working time period is adjusted, no matter whether the upper limit value or the lower limit value of the preset working time period is adjusted, or both the upper limit value and the lower limit value are adjusted, it will trigger an action of returning to execute step S1 once; in addition, in step S2, it may also include but is not limited to the following steps: when the number of times of returning to execute step S1 reaches the preset number threshold, the current target production data is recorded and stored, that is, the preset working time period is adjusted. The process is adjusted once and returns to execute step S1 until it is determined according to the data analysis result that the target production data includes both the well-opening data and the well-shut-in data, or when the number of times of returning to execute step S1 reaches a preset number threshold, the current target production data is recorded and stored. By setting this step, it is possible to avoid the process redundancy that is likely to occur if both the well-opening data and the well-shut-in data are not detected. That is, the number of times the preset working time period is adjusted once and the step S1 is returned to execute is limited. If the preset number threshold is reached and it is still not determined that the target production data includes both the well-opening data and the well-shut-in data, the process is stopped and only the current target production data is recorded and stored for related calls when needed.
[0055] In one embodiment, according to the steps in step S4, the first data is divided according to data relevance to obtain multiple groups of first target data to be transmitted, and the second data is divided according to preset data categories to obtain multiple groups of second target data to be transmitted. It can be seen that if it is determined to be the first data and involves line-sharing transmission, then only the internal data relevance needs to be paid attention to in order to perform better line-sharing transmission, and if it is determined to be the second data and involves time-sharing transmission, then only the internal data category differences need to be paid attention to in order to perform better time-sharing transmission.
[0056] It should be noted that data relevance can be determined based on the matching degree of different data under specific working conditions, applicable work scenarios, etc. For example, water content and gas content, water content represents the proportion of water in the produced fluid, and gas content represents the proportion of gas in the produced fluid. If the two have a certain matching degree, then the two can be regarded as related data with data relevance; oil well temperature and oil well fluid pressure, since temperature is related to fluid, and considering the operating conditions under the oil well environment, it can be determined that the oil well temperature and oil well fluid pressure are applicable to the same work scenario, then they can be regarded as related data with data relevance. The two are related data with data correlation; when the second data is well opening data, the preset data category may include but is not limited to at least one of the following: drilling parameters, oil well operating parameters, oil well productivity parameters, oil well fluid production parameters and oil well liquid level parameters; when the second data is shut-in data, the preset data category includes at least one of the following: static pressure parameters, shut-in riser pressure parameters, formation pressure parameters and well-killing fluid injection parameters. The above-mentioned related preset data categories can also be added or deleted by those skilled in the art on this basis, which belongs to the relevant existing technical content in this field and will not be elaborated here.
[0057] In one embodiment of the present invention, step S3 may also include but is not limited to the following steps:
[0058] Step S31: if it is determined that the total data capacity of the well-opening data and the total data capacity of the well-shut-in data are both less than or equal to the preset capacity threshold, one of the preset data transmission lines is selected as a third target transmission line from the plurality of preset data transmission lines, and the well-opening data and the well-shut-in data are transmitted through the third target transmission line, wherein the data capacity that can be accommodated by the third target transmission line is not less than the sum of the total data capacity of the well-opening data and the total data capacity of the well-shut-in data;
[0059] or,
[0060] Step S32: If it is determined that the total data capacity of the well-opening data and the total data capacity of the well-shutdown data are both greater than the preset capacity threshold, two of the preset data transmission lines are selected from the multiple preset data transmission lines as the fourth target transmission line and the fifth target transmission line, and the well-opening data is transmitted through the fourth target transmission line, and the well-shutdown data is transmitted through the fifth target transmission line, wherein the data capacity that can be accommodated by the fourth target transmission line is not less than the total data capacity of the well-opening data, and the data capacity that can be accommodated by the fifth target transmission line is not less than the total data capacity of the well-shutdown data.
[0061] In this step, it is distinguished whether the total data capacity of the well opening data and the total data capacity of the well shut-in data are both less than or equal to the preset capacity threshold or both are greater than the preset capacity threshold, that is, except for the case where it is determined that one of the total data capacity of the well opening data and the total data capacity of the well shut-in data is greater than the preset capacity threshold and the other is less than the preset capacity threshold, the transmission modes in the remaining two cases are set respectively; wherein, if it is determined that the total data capacity of the well opening data and the total data capacity of the well shut-in data are both less than or equal to the preset capacity threshold, it means that the total data capacity of the well opening data and the total data capacity of the well shut-in data are both at a relatively small level, and at this time, a single third target transmission line can be used to transmit the well opening data and the well shut-in data, and it is only necessary to ensure that the data capacity that can be accommodated by the third target transmission line is not less than the sum of the total data capacity of the well opening data and the total data capacity of the well shut-in data, and if it is determined that the total data capacity of the well opening data and the total data capacity of the well shut-in data are both greater than the preset capacity threshold, it means that the total data capacity of the well opening data and the total data capacity of the well shut-in data are both at a relatively large level, and at this time, two preset data transmission lines can be used to transmit the well opening data and the well shut-in data respectively, so as to ensure that the transmission of the well opening data and the well shut-in data each maintains relative stability.
[0062] In one embodiment, multiple preset data transmission lines can be acquired or set accordingly according to specific application scenarios. For example, in some remote areas or areas with underdeveloped communications, the number of preset data transmission lines is set to be relatively small, which is in line with the application of actual scenarios. Conversely, if in areas with stable communications, the number of preset data transmission lines can be set to be relatively more, but the specific number needs to be determined based on actual conditions and is not limited here.
[0063] In one embodiment of the present invention, the step in step S5, determining the expected transmission duration corresponding to the first target data according to the data capacity of the first target data, may include but is not limited to the following steps:
[0064] Step S51: Substitute the data capacity of the first target data into the first time simulation transmission formula for calculation to obtain the expected transmission duration corresponding to the first target data, wherein the first time simulation transmission formula is as follows:
[0065] ;
[0066] in, is the expected transmission time corresponding to the first target data, is the data capacity of the first target data, is the preset simulation time conversion factor.
[0067] It should be noted that The specific value of can be set according to different actual application scenarios. For example, The specific value of is set between 0 and 1, thus forming Two prediction reference items , then add the two prediction reference items, and finally subtract the value associated with The error term , you can get the expected transmission time corresponding to the final first target data .
[0068] like Figure 2 As shown, in one embodiment of the present invention, the steps in step S5, according to the data capacity and expected transmission duration of the first target data, select one of the preset data transmission lines from the multiple candidate preset data transmission lines as the first target transmission line, which may include but is not limited to the following steps:
[0069] Step S52: According to the data capacity of the first target data, all preset data transmission lines that meet the first target condition are selected from the multiple candidate preset data transmission lines as the first transition transmission lines, wherein the first target condition is that the data capacity that can be accommodated by the preset data transmission line is not less than the data capacity of the first target data;
[0070] Step S53, obtaining a target transmission duration range corresponding to each first transition transmission line, and selecting all first transition transmission lines whose target transmission duration range includes the expected transmission duration from each first transition transmission line as second transition transmission lines;
[0071] Step S54: Select one of the second transition transmission lines with the longest target transmission duration range from all the second transition transmission lines as the first target transmission line.
[0072] In this step, firstly, according to the data capacity of the first target data, it is determined that the first target condition is that the data capacity that can be accommodated by the preset data transmission line is not less than the data capacity of the first target data. On this basis, all preset data transmission lines that meet the first target condition are selected from the multiple alternative preset data transmission lines as the first transition transmission line, and the first transition transmission line reflects the differentiated impact of the data capacity; further, all first transition transmission lines whose target transmission time range includes the expected transmission time are selected from the first transition transmission lines as the second transition transmission lines, and the second transition transmission line reflects the differentiated impact of the transmission time; further, considering the transmission stability and fault tolerance, one of the second transition transmission lines with the longest target transmission time range is selected as the first target transmission line, and the first target transmission line is the transmission line that best matches the first target data.
[0073] In one embodiment, the target transmission duration range corresponding to each first transition transmission line can be obtained in advance. For example, when configuring the corresponding preset data transmission line, the target transmission duration range corresponding to each preset data transmission line is determined respectively through the relevant configuration parameters, adaptation scenarios, etc. of each preset data transmission line. This part of the content is well known to those skilled in the art and is not elaborated here. Any target transmission duration range has a transmission duration upper limit threshold and a transmission duration lower limit threshold. By calculating the difference between the transmission duration upper limit threshold and the transmission duration lower limit threshold, the duration length corresponding to the target transmission duration range can be compared, thereby determining the first target transmission line.
[0074] In one embodiment of the present invention, the steps in step S5, respectively determining the initial transmission time corresponding to each group of second target data, include the following steps:
[0075] Step S55: for each group of second target data, calculate the ratio of the data capacity of the second target data to the data capacity of the second data, substitute the ratio corresponding to the second target data into the second time simulation transmission formula for calculation, and obtain the initial transmission time corresponding to the second target data, wherein the second time simulation transmission formula is as follows:
[0076] ;
[0077] in, is the initial transmission time corresponding to the second target data, is the preset standard transmission time, is the proportion value corresponding to the second target data, It is the preset percentage threshold.
[0078] In this step, the ratio of the data capacity of the second target data to the data capacity of the second data is calculated. , the proportion of each second target data in the second data can be determined respectively. If the proportion value corresponding to a second target data is large, it means that the transmission difficulty of the second target data under the same circumstances will be relatively greater. Therefore, the corresponding initial transmission time can be set earlier to avoid the problem of insufficient transmission time. At the same time, sufficient buffer time is reserved for the transmission of the second target data to handle emergencies during the transmission process. Conversely, the initial transmission time corresponding to the second target data can be set later. It can be seen that the proportion value corresponding to the second target data is large or small. Implementation, ultimately based on the preset standard transmission time and related to , The initial transmission time corresponding to the second target data can be obtained by adding .
[0079] It should be noted that the specific values of the standard transmission time and the preset proportion threshold need to be determined accordingly according to the actual application scenario and are not restricted here.
[0080] like Figure 3 As shown, in one embodiment of the present invention, step S6 may include but is not limited to the following steps:
[0081] Step S61: for each group of first target data, generate corresponding first identification information according to the first target data, and encapsulate the first target data and the first identification information into a corresponding first message at the same time, wherein the first identification information represents the data association corresponding to the first target data;
[0082] Step S62: for each group of second target data, generate corresponding second identification information according to the second target data, and encapsulate the second target data and the second identification information into a corresponding second message at the same time, wherein the second identification information represents a preset data category corresponding to the second target data;
[0083] Step S63: at the same preset transmission time, transmit the first messages corresponding to the first messages through the first target transmission lines respectively, and transmit the second messages through the second target transmission lines respectively in the order of the initial transmission time corresponding to the second messages.
[0084] In this step, no matter it is the first target data or the second target data, the corresponding target data is encapsulated through a message, and then the target data is transmitted through the message, which can improve the transmission stability of the target data and prevent data loss; and, the encapsulated message also carries corresponding identification information, so that when the background system receives the target data in the message, it can determine the data category information corresponding to the target data through the corresponding identification information, that is, determine whether it is the first target data or the second target data, wherein the first identification information represents the data association corresponding to the first target data, and the second identification information represents the preset data category corresponding to the second target data. It can be seen that the first identification information and the second identification information can be used to accurately and reliably confirm the data category information of the target data.
[0085] Figure 4 FIG. 1 is a schematic diagram of a data remote transmission control system 1000 for drilling wells in oil and gas fields provided by an embodiment of the present invention. Figure 4 As shown, the data remote transmission control system 1000 for drilling wells in oil and gas fields includes a memory 1100 and a processor 1200. The number of the memory 1100 and the processor 1200 can be one or more. Figure 4In the embodiment, a memory 1100 and a processor 1200 are taken as an example; the memory 1100 and the processor 1200 in the device may be connected via a bus or other means. Figure 4 The example of connecting through bus is taken in the following.
[0086] The memory 1100, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the data remote transmission control method for oil and gas field well drilling provided by any embodiment of the present invention. The processor 1200 implements the above-mentioned data remote transmission control method for oil and gas field well drilling by running the software programs, instructions and modules stored in the memory 1100.
[0087] The memory 1100 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function. In addition, the memory 1100 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 1100 may further include a memory remotely arranged relative to the processor 1200, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0088] An embodiment of the present invention further provides a computer-readable storage medium storing computer-executable instructions for executing the remote transmission control method for oil and gas field well drilling provided by any embodiment of the present invention.
[0089] An embodiment of the present invention further provides a computer program product, including a computer program or computer instructions, wherein the computer program or computer instructions are stored in a computer-readable storage medium, and a processor of a computer device reads the computer program or computer instructions from the computer-readable storage medium, and the processor executes the computer program or computer instructions, so that the computer device executes the remote transmission control method for oil and gas field well drilling provided in any embodiment of the present invention.
[0090] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0091] In hardware implementation, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or transient medium). As is well known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0092] The terms "component", "module", "system", etc. used in this specification are used to represent computer-related entities, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component can be, but is not limited to, a process running on a processor, a processor, an object, an executable file, an execution thread, a program, or a computer. By way of illustration, both applications running on a computing device and a computing device can be components. One or more components may reside in a process or an execution thread, and a component may be located on a computer or distributed between two or more computers. In addition, these components may be executed from various computer-readable media having various data structures stored thereon. Components may communicate, for example, through local or remote processes based on signals having one or more data packets (e.g., data from two components interacting with another component between a local system, a distributed system, or a network, such as the Internet interacting with other systems through signals).
Claims
1. A remote data transmission control method for oil and gas field well drilling, characterized in that: The steps include: Step S1, obtaining production data of the oil and gas field within a preset working time period, and preprocessing the production data of the oil and gas field within the preset working time period to obtain target production data; Perform data analysis on target production data to obtain data analysis results; Step S2, judging whether the target production data includes both the well-opening data and the well-closing data according to the data analysis result, if so, executing step S3, otherwise adjusting the preset working time period once and returning to executing step S1, until it is determined according to the data analysis result that the target production data includes both the well-opening data and the well-closing data, wherein the well-opening data is the production data of the oil and gas field in the working time period corresponding to the well-opening state, and the well-closing data is the production data of the oil and gas field in the working time period corresponding to the well-closing state; Step S3, respectively obtaining the total data capacity of the well opening data and the well closing data, and determining the size relationship between the total data capacity of the well opening data and the total data capacity of the well closing data and a preset capacity threshold; if it is determined that one of the total data capacity of the well opening data and the total data capacity of the well closing data is greater than the preset capacity threshold and the other is less than the preset capacity threshold, executing step S4; Step S4, dividing the first data according to data relevance to obtain multiple groups of first target data to be transmitted, and dividing the second data according to preset data categories to obtain multiple groups of second target data to be transmitted, wherein the first data is the one with a larger total data capacity between the well opening data and the well closing data, and the second data is the one with a smaller total data capacity between the well opening data and the well closing data; Step S5, obtaining the data capacity of each group of first target data, determining the expected transmission time corresponding to the first target data for each group of first target data according to the data capacity of the first target data, and selecting one of the preset data transmission lines as the first target transmission line from the multiple candidate preset data transmission lines according to the data capacity and the expected transmission time of the first target data; and determining the second target transmission line corresponding to the second data according to the data capacity of the second data, and determining the initial transmission time corresponding to each group of second target data respectively, wherein the initial transmission time corresponding to different groups of second target data is different, and the second target transmission line is different from any first target transmission line; Step S6, at the same preset transmission time, respectively transmitting the first target data corresponding to each of the first target transmission lines, and respectively transmitting each group of second target data through the second target transmission line in the order of the initial transmission time corresponding to each group of second target data; Wherein, the step S6 comprises the following steps: Step S61: for each group of first target data, generate corresponding first identification information according to the first target data, and encapsulate the first target data and the first identification information into a corresponding first message at the same time, wherein the first identification information represents the data association corresponding to the first target data; Step S62: for each group of second target data, generate corresponding second identification information according to the second target data, and encapsulate the second target data and the second identification information into a corresponding second message at the same time, wherein the second identification information represents a preset data category corresponding to the second target data; Step S63: at the same preset transmission time, transmit the first messages corresponding to the first messages through the first target transmission lines respectively, and transmit the second messages through the second target transmission lines respectively in the order of the initial transmission time corresponding to the second messages.
2. According to the remote data transmission control method of claim 1, the step in step S5, according to the data capacity and expected transmission duration of the first target data, selects one of the preset data transmission lines as the first target transmission line from the multiple preset data transmission lines as the alternative, comprises the following steps: Step S52: According to the data capacity of the first target data, all preset data transmission lines that meet the first target condition are selected from the multiple candidate preset data transmission lines as the first transition transmission lines, wherein: The first target condition is that the data capacity of the preset data transmission line is not less than the data capacity of the first target data; Step S53, obtaining a target transmission duration range corresponding to each first transition transmission line, and selecting all first transition transmission lines whose target transmission duration range includes the expected transmission duration from each first transition transmission line as second transition transmission lines; Step S54: Select one of the second transition transmission lines with the longest target transmission duration range from all the second transition transmission lines as the first target transmission line.
3. The data remote transmission control method according to claim 1, characterized in that: The steps in step S5, respectively determining the initial transmission time corresponding to each group of second target data, include the following steps: Step S55: for each group of second target data, calculate the ratio of the data capacity of the second target data to the data capacity of the second data, substitute the ratio corresponding to the second target data into the second time simulation transmission formula for calculation, and obtain the initial transmission time corresponding to the second target data, wherein the second time simulation transmission formula is as follows: Among them, T2 is the initial transmission time corresponding to the second target data, T0 is the preset standard transmission time, β is the proportion value corresponding to the second target data, and β0 is the preset proportion threshold.
4. The data remote transmission control method according to claim 1, characterized in that: The step S3 also includes the following steps: Step S31: if it is determined that the total data capacity of the well-opening data and the total data capacity of the well-shut-in data are both less than or equal to the preset capacity threshold, one of the preset data transmission lines is selected as a third target transmission line from the plurality of preset data transmission lines, and the well-opening data and the well-shut-in data are transmitted through the third target transmission line, wherein the data capacity that can be accommodated by the third target transmission line is not less than the sum of the total data capacity of the well-opening data and the total data capacity of the well-shut-in data; or, Step S32: If it is determined that the total data capacity of the well-opening data and the total data capacity of the well-shutdown data are both greater than the preset capacity threshold, two of the preset data transmission lines are selected from the multiple preset data transmission lines as the fourth target transmission line and the fifth target transmission line, and the well-opening data is transmitted through the fourth target transmission line, and the well-shutdown data is transmitted through the fifth target transmission line, wherein the data capacity that can be accommodated by the fourth target transmission line is not less than the total data capacity of the well-opening data, and the data capacity that can be accommodated by the fifth target transmission line is not less than the total data capacity of the well-shutdown data.
5. The data remote transmission control method according to claim 1, characterized in that: When the second data is well drilling data, the preset data category includes at least one of the following: drilling parameters, oil well operating parameters, oil well productivity parameters, oil well fluid production parameters and oil well liquid level parameters.
6. The data remote transmission control method according to claim 1, characterized in that: When the second data is shut-in data, the preset data category includes at least one of the following: static pressure parameter, shut-in riser pressure parameter, formation pressure parameter and well-killing fluid injection parameter.
7. A remote data transmission control system for oil and gas field well drilling, characterized in that: include: at least one processor; at least one memory for storing at least one program; When at least one of the programs is executed by at least one of the processors, the method for controlling remote transmission of data for oil and gas field well drilling as described in any one of claims 1 to 6 is implemented.
8. A computer-readable storage medium, characterized in that: A program executable by a processor is stored therein, and when the program executable by the processor is executed by the processor, it is used to implement the data remote transmission control method for oil and gas field well drilling as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Data transmission method and device, computer equipment and readable storage medium
CN113824634A
Controlling production efficiency of intelligent oil fields
US20240068324A1