Screen anomaly detection system based on image recognition
Through the screen anomaly detection system based on image recognition, the screen is captured and analyzed in real time, an anomaly comparison model is established, and combined with multi-modal sensing data, the problem of reduced screen anomaly detection performance in the existing technology is solved, and a rapid Responsive and highly accurate anomaly detection.
Patent Information
- Application Number
- CN202411150521.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-08-21
AI Technical Summary
The screen image anomaly detection performance in the existing technology has poor adaptability when screen content changes or usage scenarios change, and it is difficult to meet the needs of modern highly dynamic and complex screen content.
A screen anomaly detection system based on image recognition is adopted, including a real-time capture module, anomaly comparison module, a key area identification module and an anomaly verification module. By capturing the screen in real time, extracting features, establishing an anomaly comparison model, identifying key areas, and performing Anomaly verification and early warning, combined with multi-modal sensing data for adaptive threshold adjustment.
It improves the speed and accuracy of screen anomaly detection, enhances the adaptability to different screen images and usage scenarios, reduces false positives and false negatives, and ensures the flexibility and reliability of anomaly detection.
Smart Images

Figure CN118657783B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field related to image recognition processing, and in particular to a screen image anomaly detection system based on image recognition. Background Art
[0002] With the advent of the digital age, screens, as an important medium for human-computer interaction, play an increasingly important role in various application scenarios. Whether it is a smartphone, tablet or various smart terminal devices, the stability and reliability of the screen directly affect the user experience and the overall performance of the system. Therefore, abnormal detection of screen images becomes crucial. Conventional screen abnormality detection methods often rely on simple rule checks, which are inefficient and difficult to meet the needs of modern high-dynamic and high-complexity screen content. When the screen content changes or the usage scenario changes, there are still problems such as freezing, third-party application stuck dialog boxes, and stuck loading pages.
[0003] In summary, the prior art has the problem that it is optimized only for specific types of application scenarios, and when the screen content changes or the usage scenario changes, the screen image anomaly detection performance will decrease, resulting in poor adaptability. Summary of the invention
[0004] The present application provides a screen image anomaly detection system based on image recognition, aiming to solve the technical problem that the prior art is only optimized for specific types of application scenarios, and when the screen content changes or the usage scenario changes, the screen image anomaly detection performance will decrease and the adaptability is poor.
[0005] In view of the above problems, the technical solution to implement this application is:
[0006] The present application provides a screen image anomaly detection system based on image recognition, which includes: a real-time capture module, which is used to capture the screen image of the target screen in real time and convert it into a digital image, obtain pre-processed screen image information, and perform feature extraction to identify key element indicators and screen layout structure;
[0007] An abnormality comparison module is used to use the screen layout structure as a basic framework, connect the screen image feature library corresponding to the normal screen image, compare it with the key element index, and establish a screen image abnormality comparison model;
[0008] A key area identification module, which is used for the abnormal features corresponding to the screen image abnormality comparison model, including missing elements, element misalignment, and color abnormality. The screen image abnormality comparison model includes a key area identification network layer, which focuses on the key areas in the preprocessed screen image information. The key area identification network layer is connected to the variational autoencoder abnormality analysis channel and the spatiotemporal feature abnormality analysis channel;
[0009] An abnormality verification module is used to connect to the target screen, perform interactive abnormality verification of the screen image by comparing the screen image abnormality comparison model with the video frame rate, and perform abnormality propagation analysis to extract abnormality propagation characteristics;
[0010] The abnormality judgment and early warning module is used to implement an adaptive threshold adjustment strategy based on the abnormal propagation characteristics and fuse multi-modal sensor data to perform abnormality judgment and early warning of the target screen.
[0011] In summary, one or more technical solutions provided in the present application solve the technical problem that the screen image anomaly detection performance will decrease and the adaptability is poor when the screen content changes or the usage scenario changes, because the application is optimized only for a specific type of application scenario. The technical solution achieves the technical effect of improving the speed of anomaly detection by capturing the screen image in real time and quickly performing digital processing, focusing on important areas, and ensuring the accuracy of anomaly detection, and performing interactive anomaly verification according to the screen usage scenarios corresponding to different screen images, automatically adjusting anomaly detection parameters, improving the flexibility of anomaly judgment, and enhancing the adaptability of screen image anomaly detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 A structural schematic diagram of a screen image anomaly detection system based on image recognition is provided for this application;
[0013] Figure 2 A schematic flow chart of the execution steps of abnormality analysis of a key area identification module in a screen abnormality detection system based on image recognition is provided for this application.
[0014] Explanation of reference numerals: real-time capture module M100, abnormality comparison module M200, key area identification module M300, abnormality verification module M400, abnormality judgment and warning module M500. DETAILED DESCRIPTION Example
[0015] The present application is described in detail below in conjunction with the accompanying drawings. Figure 1 As shown, the present application provides a screen image anomaly detection system based on image recognition, which includes:
[0016] The real-time capture module M100 is used to capture the screen image of the target screen in real time and convert it into a digital image, obtain the pre-processed screen image information, and perform feature extraction to identify key element indicators and screen layout structure.
[0017] Using advanced image capture technology, the display content on the target screen is acquired in real time. Since the digital image format is more suitable for subsequent feature extraction and analysis, it is converted into a digital image format for subsequent analysis and processing. After the digital image is acquired, a series of preprocessing operations are performed. The preprocessing steps include but are not limited to image denoising, brightness / contrast adjustment, and color correction, aiming to improve image quality.
[0018] After preprocessing is completed, feature extraction will be performed to identify and extract key element indicators in the screen image, such as specific icons, text, buttons, etc., and analyze the layout structure of the screen, such as the arrangement of elements, spatial distribution, etc. Key element indicators and screen layout structure are crucial for the subsequent establishment of a screen image anomaly comparison model, because key element indicators and screen layout structure constitute the basic framework and reference system for comparison. Through a series of steps such as real-time capture, preprocessing, and feature extraction, the display content of the target screen can be accurately obtained and analyzed, providing a solid foundation for subsequent screen image anomaly detection.
[0019] The anomaly comparison module M200 is used to use the screen layout structure as a basic framework, connect the screen image feature library corresponding to the normal screen image, compare it with the key element indicators, and establish a screen image anomaly comparison model; the key area identification module M300 is used for the abnormal features corresponding to the screen image anomaly comparison model, including element missing, element misalignment, and color abnormality. The screen image anomaly comparison model includes a key area identification network layer, and the key area identification network layer focuses on the key areas in the preprocessed screen image information. The key area identification network layer is connected to the variational autoencoder anomaly analysis channel and the spatiotemporal feature anomaly analysis channel.
[0020] After obtaining the pre-processed screen information, performing feature extraction, identifying the key element indicators and screen layout structure, and using this as the basic framework, further connect the screen image feature library corresponding to the normal screen image; through detailed comparison with the normal image in the screen image feature library, it is possible to accurately establish a screen image abnormality comparison model, which is used to identify a variety of abnormal features, including but not limited to missing elements, element misalignment, and color abnormalities. The abnormal features may have a significant impact on the user experience and screen continuity, so it is crucial to detect abnormal features in a timely and accurate manner.
[0021] In order to more effectively identify and process abnormal features, the screen image abnormality comparison model specially designs a key area recognition network layer. The key area recognition network layer focuses on the key areas in the preprocessed screen image information. The key areas in the screen image information are usually the parts where users interact most frequently and display the most important information. By focusing on the key areas in the screen image information, potential anomalies can be captured more accurately and the accuracy of anomaly detection can be improved.
[0022] In addition, the key area identification network layer is also closely connected with the variational autoencoder anomaly analysis channel and the spatiotemporal feature anomaly analysis channel. The variational autoencoder anomaly analysis channel and the spatiotemporal feature anomaly analysis channel use advanced variational autoencoder technology and spatiotemporal feature analysis technology to conduct more in-depth anomaly analysis of key areas. This multi-dimensional analysis method can significantly improve the model's ability and accuracy in detecting screen anomalies.
[0023] The anomaly verification module M400 is used to connect to the target screen, perform interactive anomaly verification of the screen image against the video frame rate through the screen image anomaly comparison model, and perform anomaly propagation analysis to extract anomaly propagation characteristics.
[0024] By connecting to the target screen, the displayed image content can be obtained in real time. By using the screen image anomaly comparison model, in-depth anomaly detection can be performed on these real-time images. During the detection process, special attention is paid to the key parameter of video frame rate to ensure the accuracy and real-time nature of anomaly verification. By comparing the video frame rate, the screen image anomaly comparison model can interactively analyze the screen image frame by frame, so as to promptly discover and verify anomalies.
[0025] At the same time, the screen anomaly detection system also has powerful anomaly propagation analysis capabilities. Once an anomaly is detected on the screen, it will immediately track and analyze it to extract the propagation characteristics of the anomaly on the screen. The anomaly propagation characteristics include the propagation speed, propagation path, and spatial distribution of the abnormal area and other key information. By deeply analyzing the anomaly propagation characteristics, it can more comprehensively understand the abnormal behavior patterns and provide strong support for subsequent abnormal warning and processing.
[0026] Through the above steps, the target screen is connected, and the screen image anomaly comparison model is used to perform interactive anomaly verification. Combined with the anomaly propagation analysis technology, it is possible to detect and track anomalies in the screen image in real time and accurately, providing users with timely and effective anomaly warnings and processing solutions.
[0027] The abnormality judgment and early warning module M500 is used to implement an adaptive threshold adjustment strategy based on the abnormal propagation characteristics, and fuse multi-modal sensor data to perform abnormality judgment and early warning of the target screen.
[0028] Based on the abnormal propagation characteristics, an adaptive threshold adjustment strategy is implemented. The core idea of the adaptive threshold adjustment strategy is to dynamically adjust the threshold of abnormal detection according to the characteristics of the abnormal propagation speed, path and spatial distribution. In this way, abnormal phenomena in the screen image can be captured more accurately to meet the needs of screen image abnormality detection in different time periods and different usage scenarios, while reducing the probability of false alarms and missed alarms. In order to further improve the accuracy and reliability of abnormal judgment, multimodal sensor data is also integrated for abnormal judgment and early warning. In addition to the screen image information, other sensor data related to the screen status is also considered, such as temperature, humidity, vibration, etc., which reflect the status of the screen from different angles and provide a more comprehensive basis for abnormal judgment.
[0029] By integrating multimodal sensor data and combining it with an adaptive threshold adjustment strategy, a more comprehensive and accurate abnormal judgment and warning of the target screen can be achieved. Once an abnormality is detected, a warning signal will be immediately issued to remind users or managers to deal with it in time, thereby effectively avoiding potential risks.
[0030] Furthermore, the screen image anomaly comparison model is used to perform interactive anomaly verification of the screen image against the video frame rate, and the anomaly verification module M400 is further used to execute the following method:
[0031] The first UI element set corresponding to the key element indicators includes text elements, icon elements, and button elements on the screen; the second UI element set corresponding to the screen layout structure includes size elements, position elements, color elements, and transparency elements of the screen; based on the first UI element set and the second UI element set, the screen transition key frames under the video frame rate limit are captured, and the image front-end filtering channel of the screen anomaly comparison model is activated.
[0032] Define two key UI element sets to fully describe the content and layout of the screen. The first UI element set focuses on specific elements on the screen, including text elements, icon elements, and button elements. They are the main objects of user interaction and the basis for the implementation of screen functions. The second UI element set focuses on the overall layout and structure of the screen, including size elements, position elements, color elements, and transparency elements. The first UI element set and the second UI element set together constitute the visual framework of the screen, which has a crucial impact on the user experience.
[0033] Based on the first UI element set and the second UI element set, the screen transition key frames under the video frame rate limit are captured more accurately. The screen transition key frames are important nodes of screen changes and key points of anomaly detection. By capturing the screen transition key frames, the dynamic changes of the screen can be analyzed more effectively, so as to timely discover potential anomalies. Once the screen transition key frames are captured, the image front-end filtering channel of the screen anomaly comparison model is immediately activated. The image front-end filtering channel will pre-process and extract features of the screen transition key frames for comparison with the normal screen. Through comparison, it is possible to quickly and accurately determine whether there is an abnormality in the screen and issue a warning signal in a timely manner.
[0034] Furthermore, if Figure 2 As shown, the key area identification module M300 is also used to execute the following method:
[0035] The variational autoencoder anomaly analysis channel is used to learn the latent space distribution of the normal screen image, and determine whether it is abnormal by evaluating the probability density of the input image in the latent space; the variational autoencoder anomaly analysis channel is used to make an anomaly decision to determine a first potential anomaly area, and the first potential anomaly area uses a sliding window mechanism to assist the interactive anomaly verification.
[0036] The main task of the variational autoencoder anomaly analysis channel is to learn the latent space distribution of normal screen images, which reflects the inherent laws and patterns of normal images in the feature space. By learning the latent space distribution of normal screen images, an accurate normal image model can be established to provide a benchmark for subsequent anomaly detection. In practical applications, when a new screen image is input, the variational autoencoder anomaly analysis channel will evaluate the probability density of this image in the latent space: if the probability density is low, it means that this image is significantly different from the normal image model, so it is likely to be an abnormal image. In this way, it can effectively determine whether the screen image is abnormal.
[0037] In order to further determine the specific location of the anomaly, a sliding window mechanism is used to assist interactive anomaly verification. Specifically, a sliding window is set on the screen and gradually moved to cover the entire screen. At each window position, the variational autoencoder anomaly analysis channel is used to perform anomaly detection, thereby determining the first potential anomaly area, which is the focus of subsequent anomaly processing and analysis. The variational autoencoder anomaly analysis channel achieves anomaly detection by learning the latent spatial distribution of the normal screen and evaluating the probability density of the input image. The sliding window mechanism further helps determine the specific location of the anomaly, providing strong support for subsequent anomaly verification and processing.
[0038] Furthermore, by evaluating the probability density of the input picture in the latent space to determine whether it is abnormal, the abnormality verification module M400 is also used to perform the following method:
[0039] The screen image is reconstructed using a variational autoencoder, and a probability model is applied to evaluate the similarity between the screen image and the normal screen image in the screen image feature library; the optimal threshold interval is determined through K-fold cross-validation, and the upper and lower limits of the optimal threshold interval are adaptively adjusted to adapt to different screen contents; the conditional random field is used, combined with the screen image transition key frame of the previous node, to adjust the upper and lower limits of the optimal threshold interval again to obtain the abnormality judgment threshold interval.
[0040] In order to more deeply analyze the abnormality of the screen image, the screen image is reconstructed using a variational autoencoder. The variational autoencoder can learn and simulate the potential features of the normal screen image, thereby generating a reconstructed image similar to the original image. By comparing the original image with the reconstructed image, a probability model can be applied to evaluate the similarity between the original image and the reconstructed image. The similarity index between the original image and the reconstructed image reflects the degree of closeness between the screen image and the image in the normal screen image feature library, and is an important basis for judging whether the image is abnormal.
[0041] In order to determine the threshold for anomaly judgment, the K-fold cross-validation method is adopted. The data set is divided into K parts, K-1 parts are used as training sets each time, and the remaining 1 part is used as a test set. Multiple training and testing are performed to obtain multiple threshold candidates; the optimal threshold interval is selected from them. The optimal threshold interval can best balance the accuracy and recall rate of anomaly detection.
[0042] However, different screen contents have different feature distributions, so a fixed threshold interval is not suitable for all situations. To solve this problem, the upper and lower limits of the optimal threshold interval are adaptively adjusted to adapt to different screen contents; the adaptive adjustment mechanism ensures the flexibility and accuracy of anomaly judgment.
[0043] The conditional random field (CRF) is used to further optimize the anomaly determination threshold; the conditional random field is a probabilistic graph model that takes contextual information into account and can adjust the threshold again based on the information of the screen transition key frame of the previous node. In this way, a more accurate and reliable anomaly determination threshold interval is obtained, thereby more effectively identifying screen anomalies.
[0044] Furthermore, if Figure 2 As shown, the key area identification module M300 is also used to execute the following method:
[0045] The spatiotemporal feature anomaly analysis channel is used to combine the spatiotemporal feature fusion technology and use a 3D convolutional network to process a video stream of continuous frames to capture the changing trend of the screen image over time and detect anomalies in the input image; the spatiotemporal feature anomaly analysis channel is used to make an anomaly decision and determine a second potential anomaly area, and the second potential anomaly area uses a trajectory tracking mechanism to assist the interactive anomaly verification.
[0046] The spatiotemporal feature anomaly analysis channel combines spatiotemporal feature fusion technology, which can simultaneously consider the spatial and temporal features of the screen image, thereby more comprehensively capturing abnormal information in the image. Using a 3D convolutional network to process a video stream of continuous frames, the 3D convolutional network can effectively analyze the spatiotemporal features in the video stream, capture the changing trend of the screen image over time, and detect anomalies in the input image. In actual applications, when a continuous video stream is input, the spatiotemporal feature anomaly analysis channel will analyze the input continuous video stream, and combine the spatiotemporal feature fusion technology to extract key information and determine the second potential abnormal area. The second potential abnormal area is where abnormal behavior or changes occur in the image, so it is the focus of subsequent abnormality verification and analysis.
[0047] In order to more accurately verify these potential abnormal areas, a trajectory tracking mechanism is used to assist interactive abnormality verification. The trajectory tracking mechanism can track key elements or features in the screen image and analyze the changing trajectories of key elements or features in the screen image over time; by comparing the differences between these trajectories and normal behavior patterns, it can further confirm whether the potential abnormal area is a real abnormality. The spatiotemporal feature abnormality analysis channel processes the video stream of continuous frames by combining spatiotemporal feature fusion technology and 3D convolutional networks to capture the changing trends of the screen image and detect abnormalities. The trajectory tracking mechanism assists in more accurately verifying the key elements or features in the screen image, providing strong support for subsequent abnormality processing.
[0048] Furthermore, in order to capture the changing trend of the screen image over time and detect the anomaly in the input image, the anomaly verification module M400 is also used to execute the following method:
[0049] Analyze the changes between adjacent frames and use the optical flow algorithm to calculate the pixel-level motion vector; based on the pixel-level motion vector, use the DBSCAN algorithm to group the image sequence, and use the Apriori algorithm to find the abnormal behavior pattern; use the deep learning algorithm to model the pixel-level motion vector in the time series, and extract the continuous periodic features corresponding to the abnormal behavior pattern; based on the continuous periodic features corresponding to the abnormal behavior pattern, define an abnormal scoring mechanism, quantify the severity of the abnormal behavior pattern by comparing the abnormal behavior feature library, and generate an abnormal score, which reflects the deviation between the abnormal behavior feature and the normal behavior benchmark.
[0050] In order to deeply analyze the abnormal behavior of the screen image, the changes between adjacent frames are carefully analyzed; by using the optical flow algorithm, the pixel-level motion vector can be calculated, and the pixel-level motion vector accurately describes the change of each pixel in the screen image over time. Based on the pixel-level motion vector, the DBSCAN algorithm is used to group the image sequence; DBSCAN is a density-based clustering algorithm that can cluster pixels with similar motion characteristics together to form different image regions or objects, so that different elements in the screen image and their motion patterns can be more clearly identified.
[0051] In order to further find abnormal behavior patterns, the Apriori algorithm is used to mine association rules for clustered image regions; the Apriori algorithm can discover the association between different image regions, thereby revealing potential abnormal behavior patterns; the abnormal behavior patterns are caused by certain specific motion vector combinations or time series changes, and are significantly different from normal behavior patterns. In order to gain a deeper understanding of these abnormal behavior patterns, a deep learning algorithm is used to model the pixel-level motion vectors in the time series; through modeling, the continuous periodic features corresponding to the abnormal behavior patterns can be extracted, which describe the persistence and periodic changes of abnormal behavior in time.
[0052] An abnormal scoring mechanism is defined based on the continuous cycle characteristics corresponding to the abnormal behavior pattern. By comparing the normal behavior benchmark in the abnormal behavior feature library, the severity of the abnormal behavior pattern is quantified and an abnormal score is generated. The abnormal score reflects the degree of deviation between the abnormal behavior feature and the normal behavior benchmark, and is an intuitive quantitative indicator to evaluate the abnormality of the screen image.
[0053] Furthermore, anomaly propagation analysis is performed to extract anomaly propagation characteristics. The anomaly verification module M400 is also used to execute the following method:
[0054] Track the abnormal propagation speed of the abnormality in the input picture on the screen, and calculate the abnormal propagation speed by calculating the area change rate of the abnormal area; track the abnormal propagation path of the abnormality in the input picture on the screen, and determine the abnormal propagation path by using a graph theory algorithm by analyzing the spatial distribution changes of the abnormal area; based on the abnormal propagation speed and the abnormal propagation path, spatially cluster the abnormal area, identify the abnormal propagation cluster characteristics, and perform dimensionality reduction processing to extract the abnormal propagation characteristics.
[0055] Track the propagation of anomalies in the input image on the screen. Further, for the key indicator of abnormal propagation speed, by calculating the rate of change of the abnormal area, the diffusion speed of the anomaly on the screen can be effectively quantified, providing an important basis for subsequent abnormal behavior analysis. Track the propagation path of the anomaly on the screen, by analyzing the spatial distribution changes of the abnormal area and using graph theory algorithms, determine the specific propagation path of the anomaly on the screen. The abnormal propagation path is crucial to understanding the origin, diffusion direction and possible impact range of the anomaly.
[0056] Based on the abnormal propagation speed and the abnormal propagation path, the abnormal area is spatially clustered. Through cluster analysis, the cluster characteristics of abnormal propagation can be identified. The abnormal propagation cluster characteristics reflect the spatial distribution and diffusion pattern of the abnormality on the screen. In order to have a deeper understanding of the abnormal propagation cluster characteristics, dimensionality reduction processing is performed to extract the core characteristics of abnormal propagation. The core characteristics of abnormal propagation obtained by dimensionality reduction processing are recorded as the abnormal propagation characteristics. A comprehensive and in-depth insight into the abnormal propagation behavior and the extraction of abnormal propagation characteristics are helpful for the formulation of subsequent abnormal warning and processing strategies.
[0057] Furthermore, the upper and lower limits of the optimal threshold interval are adaptively adjusted to adapt to different screen contents. The abnormality verification module M400 is also used to execute the following method:
[0058] The complexity of the screen content is quantified using the Entropy algorithm, and the adjustment period of the upper and lower limits of the optimal threshold interval is estimated using wavelet transform. Based on the content complexity and the adjustment period of the upper and lower limits of the optimal threshold interval, a user feedback mechanism is introduced, and threshold calibration is performed in combination with multimodal sensor data, wherein the multimodal sensor data includes touch screen input data and sound data.
[0059] In order to more finely control the sensitivity of the anomaly detection system, the Entropy algorithm is introduced to quantify the complexity of the screen content. The Entropy algorithm can evaluate the randomness and information content of the screen content, thereby providing an indicator to measure the complexity of the screen content, which is of great significance for determining the threshold of anomaly detection, because complex screen content requires a higher threshold to avoid false alarms; at the same time, wavelet transform is used to estimate the adjustment period of the upper and lower limits of the optimal threshold interval. Wavelet transform can analyze the frequency and trend changes of time series data, thereby helping to determine how often the threshold should be adjusted to adapt to changes in screen content.
[0060] After determining the content complexity and threshold adjustment cycle, the user feedback mechanism is introduced to further optimize the threshold setting. User feedback can provide real-time information about the accuracy of anomaly detection, so that the threshold can be fine-tuned according to the actual situation; threshold calibration is performed in combination with multimodal sensor data. Multimodal sensor data includes touch screen input data, sound data, and temperature data, which can reflect the status of the device and user behavior from different angles; by fusing multimodal sensor data, a more comprehensive understanding of the normal and abnormal states of the screen image can be obtained, so that more accurate threshold calibration can be performed. By quantifying the complexity of screen content, estimating the threshold adjustment cycle, introducing a user feedback mechanism, and combining multimodal sensor data, fine calibration of the anomaly detection threshold is achieved, improving the accuracy and reliability of anomaly detection.
[0061] In summary, the beneficial effects of the embodiments of the present application are:
[0062] 1. By capturing the screen image of the target screen in real time and converting it into a digital image, the screen image information is extracted, key element indicators and screen layout structure are identified, and the screen image feature library corresponding to the normal screen image is compared, and a screen image abnormality comparison model is established to quickly respond to changes in screen content.
[0063] 2. Through the screen image anomaly comparison model, interactive anomaly verification of the screen image is performed against the video frame rate, anomaly propagation analysis is performed to extract anomaly propagation characteristics, and anomaly judgment and warning of the target screen are performed to ensure the accuracy and stability of anomaly detection.
[0064] 3. As the changes between adjacent frames are analyzed, the optical flow algorithm is used to calculate the pixel-level motion vector; based on the pixel-level motion vector, the DBSCAN algorithm is used to group the image sequence, and the Apriori algorithm is used to find abnormal behavior patterns; the deep learning algorithm is used to model the pixel-level motion vector in the time series, and the continuous period features corresponding to the abnormal behavior pattern are extracted; based on the continuous period features corresponding to the abnormal behavior pattern, the abnormal scoring mechanism is defined, and the severity of the abnormal behavior pattern is quantified by comparing the abnormal behavior feature library, and the abnormal score is generated. The abnormal score reflects the deviation between the abnormal behavior feature and the normal behavior benchmark, and the intuitive quantitative indicator is used to evaluate the abnormal degree of the screen image.
[0065] In summary, any step can be stored as a computer instruction or program in an unlimited computer memory, and can be called and recognized by an unlimited computer processor, and no unnecessary restrictions are made here.
[0066] Furthermore, the above-mentioned technical scheme only reflects the preferred technical scheme of the technical scheme of the embodiment of the present application. Some changes that may be made to some parts thereof by technicians in this technical field all reflect the novel principles of the embodiment of the present application. Obviously, technicians in this field can make various changes and modifications to the present application without departing from the scope of the present application.
Claims
1. Screen anomaly detection system based on image recognition, It is characterized in that include: The real-time capture module is used to capture the screen image of the target screen in real time and convert it into a digital image, obtain the pre-processed screen image information, and perform feature extraction to identify key element indicators and screen layout structure; An abnormality comparison module is used to use the screen layout structure as a basic framework, connect the screen image feature library corresponding to the normal screen image, compare it with the key element index, and establish a screen image abnormality comparison model; A key area identification module, which is used for the abnormal features corresponding to the screen image abnormality comparison model, including missing elements, misaligned elements, and color abnormalities. The screen image abnormality comparison model includes a key area identification network layer, which focuses on the key areas in the preprocessed screen image information, and the key area identification network layer is connected to the variational autoencoder abnormality analysis channel and the spatiotemporal feature abnormality analysis channel; An abnormality verification module is used to connect to the target screen, perform interactive abnormality verification of the screen image by comparing the screen image abnormality comparison model with the video frame rate, and perform abnormality propagation analysis to extract abnormality propagation characteristics; The abnormality judgment and early warning module is used to implement an adaptive threshold adjustment strategy based on the abnormal propagation characteristics and fuse multi-modal sensor data to perform abnormality judgment and early warning of the target screen.
2. The screen image anomaly detection system based on image recognition as claimed in claim 1, It is characterized in that By using the screen image abnormality comparison model, interactive abnormality verification of the screen image is performed against the video frame rate, and further includes: The first UI element set corresponding to the key element indicator includes text elements, icon elements, and button elements on the screen; The second UI element set corresponding to the screen layout structure includes a size element, a position element, a color element, and a transparency element of the screen; Based on the first UI element set and the second UI element set, the screen image transition key frames under the video frame rate limit are captured, and the image front-end filtering channel of the screen image anomaly comparison model is activated.
3. The screen image anomaly detection system based on image recognition as claimed in claim 2, It is characterized in that The variational autoencoder anomaly analysis channel is used to learn the latent space distribution of the normal screen image, and determine whether it is abnormal by evaluating the probability density of the input image in the latent space; The variational autoencoder anomaly analysis channel is used to make an anomaly decision and determine a first potential anomaly region, and the first potential anomaly region uses a sliding window mechanism to assist the interactive anomaly verification.
4. The screen image anomaly detection system based on image recognition as claimed in claim 3, It is characterized in that Determine whether it is abnormal by evaluating the probability density of the input image in the latent space, including: The screen image is reconstructed using a variational autoencoder, and a probability model is applied to evaluate the similarity between the screen image and the normal screen image in the screen image feature library; Determine the optimal threshold interval through K-fold cross validation, and adaptively adjust the upper and lower limits of the optimal threshold interval to adapt to different screen contents; The conditional random field is used in combination with the screen transition key frame of the previous node to adjust the upper and lower limits of the optimal threshold interval again to obtain the abnormality determination threshold interval.
5. The screen image anomaly detection system based on image recognition as claimed in claim 4, It is characterized in that The spatiotemporal feature anomaly analysis channel is used to combine the spatiotemporal feature fusion technology and use a 3D convolutional network to process the video stream of continuous frames to capture the changing trend of the screen image over time and detect anomalies in the input image; The spatiotemporal feature anomaly analysis channel is used to make an anomaly decision and determine a second potential anomaly area, and the second potential anomaly area uses a trajectory tracking mechanism to assist the interactive anomaly verification.
6. The screen image anomaly detection system based on image recognition as claimed in claim 5, It is characterized in that To capture the changing trends of screen images over time and detect anomalies in input images, including: Analyze the changes between adjacent frames and use the optical flow algorithm to calculate pixel-level motion vectors; Based on the pixel-level motion vectors, the image sequence is grouped using the DBSCAN algorithm, and the abnormal behavior pattern is found using the Apriori algorithm; Using a deep learning algorithm, modeling the pixel-level motion vectors in the time series, and extracting the duration period features corresponding to the abnormal behavior pattern; Based on the continuous period characteristics corresponding to the abnormal behavior pattern, an abnormal scoring mechanism is defined. By comparing the abnormal behavior feature library, the severity of the abnormal behavior pattern is quantified to generate an abnormal score, which reflects the deviation between the abnormal behavior feature and the normal behavior benchmark.
7. The screen image anomaly detection system based on image recognition as claimed in claim 6, It is characterized in that Perform anomaly propagation analysis and extract anomaly propagation characteristics, including: Tracking the abnormal propagation speed of the abnormality in the input picture on the screen, and calculating the abnormal propagation speed by calculating the area change rate of the abnormal area; Track the abnormal propagation path of the abnormality in the input picture on the screen, and determine the abnormal propagation path by using graph theory algorithm by analyzing the spatial distribution changes of the abnormal area; Based on the abnormal propagation speed and the abnormal propagation path, the abnormal area is spatially clustered to identify the abnormal propagation cluster characteristics, and dimensionality reduction processing is performed to extract the abnormal propagation characteristics.
8. The screen image anomaly detection system based on image recognition as claimed in claim 7, It is characterized in that Adaptively adjusting the upper and lower limits of the optimal threshold interval to adapt to different screen contents includes: The screen content is quantified by using the Entropy algorithm, and the adjustment period of the upper and lower limits of the optimal threshold interval is estimated by using the wavelet transform; Based on the content complexity and the adjustment period of the upper and lower limits of the optimal threshold range, a user feedback mechanism is introduced, and threshold calibration is performed in combination with multimodal sensor data, wherein the multimodal sensor data includes touch screen input data and sound data.
Citation Information
Patent Citations
Display screen real-time detection method and system based on multi-channel video monitoring
CN116781887A
Display screen anomaly detection method and device, equipment and storage medium
CN117764936A
