Disclosure of Invention
The invention provides a natural gas exploitation control system, which mainly aims to solve the problems that natural gas exploitation cannot be monitored and evaluated from the aspects of videos and sensors in the existing scheme, and monitoring, early warning and control with different frequencies are carried out in a self-adaptive mode according to evaluation results.
In order to achieve the above object, the present invention provides a natural gas exploitation control system, comprising a control back end;
the control back end comprises a data processing module and a prompt regulation and control module;
preprocessing and screening the collected mining video set through a data processing module to obtain a mining extraction set; carrying out digital processing and marking on the collected monitoring data set to obtain a monitoring extraction set;
respectively training and calculating the mining extraction set and the monitoring extraction set to obtain corresponding video monitoring coefficients and detection monitoring coefficients;
respectively carrying out matching analysis on the video monitoring coefficient and the detection monitoring coefficient to obtain a video evaluation set corresponding to the video monitoring coefficient and a detection evaluation set corresponding to the detection monitoring coefficient, wherein the video monitoring coefficient is a numerical value used for processing video data to carry out overall evaluation on the natural gas exploitation hidden danger in the aspect of video; the detection monitoring coefficient is a numerical value used for processing detection data of the sensor to integrally evaluate the hidden danger of natural gas exploitation from the aspect of detection;
and the prompt regulation and control module generates prompt early warning and control of different degrees according to the video evaluation set and the detection evaluation set and informs related personnel to process in time.
Preferably, the collected mining video set is pre-processed and screened, including:
the prompt regulation and control module obtains a single image picture according to the video evaluation set and the line capture, and arranges and combines a plurality of single image pictures according to the time sequence to obtain a video capture set; carrying out Fourier transformation, noise removal and segmentation on a plurality of single image pictures in a video capture set to obtain a capture segmentation set comprising a plurality of segmentation pictures;
obtaining color values corresponding to all pixels on a plurality of segmentation pictures and combining the color values according to a preset arrangement sequence to obtain a pixel color set corresponding to the segmentation pictures; and arranging the pixel color sets corresponding to the plurality of segmented pictures according to the time sequence to obtain a mining extraction set.
Preferably, the acquired monitoring data set is digitally processed and labeled, including:
acquiring sound data and gas data monitored in a monitoring data set;
performing digital processing on the sound data and the gas data according to a preset processing interval period; extracting and marking the numerical value of sound in the sound data; acquiring and marking the gas type in the gas data and the gas type correlation value corresponding to the gas type; extracting and marking the numerical value of the gas concentration; and arranging the marked sound, the gas type correlation value and the gas concentration according to the time sequence to obtain a monitoring extraction set.
Preferably, the training calculation is performed on the mining extraction set and the monitoring extraction set respectively, and includes:
obtaining color values corresponding to all pixels in a pixel color set corresponding to a segmented picture, summing the color values to obtain a split pixel sum, and carrying out value taking and marking on the split pixel sum; acquiring standard pixels and value marks corresponding to the segmented pictures; the marked separation pixel sum and the marked standard pixel sum are simultaneously obtained to obtain a video monitoring coefficient of natural gas exploitation;
and acquiring the sound, the gas type correlation value and the gas concentration of the monitoring extraction centralized marker through a preset processing interval period, and acquiring the detection monitoring coefficient of natural gas exploitation by simultaneously acquiring the marked sound, gas type correlation value and gas concentration.
Preferably, the matching analysis is performed on the video monitoring coefficient and the detection monitoring coefficient respectively, and includes:
acquiring a video monitoring coefficient and a video monitoring threshold corresponding to the video monitoring coefficient and performing matching evaluation;
if the video monitoring coefficient is larger than the video monitoring threshold and not larger than p% of the video monitoring threshold, and the continuous frequency is larger than k, generating a second video monitoring signal; p is a real number greater than one hundred, k is a real number greater than zero; if the video monitoring coefficient is greater than p% of the video monitoring threshold value and the continuous frequency is greater than k, generating a third video monitoring signal; the second monitoring signal and the third monitoring signal form a video evaluation set;
and acquiring a detection monitoring coefficient and a detection monitoring threshold corresponding to the detection monitoring coefficient, and performing matching evaluation to obtain a detection evaluation set.
Preferably, if the detection monitoring coefficient is greater than the detection monitoring threshold and not greater than q% of the detection monitoring threshold, and the frequency of continuous occurrence is greater than v, generating a second monitoring signal; q is a real number greater than one hundred, v is a real number greater than zero; if the detection monitoring coefficient is larger than q% of the detection monitoring threshold value and the continuous occurrence frequency is larger than v, generating a third monitoring signal; adjusting the preset processing interval period to a first early warning interval period and a second early warning interval period respectively according to the second monitoring signal and the third monitoring signal;
the second and third snoop signals form a snoop evaluation set.
Preferably, generating different degrees of prompt warning and control includes:
if a second monitoring signal exists in the video evaluation set or a second monitoring signal exists in the detection evaluation set, generating a first prompt instruction, and sending a first-level prompt to an on-line staff according to the first prompt instruction;
if a second monitoring signal exists in the video evaluation set and a second monitoring signal exists in the detection evaluation set, generating a first early warning instruction; respectively sending primary early warning to front-line personnel and management personnel according to the first early warning instruction;
if a third monitoring signal exists in the video evaluation set or a third monitoring signal exists in the detection evaluation set, generating a second prompt instruction, and sending a second prompt to front-line personnel according to the second prompt instruction;
if a third monitoring signal exists in the video evaluation set and a third monitoring signal exists in the detection evaluation set, a second early warning instruction is generated; and respectively sending secondary early warning to front-line personnel and management personnel according to the second early warning instruction.
Preferably, the system also comprises a control front end, a video acquisition module and a video processing module, wherein the control front end is used for carrying out real-time shooting on the pre-divided natural gas partition set to obtain an exploitation video set; monitoring different divided areas in the pre-divided natural gas division set to obtain a monitoring data set; and sending the mining video set and the monitoring data set to a control back end together.
Preferably, the step of obtaining the natural gas partition set comprises:
acquiring a natural gas exploitation point and setting the natural gas exploitation point as a reference point; constructing a first divided area, a second divided area and a third divided area according to the reference point and the preset first radius and second radius; the first, second and third partitioned regions form a natural gas partition set.
Compared with the prior art, the invention has the following beneficial effects:
according to the method, the camera shooting and the sensor detection are carried out on different divided areas of the natural gas exploitation, the hidden danger of the natural gas exploitation is monitored and evaluated unilaterally from the aspects of video and sensor detection, then the evaluation results in different aspects are evaluated integrally in a combined mode, early warning prompts and control in different degrees are generated, meanwhile, the corresponding data processing and analyzing frequency can be adjusted adaptively according to the corresponding risk degree, the hidden danger in different risk degrees is tracked and verified, and the overall monitoring effect and control effect of the natural gas exploitation can be effectively improved.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the application provides a control system for natural gas exploitation. The execution subject of the natural gas exploitation control system includes, but is not limited to, at least one of the electronic devices of a server, a terminal, and the like, which can be configured to execute the method provided by the embodiment of the present application. In other words, the one natural gas exploitation control system may be executed by software or hardware installed in the terminal device or the server device, and the software may be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like.
Example 1:
referring to fig. 1, a natural gas exploitation control system according to an embodiment of the present invention includes a control front end and a control back end; the control front end comprises a monitoring module;
the camera shooting unit in the monitoring module is used for shooting pre-divided natural gas partition sets in real time to obtain mining video sets;
wherein the step of obtaining the natural gas partition set comprises:
acquiring a natural gas exploitation point and setting the natural gas exploitation point as a reference point;
constructing a monitoring area according to the reference point and a preset first radius and a preset second radius; the second radius is greater than the first radius; in the embodiment of the invention, the first radius can be 1 meter, and the second radius can be 2 meters;
a circular area formed by the reference point and the first radius is a first dividing area;
a circular ring area which is formed by the reference point and the second radius and does not contain the first dividing area is a second dividing area;
a region outside a circular region enclosed by the reference point and the second radius is a third divided region;
the first division area, the second division area and the third division area form a natural gas division set;
in the embodiment of the invention, the surrounding of the natural gas exploitation point can be monitored and analyzed in a targeted manner by carrying out regional division on the natural gas exploitation point, so that the purpose of improving the accuracy of monitoring and analysis is achieved, and meanwhile, data support can be provided for the division of prompt and early warning of different degrees;
the monitoring unit in the monitoring module is used for monitoring different divided areas in the pre-divided natural gas divided set to obtain a monitoring data set; sending the mining video set and the monitoring data set to a control back end together;
wherein the monitoring dataset comprises sounds, gas types and gas concentrations acquired by the sensors; the sound can be obtained by a sound sensor, and the gas type and the gas concentration can be obtained by a gas sensor;
the control back end comprises a data processing module and a prompt regulation and control module;
the data processing module comprises a feature extraction unit, a data training unit and a data analysis unit;
a video feature extraction component in the feature extraction unit preprocesses and screens the collected mining video set to obtain a mining extraction set; the method comprises the following steps:
capturing videos in the collected mining video set according to a preset processing interval period to obtain single image pictures, and arranging and combining a plurality of single image pictures according to a time sequence to obtain a video capture set; the preset processing interval period may be 30 seconds;
carrying out Fourier transform and noise removal on a plurality of single image pictures in the video capture set to obtain a capture processing set containing a plurality of processed pictures;
dividing a plurality of processing pictures in the capture processing set to obtain a capture division set comprising a plurality of divided pictures; the division is used for acquiring a picture containing a reference point, a first divided area and a second divided area on a processing picture;
obtaining color values corresponding to all pixels on a plurality of segmentation pictures and combining the color values according to a preset arrangement sequence to obtain a pixel color set corresponding to the segmentation pictures; the obtaining of the color value corresponding to the pixel is realized based on the conventional technical scheme, and the specific steps are not described herein;
arranging pixel color sets corresponding to a plurality of segmented pictures according to a time sequence to obtain a mining extraction set;
a monitoring feature extraction component in the feature extraction unit carries out digital processing and marking on the acquired monitoring data set to obtain a monitoring extraction set; the method comprises the following steps:
acquiring sound data and gas data monitored in a monitoring data set;
carrying out digital processing on the sound data and the gas data according to a preset processing interval period;
extracting the numerical value of sound in the sound data and marking the numerical value as SXi, wherein i belongs to {1, 2, 3,. and n }, and n is a positive integer and represents the total number; the sound is used for monitoring whether the natural gas is produced and leaked;
acquiring the gas type and the gas concentration in the gas data, matching the gas type with a preset gas type table to acquire a corresponding gas type correlation value, and marking the value as QLGi;
the gas type table is composed of a plurality of different gas types and corresponding gas type correlation values thereof, and the corresponding gas type correlation values are preset for the different gas types; gas types include, but are not limited to, hydrogen sulfide and methane;
values for gas concentration are extracted and labeled QNi;
arranging the marked sound, the gas type correlation value and the gas concentration according to the time sequence to obtain a monitoring extraction set;
it should be noted that, in the embodiment of the present invention, by performing real-time camera shooting on the collected natural gas exploitation operation and performing stage-type monitoring and analysis at processing interval periods, the natural gas exploitation state can be monitored and analyzed from the aspect of video, data processing resources can be saved, and data processing in the aspect of video is prevented from running with high load all the time; in order to improve the accuracy of the natural gas exploitation monitoring analysis, the data in the aspects of the video and the detection of the sensor are separately analyzed and combined, so that the accuracy of the natural gas exploitation monitoring analysis can be effectively improved, and effective data support can be provided for the control of the natural gas exploitation;
the data training unit is used for respectively training and calculating the mining extraction set and the monitoring extraction set to obtain corresponding video monitoring coefficients and detection monitoring coefficients; the method comprises the following steps:
obtaining color values corresponding to all pixels in a pixel color set corresponding to a segmented picture and summing the color values to obtain a split pixel sum, and carrying out value taking on the split pixel sum and marking the split pixel sum as FGxi; acquiring standard pixels corresponding to the segmented picture and marking the standard pixels as FGX 0;
the standard pixel sum is a picture in normal natural gas exploitation, and can be a picture in the day or at night; monitoring and analyzing from the aspect of video to monitor whether hidden danger of fire exists in the exploitation of natural gas;
calculating the marked separation pixel sum and the standard pixel sum through a formula to obtain a video monitoring coefficient of natural gas exploitation; the formula is:
SJX=α×(FGXi-FGX0);
in the formula, α is an environmental correction coefficient greater than zero, and may be 0.48165;
acquiring the sound, the gas type correlation value and the gas concentration of the monitoring extraction centralized marker through a preset processing interval period, and calculating the marked sound, gas type correlation value and gas concentration through a formula to acquire a detection monitoring coefficient of natural gas exploitation; the formula is:
in the formula, a1 and a2 are different proportionality coefficients and are both larger than zero, QNi0 is a preset gas concentration threshold of different types, and FGX0 is a preset sound threshold; the proportionality coefficient in the formula can be set by those skilled in the art according to actual conditions or obtained through simulation of a large amount of data; for example, a1 takes the value 3.622; a2 has a value of 1.813; when the detection monitoring coefficients are calculated and obtained, the larger the numerical values of the sound and the gas concentration and the types of the gas are, the larger the corresponding detection monitoring coefficient is, and the higher the possibility of indicating the corresponding potential safety hazard is;
in the embodiment of the invention, the video monitoring coefficient is a numerical value used for processing the video data to carry out overall evaluation on the hidden danger of natural gas exploitation from the aspect of video; the detection monitoring coefficient is a numerical value used for processing detection data of the sensor to integrally evaluate the hidden danger of natural gas exploitation from the aspect of detection; through simultaneous and calculation of collected and counted video data and detection data, evaluation and prompt can be carried out on exploitation of natural gas from different aspects, so that exploitation of the natural gas can be dynamically controlled, and safety of natural gas exploitation can be effectively improved.
The data analysis unit is used for respectively carrying out matching analysis on the video monitoring coefficient and the detection monitoring coefficient to obtain a video evaluation set corresponding to the video monitoring coefficient and a detection evaluation set corresponding to the detection monitoring coefficient; the method comprises the following steps:
acquiring a video monitoring coefficient and a video monitoring threshold corresponding to the video monitoring coefficient and performing matching evaluation;
if the video monitoring coefficient is not larger than the video monitoring threshold value, judging that the monitoring condition of the video aspect of the natural gas exploitation site is normal and generating a first monitoring signal;
if the video monitoring coefficient is larger than the video monitoring threshold and not larger than p% of the video monitoring threshold, and the continuous occurrence frequency is larger than k, p can be 150, k can be 3, it is determined that the situation monitored in the aspect of the video of the natural gas exploitation site is slightly abnormal, and a second monitoring signal is generated; p is a real number greater than one hundred, k is a real number greater than zero;
if the video monitoring coefficient is larger than p% of the video monitoring threshold value and the continuous occurrence frequency is larger than k, judging that the monitoring condition of the video aspect of the natural gas exploitation site has medium abnormality and generating a third monitoring signal; the first monitoring signal, the second monitoring signal and the third monitoring signal form a video evaluation set;
acquiring a detection monitoring coefficient and a detection monitoring threshold corresponding to the detection monitoring coefficient and performing matching evaluation;
if the detection monitoring coefficient is not larger than the detection monitoring threshold value, judging that the monitoring state of the natural gas exploitation field sensor in the detection aspect is normal and generating a first monitoring signal;
if the detection monitoring coefficient is larger than the detection monitoring threshold and not larger than q% of the detection monitoring threshold, the frequency of continuous occurrence is larger than v, q can be 140, v can be 3, it is judged that the state monitored by the natural gas exploitation field sensor in the detection aspect is slightly abnormal, and a second monitoring signal is generated; q is a real number greater than one hundred, v is a real number greater than zero, a preset processing interval time is adjusted to be a first early warning interval time according to the second monitoring signal, the first early warning interval time is smaller than the processing interval time, and the first early warning interval time can be 15 seconds;
if the detection monitoring coefficient is larger than q% of the detection monitoring threshold, judging that the state monitored by the natural gas exploitation field sensor in the detection aspect is moderate and abnormal, generating a third monitoring signal, and adjusting a preset processing interval period to be a second early warning interval period according to the third monitoring signal, wherein the second early warning interval period is smaller than the first early warning interval period and can be 8 seconds;
the first, second and third snooping signals form a probing evaluation set;
it should be noted that, in order to provide the accuracy of the natural gas production monitoring analysis; in the embodiment of the invention, the video and the detection are respectively and independently analyzed, and the results of the two analysis are simultaneously evaluated integrally, so that the accuracy of the integral analysis of the natural gas exploitation can be effectively improved, and effective data support can be provided for the control of the natural gas exploitation;
notably, the detection evaluation set can be subjected to monitoring analysis from an invisible aspect, and the video evaluation set can be subjected to monitoring analysis and verification from a visible aspect; and the monitoring frequency can be dynamically adjusted in a self-adaptive manner to carry out efficient tracking and verification, and better monitoring and control effects can be realized.
The prompt regulation and control module is used for generating prompt early warning and control of different degrees according to the video evaluation set and the detection evaluation set and informing related personnel to process in time; the method comprises the following steps:
acquiring a video evaluation set and a detection evaluation set and analyzing;
the priority of the detection evaluation set is higher than that of the video evaluation set, the sensitivity of the detection temperature sensor is higher than that of video monitoring, and the video monitoring is used for verifying the leakage and ignition state of natural gas extraction transmission;
if a second monitoring signal exists in the video evaluation set or a second monitoring signal exists in the detection evaluation set, generating a first prompt instruction, and sending a first-level prompt to an on-line staff according to the first prompt instruction; a front-end crew may be a constructor;
if a second monitoring signal exists in the video evaluation set and a second monitoring signal exists in the detection evaluation set, generating a first early warning instruction; the urgency of the first early warning instruction is higher than that of the first prompt instruction, and primary early warnings are respectively sent to front-line personnel and management personnel according to the first early warning instruction;
if a third monitoring signal exists in the video evaluation set or a third monitoring signal exists in the detection evaluation set, generating a second prompt instruction, and sending a second-level prompt to a front-line worker according to the second prompt instruction; the severity of the secondary cues is higher than the severity of the primary cues;
if a third monitoring signal exists in the video evaluation set and a third monitoring signal exists in the detection evaluation set, a second early warning instruction is generated; the urgency of the second early warning instruction is higher than the urgency of the first early warning instruction and the second prompt instruction; respectively sending a second-stage early warning to first-line personnel and management personnel according to a second early warning instruction, and controlling the natural gas to stop exploitation; the severity of the secondary early warning is higher than that of the primary early warning.
In the embodiment of the invention, the video analysis result and the detection analysis result are combined to integrally analyze the natural gas exploitation situation, automatically prompt and early-warning in different degrees, dynamically control the natural gas exploitation, and reduce the influence caused by accidents in the natural gas exploitation.
Example 2:
fig. 2 is a schematic structural diagram of an electronic device for implementing a control system for natural gas exploitation according to an embodiment of the present invention.
The electronic device may include a processor, a memory, and a bus, and may further include a computer program, such as a natural gas exploitation control program, stored in the memory and executable on the processor.
The memory includes at least one type of readable storage medium, which includes flash memory, removable hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, and the like. The memory may in some embodiments be an internal storage unit of the electronic device, for example a removable hard disk of the electronic device. The memory may also be an external storage device of the electronic device in other embodiments, such as a plug-in removable hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the electronic device. Further, the memory may also include both internal storage units and external storage devices of the electronic device. The memory may be used not only to store application software installed in the electronic device and various types of data, such as a code of a natural gas exploitation control program, etc., but also to temporarily store data that has been output or will be output.
A processor may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or may be composed of a plurality of integrated circuits packaged with the same or different functions, including one or more Central Processing Units (CPUs), microprocessors, digital Processing chips, graphics processors, and combinations of various control chips. The processor is a Control Unit (Control Unit) of the electronic device, connects various components of the whole electronic device by using various interfaces and lines, executes or executes programs or modules (e.g., a natural gas utilization Control program, etc.) stored in the memory, and calls data stored in the memory to perform various functions of the electronic device and process the data.
The bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is arranged to enable connected communication between the memory and the at least one processor or the like.
Fig. 2 shows only an electronic device with components, and those skilled in the art will appreciate that the configuration shown in fig. 2 does not constitute a limitation of the electronic device, and may include fewer or more components than shown, or some components may be combined, or a different arrangement of components.
For example, although not shown, the electronic device may further include a power supply (such as a battery) for supplying power to each component, and preferably, the power supply may be logically connected to the at least one processor through a power management device, so that functions such as charge management, discharge management, and power consumption management are implemented through the power management device. The power supply may also include any component of one or more dc or ac power sources, recharging devices, power failure detection circuitry, power converters or inverters, power status indicators, and the like. The electronic device may further include various sensors, a bluetooth module, a Wi-Fi module, etc., which are not described herein again.
Further, the electronic device may further include a network interface, and optionally, the network interface may include a wired interface and/or a wireless interface (such as a WI-FI interface, a bluetooth interface, etc.), which are generally used for establishing a communication connection between the electronic device and other electronic devices.
Optionally, the electronic device may further comprise a user interface, which may be a Display (Display), an input unit (such as a Keyboard), and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable, among other things, for displaying information processed in the electronic device and for displaying a visualized user interface.
It is to be understood that the embodiments are illustrative only and that the scope of the appended claims is not limited to the details of construction set forth herein.
A natural gas exploitation control program stored in a memory of the electronic device is a combination of a plurality of instructions, and specifically, a specific implementation method of the instructions by the processor may refer to descriptions of relevant steps in the corresponding embodiments of fig. 1 to fig. 2, which are not described herein again.
Further, the electronic device integrated module/unit, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in a computer readable storage medium. The computer readable storage medium may be volatile or nonvolatile. For example, the computer-readable medium may include: any entity or device capable of carrying said computer program code, recording medium, U-disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM).
The invention also provides a computer readable storage medium having a computer program stored thereon, the computer program being executable by a processor of an electronic device.
In the several embodiments provided in the present invention, it should be understood that the disclosed apparatus, device and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, a module may be divided into only one logical function, and may be divided into other ways in actual implementation.
Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.