CN114327967A - Equipment repairing method and device, storage medium and electronic device - Google Patents

Equipment repairing method and device, storage medium and electronic device Download PDF

Info

Publication number
CN114327967A
CN114327967A CN202111426145.4A CN202111426145A CN114327967A CN 114327967 A CN114327967 A CN 114327967A CN 202111426145 A CN202111426145 A CN 202111426145A CN 114327967 A CN114327967 A CN 114327967A
Authority
CN
China
Prior art keywords
abnormal
target
information
repair
operation log
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111426145.4A
Other languages
Chinese (zh)
Inventor
彭垚
李振
林亦宁
赵之健
倪华健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Shanma Zhiqing Technology Co Ltd
Shanghai Supremind Intelligent Technology Co Ltd
Original Assignee
Hangzhou Shanma Zhiqing Technology Co Ltd
Shanghai Supremind Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Shanma Zhiqing Technology Co Ltd, Shanghai Supremind Intelligent Technology Co Ltd filed Critical Hangzhou Shanma Zhiqing Technology Co Ltd
Priority to CN202111426145.4A priority Critical patent/CN114327967A/en
Publication of CN114327967A publication Critical patent/CN114327967A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention provides a device repairing method and device, a storage medium and an electronic device, wherein the method comprises the following steps: acquiring N operation logs of a target server in the operation process, wherein the N operation logs are used for representing the operation information of each functional device in the target server, and N is a natural number greater than or equal to 1; under the condition that the N operation logs comprise abnormal operation logs, determining equipment information of abnormal function equipment of the target server corresponding to the abnormal operation logs; acquiring a target repairing mode corresponding to the abnormal operation log based on the equipment information; and executing repair operation on the abnormal function equipment according to the target repair mode. By the method and the device, the problem of low repair efficiency of the server in the related technology is solved, and the effect of efficiently repairing the fault in the server is achieved.

Description

