Method and device for outputting information

A technology for outputting information and synchronizing state information, applied in the computer field, can solve problems such as misjudgment and difficulty in applying application scenarios, and achieve the effect of improving accuracy

Active Publication Date: 2022-02-18
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although it is more accurate to judge in a way similar to semantic monitoring, it is easy to misjudge as abnormal when the database pressure is high.
These two judgment methods are relatively simple, but it is difficult to apply to actual complex application scenarios

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for outputting information
  • Method and device for outputting information
  • Method and device for outputting information

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0035] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0036] figure 1 An exemplary system architecture 100 is shown to which embodiments of the method for outputting information or the apparatus for outputting information of the present application can be applied.

[0037] Such as figure 1 As shown, the system architecture 10...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the present application discloses a method and a device for outputting information. A specific embodiment of the method includes: in response to receiving a request for detecting the database, connecting to the database; in response to detecting that the connection with the database is normal, performing a write operation of the heartbeat table on the database; in response to detecting that the write operation of the heartbeat table is abnormal , the read operation of the heartbeat table is performed on the database; in response to detecting that the read operation of the heartbeat table is normal, the write operation of the file to the hard disk is performed on the database; The first message of the cause. This embodiment improves the accuracy of database failure detection.

Description

technical field [0001] The embodiments of the present application relate to the field of computer technologies, and in particular to methods and devices for outputting information. Background technique [0002] Relational databases generally use the cluster mode of master-slave architecture to provide storage services. Since all business write requests are sent to the main database, once the main database fails, it will affect the recovery target time of the service and directly cause losses to the business. As a prerequisite for high service availability, fault awareness needs to meet diverse and complex actual environments. It is prone to misjudgments and missed judgments, which will affect the service recovery target time. Therefore, the main database faults can be detected quickly and accurately automatically necessary. [0003] The traditional way of judging the survival of the master database is as follows: (1) Judging whether the database is alive or not through the...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & AuthorityPatents(China)
IPC IPC(8): G06F11/263
CPCG06F11/2635G06F11/0772G06F11/079G06F11/0757G06F11/076G06F11/0727G06F11/0751
Inventor曾国伟
OwnerBEIJING BAIDU NETCOM SCI & TECH CO LTD