Fracturing condition monitoring method and system based on virtual serial port data interception technology
By using virtual serial port technology to achieve data acquisition and transmission on the fracturing truck, the problem of data acquisition difficulties for different models of instrument trucks has been solved, improving data compatibility and security, and enhancing the efficiency and intelligence level of fracturing operations.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- PETROCHINA CO LTD
- Filing Date
- 2024-11-28
- Publication Date
- 2026-05-29
Smart Images

Figure CN122111910A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of digital auxiliary technology for oil and gas fracturing construction, specifically a fracturing condition monitoring method and system based on virtual serial port data interception technology. Background Technology
[0002] Fracturing is a primary technical means for enhancing production in low-permeability oil and gas fields, playing a crucial role, especially in releasing production capacity from low-permeability and unconventional reservoirs. The fracturing process is characterized by high risk, difficulty, and cost, and has always been a key focus in oil and gas field production. Fracturing operation curves are fundamental data for real-time monitoring and analysis during and after production enhancement operations, obtaining operational parameters, subsequent engineering assessments, and evaluations of the production enhancement process.
[0003] In the traditional working model, technicians provide on-site technical support for fracturing operations, dynamically adjusting technical solutions based on expert experience to ensure the effectiveness of fracturing measures and construction safety. After fracturing, the curve data is copied and collected for later research. Decades of accumulation in oil and gas field informatization, particularly in the construction and upgrading of infrastructure centered on the Internet of Things (IoT) for oil and gas production, have made significant progress, enabling real-time acquisition and remote application of oilfield fracturing curves. Accurate, safe, and real-time acquisition of fracturing curves from the construction site and transmission to the oilfield cloud data center not only enables remote technical support but also allows for intelligent early warning of fracturing conditions and real-time 3D simulation of underground fracture propagation, laying the foundation for research on intelligent fracturing technology.
[0004] There are two ways to collect fracturing curve data: First, directly connecting to the signal acquisition interface of the fracturing truck. This method provides timely data acquisition without intermediaries, ensuring data accuracy and reliability. However, different fracturing trucks use different signal acquisition interface protocols, requiring hardware protocol research, which is challenging. Furthermore, if the fracturing truck lacks sufficient signal interfaces, data acquisition is impossible. Second, acquiring and parsing the pre-collected data from the instrument truck's computer to perform secondary acquisition of the fracturing curve data. This method avoids the interface protocol and number issues associated with direct acquisition from the fracturing truck. Although the timeliness of data acquisition is reduced, the delay is less than 3 seconds, which does not affect remote monitoring. Therefore, the secondary acquisition method is more suitable for large-scale application and promotion.
[0005] The upgrade of fracturing truck versions has posed challenges to the existing secondary data acquisition methods. After the upgrade, data files for some instrument truck models are exclusively controlled by the instruments, allowing only internal data looping within the instrument's scope and not supporting file sharing. On the one hand, different fracturing trucks use different signal acquisition interface protocols, making data acquisition difficult; on the other hand, the exclusive control of data files by some instrument truck models after the upgrade, preventing file sharing, further exacerbates the difficulties in data acquisition. Summary of the Invention
[0006] This invention provides a method and system for monitoring fracturing conditions based on virtual serial port data interception technology, which solves the problem of high difficulty in data acquisition from fracturing trucks.
[0007] To achieve the above objectives, the present invention provides the following technical solution: A fracturing condition monitoring method based on virtual serial port data interception technology includes: Collect the operating parameters of the fracturing equipment and the fracturing operation parameters on site, convert them to a protocol, and then transmit the converted parameters to the computer of the fracturing instrument vehicle. Start the virtual serial port setting software on the instrument vehicle computer, identify the physical serial port and set the virtual serial port; The fracturing instrument vehicle computer information is read through a virtual serial port, and the read information is cached in a designated location on the instrument vehicle computer, and data integrity is verified. The information read from the fracturing instrument vehicle computer is sent to the fracturing vehicle's built-in data acquisition software on one side, and to the designated serial port on the instrument vehicle computer on the other side via a virtual serial port. Read data from the specified serial port and preprocess the read data to obtain preset parameters; The preset parameters are transmitted to the oilfield cloud data center.
[0008] Preferably, the operating parameters and fracturing operation parameters are converted to the RS485 protocol.
[0009] Preferably, in the virtual serial port setting step, at least two virtual serial ports are set, and the two virtual serial ports obtain the same data.
[0010] Preferably, the data preprocessing specifically involves denoising and edge computing.
[0011] Preferably, data preprocessing also includes data normalization.
[0012] Preferably, when transmitting preset parameters to the oilfield cloud data center, the processed preset parameters are transmitted to the oilfield cloud data center in real time via 4G or APN wireless communication technology.
[0013] Preferably, when transmitting the preset parameters to the oilfield cloud data center, an encrypted transmission protocol and a security authentication mechanism are used.
[0014] Preferably, a breakpoint resume and retransmission mechanism is used when transmitting preset parameters to the oilfield cloud data center.
[0015] Preferably, the data reading, caching and verification steps employ a loop reading and caching mechanism.
[0016] A fracturing condition monitoring system based on virtual serial port data interception technology includes: Data acquisition module: used to collect the operating parameters and fracturing operation parameters of the fracturing equipment on site, convert them into protocols, and transmit the converted parameters to the computer of the fracturing instrument vehicle; Virtual serial port setting module: used to start the virtual serial port setting software on the instrument vehicle computer, identify the physical serial port and set the virtual serial port; Data reading module: Used to read information from the fracturing instrument vehicle computer via a virtual serial port, cache the read information in a specified location on the instrument vehicle computer, and perform data integrity verification; Data splitting module: Used to send the information read from the fracturing instrument vehicle computer to the fracturing vehicle's built-in data acquisition software on one side, and to send it to a specified serial port on the instrument vehicle computer on the other side via a virtual serial port; Data processing module: used to read data from a specified serial port and preprocess the read data to obtain preset parameters; Data transmission module: Used to transmit preset parameters to the oilfield cloud data center.
[0017] Preferably, the operating parameters and fracturing operation parameters are converted to the RS485 protocol.
[0018] Preferably, in the virtual serial port setting step, at least two virtual serial ports are set, and the two virtual serial ports obtain the same data.
[0019] Preferably, the data preprocessing specifically involves denoising and edge computing.
[0020] Preferably, data preprocessing also includes data normalization.
[0021] Preferably, when transmitting preset parameters to the oilfield cloud data center, the processed preset parameters are transmitted to the oilfield cloud data center in real time via 4G or APN wireless communication technology.
[0022] Preferably, when transmitting the preset parameters to the oilfield cloud data center, an encrypted transmission protocol and a security authentication mechanism are used.
[0023] Preferably, a breakpoint resume and retransmission mechanism is used when transmitting preset parameters to the oilfield cloud data center.
[0024] Preferably, the data reading, caching and verification steps employ a loop reading and caching mechanism.
[0025] Compared with existing technologies, this invention has the following advantages: This invention provides a fracturing condition monitoring method based on virtual serial port data interception technology. It can efficiently collect operating parameters and fracturing operation parameters of on-site fracturing equipment, and ensure data compatibility through protocol conversion. The parameters are then securely transmitted to the fracturing instrument vehicle computer. By activating the virtual serial port setting software, seamless integration between the physical and virtual serial ports is achieved, improving the flexibility of data reading and ensuring data integrity and accuracy. After being cached and verified on the instrument vehicle computer, the data is fed back in real-time to the fracturing vehicle's built-in data acquisition software, while simultaneously being efficiently sent to a designated serial port via the virtual serial port, achieving bidirectional data flow. Furthermore, the read data is preprocessed to extract key parameters, which are then instantly transmitted to the oilfield cloud data center, providing solid data support for remote monitoring and intelligent analysis, thereby significantly improving the efficiency and intelligence level of fracturing operations. Attached Figure Description
[0026] Figure 1 This is a flowchart of the fracturing condition monitoring method based on virtual serial port data interception technology of the present invention; Figure 2 This invention provides a data acquisition and transmission architecture based on virtual serial port data interception technology. Figure 3 This is a block diagram of the fracturing condition monitoring system based on virtual serial port data interception technology of the present invention. Detailed Implementation
[0027] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0028] Therefore, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention.
[0029] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0030] To enable those skilled in the art to better understand the technical solution of the present invention, the present invention will be further described in detail below with reference to the accompanying drawings.
[0031] The purpose of this invention is to design a flexible and universal fracturing instrument data acquisition method. At the oil and gas field fracturing construction site, without affecting the fracturing construction site or the operation of the fracturing instrument vehicle's built-in data acquisition software, the method uses pure software technology to accurately, safely, and in real time acquire fracturing curve data at the construction site and transmit it to the oilfield cloud data center.
[0032] like Figure 1 As shown, this invention provides a method for monitoring fracturing conditions based on virtual serial port data interception technology, including: S101 collects the operating parameters and fracturing operation parameters of the fracturing equipment on site and performs protocol conversion, then transmits the converted parameters to the computer of the fracturing instrument vehicle. S102 starts the virtual serial port setting software on the instrument vehicle computer, identifies the physical serial port and sets the virtual serial port; S103 reads information from the fracturing instrument vehicle computer via a virtual serial port, caches the read information in a designated location on the instrument vehicle computer, and performs data integrity verification. S104 sends the information read from the fracturing instrument vehicle computer to the fracturing vehicle's built-in data acquisition software on one side, and to the designated serial port on the instrument vehicle computer on the other side via a virtual serial port. S105 reads data from a specified serial port and preprocesses the read data to obtain preset parameters; S106 transmits the preset parameters to the oilfield cloud data center.
[0033] It can efficiently collect operating parameters and fracturing operation parameters of on-site fracturing equipment, and ensure data compatibility through protocol conversion before securely transmitting the parameters to the fracturing instrument vehicle's computer. By activating virtual serial port configuration software, seamless integration between the physical and virtual serial ports is achieved, improving the flexibility of data reading and ensuring data integrity and accuracy. After being cached and verified on the instrument vehicle's computer, the data is fed back in real-time to the fracturing vehicle's built-in data acquisition software, while simultaneously being efficiently transmitted to a designated serial port via the virtual serial port, enabling bidirectional data flow. Furthermore, the read data is preprocessed to extract key parameters, which are then instantly transmitted to the oilfield cloud data center, providing robust data support for remote monitoring and intelligent analysis, thereby significantly improving the efficiency and intelligence level of fracturing operations.
[0034] The operating parameters and fracturing operation parameters protocol is converted to RS485 protocol.
[0035] Converting operating and construction parameters to RS485 protocol ensures data compatibility and universality, enabling the method to be widely applied to fracturing equipment of different models and specifications, and reducing the complexity of data acquisition and transmission.
[0036] In the virtual serial port setup process, at least two virtual serial ports should be set up, and both virtual serial ports should obtain the same data.
[0037] Setting up at least two virtual serial ports and ensuring they receive the same data improves the flexibility and reliability of data reading. This design allows data to be shared across different applications or systems without repeatedly collecting the original data, thus improving work efficiency.
[0038] Data preprocessing specifically involves denoising and edge computing.
[0039] Denoising and edge computing on data effectively improve its accuracy and usability. Denoising reduces noise and interference in the data, while edge computing extracts key information, providing a more accurate data foundation for subsequent monitoring and analysis.
[0040] Data preprocessing also includes data normalization.
[0041] Data preprocessing also includes data normalization, a step that eliminates dimensional differences in the data, making comparisons and analyses between different parameters more accurate and reliable. Normalized data is more easily processed and utilized by machine learning algorithms, improving the efficiency and accuracy of data analysis.
[0042] When transmitting preset parameters to the oilfield cloud data center, the processed preset parameters are transmitted to the oilfield cloud data center in real time via 4G or APN wireless communication technology.
[0043] The processed preset parameters are transmitted to the oilfield cloud data center in real time via 4G or APN wireless communication technology, enabling remote real-time data monitoring. This technology allows technicians to access the latest information on fracturing operations anytime, anywhere, providing strong support for timely decision-making and response to emergencies.
[0044] When transmitting preset parameters to the oilfield cloud data center, an encrypted transmission protocol and a security authentication mechanism are used.
[0045] By employing encrypted transmission protocols and secure authentication mechanisms, the security and confidentiality of data during transmission are ensured. This design effectively prevents the risk of data theft or tampering, protecting the company's trade secrets and privacy information.
[0046] When transmitting preset parameters to the oilfield cloud data center, a breakpoint resume and retransmission mechanism is used.
[0047] By employing breakpoint resumption and retransmission mechanisms, the reliability and stability of data transmission are ensured. When an interruption or error occurs during data transmission, this method can automatically resume transmission and resend data, avoiding data loss and transmission failure.
[0048] The data reading, caching, and verification steps employ a loop reading and caching mechanism.
[0049] The data reading, caching, and verification processes employ a cyclic reading and caching mechanism to ensure data continuity and integrity. This design allows data to be continuously read and cached at designated locations, while also performing data integrity verification, providing a reliable data source for subsequent data processing and analysis.
[0050] like Figure 2 As shown, an embodiment of the present invention provides a method for monitoring fracturing conditions based on virtual serial port data interception technology, including: Summary of fracturing equipment signals: The operating parameters and fracturing operation parameters of the fracturing equipment on site are collected by the fracturing truck instrument control system and converted into RS485 protocol and transmitted to the fracturing truck computer through the data acquisition module.
[0051] Start the virtual serial port setup software on the instrument panel vehicle's computer. It will first automatically identify the physical serial port on the computer and then configure the virtual serial port, such as... Figure 2 As shown.
[0052] The startup thread reads the information collected by the information acquisition unit through the virtual serial port and temporarily stores it in a designated physical location in the instrument vehicle computer.
[0053] The aggregated signal data is sent to the data acquisition software built into the fracturing truck on one side, and to a designated serial port on the instrument vehicle computer on the other side via a virtual serial port.
[0054] The fracturing data acquisition software's data acquisition module reads data from a specified serial port and identifies the corresponding construction channel.
[0055] The data processing module of the fracturing data acquisition software performs noise reduction and edge calculation on the read data.
[0056] The transmission module of the fracturing data acquisition software transmits preset parameters to the oilfield cloud data center via 4G or APN.
[0057] The method in this embodiment is characterized by its strong applicability and simple operation, and can collect fracturing operation data to the oilfield cloud data center in real time. A virtual serial port is created on the instrument vehicle computer, and a serial port splitting technology is adopted. One path sends the data to the host computer on site through forwarding software to ensure that the host computer displays the data in real time. The other path forwards the data to the data acquisition and transmission client on site through forwarding software, and transmits the data to the back-end base through the network.
[0058] An embodiment of the present invention provides a method for monitoring fracturing conditions based on virtual serial port data interception technology, comprising: Launch the virtual serial port setup software on the instrument panel computer and configure virtual serial ports COM2 and COM3. After creating two virtual ports, both COM ports can obtain the same data.
[0059] COM1 receives data from the industrial control computer. A data splitting tool is then activated to transfer the data from COM1 to COM2. At this point, monitoring COM2 and COM3 will yield the same data.
[0060] The fracturing data acquisition software monitors the data on the COM2 port, while other data acquisition software on the instrument truck monitors the data on the COM3 port. This achieves data splitting.
[0061] Collect on-site channel data and configure corresponding parameters in the acquisition software. Examples include oil pressure, sand concentration, discharge rate, and total liquid volume. Use mean filtering to denoise the data, and calculate key parameters such as total liquid volume by summarizing the discharge flow rates.
[0062] The transmission module of the fracturing data acquisition software transmits the processed preset parameters to the oilfield cloud data center via 4G or APN network, enabling remote monitoring and analysis of the data.
[0063] like Figure 3 As shown, the present invention also provides a fracturing condition monitoring system based on virtual serial port data interception technology, including: Data acquisition module: used to collect the operating parameters and fracturing operation parameters of the fracturing equipment on site, convert them into protocols, and transmit the converted parameters to the computer of the fracturing instrument vehicle; Virtual serial port setting module: used to start the virtual serial port setting software on the instrument vehicle computer, identify the physical serial port and set the virtual serial port; Data reading module: Used to read information from the fracturing instrument vehicle computer via a virtual serial port, cache the read information in a specified location on the instrument vehicle computer, and perform data integrity verification; Data splitting module: Used to send the information read from the fracturing instrument vehicle computer to the fracturing vehicle's built-in data acquisition software on one side, and to send it to a specified serial port on the instrument vehicle computer on the other side via a virtual serial port; Data processing module: used to read data from a specified serial port and preprocess the read data to obtain preset parameters; Data transmission module: Used to transmit preset parameters to the oilfield cloud data center.
[0064] The operating parameters and fracturing operation parameters protocol is converted to RS485 protocol.
[0065] In the virtual serial port setting step, at least two virtual serial ports are set up, and the two virtual serial ports obtain the same data.
[0066] Data preprocessing specifically involves denoising and edge computing.
[0067] Data preprocessing also includes data normalization.
[0068] When transmitting preset parameters to the oilfield cloud data center, the processed preset parameters are transmitted to the oilfield cloud data center in real time via 4G or APN wireless communication technology.
[0069] When transmitting preset parameters to the oilfield cloud data center, an encrypted transmission protocol and a security authentication mechanism are used.
[0070] When transmitting preset parameters to the oilfield cloud data center, a breakpoint resume and retransmission mechanism is used.
[0071] The data reading, caching, and verification steps employ a loop reading and caching mechanism.
[0072] An embodiment of the present invention provides a terminal device. This terminal device includes a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps in the various method embodiments described above. Alternatively, when the processor executes the computer program, it implements the functions of each module / unit in the various device embodiments described above.
[0073] The computer program can be divided into one or more modules / units, which are stored in the memory and executed by the processor to complete the present invention.
[0074] The terminal device may be a desktop computer, laptop, handheld computer, or cloud server, etc. The terminal device may include, but is not limited to, a processor and a memory.
[0075] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0076] The memory can be used to store the computer program and / or module. The processor implements various functions of the terminal device by running or executing the computer program and / or module stored in the memory and calling the data stored in the memory.
[0077] If the modules / units integrated into the terminal device are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium can be appropriately added or removed according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electrical carrier signals and telecommunication signals.
[0078] Although embodiments of the present invention have been described above in conjunction with the accompanying drawings, the present invention is not limited to the specific embodiments and application fields described above. The specific embodiments described above are merely illustrative and instructive, and not restrictive. Those skilled in the art, guided by the specification, can make many other modifications without departing from the scope of the claims of the present invention, and all of these modifications are within the scope of protection of the present invention.
Claims
1. A method for monitoring fracturing conditions based on virtual serial port data interception technology, characterized in that, include: Collect the operating parameters of the fracturing equipment and the fracturing operation parameters on site, convert them to a protocol, and then transmit the converted parameters to the computer of the fracturing instrument vehicle. Start the virtual serial port setting software on the instrument vehicle computer, identify the physical serial port and set the virtual serial port; The fracturing instrument vehicle computer information is read through a virtual serial port, and the read information is cached in a designated location on the instrument vehicle computer, and data integrity is verified. The information read from the fracturing instrument vehicle computer is sent to the fracturing vehicle's built-in data acquisition software on one side, and to the designated serial port on the instrument vehicle computer on the other side via a virtual serial port. Read data from the specified serial port and preprocess the read data to obtain preset parameters; The preset parameters are transmitted to the oilfield cloud data center.
2. The fracturing condition monitoring method based on virtual serial port data interception technology according to claim 1, characterized in that, The operating parameters and fracturing operation parameters protocol is converted to RS485 protocol.
3. The fracturing condition monitoring method based on virtual serial port data interception technology according to claim 1, characterized in that, In the virtual serial port setting step, at least two virtual serial ports are set up, and the two virtual serial ports obtain the same data.
4. The fracturing condition monitoring method based on virtual serial port data interception technology according to claim 1, characterized in that, Data preprocessing specifically involves denoising and edge computing.
5. The fracturing condition monitoring method based on virtual serial port data interception technology according to claim 4, characterized in that, Data preprocessing also includes data normalization.
6. The fracturing condition monitoring method based on virtual serial port data interception technology according to claim 1, characterized in that, When transmitting preset parameters to the oilfield cloud data center, the processed preset parameters are transmitted to the oilfield cloud data center in real time via 4G or APN wireless communication technology.
7. The fracturing condition monitoring method based on virtual serial port data interception technology according to claim 1, characterized in that, When transmitting preset parameters to the oilfield cloud data center, an encrypted transmission protocol and a security authentication mechanism are used.
8. The fracturing condition monitoring method based on virtual serial port data interception technology according to claim 1, characterized in that, When transmitting preset parameters to the oilfield cloud data center, a breakpoint resume and retransmission mechanism is used.
9. The fracturing condition monitoring method based on virtual serial port data interception technology according to claim 1, characterized in that, The data reading, caching, and verification steps employ a loop reading and caching mechanism.
10. A fracturing condition monitoring system based on virtual serial port data interception technology, characterized in that, include: Data acquisition module: used to collect the operating parameters and fracturing operation parameters of the fracturing equipment on site, convert them into protocols, and transmit the converted parameters to the computer of the fracturing instrument vehicle; Virtual serial port setting module: used to start the virtual serial port setting software on the instrument vehicle computer, identify the physical serial port and set the virtual serial port; Data reading module: Used to read information from the fracturing instrument vehicle computer via a virtual serial port, cache the read information in a specified location on the instrument vehicle computer, and perform data integrity verification; Data splitting module: Used to send the information read from the fracturing instrument vehicle computer to the fracturing vehicle's built-in data acquisition software on one side, and to send it to a specified serial port on the instrument vehicle computer on the other side via a virtual serial port; Data processing module: used to read data from a specified serial port and preprocess the read data to obtain preset parameters; Data transmission module: Used to transmit preset parameters to the oilfield cloud data center.