Micro-service development platform, generation method, deployment method and device
A development platform and micro-service technology, applied in the field of communication, can solve problems such as the complex hierarchical structure of the monolithic architecture, and achieve the effects of convenient development, strong flexibility, and short development cycle
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] Embodiment 1 of the present invention discloses a micro-service development platform, the structural diagram is as follows figure 1 As shown, the microservice development platform includes: a core layer 101, a functional layer 102 and a business layer 103;
[0045] The core layer 101 includes at least one pre-generated functional unit;
[0046] The functional layer 102 includes at least one functional component, and the functional component is used to transfer at least one of the functional units from the core layer according to preset component construction rules, so as to realize the corresponding function of the functional component;
[0047] The business layer 103 includes at least one microservice, and the microservice is used to call at least one functional component from the functional layer according to preset service composition rules, so as to realize the corresponding microservice.
[0048] It should be noted that the functional units include but are not lim...
Embodiment 2
[0053] Based on the microservice development platform disclosed in the first embodiment of the present invention, the second embodiment of the present invention provides a microservice generation method, which is applied to the above microservice development platform. The microservice development platform includes a core layer, a functional layer and a business layer, the specific execution process of the microservice generation method, including the following steps:
[0054] S201. Receive a microservice generation instruction, where the microservice generation instruction includes a function set corresponding to the target microservice;
[0055] S202. Determine the target functional component corresponding to the target microservice according to the function set;
[0056]S203. Determine at least one functional component corresponding to the target functional component from the functional layer according to the preset service composition rule;
[0057] S204, establishing a ca...
Embodiment 3
[0062] Based on the microservice development platform disclosed in the first embodiment of the present invention and the microservice generation method disclosed in the second embodiment, the third embodiment of the present invention discloses a microservice deployment method, and the service registration / discovery unit is started on each node in the cluster A registration center and monitoring center, the method flow chart is as follows image 3 shown, including the following steps:
[0063] S301. When the registration center receives the registration request information sent by the microservice corresponding to the registration center, synchronize the registration request information to other registration centers in the cluster except the registration center;
[0064] During the execution of step S301, the registration center may periodically communicate with other registration centers in the cluster except the registration center through the Gossip protocol.
[0065] S302,...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com