CN110781170A - Historical data protection method and device based on AOP - Google Patents

Historical data protection method and device based on AOP Download PDF

Info

Publication number
CN110781170A
CN110781170A CN201911034407.5A CN201911034407A CN110781170A CN 110781170 A CN110781170 A CN 110781170A CN 201911034407 A CN201911034407 A CN 201911034407A CN 110781170 A CN110781170 A CN 110781170A
Authority
CN
China
Prior art keywords
request
historical data
deletion
target
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911034407.5A
Other languages
Chinese (zh)
Other versions
CN110781170B (en
Inventor
滕大正
范渊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Dbappsecurity Technology Co Ltd
Original Assignee
Hangzhou Dbappsecurity Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Dbappsecurity Technology Co Ltd filed Critical Hangzhou Dbappsecurity Technology Co Ltd
Priority to CN201911034407.5A priority Critical patent/CN110781170B/en
Publication of CN110781170A publication Critical patent/CN110781170A/en
Application granted granted Critical
Publication of CN110781170B publication Critical patent/CN110781170B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2379Updates performed during online database operations; commit processing

Abstract

The invention provides a historical data protection method and a device based on AOP, which relate to the technical field of computer data security and are characterized in that a modification request is received firstly, and the modification request comprises at least one deletion request; selecting a deletion request according to a preset execution sequence, and taking a deletion operation corresponding to the selected deletion request as a target method; determining an object to be operated based on the parameters in the target method; performing pre-enhancement on the target method; marking the object as historical data using pre-emphasis; deleting the object by using a preposed enhanced target method; finally, post-enhancing the target method; and intercepting the deletion operation by utilizing a post-enhanced target method, and canceling the deletion operation, thereby realizing the protection of the historical data. The invention can perform pre-enhancement and post-enhancement on the target method based on the AOP, then intercept the deletion operation by using the target method, and cancel the deletion operation, thereby conveniently and quickly protecting the historical data.

Description

Historical data protection method and device based on AOP
Technical Field
The invention relates to the technical field of computer data security, in particular to a historical data protection method and device based on AOP.
Background
In a large number of business scenarios, data in the server database needs to be modified or deleted. Once deleted, the data will no longer be valid in the service system. But protect the historical data and enable the user to recover or query the data, which has great significance for troubleshooting, tracing or recovering past states of the system.
The existing historical data protection method divides the historical data into two parts, takes the year as a period, and respectively stores the two parts in a cloud disk and a local disk to protect the historical data, and has the defects of long period, large protection granularity and lack of technical content. The implementation mode of the mark deletion is not considered and described specifically, and a system which does not have a historical data protection function originally is required to be modified in actual engineering, so that the traditional method cannot protect the historical data quickly, conveniently and without omission.
Disclosure of Invention
The invention aims to provide a historical data protection method and device based on AOP (Aspect Oriented Programming), which can quickly and conveniently protect historical data without missing.
The invention provides a historical data protection method based on AOP, which comprises the following steps: receiving a modification request; wherein the modification request comprises at least one deletion request; selecting one deletion request according to a preset execution sequence, and taking a deletion operation corresponding to the selected deletion request as a target method; determining an object to be operated based on the parameters in the target method; pre-enhancing the target method; tagging the object as historical data with pre-emphasis; deleting the object by using a preposed enhanced target method; post-enhancing the target method; intercepting the deletion operation by utilizing a post-enhanced target method, and canceling the deletion operation to realize the protection of the historical data.
Further, the modification request comprises an update request; after the object is deleted by the pre-enhanced target method, the method further comprises the following steps: generating update data corresponding to the update request based on the update request; updating the object using the update data.
Further, the modification request comprises a query request; the method further comprises the following steps: and searching target historical data corresponding to the query request from a preset historical database based on the query request and a preset filtering condition.
Further, the modification request comprises a recovery request; the method further comprises the following steps: and recovering the target historical data based on the attribute of the target historical data.
The invention provides a historical data protection device based on AOP, which comprises: a receiving module, configured to receive a modification request; wherein the modification request comprises at least one deletion request; the selection module is used for selecting one deletion request according to a preset execution sequence and taking the deletion operation corresponding to the selected deletion request as a target method; the determining module is used for determining an object to be operated based on the parameters in the target method; the prepositive enhancement module is used for carrying out prepositive enhancement on the target method; a tagging module for tagging the object as historical data using pre-emphasis; the deleting module is used for deleting the object by utilizing a preposed enhanced target method; the post-enhancement module is used for performing post-enhancement on the target method; and the interception cancellation module is used for intercepting the deletion operation by utilizing a post-enhanced target method and canceling the deletion operation so as to protect the historical data.
Further, the modification request comprises an update request; the device further comprises: an obtaining module, configured to generate, based on the update request, update data corresponding to the update request; and the updating module is used for updating the object by utilizing the updating data.
Further, the modification request comprises a query request; the device further comprises: and the searching module is used for searching the target historical data corresponding to the query request from a preset historical database based on the query request and a preset filtering condition.
Further, the modification request comprises a recovery request; the device further comprises: and the recovery module is used for recovering the target historical data based on the attribute of the target historical data.
The invention also provides an electronic device, which comprises a memory and a processor, wherein the memory stores a computer program which can run on the processor, and the processor implements the AOP-based historical data protection method when executing the computer program.
The present invention also provides a computer readable medium having non-volatile program code executable by a processor, wherein the program code causes the processor to execute the AOP-based historical data protection method.
The invention provides a historical data protection method and device based on AOP, which comprises the steps of firstly receiving a modification request of a user, wherein the modification request comprises at least one deletion request; selecting a deletion request according to a preset execution sequence, and taking a deletion operation corresponding to the selected deletion request as a target method; determining an object to be operated based on the parameters in the target method; performing pre-enhancement on the target method; marking the object as historical data using pre-emphasis; deleting the object by using a preposed enhanced target method; finally, post-enhancing the target method; and intercepting the deletion operation by utilizing a post-enhanced target method, and canceling the deletion operation, thereby realizing the protection of the historical data. The invention can realize the setting of the target method by pre-enhancing and post-enhancing the target method based on the AOP, then intercept the deletion operation by the target method and cancel the deletion operation, thereby conveniently and rapidly protecting the historical data. Particularly for a system which originally does not have a historical data protection function, the invention can realize the protection of the historical data in the system only based on AOP without modifying the system.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flowchart of a method for protecting historical data based on AOP according to an embodiment of the present invention;
FIG. 2 is a flowchart of another AOP-based historical data protection method according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an AOP-based historical data protection apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another AOP-based historical data protection apparatus according to an embodiment of the present invention.
Icon:
11-a receiving module; 12-a selection module; 13-a determination module; 14-a pre-emphasis module; 15-a labeling module; 16-a deletion module; 17-a post-enhancement module; 18-intercept revocation module; 19-an acquisition module; 20-an update module; 21-a search module; 22-recovery module.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the following embodiments, and it should be understood that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The existing historical data protection method divides the historical data into two parts, takes the year as a period, and respectively stores the two parts in a cloud disk and a local disk to protect the historical data, and has the defects of long period, large protection granularity and lack of technical content. The implementation mode of the mark deletion is not considered and described in detail, and a system which does not have the historical data protection function originally is required to be modified in actual engineering. Therefore, the traditional method cannot protect the historical data quickly, conveniently and without leakage. Based on this, the embodiment of the invention provides an AOP-based historical data protection method and device, which can quickly and conveniently protect historical data without omission.
For the convenience of understanding the embodiment, a detailed description will be first given of an AOP-based historical data protection method disclosed in the embodiment of the present invention.
The first embodiment is as follows:
referring to fig. 1, an embodiment of the present invention provides an AOP-based historical data protection method, where the method may include the following steps:
step S101, receiving a modification request; wherein the modification request comprises at least one deletion request.
In the embodiment of the present invention, the modification request may refer to a request of a user to perform a specific modification operation on the historical data at the terminal. Since the modification operation includes, but is not limited to, types of a delete operation, an update operation, a query operation, and a restore operation, the type of the modification request may include an update request, a query request, and a restore request in addition to the delete request. The different types of modification requests all comprise information such as objects to be operated. If the user needs to delete an object to be operated in the system, the modification request may include a deletion request; if the user needs to delete a plurality of objects to be operated in the system, the modification request may include a plurality of deletion requests, where each deletion request corresponds to one object to be operated.
The embodiment of the invention utilizes the first interface provided by the system to receive the modification request of the user, and returns the execution result after the modification operation is carried out. In the first interface, all the implementation manners of the modification operation may be set to be created again after deletion. The above implementation need not be particularly specified, for example: in the implementation code of the first interface, the code implementation logic corresponding to the update data is set to: deleting the object to be operated, wherein the deleting operation is intercepted in the subsequent step to carry out mark deletion, and the actual deleting operation is cancelled; and newly creating new data according to the updating request of the user.
Step S102, selecting a deleting request according to a preset execution sequence, and taking the deleting operation corresponding to the selected deleting request as a target method.
In the embodiment of the present invention, the preset execution sequence may refer to an order of the establishment time of the deletion request, and the specific rule of the execution sequence is not specifically limited in the embodiment of the present invention. The target method may refer to an AOP target method, which is essentially a piece of code, or may refer to a tangent point. AOP is a technology for realizing the unified maintenance of program functions through a pre-compiling mode and a running-time dynamic agent. AOP is widely applied to application development, and generally, some non-business logic codes exist in a plurality of business classes of a certain application, such as log recording, performance monitoring, physical management, access control and the like. These non-business logic codes scattered across multiple business classes, often referred to as cross-cut points of interest, i.e., tangent points, are common places for AOPs. The target method of the AOP aims to determine the operation type of an object to be operated so as to protect historical data.
Step S103, determining an object to be operated based on the parameters in the target method.
In the embodiment of the invention, the object to be operated is a data entity which needs to be deleted currently. There are two ways to determine the object to be operated, except that the step may be determined according to the parameters in the target method, or may be directly determined according to the modification request received in step S101.
And step S104, performing pre-enhancement on the target method.
In an embodiment of the present invention, enhancement may refer to a piece of program code that is implanted on a target class attachment point. And pre-emphasis is a form of enhancement, essentially a piece of program code. The target method is pre-enhanced, i.e. an enhancement process is woven in before the target method is executed, with the aim of enhancing the logic for executing the target method.
Step S105, marking the object as historical data by using prepositive enhancement;
step S106, deleting the object by using a preposed enhanced target method;
in embodiments of the present invention, pre-enhancement of AOPs includes, but is not limited to: the attribute indicating whether the data entity needs to be deleted in step S103 is marked as "yes", so that omission is avoided and the user does not feel. The marking of the object is not particularly limited in the embodiment of the present invention. For an object with a cascading relationship, a label deletion recursive operation needs to be carried out on the cascaded child objects. The preposed enhancement aims at realizing historical data protection and can be developed autonomously, and the built-in execution logic of the preposed enhancement can be imported from the outside or set by the user, so that the correctness of the relationship between the objects after the mark deletion is mainly ensured. The historical data can be stored in a preset historical database so as to be traced at a later period.
Step S107, post-enhancing the target method;
in the embodiment of the invention, the post enhancement is essentially a piece of program code. And performing post-enhancement on the target method, namely performing the post-weaving enhancement processing on the target method.
And step S108, intercepting the deletion operation by utilizing a post-enhanced target method, and canceling the deletion operation to realize the protection of the historical data.
In embodiments of the present invention, post-enhancement of AOP is performed, including but not limited to: the actual deletion operation in step S106 is revoked, an uncommitted persistent operation cache is determined, and the like. The post enhancement aims at realizing historical data protection, and the built-in execution logic of the post enhancement can be imported from the outside or set by the user.
The embodiment of the invention relates to protection on data granularity, which is mainly embodied in that objects for marking deletion, query and recovery all use single data as objects. The target method of the embodiment of the invention is integrated in a business system, the deletion request of a terminal is received by an interception server, and the data which is to be deleted and becomes historical data is immediately marked and reserved based on AOP, so that the data can be traced and recovered in a historical database, and the protection of the historical data is realized.
The embodiment of the invention provides a historical data protection method based on AOP, which comprises the steps of firstly receiving a modification request of a user, wherein the modification request comprises at least one deletion request; selecting a deletion request according to a preset execution sequence, and taking a deletion operation corresponding to the selected deletion request as a target method; determining an object to be operated based on the parameters in the target method; performing pre-enhancement on the target method; marking the object as historical data using pre-emphasis; deleting the object by using a preposed enhanced target method; finally, post-enhancing the target method; and intercepting the deletion operation by utilizing a post-enhanced target method, and canceling the deletion operation, thereby realizing the protection of the historical data. The embodiment of the invention can realize the setting of the target method by carrying out pre-enhancement and post-enhancement on the target method based on the AOP, then intercept the deletion operation by using the target method and cancel the deletion operation, thereby conveniently and quickly protecting the historical data. Particularly, for a system which originally does not have a historical data protection function, the embodiment of the invention can realize the protection of the historical data in the system only based on AOP without modifying the system.
Further, referring to fig. 2, after step S106, the method may further include the steps of:
step S109, the modification request comprises an update request, and update data corresponding to the update request is generated based on the update request;
step S110, the object is updated with the update data.
In the embodiment of the invention, the original data and the updated data of the object can be stored in the database. Database technology is a core technology of information systems, and is a method for managing data with the assistance of a computer, which researches how to organize and store data, and how to efficiently acquire and process data. For example, a relational database refers to a database that uses a relational model to organize data, and stores data in rows and columns for a user to understand, and a series of rows and columns of the relational database are called tables, and a group of tables constitutes the database. A user retrieves data in a database through a query. The relational model can be simply understood as a two-dimensional table model, and a relational database is a data organization composed of two-dimensional tables and relations between them. Database technology is widely applied to systems such as application development, data storage query and the like.
Further, referring to fig. 2, the method may further include the steps of:
step S111, the modification request comprises a query request, and the target historical data corresponding to the query request is searched from a preset historical database based on the query request and a preset filtering condition.
In the embodiment of the present invention, the query manner of the historical data includes, but is not limited to: adding a filtering condition into the query condition: the attribute of "whether or not it has become history data" is marked as "yes". By querying a set of logically related historical data, the state of the whole data system can be traced. By screening the attribute of 'whether the history data is formed or not', the target history data can be searched, and further the protection of the history data is realized.
As the preset history database of the data management system, there is necessarily a second interface for querying the history data, which is different from the first interface in step S101. In such a second interface, the history data whose deletion is realized by the foregoing steps may be queried as necessary.
Further, referring to fig. 2, the method may further include the steps of:
in step S112, the modification request includes a recovery request, and the destination history data is recovered based on the attribute of the destination history data.
In the embodiment of the present invention, for the history data deleted by the foregoing steps, the recovery of the history data may be performed by this step, including but not limited to: the attribute indicating "whether or not to have become history data" in the data entity in step S103 is marked as "no", or the attribute mentioned in step S105 is: the attribute flag of "whether or not to have become history data" is changed from "yes" to "no". The modification of this attribute of the data can be realized in a very simple and convenient way, for example: SQL (Structured Query Language), JDBC (Java Data Base Connectivity ), JPA (Java Persistence API), etc., independent of pre-emphasis. If the attribute of the data is to be distinguished from the 'history data restored after deleted', a mark attribute can be added to the data attribute completely according to the requirement: and (6) recovering. Recovery of the state of the entire data system may be achieved by recovering a set of logically related historical data.
The embodiment of the invention receives modification requests such as data deletion requests, update requests and the like of a terminal through an interception server, realizes all modification operations corresponding to the modification requests in a deletion reconstruction mode, and enhances a target class or a target method by taking the deletion methods of all entity classes as a tangent point through AOP (automatic optical plane protocol), so that when all objects needing to be operated are deleted or deleted and reconstructed, the deletion requests are intercepted, the operated data are marked and deleted, the actual deletion operation is cancelled, and omission and user perception can be avoided. And for the history data marked to be deleted, inquiring and recovering the history data when needed, thereby realizing the protection of the history data. The embodiment of the invention can protect the historical data which is not valid any more in the database, and can trace and restore the historical state of the system. The embodiment of the invention intercepts the deletion request based on the AOP, has no omission and no perception for users. For a system without a historical data protection function originally, the system can be conveniently and quickly reconstructed based on AOP, and the method is used for supporting the historical data protection function.
Example two:
referring to fig. 3, an embodiment of the present invention provides an AOP-based historical data protection apparatus, where the apparatus may include the following modules:
a receiving module 11, configured to receive a modification request; wherein the modification request comprises at least one deletion request;
a selecting module 12, configured to select a deletion request according to a preset execution order, and take a deletion operation corresponding to the selected deletion request as a target method;
a determining module 13, configured to determine an object to be operated based on the parameters in the target method;
a pre-emphasis module 14 for pre-emphasizing the target method;
a tagging module 15 for tagging objects as historical data using pre-emphasis;
a deleting module 16, configured to perform a deleting operation on the object by using a pre-enhanced target method;
the post-enhancement module 17 is used for post-enhancing the target method;
and the interception cancellation module 18 is configured to intercept the deletion operation by using a post-enhanced target method, and cancel the deletion operation, so as to protect the historical data.
According to the historical data protection device based on the AOP, provided by the embodiment of the invention, a modification request is received by a receiving module; wherein the modification request comprises at least one deletion request; then, selecting a deletion request according to a preset execution sequence by using a selection module, and taking a deletion operation corresponding to the selected deletion request as a target method; determining an object to be operated based on the parameters in the target method by using a determination module; then, pre-enhancing the target method by using a pre-enhancement module; marking the object as historical data by using a marking module, and deleting the object by using a deleting module; finally, a post-enhancement module is used for post-enhancing the target method; and intercepting and cancelling the deletion operation by using an interception and cancellation module, and cancelling the deletion operation, thereby realizing the protection of the historical data. The embodiment of the invention can realize the setting of the target method based on the prepositive enhancement module and the postpositive enhancement module of the AOP, then utilize the interception cancellation module to carry out interception and deletion operation, cancel the deletion operation, and conveniently and quickly protect the historical data. Particularly, for a system which originally does not have a historical data protection function, the embodiment of the invention can realize the protection of the historical data in the system only based on AOP without modifying the system.
Further, referring to fig. 4, the modification request includes an update request; the apparatus may further comprise the following modules: an obtaining module 19, configured to generate, based on the update request, update data corresponding to the update request; and an updating module 20, configured to update the object with the update data.
Further, the modification request comprises a query request; the apparatus may further comprise the following modules: and the searching module 21 is configured to search, based on the query request and a preset filtering condition, destination history data corresponding to the query request from a preset history database.
Further, the modification request comprises a recovery request; the apparatus may further comprise the following modules: and the recovery module 22 is used for recovering the destination historical data based on the attribute of the destination historical data.
The embodiment of the invention can conveniently and quickly convert the modification and deletion operations to be carried out on the historical data into the marking deletion and the re-creation, thereby protecting the historical data, providing good recovery and query functions for the historical data and realizing no omission and no perception of users. Particularly for a system which does not have a historical data protection function originally, the embodiment of the invention can conveniently and quickly upgrade the system to support the historical data protection function, and meet the requirement of protecting the historical data.
In another embodiment of the present invention, an electronic device is further provided, which includes a memory and a processor, where the memory stores a computer program executable on the processor, and the processor implements the steps of the method of the above method embodiment when executing the computer program.
In yet another embodiment of the invention, a computer-readable medium having non-volatile program code executable by a processor, the program code causing the processor to perform the method of the method embodiment is also provided.
In the description of the present invention, it should be noted that the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A historical data protection method based on AOP is characterized by comprising the following steps:
receiving a modification request; wherein the modification request comprises at least one deletion request;
selecting one deletion request according to a preset execution sequence, and taking a deletion operation corresponding to the selected deletion request as a target method;
determining an object to be operated based on the parameters in the target method;
pre-enhancing the target method;
tagging the object as historical data with pre-emphasis;
deleting the object by using a preposed enhanced target method;
post-enhancing the target method;
intercepting the deletion operation by utilizing a post-enhanced target method, and canceling the deletion operation to realize the protection of the historical data.
2. The method of claim 1, wherein the modification request comprises an update request;
after the object is deleted by the pre-enhanced target method, the method further comprises the following steps:
generating update data corresponding to the update request based on the update request;
updating the object using the update data.
3. The method of claim 1, wherein the modification request comprises a query request;
the method further comprises the following steps:
and searching target historical data corresponding to the query request from a preset historical database based on the query request and a preset filtering condition.
4. The method of claim 3, wherein the modification request comprises a recovery request;
the method further comprises the following steps:
and recovering the target historical data based on the attribute of the target historical data.
5. An AOP-based historical data protection device, comprising:
a receiving module, configured to receive a modification request; wherein the modification request comprises at least one deletion request;
the selection module is used for selecting one deletion request according to a preset execution sequence and taking the deletion operation corresponding to the selected deletion request as a target method;
the determining module is used for determining an object to be operated based on the parameters in the target method;
the prepositive enhancement module is used for carrying out prepositive enhancement on the target method;
a tagging module for tagging the object as historical data using pre-emphasis;
the deleting module is used for deleting the object by utilizing a preposed enhanced target method;
the post-enhancement module is used for performing post-enhancement on the target method;
and the interception cancellation module is used for intercepting the deletion operation by utilizing a post-enhanced target method and canceling the deletion operation so as to protect the historical data.
6. The apparatus of claim 5, wherein the modification request comprises an update request;
the device further comprises:
an obtaining module, configured to generate, based on the update request, update data corresponding to the update request;
and the updating module is used for updating the object by utilizing the updating data.
7. The apparatus of claim 5, wherein the modification request comprises a query request;
the device further comprises:
and the searching module is used for searching the target historical data corresponding to the query request from a preset historical database based on the query request and a preset filtering condition.
8. The apparatus of claim 7, wherein the modification request comprises a recovery request;
the device further comprises:
and the recovery module is used for recovering the target historical data based on the attribute of the target historical data.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 4 when executing the computer program.
10. A computer-readable medium having non-volatile program code executable by a processor, the program code causing the processor to perform the method of any of claims 1 to 4.
CN201911034407.5A 2019-10-28 2019-10-28 Historical data protection method and device based on AOP Active CN110781170B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911034407.5A CN110781170B (en) 2019-10-28 2019-10-28 Historical data protection method and device based on AOP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911034407.5A CN110781170B (en) 2019-10-28 2019-10-28 Historical data protection method and device based on AOP

Publications (2)

Publication Number Publication Date
CN110781170A true CN110781170A (en) 2020-02-11
CN110781170B CN110781170B (en) 2022-07-08

Family

ID=69387114

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911034407.5A Active CN110781170B (en) 2019-10-28 2019-10-28 Historical data protection method and device based on AOP

Country Status (1)

Country Link
CN (1) CN110781170B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060156418A1 (en) * 2005-01-10 2006-07-13 Ibm Corporation Method and apparatus for preventing unauthorized access to data
CN104699811A (en) * 2015-03-23 2015-06-10 重庆广播电视大学 Method and device for recording and backtracking variation of form data in non-invasion manner
CN106599115A (en) * 2016-11-30 2017-04-26 广东欧珀移动通信有限公司 Data protection method and device and terminal
CN106681760A (en) * 2016-12-12 2017-05-17 国网北京市电力公司 Transaction processing method and device based on client engineering project management system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060156418A1 (en) * 2005-01-10 2006-07-13 Ibm Corporation Method and apparatus for preventing unauthorized access to data
CN104699811A (en) * 2015-03-23 2015-06-10 重庆广播电视大学 Method and device for recording and backtracking variation of form data in non-invasion manner
CN106599115A (en) * 2016-11-30 2017-04-26 广东欧珀移动通信有限公司 Data protection method and device and terminal
CN106681760A (en) * 2016-12-12 2017-05-17 国网北京市电力公司 Transaction processing method and device based on client engineering project management system

Also Published As

Publication number Publication date
CN110781170B (en) 2022-07-08

Similar Documents

Publication Publication Date Title
US9449074B1 (en) Determining and extracting changed data from a data source
US10191926B2 (en) Universal data pipeline
US9772911B2 (en) Pooling work across multiple transactions for reducing contention in operational analytics systems
CN107038222B (en) Database cache implementation method and system
US11010401B2 (en) Efficient snapshot generation of data tables
CN109783543B (en) Data query method, device, equipment and storage medium
CN110046170B (en) Statement execution method, device, equipment and medium based on multi-file management
CN110489310B (en) Method and device for recording user operation, storage medium and computer equipment
US8965879B2 (en) Unique join data caching method
CN111737227A (en) Data modification method and system
CN113127848A (en) Storage method of permission system data and related equipment
CN110795431B (en) Environment monitoring data processing method, device, equipment and storage medium
CN105069138A (en) Association analysis system and method
US11966732B2 (en) Data structures for managing configuration versions of cloud-based applications
CN110889272A (en) Data processing method, device, equipment and storage medium
US9043371B1 (en) Storing information in a trusted environment for use in processing data triggers in an untrusted environment
CN111796855B (en) Incremental version updating method and device, storage medium and computer equipment
CN112434037A (en) Data processing method, processing device, data processing apparatus, and storage medium
CN110781170B (en) Historical data protection method and device based on AOP
US9009731B2 (en) Conversion of lightweight object to a heavyweight object
CN111753141A (en) Data management method and related equipment
KR101888131B1 (en) Method for Performing Real-Time Changed Data Publish Service of DDS-DBMS Integration Tool
CN116821232A (en) Data synchronization method and related device
US11500837B1 (en) Automating optimizations for items in a hierarchical data store
CN113127906A (en) Unified authority management platform, method and storage medium based on C/S architecture

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant