Micro-service method and device based on block chain, and medium

A microservice and blockchain technology, applied in special data processing applications, structured data retrieval, program control devices, etc., can solve the problems of long service startup time, increase system framework, code duplication, etc., and reduce trust costs. , the effect of ensuring privacy and ensuring security

Active Publication Date: 2021-07-16
重庆新致金服信息技术有限公司
View PDF11 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] 1. Service calls cross the network, increasing network IO and reducing performance
[0006] 2. The service call spans more nodes, and the data inconsistency of distributed transactions may be greater
[0007] 3. Service discovery is required, increasing complexity
[0008] 4. O&M and testing applications based on microservice architecture are also very complicated
[0009] 5. Each service is an independent system, and the code is repeated, which increases the possibility of inconsistent system frameworks
6. The total startup time of the service is long
[0010] 7. The transitivity of service dependencies must be deployed one by one in order
[0013] On the other hand, important business data not only needs to be backed up, but also must be guaranteed to be tamper-proof and transparent to all related microservices. However, the distributed business data storage method of the microservice architecture obviously cannot meet the requirements

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
  • Micro-service method and device based on block chain, and medium
  • Micro-service method and device based on block chain, and medium
  • Micro-service method and device based on block chain, and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0050] It should be noted that all directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of the present invention are only used to explain the relative relationship between the components in a certain posture (as shown in the accompanying drawings). If the positional relationship, movement conditions, etc. change, the directional indication will also change accordingly, and the connection may be a direct connection or an ...

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 provides a micro-service method based on a block chain, and the method comprises the steps of distributing an accounting node in a block chain platform for a core enterprise micro-service in a micro-service architecture, enabling a block chain gateway to monitor the business of the core enterprise micro-service, and when the business belongs to a transaction business, enabling the block chain gateway to regularly retrieve whether the transaction service generates transaction data or not through a query interface of the block chain platform; when the transaction business of the core enterprise micro-service generates transaction data, calling a corresponding bookkeeping node through the block chain gateway and sending out a bookkeeping application; and enabling the accounting node to generate a corresponding block for the transaction data through the smart contract deployed in the block chain platform, addding the block into the block chain, and broadcasting the block to each accounting node of the block chain platform for synchronous backup.

Description

technical field [0001] The present invention relates to the technical fields of microservices and blockchains, in particular to a blockchain-based microservice method, equipment and media. Background technique [0002] Most of the traditional systems are single-architecture models. All business sub-modules are concentrated in one heavy process, and all codes are in the same project. As the scale becomes larger and larger, it will cause projects such as bloated projects to occupy a large amount of database and memory. Waiting for resources will seriously drag down the system and cause difficulties in system maintenance. In order to change this situation, a technology that splits the bloated single system into several "microservices" has emerged. [0003] Microservice architecture is an architectural pattern, which advocates dividing a single application into a group of small services, and the services coordinate and cooperate with each other to provide users with ultimate va...

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): G06F16/23G06F16/27G06F9/448
CPCG06F16/2365G06F16/27G06F9/449
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