WO2019047071A1 - Method and terminal for responding to database fault - Google Patents

Method and terminal for responding to database fault Download PDF

Info

Publication number
WO2019047071A1
WO2019047071A1 PCT/CN2017/100750 CN2017100750W WO2019047071A1 WO 2019047071 A1 WO2019047071 A1 WO 2019047071A1 CN 2017100750 W CN2017100750 W CN 2017100750W WO 2019047071 A1 WO2019047071 A1 WO 2019047071A1
Authority
WO
WIPO (PCT)
Prior art keywords
fault
repair
database
event information
feature parameter
Prior art date
Application number
PCT/CN2017/100750
Other languages
French (fr)
Chinese (zh)
Inventor
卢汉利
Original Assignee
富璟科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 富璟科技(深圳)有限公司 filed Critical 富璟科技(深圳)有限公司
Priority to CN201780000980.7A priority Critical patent/CN110063042B/en
Priority to PCT/CN2017/100750 priority patent/WO2019047071A1/en
Publication of WO2019047071A1 publication Critical patent/WO2019047071A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error 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/0766Error or fault reporting or storing
    • G06F11/0778Dumping, i.e. gathering error/state information after a fault for later diagnosis

Definitions

  • the present invention belongs to the field of database technologies, and in particular, to a method for responding to a database failure and a terminal thereof.
  • the existing database failure response technology mainly detects the faults contained in the database through a preset fault detection algorithm, and outputs a corresponding fault report locally in the database, and the fault repair manager cannot log in to the database.
  • Know the fault condition of the database which reduces the ambiguity of database fault repair, and may even increase the degree of database failure and increase the difficulty of repair.
  • the fault handling user needs to frequently log in to the database to detect whether there is a fault report, which reduces the operation efficiency of the fault handling user.
  • the embodiment of the present invention provides a database fault response method and a terminal thereof, to solve the existing database fault response technology, mainly by detecting a fault included in the database by using a preset fault detection algorithm. And output the corresponding fault report locally in the database. If the fault repair manager does not log in to the database, the fault condition of the database cannot be known, thereby reducing the deficiencies of the database fault repair, and may even increase the fault degree of the database. Increased the difficulty of repairing. On the other hand, the fault handling user needs to frequently log in to the database to detect whether there is a fault report, which reduces the problem of the operation efficiency of the fault handling user.
  • a first aspect of the embodiments of the present invention provides a method for responding to a database fault, where the response method of the database fault includes:
  • fault event information includes a fault feature parameter and a fault repairing scheme that matches the fault feature parameter; [0006] determining, according to the fault feature parameter, a fault handling user corresponding to the fault event information, and pushing the fault event information to the fault processing user;
  • a second aspect of the embodiment of the present invention provides a response terminal of a database failure, where the response terminal of the database failure includes:
  • the fault event information includes a fault feature parameter and a fault repairing scheme that matches the fault feature parameter
  • a third aspect of an embodiment 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, the processor executing the The computer program implements the following steps:
  • the fault event information includes a fault feature parameter and a fault repairing scheme that matches the fault feature parameter
  • a fourth aspect of the embodiments of the present invention provides a computer readable storage medium storing a computer program, the computer program being executed by a processor, to implement the following steps: [0023] obtaining The fault event information of the database; wherein the fault event information includes a fault feature parameter and a fault repairing scheme that matches the fault feature parameter;
  • a method for responding to a database failure and a terminal thereof provided by embodiments of the present invention have the following beneficial effects:
  • the embodiment of the present invention can determine that there is a fault event in the database, that is, feedback the fault condition to the corresponding fault processing user, thereby reducing the inter-turn difference between the fault occurrence and the fault finding, and realizing the fault reporting situation.
  • the purpose is to eliminate the need for users to log in to the database frequently to confirm whether there is a fault event and to avoid the situation of the fault.
  • the embodiment of the present invention pushes the corresponding repair result to the corresponding audit account, so that the repair result passes through a multiple review process, and the accuracy of the repair result is ensured.
  • FIG. 1 is a flowchart of a method for responding to a database failure according to a first embodiment of the present invention
  • FIG. 2 is a flowchart of a specific implementation of a database fault response method according to a second embodiment of the present invention.
  • FIG. 3 is a specific implementation of a database fault response method S103 according to a third embodiment of the present invention; Flow chart
  • FIG. 4 is a flowchart of a specific implementation of a method for responding to a database failure according to a fourth embodiment of the present invention.
  • FIG. 5 is a flowchart of a specific implementation of a method for responding to a database failure according to a fifth embodiment of the present invention.
  • FIG. 6 is a structural block diagram of a response terminal for a database failure according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a terminal device according to an embodiment of the present invention.
  • the embodiment of the present invention solves the existing response technology of database failure, mainly detects a fault included in the database by using a preset fault detection algorithm, and outputs a corresponding fault report locally in the database, and the fault repair manager if If you do not log in to the database, you will not be able to know the fault condition of the database, which will reduce the ambiguity of database fault repair, and may even increase the degree of database failure and increase the difficulty of repair.
  • the fault handling user needs to frequently log in to the database to detect whether there is a fault report, which reduces the problem of the operational efficiency of the fault handling user.
  • FIG. 1 is a flowchart of an implementation of a method for responding to a database failure according to a first embodiment of the present invention, which is described in detail as follows:
  • the terminal device if the terminal device receives the fault event information of the database, the terminal device triggers a response process of the database fault, thereby repairing the fault condition in the database.
  • the fault event information includes data a category
  • the terminal device reads the data category of the data information every time a data information is received, and determines whether the data information is fault event information according to a preset data category identifier list, if
  • the terminal device may determine whether the database has a fault condition through a local database fault detection program, and then obtain fault event information corresponding to the database; the terminal device may also pass an independent database fault detection terminal. Detecting the fault information contained in the database, and then obtaining the fault event information sent by the terminal device and the detection terminal of the database fault detection terminal
  • the fault event information includes a fault feature parameter
  • the fault feature parameter is specifically used to indicate a specific situation in which the database is faulty, including but not limited to: a location where the fault occurs, a fault level, and a database fault module.
  • the data is run, so that the user locates the cause of the fault and the affected database module according to the fault characteristic parameter, so as to determine whether it is necessary to perform service support through the backup database and repair the required time before repairing.
  • the fault event information further includes a fault repair scheme that matches the fault feature parameter.
  • the terminal device or the database failure check terminal may perform a matching operation according to the collected fault feature parameter and the preset repair plan library, and automatically generate a recommended fault repair solution corresponding to the fault, so that the user receives the fault event information, You can refer to the fault repair scheme to repair the database.
  • the fault repairing information included in the fault event information may be one or two or more.
  • the fault event information includes two or more fault repairing schemes, it may indicate that the database fault is caused.
  • the reason may be one of the causes of two or more faults, and the terminal device cannot be accurately located. Therefore, the fault repair solution corresponding to multiple fault causes is recommended to the user, and the user may select one of the fault causes of the database.
  • the fault repair plan fixes it.
  • the fault event information may further include a database identifier, and the terminal device may locate the faulty database based on the database identifier.
  • the terminal device can prompt the user to fail the database by means of red or flashing on the database map marked with all databases.
  • the terminal device extracts the fault feature parameter contained therein from 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 user as Troubleshoot the user.
  • the fault feature parameter corresponds to multiple faulty modules or fault functions, and multiple faulty modules or fault functions are managed by different users
  • the fault event information may correspond to multiple fault handling users, and the fault events may be Information peers are pushed to multiple fault handling users.
  • the terminal device decomposes the fault event information into multiple fault sub-event information based on different fault modules or fault functions, and pushes each fault sub-event information to the corresponding fault-handling user.
  • the terminal device after determining the fault handling user, sends fault event information to the user equipment according to the user equipment corresponding to the fault processing user and the communication address of the user equipment.
  • the terminal device may further generate a fault handling event in the office system corresponding to the fault handling user according to the fault processing user, import the fault event information into the fault handling event, and push the fault handling event. Give the faulty user the corresponding account in the office system.
  • a fault event monitoring process is started to collect fault repair data and fault repair result generated by the fault handling user to repair the fault event information.
  • the fault processing user after receiving the fault event information, performs a repair operation on the fault condition of the database to manually repair the fault that the database cannot be automatically repaired.
  • the terminal device also starts a fault event monitoring process, which is used to collect fault repair data generated by the fault handling user to repair the fault condition corresponding to the fault event information.
  • the terminal device will initiate an independent thread, and continuously monitor the parameter modification operation in the database through the thread, and the parameter includes a running parameter of the database, a script file, a table structure, and a change of the stored data.
  • the terminal device stores the obtained fault repair data in a storage area corresponding to the fault event information, where the storage area includes an event identifier of the fault event information.
  • the terminal device can open multiple threads for collecting fault repair data of different fault event information.
  • the check terminal of the database fault or the terminal device may check that there are multiple fault conditions in the database within a certain time interval, thereby generating multiple fault event information, so the terminal device determines the repair situation corresponding to each fault event information, A plurality of threads are opened, and each thread detects fault repair data corresponding to a fault event information, and stores them in respective corresponding storage areas.
  • the manner in which the terminal device collects the fault repair data is specifically: the terminal device acquires various parameters in the database by using a preset interval, and compares the currently collected parameters with the previous collection. Corresponding parameters are compared, the changed parameters are determined, and the changed parameters are used as fault repair data of the repair process, thereby implementing incremental storage of the fault repair data, thereby reducing the amount of data of the fault repair data and The storage pressure of the terminal device.
  • the terminal device if the terminal device receives the fault repair completion command sent by the fault processing user, it determines that the fault event information has been repaired, and identifies the processing result included in the fault repair completion command as a fault. Fix the result.
  • the terminal device does not detect the change of the parameter of the database in the preset maximum repair waiting time, that is, the user does not repair the data, and the repair operation is completed, and thus the situation is Next, the terminal device will also recognize that the fault event information has been processed, and obtain a corresponding fault repair result according to the current database running condition.
  • the fault repair data may be suspended.
  • the terminal device receives the fault repair confirmation command returned by the audit account, the related operation of S105 is performed; otherwise, if the terminal device does not receive the fault repair confirmation command returned by the audit account, the fault event is restarted. Monitor the process to continue collecting fault repair data.
  • the terminal device after determining that the fault event information of the database has been repaired, the terminal device performs an operation of confirming and confirming the fault processing result to ensure that the fault repair result is correct.
  • the terminal device queries the audit account corresponding to the fault handling user who performs the repair operation.
  • the audit account may be the upper-level user of the fault-handling user or the administrator of the database.
  • the administrator of the database is responsible for the monitoring and management of the entire database. .
  • the terminal device further sends the fault repair result to the fault handling user. Because some repair operations may require the database to automatically run for a long period of time, and the fault handling user does not need to pay attention to the database during the automatic running process, and when the database will automatically repair the program is completed, the corresponding fault can be The repair result is pushed to the fault handling user so that the fault handling user confirms that the repair operation has been completed.
  • the manner in which the terminal device pushes the fault processing result to the auditing account includes: after the terminal determines the auditing account, querying the auditing account correspondingly The device and the communication address of the device, and send the fault processing result to the device.
  • the push mode includes: The terminal device generates a fault audit event in the office system, and imports the fault processing result into the fault audit event, and pushes the fault audit event to the audit account corresponding to the fault processing user in the office system.
  • the auditing account may determine whether the fault repairing operation has been completed based on the fault processing result. If the auditing account agrees with the fault processing result and determines that the fault repairing operation has been completed, a fault repair confirmation command is generated and sent to the terminal device; if the auditing account does not agree with the fault processing result, the fault processing user needs to re-process the fault. If the event is repaired, the fault re-repair command is generated to the terminal device. In this case, if the terminal device receives the fault re-repair command, the terminal device returns to perform the operation of S102 to prompt the fault processing user to re-process the fault event.
  • the terminal device 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 that the repair data is not required to be collected for the event, so the terminal will be closed.
  • the fault event monitoring process, and the fault repair data and the corresponding fault repair result are encapsulated in a data packet, and the data packet is saved as a repair record of the database.
  • the response method of the database fault 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.
  • the user is faulty, so that the user can repair the faults included in the database according to the fault feature parameters included in the fault event information and the fault repair scheme matching the fault feature parameters.
  • the response terminal of the database fault will be The fault event monitoring process is started to collect the fault repair data obtained by the fault processing user in the process of repairing the fault event information, and the fault repair result generated after the repair is completed, and automatically push the fault repair result to the fault processing user. Corresponding audit account, to confirm whether the fault event information has been processed.
  • the embodiment of the present invention can feedback the fault condition to the corresponding fault processing after determining that the database has a fault event.
  • the user thereby reducing the gap between the fault and the fault discovery, achieves the purpose of reporting the fault condition, without requiring the user to frequently log in to the database to confirm whether there is a fault event, and to avoid the intensification of the fault condition.
  • the embodiment of the present invention pushes the corresponding repair result to the corresponding audit account, so that the repair result passes through a multiple review process, and the accuracy of the repair result is ensured.
  • FIG. 2 is a flow chart showing a specific implementation of a method for responding to a database failure according to a second embodiment of the present invention.
  • the method for responding to a database failure provided by this embodiment further includes S201 ⁇ S203, which are as follows:
  • the method further includes:
  • repair feature parameter of the fault repair data is extracted, and the repair feature parameter is matched with a preset repair plan library.
  • the terminal device learns the repair process of the fault handling user to improve the number of solutions of 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 feature parameter from the fault repair data, where the repair feature parameter is specific.
  • the parameter for modifying the fault event information for the fault handling user and modifying the database includes one or a combination of at least two: a running parameter of the database, a script file, a table structure, and a change in the stored data.
  • the terminal device may further compare the database parameters of the fault occurrence and the database parameters of the fault repair completion, and then obtain the repair feature parameters.
  • the terminal device is pre-configured with a repair solution library for recording a fault repair solution corresponding to different fault types.
  • the repair solution library may be stored in a storage module built in the terminal device. In this case, the terminal device may directly read the local storage module to obtain data included in the repair solution library; the repair solution library may also Stored in a separate database server or other terminal device, in which case the terminal device needs to establish a communication connection with the database server or other terminal device, and send a call request of the repair solution library to obtain the repair solution library. data.
  • the repair feature parameter after the terminal device obtains the repair feature parameter, it will be included in the repair solution library.
  • the repair feature parameters of each fault repair scheme are matched to determine whether the fault repair means has been recorded in the repair scheme library. Since the repair feature parameter is extracted within the fault repair data in the process of repairing the fault event information, the repair feature parameter may represent a fault repair solution corresponding to the user performing database repair. If the repair feature parameter matches any fault repair scheme, it means that the repair methods of the two are consistent and belong to the same fault repair scheme; if the repair feature parameter does not match any fault repair scheme in the repair scheme library, it indicates the fault.
  • the repair process corresponding to the repair data belongs to a new repair scheme, so the operations of S202 and S203 will be performed to add the new repair scheme to the repair scheme library.
  • the terminal device may also newly create a fault repair solution locally, and then send it to the repair solution library after the generation is completed, so as to repair the solution inventory and store the fault repair solution.
  • the fault repairing scheme is specifically a scheme template, which includes a plurality of content to be filled in and a part of standard format content, and sets a scheme unique identifier for the scheme module.
  • the fault repair scheme template corresponding to each repair scheme library may be different. Therefore, before the fault repair scheme is created, the terminal device needs to obtain the scheme template from the repair scheme library.
  • the repair feature parameter is imported into the newly created fault repair solution, and stored in the preset repair plan library.
  • the terminal device imports the parameter items included in the extracted repair feature parameters into the location corresponding to the fault repair solution.
  • the terminal device further introduces the fault feature parameter in the fault event information into the fault repair solution, so as to determine the fault repair solution corresponding to the fault event information, and may establish the fault event information imported based on the fault repair solution. , to determine if the two match.
  • the terminal device imports the repair feature parameter into the fault repair solution, the fault repair solution is established, so the fault repair solution is stored in the repair solution library, so that The fault condition ⁇ , the terminal device can directly respond to the repair operation of the fault repair scheme automatically After the database is repaired, or the related fault condition is encountered, the terminal device can also push the fault repair solution to refer to the fault handling user.
  • the repair feature parameter corresponding to the repair operation is obtained, and it is determined whether the repair operation has been recorded, and a new database repair means is created.
  • the fault repair scheme is saved, so that after each operation, the fault repair scheme can be learned, and the automatic repair capability of the repair scheme library is improved, thereby reducing the number of fault repair users on-site repair and improving the repair efficiency.
  • FIG. 3 is a flowchart showing a specific implementation of S103 in a method for responding to a database failure according to a third embodiment of the present invention.
  • a method for responding to a database failure includes the following steps, which are as follows:
  • the initiating fault event monitoring process is configured to collect the fault repair data and the fault repair result generated by the fault processing user to repair the fault event information, including:
  • the fault processing user needs to apply for an additional repair resource in the process of repairing the fault information of the database, and may send a repair resource request instruction to the terminal device, or through the built-in client of the terminal device. End, generating the above-mentioned repair resource request instruction, so that the terminal device can apply for the repair resource required in the fault repair process to the corresponding responsible person based on the repair resource request instruction.
  • the repair resource request instruction includes the repair resource category and the number of resources required by the user, and in particular, may include the limit information of the resource call.
  • the terminal device can generate a filling interface for repairing resource request information through the display module. After the fault processing user fills in the information and fills in the required information in the interface, the corresponding repair resource request instruction is generated, and the application process of the additional resource repair instruction is started.
  • the terminal device after receiving the user-initiated repair resource request instruction, the terminal device generates a resource scheduling information for each request content based on the resource request content included in the repair resource request instruction.
  • the terminal device storage module records the management responsibility person corresponding to each resource, that is, the resource management account described above.
  • the foregoing resources include but are not limited to: database resources, network resources, peripheral module resources, and rights resources. 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.
  • the terminal device extracts a resource category included in the repair resource request instruction, and queries a preset resource management responsibility list, and determines a resource management responsible person corresponding to the resource category and a corresponding one of the responsible person.
  • the resource management account, and the resource scheduling information generated in S301 is pushed to the resource management account.
  • the manner of pushing is consistent with the manner of pushing the user to the fault processing, and the resource scheduling information may be directly sent to the terminal device corresponding to the resource management account, or a resource may be generated in the office system. Schedule the event and add the resource scheduling event to the pending event of the resource management account.
  • the terminal device further determines a processing limit of the resource management account according to the database fault level and the requested resource type, so that the resource management account and the resource request instruction perform corresponding processing.
  • the resource management account determines, according to the actual situation, an application that agrees to the fault processing user to additionally repair the resource. Specifically, if the resource management account agrees to the fault processing user's request, returning a scheduling confirmation command to the terminal device, and performing the related operation of S303; otherwise, if the resource management account does not agree with the fault processing user's request, returning a scheduling rejection The command is sent to the terminal device, and the scheduling application process is ended.
  • the scheduling suspension command is sent, and the terminal device obtains the available resources at a preset time interval, and if sufficient The resources are executed, and the related operations of S303 are performed.
  • the terminal device after receiving the scheduling confirmation instruction, acquires the usage right of the repair resource corresponding to the repair resource request instruction.
  • the use permission may be a dynamic key, and the repair is invoked. Before the resource, the identity of the caller needs to be verified. Therefore, the user can use the dynamic key to perform the verification. Line authentication operation to obtain the usage rights of the resource.
  • the terminal device After obtaining the usage right of the repair resource, adds the permission information to the permission parameter of the fault processing user, and the fault processing user can call the corresponding account name or the corresponding device or the identity certification information.
  • the above repair resources repair the database failure.
  • the terminal device applies the permission content of the repair resource to the permission parameter of the fault processing user. Delete, and/or adjust the calling rules of the repair resource, and adjust the usage status of the corresponding repair resource to idle, so that other users can make the call request.
  • 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.
  • FIG. 4 is a flowchart showing a specific implementation of a database failure response method S101 according to a fourth embodiment of the present invention.
  • a database fault response method provided by the embodiment further includes S401 ⁇ S403, and the following details are as follows:
  • the terminal device can determine whether the database has a fault condition by using a built-in fault detection algorithm. In contrast, the terminal device can also obtain the fault triggering command sent by another device or the database server to learn the database. Is there a fault condition?
  • the terminal device after detecting that the database has a fault condition, acquires a fault feature parameter of the database by using a preset fault feature parameter extraction algorithm.
  • the state operation data includes but is not limited to: a data redundancy rate of the database, a decrease ratio of the average read/write rate of the database, a data storage condition of each partition in the database, an abnormality of the storage address of each partition, and a running state of the database medium. , operation overflow rate, etc.
  • the fault triggering instruction includes an operating parameter of the database.
  • the terminal device determines the module and function of the database abnormality by matching the running parameter with the preset standard operating parameter, and uses the operating parameter corresponding to the module and the function as the fault feature parameter.
  • the fault repairing scheme matching the fault feature parameter is determined based on a preset fault repair scheme determining algorithm.
  • the preset fault repairing scheme determining algorithm is specifically: the terminal device matches the extracted fault feature parameter with the fault feature parameter of each fault repairing scheme, and then determines the corresponding fault feature parameter. Fault repair plan.
  • the fault repair solution is stored in the repair solution library.
  • the preset fault repairing scheme determining algorithm may further be: the terminal device may cause the fault according to the fault characteristic parameter, such as the location where the fault occurs, the affected functional module, and the fault operating parameter.
  • the multiple causes are generated, and the preset fault cause determining algorithm is used to perform the troubleshooting, and then the abnormal information that causes the fault is determined, and the repairing scheme corresponding to the fault is extracted from the repairing solution resource library according to the abnormality information.
  • the fault event f ⁇ is generated according to the fault repairing scheme and the fault feature parameter.
  • the terminal device encapsulates the acquired fault feature parameter and the fault repair solution matched with the fault feature parameter in the fault event information to generate fault event information.
  • the terminal device after detecting that the database is faulty, the terminal device actively acquires the fault feature parameter of the fault condition and matches the corresponding fault repair solution, thereby improving the fault repairability. This in turn improves the repair efficiency.
  • FIG. 5 is a flowchart showing a specific implementation of a method for responding to a database failure according to a fifth embodiment of the present invention. As shown in FIG. 5, with respect to the embodiment shown in FIG. 2, the method for responding to a database failure provided by this embodiment further includes the following steps, which are detailed as follows:
  • the method further includes:
  • the terminal device may also expand the preset repair solution database by performing a fault repair scheme sharing between other database servers. The amount of the program.
  • the terminal device can be used to repair fault event information of a database.
  • other databases can be in the same database system as the database, and pass through the database system.
  • the network is connected, so the terminal device can also obtain the fault repair solution stored in the repair solution library of other databases through the internal network of the database system.
  • the terminal device may also be used to repair fault event information of multiple databases of a database system.
  • other databases may be databases located outside the database system, and thus the terminal device passes
  • the external communication network communicates with other databases, and obtains fault recovery plans of other databases at preset intervals.
  • the terminal device may obtain the latest updated fault repair solution through the upper-level server corresponding to the database.
  • the superior server can be: A server that performs update operations such as version updates on the database.
  • the upper-level server uploads a fault repair solution for a version vulnerability or a common problem in a preset time.
  • the terminal device can obtain a fault repair solution corresponding to the version information of the database through the upper server.
  • the upper-level server may also be a server dedicated to collecting fault repair solutions of various vendors and regional databases.
  • the terminal device obtains the fault repairing scheme corresponding to different fault repairing users at home and abroad by the upper-level server, and greatly improves the number of schemes of the repairing scheme library.
  • the fault repairing scheme is added to the preset repair scheme library.
  • the terminal device uploads the fault repairing scheme collected in S5011 and S5012 to the preset repair scheme database, thereby achieving the purpose of intelligent learning of the repair scheme library.
  • the repair range and the repair type of the terminal device can be improved, and the repair efficiency of the database is improved.
  • FIG. 6 is a structural block diagram of a response terminal of a database fault according to an embodiment of the present invention.
  • the unit included in the response terminal of the database fault is used to execute each step in the embodiment corresponding to FIG. 1.
  • FIG. 6 Please refer to the related description in the embodiment corresponding to FIG. 1 and FIG. For the convenience of explanation, only the parts related to the present embodiment are shown.
  • the response terminal of the database failure includes:
  • the fault event information obtaining module 61 is configured to acquire fault event information of the database, where the fault event information includes a fault feature parameter and a fault repairing scheme that matches the fault feature parameter; [0119] the fault handling user determines The module 62 is configured to determine, according to the fault feature parameter, a fault handling user corresponding to the fault event information, and push the fault event information to the fault processing user; [0120] a fault event monitoring process starting module 63, And configured to start a fault event monitoring process, to collect the fault repair data generated by the fault handling user to repair the fault event information, and the fault repair result; [0121] an audit account information pushing module 64, configured to use the fault repair result Pushing to the audit account corresponding to the fault handling user;
  • the fault repair confirmation command receiving module 65 is configured to close the fault event monitoring process if receiving the fault repair confirmation command returned by the audited account.
  • the responding terminal of the database failure further includes:
  • a repair feature parameter matching module configured to extract a repair feature parameter of the fault repair data, and match the repair feature parameter with a preset repair plan library
  • a fault repairing scheme a new module, configured to create a fault repairing scheme if the repairing feature parameter does not have a fault repairing scheme matching the preset repairing scheme database;
  • the fault repairing solution learning module is configured to import the repair feature parameter into the newly created fault repair solution, and store it in the preset repair solution library.
  • the fault event monitoring process startup module 63 includes:
  • 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;
  • a repair resource requesting module configured to determine, according to a preset resource management responsibility list, a resource management account corresponding to the repair resource request instruction, and push the resource scheduling information to the resource management account;
  • repairing resources a permission adding module, configured to receive a scheduling confirmation instruction returned by the resource management account
  • the fault event information obtaining module 61 includes:
  • a fault feature parameter extraction module configured to acquire a fault feature parameter of the fault condition if a fault condition of the database is detected
  • a fault repairing scheme determining module configured to determine, according to a preset fault repairing scheme determining algorithm, the fault repairing scheme that matches the fault feature parameter
  • the fault event information generating module is configured to generate the fault event information according to the fault repairing scheme and the fault feature parameter.
  • the responding terminal of the database failure further includes:
  • a first repair solution acquisition module configured to acquire a fault repair solution of another database at a preset time interval
  • a second repairing solution acquiring module configured to receive, by using a preset inter-time interval, a fault repairing scheme sent by a server corresponding to the database;
  • a fault repair scheme library adding module configured to add the fault repair scheme to the preset repair scenario library.
  • the response terminal of the database failure provided by the embodiment of the present invention can also obtain the fault event user corresponding to the fault event information by acquiring the fault event information of the database, and push the fault event information to the determined fault processing user. Therefore, the user can repair the faults included in the database according to the fault characteristic parameters included in the fault event information and the fault repair scheme matched with the fault feature parameters, and the response terminal of the database fault will initiate the fault event.
  • the monitoring process is used to collect the fault repair data obtained by the fault-solving user in the process of repairing the fault event information, and the fault repair result generated after the repair is completed, and automatically push the fault repair result to the audit corresponding to the fault-processing user.
  • the account is used to confirm whether the fault event information has been processed.
  • the embodiment of the present invention can reduce the fault occurrence to the fault discovery after determining that the database has a fault event, that is, feeding the fault condition to the corresponding fault processing user.
  • the purpose of the fault is to achieve the purpose of reporting the fault condition. It is not necessary for the user to log in to the database frequently to confirm whether there is a fault event and to avoid the fault situation.
  • the embodiment of the present invention pushes the corresponding repair result to the corresponding one. Review the account, so that the repair results go through a multiple review process to ensure the accuracy of the repair results
  • FIG. 7 is a schematic diagram of a terminal device according to another embodiment of the present invention.
  • the terminal device 7 of this embodiment includes: a processor 70, a memory 71, and a computer program 72 stored in the memory 71 and operable on the processor 70, such as a database failure response program. .
  • the processor 70 executes the steps in the computer program 72 to implement the above-described respective database failure response method embodiments, such as S101 to S105 shown in FIG.
  • the processor 70 executes the computer program 72 to implement the functions of the various units in the various apparatus embodiments described above, such as the functions of the modules 61 to 65 shown in FIG.
  • the computer program 72 may be divided into one or more units, the one or more units being stored in the memory 71 and executed by the processor 70 to complete the present invention.
  • the one or more units may be a series of computer program instructions that are capable of performing a particular function, and are used to describe the execution of the computer program 72 in the terminal device 7.
  • the computer program 72 can be divided into an operation fault event information acquisition module, a fault processing user determination module, a fault event monitoring process startup module, an audit account information push module, and a fault repair confirmation command receiving module.
  • the specific functions of each unit are as follows:
  • a fault event information obtaining module configured to acquire fault event information of the database, where the fault event information includes a fault feature parameter and a fault repairing scheme that matches the fault feature parameter;
  • a fault processing user determining module configured to determine, according to the fault characteristic parameter, a fault processing user corresponding to the fault event information, and push the fault event information to the fault processing user;
  • a fault event monitoring process startup module configured to start a fault event monitoring process, to collect fault repair data generated by the fault handling user to repair the fault event information, and a fault repair result;
  • an audit account information pushing module configured to push the fault repair result to an audit account corresponding to the fault processing user
  • the fault repair confirming instruction receiving module is configured to close the fault event monitoring process if receiving the fault repair confirming instruction returned by the audited account. .
  • the terminal device 7 may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server.
  • the terminal device may include, but is not limited to, a processor 70 and a memory 71. It will be understood by those skilled in the art that FIG. 7 is only an example of the terminal device 7, and does not constitute a limitation on the terminal device 7. To include more or less components than illustrated, or to combine certain components, or different components, for example, the terminal device may also include input and output devices, network access devices, buses, and the like.
  • the processor 70 may be a central processing unit (CPU), or may be another general-purpose processor, a digital signal processor (DSP), or an application specific integrated circuit (Application Specific Integrated).
  • CPU central processing unit
  • DSP digital signal processor
  • Application Specific Integrated Application Specific Integrated
  • the general purpose processor can be a microprocessor or the processor can be any conventional processor or the like.

