Container-based management method by changing intelligent container component execution priority using remote calls via remote access unit and remote network functon module

11226838 ยท 2022-01-18

Assignee

Inventors

Cpc classification

International classification

Abstract

A method for managing AI components installed in containers is provided. The container-based component management method creates a container, installs at least one selected from a plurality of components in the container, and manages the components installed in the container. Accordingly, the execution priorities of the AI components installed in the containers can be managed and operated, such that degradation of system performance and frequent error occurrence can be prevented.

Claims

1. A container-based component management method within a virtualization system, the method comprising: creating a plurality of containers; installing at least one component selected from a plurality of components in each container of the plurality of containers; installing a remote access unit in the each container of the plurality of containers; setting execution priorities of components installed in the plurality of containers; and remotely calling, through a first remote access unit installed a first container among the plurality of containers, and a remote network function module installed in a local network abstraction module of the virtualization system, a component installed in the first container and changing an execution priority of the called component by an external program through the first remote access unit and the remote network function module.

2. The method of claim 1, wherein the remotely calling of the component comprises accessing the first remote access unit through the remote network function installed in the local network abstraction module of the virtualization system.

3. A virtualization system comprising: a docker configured to create a plurality of containers; and a manager provided in the docker and configured to install at least one component selected from a plurality of components in each container of the plurality of containers, install a remote access unit in the each container of the plurality of containers; and set execution priorities of components installed in the plurality of container, wherein a component installed in a first container among the plurality of containers is remotely called through a first remote access unit installed the first container and a remote network function module installed in a local network abstraction module of the virtualization system, and an execution priority of the called component is remotely changed by an external program through the first remote access unit and the remote network function module.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) For a more complete understanding of the present disclosure and its advantages, reference is now made to the following description taken in conjunction with the accompanying drawings, in which like reference numerals represent like parts:

(2) FIG. 1 is a view illustrating a structure of a container-based virtualization system;

(3) FIG. 2 is a view provided to explain a container-based AI component installation method according to an embodiment of the present disclosure;

(4) FIG. 3 is a view provided to explain a container-based AI component management method according to another embodiment of the present disclosure;

(5) FIG. 4 is a flowchart provided to explain a container-based AI component installation/management method according to still another embodiment of the present disclosure;

(6) FIG. 5 is a view illustrating a structure of a container-based virtualization system;

(7) FIG. 6 is a view illustrating a virtualization system according to an embodiment of the present disclosure;

(8) FIG. 7 is a flowchart provided to explain a container-based method for calling a program at a remote distance according to another embodiment of the present disclosure; and

(9) FIG. 8 is a view illustrating a hardware structure of a cloud server which can implement a virtualization system according to still another embodiment of the present disclosure.

DETAILED DESCRIPTION OF THE INVENTION

(10) Hereinafter, the present disclosure will be described in detail with reference to the accompanying drawings.

(11) FIG. 1 is a view illustrating a structure of a container-based virtualization system. Container-based virtualization provides a virtual environment of a process execution method which is differentiated from the concept of a virtual machine having an independent operating system mounted therein. Accordingly, in a distributed computing environment such as a cloud infrastructure, stability and security of the system can be further enhanced.

(12) The container-based virtualization system refers to a structure in which a docker 110 and containers 130-1, 130-2, 130-(n-1), and 130-n are created in a superordinate layer of an operating system 160.

(13) The docker 110 creates the containers 130-1, 130-2, 130-(n-1), and 130-n with resources isolated according to users, and the containers 130-1, 130-2, 130-(n-1), and 130-n have their required internal programs installed therein, respectively.

(14) The internal programs installed in the containers 130-1, 130-2, 130-(n-1), and 130-n indicate AI components which are AI programs independently operated to implement AI functions capable of performing a plug-and-play.

(15) The AI component refers to a program that has various AI functions, such as machine learning, interaction, emotion recognition, or the like, integrated into a component.

