Method for IPMI console session playback
By encrypting and compressing IPMI console session data, combined with machine learning algorithms, the problem of network latency in remote access was solved, data security and fault prediction capabilities were improved, and data loading efficiency and report generation were optimized.
Patent Information
- Application Number
- CN202411271573.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-11
- Publication Date
- 2025-11-07
- Estimated Expiration
- 2044-09-11
AI Technical Summary
In data center and server management environments, network latency or connectivity issues make real-time monitoring difficult when remotely accessing server console sessions, and existing technologies lack effective fault prediction and event analysis capabilities.
The captured IPMI console session data is encrypted using the Advanced Encryption Standard (AES) and compressed using the GZIP algorithm. It combines machine learning and deep learning algorithms for pattern recognition and fault prediction, implements caching mechanisms and multi-threading technology to optimize data loading, and generates system usage and performance reports.
It optimizes data security and storage space, improves fault prediction and event analysis capabilities, enhances data loading efficiency and playback startup time, and generates valuable system operation reports.
Smart Images

Figure CN119211001B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of computer system management, and particularly relates to a solution for IPMI console session playback. BACKGROUND
[0002] In current data center and server management environments, administrators often need to remotely access the console of a server for troubleshooting and maintenance. Real-time monitoring of console session content can be difficult due to network latency or connectivity issues.
[0003] After searching, the application scheme with the Chinese patent application number 202210579567.3 discloses a network equipment central control intelligent management system and method, which is characterized by including a central control module, the central control module includes an intrusion prevention control unit, an asset management module, a network management module, an automatic task unit, a distributed terminal control module, and the central control module is used for unified management entrance of multiple data centers. In this module, users can perform central control management of the state, energy consumption, resource consumption, and various instruction sending of several data centers. The method in the above patent has the following deficiencies: the ability of fault prediction and event analysis is insufficient, and improvement is needed. SUMMARY
[0004] The purpose of the present application is to solve the shortcomings in the prior art and provide a solution for IPMI console session playback.
[0005] To achieve the above purpose, the present application adopts the following technical solutions:
[0006] A solution for IPMI console session playback includes:
[0007] S1: Initialize session: when an administrator starts an IPMI session, the system initializes an empty data structure D to store session data;
[0008] S2: Capture session data: the system listens to the IPMI interface in real time and captures all input and output data streams;
[0009] The system configures the network interface to listen to IPMI requests and responses in real time;
[0010] For each request and response, record the timestamp, and store the session data and its metadata into the data structure D;
[0011] Ensure that the captured data includes text commands, execution results, and any error information.
[0012] S3: Data Encryption and Compression: Encrypt the captured data using the Advanced Encryption Standard (AES) to ensure data security; apply the formula E = AES(D, K), where K is the key and E is the encrypted data; compress the encrypted data using the GZIP algorithm to reduce storage space consumption;
[0013] S4: Data Storage: Store the compressed data C in a persistent storage device;
[0014] S5: Session Playback: When a session needs to be played back, load the compressed data C from the storage device; apply the decompression algorithm formula D = GZIP^(-1)(C) to obtain the original encrypted data E; use the AES decryption algorithm formula D = AES^(-1)(E, K) to obtain the original session data;
[0015] S6: Data Processing and Playback: Sort and format the received data to ensure the correctness of the playback order; use timestamp information T to synchronize the playback speed, ensuring that the playback speed is consistent with the original session;
[0016] S7: Performance Optimization and Intelligent Algorithm Application: Implement a caching mechanism to reduce frequent disk read / write operations and improve data loading efficiency; use multi-threading technology to parallel process data decryption and decompression, optimizing the playback startup time; introduce machine learning algorithms to identify patterns in session data, automatically classify and label key events; use deep learning algorithms to analyze historical session data to predict potential system failures and maintenance needs;
[0017] S8: Data Insight and Reporting: Generate system usage and performance reports through analysis of playback data; use natural language processing algorithms to extract keywords from sessions and generate operation log summaries.
[0018] Preferred: In S1, initializing a session specifically includes:
[0019] When an administrator initiates a remote session through IPMI, the system automatically generates a unique session ID;
[0020] Create an empty data structure D for the session ID to store session data;
[0021] Initialize the timestamp recorder to accurately record each event in the session.
[0022] Preferred: In S4, data storage specifically includes:
[0023] Store the compressed data C in a persistent storage device;
[0024] Index each session ID with the corresponding data file for quick retrieval;
[0025] Regularly back up your stored data to prevent data loss.
[0026] Preferably, in step S5, session replay specifically includes:
[0027] When a session needs to be replayed, the user selects a specific session ID through the interface;
[0028] Load the compressed data C from the storage device and apply the GZIP decompression algorithm formula D=GZIP^(-1)(C);
[0029] The original session data is obtained using the AES decryption algorithm formula D=AES^(-1)(E,K).
[0030] Preferably, in step S6, data processing and playback specifically include:
[0031] The received data is sorted and formatted, and synchronized according to the timestamp information T.
[0032] Ensure that data is replayed in the actual order in which the session occurred;
[0033] Real-time calculation of playback performance ensures lag-free playback.
[0034] Preferably, in S7, the data insight and reporting specifically include:
[0035] Provides visualized data analysis results to help administrators better understand the system's operational status;
[0036] Keyword extraction based on TF-IDF: The specific formula is as follows:
[0037]
[0038] in:
[0039] It is a word;
[0040] It is a document;
[0041] It is a collection of all documents;
[0042] It is a word In the document The frequency in;
[0043] It is the total number of documents in the document collection;
[0044] It contains words The number of documents.
[0045] Preferably, in the performance optimization and intelligent algorithm application, when pattern recognition is performed, support vector machines are used, specifically:
[0046]
[0047] Wherein:
[0048] is the input vector, i.e., the feature vector of the current session data;
[0049] is the feature vector of the first training data point;
[0050] is the class label of the first training data point;
[0051] is the Lagrange multiplier, obtained by training;
[0052] is the kernel function, used to calculate the similarity between two data points;
[0053] is the bias term of the decision boundary;
[0054] is the number of training samples.
[0055] The beneficial effects of the present application are:
[0056] The present application encrypts the captured data using the Advanced Encryption Standard, ensuring the security of the data; the encrypted data is compressed using the GZIP algorithm, reducing the consumption of storage space; the machine learning algorithm and deep learning algorithm are introduced, enhancing the ability of fault prediction and event analysis.
[0057] The present application improves the data loading efficiency and playback startup time by implementing the cache mechanism and multi-threading technology; the system usage and performance report are generated by analyzing the playback data. BRIEF DESCRIPTION OF DRAWINGS
[0058] Figure 1 A flowchart of a solution method for IPMI console session playback proposed by the present application. DETAILED DESCRIPTION
[0059] The technical solutions of the present application will be further described in detail below in combination with specific embodiments.
[0060] Example 1:
[0061] A solution for IPMI console session playback, comprising:
[0062] S1: Initialize session: When an administrator starts an IPMI session, the system initializes an empty data structure D to store session data;
[0063] S2: Capture session data: The system listens to the IPMI interface in real time and captures all input and output data streams;
[0064] The system configures the network interface to listen to IPMI requests and responses in real time;
[0065] For each request and response, record the timestamp, store the session data and its metadata into the data structure D;
[0066] Ensure that the captured data includes text commands, execution results, and any error information.
[0067] S3: Data encryption and compression: Use the Advanced Encryption Standard (AES) to encrypt the captured data to ensure data security; Apply the formula E = AES(D, K), where K is the key and E is the encrypted data; Use the GZIP algorithm to compress the encrypted data to reduce storage space consumption;
[0068] S4: Data storage: Store the compressed data C into a persistent storage device such as a hard disk or SSD;
[0069] S5: Session playback: When the session needs to be played back, load the compressed data C from the storage device; Apply the decompression algorithm formula D = GZIP^(-1)(C) to get the original encrypted data E; Use the AES decryption algorithm formula D = AES^(-1)(E, K) to obtain the original session data;
[0070] S6: Data processing and playback: Sort and format the received data to ensure the correctness of the playback order; Use the timestamp information T to synchronize the playback speed, ensuring that the playback speed is consistent with the original session;
[0071] S7: Data insight and reporting: Through analysis of the playback data, generate system usage and performance reports; Apply natural language processing (NLP) algorithms to extract keywords from the session and generate operation log summaries.
[0072] In S1, the initialization session specifically includes:
[0073] When the administrator initiates a remote session through IPMI, the system automatically generates a unique session ID;
[0074] Create an empty data structure D for the session ID to store session data;
[0075] Initialize timestamp recorder to ensure accurate recording of each event in the session.
[0076] In the S4, the data storage specifically includes:
[0077] Store the compressed data C in a persistent storage device, such as a hard disk or SSD;
[0078] Index each session ID with the corresponding data file for quick retrieval;
[0079] Regularly backup stored data to prevent data loss.
[0080] In the S5, the session playback specifically includes:
[0081] When the session needs to be played back, the user selects a specific session ID through the interface;
[0082] Load the compressed data C from the storage device and apply the GZIP decompression algorithm formula D = GZIP^(-1)(C);
[0083] Use the AES decryption algorithm formula D = AES^(-1)(E, K) to obtain the original session data.
[0084] In the S6, the data processing and playback specifically includes:
[0085] Sort and format the received data according to the timestamp information T for synchronization;
[0086] Ensure that the data is played back in the true order of session occurrence;
[0087] Real-time calculation of playback performance to ensure no delay in playing.
[0088] In the S7, the data insight and reporting specifically includes:
[0089] Provide visual data analysis results to help administrators better understand the system running status;
[0090] Extract keywords based on TF-IDF, the specific formula is:
[0091]
[0092] Where:
[0093] is a word;
[0094] is a document;
[0095] is the set of all documents;
[0096] is the word in the document ;
[0097] is the total number of documents in the document collection;
[0098] is the number of documents containing the word .
[0099] Embodiment 2:
[0100] A solution for IPMI console session playback, comprising:
[0101] S1: Initialize session: when an administrator starts an IPMI session, the system initializes an empty data structure D to store session data;
[0102] S2: Capture session data: the system listens to the IPMI interface in real time and captures all input and output data streams;
[0103] The system configures the network interface to listen to IPMI requests and responses in real time;
[0104] For each request and response, record the timestamp, store the session data and its metadata into the data structure D;
[0105] Ensure that the captured data includes text commands, execution results and any error information.
[0106] S3: Data encryption and compression: use the Advanced Encryption Standard AES to encrypt the captured data to ensure data security; apply the formula E = AES(D, K), where K is the key and E is the encrypted data; use the GZIP algorithm to compress the encrypted data to reduce storage space consumption;
[0107] S4: Data storage: store the compressed data C into a persistent storage device such as a hard disk or SSD;
[0108] S5: Session playback: when the session needs to be played back, load the compressed data C from the storage device; apply the decompression algorithm formula D = GZIP^(-1)(C) to get the original encrypted data E; use the AES decryption algorithm formula D = AES^(-1)(E, K) to obtain the original session data;
[0109] S6: Data processing and playback: sort and format the received data to ensure the correctness of the playback order; use the timestamp information T to synchronize the playback speed to ensure that the playback speed is consistent with the original session;
[0110] S7: Performance optimization and intelligent algorithm application: Implement cache mechanism to reduce frequent disk read-write operations and improve data loading efficiency; Use multi-threading technology to parallel process data decryption and decompression, optimize playback startup time; Introduce machine learning algorithm to identify patterns in session data, automatically classify and label key events such as login failure, configuration change, etc.; Use deep learning algorithm to analyze historical session data to predict potential system failures and maintenance needs;
[0111] S8: Data insight and reporting: Generate system usage and performance reports through analysis of playback data; Apply natural language processing (NLP) algorithm to extract keywords from sessions and generate operation log summaries.
[0112] Wherein, when performing pattern recognition, it is based on support vector machine, such as identifying key events such as login failure or configuration change, specifically:
[0113]
[0114] Wherein:
[0115] is the input vector, i.e. the feature vector of the current session data;
[0116] is the feature vector of the th training data point;
[0117] is the class label of the th training data point;
[0118] is the Lagrange multiplier, obtained by training;
[0119] is the kernel function, used to calculate the similarity between two data points;
[0120] is the bias term of the decision boundary;
[0121] is the number of training samples.
[0122] Wherein, when analyzing historical session data to predict potential system failures and maintenance needs, it is based on long short-term memory network, specifically as follows:
[0123]
[0124] Wherein:
[0125] is the input at time t;
[0126] is a hidden state at time t;
[0127] is a hidden state at time ;
[0128] is a unit state at time .
[0129] The above description is merely preferred embodiments of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art, according to the technical range disclosed by the present application and the inventive concept thereof, can make equivalent replacements or changes, which should be encompassed in the protection scope of the present application.
Claims
1. A solution for IPMI console session playback, characterized in that, Comprise: S1: Initialize session: When an administrator starts an IPMI session, the system initializes an empty data structure D to store session data; S2: Capture session data: The system listens to the IPMI interface in real time, capturing all input and output data streams; The system configures the network interface to listen to IPMI requests and responses in real time; For each request and response, record the timestamp, and store the session data and its metadata into the data structure D; Ensure that the captured data includes text commands, execution results, and any error information; S3: Data encryption and compression: Use the Advanced Encryption Standard (AES) to encrypt the captured data to ensure data security; Apply the formula E = AES(D, K), where K is the key and E is the encrypted data; Use the GZIP algorithm to compress the encrypted data to reduce storage space consumption; S4: Data storage: Store the compressed data C into the persistent storage device; S5: Session playback: When you need to play back the session, load the compressed data C from the storage device; Apply the decompression algorithm formula D = GZIP^(-1)(C) to get the original encrypted data E; Use the AES decryption algorithm formula D = AES^(-1)(E, K) to obtain the original session data; S6: Data processing and playback: Sort and format the received data to ensure the correctness of the playback order; Use timestamp information T to synchronize the playback speed to ensure that the playback speed is consistent with the original session; S7: Performance optimization and intelligent algorithm application: Implement a caching mechanism to reduce frequent disk read and write operations and improve data loading efficiency; Use multi-threading technology to process data decryption and decompression in parallel to optimize the playback startup time; Introduce machine learning algorithms to identify patterns in session data and automatically classify and label key events; Use deep learning algorithms to analyze historical session data to predict potential system failures and maintenance needs; S8: Data insight and reporting: Generate system usage and performance reports through analysis of playback data; Use natural language processing algorithms to extract keywords from the session to generate an operation log summary.
2. The solution of IPMI console session playback according to claim 1, characterized in that, In S1, the initialization session specifically includes: When an administrator initiates a remote session through IPMI, the system automatically generates a unique session ID; Create an empty data structure D for the session ID to store session data; Initialize the timestamp recorder to ensure that each event in the session can be accurately recorded.
3. The method of claim 1, wherein the IPMI console session playback is implemented by a server. In S4, data storage specifically includes: Store the compressed data C into the persistent storage device; Index each session ID and corresponding data file for quick retrieval; Regularly backup stored data to prevent data loss.
4. The solution of claim 1, wherein, In S5, session playback specifically includes: When you need to play back the session, the user selects a specific session ID through the interface; Load the compressed data C from the storage device and apply the GZIP decompression algorithm formula D = GZIP^(-1)(C); Use the AES decryption algorithm formula D = AES^(-1)(E, K) to obtain the original session data.
5. The solution of IPMI console session playback according to claim 1, wherein, In S6, data processing and playback specifically include: Sort and format the received data according to the timestamp information T synchronization; Ensure that the data is played back in the real order of session occurrence; Real-time calculation of playback performance to ensure no delay in playing.
6. The solution of claim 1, wherein, In S7, data insight and report specifically include: Provide visual data analysis results to help administrators better understand the system running status; Based on TF-IDF to extract keywords, the specific formula is: ; Where: is a word; is a document; is a collection of all documents; is the word frequency in the document frequency in the document is the total number of documents in the document collection; is the number of documents containing the word .
7. The solution of claim 6, wherein, In the performance optimization and intelligent algorithm application, when pattern recognition is performed, it is based on support vector machine, specifically: ; Where: is an input vector, i.e. a feature vector of the current session data; is the feature vector of the i-th training data point; is the feature vector of the i-th training data point; is the class label of the i-th training data point; is the class label of the i-th training data point; is a Lagrange multiplier, obtained by training; is a kernel function used to compute the similarity between two data points; is a bias term for the decision boundary; is the number of training samples.
Citation Information
Patent Citations
A network equipment central control intelligent management system and method
CN115002174B
Method and device for searching and playing back historical privileged session
CN110704505A
Data storage / playback device and method
US6188831B1