Abstract

A method and terminal for responding to a database fault. The method comprises: acquiring fault event information about a database (S101); determining, based on a fault characteristic parameter, a fault handling user corresponding to the fault event information, and pushing the fault event information to the fault handling user (S102); starting a fault event monitoring process (S103); pushing a fault repair result to an audit account corresponding to the fault handling user (S104); and if a fault repair confirmation instruction returned by the audit account is received, ending the fault event monitoring process (S105). The present invention solves the problems that existing response technology of a database fault mainly detects a fault included in the database by means of a pre-set fault detection algorithm, such that the timeliness of database fault repair is relatively low, wherein same may even aggravate the fault degree of the database and increases the difficulty of repairing same, and such that a fault handling user needs to frequently log in to the database to detect whether there is a fault report, thereby reducing the operating efficiency of the fault handling user.

Description

一种数据库故障的响应方法及其终端  Method for responding to database failure and terminal thereof
技术领域 Technical field
[0001] 本发明属于数据库技术领域, 尤其涉及一种数据库故障的响应方法及其终端。  [0001] The present invention belongs to the field of database technologies, and in particular, to a method for responding to a database failure and a terminal thereof.
背景技术  Background technique
[0002] 随着信息化的深入发展, 离不幵对数据的存储以及提取操作, 因而数据库的重 要性也愈来愈突出, 如何保证数据库系统能够持续高效工作已成为信息化进程 发展的重要一环。 而现有的数据库故障的响应技术, 主要是通过预设的故障检 测算法检测数据库中包含的故障, 并在数据库本地输出对应的故障报告, 故障 修复的管理人员若不登录至该数据库, 则无法获知数据库的故障情况, 从而降 低了数据库故障修复的及吋性, 甚至可能加剧数据库的故障程度, 增大了修复 的难度。 另一方面, 故障处理用户需要频繁地登录数据库检测是否有故障报告 , 降低了故障处理用户的操作效率。  [0002] With the in-depth development of informatization, the importance of database storage and extraction operations, the importance of the database is becoming 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 information technology. ring. The existing database failure response technology mainly detects the faults contained in the database through a preset fault detection algorithm, and outputs a corresponding fault report locally in the database, and the fault repair manager cannot log in to the database. Know the fault condition of the database, which reduces the ambiguity of database fault repair, and may even increase 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 detect whether there is a fault report, which reduces the operation efficiency of the fault handling user.
技术问题  technical problem
[0003] 有鉴于此, 本发明实施例提供了一种数据库故障的响应方法及其终端, 以解决 现有的数据库故障的响应技术, 主要是通过预设的故障检测算法检测数据库中 包含的故障, 并在数据库本地输出对应的故障报告, 故障修复的管理人员若不 登录至该数据库, 则无法获知数据库的故障情况, 从而降低了数据库故障修复 的及吋性, 甚至可能加剧数据库的故障程度, 增大了修复的难度。 另一方面, 故障处理用户需要频繁地登录数据库检测是否有故障报告, 降低了故障处理用 户的操作效率的问题。  [0003] In view of this, the embodiment of the present invention provides a database fault response method and a terminal thereof, to solve the existing database fault response technology, mainly by detecting a fault included in the database by using a preset fault detection algorithm. And output the corresponding fault report locally in the database. If the fault repair manager does not log in to the database, the fault condition of the database cannot be known, thereby reducing the deficiencies of the database fault repair, and may even increase the fault degree of the database. Increased the difficulty of repairing. On the other hand, the fault handling user needs to frequently log in to the database to detect whether there is a fault report, which reduces the problem of the operation efficiency of the fault handling user.
问题的解决方案  Problem solution
技术解决方案  Technical solution
[0004] 本发明实施例的第一方面提供了一种数据库故障的响应方法, 所述数据库故障 的响应方法包括:  A first aspect of the embodiments of the present invention provides a method for responding to a database fault, where the response method of the database fault includes:
[0005] 获取数据库的故障事件信息; 其中, 所述故障事件信息包含故障特征参数以及 与所述故障特征参数匹配的故障修复方案; [0006] 基于所述故障特征参数, 确定所述故障事件信息对应的故障处理用户, 并将所 述故障事件信息推送给所述故障处理用户; [0005] acquiring fault event information of the database; wherein the fault event information includes a fault feature parameter and a fault repairing scheme that matches the fault feature parameter; [0006] determining, according to the fault feature parameter, a fault handling user corresponding to the fault event information, and pushing the fault event information to the fault processing user;
[0007] 启动故障事件监测流程, 以采集所述故障处理用户修复所述故障事件信息吋产 生的故障修复数据以及故障修复结果; [0007] starting a fault event monitoring process, to collect fault repair data generated by the fault handling user to repair the fault event information, and a fault repair result;
[0008] 将所述故障修复结果推送给所述故障处理用户对应的审核账户; [0008] pushing the fault repair result to an audit account corresponding to the fault processing user;
[0009] 若接收到所审核账户返回的故障修复确认指令, 则关闭所述故障事件监测流程 [0009] If the fault repair confirmation instruction returned by the audited account is received, the fault event monitoring process is closed.
[0010] 本发明实施例的第二方面提供了一种数据库故障的响应终端, 所述数据库故障 的响应终端包括: [0010] A second aspect of the embodiment of the present invention provides a response terminal of a database failure, where the response terminal of the database failure includes:
[0011] 获取数据库的故障事件信息; 其中, 所述故障事件信息包含故障特征参数以及 与所述故障特征参数匹配的故障修复方案;  [0011] acquiring fault event information of the database; wherein the fault event information includes a fault feature parameter and a fault repairing scheme that matches the fault feature parameter;
[0012] 基于所述故障特征参数, 确定所述故障事件信息对应的故障处理用户, 并将所 述故障事件信息推送给所述故障处理用户;  [0012] determining, according to the fault feature parameter, a fault handling user corresponding to the fault event information, and pushing the fault event information to the fault processing user;
[0013] 启动故障事件监测流程, 以采集所述故障处理用户修复所述故障事件信息吋产 生的故障修复数据以及故障修复结果; [0013] starting a fault event monitoring process, to collect fault repair data generated by the fault handling user to repair the fault event information, and a fault repair result;
[0014] 将所述故障修复结果推送给所述故障处理用户对应的审核账户; [0014] pushing the fault repair result to an audit account corresponding to the fault processing user;
[0015] 若接收到所审核账户返回的故障修复确认指令, 则关闭所述故障事件监测流程 [0015] if the fault repair confirmation instruction returned by the audited account is received, the fault event monitoring process is closed
[0016] 本发明实施例的第三方面提供了一种终端设备, 包括存储器、 处理器以及存储 在所述存储器中并可在所述处理器上运行的计算机程序, 所述处理器执行所述 计算机程序吋实现以下步骤: A third aspect of an embodiment 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, the processor executing the The computer program implements the following steps:
[0017] 获取数据库的故障事件信息; 其中, 所述故障事件信息包含故障特征参数以及 与所述故障特征参数匹配的故障修复方案; [0017] acquiring fault event information of the database; wherein the fault event information includes a fault feature parameter and a fault repairing scheme that matches the fault feature parameter;
[0018] 基于所述故障特征参数, 确定所述故障事件信息对应的故障处理用户, 并将所 述故障事件信息推送给所述故障处理用户; [0018] determining, according to the fault feature parameter, a fault handling user corresponding to the fault event information, and pushing the fault event information to the fault processing user;
[0019] 启动故障事件监测流程, 以采集所述故障处理用户修复所述故障事件信息吋产 生的故障修复数据以及故障修复结果; [0019] starting a fault event monitoring process, to collect fault repair data generated by the fault handling user to repair the fault event information, and a fault repair result;
[0020] 将所述故障修复结果推送给所述故障处理用户对应的审核账户; [0021] 若接收到所审核账户返回的故障修复确认指令, 则关闭所述故障事件监测流程 [0020] pushing the fault repair result to an audit account corresponding to the fault processing user; [0021] if the fault repair confirmation instruction returned by the audited account is received, the fault event monitoring process is closed
[0022] 本发明实施例的第四方面提供了一种计算机可读存储介质, 所述计算机可读存 储介质存储有计算机程序, 所述计算机程序被处理器执行吋实现以下步骤: [0023] 获取数据库的故障事件信息; 其中, 所述故障事件信息包含故障特征参数以及 与所述故障特征参数匹配的故障修复方案; [0022] A fourth aspect of the embodiments of the present invention provides a computer readable storage medium storing a computer program, the computer program being executed by a processor, to implement the following steps: [0023] obtaining The fault event information of the database; wherein the fault event information includes a fault feature parameter and a fault repairing scheme that matches the fault feature parameter;
[0024] 基于所述故障特征参数, 确定所述故障事件信息对应的故障处理用户, 并将所 述故障事件信息推送给所述故障处理用户; [0024] determining, according to the fault feature parameter, a fault handling user corresponding to the fault event information, and pushing the fault event information to the fault processing user;
[0025] 启动故障事件监测流程, 以采集所述故障处理用户修复所述故障事件信息吋产 生的故障修复数据以及故障修复结果; [0025] starting a fault event monitoring process, to collect fault repair data and fault repair results generated by the fault handling user to repair the fault event information;
[0026] 将所述故障修复结果推送给所述故障处理用户对应的审核账户; [0026] pushing the fault repair result to an audit account corresponding to the fault processing user;
[0027] 若接收到所审核账户返回的故障修复确认指令, 则关闭所述故障事件监测流程 发明的有益效果 [0027] if receiving the fault repair confirmation instruction returned by the audited account, closing the fault event monitoring process
有益效果  Beneficial effect
[0028] 实施本发明实施例提供的一种数据库故障的响应方法及其终端具有以下有益效 果:  [0028] A method for responding to a database failure and a terminal thereof provided by embodiments of the present invention have the following beneficial effects:
[0029] 本发明实施例能够在确定数据库存在故障事件吋, 即吋将故障情况反馈给对应 的故障处理用户, 从而缩减了故障发生到故障发现之间的吋间差, 实现实吋汇 报故障情况的目的, 无需用户频繁登录数据库确认是否存在故障事件, 避免故 障情况加剧。 另一方面, 本发明实施例在得到修复结果后, 还将对应的修复结 果推送给对应的审核账户, 从而使得修复结果经过多一重审核流程, 确保了修 复结果的准确性。  [0029] The embodiment of the present invention can determine that there is a fault event in the database, that is, feedback the fault condition to the corresponding fault processing user, thereby reducing the inter-turn difference between the fault occurrence and the fault finding, and realizing the fault reporting situation. The purpose is to eliminate the need for users to log in to the database frequently to confirm whether there is a fault event and to avoid the situation of the fault. On the other hand, after obtaining the repair result, the embodiment of the present invention pushes the corresponding repair result to the corresponding audit account, so that the repair result passes through a multiple review process, and the accuracy of the repair result is ensured.
对附图的简要说明  Brief description of the drawing
附图说明  DRAWINGS
[0030] 为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例或现有技术描 述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是 本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性 的前提下, 还可以根据这些附图获得其他的附图。 [0030] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description are merely Some embodiments of the present invention are not laborious for those skilled in the art. Further drawings can also be obtained from these drawings.
[0031] 图 1是本发明第一实施例提供的一种数据库故障的响应方法实现流程图;  1 is a flowchart of a method for responding to a database failure according to a first embodiment of the present invention;
[0032] 图 2是本发明第二实施例提供的一种数据库故障的响应方法具体实现流程图; [0033] 图 3是本发明第三实施例提供的一种数据库故障的响应方法 S103具体实现流程 图; 2 is a flowchart of a specific implementation of a database fault response method according to a second embodiment of the present invention; [0033] FIG. 3 is a specific implementation of a database fault response method S103 according to a third embodiment of the present invention; Flow chart
[0034] 图 4是本发明第四实施例提供的一种数据库故障的响应方法 S101具体实现流程 图;  4 is a flowchart of a specific implementation of a method for responding to a database failure according to a fourth embodiment of the present invention; [0034] FIG.
[0035] 图 5是本发明第五实施例提供的一种数据库故障的响应方法具体实现流程图; 5 is a flowchart of a specific implementation of a method for responding to a database failure according to a fifth embodiment of the present invention;
[0036] 图 6是本发明一实施例提供的一种数据库故障的响应终端的结构框图; 6 is a structural block diagram of a response terminal for a database failure according to an embodiment of the present invention;
[0037] 图 7是本发明一实施例提供的一种终端设备的示意图。 FIG. 7 is a schematic diagram of a terminal device according to an embodiment of the present invention.
本发明的实施方式 Embodiments of the invention
[0038] 为了使本发明的目的、 技术方案及优点更加清楚明白, 以下结合附图及实施例 , 对本发明进行进一步详细说明。 应当理解, 此处所描述的具体实施例仅仅用 以解释本发明, 并不用于限定本发明。  The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0039] 本发明实施例解决了现有的数据库故障的响应技术, 主要是通过预设的故障检 测算法检测数据库中包含的故障, 并在数据库本地输出对应的故障报告, 故障 修复的管理人员若不登录至该数据库, 则无法获知数据库的故障情况, 从而降 低了数据库故障修复的及吋性, 甚至可能加剧数据库的故障程度, 增大了修复 的难度。 另一方面, 故障处理用户需要频繁地登录数据库检测是否有故障报告 , 降低了故障处理用户的操作效率的问题。  [0039] The embodiment of the present invention solves the existing response technology of database failure, mainly detects a fault included in the database by using a preset fault detection algorithm, and outputs a corresponding fault report locally in the database, and the fault repair manager if If you do not log in to the database, you will not be able to know the fault condition of the database, which will reduce the ambiguity of database fault repair, and may even increase 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 detect whether there is a fault report, which reduces the problem of the operational efficiency of the fault handling user.
[0040] 在本发明实施例中, 流程的执行主体为安装有数据库故障的响应程序的终端设 备。 图 1示出了本发明第一实施例提供的数据库故障的响应方法的实现流程图, 详述如下:  [0040] In the embodiment of the present invention, the execution body of the process is a terminal device in which a response program of a database failure is installed. FIG. 1 is a flowchart of an implementation of a method for responding to a database failure according to a first embodiment of the present invention, which is described in detail as follows:
[0041] 在 S101中, 获取数据库的故障事件信息; 其中, 所述故障事件信息包含故障特 征参数以及与所述故障特征参数匹配的故障修复方案。  [0041] In S101, acquiring fault event information of the database; wherein the fault event information includes a fault feature parameter and a fault repair scheme matching the fault feature parameter.
[0042] 在本实施例中, 终端设备若接收到数据库的故障事件信息, 则触发数据库故障 的响应流程, 从而修复数据库中的故障情况。 具体地, 故障事件信息包含数据 类别, 终端设备在每接收到一个数据信息吋, 将读取该数据信息的数据类别, 并根据预设的数据类别标识列表, 确定该数据信息是否为故障事件信息, 若是[0042] In this embodiment, if the terminal device receives the fault event information of the database, the terminal device triggers a response process of the database fault, thereby repairing the fault condition in the database. Specifically, the fault event information includes data a category, the terminal device reads the data category of the data information every time a data information is received, and determines whether the data information is fault event information according to a preset data category identifier list, if
, 则执行 S101的操作。 Then, the operation of S101 is performed.
[0043] 在本实施例中, 终端设备可通过本地的数据库故障的检测程序, 确定数据库是 否存在故障情况, 继而获取该数据库对应的故障事件信息; 终端设备还可以通 过独立的数据库故障的检测终端, 检测该数据库包含的故障信息, 继而通过终 端设备与数据库故障的检测终端之间的通信连接, 获取其发送的故障事件信息  [0043] In this embodiment, the terminal device may determine whether the database has a fault condition through a local database fault detection program, and then obtain fault event information corresponding to the database; the terminal device may also pass an independent database fault detection terminal. Detecting the fault information contained in the database, and then obtaining the fault event information sent by the terminal device and the detection terminal of the database fault detection terminal
[0044] 在本实施例中, 故障事件信息包含故障特征参数, 该故障特征参数具体用于表 示该数据库发生故障的具体情况, 包括但不限: 故障发生的位置、 故障等级、 数据库故障模块的运行数据等, 以便用户根据该故障特征参数定位该故障的成 因以及影响的数据库模块, 从而在修复前判定是否需要通过后备数据库进行业 务支援以及修复所需的吋间。 [0044] In this embodiment, the fault event information includes a fault feature parameter, and the fault feature parameter is specifically used to indicate a specific situation in which the database is faulty, including but not limited to: a location where the fault occurs, a fault level, and a database fault module. The data is run, so that the user locates the cause of the fault and the affected database module according to the fault characteristic parameter, so as to determine whether it is necessary to perform service support through the backup database and repair the required time before repairing.
[0045] 在本实施例中, 故障事件信息还包含与故障特征参数匹配的故障修复方案。 终 端设备或数据库故障的检査终端, 可根据采集得到的故障特征参数与预设的修 复方案库进行匹配操作, 自动生成该故障对应的推荐故障修复方案, 以便用户 在接收到故障事件信息吋, 可参考该故障修复方案对数据库进行故障修复。 需 要说明的是, 该故障事件信息中包含的故障修复方案可以为一个, 也可以为两 个或以上, 特别地, 若故障事件信息包含两个或以上的故障修复方案, 则可能 表示造成数据库故障的原因可能是某两个或以上故障成因中的一个, 终端设备 无法准确定位, 因此将多个故障成因对应的故障修复方案推荐给用户, 用户可 在定位了数据库的故障成因后, 选取其中一个故障修复方案对其进行修复。  [0045] In this embodiment, the fault event information further includes a fault repair scheme that matches the fault feature parameter. The terminal device or the database failure check terminal may perform a matching operation according to the collected fault feature parameter and the preset repair plan library, and automatically generate a recommended fault repair solution corresponding to the fault, so that the user receives the fault event information, You can refer to the fault repair scheme to repair the database. It should be noted that the fault repairing information included in the fault event information may be one or two or more. In particular, if the fault event information includes two or more fault repairing schemes, it may indicate that the database fault is caused. The reason may be one of the causes of two or more faults, and the terminal device cannot be accurately located. Therefore, the fault repair solution corresponding to multiple fault causes is recommended to the user, and the user may select one of the fault causes of the database. The fault repair plan fixes it.
[0046] 可选地, 在本实施例中, 若终端设备用于检测多个数据库的故障情况, 则可该 故障事件信息中还包含数据库标识, 终端设备可基于该数据库标识定位发生故 障的数据库。 特别地, 终端设备可在标示有所有数据库的数据库地图上, 通过 标红或闪烁等方式, 提示用户发生故障的数据库。  [0046] Optionally, in this embodiment, if the terminal device is configured to detect a fault condition of multiple databases, the fault event information may further include a database identifier, and the terminal device may locate the faulty database based on the database identifier. . In particular, the terminal device can prompt the user to fail the database by means of red or flashing on the database map marked with all databases.
[0047] 在 S102中, 基于所述故障特征参数, 确定所述故障事件信息对应的故障处理用 户, 并将所述故障事件信息推送给所述故障处理用户。 [0048] 在本实施例中, 终端设备从故障事件信息中提取其中包含的故障特征参数, 定 位该数据库中发生故障的模块或功能, 继而确定管理该模块或功能的用户, 将 上述用户识别为故障处理用户。 具体地, 若故障特征参数对应多个故障模块或 故障功能, 且多个故障模块或故障功能由不同的用户进行管理, 则该故障事件 信息对应的故障处理用户可以为多个, 并将故障事件信息同吋推送给多个故障 处理用户。 优选地, 终端设备基于不同的故障模块或故障功能, 将故障事件信 息分解为多个故障子事件信息, 并将各个故障子事件信息推送给对应的故障处 理用户。 [0047] In S102, determining, according to the fault feature parameter, a fault handling user corresponding to the fault event information, and pushing the fault event information to the fault processing user. [0048] In this embodiment, the terminal device extracts the fault feature parameter contained therein from 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 user as Troubleshoot the user. Specifically, if the fault feature parameter corresponds to multiple faulty modules or fault functions, and multiple faulty modules or fault functions are managed by different users, the fault event information may correspond to multiple fault handling users, and the fault events may be Information peers are pushed to multiple fault handling users. Preferably, the terminal device decomposes the fault event information into multiple fault sub-event information based on different fault modules or fault functions, and pushes each fault sub-event information to the corresponding fault-handling user.
[0049] 在本实施例中, 终端设备在确定故障处理用户后, 则根据査询该故障处理用户 对应的用户设备以及该用户设备的通信地址, 向该用户设备发送故障事件信息 。 可选地, 终端设备还可以根据该故障处理用户, 在该故障处理用户对应的办 公系统中生成一个故障处理事件, 将该故障事件信息导入到该故障处理事件中 , 并将该故障处理事件推送给故障处理用户在办公系统中对应的账户上。  [0049] In this embodiment, after determining the fault handling user, the terminal device sends fault event information to the user equipment according to the user equipment corresponding to the fault processing user and the communication address of the user equipment. Optionally, the terminal device may further generate a fault handling event in the office system corresponding to the fault handling user according to the fault processing user, import the fault event information into the fault handling event, and push the fault handling event. Give the faulty user the corresponding account in the office system.
[0050] 在 S103中, 启动故障事件监测流程, 以采集所述故障处理用户修复所述故障事 件信息吋产生的故障修复数据以及故障修复结果。  [0050] In S103, a fault event monitoring process is started to collect fault repair data and fault repair result generated by the fault handling user to repair the fault event information.
[0051] 在本实施例中, 故障处理用户在接收到故障事件信息后, 将对数据库的故障情 况进行修复操作, 以对数据库无法自动修复的故障进行人工修复。 与此同吋, 终端设备也启动故障事件监测流程, 用于采集故障处理用户修复故障事件信息 对应的故障情况吋产生的故障修复数据。 具体地, 终端设备将幵启一条独立的 线程, 通过该线程持续监测该数据库中的参数修改操作, 该参数包括数据库的 运行参数、 脚本文件、 表结构、 存储数据的变更情况等。 终端设备将获取得到 的故障修复数据存储于该故障事件信息对应的存储区域中, 该存储区域包含故 障事件信息的事件标识。  [0051] In this embodiment, after receiving the fault event information, the fault processing user performs a repair operation on the fault condition of the database to manually repair the fault that the database cannot be automatically repaired. At the same time, the terminal device also starts a fault event monitoring process, which is used to collect fault repair data generated by the fault handling user to repair the fault condition corresponding to the fault event information. Specifically, the terminal device will initiate an independent thread, and continuously monitor the parameter modification operation in the database through the thread, and the parameter includes a running parameter of the database, a script file, a table structure, and a change of the stored data. The terminal device stores the obtained fault repair data in a storage area corresponding to the fault event information, where the storage area includes an event identifier of the fault event information.
[0052] 在本实施例中, 终端设备可同吋幵启多条线程, 用于采集不同故障事件信息的 故障修复数据。 数据库故障的检査终端或终端设备可能在一定的吋间内, 检査 到数据库存在多个故障情况, 从而生成多个故障事件信息, 因此终端设备为了 确定各个故障事件信息对应的修复情况, 则幵启多条线程, 每一条线程检测一 个故障事件信息对应的故障修复数据, 并存储至各自对应的存储区域中。 [0053] 在本实施例中, 终端设备采集故障修复数据的方式具体为: 终端设备以预设的 吋间间隔获取数据库中的各项参数, 并将该当前采集到的参数与上一采集吋刻 对应的参数进行比对, 确定变更的参数情况, 并将变更的参数情况作为该次修 复过程的故障修复数据, 从而实现对故障修复数据实现增量存储, 以减少故障 修复数据的数据量以及终端设备的存储压力。 [0052] In this embodiment, the terminal device can open multiple threads for collecting fault repair data of different fault event information. The check terminal of the database fault or the terminal device may check that there are multiple fault conditions in the database within a certain time interval, thereby generating multiple fault event information, so the terminal device determines the repair situation corresponding to each fault event information, A plurality of threads are opened, and each thread detects fault repair data corresponding to a fault event information, and stores them in respective corresponding storage areas. [0053] In this embodiment, the manner in which the terminal device collects the fault repair data is specifically: the terminal device acquires various parameters in the database by using a preset interval, and compares the currently collected parameters with the previous collection. Corresponding parameters are compared, the changed parameters are determined, and the changed parameters are used as fault repair data of the repair process, thereby implementing incremental storage of the fault repair data, thereby reducing the amount of data of the fault repair data and The storage pressure of the terminal device.
[0054] 在本实施例中, 终端设备若接收到故障处理用户发送的故障修复完成指令, 则 判定该故障事件信息已被修复完成, 并将该故障修复完成指令中包含的处理结 果识别为故障修复结果。 可选地, 终端设备若在预设的最大修复等待吋间外并 未检测到数据库的参数发生改变, 即表明用户不再对其进行修复, 也表明该次 修复操作已完成, 因此在该情况下, 终端设备也将识别该故障事件信息已被处 理完毕, 并根据当前数据库的运行情况得到对应的故障修复结果。  [0054] In this embodiment, if the terminal device receives the fault repair completion command sent by the fault processing user, it determines that the fault event information has been repaired, and identifies the processing result included in the fault repair completion command as a fault. Fix the result. Optionally, if the terminal device does not detect the change of the parameter of the database in the preset maximum repair waiting time, that is, the user does not repair the data, and the repair operation is completed, and thus the situation is Next, the terminal device will also recognize that the fault event information has been processed, and obtain a corresponding fault repair result according to the current database running condition.
[0055] 可选地, 在本实施例中, 终端设备获取到故障修复结果吋, 可暂停采集故障修 复数据。 在该情况下, 若终端设备接收到审核账户返回的故障修复确认指令, 则执行 S105的相关操作; 反之, 若终端设备并未接收到审核账户返回的故障修 复确认指令, 则重新启动该故障事件监测流程, 以继续采集故障修复数据。  [0055] Optionally, in this embodiment, after the terminal device obtains the fault repair result, the fault repair data may be suspended. In this case, if the terminal device receives the fault repair confirmation command returned by the audit account, the related operation of S105 is performed; otherwise, if the terminal device does not receive the fault repair confirmation command returned by the audit account, the fault event is restarted. Monitor the process to continue collecting fault repair data.
[0056] 在 S104中, 将所述故障修复结果推送给所述故障处理用户对应的审核账户。  [0056] In S104, the fault repair result is pushed to an audit account corresponding to the fault processing user.
[0057] 在本实施例中, 终端设备在确定数据库的故障事件信息已被修复完成后, 则进 行故障处理结果进行审批确认的操作, 以确保该故障修复结果正确无误。 终端 设备将査询进行修复操作的故障处理用户对应的审核账户, 该审核账户可以为 故障处理用户的上级用户, 也可以是数据库的管理员, 该数据库的管理员负责 整个数据库具有监控管理、 权限。  [0057] In this embodiment, after determining that the fault event information of the database has been repaired, the terminal device performs an operation of confirming and confirming the fault processing result to ensure that the fault repair result is correct. The terminal device queries the audit account corresponding to the fault handling user who performs the repair operation. The audit account may be the upper-level user of the fault-handling user or the administrator of the database. The administrator of the database is responsible for the monitoring and management of the entire database. .
[0058] 可选地, 在本实施例中, 终端设备还将故障修复结果发送给故障处理用户。 由 于某些修复操作可能需要数据库自动运行一段较长的吋间, 而故障处理用户并 不需要自动运行过程中一直关注数据库的情况, 而当数据库将自动修复程序运 行完成后, 可将对应的故障修复结果推送给故障处理用户, 以便故障处理用户 确认修复操作已完成。  [0058] Optionally, in this embodiment, the terminal device further sends the fault repair result to the fault handling user. Because some repair operations may require the database to automatically run for a long period of time, and the fault handling user does not need to pay attention to the database during the automatic running process, and when the database will automatically repair the program is completed, the corresponding fault can be The repair result is pushed to the fault handling user so that the fault handling user confirms that the repair operation has been completed.
[0059] 与推送给故障处理用户的方式相对应, 本实施例中, 终端设备将故障处理结果 推送给审核账户的方式包括: 在终端确定审核账户后, 则査询该审核账户对应 的设备以及该设备的通信地址, 向该设备发送故障处理结果。 推送方式包括: 终端设备在办公系统中生成一个故障审核事件, 将该故障处理结果导入到该故 障审核事件中, 并将该故障审核事件在办公系统中推送故障处理用户对应的审 核账户。 [0059] Corresponding to the manner of pushing the fault processing user, in this embodiment, the manner in which the terminal device pushes the fault processing result to the auditing account includes: after the terminal determines the auditing account, querying the auditing account correspondingly The device and the communication address of the device, and send the fault processing result to the device. The push mode includes: The terminal device generates a fault audit event in the office system, and imports the fault processing result into the fault audit event, and pushes the fault audit event to the audit account corresponding to the fault processing user in the office system.
[0060] 在 S105中, 若接收到所审核账户返回的故障修复确认指令, 则关闭所述故障事 件监测流程。  [0060] In S105, if the fault repair confirmation command returned by the audited account is received, the fault event monitoring process is closed.
[0061] 在本实施例中, 审核账户在接收到终端设备推送的故障处理结果吋, 可基于该 故障处理结果, 判定该次故障修复操作是否已经完成。 若审核账户认同该故障 处理结果并确定该次故障修复操作已完成, 将生成故障修复确认指令, 并发送 给终端设备; 若审核账户不认同该故障处理结果, 需要故障处理用户重新对该 故障处理事件进行修复处理, 则生成故障重修复指令给终端设备, 在该情况下 , 终端设备若接收到故障重修复指令, 则返回执行 S102的操作, 以提示故障处 理用户重新对该故障事件进行处理。  [0061] In this embodiment, after receiving the fault processing result pushed by the terminal device, the auditing account may determine whether the fault repairing operation has been completed based on the fault processing result. If the auditing account agrees with the fault processing result and determines that the fault repairing operation has been completed, a fault repair confirmation command is generated and sent to the terminal device; if the auditing account does not agree with the fault processing result, the fault processing user needs to re-process the fault. If the event is repaired, the fault re-repair command is generated to the terminal device. In this case, if the terminal device receives the fault re-repair command, the terminal device returns to perform the operation of S102 to prompt the fault processing user to re-process the fault event.
[0062] 在本实施例中, 终端设备接收到审核账户返回的故障修复确认指令后, 则判定 该故障事件信息已被成功修复, 因此无需再对该事件进行修复数据的采集, 因 此将关闭该故障事件监测流程, 并将故障修复数据以及对应的故障修复结果封 装于数据包中, 将该数据包作为数据库的修复记录予以保存。  [0062] 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 that the repair data is not required to be collected for the event, so the terminal will be closed. The fault event monitoring process, and the fault repair data and the corresponding fault repair result are encapsulated in a data packet, and the data packet is saved as a repair record of the database.
[0063] 以上可以看出, 本发明实施例提供的一种数据库故障的响应方法通过获取数据 库的故障事件信息, 确定该故障事件信息对应的故障处理用户, 并将故障事件 信息推送给确定得到的故障处理用户, 以便用户可根据该故障事件信息中包含 的故障特征参数以及与故障特征参数匹配的故障修复方案, 对数据库中包含的 故障进行修复, 与此同吋, 数据库故障的响应终端将幵启故障事件监测流程, 以实吋采集故障处理用户在修复故障事件信息的过程中, 得到的故障修复数据 , 以及修复完毕后生成的故障修复结果, 并自动将该故障修复结果推送给故障 处理用户对应的审核账户, 以确认该故障事件信息是否已经处理完成, 若收到 审核账户返回的故障修复确认指令, 则表示该故障修复事件已经被正确修复, 可结束该次故障响应流程。 与现有的数据库故障的响应技术相比, 本发明实施 例能够在确定数据库存在故障事件吋, 即吋将故障情况反馈给对应的故障处理 用户, 从而缩减了故障发生到故障发现之间的吋间差, 实现实吋汇报故障情况 的目的, 无需用户频繁登录数据库确认是否存在故障事件, 避免故障情况加剧 。 另一方面, 本发明实施例在得到修复结果后, 还将对应的修复结果推送给对 应的审核账户, 从而使得修复结果经过多一重审核流程, 确保了修复结果的准 确性。 [0063] It can be seen that the response method of the database fault provided by 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. The user is faulty, so that the user can repair the faults included in the database according to the fault feature parameters included in the fault event information and the fault repair scheme matching the fault feature parameters. Similarly, the response terminal of the database fault will be The fault event monitoring process is started to collect the fault repair data obtained by the fault processing user in the process of repairing the fault event information, and the fault repair result generated after the repair is completed, and automatically push the fault repair result to the fault processing user. Corresponding audit account, to confirm whether the fault event information has been processed. If the fault repair confirmation command returned by the audit account is received, it indicates that the fault repair event has been correctly repaired, and the fault response process can be ended. Compared with the existing response technology of the database failure, the embodiment of the present invention can feedback the fault condition to the corresponding fault processing after determining that the database has a fault event. The user, thereby reducing the gap between the fault and the fault discovery, achieves the purpose of reporting the fault condition, without requiring the user to frequently log in to the database to confirm whether there is a fault event, and to avoid the intensification of the fault condition. On the other hand, after obtaining the repair result, the embodiment of the present invention pushes the corresponding repair result to the corresponding audit account, so that the repair result passes through a multiple review process, and the accuracy of the repair result is ensured.
[0064] 图 2示出了本发明第二实施例提供的一种数据库故障的响应方法的具体实现流 程图。 参见图 2所示, 相对于图 1所述实施例, 本实施例提供的一种数据库故障 的响应方法还包括 S201~S203, 详述如下:  2 is a flow chart showing a specific implementation of a method for responding to a database failure according to a second embodiment of the present invention. As shown in FIG. 2, with respect to the embodiment shown in FIG. 1, the method for responding to a database failure provided by this embodiment further includes S201~S203, which are as follows:
[0065] 进一步地, 所述若接收到所审核账户返回的故障修复确认指令, 则关闭所述故 障事件监测流程之后, 还包括:  [0065] Further, after receiving the fault repair confirmation instruction returned by the audited account, after the fault event monitoring process is closed, the method further includes:
[0066] 在 S201中, 提取所述故障修复数据的修复特征参数, 并将所述修复特征参数与 预设的修复方案库进行匹配。  [0066] In S201, the repair feature parameter of the fault repair data is extracted, and the repair feature parameter is matched with a preset repair plan library.
[0067] 在本实施例中, 终端设备在完成数据库的故障修复操作之后, 将对本次故障处 理用户的修复过程进行学习, 以提高故障修复方案库的方案数量。 终端设备首 先确定故障事件信息的故障类型, 并从故障事件监测流程对应的存储区域中获 取该故障事件对应的故障修复数据, 并从该故障修复数据中提取修复特征参数 , 其中该修复特征参数具体为故障处理用户消除故障事件信息吋对数据库进行 修改的参数, 如上所述, 该参数包括以下一种或至少两种的组合: 数据库的运 行参数、 脚本文件、 表结构、 存储数据的变更情况。 可选地, 终端设备还可以 将故障发生吋刻的数据库参数以及故障修复完成吋的数据库参数逐一进行比对 , 继而得到该修复特征参数。  [0067] In this embodiment, after completing the fault repair operation of the database, the terminal device learns the repair process of the fault handling user to improve the number of solutions of 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 feature parameter from the fault repair data, where the repair feature parameter is specific The parameter for modifying the fault event information for the fault handling user and modifying the database, as described above, the parameter includes one or a combination of at least two: a running parameter of the database, a script file, a table structure, and a change in the stored data. Optionally, the terminal device may further compare the database parameters of the fault occurrence and the database parameters of the fault repair completion, and then obtain the repair feature parameters.
[0068] 在本实施例中, 终端设备预设有修复方案库, 用于记录不同故障类型对应的故 障修复方案。 其中, 该修复方案库可存储于终端设备内置的存储模块中, 在该 情况下, 终端设备可直接读取本地的存储模块即可获取到修复方案库中包含的 数据; 该修复方案库也可以存储于独立的数据库服务器或其他终端设备中, 在 该情况下, 终端设备则需要与该数据库服务器或其他终端设备建立通信连接, 并发送修复方案库的调用请求, 以获取该修复方案库中的数据。  [0068] In this embodiment, the terminal device is pre-configured with a repair solution library for recording a fault repair solution corresponding to different fault types. The repair solution library may be stored in a storage module built in the terminal device. In this case, the terminal device may directly read the local storage module to obtain data included in the repair solution library; the repair solution library may also Stored in a separate database server or other terminal device, in which case the terminal device needs to establish a communication connection with the database server or other terminal device, and send a call request of the repair solution library to obtain the repair solution library. data.
[0069] 在本实施例中, 终端设备在获取到修复特征参数后, 将与修复方案库中包含的 各个故障修复方案的修复特征参数进行匹配, 从而确定该故障修复的手段是否 已记录在修复方案库内。 由于修复特征参数是在修复故障事件信息过程中的故 障修复数据内提取得到额, 因此该修复特征参数可以表示用户进行数据库修复 吋对应的故障修复方案。 若修复特征参数与任一故障修复方案匹配, 则表示两 者的修复手段一致, 属于相同的故障修复方案; 若修复特征参数与修复方案库 中任一故障修复方案均不匹配, 则表示该故障修复数据对应的修复过程属于新 的修复方案, 因此将执行 S202以及 S203的操作, 以将该新的修复方案添加至修 复方案库中。 [0069] In this embodiment, after the terminal device obtains the repair feature parameter, it will be included in the repair solution library. The repair feature parameters of each fault repair scheme are matched to determine whether the fault repair means has been recorded in the repair scheme library. Since the repair feature parameter is extracted within the fault repair data in the process of repairing the fault event information, the repair feature parameter may represent a fault repair solution corresponding to the user performing database repair. If the repair feature parameter matches any fault repair scheme, it means that the repair methods of the two are consistent and belong to the same fault repair scheme; if the repair feature parameter does not match any fault repair scheme in the repair scheme library, it indicates the fault. The repair process corresponding to the repair data belongs to a new repair scheme, so the operations of S202 and S203 will be performed to add the new repair scheme to the repair scheme library.
[0070] 在 S202中, 若所述修复特征参数在所述预设的修复方案库中不存在与之匹配的 故障修复方案, 则新建一个故障修复方案。  [0070] In S202, if the repair feature parameter does not have a fault repair solution matched in the preset repair plan library, a fault repair solution is created.
[0071] 在本实施例中, 终端设备若在修复方案库中无法寻找到与修复特征参数匹配的 故障修复方案, 则在修复方案库中新建一个故障修复方案以记录该未被收录的 故障修复手段。 可选地, 终端设备也可以在本地新建一个故障修复方案, 在生 成完毕后再发送给修复方案库, 以便修复方案库存储该故障修复方案。  [0071] In this embodiment, if the terminal device cannot find a fault repair solution that matches the repair feature parameter in the repair solution library, create a fault repair solution in the repair solution library to record the unrecovered fault repair. means. Optionally, the terminal device may also newly create a fault repair solution locally, and then send it to the repair solution library after the generation is completed, so as to repair the solution inventory and store the fault repair solution.
[0072] 在本实施例中, 该故障修复方案具体为一个方案模板, 其中包含多个待填写的 内容以及部分标准格式内容, 并为该方案模块设置一个方案唯一标识码。 具体 地, 每个修复方案库对应的故障修复方案模板将可能存在差异, 因此, 终端设 备在新建故障修复方案前, 需要从修复方案库中获取该方案模板。  [0072] In this embodiment, the fault repairing scheme is specifically a scheme template, which includes a plurality of content to be filled in and a part of standard format content, and sets a scheme unique identifier for the scheme module. Specifically, the fault repair scheme template corresponding to each repair scheme library may be different. Therefore, before the fault repair scheme is created, the terminal device needs to obtain the scheme template from the repair scheme library.
[0073] 在 S203中, 将所述修复特征参数导入至新建的所述故障修复方案, 并存储于所 述预设的修复方案库内。  [0073] In S203, the repair feature parameter is imported into the newly created fault repair solution, and stored in the preset repair plan library.
[0074] 在本实施例中, 终端设备在新建一个故障修复方案后, 将提取得到的修复特征 参数中包含的各个参数项导入到该故障修复方案对应的位置内。 优选地, 终端 设备还将故障事件信息中的故障特征参数导入至该故障修复方案内, 以便曰后 确定故障事件信息对应的故障修复方案吋, 可基于该故障修复方案建立吋导入 的故障事件信息, 确定两者是否匹配。  [0074] In this embodiment, after the terminal device creates a fault repairing scheme, the terminal device imports the parameter items included in the extracted repair feature parameters into the location corresponding to the fault repair solution. Preferably, the terminal device further introduces the fault feature parameter in the fault event information into the fault repair solution, so as to determine the fault repair solution corresponding to the fault event information, and may establish the fault event information imported based on the fault repair solution. , to determine if the two match.
[0075] 在本实施例中, 终端设备将修复特征参数导入到该故障修复方案后, 则该故障 修复方案已建立完成, 因此将该故障修复方案存储于修复方案库内, 从而在遇 到类似的故障情况吋, 终端设备可直接根据该故障修复方案的修复操作自动对 数据库进行修复, 或者遇到相关的故障情况吋, 终端设备也可以推送该故障修 复方案给故障处理用户进行参考。 [0075] In this embodiment, after the terminal device imports the repair feature parameter into the fault repair solution, the fault repair solution is established, so the fault repair solution is stored in the repair solution library, so that The fault condition 吋, the terminal device can directly respond to the repair operation of the fault repair scheme automatically After the database is repaired, or the related fault condition is encountered, the terminal device can also push the fault repair solution to refer to the fault handling user.
[0076] 在本发明实施例中, 通过每次修复完成后, 获取该次修复操作对应的修复特征 参数, 确定该次修复操作是否已被记录, 对于新的数据库的修复手段, 将创建 一个新的故障修复方案予以保存, 从而在每次操作后, 均可实现故障修复方案 的学习, 提高了修复方案库的自动修复能力, 从而减少故障处理用户现场修复 的次数, 提高了修复的效率。  [0076] In the embodiment of the present invention, after each repair is completed, the repair feature parameter corresponding to the repair operation is obtained, and it is determined whether the repair operation has been recorded, and a new database repair means is created. The fault repair scheme is saved, so that after each operation, the fault repair scheme can be learned, and the automatic repair capability of the repair scheme library is improved, thereby reducing the number of fault repair users on-site repair and improving the repair efficiency.
[0077] 图 3示出了本发明第三实施例提供的一种数据库故障的响应方法中 S103的具体 实现流程图。 参见图 3所示, 相对于图 1所述实施例, 本实施例提供的一种数据 库故障的响应方法中 S103包括以下步骤, 详述如下:  FIG. 3 is a flowchart showing a specific implementation of S103 in a method for responding to a database failure according to a third embodiment of the present invention. As shown in FIG. 3, with respect to the embodiment shown in FIG. 1, a method for responding to a database failure provided by this embodiment includes the following steps, which are as follows:
[0078] 进一步地, 所述启动故障事件监测流程, 以采集所述故障处理用户修复所述故 障事件信息吋产生的故障修复数据以及故障修复结果, 包括:  [0078] Further, the initiating fault event monitoring process is configured to collect the fault repair data and the fault repair result generated by the fault processing user to repair the fault event information, including:
[0079] 在 S301中, 接收所述故障处理用户发起的修复资源请求指令, 基于所述修复资 源请求指令生成资源调度信息。  [0079] In S301, receiving a repair resource request instruction initiated by the fault processing user, and generating resource scheduling information based on the repair resource request instruction.
[0080] 在本实施例中, 故障处理用户在修复数据库的故障吋间信息的过程中, 需要申 请额外的修复资源吋, 可向终端设备发送一个修复资源请求指令, 或者通过终 端设备内置的客户端, 生成上述的修复资源请求指令, 以便终端设备可基于该 修复资源请求指令向对应的负责人申请故障修复过程中所需的修复资源。  [0080] In this embodiment, the fault processing user needs to apply for an additional repair resource in the process of repairing the fault information of the database, and may send a repair resource request instruction to the terminal device, or through the built-in client of the terminal device. End, generating the above-mentioned repair resource request instruction, so that the terminal device can apply for the repair resource required in the fault repair process to the corresponding responsible person based on the repair resource request instruction.
[0081] 在本实施例中, 该修复资源请求指令中包含用户所需的修复资源类别以及资源 数量, 特别地, 还可以包含资源调用的吋限信息。 终端设备可通过显示模块生 成一个修复资源请求信息的填写界面, 故障处理用户通过填写该信息填写界面 中所需的资料后, 则生成对应的修复资源请求指令, 启动额外资源修复指令的 申请流程。  [0081] In this embodiment, the repair resource request instruction includes the repair resource category and the number of resources required by the user, and in particular, may include the limit information of the resource call. The terminal device can generate a filling interface for repairing resource request information through the display module. After the fault processing user fills in the information and fills in the required information in the interface, the corresponding repair resource request instruction is generated, and the application process of the additional resource repair instruction is started.
[0082] 在本实施例中, 终端设备在接收到用户发起的修复资源请求指令后, 则基于该 修复资源请求指令中包含的资源请求内容, 为每一项请求内容生成一个资源调 度信息。  [0082] In this embodiment, after receiving the user-initiated repair resource request instruction, the terminal device generates a resource scheduling information for each request content based on the resource request content included in the repair resource request instruction.
[0083] 在 S302中, 根据预设的资源管理责任列表, 确定所述修复资源请求指令对应的 资源管理账户, 推送所述资源调度信息至所述资源管理账户。 [0084] 在本实施例中, 终端设备存储模块中记载有各个资源对应的管理责任人, 即上 述的资源管理账户。 其中, 上述资源包括但不限于: 数据库资源、 网络资源、 外设模块资源、 权限资源等。 不同的资源由不同的资源责任人管理。 因此, 终 端设备首先根据修复资源请求指令, 确定该请求对应的目标对象。 [0083] In S302, determining, according to the preset resource management responsibility list, a resource management account corresponding to the repair resource request instruction, and pushing the resource scheduling information to the resource management account. [0084] In this embodiment, the terminal device storage module records the management responsibility person corresponding to each resource, that is, the resource management account described above. The foregoing resources include but are not limited to: database resources, network resources, peripheral module resources, and rights resources. 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.
[0085] 在本实施例中, 终端设备提取该修复资源请求指令中包含的资源类别, 并査询 预设的资源管理责任列表, 确定该资源类别对应的资源管理责任人以及该责任 人对应的资源管理账户, 并将 S301中生成的资源调度信息推送给该资源管理账 户。  [0085] In this embodiment, the terminal device extracts a resource category included in the repair resource request instruction, and queries a preset resource management responsibility list, and determines a resource management responsible person corresponding to the resource category and a corresponding one of the responsible person. The resource management account, and the resource scheduling information generated in S301 is pushed to the resource management account.
[0086] 具体地, 在本实施例中, 推送的方式与推送给故障处理用户的方式一致, 可以 将资源调度信息直接发送给资源管理账户对应的终端设备, 也可以在办公系统 中生成一个资源调度事件, 并将该资源调度事件添加到资源管理账户的待办事 件中。 优选地, 终端设备还根据数据库故障等级以及请求的资源类型, 确定资 源管理账户的处理吋限, 以便资源管理账户及吋该到资源请求指令进行对应的 处理。  [0086] Specifically, in this embodiment, the manner of pushing is consistent with the manner of pushing the user to the fault processing, and the resource scheduling information may be directly sent to the terminal device corresponding to the resource management account, or a resource may be generated in the office system. Schedule the event and add the resource scheduling event to the pending event of the resource management account. Preferably, the terminal device further determines a processing limit of the resource management account according to the database fault level and the requested resource type, so that the resource management account and the resource request instruction perform corresponding processing.
[0087] 在 S303中, 若接收到所述资源管理账户返回的调度确认指令, 则将所述修复资 源请求指令对应的修复资源的使用权限添加至所述故障处理用户的权限参数中  [0087] In S303, if the scheduling confirmation instruction returned by the resource management account is received, the usage right of the repair resource corresponding to the repair resource request instruction is added to the permission parameter of the fault processing user.
[0088] 在本实施例中, 资源管理账户在接收到终端设备推送的资源调度信息后, 将根 据实际情况, 确定同意故障处理用户额外修复资源的申请。 具体地, 若资源管 理账户同意故障处理用户的请求, 则返回一个调度确认指令给终端设备, 并执 行 S303的相关操作; 反之, 若资源管理账户不同意故障处理用户的请求, 则返 回一个调度拒绝指令给终端设备, 并结束本次调度申请流程。 特别地, 若资源 管理账户同意故障处理用户的申请, 但当前并不存在可调用的资源, 则发送调 度暂缓指令, 并且终端设备以预设的吋间间隔获取可用资源情况, 若检测到存 在足够的资源, 则执行 S303的相关操作。 [0088] In this embodiment, after receiving the resource scheduling information pushed by the terminal device, the resource management account determines, according to the actual situation, an application that agrees to the fault processing user to additionally repair the resource. Specifically, if the resource management account agrees to the fault processing user's request, returning a scheduling confirmation command to the terminal device, and performing the related operation of S303; otherwise, if the resource management account does not agree with the fault processing user's request, returning a scheduling rejection The command is sent to the terminal device, and the scheduling application process is ended. Specifically, if the resource management account agrees to the user of the fault handling user, but there is currently no callable resource, the scheduling suspension command is sent, and the terminal device obtains the available resources at a preset time interval, and if sufficient The resources are executed, and the related operations of S303 are performed.
[0089] 在本实施例中, 终端设备在接收到调度确认指令后, 则获取修复资源请求指令 对应的修复资源的使用权限, 可选地, 该使用权限可以为一动态密钥, 在调用 修复资源前, 需要对调用方的身份进行校验, 此吋, 用户可利用该动态密钥执 行鉴权操作, 以获取该资源的使用权限。 终端设备在获取了修复资源的使用权 限后, 将该权限信息添加到故障处理用户的权限参数中, 故障处理用户只需通 过对应的账户名或对应的设备, 抑或是身份证明信息, 即可调用上述修复资源 对数据库的故障进行修复。 [0089] In this embodiment, after receiving the scheduling confirmation instruction, the terminal device acquires the usage right of the repair resource corresponding to the repair resource request instruction. Optionally, the use permission may be a dynamic key, and the repair is invoked. Before the resource, the identity of the caller needs to be verified. Therefore, the user can use the dynamic key to perform the verification. Line authentication operation to obtain the usage rights of the resource. After obtaining the usage right of the repair resource, the terminal device adds the permission information to the permission parameter of the fault processing user, and the fault processing user can call the corresponding account name or the corresponding device or the identity certification information. The above repair resources repair the database failure.
[0090] 可选地, 在本实施例中, 故障处理用户在完成故障事件信息的修复后, 则在 S1 05后, 终端设备将故障处理用户的权限参数中该次申请调用修复资源的权限内 容进行刪除, 和 /或调整修复资源的调用规则, 并将对应修复资源的使用状态调 整为空闲, 以便其他用户进行调用申请。  [0090] Optionally, in this embodiment, after the fault processing user completes the repair of the fault event information, after S1 05, the terminal device applies the permission content of the repair resource to the permission parameter of the fault processing user. Delete, and/or adjust the calling rules of the repair resource, and adjust the usage status of the corresponding repair resource to idle, so that other users can make the call request.
[0091] 在本发明实施例中, 故障处理用户可通过终端设备申请额外的故障修复资源, 从而能够更快捷地对数据库的故障进行修复。  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.
[0092] 图 4示出了本发明第四实施例提供的一种数据库故障的响应方法 S101的具体实 现流程图。 参见图 4所示, 相对于图 1至图 3所述实施例, 本实施例提供的一种数 据库故障的响应方法所述获取数据库的故障事件信息还包含 S401~S403, 详述如 下:  FIG. 4 is a flowchart showing a specific implementation of a database failure response method S101 according to a fourth embodiment of the present invention. As shown in FIG. 4, with respect to the embodiment shown in FIG. 1 to FIG. 3, a database fault response method provided by the embodiment further includes S401~S403, and the following details are as follows:
[0093] 在 S401中, 若检测到所述数据库存在故障情况, 则获取所述故障情况的故障特 征参数。  [0093] In S401, if it is detected that the database has a fault condition, the fault feature parameter of the fault condition is acquired.
[0094] 在本实施例中, 终端设备可通过内设的故障检测算法, 确定数据库是否存在故 障情况; 相对地, 终端设备还可以通过接收其他设备或数据库服务器发送的故 障触发指令, 来获知数据库是否存在故障情况。  [0094] In this embodiment, the terminal device can determine whether the database has a fault condition by using a built-in fault detection algorithm. In contrast, the terminal device can also obtain the fault triggering command sent by another device or the database server to learn the database. Is there a fault condition?
[0095] 在本实施例中, 终端设备在检测到数据库存在故障情况吋, 则通过预设的故障 特征参数提取算法, 获取该数据库的故障特征参数。 其中, 该状态运行数据包 括但不限于: 数据库的数据冗余率、 数据库的平均读写速率下降比例、 数据库 中各个分区的数据存储情况、 各个分区的存储地址的分配异常情况、 数据库介 质运行状态、 运算溢出率等。  [0095] In this embodiment, after detecting that the database has a fault condition, the terminal device acquires a fault feature parameter of the database by using a preset fault feature parameter extraction algorithm. The state operation data includes but is not limited to: a data redundancy rate of the database, a decrease ratio of the average read/write rate of the database, a data storage condition of each partition in the database, an abnormality of the storage address of each partition, and a running state of the database medium. , operation overflow rate, etc.
[0096] 可选地, 若终端设备是通过其他设备或数据库服务器发送的故障触发指令确定 数据库存在故障情况, 则故障触发指令中包含数据库的运行参数。 终端设备通 过运行参数与预设的标准运行参数匹配, 确定数据库异常的模块以及功能, 并 将该模块以及功能对应的运作参数作为故障特征参数。 [0097] 在 S402中, 基于预设的故障修复方案确定算法, 确定与所述故障特征参数匹配 的所述故障修复方案。 [0096] Optionally, if the terminal device determines that the database has a fault condition by using a fault triggering command sent by the other device or the database server, the fault triggering instruction includes an operating parameter of the database. The terminal device determines the module and function of the database abnormality by matching the running parameter with the preset standard operating parameter, and uses the operating parameter corresponding to the module and the function as the fault feature parameter. [0097] In S402, the fault repairing scheme matching the fault feature parameter is determined based on a preset fault repair scheme determining algorithm.
[0098] 在本实施例中, 预设的故障修复方案确定算法具体为: 终端设备将提取得的的 故障特征参数与各个故障修复方案的故障特征参数进行匹配, 继而确定该故障 特征参数对应的故障修复方案。 其中, 该故障修复方案具存储于修复方案库内  [0098] In this embodiment, the preset fault repairing scheme determining algorithm is specifically: the terminal device matches the extracted fault feature parameter with the fault feature parameter of each fault repairing scheme, and then determines the corresponding fault feature parameter. Fault repair plan. The fault repair solution is stored in the repair solution library.
[0099] 本实施例中, 预设的故障修复方案确定算法还可以是: 终端设备根据故障特征 参数, 如故障发生的位置、 影响的功能模块以及故障运行参数等相关信息, 定 位可能导致该故障产生的多个成因, 并通过预设的故障成因确定算法一一进行 排査, 继而确定导致本次故障的异常信息, 根据该异常信息从修复方案资源库 中提取与之对应的修复方案。 [0099] In this embodiment, the preset fault repairing scheme determining algorithm may further be: the terminal device may cause the fault according to the fault characteristic parameter, such as the location where the fault occurs, the affected functional module, and the fault operating parameter. The multiple causes are generated, and the preset fault cause determining algorithm is used to perform the troubleshooting, and then the abnormal information that causes the fault is determined, and the repairing scheme corresponding to the fault is extracted from the repairing solution resource library according to the abnormality information.
[0100] 在 S403中, 根据所述故障修复方案以及所述故障特征参数, 生成所述故障事件 f π息。  [0100] In S403, the fault event f π is generated according to the fault repairing scheme and the fault feature parameter.
[0101] 在本实施例中, 终端设备将获取的故障特征参数以及与该故障特征参数匹配的 故障修复方案封装于故障事件信息内, 生成故障事件信息。  [0101] In this embodiment, the terminal device encapsulates the acquired fault feature parameter and the fault repair solution matched with the fault feature parameter in the fault event information to generate fault event information.
[0102] 在本发明实施例中, 终端设备在检测到数据库发生故障情况吋, 则主动获取该 故障情况的故障特征参数以及匹配出对应的故障修复方案, 从而提高了故障修 复的及吋性, 继而提高了修复效率。  [0102] In the embodiment of the present invention, after detecting that the database is faulty, the terminal device actively acquires the fault feature parameter of the fault condition and matches the corresponding fault repair solution, thereby improving the fault repairability. This in turn improves the repair efficiency.
[0103] 图 5示出了本发明第五实施例提供的一种数据库故障的响应方法的具体实现流 程图。 参见图 5所示, 相对于图 2所述实施例, 本实施例提供的一种数据库故障 的响应方法还包括以下步骤, 详述如下: [0103] FIG. 5 is a flowchart showing a specific implementation of a method for responding to a database failure according to a fifth embodiment of the present invention. As shown in FIG. 5, with respect to the embodiment shown in FIG. 2, the method for responding to a database failure provided by this embodiment further includes the following steps, which are detailed as follows:
[0104] 进一步地, 在所述获取数据库的故障事件信息之前, 还包括: [0104] Further, before the obtaining the fault event information of the database, the method further includes:
[0105] 在 S5011中, 以预设的吋间间隔获取其他数据库的故障修复方案。 [0105] In S5011, a fault repair scheme of other databases is acquired at a preset time interval.
[0106] 在本实施例中, 终端设备除了通过故障处理用户的故障修复数据生成故障修复 方案外, 还可以通过向其他数据库服务器之间进行故障修复方案共享的方式来 扩充预设修复方案库的方案量。 [0106] In this embodiment, in addition to generating a fault repair solution by using the fault repair data of the fault processing user, the terminal device may also expand the preset repair solution database by performing a fault repair scheme sharing between other database servers. The amount of the program.
[0107] 在本实施例中, 该终端设备可用于修复一个数据库的故障事件信息, 在该情况 下, 其他数据库可以与该数据库处于同一数据库系统内, 通过数据库系统的内 网相连, 因而终端设备也可以通过该数据库系统的内部网络, 获取存储于其他 数据库的修复方案库内的故障修复方案。 [0107] In this embodiment, the terminal device can be used to repair fault event information of a database. In this case, other databases can be in the same database system as the database, and pass through the database system. The network is connected, so the terminal device can also obtain the fault repair solution stored in the repair solution library of other databases through the internal network of the database system.
[0108] 在本实施例中, 该终端设备也可以用于修复一个数据库系统的多个数据库的故 障事件信息, 在该情况下, 其他数据库可以为位于该数据库系统外的数据库, 因而终端设备通过外部通信网络与其他数据库进行通信连接, 并以预设的吋间 间隔获取其他数据库的故障修复方案。  [0108] In this embodiment, the terminal device may also be used to repair fault event information of multiple databases of a database system. In this case, other databases may be databases located outside the database system, and thus the terminal device passes The external communication network communicates with other databases, and obtains fault recovery plans of other databases at preset intervals.
[0109] 在 S5012中, 以预设的吋间间隔接收所述数据库对应的服务器发送的故障修复 方案。  [0109] In S5012, the fault repairing scheme sent by the server corresponding to the database is received at a preset time interval.
[0110] 在本实施例中, 终端设备除了可以向其他数据库的修复方案库中获取新的故障 修复方案外, 还可以通过数据库对应的上级服务器获取最新更新的故障修复方 案。 该上级服务器可以是: 对数据库进行版本更新等更新操作的服务器。 该上 级服务器会以预设的吋间上传针对版本漏洞或常见问题的故障修复方案, 终端 设备可以通过该上级服务器, 实吋获取与数据库的版本信息对应的故障修复方 案。  In this embodiment, in addition to obtaining a new fault repair solution from the repair solution library of other databases, the terminal device may obtain the latest updated fault repair solution through the upper-level server corresponding to the database. The superior server can be: A server that performs update operations such as version updates on the database. The upper-level server uploads a fault repair solution for a version vulnerability or a common problem in a preset time. The terminal device can obtain a fault repair solution corresponding to the version information of the database through the upper server.
[0111] 在本实施例中, 该上级服务器还可以为专门用于收集各个厂商以及地区数据库 的故障修复方案的服务器。 终端设备通过向该上级服务器, 继而获取到国内外 不同故障修复用户对应的故障修复方案, 大大提高了修复方案库的方案数量。  [0111] In this embodiment, the upper-level server may also be a server dedicated to collecting fault repair solutions of various vendors and regional databases. The terminal device obtains the fault repairing scheme corresponding to different fault repairing users at home and abroad by the upper-level server, and greatly improves the number of schemes of the repairing scheme library.
[0112] 在 S502中, 将所述故障修复方案添加至所述预设的修复方案库中。  [0112] In S502, the fault repairing scheme is added to the preset repair scheme library.
[0113] 在本实施例中, 终端设备将在 S5011以及 S5012中采集的故障修复方案上传到预 设的修复方案库中, 从而实现了修复方案库智能学习的目的。  [0113] In this embodiment, the terminal device uploads the fault repairing scheme collected in S5011 and S5012 to the preset repair scheme database, thereby achieving the purpose of intelligent learning of the repair scheme library.
[0114] 在本发明实施例中, 通过向其他数据库或者上级服务器进行故障修复方案的学 习, 从而能够提高终端设备的修复范围以及修复类型, 提高了数据库的修复效 率。 [0114] In the embodiment of the present invention, by learning the fault repair solution from other databases or upper-level servers, the repair range and the repair type of the terminal device can be improved, and the repair efficiency of the database is improved.
[0115] 应理解, 上述实施例中各步骤的序号的大小并不意味着执行顺序的先后, 各过 程的执行顺序应以其功能和内在逻辑确定, 而不应对本发明实施例的实施过程 构成任何限定。  It should be understood that the size of the serial number of each step in the above embodiments does not mean the order of execution sequence, and the execution order of each process should be determined by its function and internal logic, and should not be implemented by the implementation process of the embodiment of the present invention. Any restrictions.
[0116] 图 6示出了本发明一实施例提供的一种数据库故障的响应终端的结构框图, 该 数据库故障的响应终端包括的各单元用于执行图 1对应的实施例中的各步骤。 具 体请参阅图 1与图 1所对应的实施例中的相关描述。 为了便于说明, 仅示出了与 本实施例相关的部分。 FIG. 6 is a structural block diagram of a response terminal of a database fault according to an embodiment of the present invention. The unit included in the response terminal of the database fault is used to execute each step in the embodiment corresponding to FIG. 1. With Please refer to the related description in the embodiment corresponding to FIG. 1 and FIG. For the convenience of explanation, only the parts related to the present embodiment are shown.
[0117] 参见图 6, 所述数据库故障的响应终端包括:  [0117] Referring to FIG. 6, the response terminal of the database failure includes:
[0118] 故障事件信息获取模块 61, 用于获取数据库的故障事件信息; 其中, 所述故障 事件信息包含故障特征参数以及与所述故障特征参数匹配的故障修复方案; [0119] 故障处理用户确定模块 62, 用于基于所述故障特征参数, 确定所述故障事件信 息对应的故障处理用户, 并将所述故障事件信息推送给所述故障处理用户; [0120] 故障事件监测流程启动模块 63, 用于启动故障事件监测流程, 以采集所述故障 处理用户修复所述故障事件信息吋产生的故障修复数据以及故障修复结果; [0121] 审核账户信息推送模块 64, 用于将所述故障修复结果推送给所述故障处理用户 对应的审核账户;  [0118] The fault event information obtaining module 61 is configured to acquire fault event information of the database, where the fault event information includes a fault feature parameter and a fault repairing scheme that matches the fault feature parameter; [0119] the fault handling user determines The module 62 is configured to determine, according to the fault feature parameter, a fault handling user corresponding to the fault event information, and push the fault event information to the fault processing user; [0120] a fault event monitoring process starting module 63, And configured to start a fault event monitoring process, to collect the fault repair data generated by the fault handling user to repair the fault event information, and the fault repair result; [0121] an audit account information pushing module 64, configured to use the fault repair result Pushing to the audit account corresponding to the fault handling user;
[0122] 故障修复确认指令接收模块 65, 用于若接收到所审核账户返回的故障修复确认 指令, 则关闭所述故障事件监测流程。  [0122] The fault repair confirmation command receiving module 65 is configured to close the fault event monitoring process if receiving the fault repair confirmation command returned by the audited account.
[0123] 可选地, 所述数据库故障的响应终端, 还包括: [0123] Optionally, the responding terminal of the database failure further includes:
[0124] 修复特征参数匹配模块, 用于提取所述故障修复数据的修复特征参数, 并将所 述修复特征参数与预设的修复方案库进行匹配;  [0124] a repair feature parameter matching module, configured to extract a repair feature parameter of the fault repair data, and match the repair feature parameter with a preset repair plan library;
[0125] 故障修复方案新建模块, 用于若所述修复特征参数在所述预设的修复方案库中 不存在与之匹配的故障修复方案, 则新建一个故障修复方案; [0125] a fault repairing scheme, a new module, configured to create a fault repairing scheme if the repairing feature parameter does not have a fault repairing scheme matching the preset repairing scheme database;
[0126] 故障修复方案学习模块, 用于将所述修复特征参数导入至新建的所述故障修复 方案, 并存储于所述预设的修复方案库内。 [0126] The fault repairing solution learning module is configured to import the repair feature parameter into the newly created fault repair solution, and store it in the preset repair solution library.
[0127] 可选地, 所述故障事件监测流程启动模块 63, 包括: [0127] Optionally, the fault event monitoring process startup module 63 includes:
[0128] 修复资源请求指令接收模块, 用于接收所述故障修复用户发起的修复资源请求 指令, 基于所述修复资源请求指令生成资源调度信息;  [0128] 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;
[0129] 修复资源申请模块, 用于根据预设的资源管理责任列表, 确定所述修复资源请 求指令对应的资源管理账户, 推送所述资源调度信息至所述资源管理账户; [0130] 修复资源权限添加模块, 用于若接收到所述资源管理账户返回的调度确认指令[0129] a repair resource requesting module, configured to determine, according to a preset resource management responsibility list, a resource management account corresponding to the repair resource request instruction, and push the resource scheduling information to the resource management account; [0130] repairing resources a permission adding module, configured to receive a scheduling confirmation instruction returned by the resource management account
, 则将所述修复资源请求指令对应的修复资源的使用权限添加至所述故障修复 用户的权限参数中。 [0131] 可选地, 所述故障事件信息获取模块 61, 包括: And adding the usage right of the repair resource corresponding to the repair resource request instruction to the permission parameter of the fault repair user. [0131] Optionally, the fault event information obtaining module 61 includes:
[0132] 故障特征参数提取模块, 用于若检测到所述数据库存在故障情况, 则获取所述 故障情况的故障特征参数;  [0132] a fault feature parameter extraction module, configured to acquire a fault feature parameter of the fault condition if a fault condition of the database is detected;
[0133] 故障修复方案确定模块, 用于基于预设的故障修复方案确定算法, 确定与所述 故障特征参数匹配的所述故障修复方案; [0133] a fault repairing scheme determining module, configured to determine, according to a preset fault repairing scheme determining algorithm, the fault repairing scheme that matches the fault feature parameter;
[0134] 故障事件信息生成模块, 用于根据所述故障修复方案以及所述故障特征参数, 生成所述故障事件信息。  [0134] The fault event information generating module is configured to generate the fault event information according to the fault repairing scheme and the fault feature parameter.
[0135] 可选地, 所述数据库故障的响应终端还包括: [0135] Optionally, the responding terminal of the database failure further includes:
[0136] 第一修复方案获取模块, 用于以预设的吋间间隔获取其他数据库的故障修复方 案; 和 /或  [0136] a first repair solution acquisition module, configured to acquire a fault repair solution of another database at a preset time interval; and/or
[0137] 第二修复方案获取模块, 用于以预设的吋间间隔接收所述数据库对应的服务器 发送的故障修复方案;  [0137] a second repairing solution acquiring module, configured to receive, by using a preset inter-time interval, a fault repairing scheme sent by a server corresponding to the database;
[0138] 故障修复方案库添加模块, 用于将所述故障修复方案添加至所述预设的修复方 案库中。  [0138] A fault repair scheme library adding module, configured to add the fault repair scheme to the preset repair scenario library.
[0139] 因此, 本发明实施例提供的数据库故障的响应终端同样可以通过获取数据库的 故障事件信息, 确定该故障事件信息对应的故障处理用户, 并将故障事件信息 推送给确定得到的故障处理用户, 以便用户可根据该故障事件信息中包含的故 障特征参数以及与故障特征参数匹配的故障修复方案, 对数据库中包含的故障 进行修复, 与此同吋, 数据库故障的响应终端将幵启故障事件监测流程, 以实 吋采集故障处理用户在修复故障事件信息的过程中, 得到的故障修复数据, 以 及修复完毕后生成的故障修复结果, 并自动将该故障修复结果推送给故障处理 用户对应的审核账户, 以确认该故障事件信息是否已经处理完成, 若收到审核 账户返回的故障修复确认指令, 则表示该故障修复事件已经被正确修复, 可结 束该次故障响应流程。 与现有的数据库故障的响应技术相比, 本发明实施例能 够在确定数据库存在故障事件吋, 即吋将故障情况反馈给对应的故障处理用户 , 从而缩减了故障发生到故障发现之间的吋间差, 实现实吋汇报故障情况的目 的, 无需用户频繁登录数据库确认是否存在故障事件, 避免故障情况加剧。 另 一方面, 本发明实施例在得到修复结果后, 还将对应的修复结果推送给对应的 审核账户, 从而使得修复结果经过多一重审核流程, 确保了修复结果的准确性 [0139] Therefore, the response terminal of the database failure provided by the embodiment of the present invention can also obtain the fault event user corresponding to the fault event information by acquiring the fault event information of the database, and push the fault event information to the determined fault processing user. Therefore, the user can repair the faults included in the database according to the fault characteristic parameters included in the fault event information and the fault repair scheme matched with the fault feature parameters, and the response terminal of the database fault will initiate the fault event. The monitoring process is used to collect the fault repair data obtained by the fault-solving user in the process of repairing the fault event information, and the fault repair result generated after the repair is completed, and automatically push the fault repair result to the audit corresponding to the fault-processing user. The account is used to confirm whether the fault event information has been processed. If the fault repair confirmation command returned by the audit account is received, it indicates that the fault repair event has been correctly repaired, and the fault response process can be ended. Compared with the existing response technology of the database failure, the embodiment of the present invention can reduce the fault occurrence to the fault discovery after determining that the database has a fault event, that is, feeding the fault condition to the corresponding fault processing user. The purpose of the fault is to achieve the purpose of reporting the fault condition. It is not necessary for the user to log in to the database frequently to confirm whether there is a fault event and to avoid the fault situation. On the other hand, after obtaining the repair result, the embodiment of the present invention pushes the corresponding repair result to the corresponding one. Review the account, so that the repair results go through a multiple review process to ensure the accuracy of the repair results
[0140] 图 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 according to another embodiment of the present invention. As shown in FIG. 7, the terminal device 7 of this embodiment includes: a processor 70, a memory 71, and a computer program 72 stored in the memory 71 and operable on the processor 70, such as a database failure response program. . The processor 70 executes the steps in the computer program 72 to implement the above-described respective database failure response method embodiments, such as S101 to S105 shown in FIG. Alternatively, the processor 70 executes the computer program 72 to implement the functions of the various units in the various apparatus embodiments described above, such as the functions of the modules 61 to 65 shown in FIG.
[0141] 示例性的, 所述计算机程序 72可以被分割成一个或多个单元, 所述一个或者多 个单元被存储在所述存储器 71中, 并由所述处理器 70执行, 以完成本发明。 所 述一个或多个单元可以是能够完成特定功能的一系列计算机程序指令段, 该指 令段用于描述所述计算机程序 72在所述终端设备 7中的执行过程。 例如, 所述计 算机程序 72可以被分割成运行故障事件信息获取模块、 故障处理用户确定模块 、 故障事件监测流程启动模块、 审核账户信息推送模块以及故障修复确认指令 接收模块, 各单元具体功能如下:  [0141] Illustratively, the computer program 72 may be divided into one or more units, the one or more units being stored in the memory 71 and executed by the processor 70 to complete the present invention. The one or more units may be a series of computer program instructions that are capable of performing a particular function, and are used to describe the execution of the computer program 72 in the terminal device 7. For example, the computer program 72 can be divided into an operation fault event information acquisition module, a fault processing user determination module, a fault event monitoring process startup module, an audit account information push module, and a fault repair confirmation command receiving module. The specific functions of each unit are as follows:
[0142] 故障事件信息获取模块, 用于获取数据库的故障事件信息; 其中, 所述故障事 件信息包含故障特征参数以及与所述故障特征参数匹配的故障修复方案;  [0142] a fault event information obtaining module, configured to acquire fault event information of the database, where the fault event information includes a fault feature parameter and a fault repairing scheme that matches the fault feature parameter;
[0143] 故障处理用户确定模块, 用于基于所述故障特征参数, 确定所述故障事件信息 对应的故障处理用户, 并将所述故障事件信息推送给所述故障处理用户;  [0143] a fault processing user determining module, configured to determine, according to the fault characteristic parameter, a fault processing user corresponding to the fault event information, and push the fault event information to the fault processing user;
[0144] 故障事件监测流程启动模块, 用于启动故障事件监测流程, 以采集所述故障处 理用户修复所述故障事件信息吋产生的故障修复数据以及故障修复结果;  [0144] a fault event monitoring process startup module, configured to start a fault event monitoring process, to collect fault repair data generated by the fault handling user to repair the fault event information, and a fault repair result;
[0145] 审核账户信息推送模块, 用于将所述故障修复结果推送给所述故障处理用户对 应的审核账户;  [0145] an audit account information pushing module, configured to push the fault repair result to an audit account corresponding to the fault processing user;
[0146] 故障修复确认指令接收模块, 用于若接收到所审核账户返回的故障修复确认指 令, 则关闭所述故障事件监测流程。 。  [0146] The fault repair confirming instruction receiving module is configured to close the fault event monitoring process if receiving the fault repair confirming instruction returned by the audited account. .
[0147] 所述终端设备 7可以是桌上型计算机、 笔记本、 掌上电脑及云端服务器等计算 设备。 所述终端设备可包括, 但不仅限于, 处理器 70、 存储器 71。 本领域技术 人员可以理解, 图 7仅仅是终端设备 7的示例, 并不构成对终端设备 7的限定, 可 以包括比图示更多或更少的部件, 或者组合某些部件, 或者不同的部件, 例如 所述终端设备还可以包括输入输出设备、 网络接入设备、 总线等。 [0147] The terminal device 7 may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server. The terminal device may include, but is not limited to, a processor 70 and a memory 71. It will be understood by those skilled in the art that FIG. 7 is only an example of the terminal device 7, and does not constitute a limitation on the terminal device 7. To include more or less components than illustrated, or to combine certain components, or different components, for example, the terminal device may also include input and output devices, network access devices, buses, and the like.
[0148] 所称处理器 70可以是中央处理单元 (Central Processing Unit, CPU) , 还可以是其 他通用处理器、 数字信号处理器(Digital Signal Processor, DSP)、 专用集成电路 (Application Specific Integrated The processor 70 may be a central processing unit (CPU), or may be another general-purpose processor, a digital signal processor (DSP), or an application specific integrated circuit (Application Specific Integrated).
Circuit, ASIC)、 现成可编程门阵列 (Field-Programmable Gate Array, FPGA)或者 其他可编程逻辑器件、 分立门或者晶体管逻辑器件、 分立硬件组件等。 通用处 理器可以是微处理器或者该处理器也可以是任何常规的处理器等。  Circuit, ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc. The general purpose processor can be a microprocessor or the processor can be any conventional processor or the like.
[0149] 以上所述实施例仅用以说明本发明的技术方案, 而非对其限制; 尽管参照前述 实施例对本发明进行了详细的说明, 本领域的普通技术人员应当理解: 其依然 可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分技术特征进 行等同替换; 而这些修改或者替换, 并不使相应技术方案的本质脱离本发明各 实施例技术方案的精神和范围, 均应包含在本发明的保护范围之内。 The above described embodiments are merely illustrative of the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the foregoing embodiments are modified, or some of the technical features are equivalently replaced; and the modifications or substitutions do not deviate from the spirit and scope of the technical solutions of the embodiments of the present invention. It should be included in the scope of protection of the present invention.

Claims

权利要求书 Claim
[权利要求 1] 一种数据库故障的响应方法, 其特征在于, 包括:  [Claim 1] A method for responding to a database fault, comprising:
获取数据库的故障事件信息; 其中, 所述故障事件信息包含故障特征 参数以及与所述故障特征参数匹配的故障修复方案;  Obtaining fault event information of the database, where the fault event information includes a fault feature parameter and a fault repairing scheme that matches the fault feature parameter;
基于所述故障特征参数, 确定所述故障事件信息对应的故障处理用户 Determining a fault handling user corresponding to the fault event information based on the fault feature parameter
, 并将所述故障事件信息推送给所述故障处理用户; And pushing the fault event information to the fault handling user;
启动故障事件监测流程, 以采集所述故障处理用户修复所述故障事件 信息吋产生的故障修复数据以及故障修复结果; 将所述故障修复结果推送给所述故障处理用户对应的审核账户; 若接收到所审核账户返回的故障修复确认指令, 则关闭所述故障事件 监测流程。  The fault event monitoring process is started to collect the fault repair data generated by the fault handling user to repair the fault event information, and the fault repair result; and the fault repair result is pushed to the audit account corresponding to the fault processing user; The fault event monitoring process is closed when the fault repair confirmation command returned by the audited account is returned.
[权利要求 2] 根据权利要求 1所述的响应方法, 其特征在于, 所述数据库故障的响 应方法, 还包括:  [Claim 2] The response method according to claim 1, wherein the response method of the database failure further includes:
提取所述故障修复数据的修复特征参数, 并将所述修复特征参数与预 设的修复方案库进行匹配;  Extracting a repair feature parameter of the fault repair data, and matching the repair feature parameter with a preset repair plan library;
若所述修复特征参数在所述预设的修复方案库中不存在与之匹配的故 障修复方案, 则新建一个故障修复方案;  If the repair feature parameter does not have a fault repair solution matching the preset repair plan library, create a fault repair solution;
将所述修复特征参数导入至新建的所述故障修复方案, 并存储于所述 预设的修复方案库内。  And importing the repair feature parameter into the newly created fault repair solution, and storing the file in the preset repair plan library.
[权利要求 3] 根据权利要求 1所述的响应方法, 其特征在于, 所述启动故障事件监 测流程, 以采集所述故障处理用户修复所述故障事件信息吋产生的故 障修复数据以及故障修复结果, 包括:  [Claim 3] The response method according to claim 1, wherein the triggering a fault event monitoring process is configured to collect fault repair data and fault repair results generated by the fault processing user to repair the fault event information , including:
接收所述故障处理用户发起的修复资源请求指令, 基于所述修复资源 请求指令生成资源调度信息;  Receiving, by the fault processing user, a repair resource request instruction, and generating resource scheduling information based on the repair resource request instruction;
根据预设的资源管理责任列表, 确定所述修复资源请求指令对应的资 源管理账户, 推送所述资源调度信息至所述资源管理账户; 若接收到所述资源管理账户返回的调度确认指令, 则将所述修复资源 请求指令对应的修复资源的使用权限添加至所述故障处理用户的权限 参数中。 Determining, according to a preset resource management responsibility list, a resource management account corresponding to the repair resource request instruction, and pushing the resource scheduling information to the resource management account; if receiving a scheduling confirmation instruction returned by the resource management account, Adding the usage right of the repair resource corresponding to the repair resource request instruction to the permission of the fault processing user In the parameter.
[权利要求 4] 根据权利要求 1-3任一项所述的响应方法, 其特征在于, 所述获取数 据库的故障事件信息, 包括:  [Claim 4] The response method according to any one of claims 1-3, wherein the obtaining the fault event information of the database comprises:
若检测到所述数据库存在故障情况, 则获取所述故障情况的故障特征 参数;  If it is detected that the database has a fault condition, acquiring a fault feature parameter of the fault condition;
基于预设的故障修复方案确定算法, 确定与所述故障特征参数匹配的 所述故障修复方案;  Determining an algorithm based on a preset fault repair scheme to determine the fault repair scheme that matches the fault feature parameter;
根据所述故障修复方案以及所述故障特征参数, 生成所述故障事件信 息。  The fault event information is generated according to the fault repair scheme and the fault feature parameter.
[权利要求 5] 根据权利要求 2所述的响应方法, 其特征在于, 所述响应方法还包括  [Claim 5] The response method according to claim 2, wherein the response method further comprises
以预设的吋间间隔获取其他数据库的故障修复方案; 和 /或 以预设的吋间间隔接收所述数据库对应的服务器发送的故障修复方案 将所述故障修复方案添加至所述预设的修复方案库中。 Obtaining a fault repair scheme of another database at a preset time interval; and/or receiving a fault repair scheme sent by a server corresponding to the database at a preset time interval, adding the fault repair scheme to the preset Repair the solution library.
[权利要求 6] —种数据库故障的响应终端, 其特征在于, 包括: [Claim 6] A response terminal for database failure, comprising:
故障事件信息获取模块, 用于获取数据库的故障事件信息; 其中, 所 述故障事件信息包含故障特征参数以及与所述故障特征参数匹配的故 障修复方案;  The fault event information obtaining module is configured to acquire fault event information of the database, where the fault event information includes a fault feature parameter and a fault repairing scheme matching the fault feature parameter;
故障处理用户确定模块, 用于基于所述故障特征参数, 确定所述故障 事件信息对应的故障处理用户, 并将所述故障事件信息推送给所述故 障处理用户;  a fault processing user determining module, configured to determine, according to the fault characteristic parameter, a fault handling user corresponding to the fault event information, and push the fault event information to the fault processing user;
故障事件监测流程启动模块, 用于启动故障事件监测流程, 以采集所 述故障处理用户修复所述故障事件信息吋产生的故障修复数据以及故 障修复结果;  The fault event monitoring process startup module is configured to start a fault event monitoring process, to collect the fault repair data generated by the fault handling user to repair the fault event information, and the fault repair result;
审核账户信息推送模块, 用于将所述故障修复结果推送给所述故障处 理用户对应的审核账户;  An audit account information pushing module, configured to push the fault repair result to an audit account corresponding to the fault processing user;
故障修复确认指令接收模块, 用于若接收到所审核账户返回的故障修 复确认指令, 则关闭所述故障事件监测流程。 The fault repair confirmation command receiving module is configured to repair the fault returned by the audited account. If the instruction is confirmed, the fault event monitoring process is closed.
[权利要求 7] 根据权利要求 6所述的响应终端, 其特征在于, 所述数据库故障的响 应终端, 还包括: [Claim 7] The response terminal according to claim 6, wherein the response terminal of the database failure further includes:
修复特征参数匹配模块, 用于提取所述故障修复数据的修复特征参数 , 并将所述修复特征参数与预设的修复方案库进行匹配;  a repair feature matching module, configured to extract a repair feature parameter of the fault repair data, and match the repair feature parameter with a preset repair plan library;
故障修复方案新建模块, 用于若所述修复特征参数在所述预设的修复 方案库中不存在与之匹配的故障修复方案, 则新建一个故障修复方案  The fault repairing scheme is a new module, configured to create a fault repairing scheme if the repairing feature parameter does not have a fault repairing scheme matching the preset repairing scheme database.
故障修复方案学习模块, 用于将所述修复特征参数导入至新建的所述 故障修复方案, 并存储于所述预设的修复方案库内。 The fault repair solution learning module is configured to import the repair feature parameter into the newly created fault repair solution, and store the fault repair solution in the preset repair plan library.
[权利要求 8] 根据权利要求 6所述的响应终端, 其特征在于, 所述故障事件监测流 程启动模块, 包括: [Claim 8] The response terminal according to claim 6, wherein the fault event monitoring process starting module comprises:
修复资源请求指令接收模块, 用于接收所述故障处理用户发起的修复 资源请求指令, 基于所述修复资源请求指令生成资源调度信息; 修复资源申请模块, 用于根据预设的资源管理责任列表, 确定所述修 复资源请求指令对应的资源管理账户, 推送所述资源调度信息至所述 资源管理账户;  a repair resource request instruction receiving module, configured to receive a repair resource request instruction initiated by the fault processing user, generate resource scheduling information based on the repair resource request instruction, and a repair resource application module, configured to use the preset resource management responsibility list, Determining, by the resource management account corresponding to the repair resource request instruction, pushing the resource scheduling information to the resource management account;
修复资源权限添加模块, 用于若接收到所述资源管理账户返回的调度 确认指令, 则将所述修复资源请求指令对应的修复资源的使用权限添 加至所述故障处理用户的权限参数中。  And a repair resource permission adding module, configured to add the use permission of the repair resource corresponding to the repair resource request instruction to the permission parameter of the fault processing user, if receiving the scheduling confirmation instruction returned by the resource management account.
[权利要求 9] 根据权利要求 6-8任一项所述的响应终端, 其特征在于, 所述故障事 件信息获取模块, 包括: [Claim 9] The response terminal according to any one of claims 6-8, wherein the fault event information acquisition module comprises:
故障特征参数提取模块, 用于若检测到所述数据库存在故障情况, 则 获取所述故障情况的故障特征参数;  a fault feature parameter extraction module, configured to acquire a fault feature parameter of the fault condition if a fault condition of the database is detected;
故障修复方案确定模块, 用于基于预设的故障修复方案确定算法, 确 定与所述故障特征参数匹配的所述故障修复方案; 故障事件信息生成模块, 用于根据所述故障修复方案以及所述故障特 征参数, 生成所述故障事件信息。 a fault repairing solution determining module, configured to determine, according to a preset fault repairing scheme determining algorithm, the fault repairing scheme that matches the fault characteristic parameter, and a fault event information generating module, configured to be according to the fault repairing scheme and the The fault characteristic parameter generates the fault event information.
[权利要求 10] 根据权利要求 7所述的响应终端, 其特征在于, 所述数据库故障的响 应终端还包括: [Claim 10] The response terminal according to claim 7, wherein the response terminal of the database failure further comprises:
第一修复方案获取模块, 用于以预设的吋间间隔获取其他数据库的故 障修复方案; 和 /或  a first repair solution acquisition module, configured to acquire a fault repair solution of another database at a preset time interval; and/or
第二修复方案获取模块, 用于以预设的吋间间隔接收所述数据库对应 的服务器发送的故障修复方案;  a second repairing solution acquiring module, configured to receive, by using a preset inter-time interval, a fault repairing scheme sent by a server corresponding to the database;
故障修复方案库添加模块, 用于将所述故障修复方案添加至所述预设 的修复方案库中。  The fault repair solution library adding module is configured to add the fault repair solution to the preset repair plan library.
[权利要求 11] 一种终端设备, 包括存储器、 处理器以及存储在所述存储器中并可在 所述处理器上运行的计算机程序, 其特征在于, 所述处理器执行所述 计算机程序吋实现如权利要求 1至 5任一项所述方法的步骤。  [Claim 11] A terminal device comprising a memory, a processor, and a computer program stored in the memory and operable on the processor, wherein the processor executes the computer program The steps of the method of any of claims 1 to 5.
[权利要求 12] 一种计算机可读存储介质, 所述计算机可读存储介质存储有计算机程 序, 其特征在于, 所述计算机程序被处理器执行吋实现如权利要求 1 至 5任一项所述方法的步骤。  [Claim 12] A computer readable storage medium storing a computer program, wherein the computer program is executed by a processor, implementing the method of any one of claims 1 to 5 The steps of the method.
PCT/CN2017/100750 2017-09-06 2017-09-06 Method and terminal for responding to database fault WO2019047071A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780000980.7A CN110063042B (en) 2017-09-06 2017-09-06 Database fault response method and terminal thereof
PCT/CN2017/100750 WO2019047071A1 (en) 2017-09-06 2017-09-06 Method and terminal for responding to database fault

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 (1)

