The invention relates to an intelligent module
software architecture of a small and medium-sized intelligent security and protection all-in-one
machine and a working method, and belongs to the technical field of intelligent security and protection equipment
software. In order to solve the problems of complex integration of multiple devices, high
system coupling degree and difficulty in intelligent
algorithm expansion in the prior art, the invention provides a
software system based on event-driven and plug-in architecture. According to the
system, behaviors such as video
stream processing,
equipment state change and user operation are abstracted into standardized events, and decoupling and efficient communication among functional modules are achieved through an event
bus and an asynchronous
callback mechanism. Meanwhile, various intelligent analysis algorithms are packaged into independent plug-ins conforming to
unified interface specifications, and
dynamic loading, unloading and scheduling are achieved through a plug-in manager. According to the invention, high-cohesion and low-
coupling system design is realized, the performance of the security and protection all-in-one
machine in the aspects of function expansibility,
system stability, development efficiency and operation and maintenance convenience is remarkably improved, and the system is particularly suitable for small and medium-sized security and protection scenes needing continuous iteration of an intelligent
algorithm.