(16) Hereinafter, a method in which the docker 110 installs AI components in the containers 130-1, 130-2, 130-(n-1), and 130-n, and manages the same will be described in detail with reference to FIGS. 2 and 3.

(17) FIG. 2 is a view provided to explain a container-based AI component installation method according to an embodiment of the present disclosure.

(18) As shown in FIG. 2, the docker 110 may include a container manager 120. The container manager 120 installs AI components in the containers 130-1, 130-2, 130-(n-1), and 130-n.

(19) Specifically, a component interface 140 selects at least one of pre-created/stored AI components 150, and generates an image, and the container manager 120 receives the image from the component interface 140 and installs the image in a corresponding container. Accordingly, an internal program of the corresponding container may be driven.

(20) FIG. 3 is a view provided to explain a container-based AI component management method according to another embodiment of the present disclosure.

(21) As shown in FIG. 3, the container manager 120 includes a QoS manager 125. The QoS manager 125 sets execution priorities of the AI components installed in the containers 130-1, 130-2, 130-(n-1), and 130-n, and transmits the set execution priority information to the containers 130-1, 130-2, 130-(n-1), and 130-n.

(22) The execution priorities of the AI components may vary according to the containers 130-1, 130-2, 130-(n-1), and 130-n.

(23) The containers 130-1, 130-2, 130-(n-1), and 130-n retain the execution priority information provided from the QoS manager 125, operate the AI components according to the priority information, and maximize driving efficiency of the AI components, and eventually, realize performance optimization of the AI components in a virtual environment.

(24) FIG. 4 is a flowchart provided to explain a container-based AI component installation/management method according to still another embodiment of the present disclosure.

(25) As shown in FIG. 4, the docker 110 creates a container (S210), and the container manager 120 receives an image which is created by the component interface 140 selecting at least one of the pre-created/stored AI components 150 (S220), and installs the image in a corresponding container (S230).

(26) Next, the QoS manager 125 of the container manager 120 sets execution priorities of the AI components installed in the containers 130-1, 130-2, 130-(n-1), and 130-n (S240), and transmits the set execution priority information to the containers 130-1, 130-2, 130-(n-1), and 130-n (S250).

(27) Accordingly, the containers 130-1, 130-2, 130-(n-1), and 130-n operate the AI components according to the execution priorities (S260).

(28) The container-based AI component installation/management methods have been described up to now.

(29) Embodiments of the present disclosure suggest making an independent AI program, which provides an enhanced function, into a component, and implementing a mutual interface function for managing AI component data, which supports a plug-and-play associated with container-based virtualization technology, so as to efficiently respond to a virtual environment.

(30) Accordingly, the efficiency of driving the AI component functions can be maximized, an interface for optimizing the performance of AI components in the virtual environment can be realized, and real-time processing through execution priorities of the AI components and QoS supporting can be achieved.

(31) Hereinafter, a method for remotely calling an AI component will be described.

(32) FIG. 5 is a view illustrating a structure of a container-based virtualization system. The container-based virtualization provides a virtual environment of a process execution method, differentied from the concept of a virtual machine having an independent operating system mounted therein, and further enhances stability and security of the system.

(33) As shown in FIG. 5, the container-based virtualization system is established by including containers 310-1, 310-2, 310-3, and 310-n, a local network abstraction module 320, and an operating system 330.

(34) The containers 310-1, 310-2, 310-3, and 310-n create resources which are isolated from one another according to users. The containers 310-1, 310-2, 310-3, and 310-n have their required internal programs installed therein, respectively.

(35) The internal programs installed in the containers 310-1, 310-2, 310-3, and 310-n may be AI programs, which are operated independently and implement the AI functions capable of performing a plug-and-play, that is, the above-described AI components.

(36) In addition to the AI components, programs of other types may be installed in the containers 310-1, 310-2, 310-3, and 310-n, and even in this case, the technical concept of the present disclosure can be applied.

(37) The local network abstraction module 320 is a module for a communication interface of the containers 310-1, 310-2, 310-3, and 310-n in the virtual system.

