IP Library Granted Patent US 11,740,955
Granted Patent B2
US 11,740,955 · App. 16/872,012 · Granted Aug 29, 2023

Method, electronic device, and computer program product for extracting fault information from log files

Inventors: Adona Li Sun (Chengdu, CN); Qingxiao Zheng (Chengdu, CN); Bing Bai (Chengdu, CN); Sager Liao (Chengdu, CN); Beryl Wang (Chengdu, CN); Jing Wang (Chengdu, CN)
Assignee: EMC IP HOLDING COMPANY LLC
G06F11/079G06F11/0751G06F11/0778G06F16/245G06F40/279G06F40/30
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,740,955
App. No.
16/872,012
Granted
Aug 29, 2023
Kind
B2
Abstract

Embodiments of the present disclosure relate to a method for providing log information, an electronic device, and a computer program product. A method for providing log information includes: determining a first set of semantic segments including fault information from multiple semantic segments into which a set of log files of a target system is divided; extracting key information specific to the target system from the first set of semantic segments; determining, based on the extracted key information, an application scenario involved in the fault information and at least one log file related to the application scenario in the set of log files; determining a second set of semantic segments including the key information from multiple semantic segments into which the at least one log file is divided; and providing the first set of semantic segments and the second set of semantic segments by highlighting the fault information and the key information in the first set of semantic segments and the second set of semantic segments. The embodiments of the present disclosure contribute to improving the efficiency of a user in locating the cause of a system fault, thereby improving user satisfaction.

Claims (91)

1. A method for providing log information, comprising:

predefining one or more application scenarios, each application scenario including a service operation type and at least one component associated with an application scenario;

determining, by a processor, a first set of semantic segments comprising fault information from multiple semantic segments into which a set of log files of a target system is divided, each semantic segment of the first set of semantic segments including a text unit having a same subject or similar semantics;

extracting, by the processor, key information specific to the target system from the first set of semantic segments;

determining, by the processor, based on the extracted key information, an application scenario of the one or more application scenarios involved in the fault information and at least one log file of the set of log files related to the application scenario, comprising:

searching the first set of semantic segments for keywords related to a service operation type including a backup operation, a replication operation, or a restore operation;

determining the service operation type related to the application scenario;

identifying the application scenario based on the service operation type and the extracted key information;

determining, based on at least one component associated with the application scenario and a lookup table, at least one log location in which the at least one log file is involved in the application scenario; and

determining the at least one log file related to the application scenario based on the at least one log location;

generating a fault profile related to the application scenario based on a fault code extracted from the first set of semantic segments;

determining, by the processor, a second set of semantic segments comprising the key information from multiple semantic segments into which the at least one log file is divided; and

providing, by the processor, the fault profile, the first set of semantic segments of the set of log files of the target system and the second set of semantic segments of the at least one log file of the set of log files by highlighting the fault information and the key information in the first set of semantic segments and the second set of semantic segments.

2. The method according to claim 1 , further comprising:

acquiring multiple log files from corresponding log locations predefined for multiple components in the target system;

obtaining the set of log files by filtering the multiple log files according to a predefined time period, the set of log files including the set of log files that have been modified recently; and

analyzing the set of log files to mine the key information and intercept key segments from a long log file.

3. The method according to claim 1 , further comprising:

dividing, based on a text segmentation algorithm, each log file in the set of log files into at least one semantic segment.

4. The method according to claim 1 , wherein determining the first set of semantic segments comprises:

searching the multiple semantic segments into which the set of log files is divided for a fault keyword; and

determining the first set of semantic segments based on a search result such that each semantic segment in the first set of semantic segments comprises the fault keyword.

5. The method according to claim 1 , wherein extracting the key information from the first set of semantic segments comprises:

extracting the key information shared among multiple components of the target system from the first set of semantic segments.

6. The method according to claim 1 , wherein extracting the key information specific to the target system from the first set of semantic segments comprises:

extracting the key information by searching the first set of semantic segments for at least one keyword indicating a type of the key information.

7. The method according to claim 1 , wherein determining the application scenario comprises:

determining, based on the extracted key information, a service operation type related to the application scenario; and

identifying the application scenario based on the service operation type and the key information.

8. The method according to claim 7 , wherein determining the at least one log file comprises:

determining at least one component related to the service operation type from multiple components of the target system; and

determining the at least one log file associated with the at least one component from the set of log files.

9. The method according to claim 7 , further comprising:

extracting a fault code related to the application scenario from the first set of semantic segments;

generating a fault profile related to the application scenario based on the service operation type, the key information, and the fault code; and

providing the fault profile while providing the first set of semantic segments and the second set of semantic segments.

10. An electronic device, comprising:

a processor; and

a memory coupled to the processor and storing instructions for execution by the processor, wherein the instructions, when executed by the processor, cause the electronic device to perform actions, the actions comprising:

predefining one or more application scenarios, each application scenario including a service operation type and at least one component associated with an application scenario;

determining a first set of semantic segments comprising fault information from multiple semantic segments into which a set of log files of a target system is divided, each semantic segment of the first set of semantic segments including a text unit having a same subject or similar semantics;

extracting key information specific to the target system from the first set of semantic segments;

determining, based on the extracted key information, an application scenario of the one or more application scenarios involved in the fault information and at least one log file of the set of log files related to the application scenario, comprising:

