CN110087034A - A kind of coal bed gas remote supervision system - Google Patents

A kind of coal bed gas remote supervision system Download PDF

Info

Publication number
CN110087034A
CN110087034A CN201910339296.2A CN201910339296A CN110087034A CN 110087034 A CN110087034 A CN 110087034A CN 201910339296 A CN201910339296 A CN 201910339296A CN 110087034 A CN110087034 A CN 110087034A
Authority
CN
China
Prior art keywords
thread
image
server
log
collection terminal
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
CN201910339296.2A
Other languages
Chinese (zh)
Other versions
CN110087034B (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.)
Shanxi Luan Jinyuan Coalbed Methane Development Co ltd
Yan'an Ximeng Petroleum Engineering Technology Co ltd
Original Assignee
PUYANG TAIHE OIL & GAS ENGINEERING Co Ltd
Shanxi Luan Jinyuan Coalbed Methane Development Co Ltd
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 PUYANG TAIHE OIL & GAS ENGINEERING Co Ltd, Shanxi Luan Jinyuan Coalbed Methane Development Co Ltd filed Critical PUYANG TAIHE OIL & GAS ENGINEERING Co Ltd
Priority to CN201910339296.2A priority Critical patent/CN110087034B/en
Publication of CN110087034A publication Critical patent/CN110087034A/en
Application granted granted Critical
Publication of CN110087034B publication Critical patent/CN110087034B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/30Transforming light or analogous information into electric information
    • H04N5/33Transforming infrared radiation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Abstract

The present invention provides a kind of coal bed gas remote supervision systems, it include: collection terminal, collection terminal is divided into the software run in hardware and ARM, realizes the real-time image information at acquisition exploitation scene, abnormal conditions are judged whether there is after processing, and keep the function of communicating with server;Group network system;And server, including server monitoring end software, it is sent to after monitoring client for on-site supervision situation and shows in a certain way, and to the automatic alarm of abnormal conditions.Collection terminal video camera production wells station live image, pass through the exception information in the image processing program detection image sequence in collection terminal ARM chip, after finding that someone or vehicle the abnormal conditions such as are swarmed into and occurred, which mark and pass through wireless network and is sent to monitoring client and shows and is alarmed.Only transmission abnormality scene picture, staff reduce the wireless flow expense of working strength and output transmission without falling into a long wait in addition to regularly sending real time picture in the course of work.

Description

A kind of coal bed gas remote supervision system
Technical field
The present invention relates to a kind of remote supervision system, especially a kind of coal bed gas remote supervision system.
Background technique
A kind of attention of the coal bed gas as clean energy resource, by various countries.China has fossil energy more abundant, wherein Coal bed gas is the associated energy sources of coal, and reserves are very considerable, and the resource storage total amount of middle-shallow layer coal bed gas ranks the third of the world position. Coal bed gas main component is methane, and calorific value is higher, and product is carbon dioxide and water after full combustion.Make in traditional coal mining In industry, coal bed gas is usually fallen by direct emission, and greatly safety accident also easily occurs for waste of resource, so preparatory working seam Gas can increase economic interests, while be able to ascend the safety of coal mining, however due to China using the coal bed gas time compared with Short, technology is not mature enough, and as easily exploded during coal-bed gas exploitation, the requirement to safety is very stringent, careless slightly Serious production accident may occur, it is therefore desirable to the situation at implementing monitoring exploitation scene understands equipment running status, and Discover whether that there are external uncertain security risks.Currently used method is manual inspection, wastes huge people Power material resources, while inspection effect is also not fully up to expectations.Therefore a set of reliable and stable application and coal bed gas operation field are designed Remote supervision system is very necessary, and the abnormal conditions for being distributed scattered each exploitation scene can be uploaded to middle control by system in time Room, staff can promptly and accurately occur hidden danger, solve the problems, such as, accomplish the purpose of safety in production, what reduction was reported by mistake and failed to report Situation, while guaranteeing that system can quickly make a response abnormal conditions, reduce the failure rate of system.
Summary of the invention
To overcome the shortcomings of existing technologies, it the purpose of the present invention is to provide a kind of coal bed gas remote detecting system, is used for The monitoring coal-bed gas exploitation field condition of intelligence.By on-the-spot investigation combination coal bed gas distribution situation it is found that recovery well station multidigit In remote mountain area, road bumpiness, and be distributed more dispersed.If system group network relies on traditional wire transmission video mode, It is routed very difficult, higher cost, wiring cost is then reduced using wireless transmission method, is more advantageous to system group network, still Need to consider wireless transmission during generate campus network problem, therefore this system use wireless networking mode, while in order to The campus network generated in actual motion is saved, the abnormal conditions of processing image is realized in collection terminal, is happened when without exception When, timing uploads a picture;When having abnormal conditions generation, upload has the image of abnormal conditions to show to server immediately alarms Working method.
The purpose of the present invention is to provide a kind of coal bed gas remote detecting systems, comprising:
Collection terminal, the collection terminal are divided into the software run in hardware and ARM, realize the realtime graphic at acquisition exploitation scene Information judges whether there is abnormal conditions after processing, and keeps the function of communicating with server;
Group network system;And
Server, including server monitoring end software can be managed after being sent to monitoring client for on-site supervision situation with people The mode of solution shows, and to the automatic alarm of abnormal conditions.
Preferably, the hardware of the collection terminal includes thermal camera, power module, router, arm processor and outer The composition of interface circuit is enclosed, the thermal camera uses FW18J-V2 model video camera, by monitoring site real-time image information Electric signal is converted to by optical signal, the power module is made of solar panel and battery, realizes that stable power supply supplies It answers, the arm processor is Exynos4412 chip, and the peripheral interface circuit is mainly various interface circuits, video decoding Circuit and communication control circuit, the interface circuit extend network interface, usb, BNC, UART interface, the video decoding circuit The chip used converts analog signals into digital signal for TVP5150, realizes that the thermal camera and the ARM are handled The data connection of device, the communication control circuit use chip for DM9621ANP chip, control the transmission of Ethernet data.
Preferably, the router of the collection terminal uses 3G net by the four letter other routers of F3425 type technical grade Network.
Preferably, software realization the acquisition image, abnormality detection, the function of data communication run in the ARM, using C Language is run on the linux system of ARM carrying and using multithreading, including main thread, image acquisition and processing thread, Image sends thread, order receiving thread, house dog thread, wherein and the main thread realizes parameter, Memory Allocation initialization, House dog thread is opened, network communication parameters are set, opens and monitors, connection is waited, at this point, image acquisition and processing thread and image It sends thread and does not set up, system just starts to work normally after waiting host computer connection to send order, if program breaks down It waiting into Infinite Cyclic or always, then program will be restarted automatically, if collection terminal is paralysed completely, software watchdog will fail, Whole system can not be restarted, need hardware watchdog to restart entire collection terminal at this time, it is that software systems are normal that order, which receives thread, The entrance of work, collection terminal waits the connection request of host computer at any time, after establishing connection, receives host computer order, and open Image acquisition and processing thread and image send thread, and order receiving thread uses epoll model, and image acquisition and processing thread includes Initialization to camera, the distribution of image stored memory and the acquisition process part of image, pass through the collected figure of video camera Piece is passed in ARM after format is converted, and after algorithm process, if it find that abnormal conditions, then by the frame picture compression and is examined It whether idle looks into transmission thread, if sending the thread free time, compressed picture is pressed into and sends buffer area and informs transmission Thread will be dealt into monitoring client thereon;If detected picture is no abnormal, but reaches timing time, then simultaneously by the picture compression Check whether transmission thread is idle, if sending the thread free time, compressed picture is pressed into and sends buffer area and informs hair Line sending journey will be dealt into monitoring client thereon.
Preferably, image sends thread and image acquisition and processing thread uses interlocking mechanism, it is ensured that data are sent accurate Property.
Preferably, the group network system uses Virtual Private Network technology, i.e. VPN technologies under 3G technology, in collection terminal The wireless router with VPN function is configured, each collection terminal is considered as a VPN client, and monitoring client is then used as VPN to take Business device, router are that customer end A RM distributes static ip address, realize the accurate delivery of data, and 30 client's sector addresses distribution divide With certain tunnel IP address range, while user name, password are set, specifies vpn server address, uses monitoring client in system Static IP needs addition group membership, by testing with client user's name, password, tunnel IP as server address in vpn server The communication tunnel with client is established after card, the VPN network interface card designs for double netcard, when user end to server sends data When, vpn gateway checks that destination address is that datagram is then carried out VPN encapsulation by server address, and packet rs destination address is at this time The outer gateway address of server VPN, is sent to server vpn gateway by internet, checks that data packet comes from client VPN net It closes, is then unpacked by VPN agreement, send data packets to server computer, at this point, the data that server obtains are similar to from client End directly obtains.
Preferably, the server includes:
(1) log-in module: user login validation function guarantees the safe operation of system, prevents non-working person's operation from making With;
(2) previewing module: to the display function of well station picture, the well station number and selection monitoring of selection while monitoring are special Fixed well station;
(3) configuration module: the setting of file storing path, user's registration nullify management, long-range to control well station function;
(4) playback module: playback well station monitored picture facilitates staff to realize the review to the previous situation in well station, side Just monitoring work carries out;
(5) log module: the storage look facility of system work log and alarm log.
Preferably, the database storage model of the server uses the relationship and category of ER conceptual model track record object Property, wherein user information includes user name and modification logging, has to image and checks permission, has storage to log and checks Permission;Image information includes image name, three storage location, attribute parts, when wherein attribute is divided into image sources, acquisition Between, whether abnormal three parts;Log information includes Log Names, three type, storage location parts, and type is divided into working day Two parts of will and warning message;Well station information includes window number, three IP address, device name parts, well station collection terminal The picture of upload, by monitoring software analysis shows that and storing, while record log information.
Preferably, the user's checking dialog box of the log-in module corresponds to CDlgLogin Similar integral from MFC dialog box class, The display of two member variables m_usrPwd and m_usrName including CString character string type, user's checking dialog box are logical The main dialog class CameraServerDlg class for crossing system is realized;The previewing module includes menu bar, Jing Zhanshebeishu, pre- Look at window, log information display window, the CMenu class that wherein menu bar is MFC includes preview, playback, log, configuration, window Number nullifies menu item, initializes letter by the statement menu class members's function m_Menu in main dialog class, and in main dialog box It calls menu item loading command and display command to draw menu bar in number, realizes the handoff functionality between modules, preview The corresponding CDlgOutput Similar integral of window includes window number, handle, video in window, socket etc. from base class CDialog class Member variable, each display window are the object of a CDlgOutput class, realize the switching of multiwindow.Jing Zhanshebeishu The main management realized to well station, four well stations are divided into one group, divide by last two arrangements of IP address of equipment.Log information is aobvious Show that window realizes the real-time display of log information, staff is facilitated to check working state of system in time;The playback module wound New thread function SearchPic (LPVOID pParam) is built, by the opening button of playback menu item in click menu column, By the COMMAND message of menu class, playback dialog box is opened, and watch the time by setting, website number searches for record Image data, system work are that record time of the image data received, store path, website number, store name all record In picture_Tb table;The log module is divided into log information and warning message two parts, passes through Dlglog class dialog box In type selection dialog box realize log information and warning message switching, after setting the time interval checked, by right Log_Tb table is accessed, qualified information is searched and shows;Configuration module design be divided into be locally configured, user management, Three parts of Remote configuration, corresponding to the dialog box module of Dlgconfig class, described be locally configured mainly carries out basic parameter Setting, the user management mainly include the registration of new user and the deletion of existing subscriber's information, and the Remote configuration is to existing Station point sends order and realizes reading picture or restarting equipment.
System Whole Work Flow: collection terminal video camera production wells station live image passes through the figure in collection terminal ARM chip As the exception information in processing routine detection image sequence, after finding that someone or vehicle the abnormal conditions such as swarm into and occur, by this Frame picture compression, which marks and passes through wireless network, is sent to monitoring client display alarm.
Beneficial effects of the present invention:
Present invention reduces staff's working strength, the next wireless flow of output transmission in control system operational process Expense, in the course of work in addition to regularly sending real time picture, only transmission abnormality scene picture, so that staff is without for a long time The case where manually monitoring each scene judge scene it is whether normal, system will make alarm to abnormal conditions, at the same time this The working method of sample can effectively realize flow control, preferably be suitable for the monitoring scene of coal-bed gas exploitation, and it is past to reject water pumper Multiple movement is interfered caused by abnormality detection, and can detect that people or vehicle swarm into caused exception, are simultaneously accurately and in time The safety of system and real-time meet the needs of real-time monitoring system.
According to the following detailed description of specific embodiments of the present invention in conjunction with the accompanying drawings, those skilled in the art will be brighter The above and other objects, advantages and features of the present invention.
Detailed description of the invention
Some specific embodiments of the present invention is described in detail by way of example and not limitation with reference to the accompanying drawings hereinafter. Identical appended drawing reference denotes same or similar part or part in attached drawing.It should be appreciated by those skilled in the art that these What attached drawing was not necessarily drawn to scale.Target and feature of the invention will be apparent from view of following description taken together with the accompanying drawings, In attached drawing:
Fig. 1 show architecture diagram according to the system in the embodiment of the present invention;
Fig. 2 show collection terminal hardware architecture diagram according to an embodiment of the present invention;
Fig. 3 show camera structure figure according to an embodiment of the present invention;
Fig. 4 show power module structure figure according to an embodiment of the present invention;
Fig. 5 show image acquisition and processing thread flow figure according to an embodiment of the present invention;
Fig. 6 show image according to an embodiment of the present invention and sends thread flow figure;
Fig. 7 show network communication topological diagram according to an embodiment of the present invention;
Fig. 8 show monitoring software module design drawing according to an embodiment of the present invention.
Specific embodiment
Such as Fig. 1, shown system architecture diagram, the purpose of the present invention is to provide a kind of coal bed gas remote detecting systems, comprising:
Collection terminal;
Group network system;And
Server.
Wherein, collection terminal design is divided into the software design run in hardware design and ARM.Collection terminal realizes acquisition from main The real-time image information for exploiting scene judges whether there is abnormal conditions after processing, and keeps the function communicated with server Energy.
Collection terminal hardware design:
Collection terminal mainly realizes Image Acquisition, processing and communication function, to meet the function collection terminal hardware structure such as Fig. 2 Shown, wherein infrared camera uses FW18J-V2 model video camera, as shown in figure 3, the model camera can adapt to relatively dislike Monitoring site real-time image information is converted to electric signal, power module such as Fig. 4 by optical signal by bad working environment, main realize It is shown, it is made of solar panel and battery, can be realized stable power supply supply.
Arm processor is Exynos4412 chip, has low-power consumption, high-performance, can satisfy image processing requirements, ARM Processor, which is mainly realized, handles acquisition picture, and realizes communication control;Its peripheral circuit is mainly various interface circuits, Video decoding circuit and communication control circuit.The interface circuit primary expansion interfaces such as network interface, usb, BNC, UART, video solution The chip that uses of code circuit can be realized for TVP5150 and convert analog signals into digital signal, realization infrared camera and The data connection of arm processor;Communication control circuit uses chip for DM9621ANP chip, can control Ethernet data Transmission.The chip supports IEEE802.3U100BASE-TX and IEEE802.310BASE-T standard, supports TCP/IP transmission, most High data manipulation speed is 480Mbps.
For the networking for realizing coal-bed gas exploitation scene, each collection terminal need to be equipped with router, realize the communication with server Connection.Consider on-scene communication signal strength actual conditions, the router that collection terminal uses is by the four letter other roads of F3425 type technical grade Data transparent transmission is realized using 3G network by device.It has the following characteristics that
1, it is designed using technical grade, has the characteristics that high stability high precision, -35~75 degrees Celsius of operating ambient temperature antiposition, It can be suitably used for field rugged environment, realize and stablize networking.
2,32 bit CPU of technical grade, Flash capacity 8MB, SCRAM capacity 64MB, can be realized the big datas such as picture, video Measure wireless transmission demand.
3, bandwidth allocation mode, management flow, bandwidth setting can be set by network protocol type and client.
4, on the basis of common VPN, extension increases PPTP server, L2TP server, OpenVPN server, OpenVPN Client is supported, multiple network security application deployment scheme is provided.
5, there is metal coating shell, realization communication component is isolated with other live modules.
Collection terminal programming:
Collection terminal programming acquires image, abnormality detection, the function of data communication mainly for realizing, using C language, It runs on the linux system of ARM carrying.To realize that multi-functional coordination is realized, a variety of affairs are handled in time, using multithreading skill Art.It wherein, mainly include main thread, image acquisition and processing thread, image transmission thread, order receiving thread, house dog thread. Main thread mainly realizes parameter, Memory Allocation initialization, opens house dog thread, network communication parameters are arranged, open and monitor, etc. Wait connect.At this point, image acquisition and processing thread sends thread with image and do not set up, system waits host computer connection to send order Just start to work normally afterwards.House dog thread is software watchdog implementation, and program needs timing dog-feeding during running, if Program, which breaks down, to be entered Infinite Cyclic or waits always, then program will be restarted automatically.If collection terminal is paralysed completely, software is seen Door dog will fail, and can not restart whole system, hardware watchdog is needed to restart entire collection terminal at this time.House dog mechanism can have The guarantee collection terminal software of effect, hardware stable operation.Order receive thread be software systems work normally entrance, collection terminal with When wait host computer connection request, after establishing connection, receive host computer order, and open image acquisition and processing thread and figure As sending thread.Order receiving thread uses epoll model.Image acquisition and processing thread mainly includes the initialization to camera, The parts such as the acquisition process of the distribution of image stored memory and image, through the collected picture of video camera after format is converted In incoming ARM, after algorithm process, if it find that abnormal conditions, then by the frame picture compression and check whether send thread Compressed picture is pressed into if sending the thread free time and sends buffer area and inform that sending thread will be dealt into thereon by the free time Monitoring client;If detected picture is no abnormal, but reach timing time, then by the picture compression and check send thread be Compressed picture is pressed into if sending the thread free time and sends buffer area and inform that sending thread will send out thereon by the no free time To monitoring client, algorithm flow is as shown in Figure 5.Image sends the function that thread realizes collection terminal and monitoring client data communication, calculates Method process is as shown in Figure 6.The multithreading of Linux platform is supported that primary operational is divided into creation, waits and exit by the library Pthread. Image sends thread and image acquisition and processing thread uses interlocking mechanism, it is ensured that the accuracy that data are sent, guarantee will not occur The frame image data is not yet sent completely, and another frame image data, which has been pressed into, sends the feelings that buffer area covering not yet sends data Condition.
Networking technology: Virtual Private Network technology is used.Since it is desired that guaranteeing that the data of transmission are capable of being sent to for safety Monitoring client, while considering the 3G technology of selection, selection uses VPN technologies, and expense is small, it is only necessary to pay certain traffic fee, press It is divided into PPTP, L2TP, IPSec according to tunneling technique.The purpose of system group network design is to realize the Centralized Monitoring at live 30 well stations, It needs to establish wireless data connection in the collection terminal and monitoring client at 30 well stations, in order to realize the transmission for utilizing VPN technologies safety Data have the wireless router of VPN function in collection terminal configuration, and each collection terminal is considered as a VPN client, monitors End is then used as vpn server, and router is that customer end A RM distributes static ip address, realizes the accurate delivery of data, 30 clients Sector address distribution, distributes certain tunnel IP address range, while user name, password is arranged, and specifies vpn server address, is Using monitoring client static IP as server address in system.Needed in vpn server addition group membership, by with client user The communication tunnel with client is established after name, password, tunnel IP verifying.VPN network interface card designs for double netcard, when client is to service When device sends data, vpn gateway checks that destination address is that datagram is then carried out VPN encapsulation by server address, at this time data packet Destination address is the outer gateway address of server VPN, is sent to server vpn gateway by internet, checks data packet from visitor Family end vpn gateway is then unpacked by VPN agreement, sends data packets to server computer, at this point, the data class that server obtains It is similar to directly obtain from client, network topological diagram is as shown in Figure 7.
Server design:
It mainly include server monitoring end software design, on-site supervision situation can be with people's understanding after being sent to monitoring client Mode is shown, and accomplishes the automatic alarm to abnormal conditions, reaches the monitoring to coal bed gas well station.Monitoring software module is such as Shown in Fig. 8, wherein log-in module realizes user login validation function, guarantees the safe operation of system, prevents non-working person from grasping It uses;Previewing module realizes that the display function to well station picture, the well station number and selection monitoring of selection while monitoring are special Fixed well station;Configuration module realizes the setting of file storing path, and user's registration nullifies management, long-range to control well station function;It returns Amplification module realizes playback well station monitored picture, facilitates staff to realize the review to the previous situation in well station, facilitates monitoring work It carries out;Log module realizes the storage look facility of system work log and alarm log.
(1) database storage model designs: monitoring client software needs to realize that long-term monitoring stores 30 well station monitored pictures Function, data volume is larger, while storage monitoring well station information, user information, work log, warning message etc. in monitoring software Data, data class multiplicity, using the relationship and attribute of ER conceptual model track record object, wherein user information includes to use Name in an account book and modification logging have image and check permission, have storage to log and check permission;Image information includes Image Name Three title, storage location, attribute parts, wherein whether extremely attribute is divided into image sources, acquisition time, three parts;Log Information includes Log Names, three type, storage location parts, and type is divided into two parts of work log and warning message;Well Information of standing includes window number, three IP address, device name parts, the picture that well station collection terminal uploads, by monitoring software point Analysis displays and store, while record log information.
(2) log-in module designs: being the entrance of system, for realizing login user verifying, user's checking dialog box is corresponding For CDlgLogin Similar integral from MFC dialog box class, main includes two member variable m_usrPwd of CString character string type And m_usrName.The display of user's checking dialog box is realized by the main dialog class CameraServerDlg class of system.
(3) previewing module designs: be the major interfaces of system operation, realize image show, well station selection function, main packet Include menu bar, Jing Zhanshebeishu, the preview window, log information display window.Wherein menu bar is that the CMenu class of MFC is mainly wrapped Containing menu items such as preview, playback, log, configuration, window number, cancellations, pass through the statement menu class members letter in main dialog class Number m_Menu, and menu item loading command and display command are called to draw menu bar, in fact in main dialog box initialization function Handoff functionality between existing modules.The corresponding CDlgOutput Similar integral of the preview window includes window from base class CDialog class Member variables, each display window such as mouth number, handle, video in window, socket are pair of a CDlgOutput class As realizing the switching of multiwindow.Jing Zhanshebeishu mainly realizes the management to well station, and four well stations are divided into one group, by device IP Last two arrangements in address divide.Log information display window realizes the real-time display of log information, facilitates staff timely Check working state of system.
(4) playback module designs: passing record is surveyed in realization, does not influence the normal work of system monitoring thread, is created Build new thread function SearchPic (LPVOID pParam).By the opening button of playback menu item in click menu column, By the COMMAND message of menu class, playback dialog box is opened, and watch the time by setting, website number searches for record Image data.System work is that record time of the image data received, store path, website number, store name all record In picture_Tb table, search efficiency is improved.
(5) log module designs: being divided into log information and warning message two parts, passes through the class in Dlglog class dialog box Type selects the switching of dialog box realization log information and warning message, after setting the time interval checked, by access Log_Tb table is searched qualified information and is shown.
(6) configuration module design: be divided into be locally configured, three user management, Remote configuration parts, correspond to The dialog box module of Dlgconfig class.It is locally configured and mainly basic parameter is configured, such as picture, the store path of log; User management mainly includes the registration of new user and the deletion of existing subscriber's information;Remote configuration is to send to order to live website It realizes and reads picture or restarting equipment.Configuration module is able to use some basic setups of the family realization to monitoring software, with relatively straight The mode of sight carries out data management, subscriber information management.
System Whole Work Flow: collection terminal video camera production wells station live image passes through the figure in collection terminal ARM chip As the exception information in processing routine detection image sequence, after finding that someone or vehicle the abnormal conditions such as swarm into and occur, by this Frame picture compression, which marks and passes through wireless network, is sent to monitoring client display alarm.
The present embodiment system reduces staff's working strength, the nothing that output transmission comes in control system operational process Linear flow rate expense, in the course of work in addition to regularly sending real time picture, only transmission abnormality scene picture, so that staff is not necessarily to Whether the case where manually monitoring each scene for a long time be normal to judge scene, and system will make alarm to abnormal conditions, with this Such working method can effectively realize flow control simultaneously, preferably be suitable for the monitoring scene of coal-bed gas exploitation, reject and take out Water dispenser reciprocating motion is interfered caused by abnormality detection, and can detect that people or vehicle swarm into caused exception accurately and in time, The safety of simultaneity factor and real-time meet the needs of real-time monitoring system.
Although the present invention is described by reference to specific illustrative embodiments, these embodiments are not will receive Restriction and only limited by accessory claim.It should be understood by those skilled in the art that can be without departing from of the invention Change and modification are able to carry out to the embodiment of the present invention in the case where protection scope and spirit.

