CN119211001A - A solution for IPMI console session playback - Google Patents
A solution for IPMI console session playback Download PDFInfo
- Publication number
- CN119211001A CN119211001A CN202411271573.8A CN202411271573A CN119211001A CN 119211001 A CN119211001 A CN 119211001A CN 202411271573 A CN202411271573 A CN 202411271573A CN 119211001 A CN119211001 A CN 119211001A
- Authority
- CN
- China
- Prior art keywords
- data
- session
- playback
- ipmi
- aes
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/069—Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0631—Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/14—Network analysis or design
- H04L41/149—Network analysis or design for prediction of maintenance
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/16—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks using machine learning or artificial intelligence
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/04—Protocols for data compression, e.g. ROHC
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/06—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
- H04L9/0618—Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation
- H04L9/0631—Substitution permutation network [SPN], i.e. cipher composed of a number of stages or rounds each involving linear and nonlinear transformations, e.g. AES algorithms
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Databases & Information Systems (AREA)
- Evolutionary Computation (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a solution for session playback of an IPMI console, which relates to the technical field of computer system management, and comprises the following steps of S1, initializing a session, S2, capturing session data, S2, capturing all input and output data streams by monitoring an IPMI interface in real time by the system, S3, encrypting and compressing the captured data by using an advanced encryption standard AES to ensure data security, and applying a formula E=AES (D, K), wherein K is a secret key, and E is encrypted data. The invention ensures the safety of the data by encrypting the captured data by using an advanced encryption standard, reduces the consumption of storage space by compressing the encrypted data by adopting a GZIP algorithm, and enhances the capability of fault prediction and event analysis by introducing a machine learning algorithm and a deep learning algorithm.
Description
Technical Field
The invention relates to the technical field of computer system management, in particular to a solution method for session playback of an IPMI console.
Background
In current data center and server management environments, administrators often need to remotely access a server's console for troubleshooting and maintenance. Real-time monitoring of console session content can present difficulties due to network latency or connectivity issues.
Through retrieval, the application proposal of China patent application No. 202210579567.3 discloses a network equipment central control intelligent management system and a method, which are characterized by comprising a central control module, wherein the central control module comprises an anti-intrusion control unit, an asset management module, a network management module, an automatic task unit, a distributed terminal control module and a central control module, wherein the central control module is used for uniformly managing inlets of a plurality of data centers, and a user can perform central control management on the states, energy consumption, resource consumption and various instructions of the data centers. The method of the above patent has the disadvantage of having insufficient capabilities for fault prediction and event analysis and yet remains to be improved.
Disclosure of Invention
The invention aims to solve the defects in the prior art and provides a solution for session playback of an IPMI console.
In order to achieve the above purpose, the present invention adopts the following technical scheme:
A solution for IPMI console session playback, comprising:
S1, initializing a session:
when an administrator initiates an IPMI session, the system initializes an empty data structure D for storing session data;
s2, capturing session data:
Monitoring an IPMI interface in real time by the system, and capturing all input and output data streams;
S3, data encryption and compression:
the method comprises the steps of encrypting captured data by using an advanced encryption standard AES to ensure data security, applying a formula E=AES (D, K), wherein K is a secret key, E is the encrypted data, and compressing the encrypted data by adopting a GZIP algorithm to reduce storage space consumption;
S4, data storage:
Storing the compressed data C in persistent storage equipment;
s5, session playback:
When a playback session is required, loading compressed data C from a storage device, applying a decompression algorithm formula D=GZIP (-1) (C) to obtain original encrypted data E, and using an AES decryption algorithm formula D=AES (-1) (E, K) to obtain original session data;
S6, data processing and playback:
The received data are sequenced and formatted to ensure the correctness of the playback sequence, and the playback speed is synchronized by using the time stamp information T to ensure that the playback speed is consistent with the original session;
s7, performance optimization and intelligent algorithm application:
The method comprises the steps of implementing a caching mechanism, reducing frequent disk read-write operations, improving data loading efficiency, parallel processing data decryption and decompression by using a multithreading technology, optimizing playback starting time, introducing a machine learning algorithm to perform pattern recognition on session data, automatically classifying and marking key events, analyzing historical session data by using a deep learning algorithm, and predicting potential system faults and maintenance requirements;
S8, data insight and report:
And extracting keywords in the session by applying a natural language processing algorithm to generate an operation log abstract.
Preferably, in the step S1, the initializing the session specifically includes:
When an administrator initiates a remote session through IPMI, the system automatically generates a unique session ID;
creating an empty data structure D for the session ID for storing session data;
Initializing the timestamp logger ensures that each event in the session can be accurately logged.
Preferably, in the step S2, capturing session data specifically includes:
the system configures a network interface and monitors IPMI requests and responses in real time;
for each request and response, recording a time stamp, and storing session data and metadata thereof into a data structure D;
it is ensured that the captured data includes text commands, execution results and any error information.
Preferably, in the step S3, the data encryption and compression specifically includes:
using AES encryption algorithm to encrypt the captured data by adopting a key K;
the formula e=aes (D, K) is applied, where E represents an encrypted data block;
and the GZIP compression algorithm is applied to E, so that the data size is reduced, and the storage and the transmission are convenient.
Preferably, in the step S4, the data storage specifically includes:
Storing the compressed data C in persistent storage equipment;
Indexing each session ID with a corresponding data file for quick retrieval;
And the stored data is backed up regularly, so that the data is prevented from being lost.
Preferably, in the step S5, the session playback specifically includes:
when a playback session is required, the user selects a specific session ID through an interface;
loading compressed data C from a storage device and applying GZIP decompression algorithm formula d=gzip (-1) (C);
the original session data is obtained using the AES decryption algorithm formula d=aes (-1) (E, K).
Preferably, in the step S6, the data processing and playback specifically includes:
the received data are sequenced and formatted, and are synchronized according to the time stamp information T;
Ensuring that the data is played back according to the real sequence of the occurrence of the session;
and calculating playback performance in real time, and ensuring no delay play.
Preferably, in the step S7, the data insight and report specifically includes:
generating a system use condition and a performance report through analysis of playback data;
extracting keywords in the session by using a natural language processing algorithm to generate an operation log abstract;
visual data analysis results are provided, so that an administrator is helped to better understand the running state of the system;
The key words are extracted based on TF-IDF, and the specific formula is as follows:
Wherein:
w is a word;
d is a document;
D is the collection of all documents;
TF (w, d) is the frequency of word w in document d;
N is the total number of documents in the document collection;
the |{ D ε D: w ε D } | is the number of documents containing word w.
Preferably, in the step S7, the application of the performance optimization and intelligent algorithm is specifically as follows:
the caching mechanism is implemented, so that frequent disk read-write operations are reduced, and the data loading efficiency is improved;
data decryption and decompression are processed in parallel by using a multithreading technology, and playback starting time is optimized;
Introducing a machine learning algorithm to perform pattern recognition on session data, and automatically classifying and marking key events;
the historical session data is analyzed using a deep learning algorithm to predict potential system failures and maintenance requirements.
Preferably, in the performance optimization and intelligent algorithm application, when the mode identification is performed, the performance optimization and intelligent algorithm application is performed based on a support vector machine, specifically:
Wherein:
x is an input vector, i.e., a feature vector of the current session data;
x i is the eigenvector of the ith training data point;
y i is the class label of the ith training data point;
a i is Lagrangian multiplier, obtained by training;
k (x i, x) is a kernel function used to calculate the similarity between two data points;
b is a bias term for the decision boundary;
n is the number of training samples.
The beneficial effects of the invention are as follows:
1. the invention ensures the safety of the data by encrypting the captured data by using an advanced encryption standard, reduces the consumption of storage space by compressing the encrypted data by adopting a GZIP algorithm, and enhances the capability of fault prediction and event analysis by introducing a machine learning algorithm and a deep learning algorithm.
2. The invention improves the data loading efficiency and the playback starting time by implementing a caching mechanism and a multithreading technology, and generates a system service condition and a performance report by analyzing the playback data.
Drawings
Fig. 1 is a flowchart of a solution for session playback of an IPMI console according to the present invention.
Detailed Description
The technical scheme of the invention is further described in detail below with reference to the specific embodiments.
Example 1:
A solution for IPMI console session playback, comprising:
S1, initializing a session:
when an administrator initiates an IPMI session, the system initializes an empty data structure D for storing session data;
s2, capturing session data:
Monitoring an IPMI interface in real time by the system, and capturing all input and output data streams;
S3, data encryption and compression:
the method comprises the steps of encrypting captured data by using an advanced encryption standard AES to ensure data security, applying a formula E=AES (D, K), wherein K is a secret key, E is the encrypted data, and compressing the encrypted data by adopting a GZIP algorithm to reduce storage space consumption;
S4, data storage:
storing the compressed data C in a persistent storage device, such as a hard disk or SSD;
s5, session playback:
When a playback session is required, loading compressed data C from a storage device, applying a decompression algorithm formula D=GZIP (-1) (C) to obtain original encrypted data E, and using an AES decryption algorithm formula D=AES (-1) (E, K) to obtain original session data;
S6, data processing and playback:
The received data are sequenced and formatted to ensure the correctness of the playback sequence, and the playback speed is synchronized by using the time stamp information T to ensure that the playback speed is consistent with the original session;
s7, data insight and report:
and extracting keywords in the session by applying a Natural Language Processing (NLP) algorithm to generate an operation log abstract.
In S1, the initializing the session specifically includes:
When an administrator initiates a remote session through IPMI, the system automatically generates a unique session ID;
creating an empty data structure D for the session ID for storing session data;
Initializing the timestamp logger ensures that each event in the session can be accurately logged.
In S2, capturing session data specifically includes:
the system configures a network interface and monitors IPMI requests and responses in real time;
for each request and response, recording a time stamp, and storing session data and metadata thereof into a data structure D;
it is ensured that the captured data includes text commands, execution results and any error information.
In S3, the data encryption and compression specifically includes:
using AES encryption algorithm to encrypt the captured data by adopting a key K;
the formula e=aes (D, K) is applied, where E represents an encrypted data block;
and the GZIP compression algorithm is applied to E, so that the data size is reduced, and the storage and the transmission are convenient.
In S4, the data storage specifically includes:
storing the compressed data C in a persistent storage device, such as a hard disk or SSD;
Indexing each session ID with a corresponding data file for quick retrieval;
And the stored data is backed up regularly, so that the data is prevented from being lost.
In the step S5, the session playback specifically includes:
when a playback session is required, the user selects a specific session ID through an interface;
loading compressed data C from a storage device and applying GZIP decompression algorithm formula d=gzip (-1) (C);
the original session data is obtained using the AES decryption algorithm formula d=aes (-1) (E, K).
In the step S6, the data processing and playback specifically includes:
the received data are sequenced and formatted, and are synchronized according to the time stamp information T;
Ensuring that the data is played back according to the real sequence of the occurrence of the session;
and calculating playback performance in real time, and ensuring no delay play.
In S7, the data insight and report specifically includes:
generating a system use condition and a performance report through analysis of playback data;
extracting keywords in the session by using a natural language processing algorithm to generate an operation log abstract;
visual data analysis results are provided, so that an administrator is helped to better understand the running state of the system;
The key words are extracted based on TF-IDF, and the specific formula is as follows:
Wherein:
w is a word;
d is a document;
D is the collection of all documents;
TF (w, d) is the frequency of word w in document d;
N is the total number of documents in the document collection;
the |{ D ε D: w ε D } | is the number of documents containing word w.
Example 2:
A solution for IPMI console session playback, comprising:
S1, initializing a session:
when an administrator initiates an IPMI session, the system initializes an empty data structure D for storing session data;
s2, capturing session data:
Monitoring an IPMI interface in real time by the system, and capturing all input and output data streams;
S3, data encryption and compression:
the method comprises the steps of encrypting captured data by using an advanced encryption standard AES to ensure data security, applying a formula E=AES (D, K), wherein K is a secret key, E is the encrypted data, and compressing the encrypted data by adopting a GZIP algorithm to reduce storage space consumption;
S4, data storage:
storing the compressed data C in a persistent storage device, such as a hard disk or SSD;
s5, session playback:
When a playback session is required, loading compressed data C from a storage device, applying a decompression algorithm formula D=GZIP (-1) (C) to obtain original encrypted data E, and using an AES decryption algorithm formula D=AES (-1) (E, K) to obtain original session data;
S6, data processing and playback:
The received data are sequenced and formatted to ensure the correctness of the playback sequence, and the playback speed is synchronized by using the time stamp information T to ensure that the playback speed is consistent with the original session;
s7, performance optimization and intelligent algorithm application:
The method comprises the steps of performing a caching mechanism, reducing frequent disk read-write operations, improving data loading efficiency, using a multithreading technology to process data decryption and decompression in parallel, optimizing playback starting time, introducing a machine learning algorithm to perform pattern recognition on session data, automatically classifying and marking key events such as login failure, configuration change and the like, analyzing historical session data by using the deep learning algorithm, and predicting potential system faults and maintenance requirements;
S8, data insight and report:
and extracting keywords in the session by applying a Natural Language Processing (NLP) algorithm to generate an operation log abstract.
In S7, the application of the performance optimization and intelligent algorithm is specifically:
the caching mechanism is implemented, so that frequent disk read-write operations are reduced, and the data loading efficiency is improved;
data decryption and decompression are processed in parallel by using a multithreading technology, and playback starting time is optimized;
Introducing a machine learning algorithm to perform pattern recognition on session data, and automatically classifying and marking key events such as login failure, configuration change and the like;
the historical session data is analyzed using a deep learning algorithm to predict potential system failures and maintenance requirements.
During pattern recognition, the pattern recognition is performed based on a support vector machine, for example, recognition of key events such as login failure or configuration change is specifically:
Wherein:
x is an input vector, i.e., a feature vector of the current session data;
x i is the eigenvector of the ith training data point;
y i is the class label of the ith training data point;
a i is Lagrangian multiplier, obtained by training;
k (x i, x) is a kernel function used to calculate the similarity between two data points;
b is a bias term for the decision boundary;
n is the number of training samples.
When analyzing historical session data and predicting potential system faults and maintenance requirements, the method is realized based on a long-term and short-term memory network, and specifically comprises the following steps:
ht=LSTM(xt,ht-1,ct-1)
Wherein:
x t is the input at time t;
h t is the hidden state at time t;
h t-1 is the hidden state at time t-1;
c t-1 is the cell state at time t-1.
The foregoing is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art, who is within the scope of the present invention, should make equivalent substitutions or modifications according to the technical scheme of the present invention and the inventive concept thereof, and should be covered by the scope of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202411271573.8A CN119211001B (en) | 2024-09-11 | 2024-09-11 | Solution method for session playback of IPMI console |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202411271573.8A CN119211001B (en) | 2024-09-11 | 2024-09-11 | Solution method for session playback of IPMI console |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN119211001A true CN119211001A (en) | 2024-12-27 |
| CN119211001B CN119211001B (en) | 2025-11-07 |
Family
ID=94043241
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202411271573.8A Active CN119211001B (en) | 2024-09-11 | 2024-09-11 | Solution method for session playback of IPMI console |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN119211001B (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH06214832A (en) * | 1993-01-20 | 1994-08-05 | Nippon Telegr & Teleph Corp <Ntt> | Terminal work history reproducing device |
| US6188831B1 (en) * | 1997-01-29 | 2001-02-13 | Fuji Xerox Co., Ltd. | Data storage/playback device and method |
| CN110321300A (en) * | 2019-05-20 | 2019-10-11 | 中国船舶重工集团公司第七一五研究所 | A kind of implementation method of signal processing data high-speed record and playback module |
| CN110704505A (en) * | 2019-09-23 | 2020-01-17 | 广州海颐信息安全技术有限公司 | Method and device for searching and replaying historical privileged sessions |
| US20200396304A1 (en) * | 2019-06-13 | 2020-12-17 | FullStory, Inc. | Synchronized console data and user interface playback |
| CN114449353A (en) * | 2020-11-02 | 2022-05-06 | 胡露有限责任公司 | Session-based adaptive playback profile decision for video streams |
-
2024
- 2024-09-11 CN CN202411271573.8A patent/CN119211001B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH06214832A (en) * | 1993-01-20 | 1994-08-05 | Nippon Telegr & Teleph Corp <Ntt> | Terminal work history reproducing device |
| US6188831B1 (en) * | 1997-01-29 | 2001-02-13 | Fuji Xerox Co., Ltd. | Data storage/playback device and method |
| CN110321300A (en) * | 2019-05-20 | 2019-10-11 | 中国船舶重工集团公司第七一五研究所 | A kind of implementation method of signal processing data high-speed record and playback module |
| US20200396304A1 (en) * | 2019-06-13 | 2020-12-17 | FullStory, Inc. | Synchronized console data and user interface playback |
| CN110704505A (en) * | 2019-09-23 | 2020-01-17 | 广州海颐信息安全技术有限公司 | Method and device for searching and replaying historical privileged sessions |
| CN114449353A (en) * | 2020-11-02 | 2022-05-06 | 胡露有限责任公司 | Session-based adaptive playback profile decision for video streams |
Also Published As
| Publication number | Publication date |
|---|---|
| CN119211001B (en) | 2025-11-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112148518A (en) | Log file processing method, apparatus, computer equipment and storage medium | |
| CN116167370B (en) | Anomaly detection method for distributed systems based on log spatiotemporal feature analysis | |
| US11416506B2 (en) | Facilitating temporal data management for anomalous state detection in data centers | |
| JP4911530B2 (en) | Surveillance system, system program, and recording medium recording the program | |
| CN111046022A (en) | Database auditing method based on big data technology | |
| CN107409134B (en) | Forensic Analysis Methods | |
| CN117614849A (en) | A multimedia resource sharing method and system based on home network | |
| CN112380922B (en) | Method, device, computer equipment and storage medium for determining multiple video frames | |
| CN118735749A (en) | A data management method for a teaching service platform based on cloud services | |
| CN113691390B (en) | A cloud-coordinated edge node alarm system and method | |
| CN117971623A (en) | Data operation and maintenance method, device, equipment and medium | |
| CN111884883A (en) | Quick auditing processing method for service interface | |
| CN119211001B (en) | Solution method for session playback of IPMI console | |
| CN111352814A (en) | Operation abnormal behavior identification method, device, storage medium and electronic device | |
| CN113382268B (en) | Live broadcast anomaly analysis method, live broadcast anomaly analysis device, computer equipment and storage medium | |
| CN114722240A (en) | Video classification method and system for screen recording audit of bastion machine | |
| CN111817867A (en) | Method and system for multi-log collaborative analysis in distributed environment | |
| CN110909380B (en) | A kind of abnormal file access behavior monitoring method and device | |
| CN119668895A (en) | Event notification method, device, computer equipment and readable storage medium | |
| CN119719062A (en) | Voice platform full-link log management analysis method and system | |
| US20240283989A1 (en) | System and method for improving media playback response time in contact centers | |
| CN118760694A (en) | End-to-end verified anti-electricity theft electronic data extraction and fixation method and system | |
| CN118075279A (en) | Data room historical data security protection method, system, equipment and storage medium | |
| CN117539739A (en) | User continuous behavior anomaly monitoring method based on double features | |
| CN119691708B (en) | Method and system for safety management of video and audio files |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |