Method and device for determining layered operation data of fracturing equipment
By filtering and sorting the historical operation data of fracturing equipment, the layered operation data group is determined, which solves the problem that the hierarchical operation data cannot be effectively calculated in the existing technology, and realizes remote acquisition of equipment detailed information and improves management efficiency.
Patent Information
- Application Number
- CN202210822395.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-13
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2042-07-13
AI Technical Summary
The prior art cannot effectively calculate the layered operation data of the fracturing equipment through the historical operation data of the equipment, making it difficult for managers to remotely obtain detailed information of the first-layer operation of the equipment.
Provide a method for determining layered operation data of fracturing equipment. By receiving and filtering the job data sent by the target equipment, sorting the data set according to the job timing, determining the data group that meets specific conditions, and calculating the data within the layered operation time period change.
It realizes the effective calculation of layered operation data through the equipment's historical operation data, provides remote acquisition of information such as the start time, end time, liquid volume, energy consumption, pressure range and other information of the first-layer operation of the equipment, and improves the operation management efficiency.
Smart Images

Figure CN115114350B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of oil and gas fracturing operations, and in particular to a method, device, computer-readable storage medium, processor, and electronic device for determining layered operation data of a fracturing device. Background Art
[0002] In recent years, Internet of Things (IOT) technology has been widely used in various fields, including digital oil fields. During the fracturing operation, various types of information collected by sensors installed on the equipment are collected to the cloud through wireless transmission. Through data calculation on the cloud server, statistical reports are formed to realize remote management functions, which is of great help in improving the management efficiency of well site operations.
[0003] An intelligent gateway module is installed on the equipment used for fracturing construction, which can collect the equipment's operating data (such as speed, oil pressure, gear position, displacement, etc.) in real time and upload the data to the cloud in real time. Managers or technicians can remotely view the equipment's operating data, but fracturing construction is a layered operation. The detailed operating data of each layer of the equipment is very important information for managers or technicians. Although the existing technology can realize real-time data transmission and allow relevant personnel to remotely view the real-time operating data of the equipment, it cannot quickly and effectively analyze the start time, end time, liquid volume, energy consumption, pressure range, etc. of the equipment layer operation through the operating data. Currently, if you want to remotely obtain detailed operating data information of one layer of equipment at the operation site, you can only obtain it from the on-site staff by calling or sending emails.
[0004] Therefore, there is an urgent need for an effective calculation method to calculate the equipment's hierarchical operation data through the equipment's historical operation data.
[0005] The above information disclosed in the background technology section is only used to enhance the understanding of the background technology of the technology described in this article. Therefore, the background technology may contain certain information that does not form the prior art known in this country for those skilled in the art. Summary of the invention
[0006] The main purpose of the present application is to provide a method, device, computer-readable storage medium, processor and electronic device for determining layered operation data of a fracturing device, so as to solve the problem in the prior art that the layered operation data of the device cannot be calculated through the historical operation data of the device.
[0007] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a method for determining layered operation data of a fracturing device is provided, which is applied in a server, wherein a layered operation data group consists of operation data at the start and at the end of a continuous operation time period of the fracturing device, and the method comprises: receiving the operation data sent by a target device, screening out the operation data that meets a first predetermined condition, obtaining valid operation data, sorting the valid operation data between a first operation moment and a second operation moment according to corresponding operation moments to obtain a first data set; sorting the first data, the first fault data and the second data according to corresponding operation times to form a second data set, wherein the first data is the first data in the first data set, and the first fault data is the first data in the first data set whose corresponding operation moment difference is greater than the first two adjacent data with predetermined values, the second data being the last data in the first data set; determining a third data set at least based on whether the second data in the second data set meets a second predetermined condition, and whether the first data in the second data set meets a third predetermined condition, the third data set at least including all data except the last two data in the second data set, and starting from the third data in the third data set, the difference between the operation time corresponding to the odd-numbered data and the previous data of the odd-numbered data is greater than the first predetermined value; determining the two corresponding data in the third data set whose layered operation time is greater than the second predetermined value as the target layered operation data group, and the difference between the operation time corresponding to the even-numbered data in the third data set and the previous data of the even-numbered data is one of the layered operation time.
[0008] Optionally, determining the third data set at least based on whether the second data in the second data set meets the second predetermined condition, and whether the first data in the second data set meets the third predetermined condition, includes: when the second data meets the second predetermined condition, determining that the second data does not belong to the third data set and the third data belongs to the third data set, wherein the third data is data in the second data set adjacent to the second data, and the second predetermined condition is that the difference between the operation times corresponding to the second data and the third data is greater than the first predetermined value; when the second data does not meet the second predetermined condition, determining whether the second data and the third data belong to the third data set at least based on whether there is fourth data, and the fourth data is the valid operation data adjacent to the second data and whose corresponding operation time is after the second operation time.
[0009] Optionally, determining whether the second data and the third data belong to the third data set is based at least on whether the fourth data exists, including: when the fourth data exists, calculating the difference between the operation times corresponding to the second data and the fourth data to obtain a first difference; when the first difference is greater than the first predetermined value, determining that the second data and the third data belong to the third data set; when the first difference is less than or equal to the first predetermined value, determining that the second data and the third data do not belong to the third data set.
[0010] Optionally, determining whether the second data and the third data belong to the third data set at least based on whether the fourth data exists includes: determining that the second data and the third data belong to the third data set when the fourth data does not exist.
[0011] Optionally, a third data set is determined based at least on whether the second data in the second data set meets a second predetermined condition, and whether the first data in the second data set meets a third predetermined condition, including: when the first data meets the third predetermined condition, obtaining fifth data, and determining that the fifth data belongs to the third data set, the third predetermined condition being that the difference between the operation time corresponding to the first data and the valid operation data adjacent to the first data and whose corresponding operation time is before the first operation time is less than or equal to the first predetermined value, the fifth data is the valid operation data whose corresponding operation time is before the valid operation data adjacent to the first data and whose corresponding operation time is before the first operation time, and the difference between the operation time corresponding to the fifth data and the sixth data is greater than the first predetermined value, and the sixth data is the valid operation data adjacent to the fifth data and whose corresponding operation time is before the operation time corresponding to the fifth data.
[0012] Optionally, obtaining the fifth data includes: sorting the valid operation data between the third operation time and the second operation time according to the corresponding operation time to obtain a fourth data set, the third operation time being a time predetermined time before the first operation time; forming a fifth data set in chronological order the first data in the fourth data set, two adjacent data in the fourth data set whose difference in corresponding operation time is greater than the first predetermined value, and the last data in the fourth data set; calculating the difference in operation time corresponding to the first data in the second data set and the data adjacent to the first data in the second data set to obtain a second difference; and determining the position of the fifth data in the fifth data set according to whether the second difference is greater than the first predetermined value.
[0013] Optionally, the position of the fifth data in the fifth data set is determined based on whether the second difference is greater than the first predetermined value, including: when the second difference is greater than the first predetermined value, determining that the previous data of the data in the fifth data set that is identical to the first data in the second data set is the fifth data; when the second difference is less than or equal to the first predetermined value, determining that the previous data of the data in the fifth data set that is identical to the second data in the second data set is the fifth data.
[0014] According to another aspect of the present application, a device for determining layered operation data of a fracturing device is provided, which is applied in a server, wherein a layered operation data group consists of operation data at the start and at the end of a continuous operation time period of the fracturing device, and the device comprises a first processing unit, a second processing unit, a first determining unit and a second determining unit, wherein the first processing unit is used to receive the operation data sent by a target device, filter out the operation data that meets a first predetermined condition, obtain valid operation data, and sort the valid operation data between a first operation moment and a second operation moment according to corresponding operation moments to obtain a first data set; the second processing unit is used to sort the first data, the first fault data and the second data according to corresponding operation times to form a second data set, wherein the first data is the first data in the first data set, and the first fault data is the corresponding Two adjacent data whose operation time difference is greater than a first predetermined value, and the second data is the last data in the first data set; the first determining unit is used to determine the third data set at least based on whether the second data in the second data set meets the second predetermined condition and whether the first data in the second data set meets the third predetermined condition, the third data set at least including all data except the last two data in the second data set, and starting from the third data in the third data set, the difference between the operation time corresponding to the odd-numbered data and the previous data of the odd-numbered data is greater than the first predetermined value; the second determining unit is used to determine that the two corresponding data in the third data set whose layered operation time is greater than the second predetermined value are the target layered operation data group, and the difference between the operation time corresponding to the even-numbered data in the third data set and the previous data of the even-numbered data is one of the layered operation time.
[0015] According to another aspect of the present application, a computer-readable storage medium is provided, the computer-readable storage medium comprising a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute any one of the methods for determining layered operation data of a fracturing device.
[0016] According to another aspect of the present application, a processor is provided, wherein the processor is used to run a program, wherein when the program is run, any one of the methods for determining layered operation data of a fracturing device is executed.
[0017] According to another aspect of the present application, an electronic device is provided, comprising: one or more processors, a memory, a display device, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include a method for determining layered operation data for executing any one of the fracturing equipment described.
[0018] By applying the technical solution of the present application, in a method for determining layered operation data of a fracturing device, first, the operation data sent by a target device is received, the operation data satisfying a first predetermined condition is screened out to obtain valid operation data, and the valid operation data between a first operation time and a second operation time is sorted according to the corresponding operation time to obtain a first data set; then, the first data, the first fault data, and the second data are sorted according to the corresponding operation time to form a second data set, wherein the first data is the first data in the first data set, the first fault data is two adjacent data in the first data set whose corresponding operation time difference is greater than a first predetermined value, and the second data is the last data in the first data set; then , determine a third data set at least based on whether the second data in the second data set meets the second predetermined condition, and whether the first data in the second data set meets the third predetermined condition, the third data set includes at least all data in the second data set except the last two data, and starting from the third data in the third data set, the difference between the operation time corresponding to the odd-numbered data and the previous data of the odd-numbered data is greater than the first predetermined value; finally, determine that the corresponding two data in the third data set whose layered operation time is greater than the second predetermined value are the target layered operation data group, and the difference between the operation time corresponding to the even-numbered data in the third data set and the previous data of the even-numbered data is one of the layered operation time. The method first obtains valid data from a first operation moment to a second operation moment, obtains part of the layered operation data between the first operation moment and the second operation moment, i.e., a second data set, by determining that the time between any two adjacent valid data is greater than a first predetermined value, and then determines a third data set by at least determining whether the first and last data in the second data set are layered operation data, so that the third data set contains a plurality of complete layered operation data, and finally determines that two data corresponding to a layered operation time greater than a second predetermined value are a target layered operation data group, so that the data changes within the layered operation time period can be subsequently calculated based on the target layered operation data, thereby solving the problem in the prior art that the layered operation data of the device cannot be effectively calculated through the historical operation data of the device. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The drawings constituting part of the present application are used to provide a further understanding of the present application. The exemplary embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0020] Figure 1 A flow chart showing a method for determining layered operation data of a fracturing device according to an embodiment of the present application;
[0021] Figure 2A schematic diagram showing a device for determining layered operation data of a fracturing device according to an embodiment of the present application is shown;
[0022] Figure 3 A logic diagram of a method for determining layered operation data of a fracturing device according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0023] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0024] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0026] It should be understood that when an element (such as a layer, film, region, or substrate) is described as being "on" another element, the element may be directly on the other element, or there may be intermediate elements. Moreover, in the specification and claims, when an element is described as being "connected" to another element, the element may be "directly connected" to the other element, or "connected" to the other element through a third element.
[0027] As mentioned in the background technology, the prior art is unable to effectively calculate the layered operation data of the equipment through the historical operation data of the equipment. In order to solve the above problem, in a typical embodiment of the present application, a method, device, computer-readable storage medium, processor and electronic device for determining the layered operation data of a fracturing equipment are provided.
[0028] According to an embodiment of the present application, a method for determining layered operation data of a fracturing device is provided, which is applied in a server, and the layered operation data group consists of the operation data at the start and the operation data at the end of a continuous operation time period of the above-mentioned fracturing device.
[0029] Figure 1 1 is a flow chart of a method for determining layered operation data of a fracturing device according to an embodiment of the present application. Figure 1 As shown, the method comprises the following steps:
[0030] Step S101, receiving the operation data sent by the target device, filtering out the operation data that meets the first predetermined condition, obtaining valid operation data, and sorting the valid operation data between the first operation time and the second operation time according to the corresponding operation time to obtain a first data set;
[0031] Step S102, sorting the first data, the first fault data and the second data according to the corresponding operation time to form a second data set, wherein the first data is the first data in the first data set, the first fault data is two adjacent data in the first data set whose corresponding operation time difference is greater than a first predetermined value, and the second data is the last data in the first data set;
[0032] Step S103, determining a third data set at least according to whether the second data in the second data set meets the second predetermined condition and whether the first data in the second data set meets the third predetermined condition, wherein the third data set includes at least all data except the last two data in the second data set, and starting from the third data in the third data set, the difference between the operation time corresponding to the odd-numbered data and the previous data of the odd-numbered data is greater than the first predetermined value;
[0033] Step S104, determine that the two corresponding data in the third data set whose layered operation time is greater than the second predetermined value are the target layered operation data group, and the difference between the operation time corresponding to the even-numbered data in the third data set and the previous data of the even-numbered data is one of the layered operation time.
[0034] In the method for determining the layered operation data of the above-mentioned fracturing equipment, first, the above-mentioned operation data sent by the target equipment is received, the above-mentioned operation data that meets the first predetermined condition is screened out to obtain valid operation data, and the above-mentioned valid operation data between the first operation time and the second operation time is sorted according to the corresponding operation time to obtain a first data set; then, the first data, the first fault data and the second data are sorted according to the corresponding operation time to form a second data set, the above-mentioned first data is the first data in the above-mentioned first data set, the above-mentioned first fault data is two adjacent data in the above-mentioned first data set whose corresponding operation time difference is greater than the first predetermined value, and the above-mentioned second data is the last data in the above-mentioned first data set; then, at least based on According to whether the second data in the second data set meets the second predetermined condition, and whether the first data in the second data set meets the third predetermined condition, the third data set is determined, the third data set at least includes all data in the second data set except the last two data, and starting from the third data in the third data set, the difference between the operation time corresponding to the odd-numbered data and the previous data of the odd-numbered data is greater than the first predetermined value; finally, the corresponding two data in the third data set whose layered operation time is greater than the second predetermined value are determined as the target layered operation data group, and the difference between the operation time corresponding to the even-numbered data in the third data set and the previous data of the even-numbered data is one of the layered operation time. The method first obtains valid data from a first operation moment to a second operation moment, obtains part of the layered operation data between the first operation moment and the second operation moment, i.e., a second data set, by determining that the time between any two adjacent valid data is greater than a first predetermined value, and then determines a third data set by at least determining whether the first and last data in the second data set are layered operation data, so that the third data set contains multiple complete layered operation data, and finally determines that two data corresponding to a layered operation time greater than a second predetermined value are a target layered operation data group, so that the data changes within the layered operation time period can be calculated subsequently based on the target layered operation data, thereby solving the problem in the prior art that the layered operation data of the device cannot be effectively calculated through the historical operation data of the device.
[0035] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0036] In actual applications, each fracturing device is equipped with an intelligent gateway, which can collect data from the PLC (Programmable Logic Controller) on the device, such as speed, pressure, temperature, flow, gear, fault code and other information, and transmit the collected data to the cloud server using protocols such as MQTT (Message Queuing Telemetry Transport) through 5G / 4G / 3G / WiFi signals at regular intervals, such as every 10 seconds. The uploaded data is parsed in the cloud server through a private protocol, and the parsed data is stored in a time series database. The browser or mobile phone accesses the data in the server through broadband or wireless signals. The operation data of the device is finally saved in the cloud server. When the intelligent gateway of the device sends data, there may or may not be a wireless signal on site. When there is a signal, the operation data will be uploaded to the cloud server in real time. When there is no signal, the operation data will be temporarily stored in the intelligent gateway. When there is a signal, the intelligent gateway will automatically judge and continue to upload data from the last upload time point, that is, it has a breakpoint upload function.
[0037] Specifically, the server receives the operation data sent by the target device, and screens the operation data that meets the first predetermined condition to obtain effective operation data. For a fracturing truck, the first predetermined condition may be that the engine speed is greater than 1000 rpm, the gear position of the gearbox is greater than 0, and the plunger pump pressure is greater than 5 MPa. The first predetermined condition may be set according to the actual operation of the device. The first predetermined value may be 15 to 20.
[0038] In a specific embodiment of the present application, the target hierarchical data group can be obtained at a scheduled time every day. The time can be set to 1:30 a.m. every day to analyze the devices that have uploaded data from 0:0:0:0 yesterday to the current time, i.e., the target devices. The latest time of each device uploading data is saved in the redis database, and the IDs of these devices are saved in a collection named deviceUploadDataList. After obtaining this collection, the target hierarchical job data group of each device is calculated in a loop. The second data set can be saved in the query hierarchical statistics table (device_layer_summary). The last date in the target hierarchical data group counted by the target device can be defined as lastJobDate. If the hierarchical statistical data of device A is not found in the device_layer_summary table, lastJobDate is assigned to this day last year. The first operation time and the second operation time can be respectively from 0:0:0:0 of lastJobDate+1 day to 23:59:59 of yesterday. Because many operating well sites are in deserts or other places with poor or even no signals, the operation data uploaded by the equipment on the same day may not only be the data of the same day, but also the data stored when the signal was not good before. The time of querying the first data from 0:0:0:0 of lastJobDate+1 day to 23:59:59 of yesterday, that is, the time of the first data, is defined as firstJobDataTime. If this time cannot be found, it means that this device has only uploaded data in the early morning of the same day, so this device will not be counted for the time being, and the calculation will automatically jump to the next device. If the amount of data in the first set is less than 2, the statistics of this device ends and jumps to the statistics of the next device.
[0039] In one embodiment of the present application, the third data set is determined at least based on whether the second data in the second data set meets the second predetermined condition, and whether the first data in the second data set meets the third predetermined condition, including: when the second data meets the second predetermined condition, determining that the second data does not belong to the third data set and that the third data belongs to the third data set, wherein the third data is data in the second data set adjacent to the second data, and the second predetermined condition is that the difference between the operation times corresponding to the second data and the third data is greater than the first predetermined value; when the second data does not meet the second predetermined condition, determining whether the second data and the third data belong to the third data set at least based on whether there is fourth data, and the fourth data is the valid operation data adjacent to the second data and whose corresponding operation time is after the second operation time. The above-mentioned second data and the above-mentioned third data are the last two data in the above-mentioned second data set. Since the first data and the second data are retained in the second data set as the first data and the last data in the first data set, it is first necessary to confirm whether the layered operation time where the second data is located completely falls between the first operation time and the second operation time. If so, retain the third data; if not, remove part of the layered operation data where the third data is located to ensure that the above-mentioned third data set has complete layered operation data.
[0040] In order to confirm whether the above-mentioned second data and the above-mentioned third data belong to the third data set, in another embodiment of the present application, whether the above-mentioned second data and the above-mentioned third data belong to the above-mentioned third data set is determined at least according to whether the fourth data exists, including: when the above-mentioned fourth data exists, calculating the difference between the operation times corresponding to the above-mentioned second data and the above-mentioned fourth data to obtain a first difference; when the above-mentioned first difference is greater than the above-mentioned first predetermined value, determining that the above-mentioned second data and the above-mentioned third data belong to the above-mentioned third data set; when the above-mentioned first difference is less than or equal to the above-mentioned first predetermined value, determining that the above-mentioned second data and the above-mentioned third data do not belong to the above-mentioned third data set.
[0041] In another embodiment of the present application, determining whether the second data and the third data belong to the third data set at least based on whether the fourth data exists includes: determining that the second data and the third data belong to the third data set when the fourth data does not exist. If the fourth data does not exist, it indicates that the third data is the end time of a layered job.
[0042] In order to further ensure that the third data set contains complete hierarchical operation data, in another embodiment of the present application, at least according to whether the second data in the second data set meets the second predetermined condition and whether the first data in the second data set meets the third predetermined condition, the third data set is determined, including: when the first data meets the third predetermined condition, the fifth data is obtained, and it is determined that the fifth data belongs to the third data set, the third predetermined condition is that the difference between the operation time corresponding to the first data and the valid operation data adjacent to the first data and corresponding to the operation time before the first operation time is less than or equal to the first predetermined value, the fifth data is the valid operation data corresponding to the operation time before the valid operation data adjacent to the first data and corresponding to the operation time before the first operation time, and the difference between the operation time corresponding to the fifth data and the sixth data is greater than the first predetermined value, and the sixth data is the valid operation data adjacent to the fifth data and corresponding to the operation time before the operation time corresponding to the fifth data. That is, when the first data is not the start operation data of a hierarchical operation, it is necessary to find the start data of the hierarchical operation where the first data is located, so that the third data set further contains complete hierarchical operation data.
[0043] Specifically, the first data is the first data in the second data set. If the difference between the job times corresponding to the first data and the second data in the second data set is greater than the first predetermined value, the first data is the end time data of a layered job, and the start data of the layered job where the first data is located needs to be found. If the difference between the job times corresponding to the first data and the second data in the second data set is less than or equal to the first predetermined value, it is necessary to confirm the time difference between the first data and the previous valid job data to confirm whether the first data is the start time of a layered job. If not, it is also necessary to find the start data of the layered job where the first data is located, so that the third data set further has a complete layered job data.
[0044] In another embodiment of the present application, obtaining the fifth data includes: sorting the valid operation data between the third operation time and the second operation time according to the corresponding operation time to obtain a fourth data set, wherein the third operation time is a time before the first operation time; forming a fifth data set in chronological order from the first data in the fourth data set, two adjacent data whose difference in the corresponding operation time in the fourth data set is greater than the first predetermined value, and the last data in the fourth data set; calculating the difference in the operation time corresponding to the first data in the second data set and the data adjacent to the first data in the second data set to obtain a second difference; determining the position of the fifth data in the fifth data set according to whether the second difference is greater than the first predetermined value. By finding the valid data that is earlier in time than the first operation time, the fifth data can be quickly and accurately obtained.
[0045] In practical applications, since the time for a layer operation does not exceed 24 hours, the above-mentioned predetermined time can be 24 hours.
[0046] In order to obtain the above-mentioned fifth data more accurately, in another embodiment of the present application, the position of the above-mentioned fifth data in the above-mentioned fifth data set is determined according to whether the above-mentioned second difference is greater than the above-mentioned first predetermined value, including: when the above-mentioned second difference is greater than the above-mentioned first predetermined value, determining that the previous data of the data in the above-mentioned fifth data set that is identical to the above-mentioned first data in the above-mentioned second data set is the above-mentioned fifth data; when the above-mentioned second difference is less than or equal to the above-mentioned first predetermined value, determining that the previous data of the data in the above-mentioned fifth data set that is identical to the third data in the above-mentioned second data set is the above-mentioned fifth data.
[0047] Specifically, when the second difference is greater than the first predetermined value, that is, the first data is the end data of a layered job, the fifth data set will also include this data, and this data is the fifth data. When the second difference is less than or equal to the first predetermined value, that is, the first data is the job data of an intermediate time of a layered job time, and the data identical to the first data cannot be found in the fifth data set. At this time, the end data of the layered job where the first data is located is the data after the first data in the third data set. Then, it can be determined that the fifth data is the previous data of the data in the fifth data set that is identical to the second data in the third data set.
[0048] In practical applications, for the convenience of calculation, an ordered set footMarkList for storing hierarchical footmarks can be defined. The hierarchical footmark corresponding to the first data in the second data set is 0 and stored in footMarkList. The hierarchical footmarks of other data in the second data set are incremented by 1 and stored in footMarkList. Similarly, an ordered set footMarkList2 of hierarchical footmarks corresponding to each data in the fifth data set is defined.
[0049] In another specific embodiment of the present application, the two corresponding data whose layered operation time in the above-mentioned third data set is greater than the second predetermined value are determined as the target layered operation data group, and the difference between the operation time corresponding to the even-numbered data in the above-mentioned third data set and the previous data of the above-mentioned even-numbered data is one of the above-mentioned layered operation time, that is, the even-numbered data corresponds to the data of the end time of a layer of layered operation, and the previous data of the even-numbered data corresponds to the data of the start time of a layer of layered operation. For data that need to calculate the cumulative value, such as energy consumption, liquid volume, sand volume, etc., the value corresponding to the end operation data minus the value corresponding to the start operation data is the cumulative value of this layer. For data for which the maximum or minimum value is to be calculated, such as pressure, etc., the maximum or minimum value of the operation of this layer can be obtained by querying the historical data according to the start time and the end time. For data for which the average value is to be calculated, the average value of the operation of this layer can be obtained by averaging all data within the start time and the end time period.
[0050] The embodiment of the present application also provides a device for determining layered operation data of a fracturing device, which is applied in a server, and the layered operation data group consists of the operation data at the start and the operation data at the end of a continuous operation time period of the above-mentioned fracturing device. It should be noted that the device for determining layered operation data of a fracturing device in the embodiment of the present application can be used to execute the method for determining layered operation data for a fracturing device provided in the embodiment of the present application. The device for determining layered operation data of a fracturing device provided in the embodiment of the present application is introduced below.
[0051] Figure 2 Schematic diagram of a device for determining layered operation data of a fracturing device according to an embodiment of the present application. Figure 2 As shown, the device comprises:
[0052] The first processing unit 10 is used to receive the operation data sent by the target device, filter out the operation data that meets the first predetermined condition, obtain valid operation data, and sort the valid operation data between the first operation time and the second operation time according to the corresponding operation time to obtain a first data set;
[0053] The second processing unit 20 is used to sort the first data, the first fault data and the second data according to the corresponding operation time to form a second data set, wherein the first data is the first data in the first data set, the first fault data is two adjacent data in the first data set whose difference of the corresponding operation time is greater than a first predetermined value, and the second data is the last data in the first data set;
[0054] A first determining unit 30 is used to determine a third data set at least according to whether the second data in the second data set meets a second predetermined condition and whether the first data in the second data set meets a third predetermined condition, wherein the third data set includes at least all data except the last two data in the second data set, and the difference between the operation time corresponding to the odd-numbered data and the previous data of the odd-numbered data in the third data set starting from the third data is greater than the first predetermined value;
[0055] The second determination unit 40 is used to determine that the two corresponding data in the above-mentioned third data set whose layered operation time is greater than the second predetermined value are the target layered operation data group, and the difference between the operation time corresponding to the even-numbered data in the above-mentioned third data set and the previous data of the above-mentioned even-numbered data is one of the above-mentioned layered operation time.
[0056] In the device for determining the layered operation data of the above-mentioned fracturing equipment, the operation data sent by the target equipment is received by the first processing unit, the operation data satisfying the first predetermined condition is screened out to obtain valid operation data, and the valid operation data between the first operation time and the second operation time are sorted according to the corresponding operation time to obtain a first data set; the first data, the first fault data and the second data are sorted according to the corresponding operation time to form a second data set by the second processing unit, the first data is the first data in the above-mentioned first data set, the first fault data is two adjacent data whose difference of the corresponding operation time in the above-mentioned first data set is greater than the first predetermined value, and the second data is the last data in the above-mentioned first data set; the first determination is performed by the first The unit determines a third data set at least based on whether the second data in the second data set meets the second predetermined condition and whether the first data in the second data set meets the third predetermined condition, the third data set includes at least all data except the last two data in the second data set, and starting from the third data in the third data set, the difference between the operation time corresponding to the odd-numbered data and the previous data of the odd-numbered data is greater than the first predetermined value; the second determination unit determines that the corresponding two data in the third data set whose layered operation time is greater than the second predetermined value are the target layered operation data group, and the difference between the operation time corresponding to the even-numbered data in the third data set and the previous data of the even-numbered data is one of the layered operation time. The device first obtains valid data from the first operation moment to the second operation moment, and obtains part of the layered operation data between the first operation moment and the second operation moment, that is, the second data set, by determining that the time between any two adjacent valid data is greater than a first predetermined value, and then determines the third data set by at least determining whether the first and last data in the second data set are layered operation data, so that the third data set contains multiple complete layered operation data, and finally determines that the two data corresponding to the layered operation time greater than the second predetermined value are the target layered operation data group, so that the data changes within the layered operation time period can be calculated based on the target layered operation data subsequently, thereby solving the problem in the prior art that the layered operation data of the device cannot be effectively calculated through the historical operation data of the device.
[0057] In actual applications, each fracturing device is equipped with an intelligent gateway, which can collect data from the PLC (Programmable Logic Controller) on the device, such as speed, pressure, temperature, flow, gear, fault code and other information, and transmit the collected data to the cloud server using protocols such as MQTT (Message Queuing Telemetry Transport) through 5G / 4G / 3G / WiFi signals at regular intervals, such as every 10 seconds. The uploaded data is parsed in the cloud server through a private protocol, and the parsed data is stored in a time series database. The browser or mobile phone accesses the data in the server through broadband or wireless signals. The operation data of the device is finally saved in the cloud server. When the intelligent gateway of the device sends data, there may or may not be a wireless signal on site. When there is a signal, the operation data will be uploaded to the cloud server in real time. When there is no signal, the operation data will be temporarily stored in the intelligent gateway. When there is a signal, the intelligent gateway will automatically judge and continue to upload data from the last upload time point, that is, it has a breakpoint upload function.
[0058] Specifically, the server receives the operation data sent by the target device, and screens the operation data that meets the first predetermined condition to obtain effective operation data. For a fracturing truck, the first predetermined condition may be that the engine speed is greater than 1000 rpm, the gear position of the gearbox is greater than 0, and the plunger pump pressure is greater than 5 MPa. The first predetermined condition may be set according to the actual operation of the device. The first predetermined value may be 15 to 20.
[0059] In a specific embodiment of the present application, the target hierarchical data group can be obtained at a scheduled time every day. The time can be set to 1:30 a.m. every day to analyze the devices that have uploaded data from 0:0:0:0 yesterday to the current time, i.e., the target devices. The latest time of each device uploading data is saved in the redis database, and the IDs of these devices are saved in a collection named deviceUploadDataList. After obtaining this collection, the target hierarchical job data group of each device is calculated in a loop. The second data set can be saved in the query hierarchical statistics table (device_layer_summary). The last date in the target hierarchical data group counted by the target device can be defined as lastJobDate. If the hierarchical statistical data of device A is not found in the device_layer_summary table, lastJobDate is assigned to this day last year. The first operation time and the second operation time can be respectively from 0:0:0:0 of lastJobDate+1 day to 23:59:59 of yesterday. Because many operating well sites are in deserts or other places with poor or even no signals, the operation data uploaded by the equipment on the same day may not only be the data of the same day, but also the data stored when the signal was not good before. The time of querying the first data from 0:0:0:0 of lastJobDate+1 day to 23:59:59 of yesterday, that is, the time of the first data, is defined as firstJobDataTime. If this time cannot be found, it means that this device has only uploaded data in the early morning of the same day, so this device will not be counted for the time being, and the calculation will automatically jump to the next device. If the amount of data in the first set is less than 2, the statistics of this device ends and jumps to the statistics of the next device.
[0060] In one embodiment of the present application, the first determination unit includes a first determination module and a second determination module, wherein the first determination module is used to determine that the second data does not belong to the third data set and the third data belongs to the third data set when the second data meets the second predetermined condition, wherein the third data is data in the second data set that is adjacent to the second data, and the second predetermined condition is that the difference between the operation times corresponding to the second data and the third data is greater than the first predetermined value; the second determination module is used to determine whether the second data and the third data belong to the third data set at least based on whether there is fourth data when the second data does not meet the second predetermined condition, and the fourth data is the valid operation data that is adjacent to the second data and the corresponding operation time is after the second operation time. The above-mentioned second data and the above-mentioned third data are the last two data in the above-mentioned second data set. Since the first data and the second data are retained in the second data set as the first data and the last data in the first data set, it is first necessary to confirm whether the layered operation time where the second data is located completely falls between the first operation time and the second operation time. If so, retain the third data; if not, remove part of the layered operation data where the third data is located to ensure that the above-mentioned third data set has complete layered operation data.
[0061] In order to confirm whether the above-mentioned second data and the above-mentioned third data belong to the third data set, in another embodiment of the present application, the above-mentioned second determination module includes a first calculation submodule, a first determination submodule and a second determination submodule, wherein the above-mentioned first calculation submodule is used to calculate the difference between the operation times corresponding to the above-mentioned second data and the above-mentioned fourth data in the presence of the above-mentioned fourth data to obtain a first difference; the above-mentioned first determination submodule is used to determine that the above-mentioned second data and the above-mentioned third data belong to the above-mentioned third data set when the above-mentioned first difference is greater than the above-mentioned first predetermined value; the above-mentioned second determination submodule is used to determine that the above-mentioned second data and the above-mentioned third data do not belong to the above-mentioned third data set when the above-mentioned first difference is less than or equal to the above-mentioned first predetermined value.
[0062] In another embodiment of the present application, the second determination module includes a third determination submodule, and the third determination submodule is used to determine that the second data and the third data belong to the third data set when the fourth data does not exist. If the fourth data does not exist, it indicates that the third data is the end time of a layered job.
[0063] In order to further ensure that the third data set contains complete hierarchical operation data, in another embodiment of the present application, the first determination unit includes a third determination module, and the third determination module is used to obtain the fifth data and determine that the fifth data belongs to the third data set when the first data satisfies the third predetermined condition, and the third predetermined condition is that the difference between the operation time corresponding to the first data and the valid operation data adjacent to the first data and corresponding to the operation time before the first operation time is less than or equal to the first predetermined value, the fifth data is the valid operation data corresponding to the operation time before the valid operation data adjacent to the first data and corresponding to the operation time before the first operation time, and the difference between the operation time corresponding to the fifth data and the sixth data is greater than the first predetermined value, and the sixth data is the valid operation data adjacent to the fifth data and corresponding to the operation time before the operation time corresponding to the fifth data. That is, when the first data is not the start operation data of a hierarchical operation, it is necessary to find the start data of the hierarchical operation where the first data is located, so that the third data set further contains complete hierarchical operation data.
[0064] Specifically, the first data is the first data in the second data set. If the difference between the job times corresponding to the first data and the second data in the second data set is greater than the first predetermined value, the first data is the end time data of a layered job, and the start data of the layered job where the first data is located needs to be found. If the difference between the job times corresponding to the first data and the second data in the second data set is less than or equal to the first predetermined value, it is necessary to confirm the time difference between the first data and the previous valid job data to confirm whether the first data is the start time of a layered job. If not, it is also necessary to find the start data of the layered job where the first data is located, so that the third data set further has a complete layered job data.
[0065] In another embodiment of the present application, the third determination module includes a first processing submodule, a second processing submodule, a second calculation submodule and a fourth determination submodule, wherein the first processing submodule is used to sort the valid operation data between the third operation time and the second operation time according to the corresponding operation time to obtain a fourth data set, and the third operation time is the time of a predetermined time before the first operation time; the second processing submodule is used to form a fifth data set in chronological order by the first data in the fourth data set, the two adjacent data whose difference in the corresponding operation time in the fourth data set is greater than the first predetermined value, and the last data in the fourth data set; the second calculation submodule is used to calculate the difference in the operation time corresponding to the first data in the second data set and the data adjacent to the first data in the second data set to obtain a second difference; the fourth determination submodule is used to determine the position of the fifth data in the fifth data set according to whether the second difference is greater than the first predetermined value. By finding the valid data that is earlier in time than the first operation time, the fifth data can be obtained quickly and accurately.
[0066] In practical applications, since the time for a layer operation does not exceed 24 hours, the above-mentioned predetermined time can be 24 hours.
[0067] In order to obtain the above-mentioned fifth data more accurately, in another embodiment of the present application, the above-mentioned fourth determination submodule includes: when the above-mentioned second difference is greater than the above-mentioned first predetermined value, determining that the previous data of the data in the above-mentioned fifth data set that is identical to the above-mentioned first data in the above-mentioned second data set is the above-mentioned fifth data; when the above-mentioned second difference is less than or equal to the above-mentioned first predetermined value, determining that the previous data of the data in the above-mentioned fifth data set that is identical to the third data in the above-mentioned second data set is the above-mentioned fifth data.
[0068] Specifically, when the second difference is greater than the first predetermined value, that is, the first data is the end data of a layered job, the fifth data set will also include this data, and this data is the fifth data. When the second difference is less than or equal to the first predetermined value, that is, the first data is the job data of an intermediate time of a layered job time, and the data identical to the first data cannot be found in the fifth data set. At this time, the end data of the layered job where the first data is located is the data after the first data in the third data set. Then, it can be determined that the fifth data is the previous data of the data in the fifth data set that is identical to the second data in the third data set.
[0069] In practical applications, for the convenience of calculation, an ordered set footMarkList for storing hierarchical footmarks can be defined. The hierarchical footmark corresponding to the first data in the second data set is 0 and stored in footMarkList. The hierarchical footmarks of other data in the second data set are incremented by 1 and stored in footMarkList. Similarly, an ordered set footMarkList2 of hierarchical footmarks corresponding to each data in the fifth data set is defined.
[0070] In another specific embodiment of the present application, the two corresponding data whose layered operation time in the above-mentioned third data set is greater than the second predetermined value are determined as the target layered operation data group, and the difference between the operation time corresponding to the even-numbered data in the above-mentioned third data set and the previous data of the above-mentioned even-numbered data is one of the above-mentioned layered operation time, that is, the even-numbered data corresponds to the data of the end time of a layer of layered operation, and the previous data of the even-numbered data corresponds to the data of the start time of a layer of layered operation. For data that need to calculate the cumulative value, such as energy consumption, liquid volume, sand volume, etc., the value corresponding to the end operation data minus the value corresponding to the start operation data is the cumulative value of this layer. For data for which the maximum or minimum value is to be calculated, such as pressure, etc., the maximum or minimum value of the operation of this layer can be obtained by querying the historical data according to the start time and the end time. For data for which the average value is to be calculated, the average value of the operation of this layer can be obtained by averaging all data within the start time and the end time period. By analyzing the historical data of the equipment, the target layered data group of the fracturing equipment can be analyzed by the method in the embodiments of the present application. At the same time, the start time, end time, liquid volume, energy consumption, pressure range and other information of each layer operation can be calculated. The real fracturing operation information of the equipment can be obtained remotely, which is of great help in improving the efficiency of operation management and lays a good foundation for the statistics of other data of the well site or equipment.
[0071] The device for determining the layered operation data of the above-mentioned fracturing equipment includes a processor and a memory. The above-mentioned first processing unit, second processing unit, first determination unit and second determination unit are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.
[0072] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the problem of being unable to effectively calculate the device hierarchical operation data through the device's historical operation data in the prior art is solved by adjusting the kernel parameters.
[0073] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0074] An embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method for determining the layered operation data of the fracturing device.
[0075] An embodiment of the present invention provides a processor, and the processor is used to run a program, wherein the program executes the method for determining the layered operation data of the fracturing equipment when running.
[0076] An embodiment of the present invention provides a device, the device including a processor, a memory, and a program stored in the memory and executable on the processor, and when the processor executes the program, at least the following steps are implemented:
[0077] Step S101, receiving the operation data sent by the target device, filtering out the operation data that meets the first predetermined condition, obtaining valid operation data, and sorting the valid operation data between the first operation time and the second operation time according to the corresponding operation time to obtain a first data set;
[0078] Step S102, sorting the first data, the first fault data and the second data according to the corresponding operation time to form a second data set, wherein the first data is the first data in the first data set, the first fault data is two adjacent data in the first data set whose corresponding operation time difference is greater than a first predetermined value, and the second data is the last data in the first data set;
[0079] Step S103, determining a third data set at least according to whether the second data in the second data set meets the second predetermined condition and whether the first data in the second data set meets the third predetermined condition, wherein the third data set includes at least all data except the last two data in the second data set, and starting from the third data in the third data set, the difference between the operation time corresponding to the odd-numbered data and the previous data of the odd-numbered data is greater than the first predetermined value;
[0080] Step S104, determine that the two corresponding data in the third data set whose layered operation time is greater than the second predetermined value are the target layered operation data group, and the difference between the operation time corresponding to the even-numbered data in the third data set and the previous data of the even-numbered data is one of the layered operation time.
[0081] The devices in this article can be servers, PCs, PADs, mobile phones, etc.
[0082] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program for initializing at least the following method steps:
[0083] Step S101, receiving the operation data sent by the target device, filtering out the operation data that meets the first predetermined condition, obtaining valid operation data, and sorting the valid operation data between the first operation time and the second operation time according to the corresponding operation time to obtain a first data set;
[0084] Step S102, sorting the first data, the first fault data and the second data according to the corresponding operation time to form a second data set, wherein the first data is the first data in the first data set, the first fault data is two adjacent data in the first data set whose corresponding operation time difference is greater than a first predetermined value, and the second data is the last data in the first data set;
[0085] Step S103, determining a third data set at least according to whether the second data in the second data set meets the second predetermined condition and whether the first data in the second data set meets the third predetermined condition, wherein the third data set includes at least all data except the last two data in the second data set, and starting from the third data in the third data set, the difference between the operation time corresponding to the odd-numbered data and the previous data of the odd-numbered data is greater than the first predetermined value;
[0086] Step S104, determine that the two corresponding data in the third data set whose layered operation time is greater than the second predetermined value are the target layered operation data group, and the difference between the operation time corresponding to the even-numbered data in the third data set and the previous data of the even-numbered data is one of the layered operation time.
[0087] According to another aspect of the present application, an electronic device is provided, comprising: one or more processors, a memory, a display device and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include a method for determining layered operation data for executing any of the above-mentioned fracturing equipment.
[0088] Figure 3 is a logic diagram of a method for determining layered operation data of a fracturing device according to an embodiment of the present application. Figure 3 To explain in detail:
[0089] A first data set is obtained and a second data set is formed, the operation data sent by the target device is received, the operation data satisfying the first predetermined condition is screened out to obtain valid operation data, the valid operation data between the first operation time and the second operation time are sorted according to the corresponding operation time to obtain the first data set, the first data, the first fault data and the second data are sorted according to the corresponding operation time to form the second data set, the first data is the first data in the first data set, the first fault data is two adjacent data in the first data set whose difference in the corresponding operation time is greater than the first predetermined value, and the second data is the last data in the first data set;
[0090] Determine whether the second data satisfies a second predetermined condition, where the second predetermined condition is that a difference between the operation times corresponding to the second data and the third data is greater than the first predetermined value;
[0091] In the case where the second data satisfies the second predetermined condition, it is determined that the second data does not belong to the third data set and the third data belongs to the third data set, the third data is data in the second data set that is adjacent to the second data, the third data set at least includes all data in the second data set except the last two data, and starting from the third data in the third data set, the difference between the operation time corresponding to the odd-numbered data and the previous data of the odd-numbered data is greater than the first predetermined value;
[0092] If the second data does not satisfy the second predetermined condition, determining whether there is fourth data, the fourth data being the valid operation data adjacent to the second data and corresponding to an operation time after the second operation time;
[0093] In the absence of the fourth data, determining that the second data and the third data belong to the third data set;
[0094] When the fourth data exists, a first difference is calculated, where the first difference is a difference between the operation times corresponding to the second data and the fourth data;
[0095] determining whether the first difference is greater than a first predetermined value;
[0096] When the first difference is greater than a first predetermined value, determining that the second data and the third data belong to a third data set;
[0097] When the first difference is less than or equal to the first predetermined value, determining that the second data and the third data do not belong to the third data set;
[0098] whether the first data satisfies a third predetermined condition, the third predetermined condition being that a difference between the first data and the operation time corresponding to the valid operation data adjacent to the first data and corresponding to an operation time before the first operation time is less than or equal to the first predetermined value;
[0099] In the case where the first data satisfies the third predetermined condition, a fourth data set is obtained, and a fifth data set is formed. The valid operation data between the third operation time and the second operation time are sorted according to the corresponding operation time to obtain the fourth data set, the third operation time is a time predetermined time before the first operation time, and the first data in the fourth data set, two adjacent data in the fourth data set whose corresponding operation time difference is greater than the first predetermined value, and the last data in the fourth data set are sorted in time order to form the fifth data set;
[0100] Calculating a second difference, where the second difference is a difference between the operation times corresponding to the first data in the second data set and the data adjacent to the first data in the second data set;
[0101] determining whether the second difference is greater than a first predetermined value;
[0102] In the case where the second difference is greater than the first predetermined value, the previous data of the data in the fifth data set that is the same as the first data in the second data set is determined to be the fifth data, the fifth data is the valid operation data whose corresponding operation time is adjacent to the first data and before the valid operation data whose corresponding operation time is before the first operation time, and the difference between the operation times corresponding to the fifth data and the sixth data is greater than the first predetermined value, and the sixth data is the valid operation data whose corresponding operation time is adjacent to the fifth data and before the operation time corresponding to the fifth data;
[0103] When the second difference is less than or equal to the first predetermined value, determining that the previous data of the data in the fifth data set that is the same as the second data in the second data set is the fifth data;
[0104] determining that the fifth data belongs to the third data set;
[0105] determining a third data set;
[0106] A target layered operation data group is determined, wherein two corresponding data in the third data set whose layered operation time is greater than a second predetermined value are the target layered operation data group.
[0107] 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.
[0108] 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.
[0109] 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 comprising 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.
[0110] 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.
[0111] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0112] 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.
[0113] 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.
[0114] 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.
[0115] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
[0116] 1) The method for determining the layered operation data of the above-mentioned fracturing equipment of the present application, first, receives the above-mentioned operation data sent by the target equipment, screens out the above-mentioned operation data that meets the first predetermined condition, obtains the effective operation data, and sorts the above-mentioned effective operation data between the first operation time and the second operation time according to the corresponding operation time to obtain the first data set; then, sorts the first data, the first fault data and the second data according to the corresponding operation time to form the second data set, wherein the above-mentioned first data is the first data in the above-mentioned first data set, the above-mentioned first fault data is two adjacent data in the above-mentioned first data set whose difference in the corresponding operation time is greater than the first predetermined value, and the above-mentioned second data is the last data in the above-mentioned first data set; then, At least based on whether the second data in the second data set meets the second predetermined condition, and whether the first data in the second data set meets the third predetermined condition, determine the third data set, the third data set includes at least all the data in the second data set except the last two data, and starting from the third data in the third data set, the difference between the operation time corresponding to the odd-numbered data and the previous data of the odd-numbered data is greater than the first predetermined value; finally, determine that the corresponding two data in the third data set whose layered operation time is greater than the second predetermined value are the target layered operation data group, and the difference between the operation time corresponding to the even-numbered data in the third data set and the previous data of the even-numbered data is one of the layered operation time. The method first obtains valid data from a first operation moment to a second operation moment, obtains part of the layered operation data between the first operation moment and the second operation moment, i.e., a second data set, by determining that the time between any two adjacent valid data is greater than a first predetermined value, and then determines a third data set by at least determining whether the first and last data in the second data set are layered operation data, so that the third data set contains multiple complete layered operation data, and finally determines that two data corresponding to a layered operation time greater than a second predetermined value are a target layered operation data group, so that the data changes within the layered operation time period can be calculated subsequently based on the target layered operation data, thereby solving the problem in the prior art that the layered operation data of the device cannot be effectively calculated through the historical operation data of the device.
[0117] 2) The device for determining the layered operation data of the above-mentioned fracturing equipment of the present application receives the above-mentioned operation data sent by the target device through the first processing unit, screens out the above-mentioned operation data that meets the first predetermined condition, obtains the effective operation data, and sorts the above-mentioned effective operation data between the first operation time and the second operation time according to the corresponding operation time to obtain the first data set; sorts the first data, the first fault data and the second data according to the corresponding operation time through the second processing unit to form the second data set, wherein the above-mentioned first data is the first data in the above-mentioned first data set, the above-mentioned first fault data is two adjacent data whose difference of the corresponding operation time in the above-mentioned first data set is greater than the first predetermined value, and the above-mentioned second data is the last data in the above-mentioned first data set; A determination unit determines a third data set based at least on whether the second data in the second data set meets a second predetermined condition and whether the first data in the second data set meets a third predetermined condition, wherein the third data set includes at least all data except the last two data in the second data set, and starting from the third data in the third data set, the difference between the operation time corresponding to the odd-numbered data and the previous data of the odd-numbered data is greater than the first predetermined value; the second determination unit determines that the two corresponding data in the third data set whose layered operation time is greater than the second predetermined value are the target layered operation data group, and the difference between the operation time corresponding to the even-numbered data in the third data set and the previous data of the even-numbered data is one of the layered operation time. The device first obtains valid data from the first operation moment to the second operation moment, and obtains part of the layered operation data between the first operation moment and the second operation moment, that is, the second data set, by determining that the time between any two adjacent valid data is greater than a first predetermined value, and then determines the third data set by at least determining whether the first and last data in the second data set are layered operation data, so that the third data set contains multiple complete layered operation data, and finally determines that the two data corresponding to the layered operation time greater than the second predetermined value are the target layered operation data group, so that the data changes within the layered operation time period can be calculated based on the target layered operation data subsequently, thereby solving the problem in the prior art that the layered operation data of the device cannot be effectively calculated through the historical operation data of the device.
[0118] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for determining layered operation data of a fracturing device, applied in a server, characterized in that: The layered operation data group is composed of the operation data at the beginning and the operation data at the end of a continuous operation time period of the fracturing equipment, and the method includes: Receiving the operation data sent by the target device, filtering out the operation data that meets the first predetermined condition to obtain valid operation data, and sorting the valid operation data between the first operation time and the second operation time according to the corresponding operation time to obtain a first data set; The first data, the first slice data and the second data are sorted according to the corresponding operation time to form a second data set, wherein the first data is the first data in the first data set, the first slice data is two adjacent data in the first data set whose corresponding operation time difference is greater than a first predetermined value, and the second data is the last data in the first data set; Determine a third data set at least according to whether the second data in the second data set meets a second predetermined condition and whether the first data in the second data set meets a third predetermined condition, wherein the third data set includes at least all data except the last two data in the second data set, and the difference between the operation time corresponding to the odd-numbered data and the previous data of the odd-numbered data in the third data set starting from the third data is greater than the first predetermined value; Determine that the two corresponding data in the third data set whose layered operation time is greater than the second predetermined value are the target layered operation data group, and the difference between the operation time corresponding to the even-numbered data in the third data set and the previous data of the even-numbered data is one of the layered operation time.
2. The method according to claim 1, characterized in that Determining a third data set at least according to whether the second data in the second data set meets a second predetermined condition and whether the first data in the second data set meets a third predetermined condition includes: In the case where the second data satisfies the second predetermined condition, determining that the second data does not belong to the third data set and the third data belongs to the third data set, wherein the third data is data in the second data set adjacent to the second data, and the second predetermined condition is that a difference between operation times corresponding to the second data and the third data is greater than the first predetermined value; When the second data does not satisfy the second predetermined condition, whether the second data and the third data belong to the third data set is determined at least based on whether fourth data exists, and the fourth data is the valid operation data that is adjacent to the second data and corresponds to an operation time after the second operation time.
3. The method according to claim 2, characterized in that Determining whether the second data and the third data belong to the third data set at least according to whether the fourth data exists includes: In the case where the fourth data exists, calculating the difference between the operation times corresponding to the second data and the fourth data to obtain a first difference; When the first difference is greater than the first predetermined value, determining that the second data and the third data belong to the third data set; When the first difference is less than or equal to the first predetermined value, it is determined that the second data and the third data do not belong to the third data set.
4. The method according to claim 2, characterized in that: Determining whether the second data and the third data belong to the third data set at least according to whether the fourth data exists includes: In a case where the fourth data does not exist, it is determined that the second data and the third data belong to the third data set.
5. The method according to claim 1, characterized in that Determining a third data set at least according to whether the second data in the second data set meets a second predetermined condition and whether the first data in the second data set meets a third predetermined condition includes: When the first data satisfies the third predetermined condition, the fifth data is obtained and it is determined that the fifth data belongs to the third data set, the third predetermined condition being that the difference between the operation time corresponding to the first data and the valid operation data adjacent to the first data and whose corresponding operation time is before the first operation time is less than or equal to the first predetermined value, the fifth data is the valid operation data whose corresponding operation time is before the valid operation data adjacent to the first data and whose corresponding operation time is before the first operation time, and the difference between the operation time corresponding to the fifth data and the sixth data is greater than the first predetermined value, and the sixth data is the valid operation data adjacent to the fifth data and whose corresponding operation time is before the operation time corresponding to the fifth data.
6. The method according to claim 5, characterized in that The fifth data is obtained, including: The valid operation data between a third operation time and the second operation time are sorted according to the corresponding operation time to obtain a fourth data set, wherein the third operation time is a time before the first operation time by a predetermined time; The first data in the fourth data set, two adjacent data in the fourth data set whose difference in operation time is greater than the first predetermined value, and the last data in the fourth data set are sequentially arranged to form a fifth data set; Calculating a difference in operation time corresponding to the first data in the second data set and data adjacent to the first data in the second data set to obtain a second difference; The position of the fifth data in the fifth data set is determined according to whether the second difference is greater than the first predetermined value.
7. The method according to claim 6, characterized in that Determining the position of the fifth data in the fifth data set according to whether the second difference is greater than the first predetermined value includes: When the second difference is greater than the first predetermined value, determining that the previous data of the data in the fifth data set that is the same as the first data in the second data set is the fifth data; When the second difference is less than or equal to the first predetermined value, the previous data of the data in the fifth data set that is the same as the second data in the second data set is determined to be the fifth data.
8. A device for determining layered operation data of a fracturing device, applied in a server, characterized in that: The layered operation data group is composed of the operation data at the beginning and the operation data at the end of a continuous operation time period of the fracturing equipment, and the device comprises: A first processing unit is used to receive the operation data sent by the target device, filter out the operation data that meets the first predetermined condition, obtain valid operation data, and sort the valid operation data between the first operation time and the second operation time according to the corresponding operation time to obtain a first data set; A second processing unit is used to sort the first data, the first slice data and the second data according to the corresponding operation time to form a second data set, wherein the first data is the first data in the first data set, the first slice data is two adjacent data in the first data set whose difference of the corresponding operation time is greater than a first predetermined value, and the second data is the last data in the first data set; A first determining unit, configured to determine a third data set at least according to whether the second data in the second data set meets a second predetermined condition and whether the first data in the second data set meets a third predetermined condition, wherein the third data set includes at least all data except the last two data in the second data set, and the difference between the operation time corresponding to the odd-numbered data and the previous data of the odd-numbered data in the third data set starting from the third data is greater than the first predetermined value; The second determination unit is used to determine that the two corresponding data in the third data set whose layered operation time is greater than the second predetermined value are the target layered operation data group, and the difference between the operation time corresponding to the even-numbered data in the third data set and the previous data of the even-numbered data is one of the layered operation time.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method for determining layered operation data of a fracturing device according to any one of claims 1 to 7.
10. A processor, characterized in that: The processor is used to run a program, wherein the program, when running, executes the method for determining layered operation data of a fracturing device according to any one of claims 1 to 7.
11. An electronic device, characterized in that: include: One or more processors, a memory, a display device, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include a method for determining layered operation data of the fracturing equipment according to any one of claims 1 to 7.
