Oil field inspection method and device
By filtering and preprocessing the source data of oilfield equipment, and obtaining the alarm threshold range for comparison, automatic inspection of oilfield equipment is realized, which solves the problems of low inspection efficiency and false detection and missed detection in the existing technology, and improves the efficiency of inspection. Inspection efficiency and accuracy.
Patent Information
- Application Number
- CN202310263691.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-10
- Publication Date
- 2024-09-10
AI Technical Summary
In the existing technology, the inspection efficiency of oilfield joint station equipment is low, resulting in low efficiency of manual inspection and prone to problems of missed inspections and false inspections.
By filtering the source data of oilfield equipment, performing data preprocessing based on preset time granularity and rules, obtaining the alarm threshold range of each equipment, and performing data comparison, realizing automated inspection of oilfield equipment.
It improves the efficiency of oilfield equipment inspections, reduces missed inspections and misdetections during manual inspections, and enables rapid and accurate inspections of oilfield equipment.
Smart Images

Figure CN118627769A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to an oilfield inspection method and device. Background Art
[0002] The oilfield joint station is the hub for crude oil extraction, processing and output. The oilfield joint station is equipped with production systems such as oil transportation, dehydration, sewage treatment, water injection, testing, power transformation, boilers, etc. Each production system is composed of various equipment, and each equipment is equipped with its own instrument to display the operating status of the corresponding equipment. The oilfield joint station has a large number of equipment and a variety of instruments. In order to ensure the normal operation of the oilfield joint station, it is necessary to conduct regular inspections of the equipment.
[0003] In the prior art, checking whether oilfield equipment has a fault requires manual inspection. The inspectors observe the equipment instrument data to determine whether the equipment has a fault. For example, the inspectors will check the oil production of the oil production equipment every day. If the oil production is too low, there may be a pipe leak or other faults. In this case, the maintenance personnel will be informed to conduct further inspections of the equipment. Due to the large number of equipment and the variety of instruments at the oilfield joint station, and the limited manpower for inspection, the efficiency of manual equipment inspection is low. How to improve the efficiency of oilfield equipment inspection is a problem that technicians in this field need to solve. Summary of the invention
[0004] In view of the above problems, the present invention proposes an oilfield inspection method and device, the main purpose of which is to improve the inspection efficiency of the joint oilfield station.
[0005] In order to achieve the above object, the present invention mainly provides the following technical solutions:
[0006] In a first aspect, the present invention provides an oilfield inspection method, comprising:
[0007] Filter the target data from the source data of the oil field based on the preset time granularity;
[0008] Preprocessing the target data using preset rules to obtain data to be analyzed;
[0009] Based on the identification of the oilfield equipment in the data to be analyzed, obtaining an alarm threshold range corresponding to the identification;
[0010] The data to be analyzed is compared with the alarm threshold range to implement inspection of the oil field.
[0011] In a second aspect, the present invention provides an oilfield inspection device, the device comprising:
[0012] A screening unit, used for screening target data from source data of the oil field based on a preset time granularity;
[0013] A data processing unit, used to pre-process the target data using preset rules to obtain data to be analyzed;
[0014] An acquisition unit, configured to acquire, based on an identification of the oilfield equipment in the data to be analyzed, an alarm threshold range corresponding to the identification;
[0015] A comparison unit is used to compare the data to be analyzed with the alarm threshold range to implement inspection of the oil field.
[0016] On the other hand, the present invention further provides a processor, which is used to run a program, wherein the program executes the oilfield inspection method of the first aspect when running.
[0017] On the other hand, the present invention further provides a storage medium, which is used to store a computer program, wherein when the computer program is running, it controls the device where the storage medium is located to execute the oilfield inspection method of the first aspect mentioned above.
[0018] By means of the above technical scheme, the present application provides an oilfield inspection method and device, which can efficiently inspect all oilfield equipment of the oilfield joint station. The present application selects target data from the source data according to the time granularity corresponding to the data generated by each oilfield equipment, and uses various preset rules to clean the target data from multiple angles and in all directions to obtain the data to be analyzed that can be directly used for analysis. Then, based on the oilfield equipment identification, the alarm threshold range of each oilfield equipment is obtained, and the alarm threshold range is compared with the data to be analyzed that carries the same oilfield equipment identification to realize the investigation of abnormal instrument data of the oilfield equipment, thereby realizing the inspection of the entire oilfield joint station. The present application greatly improves the inspection efficiency by batch processing and analysis of the instrument data of all oilfield equipment, and also avoids false detection and missed detection caused by manual inspection.
[0019] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0021] Figure 1A flow chart of an oilfield inspection method proposed by an embodiment of the present invention is shown;
[0022] Figure 2 A flow chart of another oilfield inspection method proposed by an embodiment of the present invention is shown;
[0023] Figure 3 A schematic structural diagram of an oilfield inspection device proposed in an embodiment of the present invention is shown;
[0024] Figure 4 A schematic structural diagram of another oilfield inspection device proposed in an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0025] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.
[0026] The oilfield joint station is equipped with various production systems such as oil transportation, dehydration, sewage treatment, water injection, testing, power transformation, boilers, etc., which can achieve the purpose of dehydration, desalination, desulfurization of crude oil, dehydration and deoiling of natural gas, and deoiling of sewage, while realizing the recovery of sewage and light hydrocarbons, as well as the external transportation of oil. Each production system of the oilfield joint station has a variety of oilfield equipment. Therefore, the number of oilfield equipment in the oilfield joint station is huge and varied. In order to ensure the normal operation of the oilfield joint station, all oilfield equipment will be inspected regularly. At present, the inspection of oilfield equipment is realized by manual inspection. Specifically, the inspection personnel will regularly check and record the instrument data of each oilfield equipment. If the data is abnormal, the maintenance personnel will be informed to detect the oilfield equipment to determine whether the oilfield equipment has a fault, so as to facilitate timely maintenance. However, due to the large number of oilfield equipment in the oilfield joint station and the limited manpower for inspection, the manual inspection of the oilfield is inefficient. In addition, manual inspection will inevitably lead to missed inspections and false inspections.
[0027] To this end, the embodiment of the present application provides an oilfield inspection method, which collects instrument data of all oilfield equipment in the oilfield joint station, predefines the time granularity of the data generated by each instrument, and screens the data based on the predefine time granularity. For example, if it is specified that the real-time temperature of the boiler is inspected, all the real-time collected boiler temperature data will be retained and not screened out. For another example, if it is specified that the daily cumulative oil production of the oil production equipment is inspected, the collected instrument data of the oil production equipment will be used to perform difference calculation to obtain the total oil production of the day. Since each instrument data will carry the corresponding oilfield equipment identification, after the screened data is preprocessed for data sorting, the oilfield equipment identification will be used to compare each data with its corresponding alarm threshold range. When the value of the data, that is, the instrument data is within the alarm threshold range, it is considered that the corresponding oilfield equipment is in normal operation. When the value of the data exceeds the alarm threshold range, it is considered that the corresponding oilfield equipment may have a fault, and the maintenance personnel will be prompted to perform on-site detection, thereby realizing the inspection of all oilfield equipment. The present application achieves rapid inspection of oil fields by acquiring data from all oil field equipment and instruments in batches, processing the data in batches, and comparing each piece of data with the corresponding alarm threshold range, thereby improving the inspection efficiency of oil fields and eliminating missed inspections and false inspections caused by human factors. The specific implementation steps of the present application embodiment are as follows: Figure 1 As shown, including:
[0028] 101. Target data is obtained by filtering from source data of the oil field based on a preset time granularity.
[0029] The preset time granularity is the time period corresponding to the data generated by each oilfield equipment. The time granularity can be real-time, daily, monthly, quarterly, etc. That is, some oilfield equipment needs to filter out daily data, some oilfield equipment needs to filter out quarterly data, etc. The source data is the instrument data of all oilfield equipment in the oilfield joint station.
[0030] Normally, the collected instrument data is real-time data, but the preset time granularity corresponding to the data generated by some oilfield equipment is not real-time. In this case, during the screening process, the real-time data of the oilfield equipment will be used to calculate the data corresponding to the preset time granularity. It should be noted that due to the variety of equipment in the oilfield joint station, some equipment can directly output data such as daily or monthly reports. The embodiment of the present application can also directly obtain the data related to the daily report as the source data, so as to save the calculation process and directly obtain the data of the preset time granularity.
[0031] Exemplarily, according to business requirements, the screening rules are set to specify the time granularity corresponding to the data generated by each oilfield equipment, and the instrument data of all oilfield equipment in the oilfield joint station are obtained to obtain the source data. Each source data will carry an oilfield equipment identifier, so that the oilfield equipment identifier can be used to find the time granularity corresponding to the identifier in the screening rules. After obtaining the source data, the data engine is used to filter the data that meets the conditions. Specifically, if the time granularity corresponding to the data generated by the oilfield equipment is real-time, all the data generated by the oilfield equipment is retained. If the time granularity corresponding to the data generated by the oilfield equipment is daily, all the data generated by the oilfield equipment on that day are averaged to obtain the target data of the oilfield equipment. In addition, in the process of filtering using the data engine, remarks can also be added to each filtered data, and the remarks are the reasons for filtering the data. For example, the reason is the average value or difference, etc.
[0032] Exemplarily, filtering rules are set according to data processing performance, and the oilfield equipment that needs to be inspected in the oilfield joint station and the time granularity corresponding to the data generated by this part of the oilfield equipment are specified. The instrument data of all oilfield equipment in the oilfield joint station is obtained to obtain the source data, and the data engine is used to filter the source data to obtain the target data of the oilfield equipment that needs to be inspected.
[0033] 102. Preprocess the target data using preset rules to obtain the data to be analyzed.
[0034] The data to be analyzed is the data that can be directly used for analysis after the target data is cleaned.
[0035] In this step, after filtering the source data by time granularity to obtain the target data, it is necessary to clean the data and pre-process the data in order to obtain accurate data that can be directly used for analysis.
[0036] In the embodiment of the present application, the preset rules for preprocessing the target data may include: null value processing, standardizing data format, splitting data, verifying data correctness, data replacement, etc. Specifically, null value processing may be to capture the fields with null values in the target data, and replace the field values of the fields with the same field values; standardizing data format may implement the constraint definition of the field format, and the loading format may be customized for the time, numerical value, character and other data in the target data; splitting data may decompose the specified fields according to business needs, for example, a field of a certain target data is a unit code, and the field value is 0123123123-2874, and the preset rules specify that the target data needs to be split, and the field may be split into oilfield station 0123123123 and oilfield operation area 2874 according to the reverse reasoning of the coding logic; verifying data correctness may use the Lookup function for data verification; data replacement may realize the replacement of invalid data and missing data, and the Lookup function may be used to find the missing data, and the Lookup function may be used to implement subqueries, and the missing fields obtained by other means may be returned to achieve field integrity.
[0037] 103. Based on the identification of the oilfield equipment in the data to be analyzed, obtain an alarm threshold range corresponding to the identification.
[0038] In this step, since each source data carries the equipment identification of the oilfield equipment that generated the data, the target data filtered from the source data also carries the identification of the corresponding oilfield equipment. This step obtains the alarm threshold range of the oilfield equipment based on the identification of the oilfield equipment. The threshold range can be a pre-stored fixed value or a dynamic value obtained based on the historical data of the oilfield equipment. For example, when obtaining the alarm threshold range of the oilfield equipment, the most recent several historical data are found based on the identification of the oilfield equipment, and the average value is calculated, and the alarm threshold range of the oilfield equipment is determined by a preset multiple of the average value.
[0039] 104. Compare the data to be analyzed with the alarm threshold range.
[0040] In this step, the data to be analyzed is compared with its corresponding alarm threshold range. If the data to be analyzed is within the alarm threshold range, it means that the oilfield equipment that generated the analysis data is currently operating normally. If the data to be analyzed exceeds the alarm threshold range, it means that the oilfield equipment that generated the analysis data may have a fault. An alarm message can be generated to prompt maintenance personnel to test the oilfield equipment to achieve inspection of the oilfield.
[0041] The embodiment of the present application obtains the instrument data of all oilfield equipment in batches, filters the data that needs to be inspected for each oilfield equipment according to a preset time granularity, cleans the data to facilitate data analysis to improve data accuracy and consistency, and implements oilfield inspection by comparing the alarm threshold range of the oilfield equipment. The embodiment of the present application achieves the purpose of large-scale automated inspection of oilfields and accurately and comprehensively inspects the oilfield equipment of the oilfield joint station.
[0042] In order to explain the oilfield inspection method proposed by the present invention in more detail, the present application proposes another embodiment of the oilfield inspection method. The specific implementation steps of the embodiment of the present invention are as follows: Figure 2 As shown, including:
[0043] 201. Based on the time granularity corresponding to the data screening of each oilfield equipment, pre-screening data is screened from the source data.
[0044] This step is the same as Figure 1 Step 101 of the illustrated embodiment is similar and the specific details are not repeated here.
[0045] 202. Filter and obtain target data from the pre-filtered data according to the specified area and / or device type.
[0046] The embodiment of the present application can not only inspect all oilfield equipment in the oilfield joint station, but also inspect oilfield equipment in a specified area or a specified equipment type. In the screening process, after pre-screening based on time granularity, a specified part of the oilfield equipment in all oilfield equipment is further screened out. The embodiment of the present application can screen out some oilfield equipment from all oilfield equipment according to actual business needs and inspect the part of the oilfield equipment. The embodiment of the present application realizes the inspection of the specified oilfield equipment.
[0047] 203. Preprocess the target data using preset rules to obtain data to be analyzed.
[0048] In order to facilitate batch analysis of instrument data, the target data needs to be preprocessed.
[0049] In one achievable manner, preprocessing the target data may be specifically implemented by the following steps:
[0050] Step 1: Unify the data format of the target data.
[0051] The data format is the display method of each field of the target data. Each target data contains multiple fields, which are used to record attribute information such as oilfield equipment identification, collection time, and location. The display method is equivalent to the format of data loading, that is, the format presented on the display.
[0052] There are many types of oilfield equipment in the oilfield joint station, and different types of oilfield equipment are equipped with different instruments. Usually, the data formats of the instrument data will be different. For example, the unit of some instrument data is Kg, and some is kilograms. Therefore, it is necessary to pre-process the target data in a unified data format. Only when the data format is unified can the instrument data be analyzed in batches. In the embodiment of the present application, the preset rules define respective standard formats for different fields, and the data format of each field of the target data is updated to the standard format according to the preset rules.
[0053] Step 2: Find the fields that need to be split in the target data.
[0054] The organizational structure of the oilfield joint station is divided into four levels, namely, field, station, operating area, and well. The location information of some instrument data will be combined and recorded in the same field. It needs to be split into multiple fields. Each field contains only one level. In order to classify the instrument data in the same geographical area during data analysis, batch analysis of instrument data in the same geographical area can be realized.
[0055] Step 3: Split the fields.
[0056] After determining the fields that need to be split, reverse reasoning can be performed on the fields according to the coding logic of the corresponding instrument to determine the specific split position of the field. The embodiment of the present application can classify the instrument data of the same geographical area by splitting the attribution-related fields, which facilitates the subsequent batch processing of the data of the same geographical area.
[0057] In order to improve the efficiency of data preprocessing, the embodiment of the present application can also formulate performance strategies for the server that processes data and each specific task. For example, the maximum number of concurrent server data processing and the maximum number of parallel workflows can be set. The embodiment of the present application can also monitor the CPU, memory, cache, and status of each execution task of the server, set a threshold range for each monitored object, and intervene and adjust when the threshold range is exceeded to improve data processing efficiency.
[0058] In one achievable approach, the specific steps to improve data processing performance are as follows:
[0059] Step 1: Monitor the performance of data processing.
[0060] In this step, since the utilization rate of components such as CPU, memory, cache, etc. in the server that processes data is a dynamic value when data processing is performed, there is a risk of data overflow when the utilization rate is too high, and the efficiency of data processing will be affected when the utilization rate is too low. Therefore, the embodiment of the present application monitors the utilization rate of each of the CPU, memory, and cache in the server in real time, so that when the utilization rate is lower than the preset minimum threshold, the utilization rate is increased, and when the usage is higher than the preset maximum threshold, the utilization rate is reduced. The embodiment of the present application not only avoids the situation of data overflow during data processing, but also improves data processing efficiency.
[0061] Step 1: Use the monitoring results to adjust the task scheduling of data processing.
[0062] In this step, the task scheduling of the corresponding monitoring object is adjusted in real time according to the performance of the monitoring data processing. Taking the memory of the server as an example, when the memory is under high load, the task scheduling for the memory can be adjusted to reduce the number of buffered records, reduce the task parallelism, and only specify the data in the same geographical area for synchronous loading mode. When the memory is under low load, the task scheduling for the memory can be adjusted to batch loading mode, increase the number of buffered records, increase the task parallelism, etc.
[0063] The embodiment of the present application monitors the performance of data processing and dynamically adjusts task scheduling, which not only avoids data overflow during data processing but also improves data processing efficiency.
[0064] After screening and cleaning the instrument data of each oilfield equipment, the embodiment of the present application obtains the data to be analyzed that can be directly used for data analysis. The data can be specifically analyzed according to the business needs in the actual scenario. For example, it can be used to troubleshoot suspected faulty oilfield equipment to replace manual inspection of the oilfield.
[0065] 204. Generate an alarm record based on the data to be analyzed.
[0066] In this step, an alarm record is generated according to the data to be analyzed and the alarm threshold range of the corresponding oilfield equipment to realize oilfield inspection.
[0067] In one achievable method, the specific steps for obtaining the alarm threshold range are as follows:
[0068] Step 1: Obtain historical data of oilfield equipment containing oilfield equipment identification.
[0069] In this step, the historical data of the oilfield equipment can be the target data of the oilfield equipment or the data to be analyzed of the oilfield equipment. If the acquired historical data is the target data, it needs to be preprocessed using preset rules and converted into corresponding data to be analyzed.
[0070] Step 2: Calculate the alarm threshold range based on historical data.
[0071] In a feasible method, the deviation value D of the current data to be analyzed and the historical data within the last three times is calculated respectively, the average of the three deviation values is obtained to obtain the average deviation value, and the threshold is set according to the standard of the multiplier coefficient of 2. For example, if the current boiler temperature is 500°C, and the average deviation value obtained according to the historical data is 50°C, the alarm threshold range will be determined as [400°C, 600°C]. After actual data measurement, the alarm threshold range determined by the multiplier coefficient of 2, the alarm ratio is about 10% of the total data. The larger the multiplier system, the lower the alarm ratio. The embodiment of the present application can select the multiplier coefficient according to actual needs.
[0072] In another feasible method, the historical data of the last three times is obtained, and each data is judged in turn whether it exceeds the standard value. If it exceeds, the value of the data is replaced by the standard value. Then the average value of the replaced historical data is calculated, and the difference between the average value and the current data to be analyzed is calculated, and the alarm threshold range is calculated using the difference and the current data to be analyzed.
[0073] Since oilfield equipment varies with time, climate, and geographical location, even the same type of oilfield equipment may have different output instrument data. The embodiment of the present application uses historical data to dynamically calculate the alarm threshold range. Compared with the fixed alarm threshold range, the obtained alarm threshold range is more accurate. In addition, the embodiment of the present application detects whether there is abnormal data in the historical data by comparing the standard value. If there is, the abnormal data is replaced with the standard data. The embodiment of the present application obtains an accurate alarm threshold range, thereby achieving accurate oilfield inspection.
[0074] The embodiment of the present application can not only inspect the oil field, but also predict the future data of the oil field equipment. Since the oil field equipment of the oil field joint station will be regularly maintained, such as cleaning, water injection, equipment maintenance, etc., the operation status of the oil field equipment after maintenance will be better. As time goes by, it needs to be maintained again. The embodiment of the present application can use the equipment maintenance time and the data to be analyzed to predict the data trend of each oil field equipment.
[0075] 205. Generate trend prediction data based on the data to be analyzed.
[0076] The trend prediction data refers to the generated data of the prediction for the oilfield equipment in the future time period.
[0077] In this step, the data to be analyzed is marked. According to the start time and end time in the maintenance schedule, the data within the time period is marked. Specifically, the database window function can be used for time marking. The window function can be used to quickly find the data to be analyzed corresponding to the end time, eliminating the need to read the data to be analyzed one by one, thereby improving the efficiency of generating trend prediction data.
[0078] In one feasible method, the maintenance time period and equipment loss data of the oilfield equipment can be obtained first; the data to be analyzed within the maintenance time period can be labeled to obtain the labeled data to be analyzed; finally, the labeled data to be analyzed and the equipment loss data can be used to generate the trend prediction data of the oilfield equipment. The maintenance time period of the oilfield equipment is obtained from the uploaded maintenance schedule of the corresponding oilfield equipment. The equipment loss data is pre-stored data related to equipment loss.
[0079] The embodiment of the present application obtains trend prediction data of oilfield equipment using the data to be analyzed, and provides a reference basis for evaluating the maintenance effect of oilfield equipment.
[0080] Furthermore, as a response to the above Figure 1-2 The implementation of the method embodiment shown in the figure, the embodiment of the present invention provides an oilfield inspection device, which is used to realize efficient inspection of the oilfield. The embodiment of the device corresponds to the aforementioned method embodiment. For the convenience of reading, this embodiment will not repeat the details of the aforementioned method embodiment one by one, but it should be clear that the device in this embodiment can correspond to all the contents of the aforementioned method embodiment. Figure 3 As shown, the device comprises:
[0081] A screening unit 31 is used to screen the source data of the oil field to obtain target data based on a preset time granularity;
[0082] The data processing unit 32 is used to pre-process the target data obtained by the screening unit 31 using preset rules to obtain data to be analyzed;
[0083] An acquisition unit 33 is used to acquire an alarm threshold range corresponding to the identifier of the oilfield equipment in the data to be analyzed obtained by the data processing unit 32;
[0084] The comparison unit 34 is used to compare the data to be analyzed with the alarm threshold range obtained by the obtaining unit 33 to implement inspection of the oil field.
[0085] Further, such as Figure 4 As shown, the screening unit 31 includes:
[0086] The first screening module 311 is used to screen the source data to obtain pre-screened data based on the time granularity corresponding to the screening of each oilfield equipment data;
[0087] The second screening module 311 is used to screen the pre-screened data obtained by the first screening module 311 to obtain target data according to the specified area and / or device type.
[0088] Further, such as Figure 4 As shown, the data processing unit 32 includes:
[0089] A format unification module 321 is used to unify the data format of the target data, where the data format is the display method of each field of the target data;
[0090] The search module 322 is used to search for fields that need to be split in the target data and split the fields.
[0091] Further, such as Figure 4 As shown, the acquisition unit 33 includes:
[0092] An acquisition module 331 is used to acquire historical data of the oilfield equipment containing the identification;
[0093] The calculation module 332 is used to calculate the alarm threshold range according to the historical data obtained by the acquisition module 331.
[0094] Further, such as Figure 4 As shown, the device also includes:
[0095] A monitoring unit 35, used to monitor the performance of data processing;
[0096] The scheduling unit 36 is used to adjust the task scheduling of data processing using the monitoring result of the monitoring unit 35 .
[0097] Further, such as Figure 4 As shown, the performance includes at least memory performance, and the scheduling unit 36 includes:
[0098] A high load module 361 is used to reduce task parallelism and / or reduce the number of buffered records when the memory is under high load;
[0099] The low load module 362 is used to increase task parallelism and / or the number of buffered records when the memory is under low load.
[0100] Further, such as Figure 4 As shown, the device further includes a trend prediction unit 37, and the trend prediction unit 37 specifically includes:
[0101] An acquisition module 371 is used to acquire the maintenance time period and equipment loss data of the oilfield equipment;
[0102] A marking module 372 is used to mark the data to be analyzed within the maintenance time period obtained by the acquisition module 371 to obtain the marked data to be analyzed;
[0103] The generating module 373 is used to generate the trend prediction data of the oilfield equipment by using the annotated data to be analyzed obtained by the annotating module 372 and the equipment loss data.
[0104] Furthermore, an embodiment of the present invention further provides a processor, the processor is used to run a program, wherein the program executes the above Figure 1-2 The oil field inspection method described in .
[0105] Furthermore, an embodiment of the present invention further provides a storage medium, wherein the storage medium is used to store a computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute the above Figure 1-2 The oil field inspection method described in .
[0106] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0107] It is understandable that the related features in the above methods and devices can be referenced to each other. In addition, the "first", "second" and the like in the above embodiments are used to distinguish the embodiments, but do not represent the advantages and disadvantages of the embodiments.
[0108] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0109] The algorithm and display provided herein are not inherently related to any particular computer, virtual system or other device. Various general purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious that the structure required for constructing such systems. In addition, the present invention is not directed to any specific programming language either. It should be understood that various programming languages can be utilized to realize the content of the present invention described herein, and the description of the above specific languages is for disclosing the best mode of the present invention.
[0110] In addition, the memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0111] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0112] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0113] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0114] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0115] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0116] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0117] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0118] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0119] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0120] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. An oilfield inspection method, characterized in that: The method comprises: Filter the target data from the source data of the oil field based on the preset time granularity; Preprocessing the target data using preset rules to obtain data to be analyzed; Based on the identification of the oilfield equipment in the data to be analyzed, obtaining an alarm threshold range corresponding to the identification; The data to be analyzed is compared with the alarm threshold range to implement inspection of the oil field.
2. The method according to claim 1, characterized in that Target data is obtained by filtering the source data of the oil field based on the preset time granularity, including: Based on the time granularity corresponding to the data screening of each oilfield equipment, pre-screening data is screened from the source data; According to the specified area and / or device type, target data is obtained from the pre-screening data.
3. The method according to claim 1, characterized in that Preprocessing the target data using preset rules to obtain data to be analyzed includes: Unifying the data format of the target data, wherein the data format is the display method of each field of the target data; Find the fields that need to be split in the target data, and split the fields.
4. The method according to claim 1, characterized in that: Before preprocessing the target data using preset rules to obtain the data to be analyzed, the method further includes: Monitor the performance of data processing; Use the monitoring results to adjust the task scheduling of data processing.
5. The method according to claim 4, characterized in that The performance at least includes memory performance, and the task scheduling of data processing is adjusted using the monitoring results, including: When memory is under high load, reduce task parallelism and / or reduce the number of buffered records; When memory is under load, increase task parallelism and / or increase the number of buffered records.
6. The method according to claim 1, characterized in that Obtaining the alarm threshold range corresponding to the identifier includes: Acquiring historical data of oilfield equipment containing the identification; The alarm threshold range is calculated based on the historical data.
7. The method according to any one of claims 1 to 6, characterized in that: After preprocessing the target data using preset rules to obtain the data to be analyzed, the method further includes: Obtaining maintenance time period and equipment loss data of the oilfield equipment; Marking the data to be analyzed within the maintenance time period to obtain the marked data to be analyzed; The trend prediction data of the oilfield equipment is generated by using the annotated data to be analyzed and the equipment loss data.
8. An oilfield inspection device, characterized in that: The device comprises: A screening unit, used for screening target data from source data of the oil field based on a preset time granularity; A data processing unit, used to pre-process the target data using preset rules to obtain data to be analyzed; An acquisition unit, configured to acquire, based on an identification of the oilfield equipment in the data to be analyzed, an alarm threshold range corresponding to the identification; A comparison unit is used to compare the data to be analyzed with the alarm threshold range to implement inspection of the oil field.
9. A processor, characterized in that: The processor is used to run a program, wherein the program, when running, executes the oilfield inspection method according to any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium is used to store a computer program, wherein when the computer program is running, it controls the device where the storage medium is located to execute the oilfield inspection method according to any one of claims 1 to 7.
