A system and method for automatically generating services based on containers

A container and subsystem technology, applied in transmission systems, digital transmission systems, instruments, etc., can solve the problems of port release failure, personnel changes, uncertain personnel costs, etc., and achieve the goal of shortening material investment, reducing manpower, and meeting business needs. Effect

Active Publication Date: 2022-08-02
ENJOYOR COMPANY LIMITED
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Then, for each ever-increasing and changing demand, it will inevitably be completed by dozens of people writing hundreds of thousands of lines of code. Considering the need to invest a lot of manpower and material resources to continuously maintain the code, software security and quality reliability, and The uncertainty of personnel changes and personnel costs often become a serious problem in the process of ubiquitous informatization development; for Docker services under the port random mechanism, after the instance is restarted, the service address changes have been bothering us; for Using the Docker service under the fixed port mechanism, the first release of the service failed due to the port being occupied
At present, it is difficult to have a product or system that can well solve the above scenarios and meet the business needs of rapid iteration

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
  • A system and method for automatically generating services based on containers
  • A system and method for automatically generating services based on containers
  • A system and method for automatically generating services based on containers

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0037] Example: as figure 1 As shown, a system for automatically generating services based on containers consists of a design subsystem, a service template subsystem and an engine subsystem. The design subsystem receives the service configuration information input by the system user, converts it into a configuration file with a fixed format and stores it, sends the configuration file to the engine subsystem through the configuration access interface, and receives the service instance state sent by the engine subsystem; The service template subsystem stores the template image files of multiple service instances, receives the download image request sent by the engine subsystem, and provides the required template image files for the engine subsystem through the download template interface; the engine subsystem receives the design subsystem service instance release The corresponding service instance is automatically generated according to the configuration file, in which the confi...

example 3

[0050] In this embodiment, user A attempts to publish service instance 1 and service instance 2 through the design subsystem, and user B attempts to publish service instance 3 through the design subsystem;

[0051]The engine subsystem has local images of service instance 1 and service instance 3, but no image of service instance 2; the service template subsystem has images of service instances 1, 2, and 3; the image file is a combination of packages and dependent libraries into a static file, with the functions of accessing the configuration interface, parsing and verifying the configuration, receiving external requests, and responding to external requests.

[0052] The configuration files of service instances 1, 2, and 3 are as follows Figure 7 , Figure 8 and Figure 9 shown.

[0053] At 8:00:00, user A operates the design subsystem and publishes service instance 1 and service instance 2. The graphical design module receives the operation of user A, and transmits the ope...

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 relates to a system and method for automatically generating services based on containers. The invention uses a wizard interface to guide users to realize the configuration information of services in a non-coding manner by accessing the design subsystem, converts them into configuration files with a fixed format, and converts them into configuration files with a fixed format. Store and generate external access interfaces. Then call the publishing interface of the engine subsystem; the engine subsystem first checks whether there is a template image file locally, if not, it calls the download interface of the template subsystem to download the template image file, and finally dynamically generates a service instance according to the configuration to provide a Restful style to the outside world. API service. The beneficial effects of the present invention are: when responding to newly added or changed business requirements, the input of manpower and material resources is reduced, and the API interface response cycle is shortened, so as to meet the business requirements of rapid iteration. In addition, it also avoids the problems caused by the uncertainty of personnel changes and personnel costs to maintain software security and quality reliability.

Description

technical field [0001] The present invention relates to the technical field of computer software, in particular to a system and method for automatically generating services based on containers. Background technique [0002] With the development of modern social science and technology, computer system has become an indispensable tool in all walks of life, and the core role in it is computer software system. With the continuous development of various industries and the continuous construction of IT systems, Restful-style APIs have gradually become the interconnection standard between application systems. However, various industries survive and develop in an ever-changing dynamic environment. In order to cope with the ever-increasing and changing demands, maintaining API interfaces has become a common pain point in front of various industries. [0003] Docker is an open source application container engine that allows developers to package their API interface packages and depen...

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 Patents(China)
IPC IPC(8): H04L67/30H04L67/51H04L67/1095H04L67/06H04L9/40G06F9/445
CPCH04L67/30H04L67/1095H04L67/06H04L63/10G06F9/4451H04L67/51
Inventor 王超群李建元刘飞黄秦俊峰于德军王丰
Owner ENJOYOR COMPANY LIMITED
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