Claims (9)

1. a kind of coal bed gas remote supervision system, characterized by comprising:
Collection terminal, the collection terminal are divided into the software run in hardware and ARM, realize the realtime graphic letter at acquisition exploitation scene Breath judges whether there is abnormal conditions after processing, and keeps the function of communicating with server;
Group network system;And
Server, including server monitoring end software, being sent to for on-site supervision situation can be with people's understanding after monitoring client Mode shows, and to the automatic alarm of abnormal conditions.
2. a kind of coal bed gas remote supervision system according to claim 1, it is characterised in that: the hardware packet of the collection terminal The composition of thermal camera, power module, router, arm processor and peripheral interface circuit is included, the thermal camera is adopted With FW18J-V2 model video camera, monitoring site real-time image information is converted into electric signal, the power module by optical signal It being made of solar panel and battery, realizes stable power supply supply, the arm processor is Exynos4412 chip, The peripheral interface circuit is mainly various interface circuits, video decoding circuit and communication control circuit, the interface circuit Network interface, usb, BNC, UART interface are extended, the chip that the video decoding circuit uses turns analog signal for TVP5150 It is changed to digital signal, realizes the data connection of the thermal camera Yu the arm processor, the communication control circuit uses Chip is DM9621ANP chip, controls the transmission of Ethernet data.
3. a kind of coal bed gas remote supervision system according to claim 2, it is characterised in that: the road of the collection terminal By device by the four letter other routers of F3425 type technical grade, 3G network is used.
4. a kind of coal bed gas remote supervision system according to claim 2, it is characterised in that: what is run in the ARM is soft Part realizes acquisition image, abnormality detection, the function of data communication, using C language, runs on the linux system of ARM carrying simultaneously Using multithreading, including main thread, image acquisition and processing thread, image sends thread, order receiving thread, house dog line Journey, wherein the main thread realizes parameter, Memory Allocation initialization, opens house dog thread, network communication parameters are arranged, open Monitoring is opened, connection is waited, at this point, image acquisition and processing thread sends thread with image and do not set up, system waits host computer to connect Just start to work normally after receiving and sending order, enters Infinite Cyclic if program breaks down or wait always, program will be certainly Dynamic to restart, if collection terminal is paralysed completely, software watchdog will fail, and can not restart whole system, need hardware to guard the gate at this time Dog restarts entire collection terminal, and it is the entrance that software systems work normally that order, which receives thread, and collection terminal waits host computer at any time Connection request after establishing connection, receives host computer order, and opens image acquisition and processing thread and image transmission thread, life Enable receiving thread using epoll model, image acquisition and processing thread includes the initialization to camera, the distribution of image stored memory And the acquisition process part of image, it is passed in ARM after format is converted by the collected picture of video camera, at algorithm After reason, if it find that abnormal conditions, then by the frame picture compression and check whether send thread idle, if it is empty to send thread Compressed picture is then pressed into and sends buffer area and inform that monitoring client will be dealt into thereon by sending thread by the spare time;If detecting figure Piece is no abnormal, but reach timing time, then by the picture compression and check send thread it is whether idle, if send thread Compressed picture is then pressed into and sends buffer area and inform that monitoring client will be dealt into thereon by sending thread by the free time.
5. a kind of coal bed gas remote supervision system according to claim 4, it is characterised in that: image sends thread and image Acquisition process thread uses interlocking mechanism, it is ensured that the accuracy that data are sent.
6. a kind of coal bed gas remote supervision system according to claim 1, it is characterised in that: the group network system is using empty Quasi- dedicated network technology, i.e. VPN technologies under 3G technology have the wireless router of VPN function in collection terminal configuration, each adopt Collection end is considered as a VPN client, and monitoring client is then used as vpn server, and router is for customer end A RM distribution static IP Location, realizes the accurate delivery of data, and 30 client's sector address distribution distribute certain tunnel IP address range, while use is arranged Name in an account book, password specify vpn server address, using monitoring client static IP as server address in system, in vpn server Group membership need to be added, it is described by the communication tunnel with foundation and client after client user's name, password, tunnel IP verifying VPN network interface card designs for double netcard, and when user end to server sends data, vpn gateway checks destination address for server Datagram is then carried out VPN encapsulation by location, and packet rs destination address is the outer gateway address of server VPN at this time, is sent out by internet It send to server vpn gateway, checks that data packet comes from client vpn gateway, then unpack, send data packets to by VPN agreement Server computer, at this point, the data that server obtains are similar to and directly obtain from client.
7. a kind of coal bed gas remote supervision system according to claim 1, it is characterised in that: the server includes:
(1) log-in module: user login validation function guarantees the safe operation of system, prevents non-working person from operating with;
(2) previewing module: to the display function of well station picture, the well station number and selection monitoring of selection while monitoring are specific Well station;
(3) configuration module: the setting of file storing path, user's registration nullify management, long-range to control well station function;
(4) playback module: playback well station monitored picture facilitates staff to realize the review to the previous situation in well station, facilitates prison Work is controlled to carry out;
(5) log module: the storage look facility of system work log and alarm log.
8. a kind of coal bed gas remote supervision system according to claim 7, it is characterised in that: the database of the server Storage model use ER conceptual model track record object relationship and attribute, wherein user information include user name with log in Password has image and checks permission, has storage to log and checks permission;Image information includes image name, storage position It sets, three parts of attribute, wherein whether extremely attribute is divided into image sources, acquisition time, three parts;Log information includes day Three will title, type, storage location parts, type are divided into two parts of work log and warning message;Well station information includes Three window number, IP address, device name parts, the picture that well station collection terminal uploads, by monitoring software analysis shows that and depositing Storage, while record log information.
9. a kind of coal bed gas remote supervision system according to claim 7, it is characterised in that: the user of the log-in module Verifying dialog box corresponds to CDlgLogin Similar integral from MFC dialog box class, and two members including CString character string type become M_usrPwd and m_usrName is measured, the display of user's checking dialog box passes through the main dialog class CameraServerDlg of system Class is realized;The previewing module includes menu bar, Jing Zhanshebeishu, the preview window, log information display window, wherein menu bar CMenu class for MFC includes preview, playback, log, configuration, window number, nullifies menu item, passes through the sound in main dialog class Bright menu class members's function m_Menu, and call menu item loading command and display command in main dialog box initialization function Menu bar is drawn, realizes the handoff functionality between modules, the corresponding CDlgOutput Similar integral of the preview window is from base class CDialog class is one comprising member variables, each display windows such as window number, handle, video in window, sockets The object of CDlgOutput class realizes the switching of multiwindow.Jing Zhanshebeishu mainly realizes the management to well station, four well stations point It is one group, is divided by last two arrangements of IP address of equipment.Log information display window realizes the real-time display of log information, side Just staff checks working state of system in time;The playback module creates new thread function SearchPic (LPVOID PParam), playback is opened by the COMMAND message of menu class by the opening button of playback menu item in click menu column Dialog box, and being watched the time by setting, website number search for the image data of record, and system work is the picture number received According to the record time, store path, website number, store name all record in picture_Tb table;The log module is divided into Log information and warning message two parts select dialog box to realize log information and report by the type in Dlglog class dialog box The switching of alert information, after setting the time interval checked, by searching qualified information and showing to access log_Tb table Show;Configuration module design be divided into be locally configured, three user management, Remote configuration parts, corresponding to Dlgconfig class Dialog box module, described be locally configured mainly are configured basic parameter, and the user management mainly includes the note of new user The deletion of volume and existing subscriber's information, the Remote configuration are to send order realization reading picture to live website or restart to set It is standby.
CN201910339296.2A 2019-04-25 2019-04-25 Coal bed gas remote monitoring system Active CN110087034B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910339296.2A CN110087034B (en) 2019-04-25 2019-04-25 Coal bed gas remote monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910339296.2A CN110087034B (en) 2019-04-25 2019-04-25 Coal bed gas remote monitoring system

