Operation and maintenance alarm method, device and equipment based on instant messaging platform

By establishing business groups in the instant messaging platform, operation and maintenance users can realize operation and maintenance query and processing by sending instruction messages, which solves the problem of low efficiency of traditional operation and maintenance methods, improves operation and maintenance efficiency and response speed, and meets the high requirements of the financial industry. Security and real-time requirements.

CN112491625BActive Publication Date: 2024-10-29WEBANK (CHINA)
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011380668.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-30
Publication Date
2024-10-29
Estimated Expiration
2040-11-30

AI Technical Summary

Technical Problem

The traditional operation and maintenance method requires frequent login to the server and execution of operations, resulting in long operation and maintenance time and low efficiency, making it difficult to meet the high security and real-time requirements of the financial industry.

Method used

Establish a business group corresponding to the business system in the instant messaging platform. The operation and maintenance user sends an instruction message, and the robot service account obtains and verifies the instruction message, obtains or performs operation and maintenance operations according to the category, and sends the results to the group to realize operation and maintenance. Inquiry and processing.

Benefits of technology

It simplifies operation and maintenance operations, improves operation and maintenance efficiency, reduces operation and maintenance time, and meets the efficient and rapid response needs of the financial industry.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112491625B_ABST
    Figure CN112491625B_ABST
Patent Text Reader

Abstract

The disclosed embodiment provides an operation and maintenance alarm method, device and equipment based on an instant messaging platform, the method comprising: obtaining a command message of any business group in the instant messaging platform, wherein the command message is obtained by a robot service number in the business group listening to a message sent by any user in the business group, and any business group is a group of any business system; verifying the command message, and if the command message verification succeeds, determining the category of the command message; obtaining query information corresponding to the command message and / or executing the operation and maintenance operation corresponding to the command message according to the category of the command message; and sending the query information and / or the processing results of the operation and maintenance operation to the business group of the instant messaging platform. The disclosed embodiment can simplify the operation and maintenance operations, save the operation and maintenance time, and improve the operation and maintenance efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the field of operation and maintenance technology of financial technology (Fintech), and in particular to an operation and maintenance alarm method, device and equipment based on an instant messaging platform. Background Art

[0002] With the development of computer technology, more and more technologies are applied in the financial field. The traditional financial industry is gradually transforming to financial technology (Fintech), and operation and maintenance technology is no exception. However, due to the security and real-time requirements of the financial industry, higher requirements are also placed on operation and maintenance technology. With the development of technology and market demand, network monitoring has continued to expand with the number of equipment types, and the difficulty of operation and maintenance has also continued to escalate. This not only makes the design of equipment software development and network management monitoring more difficult, but also easily causes the consumption of multiple personnel in later maintenance.

[0003] At present, the traditional operation and maintenance method is to use manual operation for monitoring and maintenance. Generally, the operation and maintenance personnel log in to the server to obtain necessary information or perform certain operation and maintenance operations. However, this method requires the operation and maintenance personnel to frequently log in to the server or frequently perform operation and maintenance operations, which makes the operation and maintenance time longer, the operation is cumbersome, and the operation and maintenance efficiency is low. Summary of the invention

[0004] The embodiments of the present disclosure provide an operation and maintenance alarm method, device and equipment based on an instant messaging platform, which can simplify operation and maintenance operations, save operation and maintenance time, and improve operation and maintenance efficiency.

[0005] In a first aspect, an embodiment of the present disclosure provides an operation and maintenance alarm method based on an instant messaging platform, comprising:

[0006] Obtaining a command message of any business group in the instant messaging platform, wherein the command message is obtained by a robot service number in the business group monitoring a message sent by any user in the business group, and the any business group is a group of any business system;

[0007] Verifying the instruction message, and if the instruction message verification succeeds, determining the category of the instruction message;

[0008] According to the category of the instruction message, obtaining query information corresponding to the instruction message, and / or performing operation and maintenance operations corresponding to the instruction message;

[0009] The query information and / or the processing result of the operation and maintenance operation are sent to the business group of the instant messaging platform.

[0010] In one possible design, the categories of the instruction message include message query instructions, monitoring alarm instructions, operation and maintenance processing instructions and operation guidance instructions; accordingly, obtaining query information corresponding to the instruction message and / or executing the operation and maintenance operation corresponding to the instruction message according to the category of the instruction message includes: if the category of the instruction message is a message query instruction, obtaining the operation and maintenance query information corresponding to the message query instruction from the operation and maintenance problem database; if the category of the instruction message is a monitoring alarm instruction, detecting the operation and maintenance status of the business system according to the monitoring alarm instruction, and obtaining the business system alarm query information; if the category of the instruction message is an operation and maintenance processing instruction, determining the operation and maintenance processing execution file corresponding to the operation and maintenance processing instruction, and executing the operation and maintenance processing execution file in the business system to complete the operation and maintenance operation; if the category of the instruction message is an operation guidance instruction, obtaining the operation query information corresponding to the operation guidance instruction from the operation guidance database.

[0011] In one possible design, the instruction message includes a business signature of the business group, wherein the business signature is generated based on an application identifier and an application key of a business system; accordingly, verifying the instruction message includes: obtaining the business signature in the instruction message; if the business signature satisfies a preset signature rule, determining that the instruction message verification is successful.

