Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for multi-process start by container

A multi-process and container technology, applied in the field of web platform, can solve problems such as resource waste

Inactive Publication Date: 2015-09-09
BEIJING QIHOO TECH CO LTD +1
View PDF2 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the present invention provides a method and device for multi-process startup using a container, the main purpose of which is to solve the problem that a container often allows one process to run at a time, but the execution of a business often requires the support of multiple processes, resulting in Multiple containers need to be used in the process, resulting in a waste of resources

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
  • Method and device for multi-process start by container
  • Method and device for multi-process start by container
  • Method and device for multi-process start by container

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0022] Embodiments of the present invention provide a method for starting multiple processes using containers, such as figure 1 As shown, the method includes:

[0023] 101. Set a preset directory for the container process control.

[0024] In the embodiment of the present invention, the container process control is obtained from other types of containers, but since different programming languages ​​are often used when developing t...

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 discloses a method and a device for multi-process start by a container, relates to the technical field of web platforms and mainly aims to solve the problem that multiple containers need to be used in a service execution process to lead to resource waste due to the fact that a container often permits running of one process, but support of multiple processes is needed when one service is executed. The technical scheme mainly includes that the method includes setting a default directory for a container process control, wherein the container process control can achieve calling of multiple subprocesses by calling a target process; loading a script file in the default directory to obtain a container mirror image, wherein the script file contains necessary function applications of a to-be-started service item, and the function applications need to be executed and completed by the processes when running; running the container mirror image to start the subprocesses. The method and the device are mainly applied to a process that a Linux system uses the container for multi-process start.

Description

technical field [0001] The invention relates to the technical field of web platforms, in particular to a method and device for starting multi-processes using containers. Background technique [0002] In order to save hardware resources, virtualization technology has been more and more recognized and used. Virtualization technology is a resource management technology, which abstracts and transforms various physical resources of computers, such as servers, and presents them, breaking the inseparable barriers between physical organizations. At present, in order to save server resources, one server is virtualized into multiple servers through Xen virtualization technology, and a complete system image including the kernel is shared between the virtualized multiple servers, and multiple The processes run simultaneously to meet the application requirements of different businesses. When using Xen virtualization technology to virtualize servers, it is necessary to build a virtualiz...

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/445
Inventor 许斯亮赵鹏
Owner BEIJING QIHOO TECH CO LTD