US 12,229,025 B2
Data storage method and device
Xiaojie Li, Shanghai (CN)
Assigned to SHENZHEN YINWANG INTELLIGENT TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed by Shenzhen Yinwang Intelligent Technologies Co., Ltd., Shenzhen (CN)
Filed on Mar. 27, 2023, as Appl. No. 18/190,323.
Application 18/190,323 is a continuation of application No. PCT/CN2020/118086, filed on Sep. 27, 2020.
Prior Publication US 2023/0229571 A1, Jul. 20, 2023
Int. Cl. G06F 11/00 (2006.01); G06F 11/07 (2006.01); G06F 11/16 (2006.01)
CPC G06F 11/1658 (2013.01) [G06F 11/0772 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A data storage method implemented by a first node device, wherein the data storage method comprises:
receiving, from a first application, a first request using a first process running on the first node device;
writing, in response to the first request and based on a first database engine on the first process, first data to a first storage on the first node device using the first process;
sending, after the first data has been written to the first storage, the first request to a second node device using the first process to instruct the second node device to respond to the first request and to write, based on a second database engine on a second process of the second node device, the first data to a second storage on the second node device using the second process;
receiving, from the second node device within a preset duration, a first response message using the first process, wherein the first response message indicates that the first data has been written to the second storage; and
sending, to the first application after receiving the first response message, a second response message using the first process,
wherein the second response message indicates that both the first data has been written to the first storage and that the first data has been written to the second storage.