A method to realize automatic backup of application data by using aop and spring dependency injection

A technology that relies on injection and application data, and uses redundancy in operations for data error detection, electrical digital data processing, and response error generation. It can solve problems such as broken packaging and complexity, and improve efficiency and coupling. Reduce, improve the effect of reusability

Active Publication Date: 2021-07-02
山东恒云信息科技有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the above technologies have the following problems in the new cloud computing environment: 1, too complicated; 2, breaking the package; 3, requiring a special Java compiler

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The present invention will be further described below.

[0030] A method for realizing automatic backup of application data by using AOP and Spring dependency injection, including business data log preservation and business data log restoration;

[0031] Saving business data logs includes the following steps:

[0032] a-1) The user enters the user information through the Jsp page and submits the user information data to the background target, and the background requests the memory processing address of the user information data through the Controller method;

[0033] a-2) When the user sends a user request for adding business data to the background, the background accepts the user request through the Controller method, obtains the content of the increased business data submitted by the user from the user request, and encapsulates the content of the increased business data as Data entity Java Bean type;

[0034] a-3) The background calls the target Service structure bu...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

A method for realizing automatic backup of application data by using AOP and Spring dependency injection, including business data log preservation and business data log restoration; using AOP (Java reflection) technology and Spring dependency injection to realize automatic backup of application data. Therefore, the coupling degree between various parts of the business logic is reduced, the reusability of the program is improved, and the efficiency of development is improved at the same time. When defining all the requirements of an application for a certain service, such as logging. By identifying concerns, the service can be better defined, better coded, and gain more functionality.

Description

technical field [0001] The invention relates to the technical field of computer data security and protection, in particular to a method for realizing automatic backup of application data by using AOP and Spring dependency injection. Background technique [0002] The implementation of AOP (Java reflection) technology is mainly divided into two categories: one is to use dynamic proxy technology to decorate the message by intercepting the message to replace the execution of the original object behavior; the other is to use static weaving The method introduces specific syntax to create "aspects", so that the compiler can weave codes related to "aspects" during compilation. The logic or responsibility of the call is encapsulated to reduce the duplication of code in the system, reduce the coupling between modules, and facilitate future operability and maintainability. The technical characteristics included in AOP are: [0003] 1. Join point (connection point): It is a precise ex...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/20G06F11/14
CPCG06F8/24G06F11/1448
Inventor 段吉民
Owner 山东恒云信息科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products