Publication Number Publication Date
WO2019047071A1 true WO2019047071A1 (en) 2019-03-14

Family

ID=65633618

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/100750 WO2019047071A1 (en) 2017-09-06 2017-09-06 Method and terminal for responding to database fault

Country Status (2)

Country Link
CN (1) CN110063042B (en)
WO (1) WO2019047071A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
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
CN113741998A (en) * 2021-08-16 2021-12-03 国网河北省电力有限公司检修分公司 Data processing system and method of relay protection device with multiple plug-ins
CN115423129A (en) * 2022-09-03 2022-12-02 太原市海通自动化技术有限公司 Equipment fault defect management system

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113886132B (en) * 2021-12-07 2022-04-08 深圳市明源云科技有限公司 Intelligent web-side error repairing method and device and computer-readable storage medium
CN117035747B (en) * 2023-10-09 2024-02-02 国网山东省电力公司博兴县供电公司 Multi-system fault diagnosis processing method, system, equipment and medium for machine room

Citations (6)

* Cited by examiner, † Cited by third party
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
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

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002334166A (en) * 2001-05-08 2002-11-22 Hitachi Ltd Repair/maintenance support system and vehicle adaptive to the system
CN104202179A (en) * 2014-08-18 2014-12-10 中国建设银行股份有限公司 Fault management system of self-service equipment and background server
CN104795896B (en) * 2015-04-17 2017-11-17 国家电网公司 A kind of automatic point-to-point note Notification Method of client's outage information
CN106774078A (en) * 2016-12-29 2017-05-31 深圳市捷顺科技实业股份有限公司 A kind of parking lot intelligent management, equipment and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
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
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

