Quick backup and recovery system for user database of SAAS website building system

By introducing message queues, encryption algorithms, and real-time communication modules into the SaaS website building system, the problem of unmonitored user data backup was solved, achieving stability and security in the fast backup and restore process, and improving user experience and system responsiveness.

CN122285387APending Publication Date: 2026-06-26SHANDONG CTRL CLOUD COMPUTING CO LTD +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHANDONG CTRL CLOUD COMPUTING CO LTD
Filing Date
2026-04-10
Publication Date
2026-06-26

AI Technical Summary

Technical Problem

Existing SaaS website building systems cannot effectively monitor user data backup status, resulting in users needing to back up frequently without being able to monitor progress in real time, and problems that may occur during the backup process cannot be detected in a timely manner.

Method used

It employs a message queue module, encryption algorithm, real-time communication module, and anomaly detection module. It uses RabbitMQ or Redis technology to maintain data integrity, utilizes WebSocket to update the status in real time, and generates hash values ​​through encryption algorithms to verify data consistency. The anomaly detection module notifies the administrator in real time.

Benefits of technology

It enables rapid backup and restore of user databases, improves system responsiveness and processing capabilities, ensures the stability and security of backup and restore processes, and enhances user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122285387A_ABST
    Figure CN122285387A_ABST
Patent Text Reader

Abstract

This invention relates to the field of database backup and recovery technology, and more particularly to a rapid backup and recovery system for user databases in SaaS website building systems. The system includes a message queue module for maintaining data integrity; an encryption algorithm for generating hash values ​​to verify data integrity; a real-time communication module for updating the data backup status in real time; and an anomaly detection module for detecting and troubleshooting problems in the system. By combining the message queue module with the real-time communication module, this invention effectively improves the efficiency of the user backup and recovery process, enabling real-time monitoring during backup and recovery. Furthermore, the encryption algorithm, by generating hash values, ensures database consistency, which helps prevent errors that may occur during data recovery. Additionally, the encryption algorithm enhances system security, ensuring database security and mitigating potential security risks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of database backup and recovery technology, and in particular to a fast backup and recovery system for user databases of SaaS website building systems. Background Technology

[0002] Data backup refers to the process of copying all or part of a data set from the application host's hard drive or array to other storage media to prevent data loss due to operational errors or system failures. Data backup is the foundation of disaster recovery, protecting data security and improving its continuous availability. Existing SaaS website building systems typically automatically create a separate database for each user, with users creating relatively independent data fields. This method cannot predict the user's data status, leading to frequent data backups and the inability to monitor problems or progress during the backup process.

[0003] Therefore, it is necessary to propose a technology to improve the above-mentioned defects. Summary of the Invention

[0004] In view of the above-mentioned shortcomings and defects of data backup and restoration in the existing technology, the present invention provides a fast backup and recovery system for user databases of SAAS website building system, which realizes efficient backup and restoration processes, monitors the progress of backup and restoration in real time, and improves the responsiveness and processing capabilities of the system.

[0005] To achieve the above objectives, this invention provides a rapid backup and recovery system for user databases of SaaS website building systems, comprising: The message queue module is used to ensure the integrity of the data. An encryption algorithm, used to generate hash values ​​and verify data integrity; A real-time communication module is used to update the data backup status in real time. An anomaly detection module is used to detect and troubleshoot problems in the system.

[0006] As a preferred technical solution, the message queue module is communicatively connected to the encryption algorithm, and the real-time communication module is communicatively connected to the message queue module, the encryption algorithm, and the anomaly detection module.

[0007] As a preferred technical solution, the message queue module is used in conjunction with the real-time communication module, and the real-time communication module adopts WebSocket real-time communication technology.

[0008] As a preferred technical solution, the message queue module uses either RabbitMQ or Redis technology.

[0009] As a preferred technical solution, the backup process includes the following steps: Step 1: After a user submits a backup or restore request, the request is pushed to the message queue module, which works in conjunction with the real-time communication module. Step 2: During the data backup process, the encryption algorithm generates a hash value for the backup file to verify the integrity of the backup file, and saves the backup file and the hash value at the same time. Step 3: The anomaly detection module detects problems in the backup process in real time. If an anomaly is detected, it notifies the administrator via WebSocket.

[0010] As a preferred technical solution, the steps include: The restoration process includes the following steps: Step 1: When a user initiates a restore request, the encryption algorithm calculates the hash value of the backup file and compares it with the original stored hash value; Step 2: After the comparison results in Step 1 are consistent, the system executes the restoration process and notifies the user through the real-time communication module.

[0011] As described above, the fast backup and recovery system for the user database of the SAAS website building system provided by this invention has the following beneficial effects: (1) By setting up a message queue module, a real-time communication module and an anomaly detection module, this invention improves the system backup and restore effect and effectively detects the backup and restore process, which is conducive to improving the user experience and making it easy for users to monitor the progress at any time. The anomaly detection module can detect problems in the system in a timely manner and report them to the administrator, thereby improving the system stability and the ability to handle sudden problems.