[0012] In one possible design, the method also includes: regularly detecting the operation status of any business system; when it is detected that the business system triggers an alarm, obtaining an alarm message of the business system; verifying the alarm message, and if the alarm message verification is successful, sending the alarm information to the business group in the communication platform corresponding to the business system.

[0013] In one possible design, when it is detected that the business system triggers an alarm, an alarm message of the business system is obtained, including: setting alarm conditions, alarm message content and alarm recipients according to customized alarm rules; when it is detected that an event in the business system triggers the alarm condition, an alarm message containing the alarm message content and the alarm recipient is generated.

[0014] In one possible design, the detection that the business system triggers the alarm condition includes: obtaining operating data of the business system; calculating a first distance between the operating data and a normal data cluster center, and a second distance between the operating data and an abnormal data cluster center; judging whether the operating data is abnormal data based on the first distance and the second distance; if so, triggering the alarm condition.

[0015] In one possible design, the method further includes: acquiring a sample set of normal data;

[0016] Determine k set cluster centers of the sample set of normal data, where k is a positive integer; and calculate the normal data cluster center of the sample set of normal data according to the sample set of normal data and the k set cluster centers.

[0017] In one possible design, the method further includes: obtaining a sample set of abnormal data; determining k set cluster centers of the sample set of abnormal data, where k is a positive integer; and calculating the abnormal data cluster center of the sample set of abnormal data based on the sample set of abnormal data and the k set cluster centers.

[0018] In one possible design, the method further includes: obtaining a question message from any business group in an instant messaging platform, wherein the question message is obtained by a robot service number in the business group by monitoring a message sent by any user in the business group, and the any business group is a group of any business system; verifying the question message, and if the verification of the question message is successful, determining a knowledge base corresponding to the business system; obtaining a question and answer result corresponding to the question message from the knowledge base; and sending the question and answer result to the business group of the instant messaging platform.

[0019] In a possible design, the method further includes: after obtaining the instruction message of any business group in the instant messaging platform, it also includes: if the appearance frequency of the same instruction message of the business group reaches a preset threshold, discarding the instruction message that appears later.

[0020] In a second aspect, the embodiment of the present disclosure provides an operation and maintenance alarm device based on an instant messaging platform, comprising:

[0021] An acquisition module, used to acquire a command message of any business group in the instant messaging platform, wherein the command message is obtained by a robot service number in the business group listening to a message sent by any user in the business group, and the any business group is a group of any business system;

[0022] A verification module, used to verify the instruction message, and if the instruction message verification succeeds, determine the category of the instruction message;

[0023] A processing module, used for obtaining query information corresponding to the instruction message and / or performing an operation and maintenance operation corresponding to the instruction message according to the category of the instruction message;

[0024] The sending module is used to send the query information and / or the processing result of the operation and maintenance operation to the business group of the instant messaging platform.

[0025] In a third aspect, an embodiment of the present disclosure provides an operation and maintenance alarm device based on an instant messaging platform, comprising: at least one processor and a memory;

[0026] The memory stores computer-executable instructions;

[0027] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the operation and maintenance alarm method based on the instant messaging platform as described in the first aspect and various possible designs of the first aspect.

[0028] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, in which computer execution instructions are stored. When a processor executes the computer execution instructions, an operation and maintenance alarm method based on an instant messaging platform as described in the first aspect and various possible designs of the first aspect is implemented.

[0029] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, including a computer program. When the computer program is executed by a processor, it implements the operation and maintenance alarm method based on the instant messaging platform as described in the first aspect and various possible designs of the first aspect.

[0030] The operation and maintenance alarm method, device and equipment based on the instant messaging platform provided by the embodiments of the present disclosure are based on the establishment of a business group corresponding to any business system in the instant messaging platform. Any operation and maintenance user sends operation and maintenance instruction information in the business group. The robot service number in the business group obtains the instruction message and submits it to the server. The server first verifies the instruction message. If the verification is successful, the category of the instruction message is determined; and according to the category of the instruction message, the query information corresponding to the instruction message is obtained, and / or the operation and maintenance operation corresponding to the instruction message is executed, and the query information and / or the operation and maintenance operation processing results are sent to the business group of the instant messaging platform to complete the user's operation and maintenance query or operation and maintenance processing operation. The operation and maintenance user only needs to send the instruction message in the instant messaging platform to obtain the query information of the operation and maintenance and perform the operation and maintenance operation processing. The operation is simple, the response time is fast, and the operation and maintenance efficiency is high. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0032] Figure 1A schematic diagram of the system architecture of an operation and maintenance alarm application based on an instant messaging platform provided in an embodiment of the present disclosure;

[0033] Figure 2 Schematic diagram of the operation and maintenance alarm method based on the instant messaging platform provided in the embodiment of the present disclosure Figure 1 ;

[0034] Figure 3 Schematic diagram of the operation and maintenance alarm method based on the instant messaging platform provided in the embodiment of the present disclosure Figure 2 ;

[0035] Figure 4 Schematic diagram of the process of the operation and maintenance alarm method based on the instant messaging platform provided in the embodiment of the present disclosure Figure 3 ;

[0036] Figure 5 A schematic diagram of the structure of an operation and maintenance alarm device based on an instant messaging platform provided in an embodiment of the present disclosure;

[0037] Figure 6 A schematic diagram of the hardware structure of an operation and maintenance alarm device based on an instant messaging platform provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0038] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.

[0039] The traditional operation and maintenance method is to use manual operation for monitoring and maintenance. Generally, the operation and maintenance personnel log in to the server to obtain necessary information or perform certain operation and maintenance operations. However, this method requires the operation and maintenance personnel to frequently log in to the server or perform operations, which makes the operation and maintenance time longer, the operation is cumbersome, and the operation and maintenance efficiency is low.

[0040] In order to solve the above technical problems, the present disclosure provides the following solution ideas: by establishing a business group corresponding to the business system in the instant messaging platform, the operation and maintenance user sends the operation and maintenance instruction information in the business group, and the robot service number in the business group obtains the instruction message and submits it to the background server. The server first verifies the instruction message. If the verification is successful, the category of the instruction message is determined; and according to the category of the instruction message, the query information corresponding to the instruction message is obtained, and / or the operation and maintenance operation corresponding to the instruction message is performed, and the query information and / or the operation and maintenance operation processing results are sent to the business group of the instant messaging platform to complete the user's operation and maintenance operation. The operation and maintenance user only needs to send the instruction message in the instant messaging platform, and can obtain the operation and maintenance query information and the results of the operation and maintenance operation processing through the server. This operation and maintenance method is simple to operate, fast to respond, and has high operation and maintenance efficiency.

[0041] Figure 1 This is a schematic diagram of the system architecture of the operation and maintenance alarm application based on the instant messaging platform provided in the embodiment of the present disclosure. Figure 1 As shown, the system provided in this embodiment includes a terminal 101 and a server 102. The terminal 101 may be a mobile phone, a tablet, a personal computer, etc. This embodiment does not impose any particular restrictions on the implementation of the terminal 101, as long as the terminal 101 can run the App of the instant messaging cloud platform and can interact with the user for input and output. The server 102 may be a single server or a cluster of several servers.

[0042] Figure 2 Schematic diagram of the process of the operation and maintenance alarm method based on the instant messaging platform provided in the embodiment of the present disclosure Figure 1 , the execution subject of this embodiment can be Figure 1 The server shown in the figure is not particularly limited in this embodiment. Figure 2 As shown, the method includes:

[0043] S201: Obtain a command message of any business group in the instant messaging platform, wherein the command message is obtained by a robot service number in the business group monitoring a message sent by any user in the business group, and any business group is a group of any business system.

[0044] In this embodiment, the instant messaging platform may be a commonly used instant messaging platform. The business group of the instant messaging platform is a business group established for a certain business system, and the business system is a system for operation and maintenance alarm monitoring by this group (for example, a certain financial business system). The members of the business group include operation and maintenance personnel users and robot service numbers. The robot service number is used to reply or respond to instruction messages about operation and maintenance sent by other operation and maintenance personnel users in the business group.

[0045] Different business groups can be established for different business systems, and each business group includes the robot service number corresponding to the business system.

[0046] In one embodiment of the present disclosure, the robot service number can also independently receive private messages of instruction messages sent by any operation and maintenance personnel in the instant messaging platform.

[0047] S202: Verify the instruction message. If the instruction message verification succeeds, determine the type of the instruction message.

[0048] In this embodiment, the instruction message is verified to determine whether the instruction message contains the permission to use the robot service number.

[0049] Specifically, the instruction message includes a business signature of the business group, wherein the business signature is generated based on an application identifier and an application key of a business system; accordingly, the verification of the instruction message includes: obtaining the business signature in the instruction message; if the business signature satisfies a preset signature rule, it is determined that the instruction message verification is successful.

[0050] Among them, the preset signature rules are the commonly used digital signature authentication process, which will not be repeated here.

[0051] In this embodiment, in the robot management platform in the server side, different robot service numbers are obtained by registering different business systems, and then the business groups of each robot service number are obtained. The instruction information in each business group carries the business signature of the business group generated according to the application identifier (Appid) and application key (Appscret) of the business system.

[0052] Among them, the business signature is generated according to the application identification (Appid) and application key (Appscret) corresponding to the business system through certain encryption rules.

[0053] By encrypting the application identification and application key of each business system, the business signature of each business system is unique when subsequent operation and maintenance alarms are issued. When different business systems perform verification, their business signatures are different, avoiding all business systems from sharing the same business signature and improving the security of system operation and maintenance.

[0054] S203: According to the category of the instruction message, query information corresponding to the instruction message is obtained, and / or an operation and maintenance operation corresponding to the instruction message is executed.

[0055] Specifically, the categories of the instruction messages include message query instructions, monitoring alarm instructions, operation and maintenance processing instructions, and operation guidance instructions; accordingly, obtaining query information corresponding to the instruction message and / or performing the operation and maintenance operation corresponding to the instruction message according to the category of the instruction message includes:

[0056] S2031: If the category of the instruction message is a message query instruction, then obtain operation and maintenance query information corresponding to the message query instruction from the operation and maintenance problem database.

