CN117834664A - Oil well data management system - Google Patents

Oil well data management system Download PDF

Info

Publication number
CN117834664A
CN117834664A CN202310896927.7A CN202310896927A CN117834664A CN 117834664 A CN117834664 A CN 117834664A CN 202310896927 A CN202310896927 A CN 202310896927A CN 117834664 A CN117834664 A CN 117834664A
Authority
CN
China
Prior art keywords
data
analysis
target
oil well
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310896927.7A
Other languages
Chinese (zh)
Other versions
CN117834664B (en
Inventor
陈志伟
吴锋
田伟志
张志文
张娜
武楠
赵元
刘洋
马鸿飞
郑丽君
刘中华
焦峰
武星
李晓明
张硕
范铮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China National Petroleum Corp
CNPC Great Wall Drilling Co
Original Assignee
China National Petroleum Corp
CNPC Great Wall Drilling Co
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China National Petroleum Corp, CNPC Great Wall Drilling Co filed Critical China National Petroleum Corp
Priority to CN202310896927.7A priority Critical patent/CN117834664B/en
Publication of CN117834664A publication Critical patent/CN117834664A/en
Application granted granted Critical
Publication of CN117834664B publication Critical patent/CN117834664B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/26Visual data mining; Browsing structured data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/02Agriculture; Fishing; Forestry; Mining
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Signal Processing (AREA)
  • Animal Husbandry (AREA)
  • Marine Sciences & Fisheries (AREA)
  • Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Mining & Mineral Resources (AREA)
  • General Business, Economics & Management (AREA)
  • Agronomy & Crop Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Medical Informatics (AREA)
  • Computing Systems (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The embodiment of the invention discloses an oil well data management system. The system comprises: a data acquisition subsystem, a data transmission subsystem and a data management subsystem; the data acquisition subsystem is used for acquiring oil well data associated with a target oil well and transmitting the oil well data to the data transmission subsystem based on a transmission protocol type corresponding to the oil well data; the data transmission subsystem is used for receiving the oil well data, analyzing the oil well data according to the sending protocol type to obtain analysis data, and transmitting the analysis data to the data management subsystem; the data management subsystem is used for receiving the analysis data and storing the analysis data. According to the technical scheme provided by the embodiment of the invention, the output of the oil well can be improved by improving the real-time performance and accuracy of the data management of the oil well.

Description

Oil well data management system
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to an oil well data management system.
Background
The oil well data management has important significance for the collection and construction of oil fields.
At present, oil well data management is mainly realized by manual inspection, in particular by a mode of copying all production data on site, which means that if an abnormal condition occurs on an oil field construction site, the oil well data management can be processed only by inspection staff.
However, because the oilfield construction site is usually remote and inconvenient in traffic, and the oil wells and the well stations are scattered, the number is large and the coverage area is wide, the currently adopted oil well data management mode has the problem of low instantaneity and accuracy, so that the output of the oil well can be influenced, and the problem of tapping is solved.
Disclosure of Invention
The embodiment of the invention provides an oil well data management system, which is used for improving the yield of an oil well by improving the real-time performance and the accuracy of oil well data management.
According to an aspect of the present invention, there is provided an oil well data management system, which may include: a data acquisition subsystem, a data transmission subsystem and a data management subsystem; wherein,
the data acquisition subsystem is used for acquiring the oil well data associated with the target oil well and transmitting the oil well data to the data transmission subsystem based on the transmission protocol type corresponding to the oil well data;
The data transmission subsystem is used for receiving the oil well data, analyzing the oil well data according to the type of the sending protocol to obtain analysis data, and transmitting the analysis data to the data management subsystem;
and the data management subsystem is used for receiving the analysis data and storing the analysis data.
According to the technical scheme, the data acquisition subsystem acquires the oil well data related to the target oil well, and sends the oil well data to the data transmission subsystem based on the sending protocol type corresponding to the oil well data; receiving the oil well data through the data transmission subsystem, analyzing the oil well data according to the type of the sending protocol to obtain analysis data, and transmitting the analysis data to the data management subsystem; the analysis data is received by the data management subsystem and stored. According to the technical scheme, the oil well data can be automatically and accurately acquired and timely transmitted to the data management subsystem, so that the instantaneity and the accuracy of oil well data management can be improved, and the oil well yield can be improved by improving the instantaneity and the accuracy of oil well data management.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention, nor is it intended to be used to limit the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a well data management system provided in accordance with an embodiment of the present invention;
FIG. 2 is a schematic layout diagram of a beam pumping unit in an oil well data management system according to an embodiment of the present invention;
FIG. 3 is a schematic layout of another beam-pumping unit in an oil well data management system according to an embodiment of the present invention;
FIG. 4 is a schematic layout diagram of a tower type pumping unit in an oil well data management system according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an analysis data transmission mode in an oil well data management system according to an embodiment of the present invention;
FIG. 6 is a block diagram of a data acquisition subsystem in an oil well data management system according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a remote terminal control system in an oil well data management system according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of a wireless load displacement sensor in an oil well data management system according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of a wireless digital pressure sensor in a well data management system provided in accordance with an embodiment of the present invention;
FIG. 10 is a schematic diagram of a wireless digital temperature sensor in a well data management system according to an embodiment of the present invention;
FIG. 11 is a schematic diagram of an oil well measurement and control instrument in an oil well data management system according to an embodiment of the present invention;
FIG. 12 is a block diagram of the interior of an oil well measurement and control instrument in an oil well data management system according to an embodiment of the present invention;
FIG. 13 is a schematic diagram of the installation position of an oil well measurement and control instrument in an oil well data management system according to an embodiment of the present invention;
FIG. 14 is a schematic diagram of the hardware components of a data management subsystem in a well data management system provided in accordance with an embodiment of the present invention;
FIG. 15 is an exemplary diagram of a server configuration page in a well data management system provided in accordance with an embodiment of the present invention;
FIG. 16 is an exemplary diagram of a target well data page in a well data management system provided in accordance with an embodiment of the present invention;
FIG. 17 is a flow chart of another well data management system provided in accordance with an embodiment of the present invention;
FIG. 18 is a schematic diagram of a protocol processing module workflow in another well data management system provided in accordance with an embodiment of the present invention;
FIG. 19 is a flow chart of yet another well data management system provided in accordance with an embodiment of the present invention;
FIG. 20 is a flow chart of yet another well data management system provided in accordance with an embodiment of the present invention;
FIG. 21 is a schematic diagram of the workflow of a target analysis module in yet another well data management system provided in accordance with an embodiment of the present invention;
FIG. 22 is a schematic diagram of an alternative example of a well data management system provided in accordance with an embodiment of the present invention;
FIG. 23 is a schematic diagram of another alternative example of a well data management system provided in accordance with an embodiment of the present invention;
FIG. 24 is a schematic diagram of yet another alternative example of a well data management system provided in accordance with an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. The cases of "target", "original", etc. are similar and will not be described in detail herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Fig. 1 is a block diagram of a well data management system provided in an embodiment of the present invention. The embodiment is applicable to the situation of oil well data management. Referring to fig. 1, the well data management system of the embodiment of the present invention may include: a data acquisition subsystem 110, a data transmission subsystem 120, and a data management subsystem 130; the data acquisition subsystem 110 is configured to acquire oil well data associated with a target oil well, and send the oil well data to the data transmission subsystem 120 based on a transmission protocol type corresponding to the oil well data; the data transmission subsystem 120 is configured to receive the oil well data, analyze the oil well data according to the transmission protocol type, obtain analysis data, and transmit the analysis data to the data management subsystem 130; the data management subsystem 130 is configured to receive the analysis data and store the analysis data.
Wherein the data acquisition subsystem 110 is a subsystem for acquiring well data. The target well is a well in need of management of well data it manages; the target well may be, for example, a rod-pumped well, a self-injection well, a screw pump well, and/or an electric submersible pump well, among others. The well data is data associated with a target well; the well data may include, for example, production operating parameters of the target well, a production station associated with the target well, an injection station associated with the target well, a combination station associated with the target well, and/or a gathering and transportation network associated with the target well, and so forth.
In the embodiment of the invention, equipment such as sensors, transmitters, automatic meters, video cameras and the like can be arranged at well sites and station libraries of a target oil well, the sensors can be oil pressure, casing pressure, temperature, displacement, load, infrared alarm, an electric power meter, current, voltage and the like, parameters such as current, voltage, temperature, pressure, flow, displacement, load and/or liquid level and the like of oil, gas, water well and/or production station libraries associated with the target oil well are collected in real time, and/or industrial audio and video data are used as oil well data, and the equipment such as the sensors can monitor the oil well data associated with the target oil well in real time and can adapt to various bad weather and environments so as to ensure that the oil well data are collected accurately in real time.
For example, referring to fig. 2 and 3, wellhead oil pressure sensors, casing pressure sensors, flow sensors, temperature sensors, load sensors or load sensors, displacement sensors, and infrared sensors may be deployed on a beam-pumping unit of a target oil well, with acquisition units and general packet radio service (General Packet Radio Service, GPRS) communication units installed in a dedicated cabinet of the beam-pumping unit, and current sensors installed in a power distribution cabinet of the beam-pumping unit.
For example, referring to fig. 4, a load sensor, an infrared sensor and a displacement sensor may be arranged on a tower type pumping unit of a target oil well, a temperature sensor, a back pressure sensor and a casing pressure sensor are arranged at a wellhead of the target oil well, and a current sensor, a voltage sensor and an electric power meter are arranged in a cabinet of a measurement and control terminal of the tower type pumping unit.
By way of example, if the target well is a rod-pumped well, the well data may be oil pressure, casing pressure, temperature, displacement, load, infrared alarm, electrical energy, current, voltage, and/or meniscus data for the rod-pumped well; if the target oil well is a screw pump well, the oil well data can be data such as power, power factor, voltage, current, rotation speed, torque, temperature, oil pressure and/or casing pressure of the screw pump well; if the target oil well is an electric submersible pump well, the oil well data can be the power, power factor, voltage, current, oil pressure, back pressure and/or other data of the electric submersible pump well; if the target well is a self-injection well, the well data may be data such as oil pressure, back pressure, and/or oil temperature of the self-injection well.
It should be noted that, because the data types or the data sources of the oil well data are different, the transmission protocol types of the oil well data may also be different, that is, the transmission protocol types corresponding to the oil well data, so that the oil well data may be transmitted to the data transmission subsystem 120 based on the transmission protocol types corresponding to the oil well data.
It should be noted that because the location of the target well may be remote and inconvenient to transport, it is necessary to transmit the well data to a base that manages the well data, i.e., the data transmission subsystem 120 is a subsystem that can transmit the well data. Accordingly, the terminals of the deployment data acquisition subsystem 110 and the data transmission subsystem 120 may be located in the area where the target well is located, and the terminals of the deployment data management subsystem 130 may be located in the area where the base managing the well data is located.
In an embodiment of the present invention, the data transmission subsystem 120 may be located on a base real-time data receiving server to receive the oil well data, analyze the oil well data according to the type of the transmission protocol, obtain analysis data, that is, data obtained by analyzing the oil well data, and transmit the analysis data to the data management subsystem 130. It should be noted that, the manner of transmitting the analysis data to the data management subsystem 130 may be determined according to the actual situation of the target oil well, referring to fig. 5, the manner of transmitting the analysis data to the data management subsystem 130 may be, for example, a manner of wireless communication through GPRS/code division multiple access (Code Division Multiple Access, CDMA) wireless transmission, satellite, microwave and/or wireless network bridge, and/or a manner of wired communication through optical cable and/or coaxial cable, and in the embodiment of the present invention, the manner of transmitting the analysis data to the data management subsystem 130 is not limited specifically.
For example, referring to fig. 6, the data acquisition subsystem 110 may include a wireless load displacement sensor, an explosion-proof wireless digital pressure sensor to measure target oil well oil pressure, an explosion-proof wireless digital pressure sensor to measure target oil well casing pressure, an explosion-proof wireless digital temperature sensor, and a digital power harvesting controller; the obtained wireless load displacement sensor, the explosion-proof wireless digital pressure sensor for measuring the oil pressure of the target oil well, the explosion-proof wireless digital pressure sensor for measuring the casing pressure of the target oil well and the oil well data corresponding to the explosion-proof wireless digital temperature sensor are sent to a remote terminal control system (Remote Terminal Unit, RTU) included in the data transmission subsystem 120 through a ZIGBEE 2.4G local wireless digital communication network, and the oil well data corresponding to the digital electric quantity acquisition controller is sent to the RTU through a controller local area network bus (Controller Area Network, CAN); the RTU analyzes the above-mentioned well data according to the type of the transmission protocol to obtain analysis data, and transmits the analysis data to the generation command monitoring center in the data management subsystem 130, so as to monitor and manage the target well according to the analysis data. Wherein, referring to FIG. 7, the RTU may be an OS40P-5000D RTU, which is powered at 7.5V; the power is 40W; the CAN bus is 1 path, adopts CAN Specification Version 2.0 standard, and adopts photoelectric isolation, and the isolation voltage is 1000Vdc/1 min; the working temperature is-40 to +80 ℃; relative humidity < 90% rh (no coagulation); the remote wireless communication is CDMA/GPRS/SCDMA, etc.; the Ethernet interface, 10BASE-T PHY and 100/1000BASE-T network are compatible; the local wireless communication is Zigbee pro 2.4G, and the apparent distance is more than or equal to 150m; the dimensions are 160 length by 100 width by 65 height; waterproof PE panels, IP65 protection class were used. Referring to fig. 8, the wireless load displacement sensor may be an OS35AWB type wireless load displacement sensor, whose functional characteristics are shown in table 1 below.
Table 1 functional features of OS35AWB wireless load displacement sensor
The main technical indexes of the OS35AWB type wireless load displacement sensor are shown in the following table 2.
Table 2 main technical index of OS35AWB type wireless load displacement sensor
Referring to FIG. 9, the explosion-proof wireless digital pressure sensor may be an OS39P wireless digital pressure transmitter, and functional features of the OS39P wireless digital pressure transmitter may be as shown in Table 3 below.
Table 3OS39P Wireless digital pressure transmitter functional features
The specifications of the OS39P wireless digital pressure transmitter can be as shown in Table 4 below.
Table 4OS39P wireless digital pressure transmitter technical index
Referring to fig. 10, the explosion-proof wireless digital temperature sensor may be an OS39T wireless digital temperature transmitter, and the technical index of the OS39T wireless digital temperature transmitter may be as shown in table 5 below.
Table 5OS39T wireless digital temperature transmitter technical index
By way of example, as shown in Table 6 below, the data acquisition subsystem 110 may include an oil well intelligent monitoring box, a wireless load displacement sensor, a digital power acquisition controller, an open-close transformer, an explosion-proof wireless digital pressure transmitter, an explosion-proof wireless digital temperature transmitter, and an RTU mounting bracket.
Table 6 data acquisition subsystem 110 configuration table
For example, referring to fig. 11 and 12, the data acquisition subsystem 110 may include a well measurement and control instrument. The oil well measurement and control instrument is divided into a case and a junction box from the outside, main equipment of a slave is installed in the case, and the junction box is used for wiring an external sensor. The inside of the case mainly comprises a power supply, a main board, an expansion bottom board, a communication module and various data acquisition boards, and the property and the quantity of the communication module are marked on a label outside the case. The expansion board can be inserted with 5 blocks at most, and the ordering of the expansion slots is as follows: the number 0 on the main board and the number 1, 2, 3 and 4 on the bottom board are respectively from left to right, and the pumping unit card, the 12-bit AD card, the flow acquisition and integration card, the serial communication card, the 6-path current 1-path voltage card and the uninterrupted power supply card are commonly used at present, wherein the pumping unit card and the 6-path current 1-path voltage card can only be inserted in the number 0 slot, and other cards can be inserted in any slot. And a SUB central processing unit (Central Processing Unit, CPU) is arranged on part of the data acquisition cards, and the CPU is used for completing data acquisition tasks and can be communicated with the MAINCPU on the main board at a high speed, so that the acquired data volume and the communication redundancy are ensured. The main board mainly comprises a CPU, a memory, two 8-bit analog-to-digital converters (AD), various wiring ports, various indicator lamps, a jumper wire and a number 0 expansion slot. There are 4 pilot lamps on the mainboard, be the power, send out, state and protection pilot lamp respectively, the power lamp is bright to indicate that the power is normal on the board, and the signal lamp is bright to indicate that equipment is in the state of sending out, and the status lamp has following function: the device is provided with a flash device, a flash device and a flash control device, wherein the flash device is started in a short time, and the flash time and the flash control method are related to the number of the external expansion plates; if the flash is fast for a long time, the memory is indicated to be damaged; when the light is on during the sending, the flashing indicates that the light is not communicated with the lower expansion board after the sending is finished, and the light is not communicated with the lower expansion board when the light is not flashing. The No. 0 expansion slot on the main board is mainly used for inserting the pumping unit card, but other expansion cards can be inserted. The power supply in the machine is usually an alternating current 380V input (220V or remote centralized power supply is used in special cases and is marked on an off-board label), the direct current is +12V, +24V and-12V output, the alternating current power is 35W, and the direct current is +12V 2A, -12V 0.3A and +24V 0.3A. And 1 connecting cable with 4 wires is connected with the main board. The power fuse is 0.5A. Referring to fig. 13, the well measurement and control instrument may be located in the field area where the target well is located.
For example, the data transmission subsystem 120 may use a mobile and connected wireless network as a channel or perform transparent transmission on serial communication, and the data transmission subsystem 120 may use different communication modes according to the field area where the target oil well is located, or may use different communication modules. Under the condition that the field area where the target oil well is located mainly adopts two wireless communication modes of GPRS and CDMA, a GPRS communication module and a CDMA1X wireless communication module can be correspondingly adopted for communication, and the two modules can be connected with an instrument with interfaces of RS232, 485/422 and the like. The GPRS communication module can be composed of an ETPRO manual communication module and an interface circuit, wherein the interface circuit comprises a CPU, a memory, an antenna base, a data line base, an indication circuit, a SIM card setting circuit and the like, and the communication rate between the interface circuit and a main board is 9600bit/s; the communication interface of the GPRS communication module is RS232, and 5V power supply is needed; the GPRS communication module is not bulky, but integrates a mobile phone core and a transmission control protocol/internet protocol (Transmission Control Protocol/Internet Protocol, TCP/IP) stack; the communication protocol controlling the GPRS communication module is an at+i instruction. The AT+i instruction is an extension of an At instruction set, and control supporting a TCP/IP protocol is increased; the GPRS communication module can be used independently to realize GPRS network communication; the GPRS communication module not only comprises all functions of a general GPRS IP MODEM seen in the market, but also integrates power control and an At instruction hardware channel directly to a MODEM core. The CDMA1X wireless communication module functions substantially the same as the GPRS module, but has a communication channel of communicating CDMA1X, so that the CDMA1X wireless communication module can provide a faster connection speed than the GPRS module, and can be connected to other devices through an RS232 serial communication interface. The GPRS communication module and the CDMA1X wireless communication module have the advantages that the channel is completely transparent, any signal received by the serial communication port of the module can be directly transmitted to the equipment at the other end through the mobile phone channel, and the data at the other end can be directly transmitted to the serial communication port of the module; the GPRS communication module and the CDMA1X wireless communication module are convenient to configure, and a user can specify the communication speed and the verification mode of the communication serial port through the dial switch; the GPRS communication module and the CDMA1X wireless communication module can adapt to the super terminal program of the computer, and a user can enter a configuration menu to interactively modify various parameters; the GPRS communication module and the CDMA1X wireless communication module can adopt a VPN (fixed IP) communication mode to ensure stable communication and can also use a dynamic IP mode to communicate; the GPRS communication module and the CDMA1X wireless communication module can adopt multiple soft and hard WATCHDOGs, and can continuously work when being unattended.
In the embodiment of the present invention, the data management subsystem 130 may receive the analysis data and store the analysis data in a storage space such as a database, for example, may store the analysis data in a background analysis system database, so as to be used by the background analysis software for analysis data, and the user may also instruct export or display of the analysis data by sending a corresponding instruction through a page such as a display page, thereby implementing management of the analysis data.
In the embodiment of the invention, the analysis data received by the data management subsystem 130 can be checked and displayed in real time through the display page, so that the well stopping and personal injury caused by the test indicator diagram and the liquid level can be avoided during manual inspection; the method can also prevent or discover environmental protection accidents which can pollute surrounding fishponds, reed fields and farmlands due to oil well faults in time by monitoring the target oil well in real time; the occurrence of various theft events of well sites and oil extraction stations is effectively reduced by checking analysis data related to equipment such as infrared monitoring, video monitoring and the like installed in a target oil well and a central station in real time; the method can also find out various abnormal working conditions of the target oil well in time, so that on-site workers can solve the faults of the oil well in a targeted way, the workers are not required to blindly inspect and find out the problems of the oil well, the labor intensity of the workers is effectively reduced, the labor structure is optimized, the fault processing time is shortened, the time rate of opening the well is increased, and the on-site operation times are reduced.
In the embodiment of the present invention, referring to fig. 14, the data management subsystem 130 may be deployed in a hardware group formed by a data acquisition server, a switch, and/or a network device such as a data transmission dedicated line, so as to implement a well-deployed network security and data backup policy. The network security policies employed by the data management subsystem 130 may include firewall technology, anti-virus wall technology, intrusion detection technology, and/or multi-tasking security gateway technology. The data management subsystem 130 may employ a database backup policy that combines local backup with off-site backup and/or full backup with incremental backup as the data backup policy for the data management subsystem 130. The data management subsystem 130 may include a database and/or a user management, referring to fig. 15 and 16, where the user management may configure a server, and may further manage related data of a target oil well, so as to implement functions of receiving and storing data, setting a well station of the target oil well, and/or managing user rights.
In the embodiment of the present invention, modules included in the data transmission subsystem 120 may adopt socket connection to exchange data, and a protocol processing module in the data transmission subsystem 120 may publish a socket port to the outside.
According to the technical scheme, the data acquisition subsystem acquires the oil well data related to the target oil well, and sends the oil well data to the data transmission subsystem based on the sending protocol type corresponding to the oil well data; receiving the oil well data through the data transmission subsystem, analyzing the oil well data according to the type of the sending protocol to obtain analysis data, and transmitting the analysis data to the data management subsystem; the analysis data is received by the data management subsystem and stored. According to the technical scheme, the oil well data can be automatically and accurately acquired and timely transmitted to the data management subsystem, so that the instantaneity and the accuracy of oil well data management can be improved, and the oil well yield can be improved by improving the instantaneity and the accuracy of oil well data management.
An optional technical scheme, the data management subsystem comprises a third control module, a real-time database and a backup database; and the third control module is used for storing the analysis data into the real-time database as real-time data, storing the overtime data into the backup database and deleting the overtime data in the real-time database under the condition that the overtime data with the storage time exceeding the preset time exists in the real-time data stored in the real-time database.
Wherein the third control module is a module for controlling the scheduling data. The real-time database is a database for storing real-time data. The backup database is a database for storing backed up data. The real-time data is data stored in the real-time database and having a smaller storage time length. And the overtime data is real-time data with the storage time length exceeding the preset time length in the real-time database.
In the embodiment of the invention, in consideration of that the analysis data with smaller storage time length can be more easily called or checked, in order to improve the speed of calling or checking the data, a data scheduling rule, namely a rule for scheduling the data into different databases, is preset, and the third control module can store the analysis data into the real-time databases as real-time data according to the data scheduling rule; according to the data scheduling rule, under the condition that the overtime data with the storage time exceeding the preset time exists in the real-time data stored in the real-time database, namely, the possibility that the overtime data is checked or called is small, the overtime data can be automatically stored in the backup database for backup, and the overtime data in the real-time database is deleted.
It should be noted that the storage duration may be defined by the system administrator according to the requirements.
It should be noted that, a dump function may be written in an instance of the real-time database, and called by a job, to implement automatic storing of analysis data as real-time data in the real-time database, and storing of timeout data in the backup database and deletion of timeout data in the real-time database when there is timeout data stored in the real-time database for a period of time exceeding a preset period of time.
In the embodiment of the invention, the database types of the real-time database and the backup database can be the same or different. In the case that the real-time database and the backup database are different in database type, the real-time database may be a database such as a memory database with a relatively high access speed but a relatively small storage space, and the backup database may be a database with a relatively low access speed but a relatively large storage space.
In the embodiment of the invention, the overtime data can be stored in the backup database and deleted in the real-time database, so that the data can be prevented from being lost, and the access speed of the real-time database can be improved by controlling the total data in the real-time database.
Fig. 17 is a block diagram of another oil well data management system provided in the embodiment of the present invention, and fig. 17 is merely an example of the structure of another oil well data management system provided in the embodiment of the present invention, and the structure of the oil well data management system is not particularly limited in the embodiment of the present invention. The present embodiment is optimized based on the above technical solutions. In this embodiment, optionally, the data transmission subsystem includes at least one protocol processing module, a transmission control module, and at least one data analysis module; the data acquisition subsystem is specifically used for acquiring a protocol packet and transmitting the protocol packet to a first target processing module corresponding to a transmission protocol type in at least one protocol processing module, wherein the protocol packet is obtained by packaging oil well data; the first target processing module is used for receiving the protocol packet, unpacking the protocol packet according to the type of the sending protocol to obtain unpacked data corresponding to the oil well data, and sending the unpacked data to the transmission control module; the transmission control module is used for receiving the unpacking data and transmitting the unpacking data to a target analysis module corresponding to the transmission protocol type in at least one data analysis module; the target analysis module is used for receiving the unpacking data, analyzing the unpacking data according to a preset analysis rule to obtain analysis data, and transmitting the analysis data to the data management subsystem.
Specifically, referring to fig. 17, the system of the present embodiment may specifically include: a data acquisition subsystem 210, a data transmission subsystem 220, and a data management subsystem 230; wherein the data transmission subsystem 220 comprises at least one protocol processing module 221, a transmission control module 222, and at least one data analysis module 223; the data acquisition subsystem 210, the data acquisition subsystem 210 is specifically configured to acquire a protocol packet, and send the protocol packet to a first target processing module 221 corresponding to a sending protocol type in at least one protocol processing module, where the protocol packet is obtained by packaging oil well data; the first target processing module 221 is configured to receive the protocol packet, unpack the protocol packet according to the transmission protocol type, obtain unpacked data corresponding to the oil well data, and send the unpacked data to the transmission control module 222; the transmission control module 222 is configured to receive the unpacked data, and send the unpacked data to a target analysis module 223 corresponding to the transmission protocol type in the at least one data analysis module; the target analysis module 223 is configured to receive the unpacked data, analyze the unpacked data according to a preset analysis rule, obtain analysis data, and transmit the analysis data to the data management subsystem 230; the data management subsystem 230 is configured to receive the analysis data and store the analysis data.
The protocol processing module 221 is a module for performing processing such as unpacking of a protocol packet or packing of data according to a protocol type; for example, referring to fig. 18, when the data management subsystem 230 deployed on the terminal receives the protocol packet through the data receiving thread, the protocol packet may be unpacked and the unpacked data may be transmitted to the transmission control module 222 through the data receiving buffer, and when the terminal control module wants the transmission control module 222 to transmit the data, the transmission control module 222 transmits the transmitted data to the protocol processing module 221 through the data transmitting buffer, the protocol processing module 221 packs the data and transmits the packed data to the terminal through the data transmitting thread. The transmission control module 222 is a module for controlling and transmitting data; the transmission control module 222 may adopt a dual hot standby mode according to actual requirements to improve reliability. The data analysis module is used for analyzing the unpacked data to obtain analysis data; the data analysis module can be hung on a plurality of servers so as to be convenient to add and delete at any time and improve expandability. The first target processing module 221 is a protocol processing module 221 corresponding to the transmission protocol type. The preset analysis rule is a preset rule for analyzing the unpacked data. The target analysis module 223 is a data analysis module corresponding to the transmission protocol type.
It should be noted that, because different devices such as different sensors adopt different communication protocols due to different device types or different manufacturers, the data acquisition subsystem 210 may acquire a protocol packet obtained by packing the oil well data, and if the data needs to be analyzed and transmitted subsequently, the protocol packet needs to be unpacked. In view of the above, in the embodiment of the present invention, the protocol processing modules 221 corresponding to different protocol types may be set for the different protocol types, respectively; the data acquisition subsystem 210 may acquire a protocol packet and transmit the protocol packet to a first target processing module 221 corresponding to a transmission protocol type among the at least one protocol processing module 221; the first target processing module 221 may receive the protocol packet, unpack the protocol packet according to the transmission protocol type, to obtain unpacked data corresponding to the oil well data, where the unpacked data is data obtained by unpacking the protocol packet, and send the unpacked data to the transmission control module 222.
It should be noted that, because the manners of analyzing the unpacked data corresponding to different protocol types may also be different, in the embodiment of the present invention, the data analysis modules corresponding to the protocol types may be respectively set for different protocol types; the transmission control module 222 may receive the unpacked data and transmit the unpacked data to a target analysis module 223 corresponding to the transmission protocol type in the at least one data analysis module; the target analysis module 223 may receive the unpacked data, analyze the unpacked data according to a preset analysis rule, obtain analysis data, and transmit the analysis data to the data management subsystem 230.
In this embodiment of the present invention, the data transmission subsystem 220 may further include a data analysis module for load balancing, where the oil well data is downhole data associated with the target oil well, the target analysis module 223 receives the unpacked data, analyzes the unpacked data according to a preset analysis rule, and then sends the analyzed data to the data analysis module for load balancing, so that the data analysis module for load balancing processes the analyzed data, updates the analyzed data, and transmits the analyzed data to the data management subsystem 230.
According to the technical scheme, the data transmission subsystem comprises at least one protocol processing module, a transmission control module and at least one data analysis module; the method comprises the steps that a protocol packet is acquired through a data acquisition subsystem and is sent to a first target processing module corresponding to a sending protocol type in at least one protocol processing module, wherein the protocol packet is obtained by packaging oil well data; receiving the protocol packet through the first target processing module, unpacking the protocol packet according to the type of the transmission protocol to obtain unpacked data corresponding to the oil well data, and transmitting the unpacked data to the transmission control module; the method comprises the steps of receiving unpacking data through a transmission control module, and sending the unpacking data to a target analysis module corresponding to a sending protocol type in at least one data analysis module; the unpacking data is received through the target analysis module, the unpacking data is analyzed according to a preset analysis rule, analysis data are obtained, and the analysis data are transmitted to the data management subsystem. According to the technical scheme, the source of the acquired oil well data can be increased and the expandability of the source of the oil well data can be improved by sending the protocol packets with different protocol types to the corresponding target processing modules for processing, so that the oil well data management system can be suitable for more use scenes.
An optional technical scheme is that the data transmission subsystem further comprises a terminal control module, and the data management subsystem comprises a second control module and a second display page; the second control module is used for responding to the oil well control command input by the user through the second display page and transmitting the oil well control command to the terminal control module; the terminal control module is used for receiving the oil well control instruction and forwarding the oil well control instruction to the transmission control module; the transmission control module is also used for receiving the oil well control instruction, analyzing the oil well control instruction and sending the oil well control instruction to a second target processing module corresponding to the oil well control instruction in at least one protocol processing module according to the analysis result; the second target processing module is also used for receiving the oil well control instruction, packaging the oil well control instruction according to the type of the receiving protocol corresponding to the second target processing module, obtaining packaging data, and sending the packaging data to the data acquisition subsystem; the data acquisition subsystem is also configured to receive the packed data for a target device associated with the target well and to control the target device based on the packed data.
The terminal control module is used for analyzing the instruction and sending the instruction; the terminal control module may be hooked on a WEB site (WEB) server, which may register a COM interface in the well data management system, invoked by java background service of the WEB site located in the area where the base managing the well data is located. The second control module is a module for transmitting well control instructions. The second presentation page is a page for enabling a user to input oil well control instructions; the second presentation page may be a presentation page of a website located in an area where a base for managing oil well data is located, or may be a presentation page located in an area where a target oil well is located, that is, a user may input an oil well control instruction at the base through the second presentation page, and a user may input an oil well control instruction at a field area where the target oil well is located through the second presentation page. The target device is a device that needs to be controlled. The received protocol type is the protocol type corresponding to the target device. The packed data is data obtained by packing the oil well control instruction according to the type of the receiving protocol.
In the embodiment of the invention, the second display page can be displayed to the user, and the user can input the oil well control instruction for indicating to control the target equipment associated with the target oil well through the second display page; the second control module can respond to the oil well control command input by the user through the second display page and transmit the oil well control command to the terminal control module; the terminal control module can receive the oil well control instruction and forward the oil well control instruction to the transmission control module; the transmission control module can receive the oil well control instruction, analyze the oil well control instruction, and send the oil well control instruction to a second target processing module corresponding to the oil well control instruction in the at least one protocol processing module according to the analysis result, wherein the second target processing module is the protocol processing module corresponding to the oil well control instruction in the at least one protocol processing module; the second target processing module can receive the oil well control instruction, package the oil well control instruction according to the type of the receiving protocol corresponding to the second target processing module, obtain package data, and send the package data to the data acquisition subsystem; the data acquisition subsystem is also configured to receive the packed data for a target device associated with the target well and to control the target device based on the packed data.
In the embodiment of the invention, the user can check or detect the data related to the target oil field in real time through the second display page, and input the oil well control command through the second display page according to the check result. The data management subsystem can also analyze and process the received analysis data in real time, and generate an oil well control instruction according to analysis and processing results. The scheme can be convenient for timely adjusting the production parameters of the target equipment related to the target oil well, thereby ensuring the optimal working condition of the oil well and reducing the consumption of equipment, electric power and the like.
According to the technical scheme, through the transmission of the oil well control command, the bidirectional transmission of data or commands in the oil well data management system can be realized, and through controlling the target equipment based on the oil well control command, the target equipment can be controlled timely according to the requirements, and the production of the target oil well is dynamically managed, so that the yield of the oil well is improved.
In another alternative solution, the data analysis module is further configured to convert the analysis data into target data of a target protocol type and update the target data into the analysis data before transmitting the analysis data to the data management subsystem.
The target protocol type is a protocol type of analyzing data requirements received by the data management subsystem, and may be a TCP/IP protocol type, for example. The target data is data of a target protocol type into which the analysis data is converted.
It should be noted that, to facilitate storage and unified processing of data, the data management subsystem may receive analysis data that is protocol unified data, e.g., the data management subsystem may receive analysis data that is unified TCP/IP protocol type data. In the embodiment of the present invention, the manner of converting the analysis data into the target data of the target protocol type is not particularly limited, and for example, in a special case, the analysis data may be converted into the target data of the target protocol type by using hardware.
According to the technical scheme, the analysis data is converted into the target data of the target protocol type, so that unified storage and unified processing of the data can be facilitated.
Fig. 19 is a block diagram of a structure of still another oil well data management system provided in the embodiment of the present invention, and fig. 19 is merely an example of a structure of still another oil well data management system provided in the embodiment of the present invention, and the structure of the oil well data management system is not particularly limited in the embodiment of the present invention. The present embodiment is optimized based on the above technical solutions. In this embodiment, optionally, a data analysis module list is stored in the transmission control module, and a transmission protocol type corresponding to at least one data analysis module is recorded in the data analysis module list; the transmission control module is specifically configured to receive the unpacked data, search the data analysis module list according to the transmission protocol type, obtain a target analysis module corresponding to the transmission protocol type in at least one data analysis module, and send the unpacked data to the target analysis module.
Wherein, the explanation of the same or corresponding terms as the above embodiments is not repeated herein.
Specifically, referring to fig. 19, the system of the present embodiment may specifically include: a data acquisition subsystem 310, a data transmission subsystem 320, and a data management subsystem 330; the data transmission subsystem 320 includes at least one protocol processing module 321, a transmission control module 322, and at least one data analysis module 323, where a data analysis module list is stored in the transmission control module 322, and a transmission protocol type corresponding to the at least one data analysis module 323 is recorded in the data analysis module list; the data acquisition subsystem 310 is specifically configured to acquire a protocol packet, and send the protocol packet to a first target processing module 321 corresponding to a sending protocol type in at least one protocol processing module, where the protocol packet is obtained by packaging oil well data; the first target processing module 321 is configured to receive the protocol packet, unpack the protocol packet according to the transmission protocol type, obtain unpacked data corresponding to the oil well data, and send the unpacked data to the transmission control module 322; the transmission control module 322 is specifically configured to receive the unpacked data, search in the data analysis module list according to the transmission protocol type, obtain a target analysis module 323 corresponding to the transmission protocol type in at least one data analysis module, and send the unpacked data to the target analysis module 323. The target analysis module 323 is configured to receive the unpacked data, analyze the unpacked data according to a preset analysis rule, obtain analysis data, and transmit the analysis data to the data management subsystem 330; the data management subsystem 330 is configured to receive the analysis data and store the analysis data.
The data analysis module list is a list for determining the target analysis module 323.
In the embodiment of the present invention, a data analysis module list may be stored in the transmission control module 322 in advance, the transmission control module 322 may maintain the data analysis module in real time, for example, the transmission control module 322 may automatically log in to the transmission control module 322 after the existing data analysis module is started, the transmission control module 322 adds the automatically logged-in data analysis module to the data analysis module list according to the log-in condition, and the transmission control module 322 may delete the logged-out or overtime data analysis module from the data analysis module list when the existing data analysis module is logged out or overtime.
In the embodiment of the present invention, an analysis module identifier corresponding to at least one data analysis module respectively and a transmission protocol type corresponding to at least one data analysis module respectively may be recorded in the data analysis module list, where the analysis module identifier has a correspondence with the transmission protocol type, and the analysis module identifier is an identifier according to the analysis module, and in the embodiment of the present invention, a representation form of the analysis module identifier is not specifically limited; the transmission control module 322 may receive the unpacked data, and perform a search in the data analysis module list according to the transmission protocol type, to find an analysis module identifier having a corresponding relationship with the transmission protocol type; and determining a target analysis module 323 corresponding to the transmission protocol type in at least one data analysis module according to the analysis module identification, and transmitting the unpacked data to the target analysis module 323.
In the embodiment of the present invention, a protocol processing module list may also be stored in the transmission control module 322, where a transmission protocol type corresponding to at least one protocol processing module is recorded in the protocol processing module list, the transmission control module 322 may maintain the protocol processing modules in real time, for example, the transmission control module 322 may automatically log in to the transmission control module 322 after the existing protocol processing module is started, the transmission control module 322 adds the automatically logged-in protocol processing module to the protocol processing module list according to the log-in condition, and the transmission control module 322 may delete the logged-out or overtime protocol processing module from the protocol processing module list when the existing protocol processing module is logged out or overtime. In the case that the number of protocol packets acquired by the data acquisition subsystem 310 is multiple, correspondingly, the number of data of the unpacked data received by the transmission control module 322 is also multiple, and for each unpacked data in the multiple unpacked data, the transmission control module 322 can search in the protocol processing module list according to the transmission protocol type to determine the priority of the unpacked data; determining a target analysis module 323 corresponding to the unpacked data according to the priorities corresponding to the unpacked data; according to the priorities corresponding to the unpacked data, the unpacked data are sent to the target analysis module 323 corresponding to the unpacked data.
According to the technical scheme, a data analysis module list is stored in a transmission control module, and the data analysis module list is recorded with transmission protocol types respectively corresponding to at least one data analysis module; the method comprises the steps of receiving unpacking data through a transmission control module, searching in a data analysis module list according to a transmission protocol type to obtain a target analysis module corresponding to the transmission protocol type in at least one data analysis module, and transmitting the unpacking data to the target analysis module. According to the technical scheme provided by the embodiment of the invention, the target analysis module is determined through the data analysis module list, so that the determination speed of the target analysis module is improved in a table look-up mode.
An optional technical scheme is that at least one analysis module identifier corresponding to each data analysis module is recorded in the data analysis module list, and the analysis module identifier has a corresponding relation with the transmission protocol type; the transmission control module is further used for transmitting the generated unpacking data transmission failure information to the data management subsystem under the condition that unpacking data is not successfully transmitted to the target analysis module, and deleting a deletion module identifier corresponding to the target analysis module in at least one analysis module identifier; the data management subsystem is also used for receiving the unpacked data transmission failure information and storing the unpacked data transmission failure information.
The transmission control module is used for generating the transmission failure information according to the failure condition when the transmission failure information of the unpacking data is that the unpacking data is failed to be transmitted to the target analysis module. The deletion module identifier is an analysis module identifier corresponding to the target analysis module in the at least one analysis module identifier.
In the embodiment of the invention, under the condition that the unpacked data is not successfully sent to the target analysis module, namely, the problem occurs in the data transmission process is illustrated, the transmission control module can send the generated unpacked data transmission failure information to the data management subsystem under the condition that the unpacked data is not successfully sent to the target analysis module, and delete the deletion module identification corresponding to the target analysis module in at least one analysis module identification so as to prevent the subsequent repeated occurrence of failure caused by sending the unpacked data to the target analysis module, and particularly, under the condition that a plurality of data analysis modules with corresponding relations with the sending protocol types exist, the unpacked data can be prevented from being sent to the target analysis module which can cause the unpacked data transmission failure, but can be sent to other data analysis modules with corresponding relations with the sending protocol types; the data management subsystem may receive the unpacked data transmission failure information, store the unpacked data transmission failure information, for example, store the unpacked data transmission failure information in a database, and may call the stored unpacked data transmission failure information through a website located in an area where a base for managing oil well data is located, so as to repair a module or a subsystem involved in failure of sending unpacked data to a target analysis module according to the unpacked data transmission failure information.
According to the technical scheme, the generated unpacking data transmission failure information can be sent to the data management subsystem under the condition that unpacking data is not successfully sent to the target analysis module, so that a user can find out the unpacking data transmission failure condition in time and process the unpacking data in time; deleting the deleting module identifier corresponding to the target analyzing module in the at least one analyzing module identifier can prevent the subsequent repeated occurrence of failure caused by sending unpacking data to the target analyzing module.
Fig. 20 is a block diagram of a structure of still another oil well data management system provided in the embodiment of the present invention, and fig. 20 is merely an example of a structure of still another oil well data management system provided in the embodiment of the present invention, and the structure of the oil well data management system is not particularly limited in the embodiment of the present invention. The present embodiment is optimized based on the above technical solutions. In this embodiment, optionally, the preset analysis rules include an alarm rule and a data analysis rule; the target analysis module is specifically used for: receiving unpacking data, and analyzing the unpacking data according to alarm rules to obtain target alarm information; analyzing the unpacked data according to the data analysis rule to obtain analysis data; transmitting the target alarm information and the analysis data to a data management subsystem under the condition that the target alarm information is not empty; and transmitting the analysis data to the data management subsystem when the target alarm information is empty.
Wherein, the explanation of the same or corresponding terms as the above embodiments is not repeated herein.
Specifically, referring to fig. 20, the system of the present embodiment may specifically include: a data acquisition subsystem 410, a data transmission subsystem 420, and a data management subsystem 430; the data transmission subsystem 420 includes at least one protocol processing module 421, a transmission control module 422, and at least one data analysis module 423, where the preset analysis rules include alarm rules and data analysis rules; the data acquisition subsystem 410 is specifically configured to acquire a protocol packet, and send the protocol packet to a first target processing module 421 corresponding to a sending protocol type in at least one protocol processing module, where the protocol packet is obtained by packaging oil well data; the first target processing module 421 is configured to receive the protocol packet, unpack the protocol packet according to the transmission protocol type, obtain unpacked data corresponding to the oil well data, and send the unpacked data to the transmission control module 422; the transmission control module 422 is configured to receive the unpacked data, and send the unpacked data to a target analysis module 423 corresponding to the transmission protocol type in the at least one data analysis module; the target analysis module 423 is specifically configured to: receiving unpacking data, and analyzing the unpacking data according to alarm rules to obtain target alarm information; analyzing the unpacked data according to the data analysis rule to obtain analysis data; in the case that the target alert information is not empty, transmitting the target alert information and the analysis data to the data management subsystem 430; in the event that the target alert information is empty, transmitting the analysis data to the data management subsystem 430; the data management subsystem 430 is configured to receive the analysis data and store the analysis data.
The alarm rule is a rule for determining whether the unpacked data is abnormal or not, and whether the target alarm information needs to be generated or not, and the alarm rule can comprise threshold value judgment, for example. The data analysis rule is a rule for analyzing unpacked data, and may include, for example, image discretization analysis. The target alarm information is related information capable of reflecting abnormal conditions of unpacking data demand alarm.
In the embodiment of the invention, the preset analysis rules can comprise alarm rules and data analysis rules; the target analysis module 423 may receive the unpacked data and analyze the unpacked data according to an alarm rule to obtain target alarm information, and it should be noted that the target alarm data is empty when the unpacked data is not abnormal, and the target alarm information is not empty when the unpacked data is abnormal; analyzing the unpacked data according to the data analysis rule to obtain analysis data; in the case that the target alert information is not empty, transmitting the target alert information and the analysis data to the data management subsystem 430; in the event that the target alert information is empty, the analysis data is transmitted to the data management subsystem 430.
According to the technical scheme, the preset analysis rules comprise alarm rules and data analysis rules; receiving unpacking data through a target analysis module, and analyzing the unpacking data according to an alarm rule to obtain target alarm information; analyzing the unpacked data according to the data analysis rule to obtain analysis data; transmitting the target alarm information and the analysis data to a data management subsystem under the condition that the target alarm information is not empty; and transmitting the analysis data to the data management subsystem when the target alarm information is empty. According to the technical scheme, the unpacking data can be analyzed according to the alarm rule, so that the target alarm information and the analysis data are transmitted to the data management subsystem under the condition that the unpacking data are abnormal, abnormal conditions of the target oil well can be found conveniently in time, the abnormal conditions can be alarmed and processed conveniently in time, and the influence of the abnormal conditions on the yield of the target oil well is avoided.
An optional technical scheme, the data management subsystem comprises a first control module, an alarm table and a storage database; a first control module for: storing the received analysis data in a storage database; and under the condition that the target alarm information is received, storing the target alarm information into an alarm table.
The first control module is used for processing analysis data and target alarm information. The first control module, the second control module and the third control module may be the same control module or may be different control modules. The alarm table is a table for storing alarm information of a target. The storage database is a database for storing analysis data.
In the embodiment of the invention, the first control module can store the target alarm information into the alarm table under the condition of receiving the target alarm information, and alarm according to the target alarm information so as to prompt a user to timely handle abnormal conditions, thereby being convenient for timely finding out emergency and fault hidden danger of a target oil well, improving emergency response speed and shortening fault handling time. In the embodiment of the present invention, the mode of alarm is not particularly limited.
For example, referring to fig. 21, the target analysis module may receive the unpacked data through the data buffer list, and perform analysis and judgment on the unpacked data according to a preset analysis rule to obtain target alarm information and analysis data; and sending the target alarm information to an alarm table so that the alarm table stores the target alarm information, and sending the analysis data to a storage database so that the storage database stores the analysis data.
In the embodiment of the invention, the traceability of the analysis data or the target alarm information can be improved by storing the received analysis data in the storage database and storing the target alarm information in the alarm table under the condition of receiving the target alarm information.
Based on the above scheme, in another optional technical scheme, the data management subsystem further includes a first display page; the first control module is further configured to: responding to an alarm check instruction input by a user through a first display page, acquiring alarm check information from all stored alarm information stored in an alarm table, and sending the alarm check information to the first display page so as to display the alarm check information through the first display page, wherein all the stored alarm information comprises target alarm information; and responding to a data viewing instruction input by a user through the first display page, acquiring viewing data from all storage data stored in the storage database, and sending the viewing data to the first display page so as to display the viewing data through the first display page, wherein all storage data comprise analysis data.
The first display page is a page for displaying alarm viewing information or information; the first presentation page may be a presentation page of a website located in an area where a base managing well data is located. The first display page and the second display page may be the same page or different pages. The stored alarm information is alarm information stored in an alarm table. The alarm viewing information is stored alarm information that needs to be viewed. The stored data is data stored in a storage database. The view data is stored data that needs to be viewed.
In the embodiment of the invention, the first control module can respond to the alarm check instruction of checking the alarm check information, which is input by a user through the first display page, acquire the alarm check information from all the stored alarm information stored in the alarm table, and send the alarm check information to the first display page so as to display the alarm check information through the first display page; and responding to a data viewing instruction which is input by a user through the first display page and indicates to view the viewing data, acquiring the viewing data from all the storage data stored in the storage database, and sending the viewing data to the first display page so as to display the viewing data through the first display page.
According to the technical scheme, through checking the checking data and the alarm checking information, a user can check the checking data and the alarm checking information at any time, so that the user can grasp the production running condition of the target oil well at any time, the faults of the target oil well can be solved in a targeted manner, and a large amount of invalid patrol workload and time can be reduced.
For better understanding of the technical solution of the embodiment of the present invention described above, an alternative example is provided herein. For example, referring to fig. 22, a data acquisition subsystem deployed in a field terminal associated with a target well may interact with a data transmission subsystem for a login request, a login reply, sending data, replying to data, line detection reply, sending an instruction reply, requesting a connection to be torn down, requesting a tear down reply, etc.; the data transmission subsystem can receive an instruction sent by an external release website; the data transmission subsystem can unpack and store the data to store the data in a database in the data management subsystem; the data transmission subsystem can also read the configuration information in the database to send the configuration information to the data acquisition subsystem, and the data acquisition subsystem configures aspects such as production parameters of the target equipment based on the configuration information.
For better understanding of the technical solution of the embodiment of the present invention described above, an alternative example is provided herein. For example, referring to fig. 23, the data acquisition subsystem may be deployed on a terminal; the data transmission subsystem comprises three protocol processing modules, a transmission control module, a terminal control module, three data analysis modules and a load balancing data analysis module; the data management subsystem may include a database to receive analysis data; the transmission control module may read the configuration information in the database to configure aspects such as production parameters of the target device.
For better understanding of the technical solution of the embodiment of the present invention described above, an alternative example is provided herein. For example, referring to fig. 24, the transmission control module may store a protocol processing module list and a data analysis module, and the transmission control module may include a data reception buffer sub-module, a data distribution sub-module, and a data transmission buffer sub-module. The data receiving buffer sub-module can receive the unpacked data sent by the protocol processing module, and the data distributing sub-module can search in the protocol processing module list according to the type of the sending protocol to determine the priority of the unpacked data; searching in a data analysis module list according to the priority of the unpacked data and the type of the sending protocol, and determining a target analysis module corresponding to the unpacked data; the data distribution sub-module sends the unpacked data to the target analysis module. The data transmission buffer sub-module can receive the oil well control instruction sent by the terminal control module; the data distribution sub-module can analyze the oil well control command and send the oil well control command to the protocol processing module corresponding to the oil well control command according to the analysis result.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A well data management system, comprising: a data acquisition subsystem, a data transmission subsystem and a data management subsystem; wherein,
the data acquisition subsystem is used for acquiring oil well data associated with a target oil well and transmitting the oil well data to the data transmission subsystem based on a transmission protocol type corresponding to the oil well data;
the data transmission subsystem is used for receiving the oil well data, analyzing the oil well data according to the sending protocol type to obtain analysis data, and transmitting the analysis data to the data management subsystem;
the data management subsystem is used for receiving the analysis data and storing the analysis data.
2. The system of claim 1, wherein the data transmission subsystem comprises at least one protocol processing module, a transmission control module, and at least one data analysis module;
The data acquisition subsystem is specifically configured to acquire a protocol packet, and send the protocol packet to a first target processing module corresponding to the sending protocol type in the at least one protocol processing module, where the protocol packet is obtained by packaging the oil well data;
the first target processing module is configured to receive the protocol packet, unpack the protocol packet according to the transmission protocol type, obtain unpacked data corresponding to the oil well data, and send the unpacked data to the transmission control module;
the transmission control module is used for receiving the unpacking data and sending the unpacking data to a target analysis module corresponding to the sending protocol type in the at least one data analysis module;
the target analysis module is used for receiving the unpacking data, analyzing the unpacking data according to a preset analysis rule to obtain analysis data, and transmitting the analysis data to the data management subsystem.
3. The system according to claim 2, wherein a data analysis module list is stored in the transmission control module, and transmission protocol types respectively corresponding to the at least one data analysis module are recorded in the data analysis module list;
The transmission control module is specifically configured to receive the unpacked data, search the data analysis module list according to the transmission protocol type, obtain a target analysis module corresponding to the transmission protocol type in the at least one data analysis module, and send the unpacked data to the target analysis module.
4. The system of claim 3, wherein the list of data analysis modules further includes analysis module identifiers corresponding to the at least one data analysis module, respectively, and the analysis module identifiers have a correspondence with the transmission protocol type;
the transmission control module is further configured to send generated failure information of sending the unpacked data to the data management subsystem and delete a deletion module identifier corresponding to the target analysis module in the at least one analysis module identifier, where the deletion module identifier is not successful in sending the unpacked data to the target analysis module;
the data management subsystem is further configured to receive the unpacked data transmission failure information, and store the unpacked data transmission failure information.
5. The system of claim 2, wherein the preset analysis rules include alarm rules and data analysis rules;
The target analysis module is specifically configured to:
receiving the unpacking data, and analyzing the unpacking data according to the alarm rule to obtain target alarm information;
analyzing the unpacking data according to the data analysis rule to obtain analysis data;
transmitting the target alarm information and the analysis data to the data management subsystem under the condition that the target alarm information is not empty;
and transmitting the analysis data to the data management subsystem under the condition that the target alarm information is empty.
6. The system of claim 5, wherein the data management subsystem comprises a first control module, an alarm table, and a storage database;
the first control module is used for:
storing the received analysis data into the storage database;
and under the condition that the target alarm information is received, storing the target alarm information into the alarm table.
7. The system of claim 6, wherein the data management subsystem further comprises a first presentation page;
the first control module is further configured to:
responding to an alarm check instruction input by a user through the first display page, acquiring alarm check information from all stored alarm information stored in the alarm table, and sending the alarm check information to the first display page so as to display the alarm check information through the first display page, wherein all stored alarm information comprises the target alarm information;
And responding to a data viewing instruction input by a user through the first display page, acquiring viewing data from all stored data stored in the storage database, and sending the viewing data to the first display page so as to display the viewing data through the first display page, wherein all the stored data comprise the analysis data.
8. The system of claim 2, wherein the data transmission subsystem further comprises a terminal control module, and wherein the data management subsystem comprises a second control module and a second presentation page;
the second control module is used for responding to the oil well control instruction input by the user through the second display page and transmitting the oil well control instruction to the terminal control module;
the terminal control module is used for receiving the oil well control instruction and forwarding the oil well control instruction to the transmission control module;
the transmission control module is further configured to receive the oil well control instruction, analyze the oil well control instruction, and send the oil well control instruction to a second target processing module corresponding to the oil well control instruction in the at least one protocol processing module according to an analysis result;
The second target processing module is further configured to receive the oil well control instruction, package the oil well control instruction according to a receiving protocol type corresponding to the second target processing module, obtain package data, and send the package data to the data acquisition subsystem;
the data acquisition subsystem is further configured to receive the packed data for a target device associated with the target well, and control the target device based on the packed data.
9. The system of claim 2, wherein the data analysis module is further configured to convert the analysis data to target data of a target protocol type and update the target data to the analysis data prior to transmitting the analysis data to the data management subsystem.
10. The system of claim 1, wherein the data management subsystem comprises a third control module, a real-time database, and a backup database;
the third control module is configured to store the analysis data as real-time data in the real-time database, store timeout data in the backup database when timeout data with a storage duration exceeding a preset duration exists in the real-time data stored in the real-time database, and delete the timeout data in the real-time database.
CN202310896927.7A 2023-07-20 2023-07-20 Oil well data management system Active CN117834664B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310896927.7A CN117834664B (en) 2023-07-20 2023-07-20 Oil well data management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310896927.7A CN117834664B (en) 2023-07-20 2023-07-20 Oil well data management system

Publications (2)

Publication Number Publication Date
CN117834664A true CN117834664A (en) 2024-04-05
CN117834664B CN117834664B (en) 2024-08-23

Family

ID=90514233

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310896927.7A Active CN117834664B (en) 2023-07-20 2023-07-20 Oil well data management system

Country Status (1)

Country Link
CN (1) CN117834664B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105391742A (en) * 2015-12-18 2016-03-09 桂林电子科技大学 Hadoop-based distributed intrusion detection system
CN110532145A (en) * 2019-07-15 2019-12-03 胡友彬 Portable power driven satellite meteorolo-gy hydrographic information safeguards system and method
CN111866031A (en) * 2020-09-23 2020-10-30 天津中新智冠信息技术有限公司 Equipment monitoring and analyzing method and device, server and storage medium
CN112433989A (en) * 2020-12-14 2021-03-02 国网辽宁省电力有限公司葫芦岛供电公司 System and method for automatically collecting e-mails based on web mode
CN113495910A (en) * 2020-04-08 2021-10-12 中国石油天然气股份有限公司 Data management method and system
CN114660999A (en) * 2020-12-23 2022-06-24 国网信息通信产业集团有限公司北京分公司 Industrial equipment running state monitoring and analyzing terminal and method based on Internet of things
US20230184062A1 (en) * 2021-12-13 2023-06-15 Saudi Arabian Oil Company System for controlling performance of salt water disposal wells

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105391742A (en) * 2015-12-18 2016-03-09 桂林电子科技大学 Hadoop-based distributed intrusion detection system
CN110532145A (en) * 2019-07-15 2019-12-03 胡友彬 Portable power driven satellite meteorolo-gy hydrographic information safeguards system and method
CN113495910A (en) * 2020-04-08 2021-10-12 中国石油天然气股份有限公司 Data management method and system
CN111866031A (en) * 2020-09-23 2020-10-30 天津中新智冠信息技术有限公司 Equipment monitoring and analyzing method and device, server and storage medium
CN112433989A (en) * 2020-12-14 2021-03-02 国网辽宁省电力有限公司葫芦岛供电公司 System and method for automatically collecting e-mails based on web mode
CN114660999A (en) * 2020-12-23 2022-06-24 国网信息通信产业集团有限公司北京分公司 Industrial equipment running state monitoring and analyzing terminal and method based on Internet of things
US20230184062A1 (en) * 2021-12-13 2023-06-15 Saudi Arabian Oil Company System for controlling performance of salt water disposal wells

Also Published As

Publication number Publication date
CN117834664B (en) 2024-08-23

Similar Documents

Publication Publication Date Title
CN103048965B (en) A kind of visual centralized monitoring system of dynamic machine room carrying video
US8026830B2 (en) Methods and systems for meter reading and high speed data transfer
CN103915898B (en) A kind of O&amp;M method of intelligent substation network
CN204557187U (en) A kind of IP network environmental monitoring system
JP3447622B2 (en) Watt hour meter
CN104269922A (en) Distributed type power supply parameter monitoring method and system based on GPRS/GIS
CN110995785A (en) Low-voltage distribution network cloud platform based on Internet of things
CN101201364A (en) High pressure measurement device and antitheft electric method for high-low pressure electric quantity measurement contrast
CN103412213A (en) Crosslinked polyethylene high-voltage cable on-line monitoring and early warning system
CN104133428A (en) Intelligent electrical equipment control method
CN117013702B (en) Method and system for monitoring states of multiple district power transformation equipment
CN117834664B (en) Oil well data management system
CA3150968C (en) Method of and system for monitoring civil air defense equipment maintenance
CN203535128U (en) Crosslinked polyethylene high-voltage cable on-line monitoring and early warning system
CN211786718U (en) Join in marriage electrical room thing and ally oneself with management and control all-in-one
CN219372095U (en) Electric power monitoring system for machine room
CN202083937U (en) Solar wireless intelligent networking control platform
CN102467124A (en) Solar wireless intelligent networking control platform
CN116300656A (en) Internet of things environment monitoring system for transformer and distribution station
CN209786878U (en) Intelligent power distribution room online monitoring system
CN110730163B (en) Substation main and auxiliary control linkage method and substation auxiliary control equipment
CN204836232U (en) Quick detection device of server information safety base -line configuration
CN113555959A (en) Intelligent power distribution cloud management system and method
CN209448504U (en) A kind of management terminal for electric power remote monitoring and control system
Zhang On-line inspection system of integrated automation network equipment in coal mine

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant