Alarm processing method and device based on large model

By constructing an agent operation and maintenance knowledge graph and determining the target agent, the problem of low efficiency of the BERT model when processing alarm information is solved, and the efficient processing of alarm information of high concurrent and large-scale data is achieved.

CN119398158AActive Publication Date: 2025-02-07WEBANK (CHINA)
View PDF 18 Cites 0 Cited by

Patent Information

Application Number
CN202411479578.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-23
Publication Date
2025-02-07
Estimated Expiration
2044-10-23

AI Technical Summary

Technical Problem

The existing BERT models lack universality in processing alarm information and need to be adjusted and trained for different data sets, resulting in low processing efficiency and difficult to cope with the processing needs of high concurrency and large-scale data.

Method used

Using a large model-based alarm processing method, by obtaining alarm information and building an agent operation and maintenance knowledge graph, the target agent corresponding to the alarm entity is determined, and the target agent is activated to process the alarm information.

Benefits of technology

It improves the efficiency of alarm information processing, reduces computing power consumption, and can find the agent corresponding to alarm information more quickly, adapting to the processing needs of high concurrency and large-scale data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119398158A_ABST
    Figure CN119398158A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an alarm processing method and device based on a large model, the method and device are applied to an alarm processing system with a plurality of agents, each agent is used for processing alarm information of a corresponding scene, and the method comprises the following steps: obtaining at least one piece of alarm information; inputting the first prompt word into the large model to obtain an alarm entity corresponding to the at least one piece of alarm information; the first prompt word comprises description information of each entity and at least one piece of alarm information; each piece of entity description information is obtained by processing a second cue word through a large model; the second prompt word comprises basic information of each operation and maintenance object and basic information of each agent; determining a target agent corresponding to the alarm entity based on the agent operation and maintenance knowledge graph; the agent operation and maintenance knowledge graph is obtained by processing a second cue word through a large model; the agent operation and maintenance knowledge graph represents the incidence relation between the operation and maintenance object and the agent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of large models, and in particular to a method and device for alarm processing based on large models. Background Art

[0002] In today's information society, the rapid growth and complexity of data have brought new challenges to information processing, understanding and application.

[0003] Currently, the BERT model processes warning information based on its own text understanding ability, but the BERT model is not universal. For different data sets, the BERT model needs to be adjusted and trained accordingly before it can be used normally. If the number of data sets is large, then a corresponding number of BERT models need to be trained, and they can only be used normally after training. This will result in low efficiency in processing warning information and make it difficult to cope with high concurrency and large-scale data processing requirements.

[0004] In summary, how to improve the efficiency of processing alarm information is a technical problem that needs to be solved urgently. Summary of the invention

[0005] The embodiment of the present invention provides a method and device for alarm processing based on a large model, so as to solve the problem of low efficiency in processing alarm information in existing memory.

[0006] In a first aspect, an embodiment of the present invention provides a method for alarm processing based on a large model, which is applied to an alarm processing system having multiple intelligent agents, each agent being used to process alarm information of a corresponding scenario, and the method comprises: obtaining at least one alarm information; inputting a first prompt word into the large model to obtain an alarm entity corresponding to at least one alarm information; the first prompt word comprises description information of each entity and at least one alarm information; the description information of each entity is obtained by processing a second prompt word by the large model; the second prompt word comprises basic information of each operation and maintenance object and basic information of each agent; based on the agent operation and maintenance knowledge graph, determining a target agent corresponding to the alarm entity; the agent operation and maintenance knowledge graph is obtained by processing the second prompt word by the large model; the agent operation and maintenance knowledge graph represents the association relationship between the operation and maintenance object and the agent; activating the target agent to process the corresponding alarm information.

[0007] In the above technical solution, the concept of an alarm processing system including multiple agents is introduced. Each agent is responsible for processing alarm information in a specific scenario. In this way, first, the agent operation and maintenance knowledge graph is constructed through a large model to extract the association relationship between the agent and the operation and maintenance object. Then, the alarm information and the operation and maintenance object are associated through the large model to obtain the alarm entity. Then, combined with the agent operation and maintenance knowledge graph, the alarm is associated with the agent to determine the activated agent, thereby reducing a large amount of computing power and finding the agent corresponding to the alarm information more quickly and conveniently, so as to facilitate the subsequent processing of the alarm information according to the agent.

[0008] Optionally, the second prompt word also includes a first description format of entity description information; the big model's processing of the second prompt word includes: based on the basic information of each operation and maintenance object and the basic information of each agent in the second prompt word, obtaining, through the big model, entity description information that conforms to the first description format; the first description format includes an entity name, an entity type, and an entity description.

[0009] Optionally, the second prompt word also includes a second description format of the agent operation and maintenance knowledge graph and a first operation instruction for obtaining the agent operation and maintenance knowledge graph through each entity description information; after obtaining each entity description information that conforms to the first description format, it also includes: according to the first operation instruction, the large model obtains the agent operation and maintenance knowledge graph that conforms to the second description format through each entity description information; the second description format includes taking the agent as the source entity, the operation and maintenance object as the target entity, and a description of the operation and maintenance relationship between the source entity and the target entity.

[0010] Optionally, activating a target agent to process corresponding alarm information includes: building a chat room corresponding to the target agent based on a multicast mechanism; and any target agent performs collaborative processing of the alarm information through the chat room.

[0011] Optionally, based on the agent operation and maintenance knowledge graph, the target agent corresponding to the alarm entity is determined, including: for any alarm entity, if the alarm entity is an operation and maintenance object in the agent operation and maintenance knowledge graph, the activation coefficient of the alarm entity is set to a first value; if the alarm entity is an agent in the agent operation and maintenance knowledge graph, the activation coefficient of the alarm entity is set to a second value; the second value is higher than the first value; the activation value of the agent is determined according to the activation coefficients of each alarm entity pointing to the same agent; and the agent whose activation value meets the activation condition is determined as the target agent.

[0012] Optionally, the first prompt word also includes a third description format; the first prompt word is input into the large model to obtain an alarm entity corresponding to at least one alarm information, including: the first prompt word is input into the large model to obtain alarm description information that conforms to the third description format; the third description format includes the alarm entity as the alarm source, and the first correlation strength between the alarm entity and the alarm information; according to the activation coefficient of each alarm entity pointing to the same agent, the activation value of the agent is determined, including: for any alarm entity, according to the first correlation strength of the alarm entity and the activation coefficient of the alarm entity, the target value of the alarm entity is determined; according to the target value of each alarm entity pointing to the same agent, the activation value of the agent is determined.

[0013] Optionally, it also includes: if the alarm entity is not an operation and maintenance object or agent in the agent operation and maintenance knowledge graph, determining the similarity between the alarm entity and the basic information of each agent; setting the similarity that meets the set threshold as the activation coefficient of the alarm entity; determining the target value of the alarm entity according to the first association strength of the alarm entity and the activation coefficient of the alarm entity, including: determining the target value of the alarm entity according to the first association strength of the alarm entity, the default association strength of the non-entity and the activation coefficient of the alarm entity.