Publications (2)

Publication Number Publication Date
CN110087034A true CN110087034A (en) 2019-08-02
CN110087034B CN110087034B (en) 2020-11-10

Family

ID=67416720

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910339296.2A Active CN110087034B (en) 2019-04-25 2019-04-25 Coal bed gas remote monitoring system

Country Status (1)

Country Link
CN (1) CN110087034B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111787185A (en) * 2020-08-04 2020-10-16 成都云图睿视科技有限公司 Method for real-time processing of multi-path camera data under VPU platform
CN112351260A (en) * 2020-08-04 2021-02-09 煤科集团沈阳研究院有限公司 Unattended automatic visual monitoring system and monitoring method for tunneling working face
CN112529353A (en) * 2020-09-22 2021-03-19 上海古数信息技术有限公司 Mining industry ore deposit machine customization system based on Linux
CN113409533A (en) * 2021-05-08 2021-09-17 国网浙江省电力有限公司丽水供电公司 Image picture intelligent pushing system and method based on alarm information

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1391405A (en) * 2002-07-18 2003-01-15 陈涛 Radio image alarm device and method
US20090289788A1 (en) * 2008-05-23 2009-11-26 Leblond Raymond G Peer to peer surveillance architecture
CN101741146A (en) * 2010-02-11 2010-06-16 江苏方天电力技术有限公司 Intelligent auxiliary monitoring terminal of transformer substation
CN101764744A (en) * 2009-11-24 2010-06-30 福建星网锐捷网络有限公司 VRRP (Virtual Router Redundancy Protocol) access method, device and system, as well as VRRP routing equipment
CN102378982A (en) * 2009-03-30 2012-03-14 西科姆株式会社 Monitoring system and communication management device
CN103942113A (en) * 2013-11-21 2014-07-23 小米科技有限责任公司 System restarting reason detection method, device and terminal equipment
CN104467187A (en) * 2014-12-16 2015-03-25 重庆邮电大学 Intelligent power grid remote monitoring system based on IOS
US20150248297A1 (en) * 2014-02-28 2015-09-03 Tyco Fire & Security Gmbh Constrained Device and Supporting Operating System
CN206972307U (en) * 2017-03-01 2018-02-06 中国矿业大学(北京) Coal-winning machine abnormal work and disaster underground warning system based on infrared image
CN207115474U (en) * 2017-08-08 2018-03-16 重庆厚盾安全技术有限公司 Visualization emergency evacuation command system based on wireless aps
CN108593842A (en) * 2018-03-26 2018-09-28 山东大学 Based on explosion-proof unmanned aerial vehicle platform tunnel gas automatic monitoring system and method
CN108961662A (en) * 2018-07-30 2018-12-07 肥城矿业集团矿业管理服务有限公司 A kind of coal-mine fire monitoring system based on wireless technology

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1391405A (en) * 2002-07-18 2003-01-15 陈涛 Radio image alarm device and method
US20090289788A1 (en) * 2008-05-23 2009-11-26 Leblond Raymond G Peer to peer surveillance architecture
CN102378982A (en) * 2009-03-30 2012-03-14 西科姆株式会社 Monitoring system and communication management device
CN101764744A (en) * 2009-11-24 2010-06-30 福建星网锐捷网络有限公司 VRRP (Virtual Router Redundancy Protocol) access method, device and system, as well as VRRP routing equipment
CN101741146A (en) * 2010-02-11 2010-06-16 江苏方天电力技术有限公司 Intelligent auxiliary monitoring terminal of transformer substation
CN103942113A (en) * 2013-11-21 2014-07-23 小米科技有限责任公司 System restarting reason detection method, device and terminal equipment
US20150248297A1 (en) * 2014-02-28 2015-09-03 Tyco Fire & Security Gmbh Constrained Device and Supporting Operating System
CN104467187A (en) * 2014-12-16 2015-03-25 重庆邮电大学 Intelligent power grid remote monitoring system based on IOS
CN206972307U (en) * 2017-03-01 2018-02-06 中国矿业大学(北京) Coal-winning machine abnormal work and disaster underground warning system based on infrared image
CN207115474U (en) * 2017-08-08 2018-03-16 重庆厚盾安全技术有限公司 Visualization emergency evacuation command system based on wireless aps
CN108593842A (en) * 2018-03-26 2018-09-28 山东大学 Based on explosion-proof unmanned aerial vehicle platform tunnel gas automatic monitoring system and method
CN108961662A (en) * 2018-07-30 2018-12-07 肥城矿业集团矿业管理服务有限公司 A kind of coal-mine fire monitoring system based on wireless technology

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111787185A (en) * 2020-08-04 2020-10-16 成都云图睿视科技有限公司 Method for real-time processing of multi-path camera data under VPU platform
CN112351260A (en) * 2020-08-04 2021-02-09 煤科集团沈阳研究院有限公司 Unattended automatic visual monitoring system and monitoring method for tunneling working face
CN111787185B (en) * 2020-08-04 2023-09-05 成都云图睿视科技有限公司 Method for processing multi-path camera data in real time under VPU platform
CN112529353A (en) * 2020-09-22 2021-03-19 上海古数信息技术有限公司 Mining industry ore deposit machine customization system based on Linux
CN113409533A (en) * 2021-05-08 2021-09-17 国网浙江省电力有限公司丽水供电公司 Image picture intelligent pushing system and method based on alarm information