Equipment repairing method and device, storage medium and electronic device
Technical Field
The embodiment of the invention relates to the field of communication, in particular to a device repairing method and device, a storage medium and an electronic device.
Background
In the construction of an information-oriented society, the number of global servers increases in a geometric level, and the normal operation of the servers supports every link of the society. Therefore, each server must be monitored constantly, otherwise, if "down" (server crash) occurs, huge losses are caused to society, enterprises and individuals.
With the increase of more and more traditional data center devices and difficulty in IT capacity expansion, the alarm form faces the challenges of singleness and hysteresis, and the management monitoring mode and the alarm mode of each device are different.
The prior server monitoring technology depends on a third-party monitoring management platform to check regularly in a manual mode, and the early warning function is not strong and cannot prevent loss. The other is a distributed monitoring system, which can realize short message alarm, mail alarm, etc., and although the monitoring efficiency is improved compared with the former, the whole system needs to be repaired manually, and the overall efficiency is lower.
Disclosure of Invention
The embodiment of the invention provides a device repairing method and device, a storage medium and an electronic device, and aims to at least solve the problem of low repairing efficiency of a server in the related art.
According to an embodiment of the present invention, there is provided a device repair method including: acquiring N operation logs of a target server in the operation process, wherein the N operation logs are used for representing the operation information of each functional device in the target server, and N is a natural number greater than or equal to 1; when the N operation logs are determined to include abnormal operation logs, determining equipment information of abnormal function equipment of the target server corresponding to the abnormal operation logs; acquiring a target repairing mode corresponding to the abnormal operation log based on the equipment information; and executing the repairing operation on the abnormal function equipment according to the target repairing mode.
According to an embodiment of the present invention, there is provided a device repairing apparatus including: a first obtaining module, configured to obtain N operation logs of a target server in an operation process, where the N operation logs are used to represent operation information of each functional device in the target server, and N is a natural number greater than or equal to 1; a first determining module, configured to determine, when it is determined that the N operation logs include an abnormal operation log, device information of an abnormal function device of the target server corresponding to the abnormal operation log; a second obtaining module, configured to obtain, based on the device information, a target repair manner corresponding to the abnormal operation log; and the first repairing module is used for executing repairing operation on the abnormal function equipment according to the target repairing mode.
In an exemplary embodiment, before obtaining N operation logs of the target server in the running process, the apparatus further includes: a first monitoring module, configured to perform distributed monitoring on M servers, where the M servers include the target server, and M is a natural number greater than 1; a second obtaining module, configured to obtain an operation log of each server of the M servers, where the operation log of each server includes the N operation logs.
In an exemplary embodiment, the first determining module includes: the first monitoring unit is used for monitoring each functional device in the target server; a first obtaining unit, configured to obtain a resource consumption amount of each functional device in a preset time period, where the N operation logs include the resource consumption amount of each functional device; a first determining unit configured to determine an amount of resource consumption greater than a preset threshold as the abnormal operation log; and a second determination unit configured to determine information of the functional device corresponding to the abnormal operation log as device information of the abnormal functional device.
In an exemplary embodiment, the first determining module includes: a third determining unit, configured to determine the number of times of operation of each of the functional devices from the N operation logs; a fourth determination unit configured to determine the abnormal operation log based on the number of times of operation; a fifth determining unit configured to determine the functional device corresponding to the abnormal operation frequency as the device information of the abnormal functional device.
In an exemplary embodiment, the second obtaining module includes: a sixth determining unit configured to determine abnormal data in the abnormal operation log; and the first searching unit is used for searching the target repairing mode corresponding to the abnormal data in a preset database.
In an exemplary embodiment, the second obtaining module includes: a seventh determining unit configured to determine abnormal data in the abnormal operation log; the first sending unit is used for sending prompt information under the condition that a repair mode corresponding to the abnormal data is not found in a preset database, wherein the prompt information is used for prompting that the repair mode corresponding to the abnormal data is not included in the preset database; a first receiving unit for receiving a response message; an eighth determining unit configured to determine the target restoration method corresponding to the abnormal data from the response message.
In an exemplary embodiment, the apparatus further includes: and the storage module is used for correspondingly storing the target repair mode and the abnormal data into the preset database after the abnormal function equipment is repaired according to the target repair mode.
According to a further embodiment of the present invention, there is also provided a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the method and the device, N operation logs of the target server in the operation process are obtained, wherein the N operation logs are used for representing the operation information of each functional device in the target server, and N is a natural number greater than or equal to 1; under the condition that the N operation logs comprise abnormal operation logs, determining equipment information of abnormal function equipment of a target server corresponding to the abnormal operation logs; acquiring a target repairing mode corresponding to the abnormal operation log based on the equipment information; and executing the repairing operation on the abnormal function equipment according to the target repairing mode. The purpose of function equipment in the distributed monitoring server is achieved. So as to discover the fault of the functional equipment in time through the operation log. Therefore, the problem of low repair efficiency of the server in the related art can be solved, and the effect of efficiently repairing the fault in the server is achieved.
Drawings
Fig. 1 is a block diagram of a hardware structure of a mobile terminal according to an apparatus repairing method in an embodiment of the present invention;
FIG. 2 is a flow chart of a method of device repair according to an embodiment of the present invention;
FIG. 3 is an overall flow diagram according to an embodiment of the invention;
fig. 4 is a block diagram of a device repair apparatus according to an embodiment of the present invention.
Detailed Description
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings in conjunction with the embodiments.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided in the embodiments of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking an example of the method running on a mobile terminal, fig. 1 is a block diagram of a hardware structure of the mobile terminal of an apparatus repairing method according to an embodiment of the present invention. As shown in fig. 1, the mobile terminal may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), and a memory 104 for storing data, wherein the mobile terminal may further include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program of an application software and a module, such as a computer program corresponding to the device repairing method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a device repairing method is provided, and fig. 2 is a flowchart of the device repairing method according to the embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
step S202, N operation logs of the target server in the operation process are obtained, wherein the N operation logs are used for representing the operation information of each functional device in the target server, and N is a natural number greater than or equal to 1;
in this embodiment, one host may perform distributed resource monitoring on multiple servers through different IP addresses, so as to obtain operation logs of the multiple servers. N operation logs of the target server are determined from the operation logs of the plurality of servers.
Step S204, under the condition that the N operation logs comprise abnormal operation logs, determining equipment information of abnormal function equipment of the target server corresponding to the abnormal operation logs;
in the present embodiment, a log in which an error occurs is detected from the N operation logs, the error log is determined as an abnormal operation log, and the cause of occurrence of the error log is analyzed.
Step S206, acquiring a target repairing mode corresponding to the abnormal operation log based on the equipment information;
in this embodiment, the target repair manner may be acquired from a database, or may be generated based on an abnormal operation log.
And step S208, performing repair operation on the abnormal function equipment according to the target repair mode.
In the embodiment, the cause of the abnormal function device is determined, for example, the port is occupied, the interface is wrong, the server base environment is lack of dependence, the configuration file is wrong when being deployed, and the like. And repairing the abnormal reason.
The execution subject of the above steps may be a server, etc., but is not limited thereto.
Through the steps, N operation logs of the target server in the operation process are obtained, wherein the N operation logs are used for representing the operation information of each functional device in the target server, and N is a natural number greater than or equal to 1; under the condition that the N operation logs comprise abnormal operation logs, determining equipment information of abnormal function equipment of a target server corresponding to the abnormal operation logs; acquiring a target repairing mode corresponding to the abnormal operation log based on the equipment information; and executing the repairing operation on the abnormal function equipment according to the target repairing mode. The purpose of function equipment in the distributed monitoring server is achieved. So as to discover the fault of the functional equipment in time through the operation log. Therefore, the problem of low repair efficiency of the server in the related art can be solved, and the effect of efficiently repairing the fault in the server is achieved.
In an exemplary embodiment, before obtaining N operation logs of the target server in the running process, the method further includes:
s11, performing distributed monitoring on M servers, wherein the M servers comprise target servers, and M is a natural number greater than 1;
s12, obtaining the operation log of each server in M servers, wherein the operation log of each server comprises N operation logs.
In this embodiment, distributed monitoring is adopted, so that operation logs of multiple servers can be acquired simultaneously, and the efficiency of anomaly detection is improved. The distributed monitoring includes monitoring software in the M servers, and also includes monitoring hardware, such as a CPU, a disk, a memory I/O, a network I/O, and the like.
In an exemplary embodiment, in a case that it is determined that the abnormal operation log is included in the N operation logs, determining device information of an abnormal function device of the target server corresponding to the abnormal operation log includes:
s21, monitoring each functional device in the target server;
s22, acquiring the resource consumption of each functional device in a preset time period, wherein the N operation logs comprise the resource consumption of each functional device;
s23, determining the resource consumption amount larger than the preset threshold value as an abnormal operation log;
s24, the information of the functional device corresponding to the abnormal operation log is determined as the device information of the abnormal functional device.
In this embodiment, the functional device may be, for example, a CPU, a disk, a memory I/O, a network I/O, or the like. The server resources consumed by each functional device (i.e. resource consumption) are counted, and the hardware overall resource condition of the server and the first 10 functional devices consuming the most resources are counted every minute.
In an exemplary embodiment, in a case that it is determined that the abnormal operation log is included in the N operation logs, determining device information of an abnormal function device of the target server corresponding to the abnormal operation log includes:
s31, determining the running times of each functional device from the N operation logs;
s32, determining an abnormal operation log based on the running times;
s33, the functional device corresponding to the abnormal operation frequency is determined as the device information of the abnormal functional device.
In this embodiment, for example, in the process of obtaining the operation logs, the number of times of using the function corresponding to each operation log is recorded, user behavior statistics is performed, and whether an error occurs in each function is recorded.
Through statistics of the use times of the functions corresponding to the operation logs, the functions of which users have higher use rate and which functions are easy to make mistakes can be recorded. The function that the later period key monitoring use ratio is higher or easily makes mistakes is convenient.
In an exemplary embodiment, obtaining a target repair manner corresponding to an abnormal operation log based on device information includes:
s41, determining abnormal data in the abnormal operation log;
and S42, searching a target repairing mode corresponding to the abnormal data in a preset database.
In this embodiment, the repair method in the preset database is a corresponding database obtained by summarizing and summarizing the problems and solutions causing the server abnormality in advance and sorting the problems and solutions.
And comparing the abnormal data with the abnormal data in the preset database to obtain the corresponding repairing mode.
In an exemplary embodiment, obtaining a target repair manner corresponding to an abnormal operation log based on device information includes:
s51, determining abnormal data in the abnormal operation log;
s52, sending prompt information under the condition that the repair mode corresponding to the abnormal data is not found in the preset database, wherein the prompt information is used for prompting that the repair mode corresponding to the abnormal data is not included in the preset database;
s53, receiving the response message;
s54, the target restoration method corresponding to the abnormal data is determined from the response message.
In this embodiment, when the repair manner corresponding to the abnormal data is not found in the preset database, the abnormal data is written into the preset database, and the abnormal data is notified to other servers by an email to make a repair manner (which may be a manual manner). And correspondingly storing the target repairing mode and the abnormal data into a preset database.
As shown in fig. 3, it is an overall flowchart in the present embodiment, and specifically includes the following steps:
s301, triggering distributed check at fixed time, and performing resource check on a plurality of servers by one main server through different IP addresses, respectively monitoring various operation logs of the plurality of servers and acquiring the operation logs. And recording the use times of each function in the server, and determining which functions have higher use ratio and are easy to make mistakes if each function has errors, so that the functions with higher use ratio or easy to make mistakes are conveniently monitored in a later period.
S302, distributed checking comprises checking the state of a task executed by a server;
s303, checking the performance of the server in a distributed mode, wherein the performance comprises the performance of a CPU, a disk, memory I/O and network I/O. Counting the whole hardware resource condition of the server and the first 10 services which consume the most resources every minute;
s304, judging whether all the servers and the tasks are normal or not, and normally turning to S301, otherwise, turning to S305;
s305, checking the operation log, extracting abnormal data in the operation log, and analyzing errors;
s306, reporting errors to the abnormal data, for example, reporting errors through enterprise WeChat;
s307, judging whether the preset database comprises the repair mode, namely inquiring the target repair mode from the preset database. When the target repairing mode is matched, turning to S308;
s308, self-repairing through the automatic script, detecting after automatic repairing, writing error information into a database for recording after the service is recovered to normal, for example, "recording XXX error, repaired" and sending a repair mail to the affiliate, wherein the mail content is as follows: xx errors occur in xx services and are repaired. If the error cause in the abnormal operation log is not in the preset database, writing the abnormal data into the preset database, and sending a mail, for example, the mail content "find XXX error, there is no related repair solution in the abnormal problem processing scheme pool, add new manual troubleshooting, and update the new repair solution into the abnormal problem processing scheme pool (corresponding to the preset database), where the abnormal operation log refers to log information that causes some functions of the server not to be normally used; the exception problem processing scheme pool is to summarize and arrange the problem and the solution causing the exception of the server into a corresponding database through manual work.
In this embodiment, the repairing operation includes extracting the abnormal information from the acquired information, comparing the extracted abnormal information with the abnormal problem processing scheme pool, and calling the automated processing script to process the abnormal information after the matching is successful so as to recover the normal operation of the server.
The types of self-healing include: ports are occupied, interface errors, lack of dependency on the server infrastructure, configuration file errors at deployment, etc.
In summary, the method for monitoring, managing and repairing the distributed server in this embodiment can efficiently monitor the working states of the hardware devices such as the server and the storage device and analyze the background log in real time, so as to find and alarm in real time when a fault occurs, and automatically perform script processing on abnormal information, thereby ensuring efficient and stable operation of the service system. Compared with the existing server monitoring technology, the monitoring efficiency, the early warning function and the real-time processing capability after the server is abnormal are all improved, so that the overall service efficiency is also obviously improved.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, an apparatus repairing device is further provided, and the apparatus is used to implement the foregoing embodiments and preferred embodiments, which have already been described and are not described again. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 4 is a block diagram of a device repair apparatus according to an embodiment of the present invention, and as shown in fig. 4, the apparatus includes:
a first obtaining module 42, configured to obtain N operation logs of a target server in an operation process, where the N operation logs are used to represent operation information of each functional device in the target server, and N is a natural number greater than or equal to 1;
a first determining module 44, configured to determine, when it is determined that the N operation logs include an abnormal operation log, device information of an abnormal function device of the target server corresponding to the abnormal operation log;
a second obtaining module 46, configured to obtain, based on the device information, a target repair manner corresponding to the abnormal operation log;
and the first repairing module 48 is used for performing repairing operation on the abnormal functional equipment according to the target repairing mode.
In an exemplary embodiment, before obtaining N operation logs of the target server in the running process, the apparatus further includes:
a first monitoring module, configured to perform distributed monitoring on M servers, where the M servers include the target server, and M is a natural number greater than 1;
a second obtaining module, configured to obtain an operation log of each server of the M servers, where the operation log of each server includes the N operation logs.
In an exemplary embodiment, the first determining module includes:
the first monitoring unit is used for monitoring each functional device in the target server;
a first obtaining unit, configured to obtain a resource consumption amount of each functional device in a preset time period, where the N operation logs include the resource consumption amount of each functional device;
a first determining unit configured to determine an amount of resource consumption greater than a preset threshold as the abnormal operation log;
and a second determination unit configured to determine information of the functional device corresponding to the abnormal operation log as device information of the abnormal functional device.
In an exemplary embodiment, the first determining module includes:
a third determining unit, configured to determine the number of times of operation of each of the functional devices from the N operation logs;
a fourth determination unit configured to determine the abnormal operation log based on the number of times of operation;
a fifth determining unit configured to determine the functional device corresponding to the abnormal operation frequency as the device information of the abnormal functional device.
In an exemplary embodiment, the second obtaining module includes:
a sixth determining unit configured to determine abnormal data in the abnormal operation log;
and the first searching unit is used for searching the target repairing mode corresponding to the abnormal data in a preset database.
In an exemplary embodiment, the second obtaining module includes:
a seventh determining unit configured to determine abnormal data in the abnormal operation log;
the first sending unit is used for sending prompt information under the condition that a repair mode corresponding to the abnormal data is not found in a preset database, wherein the prompt information is used for prompting that the repair mode corresponding to the abnormal data is not included in the preset database;
a first receiving unit for receiving a response message;
an eighth determining unit configured to determine the target restoration method corresponding to the abnormal data from the response message.
In an exemplary embodiment, the apparatus further includes:
and the storage module is used for correspondingly storing the target repair mode and the abnormal data into the preset database after the abnormal function equipment is repaired according to the target repair mode.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above-mentioned method embodiments when executed.
In the present embodiment, the above-described computer-readable storage medium may be configured to store a computer program for executing the above steps.
In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
In an exemplary embodiment, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
In an exemplary embodiment, the processor may be configured to execute the above steps by a computer program.
For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary embodiments, and details of this embodiment are not repeated herein.
It will be apparent to those skilled in the art that the various modules or steps of the invention described above may be implemented using a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and they may be implemented using program code executable by the computing devices, such that they may be stored in a memory device and executed by the computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into various integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method of device repair, comprising:
acquiring N operation logs of a target server in the operation process, wherein the N operation logs are used for representing the operation information of each functional device in the target server, and N is a natural number greater than or equal to 1;
under the condition that the N operation logs comprise abnormal operation logs, determining equipment information of abnormal function equipment of the target server corresponding to the abnormal operation logs;
acquiring a target repairing mode corresponding to the abnormal operation log based on the equipment information;
and executing repair operation on the abnormal function equipment according to the target repair mode.
2. The method of claim 1, wherein before obtaining the N operation logs of the target server during the running process, the method further comprises:
performing distributed monitoring on M servers, wherein the M servers comprise the target server, and M is a natural number greater than 1;
and acquiring an operation log of each server in the M servers, wherein the operation log of each server comprises the N operation logs.
3. The method according to claim 1, wherein in a case where it is determined that the N operation logs include an abnormal operation log, determining device information of an abnormally functional device of the target server corresponding to the abnormal operation log includes:
monitoring each functional device in the target server;
acquiring the resource consumption of each functional device in a preset time period, wherein the N operation logs comprise the resource consumption of each functional device;
determining the resource consumption amount larger than a preset threshold value as the abnormal operation log;
and determining the information of the functional equipment corresponding to the abnormal operation log as the equipment information of the abnormal functional equipment.
4. The method according to claim 1, wherein in a case where it is determined that the N operation logs include an abnormal operation log, determining device information of an abnormally functional device of the target server corresponding to the abnormal operation log includes:
determining the running times of each functional device from the N operation logs;
determining the abnormal operation log based on the running times;
and determining the functional equipment corresponding to the abnormal operation times as the equipment information of the abnormal functional equipment.
5. The method according to claim 1, wherein obtaining the target repair manner corresponding to the abnormal operation log based on the device information includes:
determining abnormal data in the abnormal operation log;
and searching the target repairing mode corresponding to the abnormal data in a preset database.
6. The method according to claim 1, wherein obtaining the target repair manner corresponding to the abnormal operation log based on the device information includes:
determining abnormal data in the abnormal operation log;
sending prompt information under the condition that the repair mode corresponding to the abnormal data is not found in a preset database, wherein the prompt information is used for prompting that the repair mode corresponding to the abnormal data is not included in the preset database;
receiving a response message;
and determining the target repair mode corresponding to the abnormal data from the response message.
7. The method according to any one of claims 1 to 6, wherein after performing a repair operation on the abnormally-functioning device according to the target repair manner, the method further comprises:
and correspondingly storing the target repairing mode and the abnormal data into the preset database.
8. An apparatus repair device, comprising:
the system comprises a first acquisition module, a first storage module and a second acquisition module, wherein the first acquisition module is used for acquiring N operation logs of a target server in the operation process, the N operation logs are used for representing the operation information of each functional device in the target server, and N is a natural number greater than or equal to 1;
a first determining module, configured to determine, when it is determined that the N operation logs include an abnormal operation log, device information of an abnormal function device of the target server corresponding to the abnormal operation log;
a second obtaining module, configured to obtain, based on the device information, a target repair manner corresponding to the abnormal operation log;
and the first repairing module is used for executing repairing operation on the abnormal function equipment according to the target repairing mode.
9. A computer-readable storage medium, in which a computer program is stored, which computer program, when being executed by a processor, carries out the method of any one of claims 1 to 7.
10. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 7.
CN202111426145.4A 2021-11-26 2021-11-26 Equipment repairing method and device, storage medium and electronic device Pending CN114327967A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111426145.4A CN114327967A (en) 2021-11-26 2021-11-26 Equipment repairing method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111426145.4A CN114327967A (en) 2021-11-26 2021-11-26 Equipment repairing method and device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN114327967A true CN114327967A (en) 2022-04-12