[0014] Optionally, the second description format also includes a second association strength, which is used to characterize the strength of the operation and maintenance relationship between the source entity and the target entity; determining the target value of the alarm entity based on the first association strength of the alarm entity and the activation coefficient of the alarm entity, including: determining the target value of the alarm entity based on the first association strength of the alarm entity, the second association strength corresponding to the alarm entity in the agent operation and maintenance knowledge graph, and the activation coefficient of the alarm entity.

[0015] Optionally, the activation value of the agent is determined according to the target value of each alarm entity pointing to the same agent, including: for the host agent, the convergence value of the host agent is determined according to the degree of aggregation of each alarm entity pointing to the host agent in the physical machine, rack and computer room; the activation value of the agent is determined according to the target value of each alarm entity pointing to the host agent and the convergence value of the host agent.

[0016] In a second aspect, an alarm processing device based on a large model is provided in an embodiment of the present invention, which is applied to an alarm processing system having multiple intelligent agents, each agent being used to process alarm information of a corresponding scene, and includes: an acquisition unit, used to acquire at least one alarm information; a processing unit, used to input a first prompt word into the large model to obtain an alarm entity corresponding to at least one alarm information; the first prompt word includes description information of each entity and at least one alarm information; the description information of each entity is obtained by processing the second prompt word by the large model; the second prompt word includes basic information of each operation and maintenance object and basic information of each agent; based on the agent operation and maintenance knowledge graph, determining the target agent corresponding to the alarm entity; the agent operation and maintenance knowledge graph is obtained by processing the second prompt word by the large model; the agent operation and maintenance knowledge graph represents the association relationship between the operation and maintenance object and the agent; activating the target agent to process the corresponding alarm information.

[0017] Optionally, the second prompt word also includes a first description format of the entity description information; the processing unit is specifically used to: based on the basic information of each operation and maintenance object and the basic information of each agent in the second prompt word, obtain the entity description information that conforms to the first description format through a large model; the first description format includes an entity name, an entity type and an entity description.

[0018] Optionally, the second prompt word also includes a second description format of the agent operation and maintenance knowledge graph and a first operation instruction for obtaining the agent operation and maintenance knowledge graph through the description information of each entity; the processing unit is also used for: according to the first operation instruction, the large model obtains the agent operation and maintenance knowledge graph that conforms to the second description format through the description information of each entity; the second description format includes taking the agent as the source entity, the operation and maintenance object as the target entity, and a description of the operation and maintenance relationship between the source entity and the target entity.

[0019] Optionally, the processing unit is specifically used to: construct a chat room corresponding to the target agent based on the multicast mechanism; and any target agent performs collaborative processing of the alarm information through the chat room.

[0020] Optionally, the processing unit is specifically used to: for any alarm entity, if the alarm entity is an operation and maintenance object in the agent operation and maintenance knowledge graph, set the activation coefficient of the alarm entity to a first value; if the alarm entity is an agent in the agent operation and maintenance knowledge graph, set the activation coefficient of the alarm entity to a second value; the second value is higher than the first value; determine the activation value of the agent according to the activation coefficients of each alarm entity pointing to the same agent; determine the agent whose activation value meets the activation condition as the target agent.

[0021] Optionally, the first prompt word also includes a third description format; the processing unit is specifically used to: input the first prompt word into the large model to obtain alarm description information that conforms to the third description format; the third description format includes the alarm entity as the alarm source, and the first correlation strength between the alarm entity and the alarm information; determine the activation value of the agent according to the activation coefficient of each alarm entity pointing to the same agent, including: for any alarm entity, determine the target value of the alarm entity according to the first correlation strength of the alarm entity and the activation coefficient of the alarm entity; determine the activation value of the agent according to the target value of each alarm entity pointing to the same agent.

[0022] Optionally, the processing unit is also used to: if the alarm entity is not an operation and maintenance object or agent in the agent operation and maintenance knowledge graph, determine the similarity between the alarm entity and the basic information of each agent; set the similarity that meets the set threshold as the activation coefficient of the alarm entity; the processing unit is specifically used to: determine the target value of the alarm entity according to the first association strength of the alarm entity, the default association strength of the non-entity and the activation coefficient of the alarm entity.

[0023] Optionally, the second description format also includes a second association strength, which is used to characterize the strength of the operation and maintenance relationship between the source entity and the target entity; the processing unit is specifically used to determine the target value of the alarm entity according to the first association strength of the alarm entity, the second association strength corresponding to the alarm entity in the agent operation and maintenance knowledge graph, and the activation coefficient of the alarm entity.

[0024] Optionally, the processing unit is specifically used to: for the host agent, determine the convergence value of the host agent according to the degree of aggregation of each alarm entity pointing to the host agent in the physical machine, rack and computer room; determine the activation value of the agent according to the target value of each alarm entity pointing to the host agent and the convergence value of the host agent.

[0025] In a third aspect, an embodiment of the present application further provides a computing device, comprising: a memory for storing programs; a processor for calling the programs stored in the memory, and executing a method for alarm processing based on a large model as in the first aspect according to the obtained program.

[0026] In a fourth aspect, an embodiment of the present application further provides a computer-readable non-volatile storage medium, comprising a computer-readable program. When a computer reads and executes the computer-readable program, the computer executes a method of alarm processing based on a large model as in the first aspect.

[0027] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes a computer program stored on a computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer device, the computer device executes the steps of a method for alarm processing based on a large model in the above-mentioned first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0029] Figure 1 A flowchart of a method for alarm processing based on a large model provided by an embodiment of the present invention;

[0030] Figure 2 A flow chart of a method for determining a target agent provided by an embodiment of the present invention;

[0031] Figure 3 A flow chart of a method for determining an activation value of an agent provided by an embodiment of the present invention;

[0032] Figure 4 A flow chart of a method for determining an activation value of a host agent provided by an embodiment of the present invention;

[0033] Figure 5 A flow chart of a method for constructing a chat room corresponding to an agent provided in an embodiment of the present invention;

[0034] Figure 6 A schematic diagram of the structure of a device for alarm processing based on a large model provided by an embodiment of the present invention;

[0035] Figure 7 A schematic diagram of the structure of a computing device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0036] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0037] In today's information society, the rapid growth and complexity of data have brought new challenges to information processing. Traditional single servers or centralized systems often have difficulty in coping with the processing needs of high concurrency and large-scale data. Therefore, distributed systems and concurrent processing technologies have emerged. For example, the Go language has attracted widespread attention due to its efficient concurrent model.

[0038] On the other hand, the development of artificial intelligence and machine learning enables the system to automatically learn and predict, improving the intelligent level of data processing, but a single model is difficult to cope with the processing requirements of high concurrency and large-scale data. Therefore, an embodiment of the present invention provides a method for alarm processing based on a large model to solve the problem that a single model is difficult to cope with the processing requirements of high concurrency and large-scale data.

