Audio and video integrated management and control platform based on the Internet of Things and big data
By using image processing technology on the cloud platform to eliminate redundant frames based on semantic information differences, the problems of network congestion and high storage costs in traditional audio and video management and control systems are solved, and more efficient data processing and storage utilization are achieved.
Patent Information
- Application Number
- CN202311285652.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-07
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2043-10-07
AI Technical Summary
Traditional audio and video management and control systems cause network congestion and high storage costs when processing multiple audio and video streams, and redundant data takes up a lot of storage space.
Collect surveillance videos through IoT devices and upload them to the cloud platform for compression. Image processing and analysis technology is used to determine whether to eliminate the second frame based on the difference in semantic information between the second frame and the first frame, thereby reducing the amount of data and improving processing efficiency and storage. Utilization.
It effectively reduces the data volume of surveillance videos, improves video quality and storage efficiency, reduces the demand for network and storage resources, and provides more accurate and efficient monitoring services.
Smart Images

Figure CN117221494B
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent management and control, and more specifically, to an integrated audio and video management and control platform based on the Internet of Things and big data. Background Art
[0002] Audio and video control refers to the process of collecting, transmitting, storing and managing audio and video data. With the rapid development of the Internet of Things and big data technology, audio and video monitoring systems have been widely used in various fields such as security monitoring, intelligent transportation, and distance education.
[0003] However, traditional audio and video control systems need to transfer a large amount of audio and video data to a central server or storage device for processing and storage. This places high demands on network bandwidth, especially when processing multiple audio and video streams at the same time, which can easily lead to network congestion and transmission delays. In addition, audio and video data usually need to be stored for a long time for subsequent playback and analysis. However, traditional audio and video control systems require a large number of storage devices to meet data storage needs, which increases storage and maintenance costs.
[0004] Therefore, an optimized audio and video integrated management and control platform is desired. Summary of the invention
[0005] In order to solve the above-mentioned technical problems, the present application is proposed. An embodiment of the present application provides an integrated audio and video management and control platform based on the Internet of Things and big data, which collects monitoring videos through Internet of Things devices and uploads the monitoring videos to a cloud platform, so as to compress the monitoring videos using the cloud platform. During the compression process, image processing and analysis technology is used to determine whether to remove the second frame based on the difference in semantic information between the second frame and the first frame. In this way, the amount of data of the monitoring video can be effectively reduced, the processing efficiency and storage utilization rate of the monitoring video data can be improved, and the demand for network and storage resources can be reduced. At the same time, by evaluating and eliminating the differences in semantic information of the monitoring video, the video quality can be improved and redundant data can be reduced, providing more accurate and efficient monitoring services.
[0006] According to one aspect of the present application, there is provided an integrated audio and video management and control platform based on the Internet of Things and big data, which includes:
[0007] Monitoring data collection module, used to collect monitoring videos through IoT devices;
[0008] A data transmission module, used to upload the surveillance video to the cloud platform;
[0009] A video analysis module, used to analyze the surveillance video on the cloud platform by using big data technology to obtain differential features of semantic information of image frames in the video;
[0010] The image frame elimination module is used to determine a elimination scheme for image frames in the video based on the differential features of the semantic information of the image frames in the video.
[0011] Compared with the prior art, the present application provides an integrated audio and video management and control platform based on the Internet of Things and big data, which collects monitoring videos through Internet of Things devices and uploads the monitoring videos to a cloud platform, so as to use the cloud platform to compress the monitoring videos. During the compression process, image processing and analysis technology is used to determine whether to remove the second frame based on the difference in semantic information between the second frame and the first frame. In this way, the amount of monitoring video data can be effectively reduced, the processing efficiency and storage utilization of monitoring video data can be improved, and the demand for network and storage resources can be reduced. At the same time, by evaluating and eliminating the differences in semantic information of monitoring videos, the video quality can be improved and redundant data can be reduced, providing more accurate and efficient monitoring services. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.
[0013] Figure 1 A block diagram of an integrated audio and video management and control platform based on the Internet of Things and big data according to an embodiment of the present application;
[0014] Figure 2 This is a system architecture diagram of an audio and video integrated management and control platform based on the Internet of Things and big data according to an embodiment of the present application;
[0015] Figure 3 A block diagram of a video analysis module in an audio and video integrated management and control platform based on the Internet of Things and big data according to an embodiment of the present application;
[0016] Figure 4 A block diagram of an image frame semantic information difference unit in an audio and video integrated management and control platform based on the Internet of Things and big data according to an embodiment of the present application;
[0017] Figure 5 It is a block diagram of an image frame removal module in an audio and video integrated management and control platform based on the Internet of Things and big data according to an embodiment of the present application;
[0018] Figure 6 It is a block diagram of a feature distribution optimization unit in an integrated audio and video management and control platform based on the Internet of Things and big data according to an embodiment of the present application. DETAILED DESCRIPTION
[0019] Below, the exemplary embodiments according to the present application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited to the exemplary embodiments described here.
[0020] As shown in this application and claims, unless the context clearly indicates an exception, the words "a", "an", "an" and / or "the" do not refer to the singular and may also include the plural. Generally speaking, the terms "include" and "comprise" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements.
[0021] Although the present application makes various references to certain modules in the system according to the embodiments of the present application, any number of different modules can be used and run on the user terminal and / or server. The modules are only illustrative, and different aspects of the system and method can use different modules.
[0022] Flowcharts are used in the present application to illustrate the operations performed by the system according to the embodiments of the present application. It should be understood that the preceding or following operations are not necessarily performed accurately in order. On the contrary, various steps may be processed in reverse order or simultaneously as required. Meanwhile, other operations may also be added to these processes, or a certain step or several steps of operations may be removed from these processes.
[0023] Below, the exemplary embodiments according to the present application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited to the exemplary embodiments described here.
[0024] Specifically, in the technical solution of the present application, a comprehensive audio and video management and control platform based on the Internet of Things and big data is proposed, wherein the Internet of Things device can collect real-time monitoring video data through devices such as sensors and cameras, and upload it to a cloud platform for processing and storage. The cloud platform provides powerful computing and storage capabilities, and can process and analyze large-scale monitoring video data. At the same time, using the resources of the cloud platform, the monitoring video can be compressed to reduce the bandwidth required for storage and transmission. In particular, considering that in the audio and video management and control system, since the video data in the monitoring scene is usually continuous, there is a high similarity between adjacent frames. However, the current scheme often does not make full use of this similarity, resulting in the storage of a large amount of redundant data and a waste of storage space. Based on this, the technical concept of the present application is to collect monitoring videos through Internet of Things devices, and upload the monitoring videos to the cloud platform, so as to use the cloud platform to compress the monitoring videos. During the compression process, image processing and analysis technology is used to determine whether to remove the second frame based on the difference in semantic information between the second frame and the first frame. In this way, the amount of monitoring video data can be effectively reduced, the processing efficiency and storage utilization of monitoring video data can be improved, and the demand for network and storage resources can be reduced. At the same time, by evaluating and eliminating semantic information differences in surveillance videos, video quality can be improved and redundant data can be reduced, providing more accurate and efficient surveillance services.
[0025] In the technical solution of the present application, an integrated audio and video management and control platform based on the Internet of Things and big data is proposed. Figure 1 It is a block diagram of an integrated audio and video management and control platform based on the Internet of Things and big data according to an embodiment of the present application. Figure 2 FIG. 1 is a system architecture diagram of an audio and video integrated management and control platform based on the Internet of Things and big data according to an embodiment of the present application. Figure 1 and Figure 2 As shown, according to the embodiment of the present application, the audio and video integrated management and control platform 300 based on the Internet of Things and big data includes: a monitoring data acquisition module 310, which is used to collect monitoring videos through Internet of Things devices; a data transmission module 320, which is used to upload the monitoring video to a cloud platform; a video analysis module 330, which is used to analyze the monitoring video on the cloud platform through big data technology to obtain differential features of semantic information of image frames in the video; an image frame removal module 340, which is used to determine a removal scheme for image frames in the video based on the differential features of semantic information of image frames in the video.
[0026] In particular, the monitoring data acquisition module 310 and the data transmission module 320 are used to collect monitoring videos through IoT devices; and upload the monitoring videos to the cloud platform. In particular, in a specific example of the present application, the video data can be collected by using an IoT camera, and the video data can be transmitted to the cloud server through the network.
[0027] Accordingly, in a possible implementation, the following steps may be performed to collect surveillance video through an IoT device; and, the surveillance video may be uploaded to a cloud platform, for example: deploying IoT cameras or other surveillance devices in the surveillance area. These devices should be able to capture surveillance video and convert it into digital signals; connect the IoT device to the Internet, which may be connected via a wired or wireless network. Ensure that the device can communicate with the cloud platform; configure the IoT device, including network settings, video encoding parameters, resolution, etc. Ensure that the device performs video acquisition with appropriate settings; the IoT device starts to collect surveillance video. Video may be generated in the form of a continuous frame sequence; the IoT device encodes the captured video and compresses the video data into a smaller file size for easy transmission and storage; the IoT device uploads the encoded video data to the cloud platform using a network connection. A secure communication protocol, such as HTTPS, may be used to ensure the security of data transmission; the cloud platform receives video data from the IoT device. A cloud storage service or a custom data receiving system may be used to receive and store video data; the cloud platform decodes the received video data and converts it into an image frame sequence; and the decoded image frame sequence is stored in a database or distributed file system of the cloud platform for subsequent analysis and processing.
[0028] In particular, the video analysis module 330 is used to analyze the surveillance video on the cloud platform by using big data technology to obtain the differential features of semantic information of image frames in the video. In particular, in a specific example of the present application, Figure 3 As shown, the video analysis module 330 includes: an image frame extraction unit 331, used to extract adjacent first image frames and second image frames from the surveillance video on the cloud platform; an image frame feature analysis unit 332, used to perform feature extraction on the first image frame and the second image frame by an image feature extractor based on a deep neural network model to obtain a first image semantic feature map and a second image semantic feature map; an image frame semantic information differential unit 333, used to calculate the semantic information differential features between the first image semantic feature map and the second image semantic feature map to obtain the image frame semantic information differential features in the video.
[0029] Specifically, the image frame extraction unit 331 is used to extract adjacent first image frames and second image frames from the surveillance video on the cloud platform. Considering that in the process of video compression and processing, adjacent image frames usually have high similarity, especially in surveillance scenes, the changes between adjacent frames may be very small. Therefore, in the technical solution of the present application, it is necessary to further extract adjacent first image frames and second image frames from the surveillance video on the cloud platform, so as to utilize the difference between them to evaluate the semantic information and degree of change between adjacent image frames, thereby effectively eliminating duplicate semantic image frames.
[0030] Accordingly, in a possible implementation, the following steps may be performed on the cloud platform to extract adjacent first and second image frames from the surveillance video, for example: the cloud platform receives surveillance video data from an IoT device and stores it in an appropriate storage system, such as a cloud storage or a distributed file system. Decode the received surveillance video data and convert it into an image frame sequence. Extract the first frame of image from the image frame sequence. This may be achieved by specifying an index or timestamp of the image frame. Extract the second frame of image from the image frame sequence. The adjacent second frame may be found by specifying an index or timestamp of the second frame, or by traversing the image frame sequence after the first frame.
[0031] Specifically, the image frame feature analysis unit 332 is used to extract features from the first image frame and the second image frame through an image feature extractor based on a deep neural network model to obtain a first image semantic feature map and a second image semantic feature map. In a specific example of the present application, the first image frame and the second image frame are passed through an image semantic feature dual twin encoding module to obtain the first image semantic feature map and the second image semantic feature map. It is worth mentioning that the image semantic feature dual twin encoding module includes a first image encoder and a second image encoder, wherein the first image encoder and the second image encoder have the same network structure. That is, an image encoder with excellent performance in implicit feature extraction of images is used to extract features of the two images. In particular, considering that when the semantic comparison and elimination of image frames are actually performed, in order to further improve the semantic comparison accuracy of the two image frames, in the technical solution of the present application, the first image frame and the second image frame are further passed through an image semantic feature dual twin encoding module including a first image encoder and a second image encoder to obtain a first image semantic feature map and a second image semantic feature map. In particular, here, the first image encoder and the second image encoder have the same network structure. It should be understood that using the image semantic feature dual twin encoding module of the image encoder with the same network structure to perform feature extraction of the first image frame and the second image frame respectively can dig out feature information in which the difference between the two images is not obvious at the image source domain end, so as to perform image semantic difference analysis between the first image frame and the second image frame, and thus determine whether to eliminate the second image frame.
[0032] It is worth mentioning that in other specific examples of the present application, the first image frame and the second image frame can also be feature extracted by an image feature extractor based on a deep neural network model in other ways to obtain a first image semantic feature map and a second image semantic feature map, for example: select an appropriate deep neural network model as an image feature extractor. Common choices include convolutional neural network (CNN) models, such as VGG, ResNet, Inception, etc.; load the selected deep neural network model on the cloud platform. Make sure that the weights and parameters of the model have been trained and saved; preprocess the first image frame and the second image frame to adapt them to the input requirements of the deep neural network model. This usually includes adjusting the image size, normalizing pixel values, color space conversion, etc.; use the loaded deep neural network model to forward propagate the first image frame to extract the semantic features of the image. This can be achieved by obtaining the output of a layer of the network model or using methods such as global average pooling; convert the extracted image semantic features into a visual image representation, that is, the first image semantic feature map. The importance and distribution of features can be represented by heat maps, color coding, etc. Repeat steps 3 to 5 to perform the same feature extraction and second image semantic feature map generation on the second image frame; store the obtained first image semantic feature map and second image semantic feature map in the database or distributed file system of the cloud platform for subsequent analysis and processing.
[0033] Specifically, the image frame semantic information difference unit 333 is used to calculate the semantic information difference feature between the first image semantic feature map and the second image semantic feature map to obtain the image frame semantic information difference feature in the video. In particular, in a specific example of the present application, Figure 4 As shown, the image frame semantic information differential unit 333 includes: an image frame semantic feature differential subunit 3331, used to calculate a semantic information differential feature map between the first image semantic feature map and the second image semantic feature map; a channel content explicit subunit 3332, used to pass the semantic information differential feature map through a channel attention layer to obtain a channel explicit semantic information differential feature map as the image frame semantic information differential feature in the video.
[0034] More specifically, the image frame semantic feature differential subunit 3331 is used to calculate the semantic information differential feature map between the first image semantic feature map and the second image semantic feature map. That is, the semantic information differential feature map between the first image semantic feature map and the second image semantic feature map is calculated. In particular, here, the feature value of each position in the differential feature map represents the degree of difference in semantic information between the two images at the corresponding position. By calculating the semantic information differential feature map, the semantic information difference between the two frames can be more accurately evaluated and used for subsequent decision-making and processing. This helps to eliminate redundant image frames, reduce the amount of data stored and transmitted, and improve the efficiency and performance of the system.
[0035] More specifically, the channel content explicitation subunit 3332 is used to pass the semantic information differential feature map through the channel attention layer to obtain a channel explicit semantic information differential feature map as the semantic information differential feature of the image frame in the video. It should be understood that in the technical solution of the present application, in order to more accurately emphasize the importance between different channels and improve the sensitivity to the difference in semantic information, in the technical solution of the present application, the semantic information differential feature map is further passed through the channel attention layer to obtain a channel explicit semantic information differential feature map. It should be understood that through the channel attention layer, weights can be assigned according to the degree of difference in semantic information of each channel. Specifically, a higher weight indicates that the channel contributes more to the difference in semantic information, while a lower weight indicates that the channel contributes less to the difference in semantic information. By adjusting the weight of the channel, the channel explicit semantic information differential feature map can be made to more prominently and accurately reflect the difference in semantic information. Specifically, global mean pooling is performed on each feature matrix along the channel dimension of the semantic information differential feature map to obtain a channel feature vector; the channel feature vector is input into a Softmax activation function to obtain a channel attention weight vector; and each feature matrix along the channel dimension of the semantic information differential feature map is weighted using the eigenvalues of each position in the channel attention weight vector as weights to obtain the channel-explicit semantic information differential feature map.
[0036] It is worth noting that channel attention is an attention mechanism used to enhance the relationship between channels in deep neural network models. In computer vision tasks, channel attention can help the network model automatically learn and pay attention to the importance of different channels in the input feature map, thereby improving the quality and expressiveness of feature representation. In the channel attention mechanism, a global pooling operation (such as global average pooling or global maximum pooling) is usually used to reduce the dimension of the feature map of each channel to obtain a global description. Then, through one or more fully connected layers or convolutional layers, the global description is mapped to a channel attention weight vector. This weight vector represents the importance or weight of each channel. When applying channel attention, the channel attention weight vector is multiplied by the original feature map to weight the features of each channel. In this way, the network can automatically learn the importance of each channel and pay more attention to important channels in subsequent feature processing. By introducing channel attention, the network can adaptively select and emphasize the most relevant and useful channel information in the input feature map, thereby improving the discriminative ability and expressiveness of the features. Channel attention can be applied to various computer vision tasks, such as image classification, object detection, semantic segmentation, etc., to improve the performance and accuracy of the model.
[0037] It is worth mentioning that in other specific examples of the present application, the semantic information differential features between the first image semantic feature map and the second image semantic feature map can also be calculated in other ways to obtain the semantic information differential features of the image frame in the video, for example: obtain the first frame image and the second frame image in the video; use the trained deep neural network (such as ResNet, VGG, etc.) to take the first image and the second image as input, and extract their semantic feature maps. These feature maps contain semantic information at different levels in the image; apply the channel attention mechanism to the semantic feature map of the first image and the semantic feature map of the second image respectively to obtain the weighted feature map. The channel attention module can calculate the channel weight according to the channel dimension of the feature map, and apply the weight to the feature map on each channel; perform differential calculation on the first image semantic feature map and the second image semantic feature map after the channel attention weighting to obtain the difference feature between them. The difference feature can be calculated using the element-by-element subtraction operation; according to the result of the differential calculation, the semantic information differential feature of the image frame is generated. The difference feature can be used as a new feature representation of the image frame; the semantic information differential features of multiple image frames in the video are aggregated to obtain a more global and comprehensive image frame semantic information differential feature. Average pooling, maximum pooling or other aggregation methods can be used to merge the features of multiple frames; the obtained image frame semantic information differential features are stored in the database or distributed file system of the cloud platform for subsequent analysis and application.
[0038] It is worth mentioning that in other specific examples of the present application, the monitoring video can also be analyzed on the cloud platform by big data technology in other ways to obtain the differential features of semantic information of image frames in the video, for example: the cloud platform receives monitoring video data from IoT devices and stores it in an appropriate storage system, such as cloud storage or distributed file system; decodes the received monitoring video data and converts it into a sequence of image frames; applies computer vision algorithms to each image frame to extract semantic information features in the image. These features may include the position, size, color, texture, etc. of the target object; performs differential calculations on the features of adjacent image frames to obtain differential features between image frames. This can be achieved by comparing the Euclidean distance between feature vectors or using other similarity measurement methods; aggregates differential features into video-level feature representations. Clustering algorithms, time series analysis or other methods can be used to aggregate features; stores the obtained differential features of semantic information of video frames in the database or distributed file system of the cloud platform for subsequent query and analysis; uses big data analysis technology to analyze the stored feature data. Machine learning, deep learning and other methods can be applied to mine patterns, anomalies or other valuable information in video data; and the analysis results are visualized and displayed to users or other systems. The analysis results of video data can be displayed using charts, reports, real-time monitoring interfaces, etc.
[0039] In particular, the image frame removal module 340 is used to determine a removal scheme for image frames in the video based on the difference features of the semantic information of the image frames in the video. In particular, in a specific example of the present application, Figure 5 As shown, the image frame elimination module 340 includes: a feature distribution optimization unit 341, used to perform feature optimization on the channel explicit semantic information differential feature map to obtain an optimized channel explicit semantic information differential feature map; an image frame semantic difference detection unit 342, used to pass the optimized channel explicit semantic information differential feature map through a classifier to obtain a classification result, and the classification result is used to indicate whether the semantic information difference between the first image frame and the second image frame is less than a predetermined threshold; an image frame elimination judgment unit 343, used to eliminate the second image frame in response to the classification result that the semantic information difference between the first image frame and the second image frame is less than a predetermined threshold.
[0040] Specifically, the feature distribution optimization unit 341 is used to optimize the features of the channel explicit semantic information differential feature map to obtain an optimized channel explicit semantic information differential feature map. In particular, in a specific example of the present application, Figure 6As shown, the feature distribution optimization unit 341 includes: a dimensionality reduction subunit 3411, which is used to perform mean pooling of each feature matrix along the channel dimension on the first image semantic feature map and the second image semantic feature map to obtain a first image semantic channel feature vector and a second image semantic channel feature vector; a loss self-supervised balancing subunit 3412, which is used to perform loss self-supervised balancing for the purpose of feature interpolation fusion on the first image semantic channel feature vector and the second image semantic channel feature vector to obtain a channel correction feature vector; a weighted optimization subunit 3413, which is used to perform channel weighting on the channel explicit semantic information differential feature map with the channel correction feature vector to obtain the optimized channel explicit semantic information differential feature map.
[0041] More specifically, the dimension reduction subunit 3411 is used to perform mean pooling of each feature matrix along the channel dimension on the first image semantic feature map and the second image semantic feature map to obtain a first image semantic channel feature vector and a second image semantic channel feature vector. It should be understood that through the mean pooling operation, the values of each feature matrix along the channel dimension are averaged to obtain a feature vector. This feature vector can be regarded as an overall representation of the feature matrix in the channel dimension. By performing mean pooling on all feature matrices, the semantic channel feature vectors of the first image and the second image can be obtained, and the semantic features of the image can be represented in a compact vector form.
[0042] More specifically, the loss self-supervised balancing subunit 3412 is used for self-supervised balancing the loss for the purpose of feature interpolation fusion of the first image semantic channel feature vector and the second image semantic channel feature vector to obtain a channel correction feature vector. In particular, in the technical solution of the present application, the first image semantic feature map and the second image semantic feature map are used to express the image semantic features of the first image frame and the second image frame, respectively, and when the semantic information differential feature map obtained by calculating the position-by-position difference between the first image semantic feature map and the second image semantic feature map is passed through the channel attention layer to obtain the channel explicit semantic information differential feature map, it is considered that the expression imbalance between the first image semantic feature map and the second image semantic feature map in the channel dimension may affect the expression effect of the channel explicit semantic information differential feature map, thereby affecting the accuracy of the classification result obtained by the classifier of the channel explicit semantic information differential feature map. Based on this, preferably, the applicant of the present application first performs mean pooling of each feature matrix along the channel dimension on the first image semantic feature map and the second image semantic feature map to obtain a first image semantic channel feature vector, for example, denoted as V1 and a second image semantic channel feature vector, for example, denoted as V2, and then performs feature interpolation fusion of the first image semantic channel feature vector V1 and the second image semantic channel feature vector V2 on the purpose of loss self-supervision balancing to obtain a channel correction feature vector, for example, denoted as V c :
[0043]
[0044] in and Respectively represent the inverse of the global mean of the first image semantic channel feature vector V1 and the second image semantic channel feature vector V2, and I is a unit vector. That is, taking into account the semantic differential attention in the channel dimension based on the distribution of image semantic features, if one of the first image semantic channel feature vector V1 and the second image semantic channel feature vector V2 in the channel dimension is used as the strong feature channel dimension enhancement input of the other, the target distribution information of the other target feature of the first image semantic channel feature vector V1 and the second image semantic channel feature vector V2 in the class space may be lost, resulting in the loss of class regression purpose. Therefore, by cross-penalizing the outlier distribution of the feature distribution relative to each other, a self-supervised balance of feature enhancement and regression robustness can be achieved during feature interpolation fusion to improve the channel equalization effect of the first image semantic channel feature vector V1 and the second image semantic channel feature vector V2. In this way, the channel correction feature vector V cBy performing channel weighting on the channel explicit semantic information differential feature map, the expression effect based on channel equalization of the channel explicit semantic information differential feature map can be improved, so as to improve the accuracy of the classification result obtained by the classifier. In this way, it is possible to determine whether to remove the second frame based on the semantic information difference between the second frame and the first frame in the surveillance video. In this way, the data volume of the surveillance video can be effectively reduced, the processing efficiency and storage utilization of the surveillance video data can be improved, and the demand for network and storage resources can be reduced. At the same time, by evaluating and eliminating the semantic information difference of the surveillance video, the video quality can be improved and redundant data can be reduced, providing more accurate and efficient monitoring services.
[0045] More specifically, the weighted optimization subunit 3413 is used to perform channel weighting on the channel explicit semantic information differential feature map with the channel correction feature vector to obtain the optimized channel explicit semantic information differential feature map. It should be understood that the channel correction feature vector can be used to perform channel weighting on the channel explicit semantic information differential feature map. By adjusting the channel weights in the feature vector, the representation ability of important channels in the feature map can be enhanced. This can improve the sensitivity of the feature map to the target or key information, so that the optimized channel explicit semantic information differential feature map can more prominently and accurately express the semantic information of the image.
[0046] It is worth mentioning that in other specific examples of the present application, the channel explicit semantic information differential feature map can also be feature optimized in other ways to obtain an optimized channel explicit semantic information differential feature map, for example: obtaining a semantic information differential feature map of an image frame; designing a channel attention module for calculating the channel attention weight of the feature map; using the channel attention weight to perform a weighted operation on the channel dimension of the feature map to obtain a weighted feature map. The weighted feature map will highlight the features of important channels and improve the quality and expressiveness of feature representation; the optimized channel explicit semantic information differential feature map is visualized using feature explicitation technology. Feature explicitation can improve the interpretability and expressiveness of features by emphasizing important areas or specific channels in the feature map; according to application requirements, the optimized channel explicit semantic information differential feature map can be further feature enhanced. For example, filters, enhancement algorithms or other image processing techniques can be applied to enhance details or reduce noise in the feature map; the optimized channel explicit semantic information differential feature map is stored in a database or distributed file system of a cloud platform for subsequent analysis and application.
[0047] Specifically, the image frame semantic difference detection unit 342 and the image frame elimination judgment unit 343 are used to pass the optimized channel explicit semantic information differential feature map through a classifier to obtain a classification result, and the classification result is used to indicate whether the semantic information difference between the first image frame and the second image frame is less than a predetermined threshold; and, in response to the classification result that the semantic information difference between the first image frame and the second image frame is less than a predetermined threshold, eliminate the second image frame. In the technical solution of the present application, the channel explicit semantic information differential feature map is passed through a classifier to obtain a classification result, and the classification result is used to indicate whether the semantic information difference between the first image frame and the second image frame is less than a predetermined threshold. That is, the image frame semantic difference feature distribution information between the first image frame and the second image frame after the channel content enhancement is used to perform classification processing, so as to judge between the semantic difference between the two image frames and the threshold. More specifically, the optimized channel explicit semantic information differential feature map is expanded into a classification feature vector based on a row vector or a column vector; the classification feature vector is fully connected encoded using multiple fully connected layers of the classifier to obtain an encoded classification feature vector; and the encoded classification feature vector is passed through the Softmax classification function of the classifier to obtain the classification result. In particular, in response to the classification result that the difference in semantic information between the first image frame and the second image frame is less than a predetermined threshold, the second image frame is eliminated. In this way, the amount of surveillance video data can be effectively reduced, the processing efficiency and storage utilization of surveillance video data can be improved, and the demand for network and storage resources can be reduced.
[0048] A classifier is a machine learning model or algorithm that is used to classify input data into different categories or labels. Classifiers are part of supervised learning and perform classification tasks by learning the mapping relationship from input data to output categories.
[0049] A fully connected layer is a common type of layer in neural networks. In a fully connected layer, each neuron is connected to all neurons in the previous layer, and each connection has a weight. This means that each neuron in the fully connected layer receives inputs from all neurons in the previous layer, and performs a weighted sum of these inputs through the weights, and then passes the result to the next layer.
[0050] The Softmax classification function is a commonly used activation function for multi-classification problems. It converts each element of the input vector into a probability value between 0 and 1, and the sum of these probability values is equal to 1. The Softmax function is often used in the output layer of a neural network, especially for multi-classification problems, because it can map the network output to the probability distribution of each category. During the training process, the output of the Softmax function can be used to calculate the loss function and update the network parameters through the back propagation algorithm. It is worth noting that the output of the Softmax function does not change the relative size relationship between the elements, but only normalizes them. Therefore, the Softmax function does not change the characteristics of the input vector, but only converts it into a probability distribution form.
[0051] It is worth mentioning that in other specific examples of the present application, the elimination scheme of the image frames in the video can also be determined based on the semantic information differential features of the image frames in the video by other methods, for example: for each image frame in the video, extract its semantic information differential features; for adjacent image frames, calculate the difference in semantic information differential features between them. Various distance measurement methods, such as Euclidean distance, cosine similarity, etc., can be used to measure the degree of difference between features; according to the needs and scenarios of the application, a threshold is set to determine whether the difference between the image frames exceeds the acceptable range. The selection of the threshold can be based on experience or through experimental tuning; for the image frame difference exceeding the threshold, it is marked as a frame to be eliminated. A binary marking vector or other methods can be used to record which frames need to be eliminated; according to the marking results, a specific elimination strategy is formulated. You can choose to directly delete the image frames marked for elimination, or fill the eliminated frames by interpolation or other techniques; according to the formulated elimination strategy, the image frames in the video are operated accordingly to perform the elimination of the image frames; according to the eliminated image frames, the eliminated video is regenerated. This step can be completed using video editing tools or programming methods.
[0052] As described above, the audio and video integrated control platform 300 based on the Internet of Things and big data according to the embodiment of the present application can be implemented in various wireless terminals, such as a server with an audio and video integrated control algorithm based on the Internet of Things and big data. In a possible implementation, the audio and video integrated control platform 300 based on the Internet of Things and big data according to the embodiment of the present application can be integrated into the wireless terminal as a software module and / or a hardware module. For example, the audio and video integrated control platform 300 based on the Internet of Things and big data can be a software module in the operating system of the wireless terminal, or it can be an application developed for the wireless terminal; of course, the audio and video integrated control platform 300 based on the Internet of Things and big data can also be one of the many hardware modules of the wireless terminal.
[0053] Alternatively, in another example, the audio and video integrated management and control platform 300 based on the Internet of Things and big data and the wireless terminal may also be separate devices, and the audio and video integrated management and control platform 300 based on the Internet of Things and big data may be connected to the wireless terminal via a wired and / or wireless network, and transmit interactive information in accordance with an agreed data format.
[0054] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. An integrated audio and video management and control platform based on the Internet of Things and big data, characterized in that: include: Monitoring data collection module, used to collect monitoring videos through IoT devices; A data transmission module, used for uploading the surveillance video to a cloud platform; A video analysis module, used for analyzing the surveillance video on the cloud platform by using big data technology to obtain a channel explicit semantic information differential feature map as a semantic information differential feature of an image frame in the video; An image frame elimination module, used for determining a elimination scheme of image frames in a video based on differential features of semantic information of image frames in the video; Wherein, the image frame removal module includes: A feature distribution optimization unit, used for performing feature optimization on the channel explicit semantic information differential feature map to obtain an optimized channel explicit semantic information differential feature map; An image frame semantic difference detection unit, used for passing the optimized channel explicit semantic information difference feature map through a classifier to obtain a classification result, wherein the classification result is used to indicate whether the semantic information difference between the first image frame and the second image frame is less than a predetermined threshold; an image frame elimination judgment unit, configured to eliminate the second image frame in response to the classification result being that the difference in semantic information between the first image frame and the second image frame is less than a predetermined threshold; Wherein, the feature distribution optimization unit comprises: A dimensionality reduction subunit, used for performing mean pooling of each feature matrix along the channel dimension on the first image semantic feature map and the second image semantic feature map to obtain a first image semantic channel feature vector and a second image semantic channel feature vector; A loss self-supervised balancing subunit, configured to perform a feature interpolation fusion loss self-supervised balancing on the first image semantic channel feature vector and the second image semantic channel feature vector to obtain a channel correction feature vector; A weighted optimization subunit, configured to perform channel weighting on the channel explicit semantic information differential feature map using the channel correction feature vector to obtain the optimized channel explicit semantic information differential feature map; The loss self-supervised balancing subunit includes: performing feature interpolation fusion of the first image semantic channel feature vector and the second image semantic channel feature vector to obtain a channel correction feature vector by self-supervised balancing according to the following formula; wherein the formula is: Wherein, V1 represents the first image semantic channel feature vector, V2 represents the second image semantic channel feature vector, and denotes the inverse of the global mean of the first image semantic channel feature vector V1 and the second image semantic channel feature vector V2, respectively, and I is a unit vector, V c represents the channel-corrected feature vector.
2. The audio and video integrated management and control platform based on the Internet of Things and big data according to claim 1 is characterized in that: The video analysis module comprises: An image frame extraction unit, configured to extract adjacent first and second image frames from the surveillance video on the cloud platform; An image frame feature analysis unit, configured to extract features from the first image frame and the second image frame by using an image feature extractor based on a deep neural network model to obtain a first image semantic feature map and a second image semantic feature map; The image frame semantic information differential unit is used to calculate the semantic information differential features between the first image semantic feature map and the second image semantic feature map to obtain the image frame semantic information differential features in the video.
3. The audio and video integrated management and control platform based on the Internet of Things and big data according to claim 2 is characterized in that: The image frame feature analysis unit is used to: pass the first image frame and the second image frame through an image semantic feature dual twin encoding module to obtain the first image semantic feature map and the second image semantic feature map.
4. The audio and video integrated management and control platform based on the Internet of Things and big data according to claim 3 is characterized in that: The image semantic feature dual twin encoding module includes a first image encoder and a second image encoder, wherein the first image encoder and the second image encoder have the same network structure.
5. The audio and video integrated management and control platform based on the Internet of Things and big data according to claim 4 is characterized in that: The image frame semantic information difference unit comprises: An image frame semantic feature difference subunit, used for calculating a semantic information difference feature map between the first image semantic feature map and the second image semantic feature map; The channel content explicitation subunit is used to pass the semantic information differential feature map through the channel attention layer to obtain a channel explicit semantic information differential feature map as the semantic information differential feature of the image frame in the video.
6. The audio and video integrated management and control platform based on the Internet of Things and big data according to claim 5 is characterized in that: The image frame semantic difference detection unit comprises: An expansion subunit, used for expanding the optimized channel explicit semantic information differential feature map into a classification feature vector based on a row vector or a column vector; a fully connected encoding subunit, configured to perform fully connected encoding on the classification feature vector using a plurality of fully connected layers of the classifier to obtain an encoded classification feature vector; and The classification result generating subunit is used to pass the encoded classification feature vector through the Softmax classification function of the classifier to obtain the classification result.
