US 12,282,396 B2
Method for apparatus for recovering data of dual-machine hot standby system, and medium
Chengyang Guo, Jiangsu (CN); and Dongdong Yan, Jiangsu (CN)
Assigned to SUZHOU METABRAIN INTELLIGENT TECHNOLOGY CO., LTD., Jiangsu (CN)
Appl. No. 18/724,109
Filed by SUZHOU METABRAIN INTELLIGENT TECHNOLOGY CO., LTD., Jiangsu (CN)
PCT Filed Dec. 26, 2022, PCT No. PCT/CN2022/142091
§ 371(c)(1), (2) Date Jun. 25, 2024,
PCT Pub. No. WO2023/240995, PCT Pub. Date Dec. 21, 2023.
Claims priority of application No. 202210671110.5 (CN), filed on Jun. 15, 2022.
Prior Publication US 2024/0419559 A1, Dec. 19, 2024
Int. Cl. G06F 11/14 (2006.01)
CPC G06F 11/1469 (2013.01) [G06F 2201/80 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method for recovering data of a dual-machine hot standby system, comprising:
acquiring start-stop operation record files, database backup record files, and Application Programming Interface (API) calling information files, which correspond to two nodes of a dual-machine hot standby system;
determining a main service running time period of a current node according to the start-stop operation record files, and determining a start-stop time period of an opposite end node according to the main service running time period;
when the start-stop time period is in the main service running time period, determining an initial split-brain time according to a relationship between the start-stop time period and the main service running time period; and
reading record information of the database backup record files within the initial split-brain time to determine a final split-brain time, and reading the API calling information files according to the final split-brain time, so as to recover data.