[0039] like Figure 1 As shown, it is a flow chart of a method for alarm processing based on a large model provided by an embodiment of the present invention, and the method comprises the following steps:

[0040] Step 101: Obtain at least one alarm information.

[0041] In an embodiment of the present invention, the alarm processing system includes multiple agents, wherein the agent is used to process the alarm information of the corresponding scene. In one possible case, when an alarm occurs, the alarm information is processed by activating all agents, but there is a problem. Although the alarm information is only associated with one of the agents, since the existing technology cannot associate the alarm information with the agent, it is still necessary to activate all agents to correspond to the alarm information, which will waste a lot of computing power. Therefore, the embodiment of the present invention needs to first determine which agents to activate, and then process the alarm information through the activated agents. Therefore, it is necessary to first obtain at least one alarm information to facilitate the subsequent association and determination based on the alarm information.

[0042] Step 102: input the first prompt word into the large model to obtain at least one alarm entity corresponding to the alarm information.

[0043] In an embodiment of the present invention, a first prompt word is input into a large model, and an alarm entity corresponding to at least one alarm message is output, wherein the first prompt word includes description information of each entity and at least one alarm message, and the description information of each entity is obtained by processing the second prompt word by the large model, and the second prompt word includes basic information of each operation and maintenance object and basic information of each agent.

[0044] Step 103: Determine the target agent corresponding to the alarm entity based on the agent operation and maintenance knowledge graph.

[0045] In the embodiment of the present invention, before step 102, the second prompt word is input into the large model, and the description information of each entity and the agent operation and maintenance knowledge graph are output. The agent operation and maintenance knowledge graph represents the association relationship between the operation and maintenance object and the agent. Based on the agent operation and maintenance knowledge graph, the target agent corresponding to the alarm entity is determined, wherein the target agent has an association relationship with the alarm entity, and therefore, the target agent is the agent that needs to be activated.

[0046] Step 104: activating the target agent to process the corresponding alarm information.

[0047] In the embodiment of the present invention, the target agent is activated to process the corresponding alarm information, so that the agent is activated in a targeted manner to process the corresponding alarm information without wasting a lot of computing power.

[0048] It can be seen from the above steps 101 to 104 that the concept of an alarm processing system including multiple agents is introduced, and each agent is responsible for processing alarm information of a specific scenario. In this case, first, the agent operation and maintenance knowledge graph is constructed through a large model to extract the association relationship between the agent and the operation and maintenance object, and then the alarm information and the operation and maintenance object are associated through the large model to obtain the alarm entity. Then, combined with the agent operation and maintenance knowledge graph, the alarm is associated with the agent to determine the activated agent, thereby reducing a large amount of computing power and finding the agent corresponding to the alarm information more quickly and conveniently, so as to facilitate the subsequent processing of the alarm information according to the agent.

[0049] In the embodiment of the present invention, some alarm information can be directly associated with the agent, but some alarm information is relatively low-level and can be associated with the operation and maintenance object, but cannot be directly associated with the agent. Therefore, the association relationship between the operation and maintenance object and the agent is first determined, that is, the agent operation and maintenance knowledge graph, and then the association relationship between the alarm information and the entity is determined, so as to determine the alarm entity, where the entity can be the operation and maintenance object or the agent, and then the corresponding target agent is determined according to the alarm entity, so that the alarm information can be processed by activating the target agent.

[0050] The following describes how to build an agent operation and maintenance knowledge graph.

[0051] Optionally, the second prompt word is input into the big model, and the entity description information conforming to the first description format is output, wherein the second prompt word includes the basic information of each operation and maintenance object, the basic information of each agent, the first description format of the entity description information, the second description format of the agent operation and maintenance knowledge graph, the first operation instruction of obtaining the agent operation and maintenance knowledge graph through each entity description information, and the second operation instruction of obtaining each entity description information. The first description format includes the entity name, entity type, and entity description. The second description format includes the agent as the source entity, the operation and maintenance object as the target entity, the operation and maintenance relationship description between the source entity and the target entity, and the second association strength. The second association strength is used to characterize the strength of the operation and maintenance relationship between the source entity and the target entity. For example, if the alarm processing system includes a host indicator agent, a micro-agent, and a DBagent, then the prompt is input into the big model to obtain the agent operation and maintenance knowledge graph. The prompt of the big model below is as follows:

[0052] Prompt starts:

[0053] #You are an operation and maintenance knowledge graph AI assistant, and need help abstracting the basic information of the following operation and maintenance objects and the basic information of each agent into the description information of each entity and the agent operation and maintenance knowledge graph.

[0054] ##Target:

[0055] Given the basic information of each operation and maintenance object and each agent, identify all entities of these types and all relationships between the identified entities from the text.

[0056] ##Basic information of the operation and maintenance object:

[0057] First-level entity types: host indicators, business indicators, WeChat, database, network, middleware, and capacity anomalies.

[0058] Secondary entity type: Host metrics include host-type entities such as cpu, io, and disk.

[0059] Business indicators include a decrease in success rate, an increase in time delay, a sudden drop in transaction volume, and a transaction volume drop to zero.

[0060] WeChat includes WeChat jitter and Tencent Cloud anomalies.

[0061] Capacity anomalies include sudden increase in transaction volume and insufficient tdsql space.

[0062] Among them, the first-level entity type is a summary of the second-level entity type.

[0063] ##step:

[0064] 1. You need to think step by step.

[0065] 2. You only need to identify the entities related to operation and maintenance. The entities include agents and operation and maintenance objects.

[0066] 3. Identify all entities. For each identified entity, extract the following information:

[0067] (1).entity_name:Entity name.

[0068] (2).entity_type: entity type. You can select one primary entity type and multiple secondary entity types, separated by commas.

[0069] (3).entity_description: Description of the entity.

[0070] Each entity output is formatted as JSON using the following format:

[0071] {{"entity_name":<entity name> ,"entity_type": <type>,"entity_description":<entity description>}}

[0072] 4. From the entities identified in step 3, identify all pairs (source_entity, target_entity) that are "significantly related" to each other. For each pair of related entities, extract the following information:

[0073] (1).source_entity: source entity, which is a specific agent.

[0074] (2).target_entity: target entity, which refers to the specific operation and maintenance objects.

[0075] (3).relationship_description: Explain why you think the source entity and target entity are related to each other.

[0076] (4).relationship_strength: Integer form, ranging from 1 to 10, named as the second association strength, which is used to indicate the strength of the relationship between the source entity and the target entity.

[0077] {{"source_entity":<source_entity> ,"target_entity":<target_entity> ,"relationship_description":<relationship_description> ,"relationship_strength":<relationship_strength>}}

[0078] 5. Each agent needs to be a source_entity.

[0079] Here are the actual data:

[0080] Basic information of each agent:

[0081] 1. tdsql agent, determines whether the tdsql database is healthy and whether the program error is caused by DB abnormality.

[0082] 2. WeChat agent is used to determine whether there are any abnormalities in the WeChat of external partners.

[0083] 3. Host identification agent, used to determine whether the application host is healthy, including disk, CPU, IO, and memory.

[0084] The prompt ends.

[0085] It should be noted that the first description format of the entity description information is {{"entity_name":<entity name> ,"entity_type": <type>,"entity_description": <entitydescription>}}.

[0086] The second description format of the agent operation and maintenance knowledge graph is {{"source_entity":<source_entity> ,"target_entity":<target_entity> ,"relationship_description":<relationship_description> ,"relationship_strength":<relationship_strength>}}

[0087] The first operation instructions for obtaining the agent operation and maintenance knowledge graph based on entity description information are steps 1, 2 and 3.

[0088] The second operation instructions for obtaining description information of each entity are steps 4 and 5.

[0089] The large model outputs the description information of each entity and the agent operation and maintenance knowledge graph based on the input information in the prompt. The description information of each entity is as follows:

[0090] {"entity_name":"tdsql agent","entity_type":"Database","entity_description":"Judge whether the tdsql database is healthy and whether the program error is caused by DB abnormality."},

[0091] {"entity_name":"DB exception","entity_type":"Database","entity_description":"The program error may be caused by DB exception."},

[0092] {"entity_name":"WeChat agent","entity_type":"WeChat","entity_description":"Judge whether the external partner's WeChat is abnormal."},

[0093] {"entity_name":"Host identification agent","entity_type":"Host indicators","entity_description":"Judge whether the application host is healthy, including disk, cpu, io, and memory."},

[0094] {"entity_name":"Disk","entity_type":"Host indicator","entity_description":"A host-type indicator determined by the host identification agent."},

[0095] {"entity_name":"cpu","entity_type":"Host indicator","entity_description":"A host-type indicator determined by the host identification agent."},

[0096] {"entity_name":"io","entity_type":"Host indicator","entity_description":"A host-type indicator determined by the host identification agent."},

[0097] {"entity_name":"Memory","entity_type":"Host Metric","entity_description":"A host-type metric determined by the host identification agent."}.

[0098] The agent operation and maintenance knowledge graph is as follows:

[0099] {"source_entity": "tdsql agent", "target_entity": "DB exception", "relationship_description": "The tdsql agent is used to determine whether the database is healthy and whether program errors are caused by DB exceptions.", "relationship_strength": 8}, {"source_entity": "Host identification agent", "target_entity": "Disk", "relationship_description": "When the host identification agent determines the health of the host, it includes the disk.", "relationship_strength": 7}, {"source_entity": "Host identification agent", "target_entity": "cpu", "relationship_description": "When the host identification agent determines the health of the host, it includes the cpu.", "relationship_strength": 7}, {"source_entity": "Host identification agent", "target_entity": "io", "relationship_description": "When the host identification agent determines the health of the host, it includes the io.", "relationship_strength": 7}, {"source_entity": "Host identification agent", "target_entity": "Memory", "relationship_description": "When the host identification agent determines the health of the host, it includes the memory.", "relationship_strength": 7}

[0100] {"source_entity": "WeChat agent", "target_entity": "WeChat", "relationship_description": "The WeChat agent is responsible for determining whether the external partner WeChat is abnormal, so it has a direct functional relationship with WeChat.", "relationship_strength": 8}

[0101] The entity description information and the agent operation and maintenance knowledge graph are determined by the large model, so as to determine the association relationship between each entity and the agent. Then, the association relationship between the alarm information and the entity is determined according to the large model, so that the alarm information can be associated with the agent. The following introduces how to determine the association relationship between the alarm information and the entity according to the large model.

[0102] Optionally, the first prompt word is input into the large model to obtain alarm description information that conforms to a third description format, wherein the third description format includes an alarm entity as an alarm source and a first correlation strength between the alarm entity and the alarm information. The first prompt word includes description information of each entity, at least one alarm information, and a third operation instruction for obtaining the alarm description information that conforms to the third description format. The third description format includes an alarm entity as an alarm source and a first correlation strength between the alarm entity and the alarm information.

[0103] For example, suppose there are three alarms in the current system, namely CPU alarm, IO alarm, and WeChat jitter. Then put the alarm information and entity description information into the prompt and start to initiate a request to the big model. The prompt of the big model is as follows:

[0104] Prompt Start

[0105] #You are an AI assistant in the operation and maintenance knowledge graph, and need help abstracting the alarm information and entity description information to find the relationship between the alarm information and the entity.

[0106] ##Target:

[0107] Given warning information and entity description information that may be relevant to the task, identify all entities of these types from the text, as well as the first relationship strength between the warning information and the entity, from 1-10.

[0108] ##Description of each entity:

[0109] {"entity_name":"tdsql agent","entity_type":"Database","entity_description":"Judge whether the tdsql database is healthy and whether the program error is caused by DB abnormality."},

[0110] {"entity_name":"DB exception","entity_type":"Database","entity_description":"The program error may be caused by DB exception."},

[0111] {"entity_name":"WeChat agent","entity_type":"WeChat","entity_description":"Judge whether the external partner's WeChat is abnormal."},

[0112] {"entity_name":"Host identification agent","entity_type":"Host indicators","entity_description":"Judge whether the application host is healthy, including disk, cpu, io, and memory."},

[0113] {"entity_name":"Disk","entity_type":"Host indicator","entity_description":"A host-type indicator determined by the host identification agent."},

[0114] {"entity_name":"cpu","entity_type":"Host indicator","entity_description":"A host-type indicator determined by the host identification agent."},

[0115] {"entity_name":"io","entity_type":"Host indicator","entity_description":"A host-type indicator determined by the host identification agent."},

[0116] {"entity_name":"Memory","entity_type":"Host Metric","entity_description":"A host-type metric determined by the host identification agent."}

[0117] ##step

[0118] 1. You need to think step by step.

[0119] 2. You only need to identify entities related to operations and maintenance.

[0120] 3. For the alarm information and each entity, extract the following information:

[0121] (1).source_entity: source entity, which is each entity in the entity description information

[0122] (2).target_entity: target entity, which is the alarm information

[0123] (3) relationship_strength: integer value ranging from 1 to 10, indicating the strength of the second relationship between the alarm information and each entity.

[0124] {"source_entity":<source_entity> ,"relationship_strength":<relationship_strengt h>}

[0125] The warning information is as follows:

[0126] 1. [major[Panic] host indicator alarm]

[0127] Alarm content: CPU usage is greater than 90%.

[0128] 2. [major[Panic] keyword error warning]

[0129] Alarm content: Request to WeChat / api / wx / xxx interface is abnormal

[0130] 3.[Minor alarm io high]

[0131] Alarm content: io util is greater than 30%.

[0132] prompt ends

[0133] It should be noted that the large model outputs alarm description information that conforms to the third description format, where the alarm description information is as follows:

[0134] {"source_entity":"cpu","relationship_strength":10},

[0135] {"source_entity":"WeChat agent","relationship_strength":8},

[0136] {"source_entity":"io","relationship_strength":6}

[0137] The third operation instruction includes steps 1-3.

[0138] From the above examples, we can see that the alarm entities output by the large model are cpu, WeChat agent and io, and then the target agent can be determined from each agent based on the alarm entity.

[0139] like Figure 2 FIG. 1 is a flow chart of a method for determining a target agent provided by an embodiment of the present invention, and the method comprises the following steps:

[0140] Step 201, determining the activation coefficient of each alarm entity.

[0141] In an embodiment of the present invention, if the alarm entity is an operation and maintenance object in the agent operation and maintenance knowledge graph, the activation coefficient of the alarm entity is set to a first value. If the alarm entity is an agent in the agent operation and maintenance knowledge graph, the activation coefficient of the alarm entity is set to a second value; the second value is higher than the first value. For example, if the alarm entity is cpu, WeChat agent, io. Where cpu and io are operation and maintenance objects in the agent operation and maintenance knowledge graph, the activation coefficient of the alarm entity is set to a first value, where the first value is 0.8. WeChat agent is an agent in the agent operation and maintenance knowledge graph, and the activation coefficient of the alarm entity is set to a second value, where the second value is 1.

[0142] Step 202: Determine the activation value of the agent according to the activation coefficients of the alarm entities pointing to the same agent.

[0143] In the embodiment of the present invention, Figure 3 FIG. 1 is a flow chart of a method for determining an activation value of an agent provided by an embodiment of the present invention, the method comprising the following steps:

[0144] Step 301: for any alarm entity, a target value of the alarm entity is determined according to the first association strength of the alarm entity and the activation coefficient of the alarm entity.

[0145] In an embodiment of the present invention, in one possible case, the alarm entities are all operation and maintenance objects or agents in the agent operation and maintenance knowledge graph, and the target value of the alarm entity is determined according to the first association strength of the alarm entity, the second association strength of the alarm entity and the activation coefficient of the alarm entity.

[0146] For example, if the alarm entity is cpu, where cpu is the operation and maintenance object in the agent operation and maintenance knowledge graph, the target value of the alarm entity is determined according to formula 1, as shown in formula 1:

[0147] Target value of alarm entity = first association strength of alarm entity * second association strength of alarm entity * activation coefficient of alarm entity Formula 1

[0148] Then if the first association strength of cpu is 10, the second association strength of cpu is 7, and the activation coefficient of cpu is 0.8, then the target value of cpu = 10*7*0.8 = 56.

[0149] To give another example, if the alarm entity is WeChat agent, where WeChat agent is the agent of the agent operation and maintenance knowledge graph, the first association strength of WeChat agent is 8, the second association strength of WeChat agent is 8, and the activation coefficient of WeChat agent is 1, then the target value of WeChat agent = 8*8*1 = 64.

[0150] In another possible case, if the alarm entity is not an operation and maintenance object or agent in the agent operation and maintenance knowledge graph, determine the similarity between the alarm entity and the basic information of each agent; set the similarity that meets the set threshold as the activation coefficient of the alarm entity. Determine the target value of the alarm entity based on the first association strength of the alarm entity, the default association strength of the non-entity, and the activation coefficient of the alarm entity.

[0151] For example, if the alarm entity is a WeChat reminder, and WeChat reminder is not an operation and maintenance object or agent in the agent operation and maintenance knowledge graph, then the similarity between the alarm entity and the basic information of each agent is determined based on the description of WeChat reminder and each agent, and then the similarity that meets the set threshold is set as the activation coefficient of the alarm entity. The similarity between WeChat reminder and the basic information of WeChat agent is 0.54, the similarity between WeChat reminder and the basic information of DBagent is 0.33, and the similarity between WeChat reminder and the basic information of host indicator agent is 0.32. Among them, the similarity between WeChat agent and WeChat reminder is the highest, which meets the set threshold. Then the target value of WeChat reminder is determined according to Formula 2, as shown in Formula 2:

[0152] Target value of alarm entity = first association strength of alarm entity * default association strength of non-entity * activation coefficient of alarm entity Formula 2

[0153] The first association strength of WeChat reminder is 7, the default association strength of non-entity is 4, and the activation coefficient of the alarm entity is 0.54, so the target value of WeChat reminder is 7*4*0.54=15.12.

[0154] Step 302: Determine the activation value of the agent according to the target values ​​of the alarm entities pointing to the same agent.

[0155] In the embodiment of the present invention, for example, if the target value of cpu is 56, the target value of host index agent is 160, the target value of io is 33.6, the target value of WeChat agent is 64, and the target value of WeChat reminder is 15.12, then the target values ​​of each alarm entity pointing to the same agent are accumulated to obtain the activation value of the agent. The target values ​​of cpu, host index agent and io are accumulated to obtain the activation value of the host index agent, which is 249.6, and the target value of WeChat agent and the target value of WeChat reminder are accumulated to obtain the activation value of WeChat agent, which is 79.12.

[0156] It can be seen from the above steps 301 to 302 that by considering different ways of determining the target value of the alarm entity in different situations, it is possible to more accurately determine the target value of each alarm entity, and further more accurately determine the target value of the agent corresponding to the alarm entity.

[0157] Step 203: determine the agent whose activation value meets the activation condition as the target agent.

[0158] In the embodiment of the present invention, for example, if the activation condition is to activate one agent, then according to the activation values ​​of each agent, the agent with the highest activation value is taken as the target agent.

[0159] For another example, if the activation condition is to activate three agents, then based on the activation values ​​of each agent, the agent with the highest three-dimensional activation values ​​is taken as the target agent.

[0160] From the above steps 201 to 202, it can be seen that considering that the number of agents associated with the alarm information may be large, activating many agents at the same time will generate a lot of computing power. Therefore, the agent to be activated can be determined by calculating the activation value of each agent, so that the problem can be quickly located while reducing the number of agents activated at the same time.

[0161] like Figure 4 FIG. 1 is a flow chart of a method for determining an activation value of a host agent provided by an embodiment of the present invention, the method comprising the following steps:

[0162] Step 401 : for a host agent, the aggregation degree of each alarm entity pointing to the host agent in a physical machine, a rack and a computer room is determined to determine the convergence value of the host agent.

[0163] In the embodiment of the present invention, host indicators are divided into the following levels:

[0164] 1. Instance level (such as virtual machines, containers); 2. Physical machine level; 3. Rack level; 4. Computer room level.

[0165] The purpose is to confirm from a large number of alarms whether the alarm is a single instance failure or concentrated in certain physical units.

[0166] Optionally, when one-third of the instances in a physical machine have problems, the physical machine is marked as failed.

[0167] Optionally, when one-third of the physical machines in a rack have problems, the rack is marked as failed.

