Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for realizing automatic backup of application data using AOP and Spring dependency injection

A technology of dependency injection and application data. The redundancy applied in the operation is used for data error detection, response error generation, and electrical digital data processing. It can solve problems such as damage to packaging and complexity, and improve efficiency and coupling. Reduce and improve the effect of reusability

Active Publication Date: 2018-12-25
山东恒云信息科技有限公司
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

The invention relates to a method for realizing automatic backup of application data by using AOP and Spring dependency injection, which comprises the following steps: saving service data log and restoring service data log; using AOP (Java Reflection) technology and Spring Dependency Injection to realize the automatic backup of application data, thus, the coupling degree between each part of the business logic is reduced, the reusability of the program is improved, and the development efficiency is improved. When defining all the requirements of an application for a service, such as logging, by identifying concerns, the service can be better defined, better coded, and more functional.

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
IPC IPC(8): G06F8/20G06F11/14
CPCG06F8/24G06F11/1448
Inventor 段吉民
Owner 山东恒云信息科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products