[0057] In this embodiment, the operation and maintenance query information is obtained by querying common operation and maintenance message problems, so as to avoid the operation and maintenance personnel from repeating common operation and maintenance problems of nodes.

[0058] S2032: If the type of the instruction message is a monitoring alarm instruction, the operation and maintenance status of the business system is detected according to the monitoring alarm instruction, and business system alarm query information is obtained.

[0059] In this embodiment, the operation and maintenance problems of the business system are detected by monitoring the alarm instructions, and the alarm query information is obtained.

[0060] S2033: If the category of the instruction message is an operation and maintenance processing instruction, an operation and maintenance processing execution file corresponding to the operation and maintenance processing instruction is determined, and the operation and maintenance processing execution file is executed in the business system to complete the operation and maintenance operation.

[0061] In this embodiment, the operation and maintenance processing execution file may be a URL (Uniform Resource Locator) file or a URL.

[0062] Specifically, by calling a URL file or executing a script file, restarting a service, cleaning a disk, or querying CPU (Central Processing Unit) usage information is performed.

[0063] S2034: If the category of the instruction message is an operation guidance instruction, obtaining operation query information corresponding to the operation guidance instruction from an operation guidance database.

[0064] In this embodiment, the operation query information corresponding to the operation guidance instruction is used to guide the operation and maintenance personnel who send the instruction to solve common operation and maintenance problems step by step.

[0065] S204: Send the query information and / or the processing result of the operation and maintenance operation to the business group of the instant messaging platform.

[0066] In this embodiment, the query information may include but is not limited to operation and maintenance query information, alarm query information, operation query information, etc. The processing result of the operation and maintenance operation may be the processing result after executing the operation and maintenance processing execution file to complete the operation and maintenance operation.

[0067] From the above description, it can be seen that based on the establishment of a business group corresponding to any business system in the instant messaging platform, any operation and maintenance user sends the operation and maintenance instruction information in the business group, and the robot service number in the business group obtains the instruction message and submits it to the server. The server first verifies the instruction message. If the verification is successful, the category of the instruction message is determined; and according to the category of the instruction message, the query information corresponding to the instruction message is obtained, and / or the operation and maintenance operation corresponding to the instruction message is executed, and the query information and / or the operation and maintenance operation processing result is sent to the business group of the instant messaging platform to complete the user's operation and maintenance query or operation and maintenance processing operation. The operation and maintenance user only needs to send the instruction message in the instant messaging platform, that is, it can obtain the query information of the operation and maintenance and perform the operation and maintenance operation processing, which is simple to operate, fast in time response, and high in operation and maintenance efficiency. At the same time, by querying according to the message query instruction, the monitoring alarm instruction, the operation and maintenance processing instruction and the operation guide instruction, it is possible to query the operation and maintenance query information, the alarm query information, the operation query information, and the operation query information, and complete the operation and maintenance operation corresponding to the operation and maintenance processing instruction, meet the query requirements of various scenarios, and improve the applicability of the system.

[0068] Figure 3 Schematic diagram of the operation and maintenance alarm method based on the instant messaging platform provided in the embodiment of the present disclosure Figure 2 In this embodiment, Figure 2 Based on the embodiment, this embodiment describes in detail the alarm query process based on the instant messaging platform. Figure 3 As shown, the method includes:

[0069] S301: Regularly check the operation status of any business system.

[0070] In this embodiment, the operation data of the business system is obtained at preset intervals, and the operation data includes the CPU usage information, memory usage information, etc. of the system.

[0071] S302: When any business system is detected to trigger an alarm, an alarm message of the business system is obtained.

[0072] In this embodiment, the business system is monitored for alarms through the operation and maintenance system to obtain alarm messages of the business system.

[0073] Specifically, according to the user-defined alarm rules, the alarm conditions, alarm message contents and alarm recipients are set; when it is detected that an event in the business system triggers the alarm conditions, an alarm message including the alarm message contents and the alarm recipients is generated.

[0074] Here, the operation and maintenance personnel can configure custom alarm rules on the web side of the business system. The configuration items include but are not limited to alarm conditions, alarm message content, and alarm recipients.

[0075] Among them, the alarm conditions include the operation and maintenance script URL or instructions of the business system, the alarm detection time interval, type and threshold, etc.; for example, the operation and maintenance personnel configure the business system web terminal to generate an operation and maintenance log by executing the operation and maintenance script URL or instructions within a certain time period. When a certain alarm field appears more than n times in the operation and maintenance log, the alarm condition is met. The alarm message content may include the alarm type, alarm time, alarm content field, and alarm urgency. The alarm recipient may be the operation and maintenance personnel who need to receive the alarm message.

[0076] For each business system, operation and maintenance personnel can configure customized alarm rules for each business system separately. One business system corresponds to a set of customized alarm rules.

[0077] At present, the traditional operation and maintenance alarm model, by presetting alarm rules, pre-stores the alarm rules in XML files or caches; matches events with alarm rules, and sends alarm information if the match is successful. It can be seen that, compared with the traditional operation and maintenance alarm model, the embodiment of the present disclosure improves the flexibility of operation and maintenance alarms and the accuracy of alarm messages by customizing alarm rules, which is conducive to operation and maintenance personnel to obtain effective information and locate the cause of the problem more quickly.

