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.
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- Publication Date
- 2019-08-16
- Estimated Expiration
- Not applicable · inactive patent
Abstract
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...