Debugging Information Indexing in Electronic Apparatus Buffer
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing debugging methods for electronic devices like digital TVs face challenges in storing and retrieving debugging information due to limited storage capacity and the difficulty in reproducing issues in different external environments, leading to increased costs and inefficiencies.
Innovation Solution
The method involves storing index information instead of repetitive log messages in a buffer, allowing for efficient use of storage space and enabling the recovery of debugging information using binary files, which include index information for outputting log messages.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Loss of information
If all debugging information is stored in the buffer, then complete debugging data is preserved, but the limited buffer space is quickly exhausted
Solution Approach 1:
The patent creates a compressed representation (copy) of debugging information by extracting key features and statistics rather than storing complete log messages. This allows the essential debugging data to be preserved in a space-efficient format that fits within limited buffer capacity.
Solution Approach 2:
The patent transforms debugging information from its original detailed format into a parameterized representation using statistical features, frequency counts, and pattern identifiers. This parameter change reduces the data volume while maintaining the essential debugging capabilities.
2Duration of action of stationary object
If debugging information is stored for a meaningful period, then historical problem analysis is enabled, but the buffer capacity is exceeded
Solution Approach 1:
By creating compressed copies of debugging data that capture essential patterns and statistics, the system can retain debugging information for extended periods without proportionally increasing buffer requirements.
Solution Approach 2:
The patent implements periodic sampling and statistical aggregation of debugging information, where data is processed at regular intervals to extract meaningful patterns. This periodic approach enables long-term monitoring while maintaining manageable data volumes.
3Productivity
If real-time debugging information is obtained through console, then immediate problem diagnosis is possible, but the method is ineffective for market problems that cannot be reproduced
Solution Approach 1:
The patent prepares debugging information in advance by continuously collecting and compressing log data in the buffer during normal operation. This preliminary action ensures that when problems occur in the market, the necessary debugging information is already captured and ready for analysis, eliminating the need for problem reproduction.
Solution Approach 2:
The patent introduces a buffer as an intermediary storage mechanism between the device operation and the debugging analysis process. This intermediary captures and preserves debugging information that can later be analyzed offline, bridging the gap between real-time operation and post-event problem diagnosis.
Data Source
Figure 1~2
Figure 3
Figure 4
AI summary
A method and an electronic apparatus for converting debugging information to a binary form and providing more information in the same capacity memory are disclosed. A control method of the electronic apparatus which records debugging information, the method includes: obtaining debugging information using a source code; adding index information corresponding to the debugging information to the debugging information and storing the debugging information in a buffer; and converting a plurality of pieces of index information stored in the buffer to a binary file.