Dynamic micro-service editing method, device and server for multi-language cloud compiling

A micro-service, multi-language technology, applied in the computer field, can solve problems such as high CPU, broken, difficult to maintain, etc.

Active Publication Date: 2017-01-04
BEIJING BEISEN CLOUD COMPUTING CO LTD
View PDF4 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] There are the following disadvantages in the comprehensive existing technology: (1) The expansion is complicated: all the codes are in one project system, which makes the whole expansion process very complicated and cumbersome, and may destroy the structure of the original code; (2) The code reuse rate is low: The system code logic is only for the current development and coupled to the system, which reduces the code reuse rate;
(3) Long development cycle and low efficiency: When expanding or adding new requirements, developers need to re-develop, compile, test, upload, configure, package, and deploy the system offline, which makes the development cycle very long and inefficient
(4) Difficult to maintain: System developers and technology applications may have been iterated countless times, and the mutual calls and mutual coupling between codes in the system are also intricate. People who do not know the system well dare not act rashly
With more and more requirements and functions of the system, the team is getting bigger and bigger, and the corresponding communication costs, development costs, and management costs will increase exponentially. When the system has defects, it will also cause analysis problems, positioning problems, and repair problems The time is longer; as the amount of code increases, it may also lead to a vicious cycle of "more fixes, more defects"; a small change in the system requires redeployment of the entire application system
(5) Development language limitations: If the application system is developed in a certain language, it must be extended with this language when it needs to be expanded again, and it is impossible to try a new programming language or framework, which is currently impossible to use in reality. Technology platform or solution to solve all problems
(6) High hardware cost and difficult horizontal expansion: All program codes are in the same process of the server, which will lead to difficult horizontal expansion and high cost, because different module functions in the system actually have different requirements on the server. Some are CPU-intensive computer types, which require a CPU processor with strong performance, and some require memory IO-intensive types, which require a large amount of memory for data caching. If the server infrastructure required by the system is purchased according to the same standard, the hardware cost will be very high
(7) Low reliability: All module functions run in one process. A bug in any module function, such as memory leak / CPU continues to rise, may crash or slow down the entire process, thereby affecting overall application reliability
[0006] During the upgrade process of the existing business system (specifically, for example, when new functional modules are added to the business system or the functions of the previous business system are modified), the entire business system will be stopped, so that the business related to the business system out of service

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
  • Dynamic micro-service editing method, device and server for multi-language cloud compiling
  • Dynamic micro-service editing method, device and server for multi-language cloud compiling
  • Dynamic micro-service editing method, device and server for multi-language cloud compiling

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. 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.

[0059] figure 1 It is a schematic flowchart of the multi-language cloud compilation dynamic microservice editing method provided by the embodiment of the present invention. see figure 1 , the method includes:

[0060] T1: After receiving the microservice editing instruction, call out the editing window of the microservice as the editing wi...

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 dynamic micro-service editing method, device and a server for multi-language cloud compiling. The method comprises the following steps: when a developer triggers a micro-service editing instruction on editing equipment, the editing equipment calls out a compiling window so that the developer can edit the script code of the micro-service in the window; after the editing is finished, the editing equipment sends the script code to the server, the server checks the script code, and then feeds back a corresponding check result to the editing equipment to realize the editing to the micro-service. Since the edited micro-service can realize one function point of the preset function but not the whole business system, other businesses in the business system formed by the micro-service still can run normally in the process of adding new function point, the normal operation of the whole business system cannot be affected in the process of upgrading the business system, and the flexibility, open, maintainability and scalability of the system function expansion are effectively improved.

Description

technical field [0001] The invention belongs to the field of computer technology, and in particular relates to a multi-language cloud-compiled dynamic micro-service editing method, device and server. Background technique [0002] With the emergence of object-oriented design patterns and enterprise architecture patterns, a system is usually divided into three levels from the perspective of function realization and code organization: presentation layer, business logic layer, and data access layer. The presentation layer is based on Html Web The page is rendered by fetching data through RestAPI; the business logic layer is the core code of the application system, which is usually used to implement system business rules; the data access layer is an intermediary for accessing databases or information; this is our common classic three-tier architecture pattern, Although this model solves the problem of complex calls between system modules and unclear responsibilities to a certain ...

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): G06F9/44
Inventor 闫观涛刘生权张庆化熊品卿徐东王伊烟
Owner BEIJING BEISEN CLOUD COMPUTING CO LTD
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