Data rollback method, electronic device, storage medium
A technology for data rollback and electronic equipment, applied in the field of data management, can solve the problems of long data consumption, large data storage growth, and inability to save, etc., to achieve the effect of fast and convenient rollback processing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] figure 1 shows a flow chart of a data rollback method according to Embodiment 1 of the present invention, as figure 1 As shown, the data rollback method specifically includes the following steps:
[0028] Step S101, obtaining the name of the data tree selected by the user fed back by the front-end page, searching for and displaying each node included in the data tree.
[0029] In this embodiment, there is an upper-lower relationship among the data, and the data is stored in the first database in a tree structure. The first database is a tree-structure database, and the zookeeper database is used as an example for illustration, but not limited to the zookeeper database.
[0030] When the user needs to view the data, the name of the data tree selected by the user on the front-end page is obtained first, and each node contained in it is searched according to the name of the data tree. The name of the data tree can use the root node of the data as the name of the data tr...
Embodiment 2
[0045] figure 2 shows a flow chart of a data rollback method according to Embodiment 2 of the present invention, as figure 2 As shown, the data rollback method includes the following steps:
[0046] Step S201, obtaining the name of the data tree selected by the user fed back by the front-end page, searching for and displaying each node included in the data tree.
[0047] This step refers to figure 1 The description of step S101 in the embodiment will not be repeated here.
[0048] Step S202, receiving a user-triggered click operation on any node, searching and displaying the data information of the node from the second database.
[0049] When the user needs to find the detailed data information of any node, the data information of the node can be obtained when a user-triggered click operation on any node is received, and the data information of the node can be fed back on the front-end page. Since the data information of each node is stored in a tree structure in the fir...
Embodiment 3
[0068] Embodiment 3 of the present application provides a non-volatile computer storage medium. The computer storage medium stores at least one executable instruction, and the computer executable instruction can execute the data rollback method in any of the above method embodiments.
[0069] Specifically, the executable instruction can be used to make the processor perform the following operations:
[0070] Obtain the name of the data tree selected by the user for feedback on the front-end page, find and display each node contained in the data tree; receive the query operation triggered by the user on the operation history information of any node, query and display the data tree from the second database The operation history information of the node; wherein, the second database is a relational database, and the data in the second database has a mapping relationship with the data in the first database; according to the rollback operation of any operation history information tri...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com