Embedded visual performance detection system and control method thereof
Through the embedded visual performance detection system, the problems of poor real-time, large resource overhead, insufficient visualization and low communication efficiency in embedded systems are solved, real-time data acquisition and interactive visualization in multi-threaded environments are realized, and the real-time performance detection and resource utilization efficiency of system performance detection are improved.
Patent Information
- Application Number
- CN202510847301.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-24
- Publication Date
- 2025-07-25
AI Technical Summary
The existing embedded system performance detection methods have problems such as poor real-time performance, large resource overhead, insufficient visualization, inability to meet the requirements of simultaneous detection and real-time observation of multiple data, and low communication efficiency.
An embedded visual performance detection system is designed, including performance detection module, data processing module, visual interface, interface module and automatic alarm module to realize real-time data capture, preprocessing, visual display and automatic alarm, supporting multi-platform compatibility and low resource consumption.
Ensure the real-time and accuracy of data acquisition in a multi-threaded environment, provide an interactive visual interface to meet the needs of multiple data simultaneous detection, reduce resource consumption, and improve communication efficiency.
Smart Images

Figure CN120371676A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of embedded system visualization technology, and particularly relates to an embedded visualization performance detection system and a control method thereof. Background Art
[0002] With the wide application of embedded systems, performance detection has gradually become a key link to ensure the stable operation and high efficiency of the system. Traditional performance detection methods mostly rely on underlying log records or data acquisition through dedicated debugging interfaces.
[0003] The existing detection methods still have the following defects and deficiencies in the implementation process: 1) Poor real-time performance: In traditional methods, there is a time delay in the collection and analysis of performance data. Especially in a multi-threaded environment, it is easy to cause a lag in the discovery of performance bottlenecks.
[0004] 2) Insufficient visualization: Most traditional methods rely on graphical interfaces, but in the resource-constrained environment of embedded systems, the overhead of graphical interfaces is too large and it is inconvenient to use.
[0005] 3) Unable to meet visualization requirements: Since multiple preset performance data may need to be detected and observed in real time when troubleshooting system faults, and after a certain fault is determined, a certain preset performance data needs to be detected and observed in real time for this fault, and the current performance detection methods cannot meet this requirement.
[0006] 4) Large resource overhead: Some performance detection tools will cause relatively large consumption of embedded system resources (such as CPU, memory), affecting the normal operation of the system.
[0007] 5) Low communication efficiency: For distributed or networked systems, the transmission of performance detection results depends on traditional network protocols, resulting in slow transmission speed and difficult data synchronization.
[0008] Therefore, there is an urgent need to provide a new solution to solve the defects and deficiencies existing in the above-mentioned prior art. Summary of the Invention
[0009] In order to solve the defects and deficiencies existing in the prior art, the present invention provides an embedded visualization performance detection system and a control method thereof.
[0010] The specific solution provided by the present invention is as follows: An embedded visualization performance detection system, characterized in that: the system includes: A performance detection module, which synchronously captures preset performance data inside the embedded system in real time; A data processing module, which is connected to a performance detection module to preprocess the detected preset performance data before transmission and analysis; A visualization interface, which provides an interactive visualization environment for users, enabling them to view the real-time detection results and comparison results of preset performance data in a selectable display mode; An interface module: The interface module provides a unified interface for the connection between the detection system and the embedded platform; An automatic alarm module: The automatic alarm module can selectively trigger an alarm automatically and generate relevant reports according to the analysis results of the data processing module.
[0011] As a further preferred embodiment of the present invention, the preset performance data at least includes CPU data, memory data, transmission data, network data, and hardware health data.
[0012] As a further preferred embodiment of the present invention, the data processing module transmits the detected preset performance data to a container management platform for corresponding analysis, and historical data line charts corresponding to each preset performance data are pre-stored in the container management platform.
[0013] As a further preferred embodiment of the present invention, the analysis of the detected preset performance data includes: 1) Comparing the detected preset performance data with its corresponding historical data line chart; 2) Obtaining the abnormal data among them; 3) Determining the unqualified data in the abnormal data.
[0014] As a further preferred embodiment of the present invention, when determining the unqualified data in the abnormal data, the absolute value of the difference between the abnormal data and the historical data is compared with a preset threshold: If the absolute value of the difference is higher than the preset threshold, the abnormal data is determined as unqualified data; If the absolute value of the difference is not higher than the preset threshold, the abnormal data is determined as qualified data.
[0015] As a further preferred embodiment of the present invention, The unqualified data is transmitted to the visualization interface and displayed to the user in real time on the visualization interface, and at the same time, the unqualified data is transmitted to the automatic alarm module; The qualified data is transmitted to the container management platform to be used as the basis for correcting the historical data line charts corresponding to each preset performance data.
[0016] As a further preferred embodiment of the present invention, The visualization interface selects a text user interface, and the text user interface at least includes a command line and a data graph; The visualization interface at least includes the real-time detection results of preset performance data and the comparison results between the real-time detection results and the corresponding historical data lines. Moreover, in the visualization interface, the real-time detection results and comparison results of any preset performance data can be displayed separately, or the real-time detection results and comparison results of multiple preset performance data can be displayed simultaneously. The user can switch the display mode of the visualization interface by entering commands in the command line.
[0017] As a further preferred embodiment of the present invention, the unified interface provided by the interface module selects at least one or a combination of multiple of the UI interface, hardware interface, software interface, network interface, and function interface.
[0018] As a further preferred embodiment of the present invention, the automatic alarm module only automatically triggers an alarm for unqualified data and generates a corresponding report, and the report at least includes the types of unqualified data and the reasons for unqualified.
[0019] Furthermore, the present invention also provides a control method for an embedded visualization performance detection system, which is characterized by including the following steps: S1: The performance detection module synchronously captures the preset performance data inside the embedded system in real time. S2: The data processing module preprocesses the detected preset performance data and then transmits and analyzes it. S3: Provide an interactive visualization environment for the user through the visualization interface, so that the user can view the real-time detection results and comparison results of the preset performance data in a selectable display mode. S4: The automatic alarm module can selectively trigger an alarm automatically and generate a relevant report according to the analysis results of the data processing module.
[0020] Compared with the prior art, the technical effects that the present invention can achieve include: 1) The present invention provides an embedded visualization performance detection system and its control method. By setting the performance detection module to synchronously capture the preset performance data inside the embedded system in real time, the real-time and accuracy of data collection are ensured in a multi-threaded or high-concurrency environment.
[0021] 2) The present invention provides an embedded visualization performance detection system and its control method. By setting the visualization interface, an interactive visualization environment is provided for the user, so that the user can view the real-time detection results and comparison results of the preset performance data in a selectable display mode, providing a visualization solution that saves resources and adapting to the low-resource requirements of the embedded system.
[0022] 3) The present invention provides an embedded visual performance detection system and its control method. By setting selectable display modes, the real-time detection results and comparison results of preset performance data can be viewed, so as to meet the needs of users for simultaneous detection and real-time observation of multiple preset performance data, as well as the needs for key detection and real-time observation of a certain preset performance data. Different display modes can meet different visualization needs of users.
[0023] 4) The present invention provides an embedded visual performance detection system and its control method. By selecting the TUI text user interface for the visualization interface, users can view performance data graphically under the command line, reducing system resource consumption.
[0024] 5) The present invention provides an embedded visual performance detection system and its control method. The interface module provides a unified interface for the connection between the detection system and the embedded platform, enabling this system to be compatible with multiple embedded platforms, supporting the interconnection of performance and data between multiple devices, and effectively improving communication efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 The following shows the logical structure diagram of the performance detection system provided by the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0026] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0027] In the description of the present invention, it should be noted that the orientation or positional relationship indicated by the terms "upper", "lower", "inner", "outer", "front end", "rear end", "both ends", "one end", "the other end", etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0028] In the description of the present invention, it should be noted that, unless otherwise clearly specified and defined, terms such as "installation", "equipped with", "connection", etc. should be understood in a broad sense. For example, "connection" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can be the communication inside two components. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific situations.
[0029] [First Embodiment] As Figure 1 shown, the first embodiment of the present invention provides an embedded visual performance detection system, including: A performance detection module that captures preset performance data inside the embedded system in real-time and synchronously. By setting the performance detection module to capture preset performance data inside the embedded system in real-time, the real-time and accuracy of data collection can be guaranteed in a multi-threaded or high-concurrency environment. In this embodiment, the preset performance data captured in real-time and synchronously at least includes CPU data, memory data, transmission data, network data, and hardware health data, etc.
[0030] In this embodiment, the CPU data can include CPU usage rate (including overall usage rate and / or usage rate of each core), interrupt rate (IRQ), and context switching rate, etc.; the memory data can include total memory data, available memory data, stack and heap memory usage, and memory fragmentation rate, etc.; the transmission data can include read and write speeds (MB / s) and I / O latency and response time (ms), etc.; the network data can include throughput (upstream / downstream), packet loss rate, and retransmission rate, etc.; and the hardware health data includes parameters such as temperature, voltage, current, and power consumption. The acquisition of the above data parameters can be obtained in real-time through sensors at corresponding positions.
[0031] A data processing module that is connected to the performance detection module to preprocess the detected preset performance data and then perform transmission and analysis. After screening out the detection data that is in the initial startup stage or is obviously incorrect and meaningless through preprocessing, the data processing module transmits the detected preset performance data to the container management platform for corresponding analysis. Historical data lines corresponding to each preset performance data are pre-stored in the container management platform. As a preferred implementation manner, the container management platform can select the ECSM platform, that is, the ECSM (Edge Container Stack Management) mission-critical container management platform.
[0032] In this container management platform, the analysis of the detected preset performance data includes: 1) Compare the detected preset performance data with its corresponding historical data line; 2) Obtain the abnormal data among them; the abnormal data is the data that does not match the corresponding position in the historical data line; 3) Determine the unqualified data among the abnormal data; in this embodiment, when determining the unqualified data among the abnormal data, compare the absolute value of the difference between the abnormal data and the historical data with a preset threshold: If the absolute value of the difference is higher than the preset threshold, it is determined that the abnormal data is unqualified data; If the absolute value of the difference is not higher than the preset threshold, it is determined that the abnormal data is qualified data.
[0033] The purpose of such a setting is that due to the different task environments each time (for example, currently in a high-load working condition not covered by historical data, etc.), the current detected data and the historical data line cannot exactly correspond one by one at every running position. Therefore, the abnormal data generated at this time may be qualified data or unqualified data. By introducing the preset threshold, the qualified data and unqualified data among the abnormal data can be effectively distinguished. Preferably, the preset threshold in this embodiment is determined according to historical experience data, and at the same time, parameters such as data transmission security and stability and the service life of the hardware also need to be considered together for determination.
[0034] After determining the qualified data and unqualified data among the abnormal data, Transmit the unqualified data to the visualization interface and display it to the user in real time in the visualization interface as a reference basis for subsequent fault determination, and at the same time transmit the unqualified data to the automatic alarm module; thus, the automatic alarm module selectively triggers an alarm automatically and generates a relevant report according to the analysis result of the data processing module; in this embodiment, the automatic alarm module only triggers an alarm automatically for the unqualified data and generates a corresponding report, and the report at least includes the types of unqualified data and the reasons for unqualified (due to exceeding the preset threshold range), etc.
[0035] Transmit the qualified data to the container management platform as a correction basis for the historical data line corresponding to each preset performance data, so as to facilitate the subsequent correction of the historical data line and further improve the detection accuracy rate of the detection system.
[0036] The performance detection system provided in this embodiment further includes a visualization interface, and the visualization interface provides an interactive visualization environment for the user, enabling the user to view the real-time detection results and comparison results of the preset performance data in a selectable display manner; by setting the visualization interface, an interactive visualization environment is provided for the user, enabling the user to view the real-time detection results and comparison results of the preset performance data in a selectable display manner, providing a visualization solution for resource saving and adapting to the low-resource requirements of the embedded system.
[0037] In this embodiment, the visualization interface selects the text user interface (TUI). The text user interface includes at least a command line and data graphics, enabling the user to view performance data graphically under the command line and reducing system resource consumption. The visualization interface at least includes the real-time detection results of preset performance data and the comparison results between the real-time detection results and the corresponding historical data lines.
[0038] In the visualization interface of this embodiment, the real-time detection results and comparison results of any preset performance data can be displayed separately, or the real-time detection results and comparison results of multiple preset performance data can be displayed simultaneously. By setting a selectable display mode to view the real-time detection results and comparison results of the preset performance data, the needs of the user for simultaneous detection and real-time observation of multiple preset performance data, as well as the needs for key detection and real-time observation of a certain preset performance data, can be met, and different visualization needs of the user can be satisfied with different display modes. The user can switch the display mode of the visualization interface by operating an input device such as a keyboard to input commands in the command line.
[0039] In addition, the performance detection system further includes an interface module. The interface module provides a unified interface for the connection between the detection system and the embedded platform. The unified interface provided by the interface module in this embodiment selects at least one or a combination of multiple of the UI interface, hardware interface, software interface, network interface, and function interface, enabling this system to be compatible with multiple embedded platforms, supporting the interconnection of performance and data between multiple devices, and effectively improving communication efficiency.
[0040] [Second Embodiment] The second embodiment of the present invention further provides a control method for an embedded visualization performance detection system mentioned in the first embodiment, including the following steps: S1: The performance detection module synchronously captures the preset performance data inside the embedded system in real time; S2: The data processing module preprocesses the detected preset performance data and then transmits and analyzes it; S3: Provide an interactive visualization environment for the user through the visualization interface, enabling the user to view the real-time detection results and comparison results of the preset performance data in a selectable display mode; S4: The automatic alarm module can selectively trigger an alarm automatically and generate relevant reports according to the analysis results of the data processing module.
[0041] It is obvious to those skilled in the art that the present invention is not limited to the details of the above-described exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention. Therefore, in all respects, the embodiments should be regarded as exemplary and non-restrictive. The scope of the present invention is defined by the appended claims rather than the above description. Accordingly, all changes that fall within the meaning and scope of the equivalent elements of the claims are intended to be embraced within the present invention. Any reference signs in the claims should not be construed as limiting the claims concerned.
Claims
1. An embedded visual performance detection system, characterized in that: The system includes: A performance detection module that synchronously captures preset performance data inside the embedded system in real time; A data processing module that is connected to the performance detection module to preprocess the detected preset performance data and then transmit and analyze it; A visualization interface that provides an interactive visualization environment for users, enabling them to view the real-time detection results and comparison results of the preset performance data in a selectable display manner; An interface module: The interface module provides a unified interface for the connection between the detection system and the embedded platform; An automatic alarm module: The automatic alarm module can selectively trigger an alarm automatically and generate a relevant report according to the analysis result of the data processing module.
2. The embedded visualization performance detection system according to claim 1, wherein: The preset performance data at least includes CPU data, memory data, transmission data, network data, and hardware health data.
3. An embedded visual performance detection system according to claim 1, characterized in that: The data processing module transmits the detected preset performance data to the container management platform for corresponding analysis, and historical data lines corresponding to each preset performance data are pre-stored in the container management platform.
4. An embedded visual performance detection system according to claim 3, wherein: Analyzing the detected preset performance data includes: 1) Comparing the detected preset performance data with its corresponding historical data line; 2) Obtaining the abnormal data among them; 3) Determining the unqualified data in the abnormal data.
5. An embedded visualization performance detection system according to claim 4, characterized in that: When determining the unqualified data in the abnormal data, compare the absolute value of the difference between the abnormal data and the historical data with a preset threshold: If the absolute value of the difference is higher than the preset threshold, it is determined that the abnormal data is unqualified data; If the absolute value of the difference is not higher than the preset threshold, it is determined that the abnormal data is qualified data.
6. An embedded visualization performance detection system according to claim 5, characterized in that: Transmit the unqualified data to the visualization interface and display it to the user in real time on the visualization interface, and at the same time transmit the unqualified data to the automatic alarm module; Transmit the qualified data to the container management platform to be used as the correction basis for the historical data lines corresponding to each preset performance data.
7. An embedded visualization performance detection system according to claim 1, characterized in that: The visualization interface selects a text user interface, and the text user interface at least includes a command line and data graphics; The visualization interface at least includes the real-time detection results of the preset performance data and the comparison results between the real-time detection results and the corresponding historical data lines; And on the visualization interface, the real-time detection results and comparison results of any preset performance data can be displayed separately, or the real-time detection results and comparison results of multiple preset performance data can be displayed simultaneously; Users can switch the display mode of the visualization interface by entering commands in the command line.
8. An embedded visual performance detection system according to claim 1, characterized in that: The unified interface provided by the interface module selects at least one or a combination of multiple of UI interface, hardware interface, software interface, network interface, and function interface.
9. An embedded visualization performance detection system according to claim 6, characterized in that: The automatic alarm module only automatically triggers an alarm for unqualified data and generates a corresponding report, and the report at least includes the types and reasons for the unqualified data.
10. A control method for an embedded visual performance detection system according to any one of claims 1-9, characterized in that: Including the following steps: S1: The performance detection module synchronously captures preset performance data inside the embedded system in real time; S2: The data processing module preprocesses the detected preset performance data and then transmits and analyzes it; S3: Provide an interactive visualization environment for users through the visualization interface, enabling users to view the real-time detection results and comparison results of the preset performance data in a selectable display manner; S4: The automatic alarm module can selectively trigger an alarm automatically and generate relevant reports according to the analysis results of the data processing module.
Citation Information
Patent Citations
Efficient data anomaly automatic detection and alarm system
CN119442101A
Device for real-time performance monitoring and optimization in software systems
DE202024106329U1