Establishment method for aop (Aspect Oriented Programming) interception type HBase data storage microservice architecture

A construction method and data storage technology, applied in the field of micro-service architecture construction, can solve the problems of not being able to integrate big data platforms well, not being intelligent, time-consuming and labor-intensive, etc., to reduce code intrusion, facilitate expansion, and realize load balanced effect

Active Publication Date: 2018-05-08
HANGZHOU DIANZI UNIV
View PDF3 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the case of the existing system, popular big data platforms cannot be well integrated. If the data cannot be written to Hbase for storage in a timely manner, huge data will be generated if the data is deposited for too long. The writing of large batches of data should be considered Questions of efficiency, optimization, and machine performance
Can only rely on manual operation, very unintelligent, and time-consuming and labor-intensive

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Establishment method for aop (Aspect Oriented Programming) interception type HBase data storage microservice architecture

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The following combination figure 1 The present invention is further described.

[0032] Such as figure 1 As shown, the eureka-server service, the registration center of the micro-service architecture, is used for service module registration and calling related services; the service-mysql service provides business interfaces and stores data in the mysql database; the service-hbase service writes data to HBase. service-aop service, call service-mysql service, use aop technology to intercept add*() and save*() methods, and return the stored data. Then call the service-hase service to write the data to the HBase nosql database.

[0033]The first step: build spring-boot-starter-hbase, the starter makes developers who use a certain function do not need to pay attention to the processing of various dependent libraries, and do not need specific configuration information. SpringBoot automatically discovers the needs through the classes under the classpath path Bean, and weav...

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 discloses an establishment method for aop (Aspect Oriented Programming) interception type HBase (Hadoop Database) data storage microservice architecture. According to the method, an oldsystem employing a traditional relationship type mysql database is abstracted to a service module. In a new microservice architecture system, data storage of add*() and save*() methods is interceptedthrough aop, and data is written into an HBase database through an HBase service module. Code invasion to an original system is reduced to a great extent. A new microservice architecture system is beneficial for expansion of new business and is easy to be expanded into a distributed architecture system.

Description

technical field [0001] The present invention relates to the fields of computer information processing and software development, in particular to a method for constructing a microservice architecture (Microservice Architecture) of AOP (Aspect Oriented Programming, aspect-oriented programming) interception HBase data storage Background technique [0002] HBase is a distributed, column-oriented open source database, which is derived from the Google paper "Bigtable: A Distributed Storage System for Structured Data" written by FayChang. Just as Bigtable utilizes the distributed data storage provided by the Google File System (File System), HBase provides capabilities similar to Bigtable on top of Hadoop. HBase is a subproject of Apache's Hadoop project. HBase is different from general relational databases, it is a database suitable for unstructured data storage. Another difference is HBase's column-based rather than row-based schema. [0003] HBase-Hadoop Database is a high-re...

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 Applications(China)
IPC IPC(8): H04L12/24H04L29/08G06F17/30
CPCH04L41/0803H04L41/0876H04L67/1004G06F16/25H04L67/51H04L67/60
Inventor 吴以凡陈帅张桦戴国骏赵一林夕
Owner HANGZHOU DIANZI UNIV
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