Also Published As

Publication number Publication date
CN110087034B (en) 2020-11-10

Similar Documents

Publication Publication Date Title
CN110087034A (en) A kind of coal bed gas remote supervision system
Wang et al. A smart home gateway platform for data collection and awareness
CN103048965B (en) A kind of visual centralized monitoring system of dynamic machine room carrying video
CN101778264B (en) Video monitoring method and video monitoring system
CN103647938B (en) Security monitoring integrated machine and its remote monitoring system
CN109885002A (en) A kind of welding machine networking intelligent monitor system and monitoring method
CN204941604U (en) Mine safety monitoring total management system
CN105356615B (en) A kind of high pressure overhead power line movement inspection managing and control system based on QR Code technologies
Rakesh et al. An improved real-time surveillance system for home security system using BeagleBoard SBC, Zigbee and FTP webserver
US20160357762A1 (en) Smart View Selection In A Cloud Video Service
CN102981467A (en) One-stop general information integration monitoring system
CN104468717A (en) Internet of Things sensor gateway data collecting and analyzing platform
CN102928019A (en) System and method for monitoring environment based on wireless sensor and geographic information
US20170034483A1 (en) Smart shift selection in a cloud video service
CN113849553A (en) Substation data acquisition and processing method and system based on Internet of things equipment data acquisition
CN103096038B (en) The method for supervising of the fusion video monitoring system of multi-protocol video watch-dog access
CN115103157A (en) Video analysis method and device based on edge cloud cooperation, electronic equipment and medium
CN110363676A (en) Railway transportation coal dust suppression intellectual monitoring analysis method based on big data
CN109348176A (en) It is integrated with the wind power generating set supervisory control and data acqui sition system of video system
CN115643312A (en) Multi-protocol data acquisition and protocol conversion device based on cloud gateway
He et al. Wireless communication-based smoke detection system design for forest fire monitoring
CN105471592A (en) Novel public Wi-Fi system
CN206236239U (en) Based on internet Temperature and Humidity Control auto-power-off system
CN107634983A (en) A kind of long-range cloud service system of relay protection
CN109613423A (en) High-voltage circuitbreaker on-line monitoring and trouble analysis system based on vibration signal

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
TR01 Transfer of patent right

Effective date of registration: 20240129

Address after: 046204 Moyu Road, east of Meihai Road, Houbao Town, Xiangyuan County, Changzhi City, Shanxi Province

Patentee after: Shanxi Luan Jinyuan Coalbed Methane Development Co.,Ltd.

Country or region after: China

Patentee after: Yan'an Ximeng Petroleum Engineering Technology Co.,Ltd.

Address before: 046204 Moyu Road, east of Meihai Road, Houbao Town, Xiangyuan County, Changzhi City, Shanxi Province

Patentee before: Shanxi Luan Jinyuan Coalbed Methane Development Co.,Ltd.

Country or region before: China

Patentee before: PUYANG TAIHE OIL GAS ENGINEERING Co.,Ltd.

TR01 Transfer of patent right