CN110063042B - Database fault response method and terminal thereof - Google Patents
Database fault response method and terminal thereof Download PDFInfo
- Publication number
- CN110063042B CN110063042B CN201780000980.7A CN201780000980A CN110063042B CN 110063042 B CN110063042 B CN 110063042B CN 201780000980 A CN201780000980 A CN 201780000980A CN 110063042 B CN110063042 B CN 110063042B
- Authority
- CN
- China
- Prior art keywords
- fault
- repair
- database
- resource
- event information
- 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.)
- Active
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
- G06F11/0778—Dumping, i.e. gathering error/state information after a fault for later diagnosis
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Debugging And Monitoring (AREA)
Abstract
一种数据库故障的响应方法及其终端,包括:获取数据库的故障事件信息(S101);基于故障特征参数,确定故障事件信息对应的故障处理用户,并将故障事件信息推送给故障处理用户(S102);启动故障事件监测流程(S103);将故障修复结果推送给故障处理用户对应的审核账户(S104);若接收到所审核账户返回的故障修复确认指令,则关闭所述故障事件监测流程(S105)。解决了现有的数据库故障的响应技术,主要是通过预设的故障检测算法检测数据库中包含的故障,数据库故障修复的及时性较低,甚至可能加剧数据库的故障程度,增大了修复的难度,以及故障处理用户需要频繁地登录数据库检测是否有故障报告,降低了故障处理用户的操作效率的问题。
A method for responding to a database fault and a terminal thereof, comprising: obtaining fault event information of a database (S101); determining a fault processing user corresponding to the fault event information based on fault characteristic parameters, and pushing the fault event information to the fault processing user (S102 ); start the fault event monitoring process (S103); push the fault repair result to the audit account corresponding to the fault handling user (S104); if the fault repair confirmation instruction returned by the audited account is received, then close the fault event monitoring process ( S105). It solves the existing database failure response technology, which mainly detects the failures contained in the database through the preset failure detection algorithm. The timeliness of database failure repair is low, and may even aggravate the degree of database failure and increase the difficulty of repair. , and the fault handling user needs to frequently log in to the database to check whether there is a fault report, which reduces the problem of the fault handling user's operational efficiency.
Description
技术领域technical field
本发明属于数据库技术领域,尤其涉及一种数据库故障的响应方法及其终端。The invention belongs to the technical field of databases, and in particular relates to a database failure response method and a terminal thereof.
背景技术Background technique
随着信息化的深入发展,离不开对数据的存储以及提取操作,因而数据库的重要性也愈来愈突出,如何保证数据库系统能够持续高效工作已成为信息化进程发展的重要一环。而现有的数据库故障的响应技术,主要是通过预设的故障检测算法检测数据库中包含的故障,并在数据库本地输出对应的故障报告,故障修复的管理人员若不登录至该数据库,则无法获知数据库的故障情况,从而降低了数据库故障修复的及时性,甚至可能加剧数据库的故障程度,增大了修复的难度。另一方面,故障处理用户需要频繁地登录数据库检测是否有故障报告,降低了故障处理用户的操作效率。With the in-depth development of informatization, data storage and extraction operations are inseparable, so the importance of databases has become more and more prominent. How to ensure that the database system can continue to work efficiently has become an important part of the development of informatization. However, the existing database fault response technology mainly detects the faults contained in the database through the preset fault detection algorithm, and outputs the corresponding fault report locally in the database. Knowing the failure situation of the database reduces the timeliness of database failure repair, and may even aggravate the degree of database failure and increase the difficulty of repair. On the other hand, the fault handling user needs to frequently log in to the database to check whether there is a fault report, which reduces the operating efficiency of the fault handling user.
发明内容Contents of the invention
有鉴于此,本发明实施例提供了一种数据库故障的响应方法及其终端,以解决现有的数据库故障的响应技术,主要是通过预设的故障检测算法检测数据库中包含的故障,并在数据库本地输出对应的故障报告,故障修复的管理人员若不登录至该数据库,则无法获知数据库的故障情况,从而降低了数据库故障修复的及时性,甚至可能加剧数据库的故障程度,增大了修复的难度。另一方面,故障处理用户需要频繁地登录数据库检测是否有故障报告,降低了故障处理用户的操作效率的问题。In view of this, the embodiment of the present invention provides a database fault response method and its terminal to solve the existing database fault response technology, mainly detecting faults contained in the database through a preset fault detection algorithm, and The database outputs the corresponding fault report locally. If the fault repair manager does not log in to the database, he will not be able to know the fault situation of the database, thereby reducing the timeliness of database fault repair, and may even aggravate the fault degree of the database and increase the repair time. difficulty. On the other hand, the fault handling user needs to frequently log in to the database to check whether there is a fault report, which reduces the operating efficiency of the fault handling user.
本发明实施例的第一方面提供了一种数据库故障的响应方法,所述数据库故障的响应方法包括:The first aspect of the embodiments of the present invention provides a method for responding to a database failure, the method for responding to a database failure includes:
获取数据库的故障事件信息;其中,所述故障事件信息包含故障特征参数以及与所述故障特征参数匹配的故障修复方案;Acquiring fault event information of the database; wherein, the fault event information includes fault characteristic parameters and a fault recovery plan matching the fault characteristic parameters;
基于所述故障特征参数,确定所述故障事件信息对应的故障处理用户,并将所述故障事件信息推送给所述故障处理用户;Based on the fault characteristic parameters, determine a fault handling user corresponding to the fault event information, and push the fault event information to the fault processing user;
启动故障事件监测流程,以采集所述故障处理用户修复所述故障事件信息时产生的故障修复数据以及故障修复结果;Start the fault event monitoring process to collect fault repair data and fault repair results generated when the fault processing user repairs the fault event information;
将所述故障修复结果推送给所述故障处理用户对应的审核账户;Pushing the fault repair result to the audit account corresponding to the fault handling user;
若接收到所审核账户返回的故障修复确认指令,则关闭所述故障事件监测流程。If the fault repair confirmation instruction returned by the audited account is received, the fault event monitoring process is closed.
本发明实施例的第二方面提供了一种数据库故障的响应终端,所述数据库故障的响应终端包括:The second aspect of the embodiments of the present invention provides a database fault response terminal, the database fault response terminal includes:
获取数据库的故障事件信息;其中,所述故障事件信息包含故障特征参数以及与所述故障特征参数匹配的故障修复方案;Acquiring fault event information of the database; wherein, the fault event information includes fault characteristic parameters and a fault recovery plan matching the fault characteristic parameters;
基于所述故障特征参数,确定所述故障事件信息对应的故障处理用户,并将所述故障事件信息推送给所述故障处理用户;Based on the fault characteristic parameters, determine a fault handling user corresponding to the fault event information, and push the fault event information to the fault processing user;
启动故障事件监测流程,以采集所述故障处理用户修复所述故障事件信息时产生的故障修复数据以及故障修复结果;Start the fault event monitoring process to collect fault repair data and fault repair results generated when the fault processing user repairs the fault event information;
将所述故障修复结果推送给所述故障处理用户对应的审核账户;Pushing the fault repair result to the audit account corresponding to the fault handling user;
若接收到所审核账户返回的故障修复确认指令,则关闭所述故障事件监测流程。If the fault repair confirmation instruction returned by the audited account is received, the fault event monitoring process is closed.
本发明实施例的第三方面提供了一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现以下步骤:A third aspect of the embodiments of the present invention provides a terminal device, including a memory, a processor, and a computer program stored in the memory and operable on the processor, when the processor executes the computer program Implement the following steps:
获取数据库的故障事件信息;其中,所述故障事件信息包含故障特征参数以及与所述故障特征参数匹配的故障修复方案;Acquiring fault event information of the database; wherein, the fault event information includes fault characteristic parameters and a fault recovery plan matching the fault characteristic parameters;
基于所述故障特征参数,确定所述故障事件信息对应的故障处理用户,并将所述故障事件信息推送给所述故障处理用户;Based on the fault characteristic parameters, determine a fault handling user corresponding to the fault event information, and push the fault event information to the fault processing user;
启动故障事件监测流程,以采集所述故障处理用户修复所述故障事件信息时产生的故障修复数据以及故障修复结果;Start the fault event monitoring process to collect fault repair data and fault repair results generated when the fault processing user repairs the fault event information;
将所述故障修复结果推送给所述故障处理用户对应的审核账户;Pushing the fault repair result to the audit account corresponding to the fault handling user;
若接收到所审核账户返回的故障修复确认指令,则关闭所述故障事件监测流程。If the fault repair confirmation instruction returned by the audited account is received, the fault event monitoring process is closed.
本发明实施例的第四方面提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
获取数据库的故障事件信息;其中,所述故障事件信息包含故障特征参数以及与所述故障特征参数匹配的故障修复方案;Acquiring fault event information of the database; wherein, the fault event information includes fault characteristic parameters and a fault recovery plan matching the fault characteristic parameters;
基于所述故障特征参数,确定所述故障事件信息对应的故障处理用户,并将所述故障事件信息推送给所述故障处理用户;Based on the fault characteristic parameters, determine a fault handling user corresponding to the fault event information, and push the fault event information to the fault processing user;
启动故障事件监测流程,以采集所述故障处理用户修复所述故障事件信息时产生的故障修复数据以及故障修复结果;Start the fault event monitoring process to collect fault repair data and fault repair results generated when the fault processing user repairs the fault event information;
将所述故障修复结果推送给所述故障处理用户对应的审核账户;Pushing the fault repair result to the audit account corresponding to the fault handling user;
若接收到所审核账户返回的故障修复确认指令,则关闭所述故障事件监测流程。If the fault repair confirmation instruction returned by the audited account is received, the fault event monitoring process is closed.
实施本发明实施例提供的一种数据库故障的响应方法及其终端具有以下有益效果:Implementing a database fault response method and its terminal provided by the embodiment of the present invention has the following beneficial effects:
本发明实施例通过获取数据库的故障事件信息,确定该故障事件信息对应的故障处理用户,并将故障事件信息推送给确定得到的故障处理用户,以便用户可根据该故障事件信息中包含的故障特征参数以及与故障特征参数匹配的故障修复方案,对数据库中包含的故障进行修复,与此同时,数据库故障的响应终端将开启故障事件监测流程,以实时采集故障处理用户在修复故障事件信息的过程中,得到的故障修复数据,以及修复完毕后生成的故障修复结果,并自动将该故障修复结果推送给故障处理用户对应的审核账户,以确认该故障事件信息是否已经处理完成,若收到审核账户返回的故障修复确认指令,则表示该故障修复事件已经被正确修复,可结束该次故障响应流程。与现有的数据库故障的响应技术相比,本发明实施例能够在确定数据库存在故障事件时,即时将故障情况反馈给对应的故障处理用户,从而缩减了故障发生到故障发现之间的时间差,实现实时汇报故障情况的目的,无需用户频繁登录数据库确认是否存在故障事件,避免故障情况加剧。另一方面,本发明实施例在得到修复结果后,还将对应的修复结果推送给对应的审核账户,从而使得修复结果经过多一重审核流程,确保了修复结果的准确性。The embodiment of the present invention determines the fault handling user corresponding to the fault event information by acquiring the fault event information of the database, and pushes the fault event information to the determined fault processing user, so that the user can Parameters and a fault repair plan that matches the fault characteristic parameters to repair the faults contained in the database. At the same time, the database fault response terminal will start the fault event monitoring process to collect fault processing in real time. The user is repairing the fault event information process , the fault repair data obtained, and the fault repair result generated after the repair is completed, and the fault repair result is automatically pushed to the audit account corresponding to the fault handling user to confirm whether the fault event information has been processed. The fault repair confirmation instruction returned by the account indicates that the fault repair event has been correctly repaired, and the fault response process can be ended. Compared with the existing database failure response technology, the embodiment of the present invention can immediately feed back the failure situation to the corresponding failure handling user when it is determined that there is a failure event in the database, thereby reducing the time difference between the occurrence of the failure and the discovery of the failure. To achieve the purpose of real-time reporting of fault conditions, users do not need to frequently log in to the database to confirm whether there are fault events, and avoid the aggravation of fault conditions. On the other hand, in the embodiment of the present invention, after obtaining the repair result, the corresponding repair result is pushed to the corresponding audit account, so that the repair result goes through an additional review process, ensuring the accuracy of the repair result.
附图说明Description of drawings
图1是本发明第一实施例提供的一种数据库故障的响应方法的实现流程图;Fig. 1 is the implementation flowchart of a kind of response method of database failure provided by the first embodiment of the present invention;
图2是本发明第二实施例提供的一种数据库故障的响应方法的具体实现流程图;Fig. 2 is a specific implementation flowchart of a database fault response method provided by the second embodiment of the present invention;
图3是本发明第三实施例提供的一种数据库故障的响应方法S103的具体实现流程图;FIG. 3 is a specific implementation flowchart of a database fault response method S103 provided in the third embodiment of the present invention;
图4是本发明第四实施例提供的一种数据库故障的响应方法S101的具体实现流程图;FIG. 4 is a specific implementation flowchart of a database fault response method S101 provided in the fourth embodiment of the present invention;
图5是本发明第五实施例提供的一种数据库故障的响应方法的具体实现流程图;Fig. 5 is a specific implementation flowchart of a database failure response method provided by the fifth embodiment of the present invention;
图6是本发明一实施例提供的一种数据库故障的响应终端的结构框图;FIG. 6 is a structural block diagram of a database fault response terminal provided by an embodiment of the present invention;
图7是本发明一实施例提供的一种终端设备的示意图。Fig. 7 is a schematic diagram of a terminal device provided by an embodiment of the present invention.
具体实施方式detailed description
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
本发明实施例通过获取数据库的故障事件信息,确定该故障事件信息对应的故障处理用户,并将故障事件信息推送给确定得到的故障处理用户,以便用户可根据该故障事件信息中包含的故障特征参数以及与故障特征参数匹配的故障修复方案,对数据库中包含的故障进行修复,与此同时,数据库故障的响应终端将开启故障事件监测流程,以实时采集故障处理用户在修复故障事件信息的过程中,得到的故障修复数据,以及修复完毕后生成的故障修复结果,并自动将该故障修复结果推送给故障处理用户对应的审核账户,以确认该故障事件信息是否已经处理完成,若收到审核账户返回的故障修复确认指令,则表示该故障修复事件已经被正确修复,可结束该次故障响应流程,解决了现有的数据库故障的响应技术,主要是通过预设的故障检测算法检测数据库中包含的故障,并在数据库本地输出对应的故障报告,故障修复的管理人员若不登录至该数据库,则无法获知数据库的故障情况,从而降低了数据库故障修复的及时性,甚至可能加剧数据库的故障程度,增大了修复的难度。另一方面,故障处理用户需要频繁地登录数据库检测是否有故障报告,降低了故障处理用户的操作效率的问题。The embodiment of the present invention determines the fault handling user corresponding to the fault event information by acquiring the fault event information of the database, and pushes the fault event information to the determined fault processing user, so that the user can Parameters and a fault repair plan that matches the fault characteristic parameters to repair the faults contained in the database. At the same time, the database fault response terminal will start the fault event monitoring process to collect fault processing in real time. The user is repairing the fault event information process , the fault repair data obtained, and the fault repair result generated after the repair is completed, and the fault repair result is automatically pushed to the audit account corresponding to the fault handling user to confirm whether the fault event information has been processed. The fault repair confirmation command returned by the account indicates that the fault repair event has been correctly repaired, and the fault response process can be ended, which solves the existing database fault response technology, mainly through the preset fault detection algorithm to detect Include faults, and output the corresponding fault report locally in the database. If the fault repair manager does not log in to the database, he will not be able to know the fault status of the database, thereby reducing the timeliness of database fault repair, and may even aggravate the database fault. degree, increasing the difficulty of restoration. On the other hand, the fault handling user needs to frequently log in to the database to check whether there is a fault report, which reduces the operating efficiency of the fault handling user.
在本发明实施例中,流程的执行主体为安装有数据库故障的响应程序的终端设备,终端设备包括服务器、计算机设备、平板电脑等终端,用于响应各个数据库的故障事件,对发生的故障事件进行对应的响应操作。特别地,该终端设备为接入至数据库系统内的一故障响应装置,通过该数据库系统的网络接收各个数据库发送的故障事件信息,继而对整个数据库系统包含的数据库进行故障修复。图1示出了本发明第一实施例提供的数据库故障的响应方法的实现流程图,详述如下:In the embodiment of the present invention, the execution subject of the process is a terminal device installed with a database fault response program, and the terminal device includes terminals such as servers, computer devices, and tablet computers, which are used to respond to fault events of various databases, and respond to fault events that occur Perform corresponding response operations. In particular, the terminal device is a fault response device connected to the database system, receives fault event information sent by each database through the network of the database system, and then repairs the faults of the databases included in the entire database system. Fig. 1 shows the implementation flow chart of the response method of the database fault provided by the first embodiment of the present invention, detailed description is as follows:
在S101中,获取数据库的故障事件信息;其中,所述故障事件信息包含故障特征参数以及与所述故障特征参数匹配的故障修复方案。In S101, the fault event information of the database is acquired; wherein, the fault event information includes fault characteristic parameters and a fault recovery solution matching the fault characteristic parameters.
在本实施例中,终端设备若接收到数据库的故障事件信息,则触发数据库故障的响应流程,从而修复数据库中的故障情况。具体地,故障事件信息包含数据类别,终端设备在每接收到一个数据信息时,将读取该数据信息的数据类别,并根据预设的数据类别标识列表,确定该数据信息是否为故障事件信息,若是,则执行S101的操作。In this embodiment, if the terminal device receives the fault event information of the database, it triggers the response process of the database fault, thereby repairing the fault condition in the database. Specifically, the fault event information includes a data category, and each time a terminal device receives a piece of data information, it will read the data category of the data information, and determine whether the data information is fault event information according to the preset data category identification list , if yes, perform the operation of S101.
在本实施例中,终端设备可通过本地的数据库故障的检测程序,确定数据库是否存在故障情况,继而获取该数据库对应的故障事件信息;终端设备还可以通过独立的数据库故障的检测终端,检测该数据库包含的故障信息,继而通过终端设备与数据库故障的检测终端之间的通信连接,获取其发送的故障事件信息。In this embodiment, the terminal device can determine whether there is a fault in the database through the local database fault detection program, and then obtain the fault event information corresponding to the database; the terminal device can also detect the fault event information through an independent database fault detection terminal. The fault information contained in the database, and then through the communication connection between the terminal device and the database fault detection terminal, obtains the fault event information sent by it.
在本实施例中,故障事件信息包含故障特征参数,该故障特征参数具体用于表示该数据库发生故障的具体情况,包括但不限:故障发生的位置、故障等级、数据库故障模块的运行数据等,以便用户根据该故障特征参数定位该故障的成因以及影响的数据库模块,从而在修复前判定是否需要通过后备数据库进行业务支援以及修复所需的时间。In this embodiment, the failure event information includes failure characteristic parameters, which are specifically used to indicate the specific circumstances of the failure of the database, including but not limited to: the location of the failure, failure level, operating data of the database failure module, etc. , so that the user can locate the cause of the fault and the database module affected according to the fault characteristic parameters, so as to determine whether business support through the backup database is required and the time required for repair before repairing.
在本实施例中,故障事件信息还包含与故障特征参数匹配的故障修复方案。终端设备或数据库故障的检查终端,可根据采集得到的故障特征参数与预设的修复方案库进行匹配操作,自动生成该故障对应的推荐故障修复方案,以便用户在接收到故障事件信息时,可参考该故障修复方案对数据库进行故障修复。需要说明的是,该故障事件信息中包含的故障修复方案可以为一个,也可以为两个或以上,特别地,若故障事件信息包含两个或以上的故障修复方案,则可能表示造成数据库故障的原因可能是某两个或以上故障成因中的一个,终端设备无法准确定位,因此将多个故障成因对应的故障修复方案推荐给用户,用户可在定位了数据库的故障成因后,选取其中一个故障修复方案对其进行修复。In this embodiment, the fault event information also includes a fault recovery solution that matches the fault characteristic parameters. The inspection terminal for terminal equipment or database faults can match the collected fault characteristic parameters with the preset repair plan library, and automatically generate the recommended fault repair plan corresponding to the fault, so that when users receive fault event information, they can Refer to this fault recovery plan to perform fault recovery on the database. It should be noted that the fault recovery plan contained in the fault event information may be one, or two or more. In particular, if the fault event information contains two or more fault recovery plans, it may indicate that the database failure The reason may be one of two or more fault causes, and the terminal equipment cannot be accurately located. Therefore, the fault repair plan corresponding to multiple fault causes is recommended to the user. After locating the fault cause in the database, the user can select one of them. The failure fix fixes it.
可选地,在本实施例中,若终端设备用于检测多个数据库的故障情况,则可该故障事件信息中还包含数据库标识,终端设备可基于该数据库标识定位发生故障的数据库。特别地,终端设备可在标示有所有数据库的数据库地图上,通过标红或闪烁等方式,提示用户发生故障的数据库。Optionally, in this embodiment, if the terminal device is used to detect failures of multiple databases, the failure event information may further include database identifiers, and the terminal device may locate the faulty database based on the database identifiers. In particular, the terminal device can prompt the user of the failed database by marking red or flashing on the database map marked with all databases.
在S102中,基于所述故障特征参数,确定所述故障事件信息对应的故障处理用户,并将所述故障事件信息推送给所述故障处理用户。In S102, based on the fault feature parameters, determine a fault handling user corresponding to the fault event information, and push the fault event information to the fault processing user.
在本实施例中,终端设备从故障事件信息中提取其中包含的故障特征参数,定位该数据库中发生故障的模块或功能,继而确定管理该模块或功能的用户,将上述用户识别为故障处理用户。具体地,若故障特征参数对应多个故障模块或故障功能,且多个故障模块或故障功能由不同的用户进行管理,则该故障事件信息对应的故障处理用户可以为多个,并将故障事件信息同时推送给多个故障处理用户。优选地,终端设备基于不同的故障模块或故障功能,将故障事件信息分解为多个故障子事件信息,并将各个故障子事件信息推送给对应的故障处理用户。In this embodiment, the terminal device extracts the fault characteristic parameters contained in the fault event information, locates the faulty module or function in the database, and then determines the user who manages the module or function, and identifies the above user as the fault handling user . Specifically, if the fault characteristic parameters correspond to multiple fault modules or fault functions, and the multiple fault modules or fault functions are managed by different users, then the fault event information corresponds to multiple fault processing users, and the fault event information Information is simultaneously pushed to multiple troubleshooting users. Preferably, the terminal device decomposes the fault event information into a plurality of fault sub-event information based on different fault modules or fault functions, and pushes each fault sub-event information to corresponding fault handling users.
在本实施例中,终端设备在确定故障处理用户后,则根据查询该故障处理用户对应的用户设备以及该用户设备的通信地址,向该用户设备发送故障事件信息。可选地,终端设备还可以根据该故障处理用户,在该故障处理用户对应的办公系统中生成一个故障处理事件,将该故障事件信息导入到该故障处理事件中,并将该故障处理事件推送给故障处理用户在办公系统中对应的账户上。In this embodiment, after determining the fault handling user, the terminal device sends fault event information to the user equipment according to querying the user equipment corresponding to the fault handling user and the communication address of the user equipment. Optionally, the terminal device can also generate a fault processing event in the office system corresponding to the fault processing user according to the fault processing user, import the fault event information into the fault processing event, and push the fault processing event to Give the troubleshooting user the corresponding account in the office system.
在S103中,启动故障事件监测流程,以采集所述故障处理用户修复所述故障事件信息时产生的故障修复数据以及故障修复结果。In S103, a fault event monitoring process is started to collect fault repair data and fault repair results generated when the fault processing user repairs the fault event information.
在本实施例中,故障处理用户在接收到故障事件信息后,将对数据库的故障情况进行修复操作,以对数据库无法自动修复的故障进行人工修复。与此同时,终端设备也启动故障事件监测流程,用于采集故障处理用户修复故障事件信息对应的故障情况时产生的故障修复数据。具体地,终端设备将开启一条独立的线程,通过该线程持续监测该数据库中的参数修改操作,该参数包括数据库的运行参数、脚本文件、表结构、存储数据的变更情况等。终端设备将获取得到的故障修复数据存储于该故障事件信息对应的存储区域中,该存储区域包含故障事件信息的事件标识。In this embodiment, after receiving the fault event information, the fault handling user will perform a repair operation on the fault condition of the database, so as to manually repair the faults that cannot be automatically repaired in the database. At the same time, the terminal device also starts the fault event monitoring process for collecting fault repair data generated when the fault handling user repairs the fault situation corresponding to the fault event information. Specifically, the terminal device will start an independent thread, and continuously monitor the parameter modification operation in the database through this thread, and the parameters include the operating parameters of the database, script files, table structures, changes in stored data, and the like. The terminal device stores the obtained fault recovery data in a storage area corresponding to the fault event information, and the storage area includes an event identifier of the fault event information.
在本实施例中,终端设备可同时开启多条线程,用于采集不同故障事件信息的故障修复数据。数据库故障的检查终端或终端设备可能在一定的时间内,检查到数据库存在多个故障情况,从而生成多个故障事件信息,因此终端设备为了确定各个故障事件信息对应的修复情况,则开启多条线程,每一条线程检测一个故障事件信息对应的故障修复数据,并存储至各自对应的存储区域中。In this embodiment, the terminal device can simultaneously open multiple threads for collecting fault repair data of different fault event information. Database fault inspection terminal or terminal equipment may detect multiple faults in the database within a certain period of time, thereby generating multiple fault event information. Therefore, in order to determine the repair status corresponding to each fault event information, the terminal device opens multiple Threads, each thread detects fault repair data corresponding to a fault event information, and stores it in its corresponding storage area.
在本实施例中,终端设备采集故障修复数据的方式具体为:终端设备以预设的时间间隔获取数据库中的各项参数,并将该当前采集到的参数与上一采集时刻对应的参数进行比对,确定变更的参数情况,并将变更的参数情况作为该次修复过程的故障修复数据,从而实现对故障修复数据实现增量存储,以减少故障修复数据的数据量以及终端设备的存储压力。In this embodiment, the method for the terminal device to collect fault repair data is as follows: the terminal device obtains various parameters in the database at a preset time interval, and compares the currently collected parameters with the parameters corresponding to the previous collection time. Compare and determine the changed parameters, and use the changed parameters as the fault repair data of this repair process, so as to realize incremental storage of fault repair data, so as to reduce the data volume of fault repair data and the storage pressure of terminal equipment .
在本实施例中,终端设备若接收到故障处理用户发送的故障修复完成指令,则判定该故障事件信息已被修复完成,并将该故障修复完成指令中包含的处理结果识别为故障修复结果。可选地,终端设备若在预设的最大修复等待时间外并未检测到数据库的参数发生改变,即表明用户不再对其进行修复,也表明该次修复操作已完成,因此在该情况下,终端设备也将识别该故障事件信息已被处理完毕,并根据当前数据库的运行情况得到对应的故障修复结果。In this embodiment, if the terminal device receives the fault repair completion instruction sent by the fault processing user, it determines that the fault event information has been repaired, and recognizes the processing result included in the fault repair completion instruction as the fault repair result. Optionally, if the terminal device does not detect that the parameters of the database have changed beyond the preset maximum repair waiting time, it means that the user will no longer repair it, and it also indicates that the repair operation has been completed. Therefore, in this case , the terminal device will also recognize that the fault event information has been processed, and obtain the corresponding fault repair result according to the current operation status of the database.
可选地,在本实施例中,终端设备获取到故障修复结果时,可暂停采集故障修复数据。在该情况下,若终端设备接收到审核账户返回的故障修复确认指令,则执行S105的相关操作;反之,若终端设备并未接收到审核账户返回的故障修复确认指令,则重新启动该故障事件监测流程,以继续采集故障修复数据。Optionally, in this embodiment, when the terminal device obtains the fault repair result, it may suspend collecting the fault repair data. In this case, if the terminal device receives the fault repair confirmation instruction returned by the audit account, then perform the relevant operations of S105; otherwise, if the terminal device does not receive the fault repair confirmation instruction returned by the audit account, restart the fault event Monitor the process to continue collecting fault recovery data.
在S104中,将所述故障修复结果推送给所述故障处理用户对应的审核账户。In S104, the fault repair result is pushed to an audit account corresponding to the fault handling user.
在本实施例中,终端设备在确定数据库的故障事件信息已被修复完成后,则进行故障处理结果进行审批确认的操作,以确保该故障修复结果正确无误。终端设备将查询进行修复操作的故障处理用户对应的审核账户,该审核账户可以为故障处理用户的上级用户,也可以是数据库的管理员,该数据库的管理员负责整个数据库具有监控管理、权限。In this embodiment, after determining that the fault event information in the database has been repaired, the terminal device performs an operation of approving and confirming the fault processing result to ensure that the fault repair result is correct. The terminal device will query the audit account corresponding to the troubleshooting user who performs the repair operation. The audit account can be the superior user of the troubleshooting user, or the administrator of the database. The administrator of the database is responsible for the monitoring management and authority of the entire database.
可选地,在本实施例中,终端设备还将故障修复结果发送给故障处理用户。由于某些修复操作可能需要数据库自动运行一段较长的时间,而故障处理用户并不需要自动运行过程中一直关注数据库的情况,而当数据库将自动修复程序运行完成后,可将对应的故障修复结果推送给故障处理用户,以便故障处理用户确认修复操作已完成。Optionally, in this embodiment, the terminal device also sends the fault repair result to the fault handling user. Since some repair operations may require the database to run automatically for a long period of time, and the fault handling user does not need to pay attention to the status of the database during the automatic running process, and when the database automatically repairs the program, the corresponding fault can be repaired The result is pushed to the fault handling user so that the fault handling user can confirm that the repair operation has been completed.
与推送给故障处理用户的方式相对应,本实施例中,终端设备将故障处理结果推送给审核账户的方式包括:在终端确定审核账户后,则查询该审核账户对应的设备以及该设备的通信地址,向该设备发送故障处理结果。推送方式包括:终端设备在办公系统中生成一个故障审核事件,将该故障处理结果导入到该故障审核事件中,并将该故障审核事件在办公系统中推送故障处理用户对应的审核账户。Corresponding to the method of pushing to the fault handling user, in this embodiment, the method for the terminal device to push the fault handling result to the audit account includes: after the terminal determines the audit account, query the device corresponding to the audit account and the communication of the device. address, and send the fault handling result to the device. The push method includes: the terminal device generates a fault review event in the office system, imports the fault processing result into the fault review event, and pushes the fault review event to the review account corresponding to the fault processing user in the office system.
在S105中,若接收到所审核账户返回的故障修复确认指令,则关闭所述故障事件监测流程。In S105, if a failure repair confirmation instruction returned by the audited account is received, the failure event monitoring process is closed.
在本实施例中,审核账户在接收到终端设备推送的故障处理结果时,可基于该故障处理结果,判定该次故障修复操作是否已经完成。若审核账户认同该故障处理结果并确定该次故障修复操作已完成,将生成故障修复确认指令,并发送给终端设备;若审核账户不认同该故障处理结果,需要故障处理用户重新对该故障处理事件进行修复处理,则生成故障重修复指令给终端设备,在该情况下,终端设备若接收到故障重修复指令,则返回执行S102的操作,以提示故障处理用户重新对该故障事件进行处理。In this embodiment, when the audit account receives the fault processing result pushed by the terminal device, it can determine whether the fault repair operation has been completed based on the fault processing result. If the audit account agrees with the fault handling result and confirms that the fault repair operation has been completed, a fault repair confirmation command will be generated and sent to the terminal device; if the audit account does not agree with the fault handling result, the fault handling user needs to handle the fault again After the event is repaired, a fault re-recovery command is generated to the terminal device. In this case, if the terminal device receives the fault re-recovery command, it returns to S102 to prompt the fault handling user to process the fault event again.
在本实施例中,终端设备接收到审核账户返回的故障修复确认指令后,则判定该故障事件信息已被成功修复,因此无需再对该事件进行修复数据的采集,因此将关闭该故障事件监测流程,并将故障修复数据以及对应的故障修复结果封装于数据包中,将该数据包作为数据库的修复记录予以保存。In this embodiment, after receiving the fault repair confirmation instruction returned by the audit account, the terminal device determines that the fault event information has been successfully repaired, so there is no need to collect repair data for this event, so the fault event monitoring will be closed process, and encapsulate the fault repair data and corresponding fault repair results in a data package, and save the data package as a repair record of the database.
以上可以看出,本发明实施例提供的一种数据库故障的响应方法通过获取数据库的故障事件信息,确定该故障事件信息对应的故障处理用户,并将故障事件信息推送给确定得到的故障处理用户,以便用户可根据该故障事件信息中包含的故障特征参数以及与故障特征参数匹配的故障修复方案,对数据库中包含的故障进行修复,与此同时,数据库故障的响应终端将开启故障事件监测流程,以实时采集故障处理用户在修复故障事件信息的过程中,得到的故障修复数据,以及修复完毕后生成的故障修复结果,并自动将该故障修复结果推送给故障处理用户对应的审核账户,以确认该故障事件信息是否已经处理完成,若收到审核账户返回的故障修复确认指令,则表示该故障修复事件已经被正确修复,可结束该次故障响应流程。与现有的数据库故障的响应技术相比,本发明实施例能够在确定数据库存在故障事件时,即时将故障情况反馈给对应的故障处理用户,从而缩减了故障发生到故障发现之间的时间差,实现实时汇报故障情况的目的,无需用户频繁登录数据库确认是否存在故障事件,避免故障情况加剧。另一方面,本发明实施例在得到修复结果后,还将对应的修复结果推送给对应的审核账户,从而使得修复结果经过多一重审核流程,确保了修复结果的准确性。As can be seen from the above, the method for responding to a database fault provided by the embodiment of the present invention determines the fault handling user corresponding to the fault event information by obtaining the fault event information of the database, and pushes the fault event information to the determined fault processing user , so that the user can repair the fault contained in the database according to the fault characteristic parameters contained in the fault event information and the fault repair plan matching the fault characteristic parameters. At the same time, the response terminal of the database fault will start the fault event monitoring process , to collect the fault repair data obtained by the fault handling user in the process of repairing the fault event information in real time, as well as the fault repair result generated after the repair is completed, and automatically push the fault repair result to the corresponding audit account of the fault handling user, so as to Confirm whether the fault event information has been processed. If the fault repair confirmation instruction returned by the audit account is received, it means that the fault repair event has been correctly repaired, and the fault response process can be ended. Compared with the existing database failure response technology, the embodiment of the present invention can immediately feed back the failure situation to the corresponding failure handling user when it is determined that there is a failure event in the database, thereby reducing the time difference between the occurrence of the failure and the discovery of the failure. To achieve the purpose of real-time reporting of fault conditions, users do not need to frequently log in to the database to confirm whether there are fault events, and avoid the aggravation of fault conditions. On the other hand, in the embodiment of the present invention, after obtaining the repair result, the corresponding repair result is pushed to the corresponding audit account, so that the repair result goes through an additional review process, ensuring the accuracy of the repair result.
图2示出了本发明第二实施例提供的一种数据库故障的响应方法的具体实现流程图。参见图2所示,相对于图1所述实施例,本实施例提供的一种数据库故障的响应方法还包括S201~S203,详述如下:FIG. 2 shows a specific implementation flowchart of a method for responding to a database failure provided by the second embodiment of the present invention. Referring to FIG. 2, compared to the embodiment described in FIG. 1, a database failure response method provided in this embodiment further includes S201-S203, which are described in detail as follows:
进一步地,所述若接收到所审核账户返回的故障修复确认指令,则关闭所述故障事件监测流程之后,还包括:Further, if the fault repair confirmation instruction returned by the audited account is received, after closing the fault event monitoring process, it also includes:
在S201中,提取所述故障修复数据的修复特征参数,并将所述修复特征参数与预设的修复方案库进行匹配。In S201, extract the repair feature parameters of the fault repair data, and match the repair feature parameters with a preset repair solution library.
在本实施例中,终端设备在完成数据库的故障修复操作之后,将对本次故障处理用户的修复过程进行学习,以提高故障修复方案库的方案数量。终端设备首先确定故障事件信息的故障类型,并从故障事件监测流程对应的存储区域中获取该故障事件对应的故障修复数据,并从该故障修复数据中提取修复特征参数,其中该修复特征参数具体为故障处理用户消除故障事件信息时对数据库进行修改的参数,如上所述,该参数包括以下一种或至少两种的组合:数据库的运行参数、脚本文件、表结构、存储数据的变更情况。可选地,终端设备还可以将故障发生时刻的数据库参数以及故障修复完成时的数据库参数逐一进行比对,继而得到该修复特征参数。In this embodiment, after completing the fault repair operation of the database, the terminal device will learn the repair process of the fault handling user this time, so as to increase the number of solutions in the fault repair solution library. The terminal device first determines the fault type of the fault event information, and obtains the fault repair data corresponding to the fault event from the storage area corresponding to the fault event monitoring process, and extracts the repair characteristic parameters from the fault repair data, wherein the repair characteristic parameters are specific Parameters for modifying the database when users eliminate fault event information for fault handling. As mentioned above, the parameters include one or a combination of at least two of the following: operating parameters of the database, script files, table structures, and changes in stored data. Optionally, the terminal device can also compare the database parameters at the moment when the fault occurs and the database parameters when the fault is repaired one by one, and then obtain the repair characteristic parameter.
在本实施例中,终端设备预设有修复方案库,用于记录不同故障类型对应的故障修复方案。其中,该修复方案库可存储于终端设备内置的存储模块中,在该情况下,终端设备可直接读取本地的存储模块即可获取到修复方案库中包含的数据;该修复方案库也可以存储于独立的数据库服务器或其他终端设备中,在该情况下,终端设备则需要与该数据库服务器或其他终端设备建立通信连接,并发送修复方案库的调用请求,以获取该修复方案库中的数据。In this embodiment, the terminal device is preset with a repair plan library for recording fault repair plans corresponding to different fault types. Wherein, the repair solution library can be stored in the built-in storage module of the terminal device. In this case, the terminal device can directly read the local storage module to obtain the data contained in the repair solution library; the repair solution library can also be Stored in an independent database server or other terminal device, in this case, the terminal device needs to establish a communication connection with the database server or other terminal device, and send a call request for the repair plan library to obtain the repair plan library. data.
在本实施例中,终端设备在获取到修复特征参数后,将与修复方案库中包含的各个故障修复方案的修复特征参数进行匹配,从而确定该故障修复的手段是否已记录在修复方案库内。由于修复特征参数是在修复故障事件信息过程中的故障修复数据内提取得到额,因此该修复特征参数可以表示用户进行数据库修复时对应的故障修复方案。若修复特征参数与任一故障修复方案匹配,则表示两者的修复手段一致,属于相同的故障修复方案;若修复特征参数与修复方案库中任一故障修复方案均不匹配,则表示该故障修复数据对应的修复过程属于新的修复方案,因此将执行S202以及S203的操作,以将该新的修复方案添加至修复方案库中。In this embodiment, after the terminal device obtains the repair feature parameters, it will match the repair feature parameters of each fault repair plan contained in the repair plan library, so as to determine whether the means of the fault repair has been recorded in the repair plan library . Since the repair feature parameter is extracted from the fault repair data in the process of repairing the fault event information, the repair feature parameter can represent a corresponding fault repair solution when the user performs database repair. If the repair feature parameters match any fault repair plan, it means that the repair methods of the two are consistent and belong to the same fault repair plan; if the repair feature parameters do not match any fault repair plan in the repair plan library, it means that the fault The repair process corresponding to the repair data belongs to a new repair plan, so the operations of S202 and S203 are performed to add the new repair plan to the repair plan library.
在S202中,若所述修复特征参数在所述预设的修复方案库中不存在与之匹配的故障修复方案,则新建一个故障修复方案。In S202, if there is no fault repair solution matching the repair feature parameter in the preset repair solution library, create a new fault repair solution.
在本实施例中,终端设备若在修复方案库中无法寻找到与修复特征参数匹配的故障修复方案,则在修复方案库中新建一个故障修复方案以记录该未被收录的故障修复手段。可选地,终端设备也可以在本地新建一个故障修复方案,在生成完毕后再发送给修复方案库,以便修复方案库存储该故障修复方案。In this embodiment, if the terminal device cannot find a fault repair solution that matches the repair feature parameters in the repair solution library, it creates a new fault repair solution in the repair solution library to record the failure repair method that has not been included. Optionally, the terminal device can also create a new fault repair plan locally, and send it to the repair plan library after the generation is completed, so that the repair plan library can store the fault repair plan.
在本实施例中,该故障修复方案具体为一个方案模板,其中包含多个待填写的内容以及部分标准格式内容,并为该方案模块设置一个方案唯一标识码。具体地,每个修复方案库对应的故障修复方案模板将可能存在差异,因此,终端设备在新建故障修复方案前,需要从修复方案库中获取该方案模板。In this embodiment, the fault recovery plan is specifically a plan template, which includes multiple contents to be filled in and some content in a standard format, and a plan unique identification code is set for the plan module. Specifically, the fault recovery solution templates corresponding to each recovery solution library may be different, therefore, the terminal device needs to obtain the solution template from the recovery solution library before creating a new fault recovery solution.
在S203中,将所述修复特征参数导入至新建的所述故障修复方案,并存储于所述预设的修复方案库内。In S203, import the repair feature parameters into the newly created fault repair solution, and store them in the preset repair solution library.
在本实施例中,终端设备在新建一个故障修复方案后,将提取得到的修复特征参数中包含的各个参数项导入到该故障修复方案对应的位置内。优选地,终端设备还将故障事件信息中的故障特征参数导入至该故障修复方案内,以便日后确定故障事件信息对应的故障修复方案时,可基于该故障修复方案建立时导入的故障事件信息,确定两者是否匹配。In this embodiment, after creating a fault repair plan, the terminal device imports each parameter item included in the extracted repair feature parameters into a position corresponding to the fault repair plan. Preferably, the terminal device also imports the fault characteristic parameters in the fault event information into the fault repair plan, so that when determining the fault repair plan corresponding to the fault event information in the future, based on the fault event information imported when the fault repair plan is established, Determine if the two match.
在本实施例中,终端设备将修复特征参数导入到该故障修复方案后,则该故障修复方案已建立完成,因此将该故障修复方案存储于修复方案库内,从而在遇到类似的故障情况时,终端设备可直接根据该故障修复方案的修复操作自动对数据库进行修复,或者遇到相关的故障情况时,终端设备也可以推送该故障修复方案给故障处理用户进行参考。In this embodiment, after the terminal device imports the repair feature parameters into the fault repair plan, the fault repair plan has been established, so the fault repair plan is stored in the repair plan library, so that when a similar fault situation is encountered , the terminal device can automatically repair the database directly according to the repair operation of the fault repair plan, or when encountering a related fault situation, the terminal device can also push the fault repair plan to the fault handling user for reference.
在本发明实施例中,通过每次修复完成后,获取该次修复操作对应的修复特征参数,确定该次修复操作是否已被记录,对于新的数据库的修复手段,将创建一个新的故障修复方案予以保存,从而在每次操作后,均可实现故障修复方案的学习,提高了修复方案库的自动修复能力,从而减少故障处理用户现场修复的次数,提高了修复的效率。In the embodiment of the present invention, after each repair is completed, the repair characteristic parameters corresponding to the repair operation are obtained to determine whether the repair operation has been recorded, and a new fault repair method will be created for the new database repair means. The plan is saved, so that after each operation, the learning of the fault repair plan can be realized, and the automatic repair capability of the repair plan library is improved, thereby reducing the number of on-site repairs by the fault handling user and improving the repair efficiency.
图3示出了本发明第三实施例提供的一种数据库故障的响应方法中S103的具体实现流程图。参见图3所示,相对于图1所述实施例,本实施例提供的一种数据库故障的响应方法中S103包括以下步骤,详述如下:FIG. 3 shows a specific implementation flowchart of S103 in a method for responding to a database failure provided by the third embodiment of the present invention. As shown in FIG. 3 , with respect to the embodiment described in FIG. 1 , S103 in a method for responding to a database fault provided by this embodiment includes the following steps, which are described in detail as follows:
进一步地,所述启动故障事件监测流程,以采集所述故障处理用户修复所述故障事件信息时产生的故障修复数据以及故障修复结果,包括:Further, the starting fault event monitoring process to collect fault repair data and fault repair results generated when the fault processing user repairs the fault event information includes:
在S301中,接收所述故障处理用户发起的修复资源请求指令,基于所述修复资源请求指令生成资源调度信息。In S301, a repair resource request instruction initiated by the fault handling user is received, and resource scheduling information is generated based on the repair resource request instruction.
在本实施例中,故障处理用户在修复数据库的故障时间信息的过程中,需要申请额外的修复资源时,可向终端设备发送一个修复资源请求指令,或者通过终端设备内置的客户端,生成上述的修复资源请求指令,以便终端设备可基于该修复资源请求指令向对应的负责人申请故障修复过程中所需的修复资源。In this embodiment, when the fault handling user needs to apply for additional repair resources in the process of repairing the fault time information of the database, he can send a repair resource request command to the terminal device, or generate the above-mentioned The repair resource request instruction, so that the terminal device can apply to the corresponding person in charge for the repair resources required in the fault repair process based on the repair resource request instruction.
在本实施例中,该修复资源请求指令中包含用户所需的修复资源类别以及资源数量,特别地,还可以包含资源调用的时限信息。终端设备可通过显示模块生成一个修复资源请求信息的填写界面,故障处理用户通过填写该信息填写界面中所需的资料后,则生成对应的修复资源请求指令,启动额外资源修复指令的申请流程。In this embodiment, the repair resource request instruction includes the repair resource type and resource quantity required by the user, and in particular, may also include resource call time limit information. The terminal device can generate an interface for filling in the repair resource request information through the display module. After the fault handling user fills in the information and fills in the required information in the interface, a corresponding repair resource request instruction is generated and the application process for additional resource repair instructions is started.
在本实施例中,终端设备在接收到用户发起的修复资源请求指令后,则基于该修复资源请求指令中包含的资源请求内容,为每一项请求内容生成一个资源调度信息。In this embodiment, after receiving the resource repair request instruction initiated by the user, the terminal device generates resource scheduling information for each item of request content based on the resource request content included in the resource repair request instruction.
在S302中,根据预设的资源管理责任列表,确定所述修复资源请求指令对应的资源管理账户,推送所述资源调度信息至所述资源管理账户。In S302, according to the preset resource management responsibility list, determine the resource management account corresponding to the repair resource request instruction, and push the resource scheduling information to the resource management account.
在本实施例中,终端设备存储模块中记载有各个资源对应的管理责任人,即上述的资源管理账户。其中,上述资源包括但不限于:数据库资源、网络资源、外设模块资源、权限资源等。不同的资源由不同的资源责任人管理。因此,终端设备首先根据修复资源请求指令,确定该请求对应的目标对象。In this embodiment, the management responsible person corresponding to each resource is recorded in the storage module of the terminal device, that is, the above-mentioned resource management account. Wherein, the above-mentioned resources include but are not limited to: database resources, network resources, peripheral module resources, authority resources, and the like. Different resources are managed by different resource owners. Therefore, the terminal device first determines the target object corresponding to the request according to the repair resource request instruction.
在本实施例中,终端设备提取该修复资源请求指令中包含的资源类别,并查询预设的资源管理责任列表,确定该资源类别对应的资源管理责任人以及该责任人对应的资源管理账户,并将S301中生成的资源调度信息推送给该资源管理账户。In this embodiment, the terminal device extracts the resource category contained in the resource repair request instruction, and queries the preset resource management responsibility list to determine the resource management responsible person corresponding to the resource category and the resource management account corresponding to the responsible person, And push the resource scheduling information generated in S301 to the resource management account.
具体地,在本实施例中,推送的方式与推送给故障处理用户的方式一致,可以将资源调度信息直接发送给资源管理账户对应的终端设备,也可以在办公系统中生成一个资源调度事件,并将该资源调度事件添加到资源管理账户的待办事件中。优选地,终端设备还根据数据库故障等级以及请求的资源类型,确定资源管理账户的处理时限,以便资源管理账户及时该到资源请求指令进行对应的处理。Specifically, in this embodiment, the push method is consistent with the push method to the fault handling user, and the resource scheduling information can be directly sent to the terminal device corresponding to the resource management account, or a resource scheduling event can be generated in the office system, And add the resource scheduling event to the to-do event of the resource management account. Preferably, the terminal device also determines the processing time limit of the resource management account according to the fault level of the database and the requested resource type, so that the resource management account can respond to the resource request instruction in time.
在S303中,若接收到所述资源管理账户返回的调度确认指令,则将所述修复资源请求指令对应的修复资源的使用权限添加至所述故障处理用户的权限参数中。In S303, if the scheduling confirmation instruction returned by the resource management account is received, the usage permission of the repair resource corresponding to the repair resource request instruction is added to the permission parameter of the fault handling user.
在本实施例中,资源管理账户在接收到终端设备推送的资源调度信息后,将根据实际情况,确定同意故障处理用户额外修复资源的申请。具体地,若资源管理账户同意故障处理用户的请求,则返回一个调度确认指令给终端设备,并执行S303的相关操作;反之,若资源管理账户不同意故障处理用户的请求,则返回一个调度拒绝指令给终端设备,并结束本次调度申请流程。特别地,若资源管理账户同意故障处理用户的申请,但当前并不存在可调用的资源,则发送调度暂缓指令,并且终端设备以预设的时间间隔获取可用资源情况,若检测到存在足够的资源,则执行S303的相关操作。In this embodiment, after receiving the resource scheduling information pushed by the terminal device, the resource management account will, according to the actual situation, determine to agree to the fault handling user's application for additional repair of resources. Specifically, if the resource management account agrees with the fault handling user's request, a scheduling confirmation instruction is returned to the terminal device, and the relevant operations of S303 are performed; otherwise, if the resource management account does not agree with the fault handling user's request, a scheduling rejection is returned Instructions are given to the terminal equipment, and the scheduling application process is ended. In particular, if the resource management account agrees to the user's application for fault handling, but there is currently no callable resource, a dispatch suspension instruction will be sent, and the terminal device will obtain available resources at a preset time interval. resources, perform the related operations in S303.
在本实施例中,终端设备在接收到调度确认指令后,则获取修复资源请求指令对应的修复资源的使用权限,可选地,该使用权限可以为一动态密钥,在调用修复资源前,需要对调用方的身份进行校验,此时,用户可利用该动态密钥执行鉴权操作,以获取该资源的使用权限。终端设备在获取了修复资源的使用权限后,将该权限信息添加到故障处理用户的权限参数中,故障处理用户只需通过对应的账户名或对应的设备,抑或是身份证明信息,即可调用上述修复资源对数据库的故障进行修复。In this embodiment, after the terminal device receives the scheduling confirmation instruction, it obtains the use right of the repair resource corresponding to the repair resource request instruction. Optionally, the use right can be a dynamic key, and before invoking the repair resource, The identity of the caller needs to be verified. At this time, the user can use the dynamic key to perform authentication operations to obtain the permission to use the resource. After obtaining the permission to use the repair resources, the terminal device will add the permission information to the permission parameter of the fault handling user. The fault handling user only needs to pass the corresponding account name or corresponding device, or the identification information, to call The above repair resource repairs the failure of the database.
可选地,在本实施例中,故障处理用户在完成故障事件信息的修复后,则在S105后,终端设备将故障处理用户的权限参数中该次申请调用修复资源的权限内容进行删除,和/或调整修复资源的调用规则,并将对应修复资源的使用状态调整为空闲,以便其他用户进行调用申请。Optionally, in this embodiment, after the fault handling user finishes repairing the fault event information, after S105, the terminal device deletes the permission content of the application for invoking the repair resource in the fault handling user's permission parameters, and /or adjust the invocation rules of the repair resources, and adjust the use status of the corresponding repair resources to idle, so that other users can apply for invocation.
在本发明实施例中,故障处理用户可通过终端设备申请额外的故障修复资源,从而能够更快捷地对数据库的故障进行修复。In the embodiment of the present invention, the fault handling user can apply for additional fault repair resources through the terminal device, so that the fault of the database can be repaired more quickly.
图4示出了本发明第四实施例提供的一种数据库故障的响应方法S101的具体实现流程图。参见图4所示,相对于图1至图3所述实施例,本实施例提供的一种数据库故障的响应方法所述获取数据库的故障事件信息还包含S401~S403,详述如下:FIG. 4 shows a specific implementation flowchart of a database failure response method S101 provided in the fourth embodiment of the present invention. Referring to FIG. 4 , compared to the embodiments described in FIGS. 1 to 3 , the method for responding to a database fault provided by this embodiment further includes S401 to S403 in obtaining database fault event information, which are described in detail as follows:
在S401中,若检测到所述数据库存在故障情况,则获取所述故障情况的故障特征参数。In S401, if it is detected that there is a fault condition in the database, acquire a fault characteristic parameter of the fault condition.
在本实施例中,终端设备可通过内设的故障检测算法,确定数据库是否存在故障情况;相对地,终端设备还可以通过接收其他设备或数据库服务器发送的故障触发指令,来获知数据库是否存在故障情况。In this embodiment, the terminal device can determine whether there is a fault in the database through the built-in fault detection algorithm; relatively, the terminal device can also know whether there is a fault in the database by receiving fault trigger instructions sent by other devices or database servers Condition.
在本实施例中,终端设备在检测到数据库存在故障情况时,则通过预设的故障特征参数提取算法,获取该数据库的故障特征参数。其中,该状态运行数据包括但不限于:数据库的数据冗余率、数据库的平均读写速率下降比例、数据库中各个分区的数据存储情况、各个分区的存储地址的分配异常情况、数据库介质运行状态、运算溢出率等。In this embodiment, when the terminal device detects that there is a fault in the database, it obtains the fault characteristic parameters of the database through a preset fault characteristic parameter extraction algorithm. Among them, the state operation data includes but is not limited to: the data redundancy rate of the database, the reduction ratio of the average read and write rate of the database, the data storage situation of each partition in the database, the abnormal distribution of storage addresses of each partition, and the operation status of the database media , Operational overflow rate, etc.
可选地,若终端设备是通过其他设备或数据库服务器发送的故障触发指令确定数据库存在故障情况,则故障触发指令中包含数据库的运行参数。终端设备通过运行参数与预设的标准运行参数匹配,确定数据库异常的模块以及功能,并将该模块以及功能对应的运作参数作为故障特征参数。Optionally, if the terminal device determines that there is a fault in the database through a fault trigger command sent by other devices or the database server, the fault trigger command includes operating parameters of the database. The terminal device determines the abnormal module and function of the database by matching the operating parameters with the preset standard operating parameters, and uses the corresponding operating parameters of the module and function as the fault characteristic parameters.
在S402中,基于预设的故障修复方案确定算法,确定与所述故障特征参数匹配的所述故障修复方案。In S402, based on a preset fault recovery solution determination algorithm, determine the fault recovery solution that matches the fault characteristic parameter.
在本实施例中,预设的故障修复方案确定算法具体为:终端设备将提取得的的故障特征参数与各个故障修复方案的故障特征参数进行匹配,继而确定该故障特征参数对应的故障修复方案。其中,该故障修复方案具存储于修复方案库内。In this embodiment, the preset algorithm for determining the fault recovery scheme is specifically: the terminal device matches the extracted fault characteristic parameters with the fault characteristic parameters of each fault recovery scheme, and then determines the fault recovery scheme corresponding to the fault characteristic parameters . Wherein, the fault recovery solution is stored in the recovery solution library.
本实施例中,预设的故障修复方案确定算法还可以是:终端设备根据故障特征参数,如故障发生的位置、影响的功能模块以及故障运行参数等相关信息,定位可能导致该故障产生的多个成因,并通过预设的故障成因确定算法一一进行排查,继而确定导致本次故障的异常信息,根据该异常信息从修复方案资源库中提取与之对应的修复方案。In this embodiment, the preset fault recovery scheme determination algorithm may also be: the terminal device locates multiple faults that may cause the fault according to the fault characteristic parameters, such as the location where the fault occurs, the affected functional modules, and fault operating parameters. According to the abnormal information, the corresponding repair plan is extracted from the repair plan resource library according to the abnormal information.
在S403中,根据所述故障修复方案以及所述故障特征参数,生成所述故障事件信息。In S403, the fault event information is generated according to the fault repair solution and the fault characteristic parameters.
在本实施例中,终端设备将获取的故障特征参数以及与该故障特征参数匹配的故障修复方案封装于故障事件信息内,生成故障事件信息。In this embodiment, the terminal device encapsulates the acquired fault characteristic parameter and the fault recovery solution matching the fault characteristic parameter into the fault event information to generate the fault event information.
在本发明实施例中,终端设备在检测到数据库发生故障情况时,则主动获取该故障情况的故障特征参数以及匹配出对应的故障修复方案,从而提高了故障修复的及时性,继而提高了修复效率。In the embodiment of the present invention, when the terminal device detects a failure in the database, it actively acquires the failure characteristic parameters of the failure and matches the corresponding failure recovery plan, thereby improving the timeliness of failure recovery, and then improving the repair efficiency. efficiency.
图5示出了本发明第五实施例提供的一种数据库故障的响应方法的具体实现流程图。参见图5所示,相对于图2所述实施例,本实施例提供的一种数据库故障的响应方法还包括以下步骤,详述如下:FIG. 5 shows a specific implementation flowchart of a method for responding to a database failure provided by a fifth embodiment of the present invention. Referring to FIG. 5, compared to the embodiment described in FIG. 2, a method for responding to a database failure provided by this embodiment further includes the following steps, which are described in detail as follows:
进一步地,在所述获取数据库的故障事件信息之前,还包括:Further, before the acquisition of the failure event information of the database, it also includes:
在S5011中,以预设的时间间隔获取其他数据库的故障修复方案。In S5011, the failure recovery solutions of other databases are obtained at preset time intervals.
在本实施例中,终端设备除了通过故障处理用户的故障修复数据生成故障修复方案外,还可以通过向其他数据库服务器之间进行故障修复方案共享的方式来扩充预设修复方案库的方案量。In this embodiment, in addition to generating a fault repair plan by fault processing user's fault repair data, the terminal device can also expand the amount of preset repair plan databases by sharing the fault repair plan with other database servers.
在本实施例中,该终端设备可用于修复一个数据库的故障事件信息,在该情况下,其他数据库可以与该数据库处于同一数据库系统内,通过数据库系统的内网相连,因而终端设备也可以通过该数据库系统的内部网络,获取存储于其他数据库的修复方案库内的故障修复方案。In this embodiment, the terminal device can be used to repair the failure event information of a database. In this case, other databases can be in the same database system as the database and connected through the internal network of the database system, so the terminal device can also be connected through The internal network of the database system acquires the fault recovery solutions stored in the recovery solution libraries of other databases.
在本实施例中,该终端设备也可以用于修复一个数据库系统的多个数据库的故障事件信息,在该情况下,其他数据库可以为位于该数据库系统外的数据库,因而终端设备通过外部通信网络与其他数据库进行通信连接,并以预设的时间间隔获取其他数据库的故障修复方案。In this embodiment, the terminal device can also be used to repair the fault event information of multiple databases of a database system. In this case, other databases can be databases located outside the database system, so the terminal device can Communicate with other databases and obtain fault recovery solutions of other databases at preset time intervals.
在S5012中,以预设的时间间隔接收所述数据库对应的服务器发送的故障修复方案。In S5012, receiving a fault recovery solution sent by the server corresponding to the database at a preset time interval.
在本实施例中,终端设备除了可以向其他数据库的修复方案库中获取新的故障修复方案外,还可以通过数据库对应的上级服务器获取最新更新的故障修复方案。该上级服务器可以是:对数据库进行版本更新等更新操作的服务器。该上级服务器会以预设的时间上传针对版本漏洞或常见问题的故障修复方案,终端设备可以通过该上级服务器,实时获取与数据库的版本信息对应的故障修复方案。In this embodiment, in addition to acquiring new fault recovery solutions from the recovery solution libraries of other databases, the terminal device can also obtain the latest updated fault recovery solution through the upper-level server corresponding to the database. The upper-level server may be: a server performing update operations such as version update on the database. The upper-level server will upload the fault repair plan for version vulnerabilities or common problems at a preset time, and the terminal device can obtain the fault repair plan corresponding to the version information of the database in real time through the upper-level server.
在本实施例中,该上级服务器还可以为专门用于收集各个厂商以及地区数据库的故障修复方案的服务器。终端设备通过向该上级服务器,继而获取到国内外不同故障修复用户对应的故障修复方案,大大提高了修复方案库的方案数量。In this embodiment, the upper-level server may also be a server dedicated to collecting fault recovery solutions of various manufacturers and regional databases. The terminal equipment then obtains the fault repair solutions corresponding to different fault repair users at home and abroad through the upper-level server, which greatly increases the number of solutions in the repair solution library.
在S502中,将所述故障修复方案添加至所述预设的修复方案库中。In S502, the fault recovery solution is added to the preset recovery solution library.
在本实施例中,终端设备将在S5011以及S5012中采集的故障修复方案上传到预设的修复方案库中,从而实现了修复方案库智能学习的目的。In this embodiment, the terminal device uploads the fault repair solutions collected in S5011 and S5012 to a preset repair solution library, thereby realizing the purpose of intelligent learning of the repair solution library.
在本发明实施例中,通过向其他数据库或者上级服务器进行故障修复方案的学习,从而能够提高终端设备的修复范围以及修复类型,提高了数据库的修复效率。In the embodiment of the present invention, by learning the fault repair scheme from other databases or upper-level servers, the repair scope and repair type of the terminal equipment can be improved, and the repair efficiency of the database can be improved.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that the sequence numbers of the steps in the above embodiments do not mean the order of execution, and the execution order of each process should be determined by its functions and internal logic, and should not constitute any limitation to the implementation process of the embodiment of the present invention.
图6示出了本发明一实施例提供的一种数据库故障的响应终端的结构框图,该数据库故障的响应终端包括的各单元用于执行图1对应的实施例中的各步骤。具体请参阅图1与图1所对应的实施例中的相关描述。为了便于说明,仅示出了与本实施例相关的部分。FIG. 6 shows a structural block diagram of a database failure response terminal provided by an embodiment of the present invention. The units included in the database failure response terminal are used to execute the steps in the embodiment corresponding to FIG. 1 . For details, please refer to FIG. 1 and related descriptions in the embodiment corresponding to FIG. 1 . For ease of description, only the parts related to this embodiment are shown.
参见图6,所述数据库故障的响应终端包括:Referring to Fig. 6, the response terminal of the database failure includes:
故障事件信息获取模块61,用于获取数据库的故障事件信息;其中,所述故障事件信息包含故障特征参数以及与所述故障特征参数匹配的故障修复方案;The fault event
故障处理用户确定模块62,用于基于所述故障特征参数,确定所述故障事件信息对应的故障处理用户,并将所述故障事件信息推送给所述故障处理用户;A failure handling
故障事件监测流程启动模块63,用于启动故障事件监测流程,以采集所述故障处理用户修复所述故障事件信息时产生的故障修复数据以及故障修复结果;The fault event monitoring
审核账户信息推送模块64,用于将所述故障修复结果推送给所述故障处理用户对应的审核账户;Audit account
故障修复确认指令接收模块65,用于若接收到所审核账户返回的故障修复确认指令,则关闭所述故障事件监测流程。The fault repair confirmation
可选地,所述数据库故障的响应终端,还包括:Optionally, the response terminal for the database failure also includes:
修复特征参数匹配模块,用于提取所述故障修复数据的修复特征参数,并将所述修复特征参数与预设的修复方案库进行匹配;A repair feature parameter matching module, configured to extract the repair feature parameters of the fault repair data, and match the repair feature parameters with a preset repair plan library;
故障修复方案新建模块,用于若所述修复特征参数在所述预设的修复方案库中不存在与之匹配的故障修复方案,则新建一个故障修复方案;A fault repair plan creation module, used to create a new fault repair plan if the repair feature parameter does not have a matching fault repair plan in the preset repair plan library;
故障修复方案学习模块,用于将所述修复特征参数导入至新建的所述故障修复方案,并存储于所述预设的修复方案库内。The fault repair plan learning module is used to import the repair feature parameters into the newly created fault repair plan and store them in the preset repair plan library.
可选地,所述故障事件监测流程启动模块63,包括:Optionally, the fault event monitoring
修复资源请求指令接收模块,用于接收所述故障修复用户发起的修复资源请求指令,基于所述修复资源请求指令生成资源调度信息;A repair resource request instruction receiving module, configured to receive a repair resource request instruction initiated by the fault repair user, and generate resource scheduling information based on the repair resource request instruction;
修复资源申请模块,用于根据预设的资源管理责任列表,确定所述修复资源请求指令对应的资源管理账户,推送所述资源调度信息至所述资源管理账户;The repair resource application module is configured to determine the resource management account corresponding to the repair resource request instruction according to the preset resource management responsibility list, and push the resource scheduling information to the resource management account;
修复资源权限添加模块,用于若接收到所述资源管理账户返回的调度确认指令,则将所述修复资源请求指令对应的修复资源的使用权限添加至所述故障修复用户的权限参数中。The repair resource permission adding module is configured to add the repair resource usage permission corresponding to the repair resource request instruction to the permission parameter of the fault repair user if the scheduling confirmation instruction returned by the resource management account is received.
可选地,所述故障事件信息获取模块61,包括:Optionally, the fault event
故障特征参数提取模块,用于若检测到所述数据库存在故障情况,则获取所述故障情况的故障特征参数;A fault feature parameter extraction module, configured to obtain the fault feature parameters of the fault if it is detected that the database has a fault;
故障修复方案确定模块,用于基于预设的故障修复方案确定算法,确定与所述故障特征参数匹配的所述故障修复方案;A fault repair plan determination module, configured to determine the fault repair plan that matches the fault characteristic parameters based on a preset fault repair plan determination algorithm;
故障事件信息生成模块,用于根据所述故障修复方案以及所述故障特征参数,生成所述故障事件信息。A fault event information generating module, configured to generate the fault event information according to the fault repair scheme and the fault characteristic parameters.
可选地,所述数据库故障的响应终端还包括:Optionally, the response terminal of the database fault also includes:
第一修复方案获取模块,用于以预设的时间间隔获取其他数据库的故障修复方案;和/或The first repair plan obtaining module is used to obtain fault repair plans of other databases at preset time intervals; and/or
第二修复方案获取模块,用于以预设的时间间隔接收所述数据库对应的服务器发送的故障修复方案;The second repair plan acquisition module is used to receive the fault repair plan sent by the server corresponding to the database at a preset time interval;
故障修复方案库添加模块,用于将所述故障修复方案添加至所述预设的修复方案库中。The failure recovery solution library adding module is used to add the failure recovery solution to the preset recovery solution library.
因此,本发明实施例提供的数据库故障的响应终端同样可以在确定数据库存在故障事件时,即时将故障情况反馈给对应的故障处理用户,从而缩减了故障发生到故障发现之间的时间差,实现实时汇报故障情况的目的,无需用户频繁登录数据库确认是否存在故障事件,避免故障情况加剧。另一方面,本发明实施例在得到修复结果后,还将对应的修复结果推送给对应的审核账户,从而使得修复结果经过多一重审核流程,确保了修复结果的准确性。Therefore, the database failure response terminal provided by the embodiment of the present invention can also immediately feed back the failure situation to the corresponding failure handling user when it is determined that there is a failure event in the database, thereby reducing the time difference between the occurrence of the failure and the discovery of the failure, and realizing real-time The purpose of reporting failures is to avoid the need for users to frequently log in to the database to confirm whether there are failures, so as to avoid the aggravation of failures. On the other hand, in the embodiment of the present invention, after obtaining the repair result, the corresponding repair result is pushed to the corresponding audit account, so that the repair result goes through an additional review process, ensuring the accuracy of the repair result.
图7是本发明另一实施例提供的一种终端设备的示意图。如图7所示,该实施例的终端设备7包括:处理器70、存储器71以及存储在所述存储器71中并可在所述处理器70上运行的计算机程序72,例如数据库故障的响应程序。所述处理器70执行所述计算机程序72时实现上述各个数据库故障的响应方法实施例中的步骤,例如图1所示的S101至S105。或者,所述处理器70执行所述计算机程序72时实现上述各装置实施例中各单元的功能,例如图6所示模块61至65功能。Fig. 7 is a schematic diagram of a terminal device provided by another embodiment of the present invention. As shown in Figure 7, the
示例性的,所述计算机程序72可以被分割成一个或多个单元,所述一个或者多个单元被存储在所述存储器71中,并由所述处理器70执行,以完成本发明。所述一个或多个单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述所述计算机程序72在所述终端设备7中的执行过程。例如,所述计算机程序72可以被分割成运行故障事件信息获取模块、故障处理用户确定模块、故障事件监测流程启动模块、审核账户信息推送模块以及故障修复确认指令接收模块,各单元具体功能如下:Exemplarily, the
故障事件信息获取模块,用于获取数据库的故障事件信息;其中,所述故障事件信息包含故障特征参数以及与所述故障特征参数匹配的故障修复方案;A fault event information acquisition module, configured to obtain fault event information from a database; wherein, the fault event information includes fault characteristic parameters and a fault recovery plan that matches the fault characteristic parameters;
故障处理用户确定模块,用于基于所述故障特征参数,确定所述故障事件信息对应的故障处理用户,并将所述故障事件信息推送给所述故障处理用户;A failure handling user determination module, configured to determine a failure handling user corresponding to the failure event information based on the failure characteristic parameters, and push the failure event information to the failure handling user;
故障事件监测流程启动模块,用于启动故障事件监测流程,以采集所述故障处理用户修复所述故障事件信息时产生的故障修复数据以及故障修复结果;A fault event monitoring process start module, configured to start a fault event monitoring process, to collect fault repair data and fault repair results generated when the fault processing user repairs the fault event information;
审核账户信息推送模块,用于将所述故障修复结果推送给所述故障处理用户对应的审核账户;An audit account information push module, configured to push the fault repair result to the audit account corresponding to the fault handling user;
故障修复确认指令接收模块,用于若接收到所审核账户返回的故障修复确认指令,则关闭所述故障事件监测流程。。The fault repair confirmation instruction receiving module is configured to close the fault event monitoring process if the fault repair confirmation instruction returned by the audited account is received. .
以上所述实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围,均应包含在本发明的保护范围之内。The above-described embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still carry out the foregoing embodiments Modifications to the technical solutions recorded in the examples, or equivalent replacement of some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention, and should be included in within the protection scope of the present invention.
Claims (8)
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2017/100750 WO2019047071A1 (en) | 2017-09-06 | 2017-09-06 | Method and terminal for responding to database fault |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110063042A CN110063042A (en) | 2019-07-26 |
CN110063042B true CN110063042B (en) | 2022-12-16 |
Family
ID=65633618
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201780000980.7A Active CN110063042B (en) | 2017-09-06 | 2017-09-06 | Database fault response method and terminal thereof |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110063042B (en) |
WO (1) | WO2019047071A1 (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110245077A (en) * | 2019-05-22 | 2019-09-17 | 深圳壹账通智能科技有限公司 | A kind of response method and equipment of program exception |
CN115114278B (en) * | 2021-03-18 | 2025-03-21 | 网联清算有限公司 | Database management method, device, electronic device and storage medium |
CN113741998B (en) * | 2021-08-16 | 2023-10-20 | 国网河北省电力有限公司检修分公司 | Data processing system and method of relay protection device with multiple plug-ins |
CN113971128A (en) * | 2021-10-25 | 2022-01-25 | 展讯半导体(南京)有限公司 | Automatic test method, system, electronic device and storage medium |
CN113886132B (en) * | 2021-12-07 | 2022-04-08 | 深圳市明源云科技有限公司 | Intelligent web-side error repairing method and device and computer-readable storage medium |
CN114817212A (en) * | 2022-05-20 | 2022-07-29 | 北京奥星贝斯科技有限公司 | A kind of database optimization method and optimization device |
CN115423129A (en) * | 2022-09-03 | 2022-12-02 | 太原市海通自动化技术有限公司 | Equipment fault defect management system |
CN117035747B (en) * | 2023-10-09 | 2024-02-02 | 国网山东省电力公司博兴县供电公司 | Multi-system fault diagnosis processing method, system, equipment and medium for machine room |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101605346A (en) * | 2008-06-10 | 2009-12-16 | 中兴通讯股份有限公司 | The fault restoration method and apparatus |
CN102999394A (en) * | 2012-12-06 | 2013-03-27 | 大连奥林匹克电子城文豪电子经销处 | Computer software fault diagnosis and repair system |
CN103678539A (en) * | 2013-12-04 | 2014-03-26 | 云南电力试验研究院(集团)有限公司电力研究院 | Maintenance strategy evaluation database system for electric transmission and transformation equipment |
CN104202179A (en) * | 2014-08-18 | 2014-12-10 | 中国建设银行股份有限公司 | Fault management system of self-service equipment and background server |
CN104795896A (en) * | 2015-04-17 | 2015-07-22 | 国家电网公司 | Automatic point-to-point short message notification method for client power failure information |
CN105262616A (en) * | 2015-09-21 | 2016-01-20 | 浪潮集团有限公司 | Failure repository-based automated failure processing system and method |
CN106169962A (en) * | 2016-09-13 | 2016-11-30 | 郑州云海信息技术有限公司 | A kind of storage system failure monitoring method and system |
CN106407030A (en) * | 2016-09-13 | 2017-02-15 | 郑州云海信息技术有限公司 | Failure processing method and system for storage cluster system |
CN106774078A (en) * | 2016-12-29 | 2017-05-31 | 深圳市捷顺科技实业股份有限公司 | A kind of parking lot intelligent management, equipment and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002334166A (en) * | 2001-05-08 | 2002-11-22 | Hitachi Ltd | Repair / maintenance support system and vehicles compatible with this system |
-
2017
- 2017-09-06 CN CN201780000980.7A patent/CN110063042B/en active Active
- 2017-09-06 WO PCT/CN2017/100750 patent/WO2019047071A1/en active Application Filing
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101605346A (en) * | 2008-06-10 | 2009-12-16 | 中兴通讯股份有限公司 | The fault restoration method and apparatus |
CN102999394A (en) * | 2012-12-06 | 2013-03-27 | 大连奥林匹克电子城文豪电子经销处 | Computer software fault diagnosis and repair system |
CN103678539A (en) * | 2013-12-04 | 2014-03-26 | 云南电力试验研究院(集团)有限公司电力研究院 | Maintenance strategy evaluation database system for electric transmission and transformation equipment |
CN104202179A (en) * | 2014-08-18 | 2014-12-10 | 中国建设银行股份有限公司 | Fault management system of self-service equipment and background server |
CN104795896A (en) * | 2015-04-17 | 2015-07-22 | 国家电网公司 | Automatic point-to-point short message notification method for client power failure information |
CN105262616A (en) * | 2015-09-21 | 2016-01-20 | 浪潮集团有限公司 | Failure repository-based automated failure processing system and method |
CN106169962A (en) * | 2016-09-13 | 2016-11-30 | 郑州云海信息技术有限公司 | A kind of storage system failure monitoring method and system |
CN106407030A (en) * | 2016-09-13 | 2017-02-15 | 郑州云海信息技术有限公司 | Failure processing method and system for storage cluster system |
CN106774078A (en) * | 2016-12-29 | 2017-05-31 | 深圳市捷顺科技实业股份有限公司 | A kind of parking lot intelligent management, equipment and system |
Also Published As
Publication number | Publication date |
---|---|
CN110063042A (en) | 2019-07-26 |
WO2019047071A1 (en) | 2019-03-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110063042B (en) | Database fault response method and terminal thereof | |
CN110088744B (en) | A database maintenance method and system thereof | |
CN109032824B (en) | Database verification method, database verification device, computer equipment and storage medium | |
CN100395707C (en) | Method of upgrading sequence | |
CN108491422B (en) | Database automation operation and maintenance management method, server and storage medium | |
CN108234170B (en) | Monitoring method and device for server cluster | |
CN111736875A (en) | Version update monitoring method, device, device and computer storage medium | |
CN110825420A (en) | Configuration parameter updating method, device, equipment and storage medium for distributed cluster | |
CN108959385B (en) | Database deployment method, device, computer equipment and storage medium | |
CN111813788A (en) | Information query method and device, and information synchronization method and device | |
CN111737227A (en) | Data modification method and system | |
CN110971464A (en) | An operation and maintenance automation system suitable for disaster recovery center | |
CN110688305B (en) | Test environment synchronization method, device, medium and electronic equipment | |
CN114595127B (en) | Log exception processing method, device, equipment and storage medium | |
CN111181775B (en) | An integrated operation and maintenance management alarm method based on automatic discovery of host assets | |
CN103152219B (en) | A kind of event monitoring system of computer network system and event-monitoring method | |
US10353365B2 (en) | Electric power facilities identification number generation apparatus and method | |
CN119396613A (en) | Fault handling method, device, equipment, storage medium and computer program product | |
CN117785602A (en) | Method, device, equipment and medium for determining call relationship | |
CN109412861B (en) | A kind of terminal network establishes security association display method | |
CN117857339A (en) | Cluster configuration data processing method, device, equipment and storage medium | |
CN114020611B (en) | Test data monitoring processing method and device, computer equipment and storage medium | |
CN111694724A (en) | Testing method and device of distributed table system, electronic equipment and storage medium | |
CN113176973B (en) | PSU power supply black box log time stamp recording method, device, equipment and medium | |
CN112817620B (en) | Controller terminal program update method, device, computer equipment and 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: A response method for database failures and its terminal Granted publication date: 20221216 Pledgee: WEBANK Co.,Ltd. Pledgor: Fujing Technology (Shenzhen) Co.,Ltd. Registration number: Y2024980055610 |