[0078] S303: Verify the alarm message. If the alarm message verification succeeds, send the alarm information to the business group in the corresponding communication platform of the business system.

[0079] In this embodiment, the process of verifying the alarm message is consistent with the process of verifying the instruction information described above and will not be described in detail here.

[0080] The alarm information is sent to the business group in the corresponding communication platform of the business system to facilitate the operation and maintenance personnel to obtain the alarm information, and the operation and maintenance personnel use the alarm information for operation and maintenance monitoring or processing.

[0081] From the above description, it can be seen that this embodiment simplifies the alarm working process. It only requires the business system to develop its own alarm rules. The alarm work does not require improvements to the business system, improves the versatility of the alarm, is simple to access, and can monitor alarms for various business scenarios.

[0082] In one embodiment of the present disclosure, the process of detecting that an event in the business system triggers the alarm condition includes:

[0083] Step 1, obtaining the operation data of the business system;

[0084] Step 2, calculating a first distance between the running data and the normal data cluster center, and a second distance between the running data and the abnormal data cluster center;

[0085] Step 3, judging whether the operation data is abnormal data according to the first distance and the second distance;

[0086] Step 4: If yes, trigger the alarm condition.

[0087] The operation data refers to the CPU usage information, memory usage information, etc. mentioned above. The process of determining the normal data cluster center is as follows: obtaining a sample set of normal data; determining k set cluster centers of the sample set of normal data, where k is a positive integer; and calculating the normal data cluster center of the sample set of normal data based on the sample set of normal data and the k set cluster centers.

[0088] Specifically, S1, obtain a sample set of normal data {X 1 , X 2 ...X n}.

