Method for constructing cloud SCADA system based on Spring cloud micro-service architecture

A micro-service and service registration technology, applied in the field of cloud-based SCADA system based on Springcloud micro-service architecture, can solve the problems of lack of RESTURI planning scheme, lack of peripheral schemes such as registration and discovery, and lack of peripheral security management schemes, etc.

CN110134374AInactive Publication Date: 2019-08-16NANJING GREEN NEW ENERGY RES INST CO LTD
3 Cites 6 Cited by

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
Publication Date
2019-08-16
Estimated Expiration
Not applicable · inactive patent
Patent Text Reader

Abstract

According to a method for constructing a cloud SCADA system based on the Spring cloud micro-service architecture, the SCADA system is developed according to the Spring cloud micro-service architecture, so that the SCADA system can be conveniently deployed on a cloud server. The method comprises the following steps: 1, creating a parent project; 2, constructing service discovery and registration; 3, achieving service consumption and load balance; 4, realizing the service fusing; 5, creating configuration center service; 6, setting an API gateway; 7, performing distributed transaction consistency management; and 8, constructing the micro-service by using the Docker. The Spring Boot is used for developing the application micro-service, and the functions of service discovery, service consumption, service fusing, API gateway, unified configuration center, distributed transaction consistency management and container construction can be effectively achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical field

[0001] The invention belongs to the field of program control, and specifically relates to a method for clouding a SCADA system based on a Spring cloud microservice architecture. Background technique

[0002] The first focus of the microservice architecture is that the business system needs to be completely componentized and service-oriented. The original single business system will be split into multiple small applications that can be independently developed, designed, run, and operated. These small applications complete the interaction and integration through services. Each small application is completely independent from the front-end web ui to the control layer, logic layer, and database access. Here, we don’t use components but use the term small application. In addition to completing its own business functions, each small application also needs to consume services exposed by other external applications. At the same time, it also publishes its own capabilitie...

Examples

Embodiment Construction

[0066] The invention uses Spring Boot to develop application microservices, and realizes the functions of service discovery, service consumption, service fuse, api gateway, unified configuration center, distributed transaction consistency management, and container construction. The microservice construction method based on Spring cloud includes the following processes:

[0067] 1. Parent creation:

[0068] Create a parent project for unified management of Maven dependencies in the project and add SpringBoot dependencies.

[0069] 2. Service discovery and registration:

[0070] Service discovery is one of the key principles in the microservice architecture. It is difficult to manually configure each client or some form of agreement, and it is very fragile; using Eureka can guarantee A and P in CAP theory (that is, availability and partition fault tolerance) .

[0071] The specific service discovery and registration steps are as follows:

[0072] Build a submodule for service registratio...