Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

System and method for automatically generating services based on container

A container and subsystem technology, applied in transmission systems, instruments, program loading/starting, etc., can solve problems such as port release failure, personnel changes, uncertain personnel costs, etc., to shorten material investment, reduce manpower, and meet business needs Effect

Active Publication Date: 2020-07-28
ENJOYOR COMPANY LIMITED
View PDF5 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
  • System and method for automatically generating services based on container
  • System and method for automatically generating services based on container
  • System and method for automatically generating services based on container

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0037] Example: such as figure 1 As shown, a container-based automated service generation system 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 status 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 engine subsystem with the required template image files through the download template interface; the engine subsystem receives the service instance release of the design subsystem According to the request, the corresponding service instance is automatically generated according to the configurat...

example 3

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

[0051] The image of service instance 1 and service instance 3 has been stored locally in the engine subsystem, but there is no image of service instance 2; the image of service instance 1, 2, and 3 has been stored in the service template subsystem; the image file is composed of a package and a dependency library 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, publishes service instance 1 and service instance 2, the graphical design module receives user A's op...

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 service based on a container, and the method comprises the steps: guiding a user to achieve the configuration information of the service in a non-coding mode through an access design subsystem and a guide interface, converting the configuration information into a configuration file with a fixed format, storing the configuration file, and generating an external access interface; calling a release interface of the engine subsystem; enabling the engine subsystem firstly to check whether a template mirror image file exists locally or not, if not, calling a downloading interface of the template subsystem to download the template mirror image file; finally, dynamically generating a service instance according to configuration, and providing Restful style API service for the outside. The invention has the beneficial effects that when newly increased or changed service requirements are responded, the API interface response period is shortened while the investment of manpower and material resources is reduced, and the service requirements of rapid iteration are met. In addition, the problems caused by uncertainty of personnel change and personnel cost problems to software safety and quality reliability maintenance are also avoided.

Description

technical field [0001] The 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 science and technology in modern society, computer systems have become an indispensable tool in all walks of life, and the computer software system plays a central role in it. With the continuous development of various industries and the continuous construction of IT systems, Restful-style APIs have gradually become the standard for interconnection and interoperability 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 facing all industries. [0003] Docker is an open source application container engine that allows developers to package their API interf...

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): H04L29/06H04L29/08G06F9/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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products