The embodiment of the invention provides a data persistence method and device, equipment, a medium and a product, and relates to the technical field of
data processing.The method comprises the steps that through a
state management library of a data persistence
system, an application program is initialized to obtain initial configuration data; in response to user operation, triggering a corresponding
business process and modifying related data to obtain modified data and a modified state, after the state of the application program is converted into the modified state from the initialized state, screening out a specific state field or module data needing to be encrypted and persistent, and storing the specific state field or module data in a local storage medium after
encryption processing. The problem that in the prior art,
dynamic data of the application program are only stored in a memory and are prone to being lost after being refreshed or restarted is solved, a user does not need to acquire or process related information again, meanwhile, data safety is guaranteed through
encryption processing, and the effect that the application program is rapidly recovered to the modified state after being refreshed or restarted is achieved.