Family

ID=81047657

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111426145.4A Pending CN114327967A (en) 2021-11-26 2021-11-26 Equipment repairing method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN114327967A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117931492A (en) * 2023-12-27 2024-04-26 河南昆仑技术有限公司 Risk processing method and device and computing equipment
WO2024139840A1 (en) * 2022-12-27 2024-07-04 苏州元脑智能科技有限公司 Device repair method, system and apparatus, and electronic device and non-volatile storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024139840A1 (en) * 2022-12-27 2024-07-04 苏州元脑智能科技有限公司 Device repair method, system and apparatus, and electronic device and non-volatile storage medium
CN117931492A (en) * 2023-12-27 2024-04-26 河南昆仑技术有限公司 Risk processing method and device and computing equipment

Similar Documents

Publication Publication Date Title
CN112631913B (en) Method, device, equipment and storage medium for monitoring operation faults of application program
CN111143163B (en) Data monitoring method, device, computer equipment and storage medium
CN105159964A (en) Log monitoring method and system
CN111866016A (en) Log analysis method and system
CN113672456B (en) Modularized self-monitoring method, system, terminal and storage medium of application platform
CN114327967A (en) Equipment repairing method and device, storage medium and electronic device
CN114077525A (en) Abnormal log processing method and device, terminal equipment, cloud server and system
CN112527484A (en) Workflow breakpoint continuous running method and device, computer equipment and readable storage medium
CN110620688A (en) Service comprehensive monitoring method, system and device
CN115529595A (en) Method, device, equipment and medium for detecting abnormity of log data
CN111062503B (en) Power grid monitoring alarm processing method, system, terminal and storage medium
CN116126890A (en) Positioning method and device of abnormal SQL statement, electronic equipment and storage medium
CN112235128B (en) Transaction path analysis method, device, server and storage medium
CN113656252A (en) Fault positioning method and device, electronic equipment and storage medium
CN105825641A (en) Service alarm method and apparatus
CN110609761B (en) Method and device for determining fault source, storage medium and electronic equipment
CN115686381B (en) Prediction method and device for storage cluster running state
KR101288535B1 (en) Method for monitoring communication system and apparatus therefor
CN115242621B (en) Network private line monitoring method, device, equipment and computer readable storage medium
CN115686921A (en) Multipath anomaly detection and repair method, device, equipment and medium
CN112329021B (en) Method and device for checking application loopholes, electronic device and storage medium
CN109669867B (en) Test apparatus, automated test method, and computer-readable storage medium
CN111835566A (en) System fault management method, device and system
CN111447329A (en) Method, system, device and medium for monitoring state server in call center
CN114221874B (en) Traffic analysis and scheduling method and device, computer equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination