An exception handling framework: State Machine framework (Chinese)


The patent number is CN110309017A. I obtained this patent for State Machine framework during my working at WeBank. The framework’s value lay in its ability to support distributed transactions, like the Saga pattern - automatically reverse transactions on abnormal occasions so it can reduce our problem-solving costs. In the past, under business error scenarios, it took two to three days to restore user data. However, now, since the framework can handle abnormal occasions itself, no human interference is needed anymore, making the job for developers a lot easier. As a result, our department regarded it as a development paragon, and we required all the major systems to adopt this framework.

China National Intellectual Property Administration