Consensus service interface for distributed time sequence database

The invention provides a consensus service interface for a distributed time sequence database. The consensus service interface mainly comprises a creation interface, a consensus group addition and deletion interface and a read-write interface, wherein the creation interface is used for accessing a c...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: SONG SHAOXU, QIAO JIALIN, TAN XINYU, ZHANG JINRUI, WANG JIANMIN, TIAN YUAN, HUANG XIANGDONG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention provides a consensus service interface for a distributed time sequence database. The consensus service interface mainly comprises a creation interface, a consensus group addition and deletion interface and a read-write interface, wherein the creation interface is used for accessing a consensus algorithm specified by an upper layer; the addition and deletion consensus group interface is used for creating/deleting a consensus group for managing user data, and the read-write interface is used for writing/reading the user data into/out of the corresponding consensus group through a consensus algorithm. The consensus service interface is unified externally and supports implementation of different consensus algorithms, and a more matched consensus scheme can be provided for application scenes with different consistency requirements. 本发明提供一种用于分布式时序数据库的共识服务接口,主要包括创建接口、增删共识组接口和读写接口;其中,创建接口用于接入上层指定的共识算法;增删共识组接口用于创建/删除管理用户数据的共识组,读写接口用于通过共识算法将用户数据写入/读出对应的共识组。本发明共识服务接口对外统一且支持不同共识算法实现,可以为不同一致性需求的应用场景提供更契合的共识方