Intelligent building monitoring system
By introducing artificial intelligence and machine vision algorithms into the intelligent building monitoring system, it analyzes the foreground and background content in the monitoring screen, identifies abnormal situations and generates early warnings, solving the problem of insufficient intelligent analysis capabilities in the existing system and improving monitoring efficiency and Security.
Patent Information
- Application Number
- CN202411127724.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-16
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-08-16
AI Technical Summary
Existing smart building monitoring systems based on the Internet of Things lack intelligent analysis and processing capabilities for video content. They rely on manual monitoring, resulting in inefficiency and vulnerability to interference from human factors. As the number of devices increases, the difficulty and cost of manual monitoring increase.
Introduce image processing and analysis algorithms based on artificial intelligence and machine vision to identify abnormal situations and generate early warning prompts by monitoring the semantic encoding and collaborative representation of foreground and background content, reducing reliance on manual monitoring.
It achieves more intelligent building monitoring, enhances security and intelligence, reduces dependence on manual monitoring, and improves monitoring efficiency and accuracy.
Smart Images

Figure CN118660137B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of monitoring systems, and in particular, to an intelligent building monitoring system. Background Art
[0002] With the development of modern society, the process of urbanization is accelerating, and high-rise buildings have become an important part of the city. Building safety issues have also become increasingly prominent and have become the focus of people's attention. In order to protect the lives and property of residents and park owners, building monitoring systems have emerged and become an indispensable part of modern intelligent buildings. Building monitoring systems use cameras installed in key locations to achieve real-time monitoring of the internal and external environment of the building, so as to detect abnormal situations in time and take corresponding measures. However, these monitoring images are often limited to the display screens in the monitoring room and cannot be accessed remotely. In addition, when connecting these monitoring images to the external network, how to ensure the security of the data and prevent unauthorized access and potential security threats has become an urgent problem that needs to be solved.
[0003] Based on this, Chinese patent CN115840399A proposes an IoT-based intelligent building monitoring system and a monitoring method thereof, which can obtain messages from all monitoring screens through the monitoring device network gateway, and control the access of legitimate monitoring terminals to the intelligent building monitoring system by sending authentication files, so that general terminals cannot directly access the resources in the intelligent building monitoring system. This means that only the monitoring terminals that have obtained the authentication files can obtain the monitoring screens in the intelligent building monitoring system, thereby improving the security of the intelligent building monitoring system.
[0004] In the above-mentioned intelligent building monitoring system based on the Internet of Things, although the security of the monitoring screen and the intelligent building monitoring system can be ensured, and the monitoring screen of the building can be prevented from being obtained by criminals. However, the intelligent building monitoring system based on the Internet of Things can often only provide basic video recording and playback functions, and lacks the ability to intelligently analyze and process video content. In other words, in this monitoring system, it is still necessary to rely on the human eye to analyze and judge the monitoring screen in order to identify and judge whether there are abnormalities in the park. This method is not only inefficient, but also easily interfered by human factors, such as fatigue, lack of concentration, etc., resulting in unsatisfactory monitoring results. In addition, with the increase in the number of monitoring equipment, the difficulty and cost of manual monitoring are also rising.
[0005] Therefore, an optimized intelligent building monitoring system is desired. Summary of the invention
[0006] This summary is provided to introduce concepts in a brief form that will be described in detail in the detailed description below. This summary is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.
[0007] In a first aspect, the present application provides an intelligent building monitoring system, the system comprising: a monitoring terminal, a monitoring management platform, a monitoring device and a monitoring device network gateway; wherein the monitoring terminal is used to: in response to receiving a display monitoring screen signal, issue an authentication request; the monitoring management platform receives the authentication request, generates an authentication file based on the authentication request, and then returns the authentication file to the monitoring terminal; in response to the monitoring terminal receiving the authentication file, sends a link request to the monitoring device network gateway; in response to successfully creating a monitoring device link, sends a monitoring screen acquisition message to the monitoring device network gateway and the monitoring device based on the monitoring device link; acquires the monitoring screen collected by the monitoring device, and displays the monitoring screen; wherein the monitoring terminal also includes a monitoring screen processor, the monitoring screen processor is used to perform abnormal identification of the park based on the monitoring screen to obtain an identification result, and determines whether to generate an abnormal warning prompt based on the identification result;
[0008] Wherein, the monitoring screen processor includes:
[0009] A monitoring foreground-background part separation module, used for inputting the monitoring picture into a foreground-background separator to obtain a monitoring foreground part and a monitoring background part;
[0010] A monitoring foreground and background image text semantic coding module is used to perform image text semantic coding on the monitoring foreground part and the monitoring background part respectively to obtain a monitoring foreground content semantic coding feature vector and a monitoring background content semantic coding feature vector;
[0011] A monitoring screen foreground content-background content semantic collaborative representation module, used for inputting the monitoring foreground content semantic encoding feature vector and the monitoring background content semantic encoding feature vector into a feature value granularity association mask distinguishable attention fusion module to obtain a monitoring screen foreground content-background content collaborative full semantic representation vector;
[0012] The abnormal monitoring and warning module is used to determine the recognition result based on the foreground content-background content collaborative full semantic representation vector of the monitoring screen, the recognition result is used to indicate whether an abnormality exists, and determine whether to generate an abnormal warning prompt based on the recognition result.
[0013] Optionally, the monitored foreground and background image text semantic encoding module is used to: input the monitored foreground part and the monitored background part into an image text semantic descriptor including an image encoder and an image decoder to obtain a monitored foreground content text description and a monitored background content text description; and semantically encode the monitored foreground content text description and the monitored background content text description to obtain the monitored foreground content semantic encoding feature vector and the monitored background content semantic encoding feature vector.
[0014] Optionally, the monitoring screen foreground content-background content semantic collaborative representation module includes: a global eigenvalue association matrix calculation unit, which is used to calculate the global eigenvalue association matrix between the monitoring foreground content semantic coding feature vector and the monitoring background content semantic coding feature vector to obtain the monitoring screen foreground content-background content global eigenvalue association matrix; a gating function calculation unit, which is used to input the monitoring screen foreground content-background content global eigenvalue association matrix into a learnable gating function to obtain a monitoring screen foreground content-background content correlation distinguishable weight matrix; a matrix product calculation unit, which is used to use the monitoring screen foreground content-background content correlation distinguishable weight matrix as a fusion mask matrix, and respectively calculate the matrix product between the monitoring foreground content semantic coding feature vector and the monitoring background content semantic coding feature vector and the monitoring screen foreground content-background content correlation distinguishable weight matrix to obtain a distinguishing and strengthening monitoring foreground content semantic coding feature vector and a distinguishing and strengthening monitoring background content semantic coding feature vector; a vector fusion unit, which is used to fuse the distinguishing and strengthening monitoring foreground content semantic coding feature vector and the distinguishing and strengthening monitoring background content semantic coding feature vector to obtain the monitoring screen foreground content-background content collaborative full semantic representation vector.
[0015] Optionally, the global eigenvalue association matrix calculation unit is used to calculate the vector multiplication between the transposed vector of the monitoring foreground content semantic coding feature vector and the monitoring background content semantic coding feature vector to obtain the global eigenvalue association matrix of the monitoring screen foreground content-background content.
[0016] Optionally, the gating function calculation unit is used to: use the negative number of the eigenvalues at each position in the monitoring picture foreground content-background content global eigenvalue association matrix as the exponential power, calculate the natural exponential function value with the natural constant e as the base to obtain the monitoring picture foreground content-background content global eigenvalue association class support matrix; calculate the reciprocal of the sum of the eigenvalues at each position in the monitoring picture foreground content-background content global eigenvalue association class support matrix and the constant 1 to obtain the monitoring picture foreground content-background content global eigenvalue association weight matrix; calculate the positional point multiplication between the monitoring picture foreground content-background content global eigenvalue association weight matrix and the monitoring picture foreground content-background content global eigenvalue association matrix to obtain the monitoring picture foreground content-background content correlation distinguishable weight matrix.
[0017] Optionally, the vector fusion unit is used to: cascade the semantic coding feature vector for distinguishing and enhancing the monitoring foreground content and the semantic coding feature vector for distinguishing and enhancing the monitoring background content to obtain the monitoring screen foreground content-background content collaborative full semantic representation vector.
[0018] Optionally, the abnormal monitoring and early warning module includes: an abnormal identification unit, which is used to input the foreground content-background content collaborative full semantic representation vector of the monitoring screen into a classifier-based abnormality identifier to obtain the identification result, and the identification result is used to indicate whether there is an abnormality; an abnormal early warning unit, which is used to generate an abnormal early warning prompt in response to the identification result that an abnormality exists.
[0019] Optionally, the anomaly identification unit is used to: use multiple fully connected layers of the classifier-based anomaly identifier to fully connect the foreground content-background content collaborative full semantic representation vector of the monitoring picture to obtain an encoded classification feature vector; and pass the encoded classification feature vector through the Softmax classification function of the classifier-based anomaly identifier to obtain the recognition result.
[0020] The above technical solution is adopted to analyze the monitoring screen by introducing an image processing and analysis algorithm based on artificial intelligence and machine vision at the back end, so as to learn and capture the semantics of the foreground content and background content in the monitoring screen, and extract the semantic collaborative interaction information between the foreground content and background content of the monitoring screen, so as to identify and detect abnormal situations in the park, and generate abnormal warning prompts when abnormalities are detected. In this way, more intelligent building monitoring can be achieved, thereby reducing the dependence on manual monitoring and enhancing the safety and intelligence of smart buildings.
[0021] Other features and advantages of the present application will be described in detail in the subsequent detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The above and other features, advantages and aspects of the embodiments of the present application will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale. In the drawings:
[0023] Figure 1 The invention is a block diagram of an intelligent building monitoring system according to an exemplary embodiment.
[0024] Figure 2 It is a block diagram of the monitoring picture processor of an intelligent building monitoring system according to an exemplary embodiment.
[0025] Figure 3 The figure is a flow chart of a smart building monitoring method according to an exemplary embodiment.
[0026] Figure 4 It is a block diagram of an electronic device according to an exemplary embodiment.
[0027] Figure 5 The figure is an application scenario diagram of an intelligent building monitoring system according to an exemplary embodiment. DETAILED DESCRIPTION
[0028] The embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be construed as being limited to the embodiments described herein. Instead, these embodiments are provided to provide a more thorough and complete understanding of the present application. It should be understood that the drawings and embodiments of the present application are only for exemplary purposes and are not intended to limit the scope of protection of the present application.
[0029] It should be understood that the various steps described in the method implementation of the present application can be performed in different orders and / or performed in parallel. In addition, the method implementation may include additional steps and / or omit the steps shown. The scope of the present application is not limited in this respect.
[0030] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0031] It should be noted that the concepts such as "first" and "second" mentioned in this application are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0032] It should be noted that the modifications of "one" and "plurality" mentioned in the present application are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0033] The names of the messages or information exchanged between multiple devices in the embodiments of the present application are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0034] The specific implementation of the present application is described in detail below with reference to the accompanying drawings.
[0035] Figure 1 The invention is a block diagram of an intelligent building monitoring system according to an exemplary embodiment. Figure 2 FIG. 1 is a block diagram of a monitoring screen processor of an intelligent building monitoring system according to an exemplary embodiment. Figure 1 and Figure 2 As shown, the intelligent building monitoring system 100 includes:
[0036] Monitoring terminal 1, monitoring management platform 2, monitoring equipment 3 and monitoring equipment network gateway 4; wherein, the monitoring terminal 1 is used to: in response to receiving a signal for displaying a monitoring screen, issue an authentication request; the monitoring management platform 2 receives the authentication request, generates an authentication file based on the authentication request, and then returns the authentication file to the monitoring terminal 1; in response to the monitoring terminal 1 receiving the authentication file, sends a link request to the monitoring equipment network gateway 4; in response to successfully creating a monitoring equipment link, sends a monitoring screen acquisition message to the monitoring equipment network gateway 4 and the monitoring equipment 3 based on the monitoring equipment link; acquires the monitoring screen collected by the monitoring equipment 3, and displays the monitoring screen; wherein, the monitoring terminal 1 also includes a monitoring screen processor 11, the monitoring screen processor 11 is used to perform abnormal identification of the park based on the monitoring screen to obtain an identification result, and determine whether to generate an abnormal warning prompt based on the identification result;
[0037] Wherein, the monitoring screen processor 11 includes:
[0038] A monitoring foreground-background part separation module 101 is used to input the monitoring picture into a foreground-background separator to obtain a monitoring foreground part and a monitoring background part;
[0039] The monitoring foreground and background image text semantic coding module 102 is used to perform image text semantic coding on the monitoring foreground part and the monitoring background part respectively to obtain the monitoring foreground content semantic coding feature vector and the monitoring background content semantic coding feature vector;
[0040] A monitoring screen foreground content-background content semantic collaborative representation module 103 is used to input the monitoring screen foreground content semantic encoding feature vector and the monitoring background content semantic encoding feature vector into a feature value granularity association mask distinguishable attention fusion module to obtain a monitoring screen foreground content-background content collaborative full semantic representation vector;
[0041] The abnormal monitoring and warning module 104 is used to determine the recognition result based on the foreground content-background content collaborative full semantic representation vector of the monitoring screen, the recognition result is used to indicate whether an abnormality exists, and determine whether to generate an abnormal warning prompt based on the recognition result.
[0042] In the above-mentioned intelligent building monitoring system, in the monitoring screen processor, the technical concept of the present application is to analyze the monitoring screen by introducing an image processing and analysis algorithm based on artificial intelligence and machine vision at the back end, so as to learn and capture the semantics of the foreground content and the background content in the monitoring screen, and at the same time extract the semantic collaborative interaction and correlation information between the foreground content and the background content of the monitoring screen, so as to identify and detect abnormal situations in the park, and generate abnormal warning prompts when abnormalities are detected. In this way, more intelligent building monitoring can be achieved, thereby reducing the dependence on manual monitoring and enhancing the safety and intelligence of intelligent buildings.
[0043] Specifically, in the monitoring screen processor, it includes the following steps: first, obtaining the monitoring screen collected by the monitoring device. It should be understood that the monitoring screen contains both image foreground semantics related to people, vehicles or other dynamic objects, and image background semantics related to static objects and environmental features such as buildings and trees. Therefore, in order to be able to conduct a more comprehensive and in-depth analysis of the image semantics of the monitoring screen, so as to more fully and effectively identify abnormal situations existing in the park, so as to conduct timely warnings to increase building safety, in the technical solution of the present application, the monitoring screen is further input into a foreground-background separator to obtain a monitoring foreground part and a monitoring background part. By separating the monitoring screen into a foreground part and a background part, a more in-depth analysis of the two can be performed separately. For example, the foreground part can be used for target object behavior recognition and motion analysis, while the background part can be used to supplement the monitoring screen with more effective scene understanding or other contextual information.
[0044] Then, in order to be able to more deeply understand and analyze the content and semantics in the monitoring scene, in the technical solution of the present application, the monitoring foreground part and the monitoring background part are input into an image text semantic descriptor including an image encoder and an image decoder to obtain a monitoring foreground content text description and a monitoring background content text description. Specifically, through the image encoder, the visual information of the foreground and background of the monitoring screen can be converted into high-dimensional feature vectors, which can capture the shape, color, texture and other information of the objects in the image, thereby laying the foundation for subsequent semantic analysis. The image decoder can further convert the extracted object features into a text description, which not only provides basic information of the image, but also reflects the relationship and contextual semantics between the objects in the image, which helps to more deeply understand the meaning of the overall scene in the image. Therefore, through the processing of the image text semantic descriptor, the image information in the monitoring foreground part and the monitoring background part can be converted into a text description, so as to convey the content and activities in the image in the form of natural language, which helps to use the global semantics of the foreground part and the background part of the image to more comprehensively and accurately establish the contextual association between the objects in the image, thereby providing a basis for subsequent building anomaly detection.
[0045] In one embodiment of the present application, the monitoring foreground and background image text semantic encoding module is used to: input the monitoring foreground part and the monitoring background part into an image text semantic descriptor including an image encoder and an image decoder to obtain a monitoring foreground content text description and a monitoring background content text description; and semantically encode the monitoring foreground content text description and the monitoring background content text description to obtain the monitoring foreground content semantic encoding feature vector and the monitoring background content semantic encoding feature vector.
[0046] Furthermore, the text description of the monitoring foreground content and the text description of the monitoring background content are semantically encoded to respectively extract the semantic content features of the text description contained in the foreground part and the background part of the monitoring screen, thereby obtaining the semantic encoding feature vector of the monitoring foreground content and the semantic encoding feature vector of the monitoring background content.
[0047] It should be understood that the monitoring foreground content semantic encoding feature vector and the monitoring background content semantic encoding feature vector respectively provide different information dimensions in the monitoring screen. Specifically, the two contain semantic features of the foreground content and semantic features of the background content of the monitoring screen. Therefore, in order to obtain a more comprehensive and accurate scene understanding and help identify potential abnormal behaviors of buildings, in the technical solution of the present application, the monitoring foreground content semantic encoding feature vector and the monitoring background content semantic encoding feature vector are further input into the feature value granularity association mask distinguishable attention fusion module to obtain the monitoring screen foreground content-background content collaborative full semantic representation vector. Through the processing of the feature value granularity association mask distinguishable attention fusion module, the semantic association relationship and interactive content between the foreground content and the background content in the monitoring screen can be effectively captured. This relationship is crucial in building anomaly detection because abnormal behavior is often closely related to its surrounding environment. Specifically, by focusing on the synergy of foreground and background, the system can more accurately determine whether a behavior is abnormal. For example, a person may be harmless in a normal environment, but may be considered abnormal in a specific context (such as a closed area or at night). It is worth mentioning that the feature value granularity association mask distinguishable attention fusion module can use the distinguishable attention mechanism to dynamically adjust the degree of attention to the foreground and background parts of the monitoring screen according to the specific situation. This means that the system can adaptively select the most relevant information and content semantics for anomaly detection tasks in complex scenes to express, thereby improving the effect of building anomaly recognition.
[0048] In one embodiment of the present application, the monitoring screen foreground content-background content semantic collaborative representation module includes: a global eigenvalue association matrix calculation unit, which is used to calculate the global eigenvalue association matrix between the monitoring foreground content semantic coding feature vector and the monitoring background content semantic coding feature vector to obtain the monitoring screen foreground content-background content global eigenvalue association matrix; a gating function calculation unit, which is used to input the monitoring screen foreground content-background content global eigenvalue association matrix into a learnable gating function to obtain a monitoring screen foreground content-background content correlation distinguishable weight matrix; a matrix product calculation unit, which is used to use the monitoring screen foreground content-background content correlation distinguishable weight matrix as a fusion mask matrix, and respectively calculate the matrix product between the monitoring foreground content semantic coding feature vector and the monitoring background content semantic coding feature vector and the monitoring screen foreground content-background content correlation distinguishable weight matrix to obtain a distinguishing and strengthening monitoring foreground content semantic coding feature vector and a distinguishing and strengthening monitoring background content semantic coding feature vector; a vector fusion unit, which is used to fuse the distinguishing and strengthening monitoring foreground content semantic coding feature vector and the distinguishing and strengthening monitoring background content semantic coding feature vector to obtain the monitoring screen foreground content-background content collaborative full semantic representation vector.
[0049] Furthermore, in one embodiment of the present application, the global eigenvalue association matrix calculation unit is used to: calculate the vector multiplication between the transposed vector of the semantic coding feature vector of the monitoring foreground content and the semantic coding feature vector of the monitoring background content to obtain the global eigenvalue association matrix of the foreground content-background content of the monitoring screen.
[0050] Furthermore, in one embodiment of the present application, the gating function calculation unit is used to: use the negative number of the eigenvalues at each position in the monitoring picture foreground content-background content global eigenvalue association matrix as the exponential power, calculate the natural exponential function value with the natural constant e as the base to obtain the monitoring picture foreground content-background content global eigenvalue association class support matrix; calculate the reciprocal of the sum of the eigenvalues at each position in the monitoring picture foreground content-background content global eigenvalue association class support matrix and the constant 1 to obtain the monitoring picture foreground content-background content global eigenvalue association weight matrix; calculate the position point multiplication between the monitoring picture foreground content-background content global eigenvalue association weight matrix and the monitoring picture foreground content-background content global eigenvalue association matrix to obtain the monitoring picture foreground content-background content correlation distinguishable weight matrix.
[0051] Furthermore, in one embodiment of the present application, the vector fusion unit is used to: cascade the semantic coding feature vector for distinguishing and enhancing the monitoring foreground content and the semantic coding feature vector for distinguishing and enhancing the monitoring background content to obtain the monitoring screen foreground content-background content collaborative full semantic representation vector.
[0052] Specifically, the monitoring foreground content semantic encoding feature vector and the monitoring background content semantic encoding feature vector are input into the feature value granularity association mask distinguishable attention fusion module for processing using the following distinguishable attention fusion formula to obtain the monitoring screen foreground content-background content collaborative full semantic representation vector;
[0053] Among them, the distinguishable attention fusion formula is:
[0054]
[0055] in, and are the semantic coding feature vector of the monitoring foreground content and the semantic coding feature vector of the monitoring background content, respectively. is the transposed vector of the semantic encoding feature vector of the monitored foreground content, is the global eigenvalue association matrix of the foreground content and background content of the monitoring screen, For The exponential operation with base , is the global feature value association weight matrix of the foreground content and background content of the monitoring screen, The weight matrix of the correlation between the foreground content and the background content of the monitoring screen can be distinguished. and They are the semantic encoding feature vectors for distinguishing the foreground content of enhanced monitoring and the semantic encoding feature vectors for distinguishing the background content of enhanced monitoring, is the cascade operation of vectors, It is a collaborative full semantic representation vector of the foreground content and background content of the monitoring screen.
[0056] Then, the monitoring screen foreground content-background content collaborative full semantic representation vector is input into the classifier-based anomaly identifier to obtain a recognition result, and the recognition result is used to indicate whether an anomaly exists. In other words, the collaborative correlation features between the foreground content semantics and the background content semantics of the monitoring screen are used for classification processing to identify building abnormalities, and then, in response to the recognition result that an abnormality exists, an abnormality warning prompt is generated. In this way, more intelligent intelligent building monitoring can be achieved, thereby reducing dependence on manual monitoring and enhancing the safety and intelligence of intelligent buildings.
[0057] In one embodiment of the present application, the abnormal monitoring and early warning module includes: an abnormal identification unit, which is used to input the foreground content-background content collaborative full semantic representation vector of the monitoring screen into a classifier-based abnormal identification to obtain the identification result, and the identification result is used to indicate whether there is an abnormality; an abnormal early warning unit, which is used to generate an abnormal early warning prompt in response to the identification result that an abnormality exists.
[0058] Furthermore, in one embodiment of the present application, the anomaly identification unit is used to: use multiple fully connected layers of the classifier-based anomaly identifier to fully connect the foreground content-background content collaborative full semantic representation vector of the monitoring screen to obtain an encoded classification feature vector; and pass the encoded classification feature vector through the Softmax classification function of the classifier-based anomaly identifier to obtain the recognition result.
[0059] In a preferred example, the present application takes into account that the monitoring foreground content semantic coding feature vector and the monitoring background content semantic coding feature vector respectively express the image text semantic coding features of the monitoring foreground part and the monitoring background part of the monitoring screen. In this way, when the monitoring foreground content semantic coding feature vector and the monitoring background content semantic coding feature vector are input into the feature value granularity association mask distinguishable attention fusion module, the obtained monitoring screen foreground content-background content collaborative full semantic representation vector will also cause distribution regression mode deviation due to the difference in association distinguishable attention weights caused by the difference in image text semantic distribution, resulting in overflow of the recognition result obtained by the monitoring screen foreground content-background content collaborative full semantic representation vector input into the classifier-based anomaly identifier, affecting its accuracy.
[0060] Based on this, the monitoring screen foreground content-background content collaborative full semantic representation vector is input into the classifier-based anomaly identifier to obtain the recognition result, which specifically includes:
[0061] The monitoring picture foreground content-background content collaborative full semantic representation vector is passed through a probabilistic activation function to obtain a probabilistic monitoring picture foreground content-background content collaborative full semantic representation vector;
[0062] Determine the abnormal probability value indicating the presence of an abnormality obtained by inputting the monitoring screen foreground content-background content collaborative full semantic representation vector into the classifier-based abnormality identifier;
[0063] After performing point subtraction on the unit feature vector and the probabilistic monitoring screen foreground content-background content coordinated full semantic representation vector, the power function with the abnormal probability value as the base is calculated, and further multiplied with the probabilistic monitoring screen foreground content-background content coordinated full semantic representation vector to obtain the probabilistic monitoring screen foreground content-background content coordinated full semantic convergence limiting feature vector;
[0064] Taking the absolute value of each eigenvalue of the probabilistic monitoring screen foreground content-background content collaborative full semantic representation vector as the base, calculating a power function with the inverse of the abnormal probability value as the exponent, and summing all eigenvalues of the probabilistic monitoring screen foreground content-background content collaborative full semantic representation vector to obtain a monitoring screen foreground content-background content collaborative full semantic convergence bias eigenvalue;
[0065] The probabilistic monitoring screen foreground content-background content collaborative full semantic convergence limiting feature vector and the product of the monitoring screen foreground content-background content collaborative full semantic convergence bias feature value and the weight as a hyperparameter are multiplied to obtain an optimized monitoring screen foreground content-background content collaborative full semantic representation vector;
[0066] The optimized monitoring screen foreground content-background content collaborative full semantic representation vector is input into a classifier-based anomaly identifier to obtain a recognition result.
[0067] Wherein, the probabilistic monitoring screen foreground content-background content collaborative full semantic representation vector is recorded as , the abnormal probability value is , then the optimized surveillance screen foreground content-background content collaborative full semantic representation vector It is expressed as:
[0068]
[0069] in, It is a probabilistic surveillance screen foreground content-background content collaborative full semantic representation vector. is each eigenvalue of the probabilistic surveillance screen foreground content-background content collaborative full semantic representation vector, is the abnormal probability value, is the unit eigenvector, is the weight of the hyperparameter, It is an optimized surveillance screen foreground content-background content collaborative full semantic representation vector. is positional subtraction, is positional addition, It is the point product by position.
[0070] That is, for the monitoring screen foreground content-background content collaborative full semantic representation vector, based on the convergence limit of the Cauchy-Hadamard form power series probability distribution, the feature set of the monitoring screen foreground content-background content collaborative full semantic representation vector is represented by a power series based on the convergence probability, and a set convergence bounded bias based on each eigenvalue of the monitoring screen foreground content-background content collaborative full semantic representation vector as a convergence radius representation is added, so as to avoid the monitoring screen foreground content-background content collaborative full semantic representation vector in the regression process of the classifier-based abnormality identifier under a unified probability convergence limit standard. The monitoring screen foreground content-background content collaborative full semantic representation vector is caused by the gradient propagation of the model parameters based on the convergence probability. The deviation of the distribution mode of the monitoring screen foreground content-background content collaborative full semantic representation vector causes invalid overflow of the classification result, thereby improving the accuracy of the recognition result obtained by the classifier-based abnormality identifier. In this way, the abnormal situation in the park can be more accurately identified and detected, and abnormal warning prompts are generated when abnormalities are detected, so as to achieve more intelligent building monitoring, thereby reducing the dependence on manual monitoring and enhancing the safety and intelligence of intelligent buildings.
[0071] In summary, the above solution is adopted to analyze the monitoring screen by introducing image processing and analysis algorithms based on artificial intelligence and machine vision at the back end, so as to learn and capture the semantics of the foreground content and background content in the monitoring screen, and extract the semantic collaborative interaction and correlation information between the foreground content and background content of the monitoring screen, so as to identify and detect abnormal situations in the park, and generate abnormal warning prompts when abnormalities are detected. In this way, more intelligent building monitoring can be achieved, thereby reducing dependence on manual monitoring and enhancing the safety and intelligence of smart buildings.
[0072] Figure 3 is a flow chart of a smart building monitoring method according to an exemplary embodiment. Figure 3 As shown, the method includes:
[0073] Step S201, inputting the monitoring picture into a foreground-background separator to obtain a monitoring foreground part and a monitoring background part;
[0074] Step S202, performing image text semantic coding on the monitoring foreground part and the monitoring background part respectively to obtain a monitoring foreground content semantic coding feature vector and a monitoring background content semantic coding feature vector;
[0075] Step S203, inputting the monitoring foreground content semantic encoding feature vector and the monitoring background content semantic encoding feature vector into a feature value granularity association mask distinguishable attention fusion module to obtain a monitoring screen foreground content-background content collaborative full semantic representation vector;
[0076] Step S204: determining the recognition result based on the foreground content-background content collaborative full semantic representation vector of the monitoring screen, wherein the recognition result is used to indicate whether an abnormality exists, and determining whether to generate an abnormality warning prompt based on the recognition result.
[0077] Reference below Figure 4 , which shows a schematic diagram of the structure of an electronic device 600 suitable for implementing the embodiment of the present application. The terminal device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 4 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0078] like Figure 4 As shown, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0079] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 4 The electronic device 600 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0080] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of the embodiment of the present application are executed.
[0081] It should be noted that the computer-readable medium mentioned above in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0082] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0083] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0084] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0085] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0086] The modules involved in the embodiments described in this application can be implemented by software or hardware. The name of the module does not limit the module itself in some cases. For example, the test parameter acquisition module can also be described as a "module for acquiring device test parameters corresponding to the target device".
[0087] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0088] In the context of the present application, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0089] Figure 5 FIG. 1 is an application scenario diagram of an intelligent building monitoring system according to an exemplary embodiment. Figure 5 As shown, in this application scenario, first, the monitoring screen collected by the monitoring device is obtained (for example, Figure 5 Then, the acquired monitoring picture is input to a server (for example, Figure 5 In the S) shown in FIG. 1 , the server is capable of processing the monitoring image based on an intelligent building monitoring algorithm to determine the recognition result, wherein the recognition result is used to indicate whether an abnormality exists, and to determine whether to generate an abnormality warning prompt based on the recognition result.
[0090] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in this application (but not limited to) by each other to form a technical solution.
[0091] In addition, although each operation is described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the application. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0092] Although the subject matter has been described in language specific to structural features and / or method logic actions, it should be understood that the subject matter defined is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely exemplary forms of implementation. With respect to the apparatus in the above-mentioned embodiments, the specific manner in which each module performs the operation has been described in detail in the embodiments related to the method, and will not be described in detail here.
Claims
1. An intelligent building monitoring system, comprising: Monitoring terminal, monitoring management platform, monitoring equipment and monitoring equipment network gateway; wherein the monitoring terminal is used to: in response to receiving a signal for displaying a monitoring screen, issue an authentication request; the monitoring management platform receives the authentication request, generates an authentication file based on the authentication request, and then returns the authentication file to the monitoring terminal; in response to the monitoring terminal receiving the authentication file, sends a link request to the monitoring equipment network gateway; in response to successfully creating a monitoring equipment link, sends a monitoring screen acquisition message to the monitoring equipment network gateway and the monitoring equipment based on the monitoring equipment link; acquires the monitoring screen collected by the monitoring equipment, and displays the monitoring screen; the monitoring terminal also includes a monitoring screen processor, which is used to perform abnormal identification on the park based on the monitoring screen to obtain an identification result, and determines whether to generate an abnormal warning prompt based on the identification result; Wherein, the monitoring screen processor includes: A monitoring foreground-background part separation module, used for inputting the monitoring picture into a foreground-background separator to obtain a monitoring foreground part and a monitoring background part; A monitoring foreground and background image text semantic coding module is used to perform image text semantic coding on the monitoring foreground part and the monitoring background part respectively to obtain a monitoring foreground content semantic coding feature vector and a monitoring background content semantic coding feature vector; A monitoring screen foreground content-background content semantic collaborative representation module, used for inputting the monitoring foreground content semantic encoding feature vector and the monitoring background content semantic encoding feature vector into a feature value granularity association mask distinguishable attention fusion module to obtain a monitoring screen foreground content-background content collaborative full semantic representation vector; The abnormal monitoring and warning module is used to determine the recognition result based on the foreground content-background content collaborative full semantic representation vector of the monitoring screen, the recognition result is used to indicate whether an abnormality exists, and determine whether to generate an abnormal warning prompt based on the recognition result.
2. The intelligent building monitoring system according to claim 1, characterized in that: The monitoring before and after background image text semantic encoding module is used to: Inputting the monitoring foreground part and the monitoring background part into an image text semantic descriptor including an image encoder and an image decoder to obtain a monitoring foreground content text description and a monitoring background content text description; The monitoring foreground content text description and the monitoring background content text description are semantically encoded to obtain the monitoring foreground content semantic encoding feature vector and the monitoring background content semantic encoding feature vector.
3. The intelligent building monitoring system according to claim 2, characterized in that: The monitoring screen foreground content-background content semantic collaborative representation module includes: A global eigenvalue association matrix calculation unit, used to calculate the global eigenvalue association matrix between the semantic coding feature vector of the monitoring foreground content and the semantic coding feature vector of the monitoring background content to obtain a global eigenvalue association matrix of the foreground content-background content of the monitoring picture; A gating function calculation unit, used for inputting the monitoring picture foreground content-background content global eigenvalue association matrix into a learnable gating function to obtain a monitoring picture foreground content-background content correlation distinguishable weight matrix; A matrix product calculation unit, used to use the monitoring screen foreground content-background content correlation distinguishable weight matrix as a fusion mask matrix, and respectively calculate the matrix products between the monitoring foreground content semantic coding feature vector and the monitoring background content semantic coding feature vector and the monitoring screen foreground content-background content correlation distinguishable weight matrix to obtain a distinguished enhanced monitoring foreground content semantic coding feature vector and a distinguished enhanced monitoring background content semantic coding feature vector; The vector fusion unit is used to fuse the semantic coding feature vector for distinguishing and strengthening the monitoring foreground content and the semantic coding feature vector for distinguishing and strengthening the monitoring background content to obtain the monitoring screen foreground content-background content collaborative full semantic representation vector.
4. The intelligent building monitoring system according to claim 3, characterized in that: The global eigenvalue association matrix calculation unit is used to calculate the vector multiplication between the transposed vector of the monitoring foreground content semantic coding feature vector and the monitoring background content semantic coding feature vector to obtain the monitoring screen foreground content-background content global eigenvalue association matrix.
5. The intelligent building monitoring system according to claim 4, characterized in that: The gating function calculation unit is used to: Taking the negative number of the eigenvalue of each position in the monitoring screen foreground content-background content global eigenvalue association matrix as the exponential power, calculating the natural exponential function value with the natural constant e as the base to obtain the monitoring screen foreground content-background content global eigenvalue association class support matrix; Calculate the reciprocal of the sum of the eigenvalues of each position in the monitoring picture foreground content-background content global eigenvalue association class support matrix and the constant 1 to obtain the monitoring picture foreground content-background content global eigenvalue association weight matrix; The monitoring picture foreground content-background content global eigenvalue association weight matrix and the monitoring picture foreground content-background content global eigenvalue association matrix are calculated and multiplied by the position points to obtain the monitoring picture foreground content-background content correlation distinguishable weight matrix.
6. The intelligent building monitoring system according to claim 5, characterized in that: The vector fusion unit is used to: cascade the semantic coding feature vector for distinguishing and strengthening the monitoring foreground content and the semantic coding feature vector for distinguishing and strengthening the monitoring background content to obtain the monitoring screen foreground content-background content collaborative full semantic representation vector.
7. The intelligent building monitoring system according to claim 6, characterized in that: The abnormal monitoring and early warning module includes: An abnormality identification unit, used for inputting the monitoring screen foreground content-background content collaborative full semantic representation vector into a classifier-based abnormality identifier to obtain the identification result, and the identification result is used to indicate whether there is an abnormality; The abnormality warning unit is used to generate an abnormality warning prompt in response to the recognition result that there is an abnormality.
8. The intelligent building monitoring system according to claim 7, characterized in that: The abnormality identification unit is used to: Using multiple fully connected layers of the classifier-based anomaly identifier to fully connect encode the monitoring screen foreground content-background content collaborative full semantic representation vector to obtain an encoded classification feature vector; The encoded classification feature vector is passed through the Softmax classification function of the classifier-based anomaly identifier to obtain the identification result.
Citation Information
Patent Citations
Intelligent building monitoring system based on Internet of Things and monitoring method thereof
CN115840399A
Community monitoring semantic description method and system
CN117156107A
