CN102819508B - Method for responding to signals from security monitoring subsystem - Google Patents
Method for responding to signals from security monitoring subsystem Download PDFInfo
- Publication number
- CN102819508B CN102819508B CN201210289802.XA CN201210289802A CN102819508B CN 102819508 B CN102819508 B CN 102819508B CN 201210289802 A CN201210289802 A CN 201210289802A CN 102819508 B CN102819508 B CN 102819508B
- Authority
- CN
- China
- Prior art keywords
- signal
- processor
- safety monitoring
- command
- monitoring subsystem
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Computer And Data Communications (AREA)
Abstract
The invention relates to a method for responding to signals from a security monitoring subsystem. The method includes: step one, using a device communication module to read device signals of different security monitoring devices, analyzing, recognizing, setting up system signals, and sending the system signals to a signal analyzer; step two, using the signal analyzer to analyze the system signals, setting up device signal targets, and sending the device signal targets to a linkage strategy processor; step three, if the linkage strategy processor finds associated linkage strategies, sending device signal change signals to a model storage access module and a superior security monitoring integrated platform, and if not, directly performing the step four; step four, enabling the linkage strategy processor to sequentially execute each predefined responding strategy to form device commands, and sending the device commands to an order processor; and step five, allowing the order processor to code the device commands to form instructions, and sending the instructions to the device communication module which sends the instructions to a target device. Using the method for responding to signals from the security monitoring subsystem lowers the technical difficulty and reduces the workload of development of the integrated platform of a security system.
Description
(1), technical field: the present invention relates to a kind of data processing method, particularly relate to a kind of response from the method for safety monitoring subsystem signals.
(2), background technology: at present, different safety monitoring subsystems integrated do not have a kind of unified standard, still in a kind of opening and exclusive two kinds of states that intergration model mixes.The integrating process of general security device system mainly comprises:
1. according to the interface protocol of specific security device subsystem, create a slave computer communication system that can receive identification equipment subsystem signals and carry out the collection (preposition communication subsystem) of data;
2. communication subsystem is resolved the signal of receiving according to specific coding protocol, concurrent toward host computer (integrated platform);
3. integrated platform is responsible for service equipment model and linkage strategy, responds the signal from communication subsystem, and response coding is mail to communication subsystem.
Said process is independently realized by several different software modules conventionally.At the security device for different, carry out when integrated, all need to specifically encoding for different access protocols, realize technology more complicated.
Because security device industry lacks unified industry standard, there is larger difference in the implementation of the interface protocol that therefore security device externally provides, mainly comprise interface specification based on OPC, based on serial ports as the programming of RS485 agreement, and the network insertion pattern based on ICP/IP protocol etc.When prior art accesses each security device subsystem, conventionally all need to use C++ or Java etc. to carry out protocol interaction processing, analyze the device signal that decoding receives, according to the rendezvous protocol with integrated platform, decoded signal is sent to platform, and platform completes all processing procedures of receiving after signal.
As shown in Figure 1, the Integrated Solution of existing security device system is generally divided into two independent parts that realize, first by devices communicating subsystem 100, be responsible for the communication connection of foundation and specific security device subsystem, be responsible for receiving the device signal of transmitting from device systems; Then utilize the link passage between devices communicating subsystem 100 and safety monitoring integrated platform 101, signal is converted to after the bytes of stream data that server end can receive, send to safety monitoring integrated platform 101, safety monitoring integrated platform 101 is received after request, retrieve the linkage strategy of this request, according to predetermined linkage protocol, make response; And the order that the equipment that is encoded to can be identified mails to devices communicating subsystem 100, by devices communicating subsystem 100, be responsible for mailing to particular device, driving arrangement work; Or as the signal receiving belongs to equipment state signal, upgrade system model, the state and the device systems that maintain equipment keep synchronous.
Because the Integrated Solution of existing security device system is all will carry out independent protocal analysis decoding and coding for the agreement of every kind of equipment in application program, realization is during to different security protection subsystems integrated, its coding work amount is larger, and the development requires developer of this communication system has stronger signal processing, the program capability of the distributed and high technology such as concurrent, while is for the reliability of system, expandability and maintainability require high, in addition, the debugging of security protection subsystem is owing to lacking analogue means, therefore its debug process is very difficult on stream.
In the Integrated Solution of existing security device system, have and adopt XML language to solve the unified problem of describing of signal in integrated system as the mechanism of description, but because traditional XML technology only can realize unified description of grammer for structure, and shortage is for the semantic description of model, therefore, cannot be used for as a kind of conforming open descriptive tool the integration field of safety monitoring.The body of rising in recent years (Ontology) technology, standardization by the concept to specific area, term and mutual relationship thereof is described, sketch out ABC system and the descriptive language in this field, as a kind of explanation mechanism, body has been strengthened knowledge sharing and has been reused by different application.But, have not yet to see during integrated and signal that ontology is applied to safety monitoring integration field equipment processes.
(3), summary of the invention:
The technical problem to be solved in the present invention is: the defect that overcomes prior art, the method of a kind of response from safety monitoring subsystem signals is provided, the method has reduced technical difficulty and the workload of safety-protection system integrated platform exploitation, has improved reliability, maintainability and the expandability of safety-protection system integrated platform.
Technical scheme of the present invention:
Response is from a method for safety monitoring subsystem signals, containing having the following steps:
Step 1: adopt device communication module to read the device signal from different safety monitoring equipment, device communication module is analyzed identification according to the protocol model being built by protocol analyzer of system intialization to corresponding device signal again, judge the safety monitoring subsystem that it is affiliated, create system signal, then system signal is sent to signal analyzer;
Step 2: signal analyzer is the software analytic thread consisting of N signal processor, N is more than or equal to 1 natural number, signal processor is resolved the system signal from different safety monitoring subsystems successively, the determined signal identification of agreement definition according to the corresponding safety monitoring subsystem of system intialization, signal processor decomposes, identifies the signal of devices communicating layer transmission, create device signal object, then device signal object is sent to linkage strategy processor, transfers to linkage strategy processor to process;
Step 3: if linkage strategy processor is found the related linkage strategy of this device signal object, triggering corresponding linkage strategy carries out, further judge whether this device signal object causes equipment state to change, if, send the safety monitoring integrated platform that equipment state change signal is sent to model storage access module and upper strata, then perform step 4;
If linkage strategy processor is not found the related linkage strategy of this device signal object, directly perform step 4;
Step 4: linkage strategy processor is carried out predefined each response policy successively, creates command object by each response policy according to predefined device drives agreement according to device signal object, and command object is carried out rear forming device order and is sent to command processor;
Step 5: command processor is encoded to the device command receiving according to preset device command coding protocol, then the instruction forming after coding is mail to device communication module, by device communication module, according to the communication mode of corresponding safety monitoring subsystem, instruction is sent to target device.
Protocol analyzer is a safety-protection system model analysis storehouse building based on ontology, it receives from outside according to oUDL (Universal Device Language Based on Ontology, the description document of the safety monitoring subsystem that the security device integration description language based on body) definition provides, and it is resolved, according to protocol model corresponding to the basic layer system construction of system, equipment, signal and order, and a set of interface for safety monitoring device access is provided, realize the centralized management to safety monitoring life period of equipment.
Device communication module is the software function processing module for treatment facility communication layers signal, device communication module is sent the request of obtaining system information to protocol analyzer, the access mode of the safety monitoring subsystem providing according to protocol analyzer, structure connects towards the network of safety monitoring subsystem, receive the signal that safety monitoring subsystem transmits, and pass the signal along to signal analyzer; Device communication module also receives the device drives instruction from command processor, after then this device drives instruction being encoded according to access protocal, mails to corresponding target device.
Signal analyzer by obtaining the asynchronous process of pending signal realization and device communication module from a buffer zone, and signal analyzer is to consist of 3 signal processors, and each signal processor is all realized same interface, bears different tasks; 3 signal processor equipment of being respectively obtain processor, state control processor and strategy and add processor; Equipment obtains the facility information of processor analytic signal, by equipment sources corresponding to equipment access interface request, the availability of checkout facility; State control processor is responsible for checking that whether having event to cause equipment state changes; Strategy adds processor to be responsible for adding this signal to linkage strategy processor, and this signal triggers linkage strategy processor by observer's mechanism and starts working.
Linkage strategy processor is a software function module that can start interlock thread, this interlock thread is by obtaining from a buffer zone from the signal realization of signal analyzer and the asynchronous process of signal analyzer, interlock thread is to the policy object of the policy object factory requests Signal Matching of prestrain, in each policy object, contain M command object, each policy object is carried out this M command object successively, each command object is carried out rear forming device order and is sent to command processor, and M is more than or equal to 1 natural number.
Command processor be one corresponding to the multi-thread software processor of different safety monitoring subsystems, the corresponding safety monitoring subsystem of each thread of this software processor, command processor comprises a command queue based on priority, command processor, by equipment access interface equipment bidding protocol, creates the coding of device drives order according to device command protocol format.
Beneficial effect of the present invention:
1, the present invention is based on oUDL technology, shielded the details that agreement realizes, make application developer needn't too much pay close attention to model dynamic construction process and signal analysis and coordination and response process, difficulty and the workload of application and development have been reduced, when needs are integrated or revise a specific safety monitoring subsystem, only needing increases or replacement equipment description document, and without revising coding, has greatly improved maintainability and the expandability of system; In addition, pass through gauge tap, the present invention can enter emulation mode, become a kind of device signal simulation method for generation, can be according to device description agreement, the simulating signal that generates different security protection subsystems according to different frequencies is developed debugging for application system, while having reduced the exploitation of security protection integrated system, for the dependency degree of equipment, improves the development efficiency of application system.
(4), accompanying drawing explanation:
Fig. 1 is the integrated solution schematic diagram of existing application security device;
Fig. 2 is that response of the present invention is from the schematic flow sheet of the method for safety monitoring subsystem signals.
(5), embodiment:
Referring to Fig. 2, in figure, response from the method for safety monitoring subsystem signals containing having the following steps:
Step 1: adopt device communication module to read the device signal from different safety monitoring equipment, device communication module is analyzed identification according to the protocol model being built by protocol analyzer of system intialization to corresponding device signal again, judge the safety monitoring subsystem that it is affiliated, create system signal, then system signal is sent to signal analyzer;
Step 2: signal analyzer is the software analytic thread consisting of N signal processor, N is more than or equal to 1 natural number, signal processor is resolved the system signal from different safety monitoring subsystems successively, the determined signal identification of agreement definition according to the corresponding safety monitoring subsystem of system intialization, signal processor decomposes, identifies the signal of devices communicating layer transmission, create device signal object, then device signal object is sent to linkage strategy processor, transfers to linkage strategy processor to process;
Step 3: if linkage strategy processor is found the related linkage strategy of this device signal object, triggering corresponding linkage strategy carries out, further judge whether this device signal object causes equipment state to change, if, send the safety monitoring integrated platform that equipment state change signal is sent to model storage access module and upper strata, then perform step 4;
If linkage strategy processor is not found the related linkage strategy of this device signal object, directly perform step 4;
Step 4: linkage strategy processor is carried out predefined each response policy successively, creates command object by each response policy according to predefined device drives agreement according to device signal object, and command object is carried out rear forming device order and is sent to command processor;
Step 5: command processor is encoded to the device command receiving according to preset device command coding protocol, then the instruction forming after coding is mail to device communication module, by device communication module, according to the communication mode of corresponding safety monitoring subsystem, instruction is sent to target device.
Protocol analyzer is a safety-protection system model analysis storehouse building based on ontology, it receives from outside according to oUDL (Universal Device Language Based on Ontology, the description document of the safety monitoring subsystem that the security device integration description language based on body) definition provides, and it is resolved, according to protocol model corresponding to the basic layer system construction of system, equipment, signal and order, and a set of interface for safety monitoring device access is provided, realize the centralized management to safety monitoring life period of equipment.
Device communication module is the software function processing module for treatment facility communication layers signal, device communication module is sent the request of obtaining system information to protocol analyzer, the access mode of the safety monitoring subsystem providing according to protocol analyzer, structure connects towards the network of safety monitoring subsystem, receive the signal that safety monitoring subsystem transmits, and pass the signal along to signal analyzer; Device communication module also receives the device drives instruction from command processor, after then this device drives instruction being encoded according to access protocal, mails to corresponding target device.
Signal analyzer by obtaining the asynchronous process of pending signal realization and device communication module from a buffer zone, and signal analyzer is to consist of 3 signal processors, and each signal processor is all realized same interface, bears different tasks; 3 signal processor equipment of being respectively obtain processor, state control processor and strategy and add processor; Equipment obtains the facility information of processor analytic signal, by equipment sources corresponding to equipment access interface request, the availability of checkout facility; State control processor is responsible for checking that whether having event to cause equipment state changes; Strategy adds processor to be responsible for adding this signal to linkage strategy processor, and this signal triggers linkage strategy processor by observer's mechanism and starts working.
Linkage strategy processor is a software function module that can start interlock thread, this interlock thread is by obtaining from a buffer zone from the signal realization of signal analyzer and the asynchronous process of signal analyzer, interlock thread is to the policy object of the policy object factory requests Signal Matching of prestrain, in each policy object, contain M command object, each policy object is carried out this M command object successively, each command object is carried out rear forming device order and is sent to command processor, and M is more than or equal to 1 natural number.
Command processor be one corresponding to the multi-thread software processor of different safety monitoring subsystems, the corresponding safety monitoring subsystem of each thread of this software processor, command processor comprises a command queue based on priority, command processor, by equipment access interface equipment bidding protocol, creates the coding of device drives order according to device command protocol format.
Claims (7)
1. response, from a method for safety monitoring subsystem signals, is characterized in that: containing having the following steps:
Step 1: adopt device communication module to read the device signal from different safety monitoring equipment, device communication module is analyzed identification according to the protocol model being built by protocol analyzer of system intialization to corresponding device signal again, judge the safety monitoring subsystem that it is affiliated, create system signal, then system signal is sent to signal analyzer;
Step 2: signal analyzer is the software analytic thread consisting of N signal processor, N is more than or equal to 1 natural number, signal processor is resolved the system signal from different safety monitoring subsystems successively, the determined signal identification of agreement definition according to the corresponding safety monitoring subsystem of system intialization, signal processor decomposes, identifies the signal of devices communicating layer transmission, create device signal object, then device signal object is sent to linkage strategy processor, transfers to linkage strategy processor to process;
Step 3: if linkage strategy processor is found the related linkage strategy of this device signal object, triggering corresponding linkage strategy carries out, further judge whether this device signal object causes equipment state to change, if, send the safety monitoring integrated platform that equipment state change signal is sent to model storage access module and upper strata, then perform step 4;
If linkage strategy processor is not found the related linkage strategy of this device signal object, directly perform step 4;
Step 4: linkage strategy processor is carried out predefined each response policy successively, creates command object by each response policy according to predefined device drives agreement according to device signal object, and command object is carried out rear forming device order and is sent to command processor;
Step 5: command processor is encoded to the device command receiving according to preset device command coding protocol, then the instruction forming after coding is mail to device communication module, by device communication module, according to the communication mode of corresponding safety monitoring subsystem, instruction is sent to target device;
Command processor be one corresponding to the multi-thread software processor of different safety monitoring subsystems, the corresponding safety monitoring subsystem of each thread of this software processor, command processor comprises a command queue based on priority, command processor, by equipment access interface equipment bidding protocol, creates the coding of device drives order according to device command protocol format.
2. response according to claim 1 is from the method for safety monitoring subsystem signals, it is characterized in that: described protocol analyzer is a safety-protection system model analysis storehouse building based on ontology, and a set of interface for safety monitoring device access is provided, realize the centralized management to safety monitoring life period of equipment.
3. response according to claim 2 is from the method for safety monitoring subsystem signals, it is characterized in that: be the description document of the specific safety monitoring subsystem that provides of an ABC system for safety-security area building based on ontology and descriptive language oUDL, according to protocol model corresponding to the basic layer system construction of system, equipment, signal and order.
4. response according to claim 1 is from the method for safety monitoring subsystem signals, it is characterized in that: described device communication module is the software function processing module for treatment facility communication layers signal, device communication module is sent the request of obtaining system information to protocol analyzer, the access mode of the safety monitoring subsystem providing according to protocol analyzer, structure connects towards the network of safety monitoring subsystem, receive the signal that safety monitoring subsystem transmits, and pass the signal along to signal analyzer; Device communication module also receives the device drives instruction from command processor, after then this device drives instruction being encoded according to access protocal, mails to corresponding target device.
5. response according to claim 1 is from the method for safety monitoring subsystem signals, it is characterized in that: described signal analyzer by obtaining the asynchronous process of pending signal realization and device communication module from a buffer zone, signal analyzer is to consist of 3 signal processors, each signal processor is all realized same interface, bears different tasks; 3 signal processor equipment of being respectively obtain processor, state control processor and strategy and add processor; Equipment obtains the facility information of processor analytic signal, by equipment sources corresponding to equipment access interface request, the availability of checkout facility; State control processor is responsible for checking that whether having event to cause equipment state changes; Strategy adds processor to be responsible for adding this signal to linkage strategy processor, and this signal triggers linkage strategy processor by observer's mechanism and starts working.
6. response according to claim 1 is from the method for safety monitoring subsystem signals, it is characterized in that: described linkage strategy processor is a software function module that can start interlock thread, this interlock thread is by obtaining from a buffer zone from the signal realization of signal analyzer and the asynchronous process of signal analyzer, interlock thread is to the policy object of the policy object factory requests Signal Matching of prestrain, in each policy object, contain M command object, each policy object is carried out this M command object successively, each command object is carried out rear forming device order and is sent to command processor, M is more than or equal to 1 natural number.
7. response according to claim 1 is from the method for safety monitoring subsystem signals, it is characterized in that: by a gauge tap is set, can control safety monitoring signal processor and enter emulation mode, become a kind of device signal analog generator, can be according to preset device description agreement, the simulating signal that generates different security protection subsystems according to different frequencies is developed debugging for application system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210289802.XA CN102819508B (en) | 2012-08-15 | 2012-08-15 | Method for responding to signals from security monitoring subsystem |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210289802.XA CN102819508B (en) | 2012-08-15 | 2012-08-15 | Method for responding to signals from security monitoring subsystem |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102819508A CN102819508A (en) | 2012-12-12 |
CN102819508B true CN102819508B (en) | 2014-04-02 |
Family
ID=47303626
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210289802.XA Expired - Fee Related CN102819508B (en) | 2012-08-15 | 2012-08-15 | Method for responding to signals from security monitoring subsystem |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102819508B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104932330B (en) * | 2015-05-13 | 2017-12-29 | 广州市优泰安防技术有限公司 | A kind of security protection linkage platform |
CN115185466B (en) * | 2022-07-25 | 2023-02-28 | 北京珞安科技有限责任公司 | Hierarchical management and control tool and method for mobile storage device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1777798A (en) * | 2003-03-17 | 2006-05-24 | 焦耳显微系统加拿大公司 | System enabling remote analysis of fluids. |
CN101924926A (en) * | 2010-08-06 | 2010-12-22 | 中国电信股份有限公司 | Gang control method and system based on security alarm and video monitoring |
CN102065124A (en) * | 2010-11-18 | 2011-05-18 | 北京三博中自科技有限公司 | Multi-protocol point inspection equipment access system |
CN202126746U (en) * | 2010-08-03 | 2012-01-25 | 福建国通信息科技有限公司 | Safety alarm and video multidimensional linkage control process system capable of analyzing with behavior |
-
2012
- 2012-08-15 CN CN201210289802.XA patent/CN102819508B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1777798A (en) * | 2003-03-17 | 2006-05-24 | 焦耳显微系统加拿大公司 | System enabling remote analysis of fluids. |
CN202126746U (en) * | 2010-08-03 | 2012-01-25 | 福建国通信息科技有限公司 | Safety alarm and video multidimensional linkage control process system capable of analyzing with behavior |
CN101924926A (en) * | 2010-08-06 | 2010-12-22 | 中国电信股份有限公司 | Gang control method and system based on security alarm and video monitoring |
CN102065124A (en) * | 2010-11-18 | 2011-05-18 | 北京三博中自科技有限公司 | Multi-protocol point inspection equipment access system |
Non-Patent Citations (1)
Title |
---|
郑娅峰,张永强.基于本体的安防监控指挥系统设备集成及联动控制.《科技导报》.2012,第22卷(第30期),60-64. * |
Also Published As
Publication number | Publication date |
---|---|
CN102819508A (en) | 2012-12-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2022202972A1 (en) | Tools and methods for real-time dataflow programming language | |
CN103336705B (en) | Automatic transcoding between script process and Workflow system and semantic self adaptation | |
US20130159477A1 (en) | Method for configuring a distributed avionics control system | |
CN103995777A (en) | Automatic embedded software block box testing system and method | |
CN102902620B (en) | GDB (genome database) based heterogeneous computing and debugging environment realizing system | |
CN105550118B (en) | debugging system and debugging method | |
Efkemann et al. | Model-based testing for the second generation of integrated modular avionics | |
CN108563455A (en) | Middleware portion arranging method, system and equipment in a kind of K-UX operating systems | |
EP3982268B1 (en) | Chassis simulation method and apparatus, server, storage medium and program product | |
CN105740139A (en) | Virtual environment based embedded software debugging method | |
CN109100952B (en) | Regional inference machine of health management system of distributed semi-physical simulation spacecraft | |
US20100057428A1 (en) | Method and computer system for the computer simulation of a plant or a machine | |
CN101976203B (en) | Parallelized simulation multithread management method | |
CN102819508B (en) | Method for responding to signals from security monitoring subsystem | |
CN105843995A (en) | Model-driven based IMA system time resource configuration verification method | |
CN109507991B (en) | Double-shaft servo control platform debugging system and method | |
US7873498B2 (en) | Remote hardware inspection system and method | |
Barbalace et al. | Performance comparison of EPICS IOC and MARTe in a hard real-time control application | |
CN110442338B (en) | Simulation method for structural analysis and design language AADL model | |
WO2014204635A1 (en) | Cyber-physical systems programmable logic controller | |
Król et al. | Practical performance aspects of using real-time multi-agent platform in complex systems | |
Efkemann | A Framework for Model-based Testing of Integrated Modular Avionics | |
US20110055849A1 (en) | Method for controlling an interaction between modules of a service-oriented component as well as a service-oriented component | |
Tao et al. | Model Based Methodology and Framework for Design and Management of Next-Gen IoT Systems. | |
CN116470968B (en) | Ground test method and device for communication function of aerospace science system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20140402 Termination date: 20170815 |
|
CF01 | Termination of patent right due to non-payment of annual fee |