Multi-mode transaction implementation system and method based on micro-service architecture

A technology for implementing systems and micro-services, applied in the field of multi-mode transaction implementation systems based on micro-service architecture, can solve problems such as cumbersome use, database performance bottlenecks, bloated, etc., to reduce the amount of code and logic complexity, easy to develop and Maintenance and time saving effect

Pending Publication Date: 2018-12-21
北京爱蜂科技有限公司
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The main problems of this system are: each application service system is complex, bloated, and business boundaries are not clear; in addition, most of the databases adopt simple methods such as distributed, read-write separation, etc., resulting in prominent database performance bottlenecks when a large number of users increase sharply , cannot supplement the system in time to improve performance; and cannot adapt to the needs of business changes when the market is changing rapidly. It is often necessary to redevelop related sub-business systems, which is cumbersome and inconvenient to use

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
  • Multi-mode transaction implementation system and method based on micro-service architecture
  • Multi-mode transaction implementation system and method based on micro-service architecture

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] Embodiment 1 of the present invention provides a multi-mode transaction realization system based on microservice architecture, such as figure 1 As shown, the system includes:

[0038] User interface system for displaying transaction information and operation results;

[0039] Optionally, the user interface system includes a web interface and a terminal (such as a PC terminal and a mobile terminal) interface;

[0040] The microservice group is used to receive transaction trigger events; the microservice group includes multiple microservices, and different transactions correspond to different microservices, and each microservice is independent of each other. For example, the microservice group in this embodiment includes: Microservice 1 , microservice 2... microservice n;

[0041] The instruction bus is used to receive the instructions sent by the microservice group and route them to the instruction processor, and is also used to receive the response data returned by th...

Embodiment 2

[0053] Embodiment 2 of the present invention provides a multi-mode transaction realization method based on microservice architecture, such as figure 2 shown, including:

[0054] Step S1: Split the corresponding microservice group into independent microservices according to the business type;

[0055] Preferably, in this embodiment, different microservices use event delivery to exchange information;

[0056] Step S2: according to the quantity of business, set the shared standard business module as an independent standardized event processor;

[0057] Step S3: Set up different databases according to different businesses, and exchange data between different databases through the event bus to realize data synchronization;

[0058] Specifically, in this embodiment, the database includes: a relational database, an object-oriented database, a directed graph database, etc.;

[0059] Step S4: setting the separation operation mode of submitting data and querying data;

[0060] In t...

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 a multi-mode transaction realization system and a method based on a micro service architecture. The method comprises the following steps of: splitting a micro service group corresponding to the micro service group into independent micro services according to a service type; according to the number of services, separately standardized event handlers are set up for the commonstandard service modules; different databases are set up according to different services, and data are exchanged between different databases through event bus to realize data synchronization. Settingseparate operation mode for submitting data and querying data; When the user interface system receives the triggering event of the user, the application sub-module processes the triggering event through the corresponding event handler which is standardized separately; When the user interface system generates a transaction instruction, a data processor and a query processor are sent to process thedata in the database, and the processing result is returned to the user interface. The invention is easy to develop and maintain and has good compatibility.

Description

technical field [0001] The present invention relates to the field of computers, in particular to a system and method for implementing multi-mode transactions based on a microservice architecture. Background technique [0002] At present, a large number of distributed system models are used in various transaction application systems. Such systems are mainly based on application-oriented architecture. The main problems of this system are: each application service system is complex, bloated, and business boundaries are not clear; in addition, most of the databases adopt simple methods such as distributed, read-write separation, etc., resulting in prominent database performance bottlenecks when a large number of users increase sharply , can not supplement the system in time to improve performance; moreover, it cannot adapt to the needs of business changes when the market is changing rapidly. It is often necessary to redevelop related sub-business systems, which is cumbersome an...

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): G06F17/30G06Q40/04H04L29/08
CPCH04L67/02G06Q40/04H04L67/51
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