searching the first set of semantic segments for keywords related to a service operation type including a backup operation, a replication operation, or a restore operation;

determining the service operation type related to the application scenario;

identifying the application scenario based on the service operation type and the extracted key information;

determining, based on at least one component associated with the application scenario and a lookup table, at least one log location in which the at least one log file is involved in the application scenario; and

determining the at least one log file related to the application scenario based on the at least one log location;

generating a fault profile related to the application scenario based on a fault code extracted from the first set of semantic segments;

determining a second set of semantic segments comprising the key information from multiple semantic segments into which the at least one log file is divided; and

providing the fault profile, the first set of semantic segments of the set of log files of the target system and the second set of semantic segments of the at least one log file of the set of log files by highlighting the fault information and the key information in the first set of semantic segments and the second set of semantic segments.

11. The electronic device according to claim 10 , wherein the actions further comprise:

acquiring multiple log files from corresponding log locations predefined for multiple components in the target system;

obtaining the set of log files by filtering the multiple log files according to a predefined time period, the set of log files including the set of log files that have been modified recently; and

analyzing the set of log files to mine the key information and intercept key segments from a long log file.

12. The electronic device according to claim 10 , wherein the actions further comprise:

dividing, based on a text segmentation algorithm, each log file in the set of log files into at least one semantic segment.

13. The electronic device according to claim 10 , wherein determining the first set of semantic segments comprises:

searching the multiple semantic segments into which the set of log files is divided for a fault keyword; and

determining the first set of semantic segments based on a search result such that each semantic segment in the first set of semantic segments comprises the fault keyword.

14. The electronic device according to claim 10 , wherein extracting the key information from the first set of semantic segments comprises:

extracting the key information shared among multiple components of the target system from the first set of semantic segments.

15. The electronic device according to claim 10 , wherein extracting the key information specific to the target system from the first set of semantic segments comprises:

extracting the key information by searching the first set of semantic segments for at least one keyword indicating a type of the key information.

16. The electronic device according to claim 10 , wherein determining the application scenario comprises:

determining, based on the extracted key information, a service operation type related to the application scenario; and

identifying the application scenario based on the service operation type and the key information.

17. The electronic device according to claim 16 , wherein determining the at least one log file comprises:

determining at least one component related to the service operation type from multiple components of the target system; and

determining the at least one log file associated with the at least one component from the set of log files.

18. The electronic device according to claim 16 , wherein the actions further comprise:

extracting a fault code related to the application scenario from the first set of semantic segments;

generating a fault profile related to the application scenario based on the service operation type, the key information, and the fault code; and

providing the fault profile while providing the first set of semantic segments and the second set of semantic segments.

19. A computer program product tangibly stored in a computer storage medium and comprising machine-executable instructions that, when executed by a device, cause the device to perform actions, the actions comprising:

predefining one or more application scenarios, each application scenario including a service operation type and at least one component associated with an application scenario;

determining a first set of semantic segments comprising fault information from multiple semantic segments into which a set of log files of a target system is divided, each semantic segment of the first set of semantic segments including a text unit having a same subject or similar semantics;

extracting key information specific to the target system from the first set of semantic segments;

determining, based on the extracted key information, an application scenario of the one or more application scenarios involved in the fault information and at least one log file of the set of log files related to the application scenario, comprising:

searching the first set of semantic segments for keywords related to a service operation type including a backup operation, a replication operation, or a restore operation;

determining the service operation type related to the application scenario;

identifying the application scenario based on the service operation type and the extracted key information;

determining, based on at least one component associated with the application scenario and a lookup table, at least one log location in which the at least one log file is involved in the application scenario; and

determining the at least one log file related to the application scenario based on the at least one log location;

generating a fault profile related to the application scenario based on a fault code extracted from the first set of semantic segments;

determining a second set of semantic segments comprising the key information from multiple semantic segments into which the at least one log file is divided; and

providing the fault profile, the first set of semantic segments of the set of log files of the target system and the second set of semantic segments of the at least one log file of the set of log files by highlighting the fault information and the key information in the first set of semantic segments and the second set of semantic segments.

20. The computer program product according to claim 19 , wherein the actions further comprise:

acquiring multiple log files from corresponding log locations predefined for multiple components in the target system;

obtaining the set of log files by filtering the multiple log files according to a predefined time period, the set of log files including the set of log files that have been modified recently; and

analyzing the set of log files to mine the key information and intercept key segments from a long log file.

Assignments (9)
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (053578/0183) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 060332/0864 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (053574/0221) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 060333/0001 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (053573/0535) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 060333/0106 →
RELEASE OF SECURITY INTEREST AT REEL 053531 FRAME 0108 Recorded Nov 2, 2021
From: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 058001/0371 →
SECURITY INTEREST Recorded Aug 21, 2020
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 053578/0183 →
SECURITY INTEREST Recorded Aug 21, 2020
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 053573/0535 →
SECURITY INTEREST Recorded Aug 21, 2020
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 053574/0221 →
SECURITY AGREEMENT Recorded Aug 18, 2020
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
Reel/Frame 053531/0108 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 11, 2020
From: SUN, ADONA LI; ZHENG, QINGXIAO; BAI, BING; LIAO, SAGER; WANG, BERYL; WANG, JING
To: EMC IP HOLDING COMPANY LLC
Reel/Frame 052628/0289 →