DISTRIBUTED CONSENSUS PROTOCOL-BASED DATA READING METHOD AND APPARATUS

Disclosed are a distributed consensus protocol-based data reading method and apparatus, a computing device, and a computer storage medium. The method comprises: selecting one node from multiple nodes as a master node, setting a lease time of the master node, and broadcasting node information of the...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: CHEN, Zongzhi
Format: Patent
Sprache:chi ; eng ; fre
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:Disclosed are a distributed consensus protocol-based data reading method and apparatus, a computing device, and a computer storage medium. The method comprises: selecting one node from multiple nodes as a master node, setting a lease time of the master node, and broadcasting node information of the node to other nodes; when any node receives a data reading request sent by a client, comparing node information of the node per se with the node information of the master node to determine whether the node is the master node; and if the node is not the master node, forwarding the data reading request to the master node, so as to return data stored in the master node to the client. La présente invention concerne un procédé et un appareil de lecture de données à base de protocole de consensus distribué, un dispositif informatique, et un support de stockage d'ordinateur. Le procédé comprend : la sélection d'un nœud à partir de multiples nœuds en tant que nœud maître, le réglage d'un temps de location du nœud maître, e