A kind of dispatching device and method of the collaborative work of video monitoring equipment clusterTechnical field
The dispatching device and method to cooperate the present invention relates to a kind of video monitoring equipment cluster belongs to intelligent video prisonControl field.
Background technique
Video monitoring is every profession and trade key sector or the physical basis that important place is monitored in real time, and administrative department can lead toIt crosses it and obtains valid data, image or acoustic information, the process of paroxysmal abnormality event is timely monitored and remembered, useWith provide efficiently, in time commander and height, arrangement police strength, settle a case.The rapid development applied with current computerAnd popularization, the whole world have started one powerful wave of digitalization, the various equipment digitalized primary mesh for having become security protectionMark.
With the raising of development in science and technology and application demand, the round-the-clock video monitoring system of multifunctional multi-effect energy becomes all kinds ofThe emphasis demand of party in request.In practical application, video monitoring is influenced by many factors such as environment, weather, weather, daytime at night,Effect level is uneven.Therefore need to propose that a kind of higher apparatus of configuration eliminates these influence factors, improves monitoring performance,The device clusters device for how reasonably handling such complexity simultaneously is normal, reliable and stable enduringly under the premise of unattendedCollaboration and scheduling are also the important topic of research.
Patent " a kind of video monitoring system " (application publication number 201611221100.2) provides a kind of video monitoring system,Large video monitoring application is simplified, is disposed simple and fast.But the patent only with photographic device as monitoring informationSource is acquired, the monitoring and early warning ability under the bad weathers such as or haze, serious pollution very poor for night light is limited.This is speciallyBenefit is while simplifying video surveillance applications, and in conjunction with night vision thermal imaging function, very good solution night and bad weather are to prisonThe influence for controlling effect, has high-adaptability, high reliability, round-the-clock real time monitoring warning function.
Patent " video monitoring method and device " (application publication number 201611046620.4) provides video monitoring methodAnd device, the triggering accuracy of alert event can be improved.But the patent processing be in monitoring scene target movement pairAs by determining that the virtual three-dimensional position of target Moving Objects triggers early warning, for static or motion amplitude beyond detection essenceThe target of degree can not then detect, it might therefore fail to report suspicious opposing stationary target.This patent using natural light lens assembly withThe mode that thermal imaging device combines equally has detection warning function for static target.
When existing more device clusters co-ordinations, have the following problems: when real-time reception device clusters multichannel command signal,It will appear buffer queue overflow exception;It is abnormal to read command signal, because communication abnormality causes command content illegal, causes to have instructedWhole property missing and instruction group integrality missing;Instruction conflict problem, multiple instructions source call same equipment simultaneously, cause device actionIt is abnormal.These problems cause in practical applications system in unattended situation can not reliably working, be unable to reach requirementAccuracy and reliability.The above problem how is avoided, guarantees the reliability of system operation and the accuracy of tracking, is urgentlyIt solves the problems, such as.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of video monitoring equipment cluster cooperate device and method,Guarantee video monitoring equipment reliably working in unattended situation, guarantee system operation reliability and tracking it is accurateProperty.
In order to solve the technical problem, the technical solution adopted by the present invention is that: a kind of video monitoring equipment cluster collaborationThe dispatching device of work, including original monitoring information acquisition component, early warning target analysis identification component, multiple signals receive listMember, comprehensive cooperative scheduling unit, state group logic unit, goal verification equipment and other monitoring devices, original monitoring information are adoptedCollect component and send original monitoring information in real time to early warning target analysis identification component, early warning target analysis identification component is to receivedOriginal monitoring information is analyzed, and then identification pre-warning signal type starts linkage to instruct to multiple signals receiving unit, linkageInstruction includes interlocking equipment ID, early warning target type, early warning target position, early warning target sizes, other monitoring devices are to multichannelSignal receiving unit sends multiple signals instruction, and multiple signals instruction includes issuing device id, instruction interface, director data, moreThe instruction of road signal receiving unit real-time reception multiple signals and record buffer memory queue guarantee that the normal cache of instruction and instruction are completeProperty, comprehensive cooperative scheduling unit reads from multiple signals receiving unit, dispatches each road signal quality information, and with state group logicUnit carries out two-way communication, and the constraint instructions of reception state group logic unit feedback integrate cooperative scheduling unit to goal verificationEquipment sends instruction execution order, and goal verification equipment generates information feedback command after executing instruction, is sent to multiple signals and connectsReceive unit.
The invention also discloses the dispatching methods that a kind of video monitoring equipment cluster cooperates, comprising the following steps:S01), original monitoring information acquisition component sends original monitoring information to early warning target analysis identification component in real time;S02), early warningTarget analysis identification component analyzes received original monitoring information, pre-warning signal type is identified, then to multiple signalsTransmit-Receive Unit sends linkage instruction, and linkage instruction includes interlocking equipment ID, early warning target type, early warning target position, early warning meshMark size;S03), other monitoring devices send each road signal instruction to multiple signals receiving unit, and signal instruction includes issuing to setStandby ID, instruction interface, director data;S04), the instruction of multiple signals receiving unit real-time reception multiple signals and record buffer memory teamColumn, for proprietary buffer queue is arranged per signal all the way, using instruction eliminative mechanism, instruction integrality judgment rule, instruction groupIntegrality judgment rule guarantee signal instruction caching be normally carried out and integrality;S05), cooperative scheduling unit is integrated from multichannelSignal receiving unit reads, dispatches each road signal quality information, and carries out two-way communication, reception state with state group logic unitThe constraint instructions of group logic unit feedback, setting instruction classification, the setting of instruction priority, instruction closed loop mechanism guarantee device actionNormally;S06), comprehensive cooperative scheduling unit sends instruction execution order to goal verification equipment, and goal verification equipment executes instructionInformation feedback command is generated afterwards, is sent to multiple signals receiving unit, multiple signals receiving unit is anti-to information according to step S04Feedback instruction carries out execution processing.
Further, described instruction eliminative mechanism is oldest instruction eliminative mechanism, and caching abandons oldest one when will be fullOrder or Management Information Base data guarantee the normal cache of instruction.
Further, described instruction eliminative mechanism is latest command eliminative mechanism, i.e., abandons newest one when caching will be fullItem order or Management Information Base data guarantee the normal cache of instruction.
Further, instruction integrality decision rule includes command length verification, the verification of instruction systematicness, instruction check codeVerification guarantees instruction integrality.
Further, instruction group integrality decision rule includes the verification of instruction specific bit value, the verification of instruction group rule, instructionGroup verification code check, guarantees the integrality of instruction group instruction.
Further, state group logic unit is based on finite state machine technology model and realizes that multiple groups command status is relatively independentDifferentiation, constrain the instruction scheduling of comprehensive cooperative scheduling unit;Or state group logic unit is based on Petri network technology model,The instruction scheduling for constraining comprehensive cooperative scheduling unit is developed by the automation of the state of the instruction to multiple signals queue.
Further, comprehensive cooperative scheduling unit provides instruction morphing mechanism and master instruction queue is arranged, by multiple signalsInstruction is converted into major queue instruction, and main logic is read by the circulation to multiple signals buffer queue and conversion instructs, will be moreThe instruction of road signal queue is transferred to master instruction queue.
Further, major queue instruction format definition includes: classes of instructions, instruction ID, director data, and classes of instructions includesManual command and automatic command, manual command are human intervention instructions, and what automatic command embodied is that unattended lower intelligence is supervisedControl instruction issues device id and instruction interface source decision instruction classification according to instruction.
Further, comprehensive cooperative scheduling unit establishes manual command override mechanism, preferentially executes manual command, refers to automaticallyIt enables abandoning and not execute, avoid instruction conflict, by timer setting, restore in the defined time after manual command stops executingThe execution of automatic command.
Further, comprehensive cooperative scheduling unit establishes the closed loop mechanism of instruction execution, under the premise of having hardware supported,According to the feedback information decision instruction completion status of hardware after instruction execution, closed loop is realized;Under the premise of no hardware supported,The mechanism that adoption status group and timer combine realizes closed loop.
Further, comprehensive cooperative scheduling unit provides timeout mechanism, in the feelings that the guarantee normal instructions time is finishedUnder condition, when time-out occurs, system avoids hard wired feed back from leading to not normal response instruction extremely automatically into next step.
Beneficial effects of the present invention: 1, this patent proposes instruction eliminative mechanism, and real-time monitoring instruction queue state avoids referring toEnable the appearance of cache overflow problem;
2, this patent proposes instruction integrality and instruction group integrality judgment rule, devises a kind of legal instruction and instruction groupDetermination method, very good solution ensure that finger because instructing caused by communication abnormality and the integrality of instruction group lacks problemWhat is enabled is legal and correct, to improve system stability and reliability.
3, this patent proposes that instruction classification and instruction priority means, the conflict that effective solution multiple instructions executes are askedTopic guarantees the correct execution of instruction, avoids device action abnormal.
4, this patent is using technology models such as Petri network, finite state machines, the collaboration for constraining and instructing multiple signals to instructScheduling.
5, the closed loop mechanism instructed while solution monitoring device is accurately dispatched, reduces equipment under frequent instructionShake is abnormal, effectively extension service life of equipment.
6, what this patent was innovative creates virtual unit layer, upper layer logic is isolated with bottom layer realization, to effectively keep awayImpact and influence of the update upgrading of fast-developing underlying device for upper layer logic are exempted from, have updated convenient for equipment and wholeThe upgrading of system system.
To sum up, this patent provides the functions such as one group of set analysis identification, night vision, locating and tracking, early warning in the equipment of oneExtension arrangement has the advantages such as have a wide range of application, easily extend, flexible in application, reliability is high, is suitable for various monitoring scenes, especiallyIt can provide round-the-clock early warning and positioning accurately and timely under unattended environment, may be implemented duration, accuracy,The intelligent monitoring early warning of reliability.
Detailed description of the invention
Fig. 1 is the functional block diagram of video monitoring equipment cluster collaborative work dispatching device described in embodiment 1.
Specific embodiment
The present invention is further illustrated in the following with reference to the drawings and specific embodiments.
Embodiment 1
The present embodiment discloses a kind of dispatching device that video monitoring equipment cluster cooperates, as shown in Figure 1, including original monitoringInformation collection component, early warning target analysis identification component, multiple signals receiving unit, comprehensive cooperative scheduling unit, state group are patrolledCollect unit, goal verification equipment and other monitoring devices.
When work, original monitoring information acquisition component sends original monitoring letter to early warning target analysis identification component in real timeBreath, early warning target analysis identification component analyze received original monitoring information, and identification pre-warning signal type is then to moreRoad signal receiving unit start linkage instruct, linkage instruction include interlocking equipment ID, early warning target type, early warning target position,Early warning target sizes, other monitoring devices send multiple signals instruction to multiple signals receiving unit, and multiple signals instruction includesIssue device id, instruction interface, director data, the instruction of multiple signals receiving unit real-time reception multiple signals and record buffer memory teamColumn guarantee that the normal cache instructed and instruction integrality, comprehensive cooperative scheduling unit read from multiple signals receiving unit, dispatchEach road signal quality information, and two-way communication, the constraint of reception state group logic unit feedback are carried out with state group logic unitInstruction, comprehensive cooperative scheduling unit send instruction execution order to goal verification equipment, and goal verification equipment produces after executing instructionRaw information feedback command, is sent to multiple signals receiving unit.
In the present embodiment, multiple signals receiving unit is avoided using instruction eliminative mechanism real-time monitoring instruction queue stateThe appearance of instruction buffer overflow problem;It is solved using instruction integrality judgment rule, instruction group integrality judgment rule because logicalThe integrality of the abnormal caused instruction of news and instruction group lacks problem, ensure that the legal and correct of instruction, to improve and beStability of uniting and reliability.
State group logic unit is constrained using technology models such as Petri network, finite state machines and multiple signals is instructed to instructCooperative scheduling.
Comprehensive cooperative scheduling unit using instruction classification and instruction priority means, what effective solution multiple instructions executedCollision problem guarantees the correct execution of instruction, avoids device action abnormal.Using closed loop mechanism, solves monitoring device and accurately adjustWhile spending, reduce shake exception of the equipment under frequent instruction, effectively extension service life of equipment.
The present embodiment creates virtual unit layer (all parts and assembly of elements that virtual unit layer virtualizes), will be upperLayer logical AND equipment bottom layer realization carries out layering isolation, to effectively prevent the update upgrading pair of fast-developing underlying deviceIn the impact and influence of upper layer logic, convenient for the upgrading of equipment update and total system.
The functions such as one group of set analysis identification, night vision, locating and tracking, early warning are present embodiments provided in the equipment collection of oneGroup's device has the advantages such as have a wide range of application, easily extend, flexible in application, reliability is high, is suitable for various monitoring scenes, especiallyRound-the-clock early warning and positioning accurately and timely can be being provided under unattended environment.
Embodiment 2
The present embodiment discloses a kind of dispatching method that video monitoring equipment cluster cooperates, and guarantees video monitoring equipment at nobodyReliably working in situation on duty guarantees the reliability of system operation and the accuracy of tracking, specifically includes the following steps:
S01), original monitoring information acquisition component sends original monitoring information to early warning target analysis identification component in real time;
S02), early warning target analysis identification component analyzes received original monitoring information, identifies pre-warning signal type, soLinkage instruction is sent to multiple signals Transmit-Receive Unit afterwards, linkage instruction includes interlocking equipment ID, early warning target type, early warning targetPosition, early warning target sizes;
S03), other monitoring devices send each road signal instruction to multiple signals receiving unit, and signal instruction includes issuing equipmentID, instruction interface, director data;
S04), the instruction of multiple signals receiving unit real-time reception multiple signals and record buffer memory queue, to be arranged per signal all the wayProprietary buffer queue guarantees letter using instruction eliminative mechanism, instruction integrality judgment rule, instruction group integrality judgment ruleNumber instruction buffer be normally carried out and integrality;
There are overflow exceptions when multiple signals receiving unit receives instruction record buffer memory is washed in a pan in order to avoid the exception using instructionEliminate mechanism.Specifically, using oldest instruction eliminative mechanism in the present embodiment, i.e., an oldest order is abandoned when caching will be fullOr Management Information Base data, guarantee the normal cache of instruction.As the substitution of oldest instruction eliminative mechanism, can also use newestEliminative mechanism is instructed, i.e., abandons a newest order or Management Information Base data when caching will be full, guarantees the normal slow of instructionIt deposits.
In the presence of because being instructed caused by communication abnormality and instruction group when multiple signals receiving unit receives instruction record buffer memoryIntegrality lacks problem, and in order to avoid the problem, this method proposes checking command integrality decision rule and instruction group integralityDecision rule.Specifically, instruction integrality decision rule includes command length verification, the verification of instruction systematicness, instruction check codeVerification guarantees instruction integrality.Instruction group integrality decision rule is verified including instruction specific bit value, instruction group rule verifies,Instruction group verifies code check, guarantees the integrality of instruction group instruction.
S05), comprehensive cooperative scheduling unit reads from multiple signals receiving unit, dispatches each road signal quality information, and withState group logic unit carries out two-way communication, the constraint instructions of reception state group logic unit feedback, setting instruction classification, instructionPriority setting, instruction closed loop mechanism guarantee that device action is normal;
In the present embodiment, state group logic unit is the Auxiliary Control Element of comprehensive cooperative scheduling unit, is based on finite state machineTechnology model is realized, realizes the relatively independent differentiation of multiple groups command status, constrains the instruction scheduling of comprehensive cooperative scheduling unit.OrPerson, state group logic unit are realized based on Petri network technology model, pass through the automatic of the state of the instruction to multiple signals queueChange and develops the instruction scheduling for constraining comprehensive cooperative scheduling unit.
In order to solve the collision problem of multiple instructions execution, guarantees the correct execution of instruction, avoid device action abnormal, this realityIt applies example and proposes instruction classification and instruction priority means, specifically: master instruction queue, main logic is arranged in comprehensive cooperative scheduling unitIt is read by the circulation to multiple signals buffer queue and conversion instructs, the instruction of multiple signals queue is transferred to master instruction teamColumn.Comprehensive cooperative scheduling unit simultaneously provides instruction morphing mechanism, converts major queue instruction, major queue for multiple signals instructionInstruction format definition includes: classes of instructions, instruction ID, director data, and classes of instructions includes manual command and automatic command, manuallyInstruction is human intervention instruction, and what automatic command embodied is unattended lower intelligent monitoring instruction, and this patent is according to instruction hairDevice id and instruction interface source decision instruction classification out.
Comprehensive cooperative scheduling unit establishes manual command override mechanism, preferentially executes manual command, and automatic command abandons notIt executes, avoids instruction conflict, by timer setting, restore automatic command in the defined time after manual command stops executingExecution.
S06), comprehensive cooperative scheduling unit sends instruction execution order to goal verification equipment, and goal verification equipment executesInformation feedback command is generated after instruction, is sent to multiple signals receiving unit, multiple signals receiving unit is according to step S04 to letterBreath feedback command carries out execution processing.
Comprehensive cooperative scheduling unit establishes the closed loop mechanism of instruction execution, under the premise of having hardware supported, according to instructionThe feedback information decision instruction completion status of hardware after execution realizes closed loop;Under the premise of no hardware supported, adoption statusThe mechanism that group and timer combine realizes closed loop.
Comprehensive cooperative scheduling unit provides timeout mechanism, in the case where guaranteeing that the normal instructions time is finished, time-outWhen generation, system avoids hard wired feed back from leading to not normal response instruction extremely automatically into next step.
The present embodiment the method proposes instruction eliminative mechanism, and real-time monitoring instruction queue state avoids instruction buffer from overflowingThe appearance gone wrong;It proposes instruction integrality and instruction group integrality judgment rule, devises a kind of legal instruction and instructionThe determination method of group, very good solution ensure that because instructing caused by communication abnormality and the integrality of instruction group lacks problemWhat is instructed is legal and correct, to improve system stability and reliability.It proposes instruction classification and instruction priority means, hasThe collision problem for solving multiple instructions execution of effect, guarantees the correct execution of instruction, avoids device action abnormal.Using PetriThe technology models such as net, finite state machine, the cooperative scheduling for constraining and instructing multiple signals to instruct.It is proposed the closed loop mechanism of instruction,While solution monitoring device is accurately dispatched, reduce shake exception of the equipment under frequent instruction, effectively extension equipment usesService life.Virtual unit layer is created, upper layer logic is isolated with bottom layer realization, is set to effectively prevent fast-developing bottomImpact and influence of the standby update upgrading for upper layer logic, convenient for the upgrading of equipment update and total system.
Described above is only basic principle and preferred embodiment of the invention, and those skilled in the art do according to the present inventionImprovement and replacement out, belong to the scope of protection of the present invention.