Cited By (4)

* Cited by examiner, † Cited by third party
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
CN113741998A (en) * 2021-08-16 2021-12-03 国网河北省电力有限公司检修分公司 Data processing system and method of relay protection device with multiple plug-ins
CN113741998B (en) * 2021-08-16 2023-10-20 国网河北省电力有限公司检修分公司 Data processing system and method of relay protection device with multiple plug-ins
CN115423129A (en) * 2022-09-03 2022-12-02 太原市海通自动化技术有限公司 Equipment fault defect management system

Also Published As

Publication number Publication date
CN110063042B (en) 2022-12-16
CN110063042A (en) 2019-07-26

Similar Documents

Publication Publication Date Title
US11733991B2 (en) Data processing method based on intelligent contract, device, and storage medium
WO2019047071A1 (en) Method and terminal for responding to database fault
CN108234170B (en) Monitoring method and device for server cluster
WO2019047070A1 (en) Database maintenance method and system
CN104252500B (en) The fault repairing method and device of a kind of database management platform
CN110825420B (en) Method, device, equipment and storage medium for updating configuration parameters of distributed cluster
CN110046073B (en) Log collection method and device, equipment and storage medium
US11706080B2 (en) Providing dynamic serviceability for software-defined data centers
WO2020000676A1 (en) Database automatic alarming method and apparatus, terminal device, and readable storage medium
WO2019047072A1 (en) Database detection method and terminal
WO2016169166A1 (en) Virtual machine scheduling method and device
CN110597918A (en) Account management method and device and computer readable storage medium
CN111767173A (en) Network equipment data processing method and device, computer equipment and storage medium
CN111782345A (en) Container cloud platform log collection and analysis alarm method
WO2021164179A1 (en) Data monitoring method and apparatus
CN108833451B (en) Domestic safety control platform-based multistage control system and control method
CN113312656B (en) Data rotation method, device, equipment and system
CN115766405B (en) Fault processing method, device, equipment and storage medium
CN106940647B (en) Code management method and device
WO2019056545A1 (en) Test machine automation management method and apparatus, device, and storage medium
Carlini et al. A new approach for sending dispatching orders using protocol IEC 60870-5-104
CN113553243A (en) Remote error detection method
CN110764974A (en) Monitoring method, monitoring device and storage medium
TWI717457B (en) Environmental isolation method and equipment
CN112787864B (en) Grouping configuration method and device of power internet of things

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17924429

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 21/09/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17924429

Country of ref document: EP

Kind code of ref document: A1