[0168] Optionally, when one-third of the racks in a computer room have problems, the computer room is marked as faulty.

[0169] Optionally, an embodiment of the present invention proposes a multi-dimensional dictionary structure for storing and processing host hierarchical information. The dictionary structure can effectively map instance information to corresponding hierarchical nodes.

[0170] The following are the specific steps to build the dictionary structure:

[0171] The first step is information collection: First, collect instance information, including instance name, physical machine number, rack, and computer room.

[0172] Step 2: Dictionary structure: Create a three-level dictionary, organized from largest to smallest physical unit:

[0173] {Computer room->Rack->Physical machine->Instance name->true / false}

[0174] The third step is the dictionary construction process:

[0175] a. Create a blank dictionary `A`, whose value is {}.

[0176] b. For each instance information, loop through it according to the following steps:

[0177] The following is the cycle process

[0178] (1). Check if the dictionary `A` has the corresponding computer room key. If not, create a new computer room entry in the format: computer room:{rack:{physical machine:{instance:false}}}

[0179] Then exit this loop. If it exists, set dictionary `B` to the value of the corresponding computer room in dictionary `A`.

[0180] (2) Check if the corresponding rack key exists in dictionary `B`. If not, create a new rack entry in the format: rack:{physical machine:{instance:false}}

[0181] Then exit this loop. If it exists, set dictionary `B` to the value of the corresponding rack in dictionary `B`.

[0182] (3) Check if the corresponding physical machine key exists in dictionary `B`. If not, create a new physical machine entry in the format of: physical machine:{instance:false}, and then exit this loop. If it exists, set the value of the corresponding key to `false`.

[0183] (4) If the key of the physical machine exists, then the dictionary A[computer room][rack][physical machine][instance name]=false is assigned.

[0184] At this point, one traversal is completed, and this process is repeated until all instances are traversed. The final dictionary structure is as follows: Dictionary A [computer room] [rack] [physical machine] [instance name], which is used to record and track the fault status of the host architecture, which helps to achieve efficient fault identification and location.

[0185] Optionally, the embodiment of the present invention realizes the identification of instance, physical machine, rack and computer room faults through multi-level traversal and alarm concentration analysis. The following describes the specific steps of locating alarm information to the instance, physical machine, rack and computer room:

[0186] In the first step, the warning score is calculated for each instance. If the warning score is greater than 2, the instance is marked as an abnormal instance.

[0187] In the second step, the alarm of dictionary A is activated, and the hierarchical structure of dictionary A (ie, each computer room, each rack, each physical machine and each instance) is traversed.