[0012] (2) In addition, the present invention sets up an encryption algorithm to generate a hash value. During the backup and restore process, the hash value is compared to ensure the consistency of the database during the backup and restore process, reduce the generation of errors, and ensure the stability of the restore process. Attached Figure Description

[0013] Figure 1 The diagram shown is a schematic representation of the system flow of the present invention. Figure 2 The diagram shown is a flowchart illustrating the operation of an embodiment of the present invention.

[0014] 1. Message queue module; 2. Exception handling module; 3. Real-time communication module; 4. Encryption algorithm. Detailed Implementation

[0015] The following specific examples illustrate the implementation of the present invention. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention.

[0016] It should be noted that the illustrations provided in this embodiment are only schematic representations of the basic concept of the present invention. Although the illustrations only show components related to the present invention and are not drawn according to the actual number, shape and size of the components, the shape, quantity, positional relationship and proportion of each component can be arbitrarily changed under the premise of realizing the technical solution of this invention, and the layout of the components may also be more complex.

[0017] Example 1 This embodiment provides a fast backup and recovery system for the user database of a SaaS website building system. Refer to the appendix... Figure 1 It includes a message queue module 1, an encryption algorithm 4, a real-time communication module 3, and an anomaly detection module 2. The message queue module 1 uses either RabbitMQ technology or Redis technology. Preferably, in this embodiment, the message queue module 1 uses RabbitMQ technology to maintain data integrity. The encryption algorithm 4 is used to generate hash values. The real-time communication module 3 uses WebSocket real-time communication technology to update the data backup status in real time. The anomaly detection module 2 is used to detect and troubleshoot problems in the system.

[0018] Please refer to the appendix. Figure 2 When a user initiates a backup request, the request is processed through RabbitMQ technology in message queue module 1 to generate a message queue, which is then assigned to different user IDs. The message queues are processed in groups to generate backup files, and different hash values ​​are generated using encryption algorithm 4. Meanwhile, real-time communication module 3 updates the data backup progress in real time and displays the backup status to the user, thus monitoring the data backup status in real time. When a user initiates a data restore request, the request is written to message queue module 1 via RabbitMQ technology. Encryption algorithm 4 in the system calculates and compares the hash value of the backup file. If the comparison result matches the stored hash value, the system executes the restore request for the backup file. Furthermore, real-time communication module 3 monitors the data restore status in real time and displays it to the user; if the compared hash values ​​are inconsistent, the restore process cannot be completed, and this is displayed to the user through the real-time monitoring module.

[0019] Please refer to the appendix. Figure 1When this system is in use, the exception handling module 2 checks the program operation during the backup and restore process. If an error occurs, the exception handling module 2 generates an error report and notifies the administrator so that the error can be resolved in a timely manner.

[0020] Example 2 The system in this embodiment has the same structure as the system in Embodiment 1, except that the message queue module in this embodiment uses Redis technology.

[0021] In summary, this invention, by setting up a message queue module and combining it with a real-time communication module, can effectively improve the efficiency of the user's backup and restore process. It can obtain real-time monitoring during the backup and restore process, thereby improving the user experience. In addition, the encryption algorithm, by generating hash values, can ensure the consistency of the database, which helps prevent errors that may occur during data restoration. Furthermore, the encryption algorithm can also improve the system's security performance, ensure the security of the database, and prevent potential security risks.

[0022] The above embodiments are merely illustrative of the principles and effects of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by those skilled in the art without departing from the spirit and technical concept disclosed in the present invention should still be covered by the claims of the present invention.

Claims

1. A quick backup and recovery system for a user database of a SAAS website building system, characterized in that, Comprising a message queue module for maintaining data integrity; an encryption algorithm for generating a hash value to verify data integrity; a real-time communication module for updating data backup status in real time; an anomaly detection module for detecting problems in the system.

2. The quick backup recovery system of SAAS website building system user database according to claim 1, characterized in that, The message queue module is communicatively connected to the encryption algorithm, and the real-time communication module is communicatively connected to the message queue module, the encryption algorithm, and the anomaly detection module.

3. The quick backup recovery system of SAAS website building system user database according to claim 1, characterized in that, The message queue module is used in conjunction with the real-time communication module, and the real-time communication module uses WebSocket real-time communication technology.

4. The quick backup recovery system of SAAS website building system user database according to claim 1, characterized in that, The message queue module uses one of RabbitMQ technology or Redis technology.

5. The quick backup recovery system of SAAS website building system user database according to claim 1, characterized in that, The backup process includes the following steps: Step 1: After the user submits a backup or restore request, the request is pushed to the message queue module, which cooperates with the real-time communication module; Step 2: During the data backup process, the encryption algorithm generates a hash value for the backup file to verify its integrity, and saves the backup file and hash value simultaneously; Step 3: The anomaly detection module detects problems in the backup process in real time, and notifies the administrator through WebSocket if there is an anomaly.

6. The quick backup recovery system of SAAS website building system user database according to claim 1, characterized in that, The restore process includes the following steps: Step 1: When the user initiates a restore request, the encryption algorithm calculates the hash value of the backup file and compares it with the original stored hash value; Step 2: After the comparison result in step 1 is consistent, the system performs the restore process and notifies the user through the real-time communication module.