System Test Apparatus Using Hooking Technology for Real-Time Process Monitoring
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing system test methods are inefficient in detecting defects and testing communication between processes in real-time operations, requiring significant resources and causing system overhead, especially when using virtual data instead of real operation data.
Innovation Solution
A system test apparatus utilizing hooking technology to insert a test agent into the process control block, allowing for dynamic testing of memory errors, performance, and communication between processes without interrupting the system, by leveraging run-time execution information without modifying individual codes.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Quantity of substance
If virtual data is used for testing, then test resources and costs are reduced, but the ability to detect potential defects in real operation is insufficient
Solution Approach 1:
The patent introduces a test agent as an intermediary component that operates within the process control block. This test agent enables real operation data collection and analysis without requiring external testing equipment, thus maintaining reliability while reducing test resources. The test agent acts as a mediator between the running system and the testing function, allowing defects to be detected using actual operation data rather than virtual test data.
2Adaptability or versatility
If additional equipment is used to replace counterpart components for independent software testing, then testing capability is improved, but device complexity and costs increase
Solution Approach 1:
The process control block is designed to serve multiple functions: it not only manages process execution information but also hosts a test agent that performs testing functions. This multi-functional approach eliminates the need for separate testing equipment, reducing device complexity while maintaining comprehensive testing capability. The same structural element (process control block) serves both operational management and quality assurance purposes.
3Measurement precision
If code is inserted into each process for testing, then test coverage is improved, but system overhead and performance impact increase
Solution Approach 1:
The patent merges the testing function with the process control block structure. Instead of inserting separate test codes into each process, the test agent is integrated into the shared process control block that already manages all process execution information. This consolidation approach maintains comprehensive test coverage by leveraging existing process information while minimizing additional overhead, as the test agent operates on already-collected process data rather than requiring separate instrumentation in each process.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
The present invention relates to a system test apparatus. The system test apparatus includes an insertion module configured to insert a test agent into a process control block, a hooking module configured to hook a test target to a test code using the test agent when an event related to the test target occurs, a scanning module configured to collect pieces of test information about a process in which the event related to the test target has occurred when the test target is hooked, and a logging module configured to store the pieces of test information collected by the scanning module.