A method, system, apparatus, and storage medium for implementing a replicating state machine.

By dividing the replication state machine into sub-modules and utilizing interfaces and events for interaction, the problem of high complexity in large-scale distributed storage systems is solved, achieving simplified design and improved maintainability and scalability.

CN116541216BActive Publication Date: 2026-07-17INSPUR SUZHOU INTELLIGENT TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
INSPUR SUZHOU INTELLIGENT TECH CO LTD
Filing Date
2023-05-25
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

In large-scale distributed storage systems, the design and implementation of replication state machines are highly complex and costly to maintain, making it difficult to meet the system's availability and scalability requirements.

Method used

The replicated state machine is divided into several sub-modules according to business logic, providing read interfaces, write interfaces, and registration change callback interfaces. The module-level state machine interacts through basic events and derived events, simplifying business logic design and coding implementation.

Benefits of technology

It reduces complexity and maintenance costs, improves system maintainability and scalability, and provides a simple, efficient, and reliable solution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116541216B_ABST
    Figure CN116541216B_ABST
Patent Text Reader

Abstract

This invention provides a method, system, device, and storage medium for implementing a replicated state machine. The method includes: encapsulating each cluster state and providing a read interface, a write interface, and a registration change callback interface; dividing the replicated state machine to be implemented into multiple sub-modules according to business logic, and assigning each sub-module to a module-level state machine; operating the module-level state machine using basic events based on the read and write interfaces; and interacting with the states of multiple module-level state machines through the registration change callback interface in response to cluster state changes. This invention significantly reduces the design and coding difficulty of replicated state machines by abstracting the actions in the replicated state machine into several simple logics, such as reading and writing cluster state, cluster state changes, and module-level state machine operation. This design makes the implementation of the replicated state machine more efficient and flexible, and better adaptable to the needs of various business systems.
Need to check novelty before this filing date? Find Prior Art