CN109348176A - It is integrated with the wind power generating set supervisory control and data acqui sition system of video system - Google Patents
It is integrated with the wind power generating set supervisory control and data acqui sition system of video system Download PDFInfo
- Publication number
- CN109348176A CN109348176A CN201811258210.5A CN201811258210A CN109348176A CN 109348176 A CN109348176 A CN 109348176A CN 201811258210 A CN201811258210 A CN 201811258210A CN 109348176 A CN109348176 A CN 109348176A
- Authority
- CN
- China
- Prior art keywords
- data
- video
- camera
- picture
- failure
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
- H04N7/181—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Closed-Circuit Television Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a kind of wind power generating set supervisory control and data acqui sition systems of integrated video system, include the video system being integrated in Supervisory control and data acquisition (SCADA) system;Video system includes video monitoring homepage module, video preview module, video playback module, device management module, system configuration module, preview picture module and alarm message module;When logging in SCADA system, user data is verified, when data verification mistake, then system login fails, and when data verification success, login system, and can jump to specified wind field video system according to user right and carry out corresponding operation.The present invention reduces cost by integrating video monitoring system and SCADA system;Video alarm information is added in the fan trouble system of SCADA system, improve alarm mechanism, promote the monitoring performance of SCADA system significantly, blower interior situation is supervised more fully hereinafter, and the remote supervisory mechanism of video system is established, remote user passes through internet real time inspection live video situation.
Description
Technical field
The present invention relates to wind power generation field, in particular to a kind of wind power generating set monitoring for being integrated with video system with
Data acquire (SCADA, Supervisory Control and Data Acquisition) system.
Background technique
Since wind power plant pervasive environments condition is harsh, blower is distributed more widely, can help to transport for assembling video system
Dimension personnel " few man on duty, unattended " and to operating status, business inspection etc. carry out remote centralized management.Gradually at present
It is gradually popularized in wind power generation field, mainly by monitoring frontend (video camera, interchanger), transmission cable and feed cable and prison
The equipment such as Background control equipment composition is controlled, it is mainly responsible for full blast electric field fan and circumference environment carries out round-the-clock image prison
Control, can be logical by existing electric power in relevant departments such as booster stations Central Control Room, centralized control center of project entity and grid dispatching centers
Believe that net realizes long-range realtime graphic monitoring, remote failure and fortuitous event alarm reception processing to full blast electric field.To head end video
Data and monitoring data collection coding, and the data after coding are passed through into the client that TCP/IP network transmission can be reached to network
End.Networking client receives audio, video data and monitoring data after encoding, and is monitored, stores, manages.Network topology is shown
Meaning is as shown in Figure 1.
The design method of original video monitoring system separates video system and SCADA system, independence networking, at user's end
End uses two-server respectively, independent to monitor, as shown in Figure 2.Wherein, though the independent video system except SCADA system
So photographic technique can be carried out to Wind turbines, but there are the following problems: (1) alarm of video system cannot be with blower
Alarm composition unified mechanism.Video system plays an important role in terms of monitoring personnel's invasion, fire, and one
Denier is alarmed, and will cause the delay of warning message reception and registration, video system hair in the case where not there is full-time staff's real time inspection
Existing emergency cannot timely and effectively be communicated to SCADA system, cause the not perfect of alarm mechanism.(2) in headend equipment
Due to the independent networking of video system, interchanger need to be separately configured, and the interchanger of blower SCADA system often cannot be sufficiently sharp
With there is this space of drop.Backend user needs to arrange multiple full-time staff and monitors two displays in real time, meanwhile, need for
SCADA system and video system are respectively equipped with a server cabinet, cause the waste of manpower and material resources.(3) current wind generating set
Video monitoring system mainly for wind field grade, and lack the remotely supervision to wind field video system.
Summary of the invention
The object of the present invention is to provide a kind of wind power generating set supervisory control and data acqui sition system for being integrated with video system,
Integrate the resource of video monitoring system Yu SCADA system (supervisory control and data acqui sition system), including network communication and backstage it is soft
Part achievees the purpose that drop originally;Video alarm information is added in the fan trouble system of SCADA system, improves alarm mechanism, makes
The monitoring performance of SCADA system after must integrating significantly is promoted, and supervises blower interior situation more fully hereinafter;Establish video system
The remote supervisory mechanism of system, remote user can be with real time inspection live video situations by internet.
In order to achieve the above object, the present invention provides a kind of monitoring of the wind power generating set of integrated video system and data
Acquisition system includes: video system is integrated in supervisory control and data acqui sition system;The video system includes:
Video monitoring homepage module, for showing icon view related content;
Video preview module checks operation for single camera video stream;
Video playback module is checked for history video file;
Device management module is used for camera device data configuration;
System configuration module, the parameter configuration for video record and automatic screenshot;
Preview picture module, the screenshot of all cameras is checked in current wind field;
Log query module checks failure and alarm log that camera generates;
When logging in the supervisory control and data acqui sition system, user data is verified, when data verification mistake, then system login is lost
It loses, when data verification success, login system, and specified wind field video system can be jumped to according to user right and grasped accordingly
Make, executes the operation of modules.
Preferably, the supervisory control and data acqui sition system further includes alarm message module, to show current wind field letter
All warning messages of breath, and the generation time and alarm content of display alarm information, at the same it is real-time in the meeting of video monitoring homepage
Ground shows the warning message of failure.
Preferably, the supervisory control and data acqui sition system is provided with Video Long-distance Transfer System Controled, so that cloud real-time monitoring
The video situation at scene comprising the steps of:
S1, in video monitoring project/local side, server program starting continues to execute step S2;And/or it is supervised in video
Control project/cloud, server program starting, continues to execute step T2;
Whether S2, determining program start success, if starting successfully, then follow the steps S3;If starting failure, jumps execution
Step P3;
S3, obtain camera related data in real time, include: (a) real time picture intercepts, and deposits picture to locally;(b) fault graph
Piece interception deposits picture to locally;(c) real time fail message obtains;(d) real-time logs data acquisition;Continue to execute step S4;
S4, the data that will acquire are stored in mongo and redis, continue to execute step S5 or step S6;
S5, video monitoring project local project page presentation data content include: (a) video monitoring homepage: showing multiple
Multiple camera video streams of blower;(b) video preview: the single camera video stream of single blower is shown;(c) video returns
It puts: showing history video file;(d) equipment management: the related data of multiple cameras is operated;(e) system configuration: configuration is entire
Wind field stores the parameter of picture and video;(f) preview picture: the history picture of the interception of camera is shown;(g) log query:
Show the daily record data that camera generates;
S6, transmission data and graphic program obtain data and picture transfer to cloud server, jump and execute step T3;
Whether T2, determining program start success, if starting successfully, continue to execute step T3;If starting failure, jumps and holds
Row step P3;
T3, transmission picture and data program receive the content of local transmission, continue to execute step T4;
T4, data are stored in mongo and redis, continue to execute step T5;
T5, video monitoring project cloud item page display data content include: (a) video monitoring homepage: showing from this
Catch the real time picture come in ground;(b) equipment management: the related data of multiple cameras is operated;(c) system configuration: configuration is entire
Wind field stores the parameter of picture and video;(d) it preview picture: shows from the local history picture caught and;(e) log query:
It shows from the local daily record data caught and;
P3, program exit, and web page display data is sky.
Preferably, the supervisory control and data acqui sition system can also carry out streaming media service operation flow, include: video forwarding
Process, video file save process, data purge process, failure screenshot process, picture and save process and camera state
Monitoring process.
Preferably, the video repeating process further includes:
After program starts, configuration file is read, and verify profile data, if authentication error, EP (end of program);If testing
Card is correct, then reads mongo camera data, creates thread according to camera number, respectively;
Thread type one: forwarding camera video flows to proxy server, further according to camera data assembly URL, according to
Configuration file and camera number assembled proxy server URL, and video flowing is forwarded to proxy server using ffmpeg;
Thread type two: monitoring redis when CRUD camera data, executes one four six type threads;
Thread type three: when detecting newly-increased camera, whether camera data are effective, assembled further according to camera data
URL indicates that data are legal using ffmpeg connection camera, in connection, it is incorrect to be responsible for data;
Thread type four: frosted thread saves camera log to mongo, recycles CURL connection frosted camera day
Will address is obtained data in the form of time interval and is stored in mongo;
Thread type five: monitoring redis after camera forwards/save log to interrupt, executes one four six type threads;
Thread type six: Haikang thread saves camera log to mongo.
Preferably, the video file saves process and further includes:
After program starts, configuration file is read, and verify profile data, if authentication error, EP (end of program);If testing
Card is correct, then reads mongo camera data/system configuration data, creates thread according to camera number, is respectively as follows:
Thread type one: saving camera video flow data is video file to specified directory, further according to camera data
Assembled camera URL obtains the type for saving file, path and format according to system configuration, is handled and is imaged using ffmpeg
Head number creation file, video file is saved in file;
Thread type two: monitoring redis when modifying system configuration data, executes a type line journey;
When three: CRUD camera data of thread type, a type line journey is executed;
Thread type four: monitoring redis executes a type line journey after camera saves video file interruption.
Preferably, the data purge program further includes:
After program starts, configuration file is read, and verify profile data, if authentication error, EP (end of program);If testing
Card is correct, reads mongo system configuration data, obtains clearance time, performs the following operation respectively: (a) history picture is cleared up, can
To obtain image data and file according to time format and path, picture file is first deleted, then delete image data;(b) history
Video cleaning can obtain video data and file according to time format and path, first delete video file, then delete video counts
According to;(c) history log is cleared up, and can be obtained daily record data according to time format, be deleted daily record data.
Preferably, the failure screenshot program further includes:
After program starts, configuration file is read, and verify profile data, if authentication error, EP (end of program);If testing
Card is correct, creation interception current point in time process and time point process before 30 seconds;
The picture interception for then proceeding to time point after executing current point in time level-one 30 seconds saves, then Supervisory control and data acquisition
When capturing Fan Equipment failure in system, hair message to redis, process monitoring redis when obtaining data, creates thread, benefit
Picture is intercepted in the video flowing of authorized agency's server with opencv to store and save data to mongo and redis, after 30 seconds
It executes and stores again, last thread terminates;
Alternatively, the picture at time point intercepts preservation before continuing to execute 30 seconds, redis is monitored, before obtaining failure generation time
30 seconds time was inquired mongo according to time point and obtains designated file, and intercepted in video file using opencv specific
Time point video stream data is picture and stores.
Preferably, the picture save routine further includes:
After program starts, configuration file is read, and verify profile data, if authentication error, EP (end of program);If testing
Card is correct, then reads mongo system configuration data and camera data, creates thread according to camera number, saves camera
Video flowing is picture and stores, according to the agent address that configuration file assembly video forwards, using opencv with time interval shape
Formula saves picture, writes data into mongo and redis.
Preferably, the camera condition monitoring process further includes:
After program starts, configuration file is read, and verify profile data, if authentication error, EP (end of program);If testing
Card is correct, then reads mongo camera data, creates thread according to camera number, is respectively as follows:
(1) Haikang type thread obtains data and is stored in mongo and redis, is further continued for executing following procedure: a1, image
Head data acquisition system obtains affiliated blower number, and the fault system number belonging to the acquisition of blower data acquisition system;B1, according to definition
Camera acquires code and fault system number obtains fault related data;The relevant interface of c1, the SDK provided according to Haikang, hold
Row call back function verifies different failures in call back function, obtains the current server time when generating failure;D1, failure batch
Secondary create-rule are as follows: word+eight low numbers of 3/4+ date eight-digit number, failure/alarm is since end number 1;e1,
When every generation primary fault/alarm, whether consistent with last time failure/early warning this failure/alarm is detected, if unanimously, indicating event
Barrier/early warning is also not finished, and ignores this data, otherwise indicates that last time failure terminates, and increases new fault data newly to set;
(2) frosted type thread obtains data and is stored in mongo and redis, is further continued for executing following procedure: a2, image
Head data acquisition system obtains affiliated blower number, and the fault system number belonging to the acquisition of blower data acquisition system;B2, according to definition
Camera acquires code and fault system number obtains fault related data;C2, the SNMP associated server provided according to frosted, are obtained
Corresponding failure is taken, obtains the current server time when generating failure;The create-rule of d2, failure batch are as follows: 3/4+ date
The low number of eight-digit number word+eight, failure/alarm is since end number 1;When e2, every generation primary fault/alarm, inspection
Whether consistent with last time failure/early warning this failure/alarm is surveyed, if unanimously, indicating that failure/early warning is also not finished, ignoring this
Otherwise data indicate that last time failure terminates, and increase new fault data newly to set.
Compared with prior art, the invention has the benefit that video monitoring module is integrated in SCADA by (1) present invention
In system, about 12K RMB can be saved for single wind field (25 Fans).(2) present invention solves original wind field Central Control Room and needs
The problem of being individually for video monitoring configuration monitoring work station, and special messenger is needed to pay close attention to, the present invention is by integrating video monitoring
The resource of system and SCADA system (supervisory control and data acqui sition system), including network communication and daemon software reach and drop this
The warning message of purpose, system is directly shown by SCADA system, and the time cost of Central Control Room operation maintenance personnel has been saved.(3) exist
Video alarm information is added in the fan trouble system of SCADA system, improves alarm mechanism, so that the SCADA system after integrated
Monitoring performance significantly promoted, more comprehensively supervision blower interior situation.(4) present invention establishes the long-range prison of video system
Tube mechanism, remote user can be with real time inspection live video situations by internet.
Detailed description of the invention
The assembling video system network topology schematic diagram of Fig. 1 prior art;
The video monitoring system structural schematic diagram of Fig. 2 prior art;
Video system functions module frame chart in wind power generating set SCADA system Fig. 3 of the invention;
Streaming media service flow diagram Fig. 4 of the invention;
Video retransmission process schematic diagram in streaming media service operation flow Fig. 5 of the invention;
Video file save routine schematic diagram in streaming media service operation flow Fig. 6 of the invention;
Data purge program schematic diagram in streaming media service operation flow Fig. 7 of the invention;
Failure screenshot program schematic diagram in streaming media service operation flow Fig. 8 of the invention;
Picture save routine schematic diagram in streaming media service operation flow Fig. 9 of the invention
Camera State Monitoring Program schematic diagram in streaming media service operation flow Figure 10 of the invention.
Specific embodiment
The invention discloses a kind of wind power generating set supervisory control and data acqui sition systems for being integrated with video system, in order to make
The present invention is more obvious and easy to understand, and below in conjunction with the drawings and specific embodiments, the present invention will be further described.
It is integrated with video system in wind power generating set SCADA system of the invention, wind field end can be realized in SCADA
Video pictures real time monitoring, and video long-distance transfer mechanism can be established, cloud is supervised in real time using minimum of resources
The video situation of tube field.
Based on front-end camera SDK, (Software Development Kit, software are opened in the SCADA system of wind field end
Send out kit) secondary development is carried out, icon view related content, video preview, video playback/downloading, equipment are shown to realize
Management, system configuration, preview picture, log query, warning message etc..Meanwhile video long-distance transfer machine is established in SCADA system
System, the video situation at cloud real-time monitoring scene using minimum of resources.
As shown in figure 3, the video system in wind power generating set SCADA system of the invention includes: video monitoring homepage
Module, video playback module, device management module, system configuration module, preview picture module and log query module.Work as login
SCADA system verifies user related data, and when data verification mistake, then system login fails, and when data verification success, logs in
System can jump to specified wind field video monitoring system according to user right and carry out corresponding operation, can carry out following each
The corresponding function of module.
(1) video monitoring homepage module is used to show icon view related content, specifically includes:
(1) it shows function: showing the collected video information of multiple cameras, and four kinds of different exhibition methods are provided,
Profile bar adjustment camera shooting is erected on the displaying information of respectively 24 cameras, 18 cameras, 8 cameras, 2 cameras, right side
Head shows pattern;
(2) voice play function: real-time circulation broadcasts newest five camera failure messages, and right side horn button provides
Unlatching/closing voice broadcast function;
(3) it click play function: clicks wherein some camera picture and enters corresponding video preview module and play reality
When video flowing;
(3) failure message prompting function: the lower right corner prompts the newest five camera failure messages of mode frame real-time exhibition.
(2) video preview module checks operation for single camera video stream, and camera supervised picture may be implemented
It checks, user can be checked by menu and currently image collected video information, user or be realized by toolbar
Corresponding function (toolbar includes screenshot, video recording, reduce, put it is single, the functions such as stop) and fast being cut by menu bar offer
Change the function of camera.Specifically include:
(1) video playback capability: user can enter this module by menu item or by video monitoring homepage
Module clicks camera picture and enters this module, and shows and currently image collected real-time video streaming data information;
(2) menu selection function: menu on the right side column provides the function of quick switching camera, and clicking a certain camera can broadcast
Put corresponding camera video stream;
(3) screenshot function: the present frame picture in current video stream can be intercepted when clicking screenshot button and saves as figure
Piece;
(4) recording function: it can enroll and click the video flowing of record button period twice and save as video file;
(5) it reduces enlarging function: showing current video broadcasting pictures according to a certain percentage;
(6) stop function: stopping playing current video flowing when clicking, again tap on and continue to play video flowing;
(3) video playback module is checked for history video file, may be implemented to check/download recent history video
File can also can accurately search video file by querying condition, while provide the broadcasting and download function of video file,
User can be online to play current video file with click play, can also be by download button that video file is locally downloading
It plays out, meanwhile, while playing video online, user can intercept picture, the functions such as zoom of recording a video, user
Progress bar can also be clicked to carry out pulling realization broadcasting.Specifically comprising as follows:
(1) corresponding video file number condition query function: is inquired according to blower, camera, time started, end time
It is believed that breath;
(2) video file playing function: after finding video file data, clicking corresponding broadcast button can play video
File;
(3) foradownloaded video function: after finding video file data, clicking corresponding download button can be under video file
It is downloaded to local;
(4) uploaded videos function: after selection blower and camera, local video file can be uploaded to server;
(5) when online broadcasting video, the present frame in current video file screenshot function: can be intercepted when clicking screenshot button
Picture;
(6) recording function: frame in the video file for clicking the record button period twice can be enrolled and save as video text
Part;
(7) it reduces enlarging function: clicking button and show current picture according to a certain percentage;
(8) stop function: stopping playing current video flowing when clicking stop button, again tap on and continue to play video
Stream;
(9) skip forward/back function: in each click, picture can be 5 seconds forward/backward.
(4) device management module is used for camera device data configuration, realizes the basic configuration to camera device, and
The management function of camera device is provided, can view the corresponding relationship of camera and blower, and related camera is set
Standby state status, equipment state simultaneously provide the function of real time monitoring.Specifically comprising as follows:
(1) CRUD function: need to possess corresponding permission when additions and deletions change camera data, otherwise can not operate, and increase camera shooting newly
It can verify data validity when head data;Wherein, CRUD refers to that increasing looks into change and deletes, and refers to the increase when doing calculation processing
(Create), the initial for reading inquiry (Retrieve), update (Update) and deletion (Delete) several words is write a Chinese character in simplified form;
(2) presence detection function: detect whether all cameras are in normal condition;
(3) all cameras video state detection function: are detected whether just in recorded video file;
(4) mobile detection and vision signal detection function: detect whether all cameras alert.
(5) parameter configuration of the system configuration module for video record and automatic screenshot, can be to video record and displaying
Relevant parameter be managed for configuration, can also be directed to this wind field history data store configuration management, video and figure can be managed
The information such as the retention cycle of piece file, the size of each file and resolution ratio;And provide corresponding configuration imports and exports function.
Specifically comprising as follows:
(1) parameter modifies function: the message such as retention cycle and resolution ratio of modification video and picture file preservation;
(2) external json (JavaScript Object Notation, JavaScript object letter import feature: are imported
Spectrum) file data is into system configuration;
(3) export function: system configuration data is exported as into json file and is compressed.
(6) preview picture module is checked for the screenshot of all cameras in current wind field, can be with the current wind field of preview
Failure screenshot and manual screenshot, and query function is provided;Interface can also be provided, the query function of picture is provided, inquiry can be divided into
Failure screenshot and manual screenshot, while screenshot time and screenshot description being provided, small figure is clicked, can be with the big figure of preview preview, and mention
It is rotated for zoom, the functions such as switching picture.Specifically comprising as follows:
(1) it condition query function: is inquired according to blower, camera, time started, end time, picture type corresponding
Pictorial information;
(2) click look facility: clicking picture can the big figure of preview;
(3) upper one/next Zhang Gongneng: click the corresponding button can check current image a upper picture or next
Picture;
(4) zoom in/out function: current image can be shown according to a certain percentage by clicking corresponding button;
(5) download function: click download button on picture can download pictures to local;
(6) upload function: local picture can be uploaded to server after selection blower and camera.
(7) log query module is used to check the failure and alarm log that camera generates, and includes:
(1) log information of current wind field is inquired, and is retrieved and exported Excel file by different modes;
(2) default shows the current nearest 10 minutes log informations of all cameras of wind field, and user can also pass through retrieval
Condition query log, and search result can be exported as Excel file and be checked, while user can be by " when beginning
Between ", " type ", " description " etc. be ranked up and check log information.
System of the invention further includes alarm message module, it can be achieved that following procedure:
(1) all warning messages of current wind field information, and the generation time of display alarm information, alarm content are shown;
(2) warning message of failure can be displayed in real time in video monitoring homepage.
Meanwhile the present invention can also establish video long-distance transfer mechanism (such as streaming media service process shown in Fig. 4), cloud
The video situation at real-time monitoring scene using minimum of resources.
As shown in figure 4, streaming media service process of the invention specifically:
S1, video monitoring project/local (server program starting);
Whether S2, determining program start success, if starting successfully, then follow the steps S3;If starting failure, jumps execution
Step P3;
S3, camera related data is obtained in real time, intercepted comprising (1) real time picture, deposit picture to locally;(2) fault graph
Piece interception deposits picture to locally;(3) real time fail message obtains;(4) real-time logs data acquisition;Continue to execute step S4;
S4, the data that will acquire deposit mongo (referring to a kind of database based on distributed document storage) and redis (are
Refer to open source write using ANSI C language, support network, it is memory-based also can persistence log type, Key-Value number
According to library), continue to execute step S5 or step S6;
S5, video monitoring project local project page presentation data content include: (1) video monitoring homepage: showing multiple
Multiple camera video streams of blower;(2) video preview: the single camera video stream of single blower is shown;(3) video returns
It puts: showing history video file;(4) equipment management: the related data of multiple cameras is operated;(5) system configuration: configuration is entire
Wind field stores the parameter of picture and video;(6) preview picture: the history picture of the interception of camera is shown;(7) log query:
Show the daily record data that camera generates.
S6, transmission data and graphic program obtain data and picture transfer to cloud server, jump and execute step T3;
T1, video monitoring project/cloud (server program starting);
Whether T2, determining program start success, if starting successfully, execute step T3;If starting failure, jumps and executes step
Rapid P3;
T3, transmission picture and data program receive the content of local transmission, continue to execute step T4;
T4, data are stored in mongo and redis, continue to execute step T5;
T5, video monitoring project cloud item page display data content include: (1) video monitoring homepage: showing from this
Catch the real time picture come in ground;(2) equipment management: the related data of multiple cameras is operated;(3) system configuration: configuration is entire
Wind field stores the parameter of picture and video;(4) it preview picture: shows from the local history picture caught and;(5) log query:
It shows from the local daily record data caught and.
P3, program exit, and web page display data is sky.
Streaming media service operation flow of the invention specifically includes following process:
(1) as shown in figure 5, video retransmission process specifically: after program starts, read configuration file, and verify configuration text
Number of packages evidence, if authentication error, EP (end of program);If verifying is correct, mongo camera data are read, according to camera number
Create thread.Wherein, (1) thread type one: forwarding camera video flows to proxy server, assembled further according to camera data
URL (Uniform Resource Locator, uniform resource locator) numbers assembled generation according to configuration file and camera
Manage server URL, using ffmpeg (Fast Forward Mpeg, it is a set of can be used to record, converted digital audio, video,
And the open source computer program of stream can be translated into) video flowing is forwarded to proxy server.
(2) thread type two: monitoring redis when CRUD camera data, executes one four six type threads.
(3) thread type three: when detecting newly-increased camera, whether camera data are effective, spell further according to camera data
URL is filled, indicates that data are legal using ffmpeg connection camera, in connection, it is incorrect to be responsible for data.(4) thread type four: mill
Sand thread, preservation camera log to mongo, recycling CURL (CommandLine Uniform Resource Locator,
The open source file transfer conveyance to be worked under command line mode using URL syntax) connection frosted camera log address, with the time
Alternate form obtains data and is stored in mongo (default 10 minutes).(5) thread type five: monitoring redis, camera forwarding/guarantor
After depositing log interruption, one four six type threads are executed.(6) thread type six: Haikang thread saves camera log to mongo.
(2) as shown in fig. 6, video file save routine specifically: after program starts, read configuration file, and verify and match
File data is set, if authentication error, EP (end of program);If verifying is correct, mongo camera data/system configuration number is read
According to according to camera number creation thread.Wherein, it (1) thread type one: saves camera video flow data and is arrived for video file
Specified directory obtains the type for saving file according to system configuration further according to camera data assembly camera URL, path with
And video file is saved in file by format using ffmpeg processing camera number creation file.(2) thread class
Type two: monitoring redis when modifying system configuration data, executes a type line journey.(3) three: CRUD camera data of thread type
When, execute a type line journey.(4) thread type four: monitoring redis executes a type after camera saves video file interruption
Thread.
(3) as shown in fig. 7, data purge program specifically: after program starts, read configuration file, and verify and match
File data is set, if authentication error, EP (end of program);If verifying is correct, mongo system configuration data is read, when obtaining cleaning
Between, can carry out respectively: (a) history picture is cleared up, and can be obtained image data and file according to time format and path, first be deleted
Except picture file, then delete image data;(b) history video is cleared up, and can obtain video data according to time format and path
And file, video file is first deleted, then delete video data;(c) history log is cleared up, and can obtain log according to time format
Data delete daily record data.
(4) as shown in figure 8, failure screenshot program specifically: after program starts, read configuration file, and verify configuration text
Number of packages evidence, if authentication error, EP (end of program);If verifying is correct, creation interception current point in time process and time point before 30 seconds
Process, the picture interception for then proceeding to time point after executing current point in time level-one 30 seconds are saved, are then captured in SCADA system
When Fan Equipment failure, hair message to redis, process monitoring redis when obtaining data, creates thread, utilizes opencv
(Open Source Computer Vision Library, one is permitted issuable cross-platform computer vision library based on BSD)
Picture is intercepted in the video flowing of authorized agency's server to store and save data to mongo and redis, is executed again after 30 seconds
And store, last thread terminates;Or the picture at time point intercepts preservation before continuing to execute 30 seconds, monitors redis, obtains failure
The 30 seconds time before generation time inquires mongo according to time point and obtains designated file, using opencv in video file
Middle interception particular point in time video stream data is picture and stores.
(5) as shown in figure 9, picture save routine specifically: after program starts, read configuration file, and verify configuration text
Number of packages evidence, if authentication error, EP (end of program);If verifying is correct, mongo system configuration data and camera data are read,
Thread is created according to camera number, camera video stream is saved and is picture and stores, forwarded according to configuration file assembly video
Agent address, save picture in the form of time interval using opencv, write data into mongo and redis.
(6) as shown in Figure 10, camera State Monitoring Program specifically: after program starts, read configuration file, and test
Demonstrate,prove profile data, if authentication error, EP (end of program);If verifying is correct, mongo camera data are read, according to taking the photograph
As head number creates thread.Wherein, (1) Haikang type thread obtains data and is stored in mongo and redis, is further continued for executing following
Process: affiliated blower number a1, is obtained in camera data acquisition system, and obtains affiliated fault system in blower data acquisition system and compiles
Number;B1, code and fault system number acquisition fault related data are acquired according to the camera of definition;C1, according to Haikang provide
The relevant interface of SDK executes call back function, and different failures is verified in call back function, obtains current service when generating failure
The device time (the camera time need to be synchronous with server time);The create-rule of d1, failure batch are as follows: 3/4 (3 expression cameras
Failure, 4 indicate camera alarm)++ eight low numbers of date eight-digit number word, failure/alarm is since end number 1;
When e1, every generation primary fault/alarm, it is whether consistent with last time failure/early warning (comprising whether being to detect this failure/alarm
Same camera), if unanimously, indicating that failure/early warning is also not finished, ignoring this data, otherwise indicate that last time failure terminates (i.e.
Modifying last time failure is to close, and " 00 " indicates that failure is unresolved, and " 10 " indicate that failure is solved and closed), and increase new failure newly
Data to set.(2) frosted type thread, obtain data be stored in mongo and redis, be further continued for execute following procedure: a2,
Camera data acquisition system obtains affiliated blower number, and obtains affiliated fault system number in blower data acquisition system;B2, basis are fixed
The camera acquisition code and fault system number of justice obtain fault related data;C2, the SNMP (Simple provided according to frosted
Network Management Protocol, Simple Network Management Protocol) associated server, corresponding failure is obtained, event is generated
Obtain current server time when barrier (the camera time need to be synchronous with server time);The create-rule of d2, failure batch are as follows:
3/4 (3 indicate camera failure, and 4 indicate camera alarm)++ eight low numbers of date eight-digit number word, failure/alarm are equal
Since end number 1;When e2, every generation primary fault/alarm, detect this failure/alarm whether with last time failure/early warning
Unanimously (comprising whether being same camera), if unanimously, indicating that failure/early warning is also not finished, ignoring this data, otherwise indicate
Last time failure terminates (i.e. for modification last time failure to close, " 00 " indicates that failure is unresolved, and " 10 " indicate that failure is solved and closed),
And new fault data is increased newly to set.
It is discussed in detail although the contents of the present invention have passed through above preferred embodiment, but it should be appreciated that above-mentioned
Description is not considered as limitation of the present invention.After those skilled in the art have read above content, for of the invention
A variety of modifications and substitutions all will be apparent.Therefore, protection scope of the present invention should be limited to the appended claims.
Claims (10)
1. a kind of wind power generating set supervisory control and data acqui sition system of integrated video system is, characterized by comprising: video system
System, is integrated in supervisory control and data acqui sition system;The video system includes:
Video monitoring homepage module, for showing icon view related content;
Video preview module checks operation for single camera video stream;
Video playback module is checked for history video file;
Device management module is used for camera device data configuration;
System configuration module, the parameter configuration for video record and automatic screenshot;
Preview picture module, the screenshot of all cameras is checked in current wind field;
Log query module checks failure and alarm log that camera generates;
When logging in the supervisory control and data acqui sition system, user data is verified, when data verification mistake, then system login fails,
When data verification success, login system, and specified wind field video system can be jumped to according to user right and carry out corresponding operation,
Execute the operation of modules.
2. a kind of wind power generating set supervisory control and data acqui sition system of integrated video system as described in claim 1, special
Sign is,
The supervisory control and data acqui sition system further includes alarm message module, to show all alarms of current wind field information
Information, and the generation time and alarm content of display alarm information, while failure can be displayed in real time in video monitoring homepage
Warning message.
3. a kind of wind power generating set supervisory control and data acqui sition system of integrated video system as described in claim 1, special
Sign is,
The supervisory control and data acqui sition system is provided with Video Long-distance Transfer System Controled, so that the video shape at cloud real-time monitoring scene
Condition comprising the steps of:
S1, in video monitoring project/local side, server program starting continues to execute step S2;And/or in video monitoring item
Mesh/cloud, server program starting, continues to execute step T2;
Whether S2, determining program start success, if starting successfully, then follow the steps S3;If starting failure, jumps execution step
P3;
S3, obtain camera related data in real time, include: (a) real time picture intercepts, and deposits picture to locally;(b) failure picture is cut
It takes, deposits picture to locally;(c) real time fail message obtains;(d) real-time logs data acquisition;Continue to execute step S4;
S4, the data that will acquire are stored in mongo and redis, continue to execute step S5 or step S6;
S5, video monitoring project local project page presentation data content, include: (a) video monitoring homepage: showing multiple blowers
Multiple camera video streams;(b) video preview: the single camera video stream of single blower is shown;(c) video playback: exhibition
Show history video file;(d) equipment management: the related data of multiple cameras is operated;(e) system configuration: entire wind field is configured
Store the parameter of picture and video;(f) preview picture: the history picture of the interception of camera is shown;(g) it log query: shows
The daily record data that camera generates;
S6, transmission data and graphic program obtain data and picture transfer to cloud server, jump and execute step T3;
Whether T2, determining program start success, if starting successfully, continue to execute step T3;If starting failure, jumps and executes step
Rapid P3;
T3, transmission picture and data program receive the content of local transmission, continue to execute step T4;
T4, data are stored in mongo and redis, continue to execute step T5;
T5, video monitoring project cloud item page display data content include: (a) video monitoring homepage: showing from local biography
The real time picture to come up;(b) equipment management: the related data of multiple cameras is operated;(c) system configuration: entire wind field is configured
Store the parameter of picture and video;(d) it preview picture: shows from the local history picture caught and;(e) it log query: shows
From the local daily record data caught and;
P3, program exit, and web page display data is sky.
4. a kind of wind power generating set supervisory control and data acqui sition system of integrated video system as described in claim 1, special
Sign is,
The supervisory control and data acqui sition system can also carry out streaming media service operation flow, include: video repeating process, video text
Part saves process, data purge process, failure screenshot process, picture and saves process and camera condition monitoring process.
5. a kind of wind power generating set supervisory control and data acqui sition system of integrated video system as claimed in claim 4, special
Sign is,
The video repeating process further includes:
After program starts, configuration file is read, and verify profile data, if authentication error, EP (end of program);If verifying is just
Really, then mongo camera data are read, thread are created according to camera number, respectively;
Thread type one: forwarding camera video flows to proxy server, further according to camera data assembly URL, according to configuration
File and camera number assembled proxy server URL, and video flowing is forwarded to proxy server using ffmpeg;
Thread type two: monitoring redis when CRUD camera data, executes one four six type threads;
Thread type three: when detecting newly-increased camera, whether camera data are effective, further according to camera data assembly URL, benefit
It indicates that data are legal with ffmpeg connection camera, in connection, it is incorrect to be responsible for data;
Thread type four: frosted thread saves camera log to mongo, with recycling CURL connection frosted camera log
Location is obtained data in the form of time interval and is stored in mongo;
Thread type five: monitoring redis after camera forwards/save log to interrupt, executes one four six type threads;
Thread type six: Haikang thread saves camera log to mongo.
6. a kind of wind power generating set supervisory control and data acqui sition system of integrated video system as claimed in claim 4, special
Sign is,
The video file saves process and further includes:
After program starts, configuration file is read, and verify profile data, if authentication error, EP (end of program);If verifying is just
Really, then mongo camera data/system configuration data is read, thread is created according to camera number, is respectively as follows:
Thread type one: saving camera video flow data is video file to specified directory, assembled further according to camera data
Camera URL obtains the type for saving file, path and format according to system configuration, is compiled using ffmpeg processing camera
Number creation file, video file is saved in file;
Thread type two: monitoring redis when modifying system configuration data, executes a type line journey;
When three: CRUD camera data of thread type, a type line journey is executed;
Thread type four: monitoring redis executes a type line journey after camera saves video file interruption.
7. a kind of wind power generating set supervisory control and data acqui sition system of integrated video system as claimed in claim 4, special
Sign is,
The data purge program further includes:
After program starts, configuration file is read, and verify profile data, if authentication error, EP (end of program);If verifying is just
Really, read mongo system configuration data, obtain clearance time, perform the following operation respectively: (a) history picture is cleared up, Ke Yigen
Image data and file are obtained according to time format and path, first deletes picture file, then delete image data;(b) history video
Cleaning can obtain video data and file according to time format and path, first delete video file, then delete video data;
(c) history log is cleared up, and can be obtained daily record data according to time format, be deleted daily record data.
8. a kind of wind power generating set supervisory control and data acqui sition system of integrated video system as claimed in claim 4, special
Sign is,
The failure screenshot program further includes:
After program starts, configuration file is read, and verify profile data, if authentication error, EP (end of program);If verifying is just
Really, creation interception current point in time process and time point process before 30 seconds;
The picture interception for then proceeding to time point after executing current point in time level-one 30 seconds saves, then supervisory control and data acqui sition system
In when capturing Fan Equipment failure, hair message arrives redis, process monitoring redis, when obtaining data, creates thread, utilization
Opencv intercepts picture in the video flowing of authorized agency's server and stores and save data to mongo and redis, after 30 seconds again
Secondary execution simultaneously stores, and last thread terminates;
Alternatively, the picture at time point intercepts preservation before continuing to execute 30 seconds, redis is monitored, is obtained before failure generation time 30 seconds
Time, according to time point inquire mongo obtain designated file, specific time is intercepted in video file using opencv
Point video stream data are picture and store.
9. a kind of wind power generating set supervisory control and data acqui sition system of integrated video system as claimed in claim 4, special
Sign is,
The picture save routine further includes:
After program starts, configuration file is read, and verify profile data, if authentication error, EP (end of program);If verifying is just
Really, then mongo system configuration data and camera data are read, thread is created according to camera number, saves camera video
Stream is picture and stores, and according to the agent address that configuration file assembly video forwards, is protected in the form of time interval using opencv
Picture is deposited, mongo and redis are write data into.
10. a kind of wind power generating set supervisory control and data acqui sition system of integrated video system as claimed in claim 4, special
Sign is,
The camera condition monitoring process further includes:
After program starts, configuration file is read, and verify profile data, if authentication error, EP (end of program);If verifying is just
Really, then mongo camera data are read, thread is created according to camera number, is respectively as follows:
(1) Haikang type thread obtains data and is stored in mongo and redis, is further continued for executing following procedure: a1, in camera number
Affiliated blower number, and the fault system number belonging to the acquisition of blower data acquisition system are obtained according to set;B1, the camera shooting according to definition
Head acquisition code and fault system number obtain fault related data;The relevant interface of c1, the SDK provided according to Haikang, execute back
Letter of transfer number verifies different failures in call back function, obtains the current server time when generating failure;D1, failure batch
Create-rule are as follows: word+eight low numbers of 3/4+ date eight-digit number, failure/alarm is since end number 1;E1, every production
When raw primary fault/alarm, whether consistent with last time failure/early warning this failure/alarm is detected, if unanimously, expression failure/pre-
Police is also not finished, and ignores this data, otherwise indicates that last time failure terminates, and increases new fault data newly to set;
(2) frosted type thread obtains data and is stored in mongo and redis, is further continued for executing following procedure: a2, in camera number
Affiliated blower number, and the fault system number belonging to the acquisition of blower data acquisition system are obtained according to set;B2, the camera shooting according to definition
Head acquisition code and fault system number obtain fault related data;C2, the SNMP associated server provided according to frosted, acquisition pair
The failure answered obtains the current server time when generating failure;The create-rule of d2, failure batch are as follows: the 3/4+ date eight
Digital+eight low numbers, failure/alarm is since end number 1;When e2, every generation primary fault/alarm, detection is originally
Whether secondary failure/alarm is consistent with last time failure/early warning, if unanimously, indicating that failure/early warning is also not finished, ignoring this data,
Otherwise it indicates that last time failure terminates, and increases new fault data newly to set.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811258210.5A CN109348176A (en) | 2018-10-26 | 2018-10-26 | It is integrated with the wind power generating set supervisory control and data acqui sition system of video system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811258210.5A CN109348176A (en) | 2018-10-26 | 2018-10-26 | It is integrated with the wind power generating set supervisory control and data acqui sition system of video system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109348176A true CN109348176A (en) | 2019-02-15 |
Family
ID=65312109
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811258210.5A Pending CN109348176A (en) | 2018-10-26 | 2018-10-26 | It is integrated with the wind power generating set supervisory control and data acqui sition system of video system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109348176A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109886436A (en) * | 2019-02-28 | 2019-06-14 | 国电联合动力技术有限公司 | The failure aid in treatment method and device of Wind turbines |
CN110990239A (en) * | 2019-11-13 | 2020-04-10 | 北京思维造物信息科技股份有限公司 | System and method for collecting user data in user equipment based on soft sensor |
CN111757145A (en) * | 2020-07-31 | 2020-10-09 | 四川巧夺天工信息安全智能设备有限公司 | Method for processing monitoring videos with balanced multipath loads in batch |
CN114222093A (en) * | 2021-12-15 | 2022-03-22 | 武汉科迪智能环境股份有限公司 | Control management method, control management device, computer-readable storage medium and control equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101751032A (en) * | 2008-12-16 | 2010-06-23 | 中兴通讯股份有限公司 | Method and system for managing automatic control system and video monitoring system |
CN103530080A (en) * | 2013-10-14 | 2014-01-22 | 国家电网公司 | Automation display method and system |
US20140064560A1 (en) * | 2007-07-03 | 2014-03-06 | Pivotal Vision, Llc | Motion-validating remote monitoring system |
CN203859826U (en) * | 2014-03-13 | 2014-10-01 | 中海油信息科技有限公司 | Integrated video platform |
CN105450987A (en) * | 2015-11-12 | 2016-03-30 | 北京弘恒科技有限公司 | Intelligent recognition platform video monitoring early warning system |
CN107071354A (en) * | 2017-04-12 | 2017-08-18 | 合肥才来科技有限公司 | Intelligent campus safety means video monitoring detecting system |
-
2018
- 2018-10-26 CN CN201811258210.5A patent/CN109348176A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140064560A1 (en) * | 2007-07-03 | 2014-03-06 | Pivotal Vision, Llc | Motion-validating remote monitoring system |
CN101751032A (en) * | 2008-12-16 | 2010-06-23 | 中兴通讯股份有限公司 | Method and system for managing automatic control system and video monitoring system |
CN103530080A (en) * | 2013-10-14 | 2014-01-22 | 国家电网公司 | Automation display method and system |
CN203859826U (en) * | 2014-03-13 | 2014-10-01 | 中海油信息科技有限公司 | Integrated video platform |
CN105450987A (en) * | 2015-11-12 | 2016-03-30 | 北京弘恒科技有限公司 | Intelligent recognition platform video monitoring early warning system |
CN107071354A (en) * | 2017-04-12 | 2017-08-18 | 合肥才来科技有限公司 | Intelligent campus safety means video monitoring detecting system |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109886436A (en) * | 2019-02-28 | 2019-06-14 | 国电联合动力技术有限公司 | The failure aid in treatment method and device of Wind turbines |
CN110990239A (en) * | 2019-11-13 | 2020-04-10 | 北京思维造物信息科技股份有限公司 | System and method for collecting user data in user equipment based on soft sensor |
CN110990239B (en) * | 2019-11-13 | 2023-08-08 | 北京思维造物信息科技股份有限公司 | System and method for collecting user data in user equipment based on soft sensor |
CN111757145A (en) * | 2020-07-31 | 2020-10-09 | 四川巧夺天工信息安全智能设备有限公司 | Method for processing monitoring videos with balanced multipath loads in batch |
CN111757145B (en) * | 2020-07-31 | 2022-03-04 | 四川巧夺天工信息安全智能设备有限公司 | Method for processing monitoring videos with balanced multipath loads in batch |
CN114222093A (en) * | 2021-12-15 | 2022-03-22 | 武汉科迪智能环境股份有限公司 | Control management method, control management device, computer-readable storage medium and control equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109348176A (en) | It is integrated with the wind power generating set supervisory control and data acqui sition system of video system | |
US9860490B2 (en) | Network video recorder system | |
US20160232764A1 (en) | System and method for a security system | |
JP4612906B2 (en) | Method, apparatus and computer program for transmitting sequence | |
CN104137154B (en) | Systems and methods for managing video data | |
CN101751032B (en) | Method and system for managing automatic control system and video monitoring system | |
US11523088B2 (en) | Computer implemented systems frameworks and methods configured for enabling review of incident data | |
CN104035404A (en) | Development method for operation order real-time state monitoring | |
CN101702771B (en) | Network video intelligent monitoring system and method | |
CN103035105A (en) | Fire alarm remote monitoring system based on internet of things and cloud computing | |
US20070033446A1 (en) | Monitoring apparatus | |
CN103369402A (en) | Method and system for comparing functional consistency of multiple set top boxes | |
CN105338564B (en) | A kind of client adaptation method, client, server and system | |
CN116030949A (en) | Video resource fusion identification management system | |
CN104935888A (en) | Video monitoring method capable of marking object and video monitoring system thereof | |
CN112601052B (en) | Video resource integration system applied to internal sharing platform | |
CN117615098A (en) | Intelligent video monitoring method and system based on AI algorithm and 5G message | |
CN117914511A (en) | Security audit system based on data exchange and log analysis | |
CN109936721A (en) | Monitoring system | |
CN111209464A (en) | Automatic device and method for verifying and obtaining evidence for content of specific channel | |
CN116580362A (en) | Transmission operation cross-system fusion data acquisition method and digital asset processing system | |
CN101291247A (en) | Information transmission method for information servo | |
CN113852503B (en) | Quantum device management system | |
CN104767969A (en) | Intelligent operation safety monitoring system and method for railway crossing | |
US20240273132A1 (en) | Data retrieval prediction method, apparatus, electronic device, and readable medium |
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 | ||
CB02 | Change of applicant information |
Address after: 200241 Dongchuan Road, Shanghai, No. 555, building No. 8, floor, floor, No. Applicant after: Shanghai Electric Wind Power Group Co., Ltd Address before: 200241, 4 floor, building 555, 4 Dongchuan Road, Shanghai, Minhang District Applicant before: SHANGHAI ELECTRIC WIND POWER GROUP Co.,Ltd. |
|
CB02 | Change of applicant information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190215 |
|
RJ01 | Rejection of invention patent application after publication |