[0089] S2, determine the sample set of normal data {X 1 , X 2 ...X n The specific steps include: I. Randomly select data points from the sample set of normal data as cluster centers u r , where r = 1, 2, 3..k selected ;

[0090] II. For the sample set of normal data {X 1 , X 2 ...X n} for every point x i , calculate its distance from the selected cluster center, the formula is as follows:

[0091]

[0092] III. Select a new data point as the new cluster center. The selection principle is: D(x i ) is taken as the new cluster center.

[0093] IV. Repeat operations II and III until k cluster centers {u 1 ,u 2 ...u k}.

[0094] S3, calculating the normal data cluster center of the normal data sample set. The specific steps include: I. Calculating each data point x i=1,2...n To each cluster center cluster {u 1 ,u 2 ...u k}D i,j =‖x i -u j ‖ i=1,2..n;j=1,2...k , marking the minimum distance d i,j , x i Belongs to the jth cluster (the cluster center is u j ). Until all n data points are calculated. Get k clusters {C 1 , C 2 ...C k}, set the number of elements in each cluster to

[0095] II. Recalculate the cluster centers, Get the new cluster center {u′ 1 , u′ 2 ...u′ k}.

[0096] III. Repeat operations I and II until the cluster center no longer changes, and output the final k cluster centers and k clusters. The cluster center of normal data is denoted as {C i=1,2...n}.

[0097] The process of determining the data cluster center is as follows: abnormally obtaining a sample set of abnormal data; determining k set cluster centers of the sample set of abnormal data; and calculating the abnormal data cluster center of the sample set of abnormal data based on the sample set of abnormal data and the k set cluster centers.

[0098] For the sample set of abnormal data {Y 1 , Y 2 ...Y m The specific process of processing is consistent with that of processing the sample set of normal data. The cluster center of abnormal data is recorded as {C j=1,2...m}.

[0099] Among them, judging the distance between running data and normal data cluster center {C i=1,2...n} and abnormal data cluster center {C j=1,2...m If the distance to the cluster center is closer, the running data belongs to the corresponding cluster center. If it belongs to the abnormal data cluster center, the running data is abnormal data.

[0100] It should be noted that: every day, the data of the day is updated to the sample set of normal data and the sample set of abnormal data, so that the cluster center of normal data {C i=1,2...n} and abnormal data cluster center {C j=1,2...m} is constantly updated, making the alarm thresholds more accurate and the alarms more precise.

[0101] From the above description, it can be seen that the clustering alarm threshold is calculated through the CPU usage information, memory usage information and other operating data of the business system. Since the specific values ​​of the operating data of the business system may change during operation, it is no longer necessary to set a fixed threshold in the traditional way. The embodiment of the present disclosure has different corresponding alarm thresholds for operating data with different values, thereby realizing dynamic changes in the alarm threshold and improving the accuracy of operation and maintenance alarms during the operation of the business system.

[0102] Figure 4 Schematic diagram of the operation and maintenance alarm method based on the instant messaging platform provided in the embodiment of the present disclosure Figure 3 In this embodiment, Figure 2 or Figure 3 Based on the embodiment, this embodiment describes in detail the process of question and answer based on the function of instant messaging platform operation and maintenance. Figure 4 As shown, the method includes:

[0103] S401: Obtain a problem message of any business group in the instant messaging platform, wherein the problem message is obtained by a robot service number in the business group monitoring a message sent by any user in the business group, and any business group is a group of any business system.

[0104] In this embodiment, the problem message is a problem about operation and maintenance sent by any user in the business group, and the information included in the problem may include: message source (group name or friend), group ID (user ID), message ID, message content, message type, creation time, etc. Message types include: text, picture or hyperlink.

[0105] S402: Verify the problem message. If the problem message verification succeeds, determine the knowledge base corresponding to the business system.

[0106] In this embodiment, the process of verifying the problem message is consistent with the process of verifying the instruction message in the above embodiment, and will not be repeated here.

[0107] S403: Obtain the question and answer result corresponding to the question message from the knowledge base.

[0108] In this embodiment, different business systems correspond to different robot service numbers, different robot service numbers correspond to different business system product IDs, and different business system product IDs correspond to different knowledge bases.

[0109] S404: Send the question and answer result to the business group of the instant messaging platform.

[0110] In this embodiment, the server is configured with multiple knowledge bases, and the question-answer key-value pairs corresponding to the question information are matched according to the knowledge base of the corresponding business system, which is the question-answer result.

[0111] If the database matching does not find the corresponding question-answer key-value pair, multiple guiding answers are returned through fuzzy matching to guide the user to enter the question message again. If there is still no result in the end, the default prompt message is returned to inform the user (such as: "No results have been found yet") to remind the user to consult the designated operation and maintenance personnel.

[0112] From the above description, we can see that the questions and answers frequently asked by relevant personnel on a daily basis are configured into the knowledge base to reduce the workload of daily operation and maintenance question and answer and improve the efficiency of answering operation and maintenance questions.

[0113] It should be noted that: a robot service account in the communication platform can be bound to multiple accounts. You can first apply for a robot service account, and use the robot account and the operation and maintenance personnel account as the seat personnel of the robot service account. Then use the robot service account as an external robot account. At this time, the robot account and the operation and maintenance personnel behind the robot service account can receive messages, so that the operation and maintenance personnel can reply to the user's question message as soon as possible when the robot account cannot reply to the message.

[0114] In one embodiment of the present disclosure, after obtaining the instruction message of any business group in the instant messaging platform, the method further includes: if the appearance frequency of the same instruction message of the business group reaches a preset threshold, discarding the instruction message that appears later.

[0115] In this embodiment, the number of messages with the same request is prevented from exceeding a preset threshold within one minute. If the preset threshold is exceeded, the designated person in charge is notified and the exceeding instruction message is discarded. Frequent instruction message requests are prevented from exceeding the message sending and receiving frequency specified by the instant messaging platform.

[0116] Figure 5 This is a schematic diagram of the structure of an operation and maintenance alarm device based on an instant messaging platform provided in an embodiment of the present disclosure. Figure 5 As shown, the operation and maintenance alarm device 50 based on the instant messaging platform includes: an acquisition module 501, a verification module 502, a processing module 503 and a sending module 504.

[0117] An acquisition module 501 is used to acquire a command message of any business group in an instant messaging platform, wherein the command message is obtained by a robot service number in the business group monitoring a message sent by any user in the business group, and the any business group is a group of any business system;

[0118] A verification module 502, configured to verify the instruction message, and if the instruction message verification succeeds, determine the category of the instruction message;

[0119] The processing module 503 is used to obtain query information corresponding to the instruction message according to the category of the instruction message, and / or perform an operation and maintenance operation corresponding to the instruction message;

[0120] The sending module 504 is used to send the query information and / or the processing result of the operation and maintenance operation to the business group of the instant messaging platform.

[0121] The device provided in this embodiment can be used to execute the technical solution of the above method embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be repeated here.

[0122] In one embodiment of the present disclosure, the categories of the instruction message include message query instructions, monitoring alarm instructions, operation and maintenance processing instructions and operation guidance instructions; the processing module 503 is specifically used to obtain operation and maintenance query information corresponding to the message query instruction from the operation and maintenance problem database if the category of the instruction message is a message query instruction; if the category of the instruction message is a monitoring alarm instruction, the operation and maintenance status of the business system is detected according to the monitoring alarm instruction, and the business system alarm query information is obtained; if the category of the instruction message is an operation and maintenance processing instruction, the operation and maintenance processing execution file corresponding to the operation and maintenance processing instruction is determined, and the operation and maintenance processing execution file is executed in the business system to complete the operation and maintenance operation; if the category of the instruction message is an operation guidance instruction, the operation query information corresponding to the operation guidance instruction is obtained from the operation guidance database

[0123] In one embodiment of the present disclosure, the instruction message includes a business signature of the business group, wherein the business signature is generated based on an application identifier and an application key of a business system; the verification module 502 is specifically used to obtain the business signature in the instruction message; if the business signature satisfies a preset signature rule, it is determined that the instruction message verification is successful.

[0124] In one embodiment of the present disclosure, the device also includes: an alarm module 505, which is used to periodically detect the operation status of any business system; when it is detected that the business system triggers an alarm, obtain an alarm message of the business system; verify the alarm message, and if the alarm message verification is successful, send the alarm information to the business group in the communication platform corresponding to the business system.

[0125] In one embodiment of the present disclosure, the alarm module 505 is specifically used to set alarm conditions, alarm message content and alarm recipients according to customized alarm rules; when it is detected that an event in the business system triggers the alarm condition, an alarm message containing the alarm message content and the alarm recipient is generated.

[0126] In one embodiment of the present disclosure, the alarm module 505 is specifically used to obtain the operating data of the business system; calculate the first distance between the operating data and the center of a normal data cluster, and the second distance between the operating data and the center of an abnormal data cluster; determine whether the operating data is abnormal data based on the first distance and the second distance; if so, trigger the alarm condition.

[0127] In one embodiment of the present disclosure, the device also includes: a cluster analysis module 506, which is used to obtain a sample set of normal data; determine k set cluster centers of the sample set of normal data; and calculate the normal data cluster center of the sample set of normal data based on the sample set of normal data and the k set cluster centers.

[0128] In one embodiment of the present disclosure, the device also includes: a cluster analysis module 506, which is also used to obtain a sample set of abnormal data; determine k set cluster centers of the sample set of abnormal data; and calculate the abnormal data cluster center of the sample set of abnormal data based on the sample set of abnormal data and the k set cluster centers.

[0129] In one embodiment of the present disclosure, the device also includes: a question and answer module 507, which is used to obtain a question message from any business group in an instant messaging platform, wherein the question message is obtained by a robot service number in the business group listening to a message sent by any user in the business group, and the any business group is a group of any business system; verifying the question message, and if the question message verification is successful, determining a knowledge base corresponding to the business system; obtaining a question and answer result corresponding to the question message from the knowledge base; and sending the question and answer result to the business group of the instant messaging platform.

[0130] In one embodiment of the present disclosure, the verification module 502 is further used to discard the command message that appears later if the frequency of occurrence of the same command message of the business group reaches a preset threshold after obtaining the command message of any business group in the instant messaging platform.

[0131] The modules of the device provided in this embodiment can be used to execute the technical solutions of the above method embodiments. The implementation principles and technical effects are similar and will not be described in detail in this embodiment.

[0132] Figure 6 The hardware structure diagram of the operation and maintenance alarm device based on the instant messaging platform provided in the embodiment of the present disclosure is shown in FIG. Figure 6 As shown, the operation and maintenance alarm device 60 based on the instant messaging platform of this embodiment includes: a processor 601 and a memory 602;

[0133] Memory 602, used to store computer-executable instructions;

[0134] The processor 601 is used to execute the computer-executable instructions stored in the memory to implement the various steps performed by the server in the above embodiment. For details, please refer to the relevant description in the above method embodiment.

[0135] Optionally, the memory 602 may be independent or integrated with the processor 601 .

[0136] When the memory 602 is independently provided, the operation and maintenance alarm device based on the instant messaging platform further includes a bus 603 for connecting the memory 602 and the processor 601 .

[0137] The embodiment of the present disclosure further provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the operation and maintenance alarm method based on the instant messaging platform as described above is implemented.

[0138] The embodiment of the present disclosure also provides a computer program product, including a computer program, and when the computer program is executed by a processor, the operation and maintenance alarm method based on the instant messaging platform as described above is implemented.

[0139] In the several embodiments provided in the present disclosure, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.

[0140] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to implement the solution of this embodiment.

[0141] In addition, each functional module in each embodiment of the present disclosure may be integrated into one processing unit, each module may exist physically separately, or two or more modules may be integrated into one unit. The above modules may be implemented in the form of hardware or hardware plus software functional units.

[0142] The above-mentioned integrated module implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the method described in each embodiment of the present application.

[0143] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the disclosed method may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0144] The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk memory, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a magnetic disk or an optical disk, etc.

[0145] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.

[0146] The above storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The storage medium can be any available medium that can be accessed by a general or special purpose computer.

[0147] An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the storage medium can also exist as discrete components in an electronic device or a main control device.

[0148] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0149] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present disclosure, rather than to limit them. Although the present disclosure has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present disclosure.

Claims

1. An operation and maintenance alarm method based on an instant messaging platform, characterized in that: include: Obtaining a command message of any business group in the instant messaging platform, wherein the command message is obtained by a robot service number in the business group monitoring a message sent by any user in the business group, and the any business group is a group of any business system; Verify the instruction message, and if the instruction message verification succeeds, determine the category of the instruction message; the instruction message includes a business signature of the business group, wherein the business signature is generated according to the application identifier and application key of the business system; the business signature of each business system is unique; verifying the instruction message includes: obtaining the business signature in the instruction message; if the business signature meets the preset signature rule, determine that the instruction message verification succeeds; the categories of the instruction message include monitoring alarm instructions, operation and maintenance processing instructions, and operation guidance instructions; According to the category of the instruction message, query information corresponding to the instruction message is obtained, and / or the operation and maintenance operation corresponding to the instruction message is executed; wherein, according to the category of the instruction message, query information corresponding to the instruction message is obtained, and / or the operation and maintenance operation corresponding to the instruction message is executed, including: if the category of the instruction message is a monitoring alarm instruction, the operation and maintenance status of the business system is detected according to the monitoring alarm instruction, and the alarm query information of the business system is obtained; if the category of the instruction message is an operation and maintenance processing instruction, the operation and maintenance processing execution file corresponding to the operation and maintenance processing instruction is determined, and the operation and maintenance processing execution file is executed in the business system to complete the operation and maintenance operation; if the category of the instruction message is an operation guidance instruction, the operation query information corresponding to the operation guidance instruction is obtained from the operation guidance database; The query information and / or the processing result of the operation and maintenance operation are sent to the business group of the instant messaging platform.

2. The method according to claim 1, characterized in that The categories of the instruction messages include message query instructions; Accordingly, acquiring query information corresponding to the instruction message according to the category of the instruction message, and / or performing an operation and maintenance operation corresponding to the instruction message includes: If the category of the instruction message is a message query instruction, operation and maintenance query information corresponding to the message query instruction is obtained from an operation and maintenance problem database.

3. The method according to claim 1, characterized in that Also includes: Regularly check the operation status of any business system; When detecting that the business system triggers an alarm, obtaining an alarm message of the business system; The alarm message is verified, and if the alarm message verification succeeds, the alarm message is sent to the business group in the communication platform corresponding to the business system.

4. The method according to claim 3, characterized in that: When detecting that the business system triggers an alarm, obtaining an alarm message of the business system includes: According to the customized alarm rules, set the alarm conditions, alarm message content and alarm recipients; When it is detected that an event in the business system triggers the alarm condition, an alarm message including alarm message content and alarm recipients is generated.

5. The method according to claim 4, characterized in that The detecting that the business system triggers the alarm condition includes: Obtaining operation data of the business system; Calculating a first distance between the running data and a normal data cluster center, and a second distance between the running data and an abnormal data cluster center; According to the first distance and the second distance, it is determined whether the operating data is abnormal data; if so, the alarm condition is triggered.

6. The method according to claim 5, characterized in that Also includes: Get a sample set of normal data; Determine k set cluster centers of the sample set of the normal data, where k is a positive integer; The normal data cluster center of the normal data sample set is calculated according to the normal data sample set and the k set cluster centers.

7. The method according to claim 5, characterized in that Also includes: Obtain a sample set of abnormal data; Determine k set cluster centers of the sample set of the abnormal data, where k is a positive integer; The abnormal data clustering center of the abnormal data sample set is calculated according to the abnormal data sample set and the k set clustering centers.

8. The method according to any one of claims 1, 2, 3 to 7, characterized in that: Also includes: Obtaining a problem message of any business group in the instant messaging platform, wherein the problem message is obtained by a robot service number in the business group monitoring a message sent by any user in the business group, and the any business group is a group of any business system; Verifying the problem message, and if the problem message verification succeeds, determining the knowledge base corresponding to the business system; Obtaining a question-and-answer result corresponding to the question message from the knowledge base; The question and answer result is sent to the business group of the instant messaging platform.

9. The method according to any one of claims 1, 2, 3 to 7, characterized in that: After obtaining the instruction message of any business group in the instant messaging platform, the method further includes: If the frequency of occurrence of the instruction messages of the same service group reaches a preset threshold, the instruction messages that appear later are discarded.

10. An operation and maintenance alarm device based on an instant messaging platform, characterized in that: include: An acquisition module, used to acquire a command message of any business group in the instant messaging platform, wherein the command message is obtained by a robot service number in the business group listening to a message sent by any user in the business group, and the any business group is a group of any business system; A verification module, used to verify the instruction message, and if the instruction message verification succeeds, determine the category of the instruction message; The instruction message includes the service signature of the service group, wherein the service signature is generated according to the application identifier and application key of the service system; the service signature of each service system is unique; The verification module is used to obtain the service signature in the instruction message when verifying the instruction message; if the service signature meets the preset signature rule, it is determined that the instruction message verification is successful; The categories of the command messages include monitoring alarm commands, operation and maintenance processing commands, and operation guidance commands; A processing module, used for obtaining query information corresponding to the instruction message and / or executing an operation and maintenance operation corresponding to the instruction message according to the category of the instruction message; wherein, when the processing module is used for obtaining query information corresponding to the instruction message and / or executing an operation and maintenance operation corresponding to the instruction message according to the category of the instruction message, if the category of the instruction message is a monitoring alarm instruction, the operation and maintenance status of the business system is detected according to the monitoring alarm instruction, and the business system alarm query information is obtained; if the category of the instruction message is an operation and maintenance processing instruction, the operation and maintenance processing execution file corresponding to the operation and maintenance processing instruction is determined, and the operation and maintenance processing execution file is executed in the business system to complete the operation and maintenance operation; if the category of the instruction message is an operation guidance instruction, the operation query information corresponding to the operation guidance instruction is obtained from an operation guidance database; The sending module is used to send the query information and / or the processing result of the operation and maintenance operation to the business group of the instant messaging platform.

11. An operation and maintenance alarm device based on an instant messaging platform, characterized in that: include: at least one processor and memory; The memory stores computer-executable instructions; The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the operation and maintenance alarm method based on the instant messaging platform as described in any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions. When the processor executes the computer-executable instructions, the operation and maintenance alarm method based on the instant messaging platform as described in any one of claims 1 to 9 is implemented.

13. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the operation and maintenance alarm method based on the instant messaging platform described in any one of claims 1 to 9 is implemented.

Citation Information

Patent Citations

  • Alarm method and device for operation and maintenance monitoring platform and computer equipment

    CN110417575A

  • Operation and maintenance information query system and method

    CN110929133A