Invention Grant
- Patent Title: Method and apparatus for outputting information
-
Application No.: US16505296Application Date: 2019-07-08
-
Publication No.: US11269705B2Publication Date: 2022-03-08
- Inventor: Guowei Zeng
- Applicant: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD.
- Applicant Address: CN Beijing
- Assignee: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD.
- Current Assignee: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD.
- Current Assignee Address: CN Beijing
- Agency: Seed IP Law Group LLP
- Priority: CN201811123463.1 20180926
- Main IPC: G06F11/00
- IPC: G06F11/00 ; G06F11/07

Abstract:
Embodiments of the present disclosure disclose a method and apparatus for outputting information. A specific embodiment of the method comprises: connecting a database, in response to receiving a request for detecting the database; performing a write operation on a heartbeat table in the database, in response to detecting the connection with the database being normal; performing a read operation on the heartbeat table in the database, in response to detecting the write operation for the heartbeat table being abnormal; performing on the database an operation of writing a file to a hard disk, in response to detecting the read operation on the heartbeat table being normal; and outputting first information for representing a cause of a database failure, in response to detecting the operation of writing the file to the hard disk being abnormal. This embodiment improves the accuracy of the detection on the database failure.
Public/Granted literature
- US20200097355A1 METHOD AND APPARATUS FOR OUTPUTTING INFORMATION Public/Granted day:2020-03-26
Information query