(38) Hereinafter, a structure of a container-based virtualization system capable of remotely calling an internal program of a container will be described in detail with reference to FIG. 6. FIG. 6 is a view illustrating a virtualization system according to an embodiment of the present disclosure.

(39) As shown in FIG. 6, in addition to internal programs (algorithms, libraries, etc.) of various purposes, remote access units 315 are installed in the containers 310-1, 310-2, 310-3, and 310-n.

(40) The remote access units 315 enable external programs to call the internal programs of the containers 310-1, 310-2, 310-3, and 310-n, and to change or edit functions of the internal programs (for example, AI components).

(41) The remote access unit 315 installed in the container-1 310-1 is for calling the internal program of the container-1 310-1, the remote access unit 315 installed in the container-2 310-2 is for calling the internal program of the container-2 310-2, the remote access unit 315 installed in the container-3 310-3 is for calling the internal program of the container-3 310-3, and the remote access unit 315 installed in the container-n 310-n is for calling the internal program of the container-n 310-n.

(42) In addition, as shown in FIG. 6, a remote network function module 325 is provided in the local network abstraction module 320. The remote network function module 325 supports the external programs to access/interwork with the remote access units 315 of the containers 310-1, 310-2, 310-3, and 310-n.

(43) FIG. 7 is a flowchart provided to explain a container-based method for remotely calling a program according to another embodiment of the present disclosure.

(44) As shown in FIG. 7, when a container is created (S410), an internal program (AI component) is installed in the container (S420), and a remote access unit is installed to be able to remotely call a program based on the container (S430).

(45) The order of steps S420 and S430, that is, the order of installing the internal program and the remote access unit in the container, may be changed.

(46) Then, an external program accesses the remote access unit of the container in which an internal program that the external program intends to call is installed through the remote network function module of the local network abstraction module (S440).

(47) Thereafter, the external program calls the internal program of the container by interworking with the remote access unit (S450).

(48) Meanwhile, the execution priority of the AI component called by the remote access unit can be increased. Furthermore, the execution priority of the AI component the function of which is changed or edited after being called can be further increased.

(49) In other words, the execution priority of the AI component which is just called may be increased by one step, and the execution priority of the AI component the function of which is changed or edited after being called may be increased by two steps.

(50) Preferred embodiments of the method for remotely calling the internal program (AI component) of the container have been described in detail up to now.

(51) Embodiments of the present disclosure suggest the method for remotely function-calling various AI components which are operated independently and are capable of performing a plug-and-play, and, by this method, can maximize performance and efficiency of virtualization resources.

(52) FIG. 8 is a view illustrating a hardware structure of a cloud server which can implement a virtualization system according to still another embodiment of the present disclosure. As shown in FIG. 8, the cloud server includes a communication unit 510, a processor 520, and a storage 530.

(53) The communication unit 510 may be for communicating with another server or an external terminal through a network, and the processor 520 configures/operates the above-described virtualization system, and in particular, performs procedures necessary for creating/managing AI components, and for remotely calling, changing, or editing. The storage 530 provides a storage space necessary for configuring/operating the virtualization system.

(54) The technical idea of the present disclosure may be applied to a computer-readable recording medium which records a computer program for performing functions of the apparatus and the method according to the present embodiments. In addition, the technical idea according to various embodiments of the present disclosure may be implemented in the form of a computer-readable code recorded on a computer-readable recording medium. The computer-readable recording medium may be any data storage device that can be read by a computer and can store data. For example, the computer-readable recording medium may be a read only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical disk, a hard disk drive, or the like. A computer-readable code or program that is stored in the computer-readable recording medium may be transmitted via a network connected between computers.

(55) In addition, while preferred embodiments of the present disclosure have been illustrated and described, the present disclosure is not limited to the above-described specific embodiments. Various changes can be made by a person skilled in the art without departing from the scope of the present disclosure claimed in claims, and also, changed embodiments should not be understood as being separate from the technical idea or prospect of the present disclosure.