[0188] In the third step, if the alarm score of an instance is greater than 2, set `Dictionary A[computer room][rack][physical machine][instance name] = true.

[0189] The fourth step is to traverse the dictionary A, analyze the alarm concentration, and build the physical machine list L1 to be activated and the faulty rack list L0.

[0190] For example, suppose there are the following instances with alarms:

[0191] -Guangzhou-Rack2-PhysicalMachine3-gz-1

[0192] -Guangzhou-Rack2-PhysicalMachine3-gz-2

[0193] -Guangzhou-Rack2-PhysicalMachine3-gz-3

[0194] -Guangzhou-Rack2-PhysicalMachine5-gz-4

[0195] -Guangzhou-Rack 3-Physical Machine 6-gz-5

[0196] -Shanghai-Rack2-PhysicalMachine7-sh-1

[0197] Step 5: Physical machine fault detection:

[0198] a. Create a list of physical machines to be activated L1.

[0199] b. Loop through each rack level (rack name-physical machine dictionary).

[0200] c. At the physical machine level, if the alarm instance ratio is greater than 1 / 3, the physical machine name is added to the L1 list.

[0201] Here is an example:

[0202] a. Physical machine 3 in rack 2 in Guangzhou has three instances (gz-1, gz-2, gz-3), of which the alarm scores of gz-1 and gz-2 are greater than 2. Therefore, physical machine 3 is marked as a faulty physical machine and added to the L1 list.

[0203] b. Physical machine 5 of rack 2 in Guangzhou has one instance (gz-4) whose alarm score is greater than 2. Therefore, physical machine 5 is marked as a faulty physical machine and added to the L1 list.

[0204] The instances under Guangzhou-Rack 3-Physical Machine 6 and Shanghai-Rack 2-Physical Machine 7 do not reach 1 / 3, so they are not faulty physical machines. The L1 list result is: [Physical Machine 3, Physical Machine 5]

[0205] Step 6: Rack fault detection:

[0206] Create a faulty rack list L0.

[0207] If more than 1 / 3 of the physical machines in a rack are faulty, the rack name is added to the L0 list.

[0208] Here is an example:

[0209] Guangzhou rack 2 has three physical machines, all of which are faulty. Therefore, rack 2 is marked as a faulty rack and added to the L0 list.

[0210] Guangzhou rack 3 has no faulty physical machines and is not added to the L0 list.

[0211] The L0 list result is: [Rack 2]

[0212] Step 7: Computer room fault detection:

[0213] If more than 1 / 3 of the racks in a computer room are faulty, the computer room is marked as a faulty computer room.

[0214] Here is an example:

[0215] There are a total of 10 racks in the Guangzhou computer room. The L0 list contains one faulty rack (rack 2). The proportion of faulty racks is less than 1 / 3, so the Guangzhou computer room is marked as a normal computer room.

[0216] Through the above algorithm, the fault aggregation algorithm is only aggregated to the Guangzhou-Rack 2 level. Multi-level alarm score calculation and fault identification from the instance level to the computer room level are realized, and alarm information is efficiently managed and analyzed through a multi-dimensional dictionary structure.

[0217] When the alarm convergence can converge to the corresponding level, it means that the abnormality may be caused by a basic component failure, which will trigger the host entity and then assign the corresponding weight according to the convergence level.

[0218] For example, the weight value at the physical machine level is 8. The weight value at the rack level is 16. The weight value at the computer room level is 32.

[0219] Step 402: determining the activation value of the host agent according to the target value of each alarm entity directed to the host agent and the convergence value of the host agent.

[0220] In the embodiment of the present invention, the activation value of the host agent is determined by adding the target value of each alarm entity directed to the host agent to the convergence value of the host agent.

[0221] It can be seen from the above steps 401 to 402 that, considering that the alarm information of the host indicator may be related to the hardware, on the basis of determining the target value of each alarm entity pointing to the host agent, the convergence value of the hardware corresponding to the host indicator is added, so that the activation value of the host agent can be determined more comprehensively and accurately.

[0222] like Figure 5 As shown, it is a flow chart of a method for constructing a chat room corresponding to an agent provided by an embodiment of the present invention, and the method comprises the following steps:

[0223] Step 501: construct a chat room corresponding to the target agent based on the multicast mechanism.

[0224] In the embodiment of the present invention, the agent is encapsulated into an agent worker. The worker needs to receive two channels, one is the task channel, which is responsible for receiving messages, and the other is the results channel, which is responsible for processing the messages and passing them back.

[0225] In order to realize communication between agents, it is necessary to define a structure containing the following fields:

[0226] send: The name of the sender Agent.

[0227] receiver: The name of the receiver Agent. It can be empty, indicating that the message is sent to all Agents.

[0228] send_time: Sending time.

[0229] id: A unique ID generated.

[0230] Step 502: any target agent performs collaborative processing of alarm information through a chat room.

[0231] In the embodiment of the present invention, the following are specific steps for implementing a Channel-based chat room:

[0232] Create a new task channel list and result channel list.

[0233] Create a multicast process.

[0234] Loop through the task channel and result channel lists, pair them up, and then start the work agent's Ctrip.

[0235] a. Publishing topics: The publisher generates a topic (for example, what alarms are currently available), and uses a for loop to send the alarm information to all work agents through the task channel.

[0236] b. After each worker agent receives the task channel, it checks whether the Receiver field is itself (the default empty field means it is sent to everyone, that is, the agent chat room). If so, it starts the agent's logical processing.

[0237] c. After receiving the topic, each worker agent starts processing the topic and returns the processing results to the superior through the resultchannel.

[0238] d. Completion notification: After the worker agent completes the topic processing, it sends the completion result to the result channel.

[0239] e. Result integration: The publisher listens to the results of the result channel, and after receiving each returned result, it embeds the result into the prompt to check whether it meets the requirements. If not, it continues to ask questions to the subscriber.

[0240] At this point, the multi-agent processing is completed.

[0241] It can be seen from step 501 to step 502 that multicast is implemented by utilizing the high concurrency characteristic of go, and the agent list is calculated by the agent activation algorithm to realize dynamic scheduling of agents and automatic processing of alarms.

[0242] Based on the same technical concept, the embodiment of the present application provides a device for alarm processing based on a large model, such as Figure 6 As shown, the device 600 is applied to an alarm processing system with multiple intelligent agents, each agent is used to process the alarm information of the corresponding scene, including: an acquisition unit 601, used to acquire at least one alarm information; a processing unit 602, used to input the first prompt word into the large model to obtain an alarm entity corresponding to at least one alarm information; the first prompt word includes description information of each entity and at least one alarm information; the description information of each entity is obtained by processing the second prompt word by the large model; the second prompt word includes basic information of each operation and maintenance object and basic information of each agent; based on the agent operation and maintenance knowledge graph, the target agent corresponding to the alarm entity is determined; the agent operation and maintenance knowledge graph is obtained by processing the second prompt word by the large model; the agent operation and maintenance knowledge graph represents the association relationship between the operation and maintenance object and the agent; the target agent is activated to process the corresponding alarm information.

[0243] Optionally, the second prompt word also includes a first description format of the entity description information; the processing unit 602 is specifically used to: based on the basic information of each operation and maintenance object and the basic information of each agent in the second prompt word, obtain the entity description information that conforms to the first description format through a large model; the first description format includes an entity name, an entity type, and an entity description.

[0244] Optionally, the second prompt word also includes a second description format of the agent operation and maintenance knowledge graph and a first operation instruction for obtaining the agent operation and maintenance knowledge graph through the description information of each entity; the processing unit 602 is also used for: according to the first operation instruction, the large model obtains the agent operation and maintenance knowledge graph that conforms to the second description format through the description information of each entity; the second description format includes taking the agent as the source entity, the operation and maintenance object as the target entity, and a description of the operation and maintenance relationship between the source entity and the target entity.

[0245] Optionally, the processing unit 602 is specifically configured to: construct a chat room corresponding to the target agent based on a multicast mechanism; and any target agent performs collaborative processing of alarm information through the chat room.

[0246] Optionally, the processing unit 602 is specifically used to: for any alarm entity, if the alarm entity is an operation and maintenance object in the agent operation and maintenance knowledge graph, set the activation coefficient of the alarm entity to a first value; if the alarm entity is an agent in the agent operation and maintenance knowledge graph, set the activation coefficient of the alarm entity to a second value; the second value is higher than the first value; determine the activation value of the agent according to the activation coefficients of each alarm entity pointing to the same agent; determine the agent whose activation value meets the activation condition as the target agent.

[0247] Optionally, the first prompt word also includes a third description format; the processing unit 602 is specifically used to: input the first prompt word into the large model to obtain alarm description information that conforms to the third description format; the third description format includes the alarm entity as the alarm source, and the first correlation strength between the alarm entity and the alarm information; determine the activation value of the agent according to the activation coefficient of each alarm entity pointing to the same agent, including: for any alarm entity, determine the target value of the alarm entity according to the first correlation strength of the alarm entity and the activation coefficient of the alarm entity; determine the activation value of the agent according to the target value of each alarm entity pointing to the same agent.

[0248] Optionally, the processing unit 602 is also used to: if the alarm entity is not an operation and maintenance object or agent in the agent operation and maintenance knowledge graph, determine the similarity between the alarm entity and the basic information of each agent; set the similarity that meets the set threshold as the activation coefficient of the alarm entity; the processing unit 602 is specifically used to: determine the target value of the alarm entity according to the first association strength of the alarm entity, the default association strength of the non-entity and the activation coefficient of the alarm entity.

[0249] Optionally, the second description format also includes a second association strength, which is used to characterize the strength of the operation and maintenance relationship between the source entity and the target entity; the processing unit 602 is specifically used to determine the target value of the alarm entity according to the first association strength of the alarm entity, the second association strength corresponding to the alarm entity in the agent operation and maintenance knowledge graph, and the activation coefficient of the alarm entity.

[0250] Optionally, the processing unit 602 is specifically used to: for the host agent, determine the convergence value of the host agent according to the degree of aggregation of each alarm entity pointing to the host agent in the physical machine, rack and computer room; determine the activation value of the agent according to the target value of each alarm entity pointing to the host agent and the convergence value of the host agent.

[0251] Based on the same technical concept, the present application embodiment provides a computing device 700, such as Figure 7 As shown, it includes at least one processor 701 and a memory 702 connected to the at least one processor. The specific connection medium between the processor 701 and the memory 702 is not limited in the embodiment of the present application. Figure 7 For example, the processor 701 and the memory 702 are connected via a bus. The bus can be divided into an address bus, a data bus, a control bus, etc.

[0252] In the embodiment of the present application, the memory 702 stores instructions that can be executed by at least one processor 701. The at least one processor 701 can execute the steps of the above-mentioned large model-based alarm processing method by executing the instructions stored in the memory 702.

[0253] Among them, the processor 701 is the control center of the computing device, and various interfaces and lines can be used to connect various parts of the computing device, and the method of alarm processing based on the large model is processed by running or executing instructions stored in the memory 702 and calling data stored in the memory 702. Optionally, the processor 701 may include one or more processing units, and the processor 701 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor can also be integrated into the processor 701. In some embodiments, the processor 701 and the memory 702 can be implemented on the same chip, and in some embodiments, they can also be implemented separately on independent chips.

[0254] The processor 701 may be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application-specific integrated circuit (ASIC), a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the method for alarm processing based on a large model disclosed in the embodiments of the present application may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0255] The memory 702 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The memory 702 may include at least one type of storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (Random Access Memory, RAM), a static random access memory (Static Random Access Memory, SRAM), a programmable read-only memory (Programmable Read Only Memory, PROM), a read-only memory (Read Only Memory, ROM), an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a magnetic memory, a disk, an optical disk, etc. The memory 702 is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer device, but is not limited thereto. The memory 702 in the embodiment of the present application can also be a circuit or any other device that can realize a storage function, for storing program instructions and / or data.

[0256] Based on the same inventive concept, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program that can be executed by a computer device. When the program runs on the computer device, the computer device executes the steps of the above-mentioned large model-based alarm processing method.

[0257] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0258] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0259] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0260] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0261] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.< / entitydescription> < / type> < / type>

Claims

1. A method for alarm processing based on a large model, characterized in that: Applied to an alarm processing system having multiple intelligent agents, each agent is used to process alarm information of a corresponding scene, the method includes: Obtain at least one warning information; Input the first prompt word into the big model to obtain the alarm entity corresponding to the at least one alarm information; the first prompt word includes description information of each entity and the at least one alarm information; the description information of each entity is obtained by processing the second prompt word by the big model; the second prompt word includes basic information of each operation and maintenance object and basic information of each agent; Based on the agent operation and maintenance knowledge graph, determining the target agent corresponding to the alarm entity; the agent operation and maintenance knowledge graph is obtained by processing the second prompt word by the large model; the agent operation and maintenance knowledge graph represents the association relationship between the operation and maintenance object and the agent; The target agent is activated to process the corresponding alarm information.

2. The method according to claim 1, characterized in that The second prompt word also includes a first description format of entity description information; The processing of the second prompt word by the large model includes: Based on the basic information of each operation and maintenance object and the basic information of each agent in the second prompt word, the entity description information that conforms to the first description format is obtained through the large model; the first description format includes an entity name, an entity type and an entity description.

3. The method according to claim 2, characterized in that The second prompt word also includes a second description format of the agent operation and maintenance knowledge graph and a first operation instruction for obtaining the agent operation and maintenance knowledge graph through each entity description information; After obtaining the description information of each entity conforming to the first description format, the method further includes: According to the first operation instruction, the large model obtains the agent operation and maintenance knowledge graph conforming to the second description format through each entity description information; The second description format includes an agent as a source entity, an operation and maintenance object as a target entity, and a description of the operation and maintenance relationship between the source entity and the target entity.

4. The method according to claim 1, characterized in that Activating the target agent to process the corresponding alarm information includes: Based on the multicast mechanism, construct a chat room corresponding to the target agent; Any target agent performs collaborative processing of alarm information through the chat room.

5. The method according to any one of claims 1 to 4, characterized in that: Based on the agent operation and maintenance knowledge graph, the target agent corresponding to the alarm entity is determined, including: For any alarm entity, if the alarm entity is an operation and maintenance object in the agent operation and maintenance knowledge graph, the activation coefficient of the alarm entity is set to a first value; if the alarm entity is an agent in the agent operation and maintenance knowledge graph, the activation coefficient of the alarm entity is set to a second value; the second value is higher than the first value; Determine the activation value of the agent based on the activation coefficients of each alarm entity pointing to the same agent; The agent whose activation value meets the activation condition is determined as the target agent.

6. The method according to claim 5, characterized in that The first prompt word also includes a third description format; the first prompt word is input into the large model to obtain an alarm entity corresponding to the at least one alarm information, including: Inputting the first prompt word into the large model to obtain alarm description information conforming to the third description format; the third description format includes an alarm entity as an alarm source, and a first correlation strength between the alarm entity and the alarm information; The activation value of the agent is determined based on the activation coefficients of the alarm entities pointing to the same agent, including: For any alarm entity, determining a target value of the alarm entity according to a first association strength of the alarm entity and an activation coefficient of the alarm entity; The activation value of the agent is determined according to the target values ​​of each alarm entity pointing to the same agent.

7. The method according to claim 6, characterized in that Also includes: If the alarm entity is not an operation and maintenance object or agent in the agent operation and maintenance knowledge graph, determine the similarity between the alarm entity and the basic information of each agent; Setting the similarity that meets the set threshold as the activation coefficient of the alarm entity; Determining a target value of the alarm entity according to the first association strength of the alarm entity and the activation coefficient of the alarm entity includes: A target value of the alarm entity is determined according to the first association strength of the alarm entity, the default association strength of the non-entity, and the activation coefficient of the alarm entity.

8. The method according to claim 6, characterized in that The second description format also includes a second association strength, where the second association strength is used to characterize the strength of the operation and maintenance relationship between the source entity and the target entity; Determining a target value of the alarm entity according to the first association strength of the alarm entity and the activation coefficient of the alarm entity includes: The target value of the alarm entity is determined according to the first association strength of the alarm entity, the second association strength corresponding to the alarm entity in the agent operation and maintenance knowledge graph, and the activation coefficient of the alarm entity.

9. The method according to claim 6, characterized in that According to the target values ​​of each alarm entity pointing to the same agent, the activation value of the agent is determined, including: For the host agent, the aggregation degree of each alarm entity pointing to the host agent in the physical machine, rack and computer room is determined to determine the convergence value of the host agent; The activation value of the agent is determined according to the target value of each alarm entity pointing to the host agent and the convergence value of the host agent.

10. A device for alarm processing based on a large model, characterized in that: Applied to an alarm processing system with multiple intelligent agents, each of which is used to process the alarm information of the corresponding scenario, including: An acquisition unit, used to acquire at least one alarm information; A processing unit is used to input a first prompt word into a large model to obtain an alarm entity corresponding to the at least one alarm information; the first prompt word includes description information of each entity and the at least one alarm information; the description information of each entity is obtained by processing a second prompt word by the large model; the second prompt word includes basic information of each operation and maintenance object and basic information of each agent; based on an agent operation and maintenance knowledge graph, a target agent corresponding to the alarm entity is determined; the agent operation and maintenance knowledge graph is obtained by processing the second prompt word by the large model; the agent operation and maintenance knowledge graph represents the association relationship between the operation and maintenance object and the agent; and the target agent is activated to process the corresponding alarm information.

Citation Information

Patent Citations

  • Contact network system and data integration method thereof

    CN104615698A

  • Regional coverage and connectivity maintenance cluster control method based on knowledge embedding

    CN112203291A

  • Alarm analysis method and device based on knowledge graph

    CN115495587A

  • Fault diagnosis and analysis decision platform based on multiple agents

    CN115639801A

  • Coherent optical communication system optical domain pre-compensation method based on reinforcement learning

    CN116405124A