CN111581002A - Automatic failure reporting method, device and equipment for server failure - Google Patents
Automatic failure reporting method, device and equipment for server failure Download PDFInfo
- Publication number
- CN111581002A CN111581002A CN202010355761.4A CN202010355761A CN111581002A CN 111581002 A CN111581002 A CN 111581002A CN 202010355761 A CN202010355761 A CN 202010355761A CN 111581002 A CN111581002 A CN 111581002A
- Authority
- CN
- China
- Prior art keywords
- server
- log
- event
- fault
- reporting
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0766—Error or fault reporting or storing
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3065—Monitoring arrangements determined by the means or processing involved in reporting the monitored data
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
技术领域technical field
本申请涉及计算机技术领域,尤其涉及一种服务器故障的自动报障方法、装置和设备。The present application relates to the field of computer technology, and in particular, to an automatic fault reporting method, device and device for server faults.
背景技术Background technique
服务器在网络中为其它客户机(如PC机、智能手机、ATM等终端甚至是火车系统等大型设备)提供计算或者应用服务,一般来说服务器都具备承担响应服务请求、承担服务、保障服务的能力。不过,服务器在运行过程中,难免会出现硬件故障,此时需要管理人员即时向相关维修人员报障,从而进行故障诊断和维修。The server provides computing or application services for other clients (such as PCs, smartphones, ATMs and other terminals, and even large equipment such as train systems) in the network. Generally speaking, servers have the ability to respond to service requests, undertake services, and guarantee services. ability. However, during the operation of the server, it is inevitable that hardware failures will occur. At this time, the administrator needs to report the failure to the relevant maintenance personnel immediately, so as to carry out fault diagnosis and maintenance.
目前,服务器出现故障时,通常是通过人工拨打服务器报修热线的方式进行人工报障,报障过程中需要人工提供服务器相关信息以及上传服务器日志,然后由相关人员根据提供的信息和日志进行诊断并反馈诊断结果,必要时提供上门维修。不过,人工报障的方式费时费力,尤其在服务器数量较多的中大型互联网企业,人工报障的方式需要的人工成本较高且效率低下。At present, when the server fails, the fault is usually reported manually by dialing the server repair hotline. During the fault reporting process, it is necessary to manually provide server-related information and upload server logs, and then the relevant personnel will diagnose based on the provided information and logs. Feedback the diagnosis results and provide on-site maintenance if necessary. However, the method of manually reporting faults is time-consuming and labor-intensive, especially in medium and large Internet companies with a large number of servers, the manual reporting method requires high labor costs and is inefficient.
发明内容SUMMARY OF THE INVENTION
本申请提供一种服务器故障的自动报障方法、装置和设备,以解决现有的报障方式存在的人工成本较高且效率低下的问题。The present application provides an automatic fault reporting method, device and device for server faults, so as to solve the problems of high labor cost and low efficiency in the existing fault reporting methods.
本申请的上述目的是通过以下技术方案实现的:The above-mentioned purpose of the present application is achieved through the following technical solutions:
第一方面,本申请实施例提供一种服务器故障的自动报障方法,包括:In a first aspect, an embodiment of the present application provides an automatic fault reporting method for a server fault, including:
当确定服务器发生故障时,创建事件记录;所述事件记录用于记录服务器故障事件的相关信息;When it is determined that the server fails, an event record is created; the event record is used to record the relevant information of the server failure event;
基于所述事件记录收集目标日志;所述目标日志为故障服务器运行过程中的服务器日志;Collect the target log based on the event record; the target log is the server log in the running process of the faulty server;
基于所述事件记录和所述目标日志进行报障。A fault is reported based on the event record and the target log.
可选的,服务器故障事件的相关信息包括以下内容的一项或多项:序列号、服务器品牌和型号、故障类型、故障部件数量、报障日期和问题描述。Optionally, the relevant information of the server failure event includes one or more of the following contents: serial number, server brand and model, failure type, number of failed parts, failure reporting date, and problem description.
可选的,所述创建事件记录包括:Optionally, the creating an event record includes:
基于配置管理数据库CMDB,读取预先存储的故障服务器的配置信息;Based on the configuration management database CMDB, read the pre-stored configuration information of the faulty server;
结合本次故障事件的实际情况,创建事件记录。Create an event record based on the actual situation of the fault event.
可选的,所述基于所述事件记录和所述目标日志进行报障,包括:Optionally, the fault reporting based on the event record and the target log includes:
对所述目标日志进行分布式文件存储,并生成相应的日志url链接;Perform distributed file storage on the target log, and generate a corresponding log url link;
将所述事件记录和所述日志url链接发送至维修人员从而进行报障;维修人员在查看所述事件记录后能够基于所述日志url链接下载所述目标日志。The event record and the log url link are sent to maintenance personnel to report faults; the maintenance personnel can download the target log based on the log url link after viewing the event record.
可选的,所述将所述事件记录和所述日志url链接发送至维修人员从而进行报障,包括:Optionally, sending the event record and the log url link to maintenance personnel to report faults, including:
将所述事件记录和所述日志url链接通过邮件附件的形式发送至预设的技术支持邮箱从而进行报障。Send the event record and the log url link to the preset technical support mailbox in the form of an email attachment to report the fault.
第二方面,本申请实施例还提供一种服务器故障的自动报障装置,包括:In a second aspect, an embodiment of the present application also provides an automatic fault reporting device for a server fault, including:
事件创建模块,用于当确定服务器发生故障时,创建事件记录;所述事件记录用于记录服务器故障事件的相关信息;an event creation module for creating an event record when it is determined that a server failure occurs; the event record is used to record the relevant information of the server failure event;
日志收集模块,用于基于所述事件记录收集目标日志;所述目标日志为故障服务器运行过程中的服务器日志;A log collection module, configured to collect target logs based on the event records; the target logs are server logs in the running process of the faulty server;
报障模块,用于基于所述事件记录和所述目标日志进行报障。A fault reporting module, configured to report faults based on the event record and the target log.
可选的,服务器故障事件的相关信息包括以下内容的一项或多项:序列号、服务器品牌和型号、故障类型、故障部件数量、报障日期和问题描述。Optionally, the relevant information of the server failure event includes one or more of the following contents: serial number, server brand and model, failure type, number of failed parts, failure reporting date, and problem description.
可选的,所述事件创建模块包括:Optionally, the event creation module includes:
读取单元,用于基于配置管理数据库CMDB,读取预先存储的故障服务器的配置信息;The reading unit is used to read the pre-stored configuration information of the faulty server based on the configuration management database CMDB;
创建单元,用于结合本次故障事件的实际情况,创建事件记录。Create a unit, which is used to create an event record based on the actual situation of the fault event.
可选的,所述报障模块包括:Optionally, the fault reporting module includes:
存储单元,用于对所述目标日志进行分布式文件存储,并生成相应的日志url链接;a storage unit for performing distributed file storage on the target log, and generating a corresponding log url link;
发送单元,用于将所述事件记录和所述日志url链接发送至维修人员从而进行报障;维修人员在查看所述事件记录后能够基于所述日志url链接下载所述目标日志。The sending unit is configured to send the event record and the log url link to maintenance personnel to report faults; the maintenance personnel can download the target log based on the log url link after viewing the event record.
第三方面,本申请实施例还提供一种服务器故障的自动报障设备,包括:In a third aspect, an embodiment of the present application also provides an automatic fault reporting device for server faults, including:
存储器和与所述存储器相连接的处理器;a memory and a processor connected to the memory;
所述存储器,用于存储程序,所述程序至少用于执行上述的服务器故障的自动报障方法;The memory is used to store a program, and the program is at least used to execute the above-mentioned automatic fault reporting method for server failure;
所述处理器,用于调用并执行所述存储器存储的所述程序。The processor is configured to call and execute the program stored in the memory.
本申请的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present application may include the following beneficial effects:
本申请的实施例提供的技术方案中,当确定服务器发生故障时,则首先创建事件记录,用于记录服务器故障事件的相关信息,之后基于事件记录收集服务器运行过程中的与本次故障相关的服务器日志,最后即可基于事件记录和服务器日志进行自动报障。如此设置,基于远程自动收集日志的思路和方法,即可克服传统报障方法(人工客服热线报障)存在的问题,从而大幅提高报障效率、减少人工成本。In the technical solutions provided by the embodiments of the present application, when it is determined that a server failure occurs, an event record is first created to record the relevant information of the server failure event, and then based on the event record, the server operation process related to this failure is collected. Server logs, and finally automatic fault reporting based on event records and server logs. In this way, based on the idea and method of remote automatic log collection, the problems existing in the traditional method of reporting faults (manual customer service hotline reporting) can be overcome, thereby greatly improving the efficiency of reporting faults and reducing labor costs.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not limiting of the present application.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description serve to explain the principles of the application.
图1为本申请实施例提供的一种服务器故障的自动报障方法的流程示意图;1 is a schematic flowchart of an automatic fault reporting method for a server fault provided by an embodiment of the present application;
图2为本申请实施例提供的一种服务器故障的自动报障装置的结构示意图;2 is a schematic structural diagram of an automatic fault reporting device for a server fault provided by an embodiment of the present application;
图3为本申请实施例提供的一种服务器故障的自动报障设备的结构示意图。FIG. 3 is a schematic structural diagram of an automatic fault reporting device for a server fault provided by an embodiment of the present application.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as recited in the appended claims.
目前,在服务器出现硬件故障时,通常是通过人工拨打服务器报修热线的方式进行人工报障,报障过程中需要人工提供服务器相关信息(包括机器型号、故障描述、序列号、机器所在实际位置等)以及上传服务器日志,然后由相关人员根据提供的信息和日志进行诊断并通过电话和邮件的形式反馈诊断结果,必要时提供上门维修。At present, when a hardware failure occurs on a server, the failure is usually reported manually by calling the server repair hotline. During the failure reporting process, it is necessary to manually provide server-related information (including machine model, failure description, serial number, and the actual location of the machine, etc. ) and upload the server log, and then the relevant personnel will diagnose based on the information and logs provided and feedback the diagnosis results by phone and email, and provide on-site maintenance if necessary.
上述方式存在的缺点包括:Disadvantages of the above approach include:
①人工报障费时费力,效率低。以1台服务器设备发生故障时进行人工报障流程为例,花费的时间包括:拨打客服电话(大约1分钟)——接通人工服务,提供报障信息(大约2-4分钟)——收集日志并上传日志(大约4分钟)——反馈诊断结果(大约1-10分钟),整个过程大约需要8-19分钟;① Manual reporting of obstacles is time-consuming and labor-intensive, and the efficiency is low. Taking the manual fault reporting process when a server device fails as an example, the time spent includes: calling customer service (about 1 minute) - connecting to manual service and providing fault reporting information (about 2-4 minutes) - collecting Log and upload the log (about 4 minutes) - feedback the diagnosis results (about 1-10 minutes), the whole process takes about 8-19 minutes;
进一步的,以中大型互联网公司几万甚至几十万服务器的规模,如果依靠人工报障的方式,为了保证能够及时处理,则需要增加大量的人工成本,并且效率也十分低下。Further, with the scale of tens of thousands or even hundreds of thousands of servers of medium and large Internet companies, if relying on the method of manual fault reporting, in order to ensure timely processing, a large amount of labor costs will need to be added, and the efficiency is also very low.
②不同品牌的服务器上传报障日志的大小限制不同,日志过大时会增加额外的报修时间。比如HP(惠普)服务器上传日志要求不能超过20M,也就是说,当日志大小超过20M时会无法直接通过邮件上传,需要客服额外提供一个FTP(File Transfer Protocol,文件传输协议)链接手工上传,从而提高了流程复杂度,增加了报修时间。②The size limit of the fault report log uploaded by different brands of servers is different. If the log is too large, additional repair time will be added. For example, the HP (Hewlett-Packard) server upload log requirement cannot exceed 20M, that is to say, when the log size exceeds 20M, it will not be able to be uploaded directly through email, and the customer service needs to provide an additional FTP (File Transfer Protocol, File Transfer Protocol) link to upload manually, thus Improve the complexity of the process and increase the repair time.
基于此,为了解决上述问题,本申请实施例提供一种服务器故障的自动报障方法以及相应得到装置和设备。以下实施例将对本申请的自动报障方法、装置和设备的具体实现方式进行详细说明。Based on this, in order to solve the above problems, the embodiments of the present application provide an automatic fault reporting method for a server fault and a corresponding device and device. The following embodiments will describe in detail the specific implementations of the automatic fault reporting method, device and device of the present application.
实施例Example
请参阅图1,图1为本申请实施例提供的一种服务器故障的自动报障方法的流程示意图。如图1所示,该方法包括以下步骤:Please refer to FIG. 1. FIG. 1 is a schematic flowchart of an automatic fault reporting method for a server fault provided by an embodiment of the present application. As shown in Figure 1, the method includes the following steps:
S101:当确定服务器发生故障时,创建事件记录;所述事件记录用于记录服务器故障事件的相关信息;S101: when it is determined that a server failure occurs, create an event record; the event record is used to record relevant information of a server failure event;
需要说明的是,对于判断服务器是否发生故障以及发生何种故障的方法和过程,可以从现有技术中的常用方法中进行选择,而具体采用何种方式,可以根据实际需要进行确定,本申请对此不进行限制。本申请的侧重点在于如何在确定服务器发生故障后进行自动报障。It should be noted that, for the method and process of judging whether the server has failed and what kind of failure has occurred, it can be selected from common methods in the prior art, and the specific method to be adopted can be determined according to actual needs. There is no restriction on this. The focus of this application is how to automatically report the failure after it is determined that the server has failed.
具体的,当确定服务器发生故障时,则自动创建事件记录,事件记录可以是log文件或其它格式的文件,从而记录服务器故障事件中的相关信息,例如包括:序列号、服务器品牌和型号、故障类型、故障部件数量、报障日期和问题描述等信息。Specifically, when it is determined that a server failure occurs, an event record is automatically created, and the event record can be a log file or a file in other formats, so as to record relevant information in the server failure event, for example, including: serial number, server brand and model, failure Information such as type, number of faulty parts, fault report date and problem description.
一些实施例中,创建事件记录的过程可以包括:In some embodiments, the process of creating an event record may include:
基于配置管理数据库CMDB,读取预先存储的故障服务器的配置信息;Based on the configuration management database CMDB, read the pre-stored configuration information of the faulty server;
结合本次故障事件的实际情况,创建事件记录。Create an event record based on the actual situation of the fault event.
其中,配置管理数据库(Configuration Management database,CMDB)中包含一个组织的IT服务使用的配置项(configuration items,CI)的所有相关信息以及这些配置项之间的关系,CMBD的主要任务包括:对包含在CMDB中的配置项的证明;对数据进行控制,确保数据只能由指定的人员进行修改;状态维护,包括确保任一配置项的当前状态总是被记录在案并保持更新。对于本实施例来说,CMDB中包含整个系统中所有相关服务器的配置信息,从而可以基于CMDB读取故障服务器的配置信息。之后,为了便于相关维修人员对服务器的故障进行诊断和维修,还可以记录故障事件的实际情况,例如故障类型、故障部件数量、报障日期,故障服务器所在位置等信息。Among them, the Configuration Management Database (CMDB) contains all the relevant information of the configuration items (configuration items, CI) used by an organization's IT services and the relationship between these configuration items. The main tasks of the CMBD include: Proof of configuration items in the CMDB; data control to ensure that data can only be modified by designated personnel; state maintenance, including ensuring that the current state of any configuration item is always documented and kept up-to-date. For this embodiment, the CMDB contains the configuration information of all relevant servers in the entire system, so that the configuration information of the faulty server can be read based on the CMDB. After that, in order to facilitate the relevant maintenance personnel to diagnose and repair the fault of the server, the actual situation of the fault event can also be recorded, such as the type of fault, the number of faulty parts, the date of reporting the fault, and the location of the faulty server.
S102:基于所述事件记录收集目标日志;所述目标日志为故障服务器运行过程中的服务器日志;S102: Collect target logs based on the event records; the target logs are server logs during the operation of the faulty server;
具体的,服务器日志(server log)是一个或多个由服务器自动创建和维护的日志文件,其中包含其所执行活动的列表。以最典型的网页服务器的日志为例,其中包含页面请求的历史记录,例如包括客户端IP地址、请求日期/时间、请求的网页、HTTP代码、提供的字节数、用户代理、引用地址等。通过查看服务器日志,技术人员可以了解服务器的历史运行状态,从而可以确定服务器是否发生故障以及确定故障类型。Specifically, a server log is one or more log files automatically created and maintained by a server, which contain a list of activities performed by it. Take the log of the most typical web server as an example, which contains the history of page requests, such as client IP address, request date/time, requested web page, HTTP code, number of bytes provided, user agent, referring address, etc. . By viewing the server logs, technicians can understand the historical operating status of the server, so that they can determine whether the server has failed and the type of failure.
进一步的,一些实施例中,基于所采用的故障检测方法,可以查询故障服务器的全部日志,但仅从中收集与上述的事件记录有关的日志,从而便于减少后续需要处理的日志数据量。Further, in some embodiments, based on the adopted fault detection method, all logs of the faulty server may be queried, but only logs related to the above-mentioned event records are collected therefrom, thereby reducing the amount of log data to be processed subsequently.
S103:基于所述事件记录和所述目标日志进行报障。S103: Report a fault based on the event record and the target log.
当创建事件记录并收集故障服务器的相关日志后,即可进行自动报障。After the event record is created and the relevant logs of the faulty server are collected, the fault can be automatically reported.
本申请的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present application may include the following beneficial effects:
本申请的实施例提供的技术方案中,当确定服务器发生故障时,则首先创建事件记录,用于记录服务器故障事件的相关信息,之后基于事件记录收集服务器运行过程中的与本次故障相关的服务器日志,最后即可基于事件记录和服务器日志进行自动报障。如此设置,基于远程自动收集日志的思路和方法,即可克服传统报障方法(人工客服热线报障)存在的问题,从而大幅提高报障效率、减少人工成本。In the technical solutions provided by the embodiments of the present application, when it is determined that a server failure occurs, an event record is first created to record the relevant information of the server failure event, and then based on the event record, the server operation process related to this failure is collected. Server logs, and finally automatic fault reporting based on event records and server logs. In this way, based on the idea and method of remote automatic log collection, the problems existing in the traditional method of reporting faults (manual customer service hotline reporting) can be overcome, thereby greatly improving the efficiency of reporting faults and reducing labor costs.
进一步的,一些实施例中,报障的过程可以包括:Further, in some embodiments, the process of reporting the failure may include:
对所述目标日志进行分布式文件存储,并生成相应的日志url链接;Perform distributed file storage on the target log, and generate a corresponding log url link;
将所述事件记录和所述日志url链接发送至维修人员从而进行报障;例如,可以将所述事件记录和所述日志url链接通过邮件附件的形式发送至预设的技术支持邮箱从而进行报障;维修人员在查看所述事件记录后能够基于所述日志url链接下载所述目标日志。Send the event record and the log url link to the maintenance personnel to report faults; for example, the event record and the log url link can be sent to the preset technical support mailbox in the form of an email attachment to report the problem. The maintenance personnel can download the target log based on the log url link after viewing the event record.
具体的,分布式文件存储是一种数据存储技术,与集中式文件存储相对,是指物理存储资源不一定直接连接在本地节点上,而是通过计算机网络与节点相连。例如,通过网络使用企业中的每台机器上的磁盘空间,并将这些分散的存储资源构成一个虚拟的存储设备,数据分散的存储在企业的各个角落。而url(uniform resource locator,统一资源定位系统)是因特网的万维网服务程序上用于指定信息位置的表示方法。本实施例中,即通过url链接指示分布式存储的目标日志文件的位置。Specifically, distributed file storage is a data storage technology. Compared with centralized file storage, it means that physical storage resources are not necessarily directly connected to local nodes, but are connected to nodes through computer networks. For example, the disk space on each machine in the enterprise is used through the network, and these scattered storage resources are formed into a virtual storage device, and the data is scattered and stored in all corners of the enterprise. And url (uniform resource locator, Uniform Resource Locator) is a representation method for specifying the location of information on the World Wide Web service program of the Internet. In this embodiment, the location of the distributed storage target log file is indicated through the url link.
也就是说,通过采用分布式文件存储与url链接的方式,报障时只需通过邮件上传日志url链接,而不需要上传日志文件本身,因此可以解决不同品牌服务器上传日志大小限制的问题。相关维修人员在收到邮件后可以通过url链接自行下载服务器日志从而分析诊断服务器故障。That is to say, by adopting the method of distributed file storage and url linking, it is only necessary to upload the log url link by email when reporting a fault, without uploading the log file itself, so the problem of the limit of the upload log size of different brand servers can be solved. After receiving the email, the relevant maintenance personnel can download the server log by themselves through the url link to analyze and diagnose the server failure.
为了对本申请的技术方案进行更全面的说明,对应于本申请上述实施例提供的服务器故障的自动报障方法,本申请实施例还提供一种服务器故障的自动报障装置。In order to provide a more comprehensive description of the technical solutions of the present application, corresponding to the automatic fault reporting methods for server faults provided by the above embodiments of the present application, the embodiments of the present application further provide an automatic fault reporting device for server faults.
请参阅图2,图2为本申请实施例提供的一种服务器故障的自动报障装置的结构示意图。如图2所示,该装置包括以下结构:Please refer to FIG. 2 , which is a schematic structural diagram of an automatic fault reporting device for a server fault according to an embodiment of the present application. As shown in Figure 2, the device includes the following structures:
事件创建模块21,用于当确定服务器发生故障时,创建事件记录;所述事件记录用于记录服务器故障事件的相关信息;The
日志收集模块22,用于基于所述事件记录收集目标日志;所述目标日志为故障服务器运行过程中的服务器日志;A
报障模块23,用于基于所述事件记录和所述目标日志进行报障。The
可选的,服务器故障事件的相关信息包括以下内容的一项或多项:序列号、服务器品牌和型号、故障类型、故障部件数量、报障日期和问题描述。Optionally, the relevant information of the server failure event includes one or more of the following contents: serial number, server brand and model, failure type, number of failed parts, failure reporting date, and problem description.
可选的,所述事件创建模块21包括:Optionally, the
读取单元,用于基于配置管理数据库CMDB,读取预先存储的故障服务器的配置信息;The reading unit is used to read the pre-stored configuration information of the faulty server based on the configuration management database CMDB;
创建单元,用于结合本次故障事件的实际情况,创建事件记录。Create a unit, which is used to create an event record based on the actual situation of the fault event.
可选的,所述报障模块23包括:Optionally, the
存储单元,用于对所述目标日志进行分布式文件存储,并生成相应的日志url链接;a storage unit for performing distributed file storage on the target log, and generating a corresponding log url link;
发送单元,用于将所述事件记录和所述日志url链接发送至维修人员从而进行报障;维修人员在查看所述事件记录后能够基于所述日志url链接下载所述目标日志。The sending unit is configured to send the event record and the log url link to maintenance personnel to report faults; the maintenance personnel can download the target log based on the log url link after viewing the event record.
具体的,上述每个功能模块的功能的具体实现方式可以参照上述服务器故障的自动报障方法中的相应内容来实现,对此不再详述。Specifically, the specific implementation manner of the function of each of the above functional modules can be implemented with reference to the corresponding content in the above-mentioned automatic fault reporting method for server faults, which will not be described in detail.
为了对本申请的技术方案进行更全面的说明,对应于本申请上述实施例提供的服务器故障的自动报障方法,本申请实施例还提供一种服务器故障的自动报障设备。For a more comprehensive description of the technical solutions of the present application, corresponding to the automatic fault reporting method for server faults provided by the above embodiments of the present application, the embodiments of the present application further provide an automatic fault reporting device for server faults.
请参阅图3,图3为本申请实施例提供的一种服务器故障的自动报障设备的结构示意图。如图3所示,该设备包括以下结构:Please refer to FIG. 3 , which is a schematic structural diagram of an automatic fault reporting device for a server fault provided by an embodiment of the present application. As shown in Figure 3, the device includes the following structures:
存储器31和与存储器31相连接的处理器32;a
存储器31用于存储程序,所述程序至少用于执行上述的服务器故障的自动报障方法;The
处理器32用于调用并执行存储器31存储的所述程序。The
具体的,该设备可以是计算机或类似的设备,其中程序的功能的具体实现方式可以参照上述服务器故障的自动报障方法中的相应内容来实现,对此不再详述。Specifically, the device may be a computer or a similar device, and the specific implementation of the functions of the program can be implemented by referring to the corresponding content in the above-mentioned automatic fault reporting method for server faults, which will not be described in detail.
可以理解的是,上述各实施例中相同或相似部分可以相互参考,在一些实施例中未详细说明的内容可以参见其他实施例中相同或相似的内容。It can be understood that, the same or similar parts in the above embodiments may refer to each other, and the content not described in detail in some embodiments may refer to the same or similar content in other embodiments.
需要说明的是,在本申请的描述中,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。此外,在本申请的描述中,除非另有说明,“多个”的含义是指至少两个。It should be noted that, in the description of the present application, the terms "first", "second" and the like are only used for the purpose of description, and should not be construed as indicating or implying relative importance. Also, in the description of this application, unless otherwise specified, the meaning of "plurality" means at least two.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。Any description of a process or method in the flowcharts or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing a specified logical function or step of the process , and the scope of the preferred embodiments of the present application includes alternative implementations in which the functions may be performed out of the order shown or discussed, including performing the functions substantially concurrently or in the reverse order depending upon the functions involved, which should It is understood by those skilled in the art to which the embodiments of the present application belong.
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that various parts of this application may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or a combination of the following techniques known in the art: Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, Programmable Gate Arrays (PGA), Field Programmable Gate Arrays (FPGA), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。Those skilled in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing the relevant hardware through a program, and the program can be stored in a computer-readable storage medium, and the program can be stored in a computer-readable storage medium. When executed, one or a combination of the steps of the method embodiment is included.
此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing module, or each unit may exist physically alone, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. If the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they may also be stored in a computer-readable storage medium.
上述提到的存储介质可以是只读存储器,磁盘或光盘等。The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, and the like.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of this specification, description with reference to the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples", etc., mean specific features described in connection with the embodiment or example , structure, material or feature is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。Although the embodiments of the present application have been shown and described above, it should be understood that the above embodiments are exemplary and should not be construed as limitations to the present application. Embodiments are subject to variations, modifications, substitutions and variations.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010355761.4A CN111581002A (en) | 2020-04-29 | 2020-04-29 | Automatic failure reporting method, device and equipment for server failure |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010355761.4A CN111581002A (en) | 2020-04-29 | 2020-04-29 | Automatic failure reporting method, device and equipment for server failure |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN111581002A true CN111581002A (en) | 2020-08-25 |
Family
ID=72126232
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010355761.4A Pending CN111581002A (en) | 2020-04-29 | 2020-04-29 | Automatic failure reporting method, device and equipment for server failure |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111581002A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112100048A (en) * | 2020-09-24 | 2020-12-18 | 中国建设银行股份有限公司 | Self-adaptive routing inspection method and device for server |
| CN113238913A (en) * | 2021-05-12 | 2021-08-10 | 康键信息技术(深圳)有限公司 | Intelligent server fault pushing method, device, equipment and storage medium |
| WO2025019973A1 (en) * | 2023-07-21 | 2025-01-30 | Lenovo Enterprise Solutions (Singapore) Pte. Ltd. | Enhanced diagnostic data capture |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011039892A (en) * | 2009-08-14 | 2011-02-24 | Fuji Xerox Co Ltd | Log recording system and program |
| US20140344476A1 (en) * | 2013-05-15 | 2014-11-20 | Tencent Technology (Shenzhen) Company Limited | Method, terminal, server, and system for data processing |
| CN105357064A (en) * | 2015-12-15 | 2016-02-24 | 山东海量信息技术研究院 | Node fault recording method of high-end fault tolerance server |
| CN108897665A (en) * | 2018-06-29 | 2018-11-27 | 平安科技(深圳)有限公司 | Blog management method, device, computer equipment and storage medium |
-
2020
- 2020-04-29 CN CN202010355761.4A patent/CN111581002A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011039892A (en) * | 2009-08-14 | 2011-02-24 | Fuji Xerox Co Ltd | Log recording system and program |
| US20140344476A1 (en) * | 2013-05-15 | 2014-11-20 | Tencent Technology (Shenzhen) Company Limited | Method, terminal, server, and system for data processing |
| CN105357064A (en) * | 2015-12-15 | 2016-02-24 | 山东海量信息技术研究院 | Node fault recording method of high-end fault tolerance server |
| CN108897665A (en) * | 2018-06-29 | 2018-11-27 | 平安科技(深圳)有限公司 | Blog management method, device, computer equipment and storage medium |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112100048A (en) * | 2020-09-24 | 2020-12-18 | 中国建设银行股份有限公司 | Self-adaptive routing inspection method and device for server |
| CN112100048B (en) * | 2020-09-24 | 2024-01-26 | 中国建设银行股份有限公司 | Self-adaptive inspection method and device for server |
| CN113238913A (en) * | 2021-05-12 | 2021-08-10 | 康键信息技术(深圳)有限公司 | Intelligent server fault pushing method, device, equipment and storage medium |
| WO2022237507A1 (en) * | 2021-05-12 | 2022-11-17 | 康键信息技术(深圳)有限公司 | Intelligent server fault pushing method, apparatus, and device, and storage medium |
| CN113238913B (en) * | 2021-05-12 | 2023-10-24 | 康键信息技术(深圳)有限公司 | Intelligent pushing method, device, equipment and storage medium for server faults |
| WO2025019973A1 (en) * | 2023-07-21 | 2025-01-30 | Lenovo Enterprise Solutions (Singapore) Pte. Ltd. | Enhanced diagnostic data capture |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108600029B (en) | A configuration file updating method, device, terminal device and storage medium | |
| US9049105B1 (en) | Systems and methods for tracking and managing event records associated with network incidents | |
| US9367379B1 (en) | Automated self-healing computer system | |
| US11392873B2 (en) | Systems and methods for simulating orders and workflows in an order entry and management system to test order scenarios | |
| CN104219327B (en) | Distributed cache system | |
| CN111737207B (en) | Method and device for showing and collecting logs of service nodes in distributed system | |
| US11271798B2 (en) | Automated network link repair | |
| CN110784374A (en) | Method, device, equipment and system for monitoring operation state of service system | |
| US20090198549A1 (en) | Automated Repair System and Method for Network-Addressable Components | |
| CN111581002A (en) | Automatic failure reporting method, device and equipment for server failure | |
| CN105373899A (en) | Server asset management method and apparatus | |
| JP7593726B2 (en) | Blockchain management of provisioning failures | |
| CN108763037A (en) | A kind of server monitoring management method and device | |
| JP6279744B2 (en) | How to queue email web client notifications | |
| CN110851471A (en) | Distributed log data processing method, device and system | |
| TWI709865B (en) | Operation and maintenance data reading device and reading method thereof | |
| CN111831628A (en) | System operation and maintenance monitoring method, device, electronic device and storage medium | |
| JP3916232B2 (en) | Knowledge-type operation management system, method and program | |
| CN110875832B (en) | Abnormal service monitoring method, device and system and computer readable storage medium | |
| CN110311802A (en) | Network operation method, device, electronic device and storage medium | |
| CN116319837B (en) | File synchronization method, device and equipment supporting multiple protocols and storage medium | |
| CN105847092A (en) | Method and device for monitoring website in real time | |
| CN107105037A (en) | A kind of distributed video CDN resource management systems and method based on file verification | |
| US20190155673A1 (en) | Notification of network connection errors between connected software systems | |
| CN108829564A (en) | Method for diagnosing faults, device, equipment and the storage medium of a kind of couple of Samba |
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 | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200825 |