A real-time container orchestration and scheduling framework based on 4DIAC

Through the real-time container orchestration and scheduling framework based on 4DIAC, combined with real-time and non-real-time operating systems, resource management and scheduling of industrial real-time containers is realized, and the problem of the inability to manage industrial real-time containers in the existing technology is solved, and slight changes to code and space are achieved. The unified scheduling management with small occupancy meets the needs of different application scenarios.

CN114816754BActive Publication Date: 2024-12-13SICHUAN INDEPENDENT CONTROLLABLE ELECTRONIC INFORMATION IND CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210458212.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-28
Publication Date
2024-12-13
Estimated Expiration
2042-04-28

AI Technical Summary

Technical Problem

The existing technology cannot effectively manage industrial real-time containers and lacks reasonable management and scheduling support for them.

Method used

Adopt the real-time container orchestration and scheduling framework based on 4DIAC, combining real-time operating system and non-real-time operating system, and through the container proxy operation environment and real-time operation and maintenance tools, real-time resource management and unified scheduling of real-time containers are realized, and the interoperability of 4DIAC and real-time operating environment is utilized. Internet, real-time container creation, resource management and monitoring.

Benefits of technology

It realizes the slight code changes to real-time containers and the unified scheduling management with small space usage, optimizes configuration operations to meet the ready-to-use needs of different application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114816754B_ABST
    Figure CN114816754B_ABST
Patent Text Reader

Abstract

The present invention is applicable to the field of container technology in virtualization technology, and provides a real-time container orchestration and scheduling framework based on 4DIAC, including real-time container operation and maintenance tools, industrial automation control framework 4DIAC, server system, container agent operating environment, real-time operating environment, real-time container and hyper-convergence control platform; the server system includes a real-time operating system and a non-real-time operating system; the hyper-convergence control platform runs on the real-time operating system, and the non-real-time operating system runs 4DIAC; the hyper-convergence control platform is provided with a real-time container created by 4DIAC, the container agent operating environment is deployed in the real-time container, and the real-time operating environment is directly embedded in the container agent operating environment for operation; the container agent operating environment is used to interconnect the real-time operating environment and 4DIAC, so that the real-time container can be managed through the real-time container operation and maintenance tool in the real-time operating environment. Through the present invention, real-time containers can be uniformly scheduled and managed under the premise of slightly changing the code.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of container technology in virtualization technology, and specifically relates to a real-time container orchestration and scheduling framework based on 4DIAC and a container resource management method. Background Art

[0002] The current management method for containers usually uses container orchestration tools such as Docker Swarm and Kubernetes to perform lifecycle management, cluster management, automated deployment, resource scaling, visualization management, and application container management.

[0003] However, these existing container orchestration tools only manage non-real-time containers in clusters and do not manage industrial real-time containers.

[0004] The implementation and operation of industrial real-time containers require the support of the real-time operating system container runtime environment. Summary of the Invention

[0005] The main purpose of the present invention is to propose a real-time container orchestration and scheduling framework and container resource management method based on 4DIAC to solve the problem of no reasonable management of industrial real-time containers in the existing technology.

[0006] To achieve the above objectives, the first aspect of an embodiment of the present invention provides a real-time container orchestration and scheduling framework based on 4DIAC, including a real-time container operation and maintenance tool, an industrial automation control framework 4DIAC, a server system, a container agent operating environment, a real-time operating environment, a real-time container, and a hyper-converged control platform;

[0007] The server system includes a real-time operating system and a non-real-time operating system;

[0008] The hyper-convergence control platform runs on the real-time operating system, and the non-real-time operating system runs the 4DIAC; the hyper-convergence control platform is provided with a real-time container created by the 4DIAC, a container agent operating environment is deployed in the real-time container, and the real-time operating environment is directly embedded in the container agent operating environment for operation;

[0009] The container agent operating environment is used to interconnect the real-time operating environment and the 4DIAC, so that the real-time container can be managed through the real-time container operation and maintenance tool in the real-time operating environment.

[0010] Optionally, the 4DIAC is a 61499 network framework.

[0011] Optionally, the container proxy operating environment is an operating environment based on the IEC61499 standard, and the real-time operating environment is an operating environment based on the IEC61131-3 standard.

[0012] Optionally, the real-time operating environment and the 4DIAC are interconnected, including:

[0013] The address of the real-time operating environment is the address of the real-time container, and other containers access the real-time container through the address.

[0014] Optionally, performing resource management on the real-time container by using the real-time container operation and maintenance tool in the real-time operating environment includes:

[0015] The real-time container operation and maintenance tool integrates the container agent operating environment and the real-time container, and the container agent operating environment runs directly in the real-time container;

[0016] The real-time container operation and maintenance tool embeds the real-time operating environment into the container agent operating environment to generate a final real-time container image;

[0017] The real-time container is configured and managed by modifying the 4DIAC interface.

[0018] A second aspect of an embodiment of the present invention provides a container resource management method using the 4DIAC-based real-time container orchestration and scheduling framework as described in the first aspect, comprising the following steps:

[0019] S1. Create a real-time container using the industrial automation control framework 4DIAC and deploy the container agent runtime environment in the real-time container.

[0020] S2. Capturing 4DIAC's operation commands on the real-time container through the container proxy runtime environment, then encapsulating and forwarding the operation commands to the hyper-converged control platform, and executing the operation commands through the hyper-converged control platform;

[0021] S3. Implement all operation interfaces of the real-time container through the container proxy runtime environment encapsulation, call the operation interface, generate the corresponding Shell command, and forward it to the real-time runtime environment for execution;

[0022] S4. The container agent operating environment actively obtains the physical resource usage environment of the real-time operating system and the resource usage of the real-time container through the real-time container operation and maintenance tool, and reports the monitoring data to 4DIAC.

[0023] Optionally, the operation command includes at least one of creation, resource elastic scaling, deletion and monitoring.

[0024] Optionally, the method further includes configuring and managing the real-time container by modifying a management interface of the 4DIAC.

[0025] The beneficial effects of the present invention are as follows: the present invention adopts the 4DIAC framework, and with slight code changes, almost no changes to the existing real-time operating system and as little space as possible, real-time containers can be uniformly scheduled and managed.

[0026] The present invention optimizes and simplifies the configuration operation and usage of the real-time container, and can meet the needs of different application scenarios for the ready-to-use real-time container environment. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 A schematic diagram of the composition structure of a real-time container orchestration and scheduling framework based on 4DIAC provided in an embodiment of the present invention;

[0028] Figure 2 A schematic diagram of the implementation flow of the container resource management method provided in an embodiment of the present invention.

[0029] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION

[0030] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0031] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.

[0032] In this document, suffixes such as "module," "component," or "unit" used to represent elements are only used to facilitate description of the present invention and have no specific meaning. Therefore, "module" and "component" can be used interchangeably.

[0033] like Figure 1 As shown, a real-time container orchestration and scheduling framework 100 based on 4DIAC includes a real-time container operation and maintenance tool 101, an industrial automation control framework 4DIAC 102, a server system 103, a container agent operating environment 104, a real-time operating environment 105, a real-time container 106, and a hyper-converged control platform 107;

[0034] The server system 103 includes a real-time operating system 1031 and a non-real-time operating system 1032 ; the real-time operating system 1031 runs a hyper-converged control platform 107 , and the non-real-time operating system 1032 runs 4DIAC 102 .

[0035] 4DIAC102 is used to create a real-time container 106, in which the container agent operating environment 104 is deployed. The real-time operating environment 105 is directly embedded in the container agent operating environment 104 for operation, and the real-time container 106 is set in the hyper-converged control platform 107.

[0036] The container agent runtime environment 104 is used to interconnect the real-time runtime environment 105 and the 4DIAC 102 so that resources of the real-time container 106 can be managed in the real-time runtime environment 105 through the real-time container operation and maintenance tool 101.

[0037] In the embodiment of the present invention, 4DIAC is a 61499 network framework. The container agent operating environment is an operating environment based on the IEC 61499 standard, and the real-time operating environment is an operating environment based on the IEC 61131-3 standard.

[0038] One way to achieve intercommunication between the real-time operating environment and 4DIAC is:

[0039] The address of the real-time operating environment is the address of the real-time container, and other containers access the real-time container through the address.

[0040] In an embodiment of the present invention, the real-time container operation and maintenance tool can implement the following functions to perform resource management of the real-time container by the real-time operating environment, including:

[0041] The real-time container operation and maintenance tool integrates the container agent operating environment and the real-time container, and the container agent operating environment runs directly in the real-time container;

[0042] The real-time container operation and maintenance tool embeds the real-time operating environment into the container agent operating environment to generate a final real-time container image;

[0043] The real-time container is configured and managed by modifying the management interface of the 4DIAC.

[0044] The embodiment of the present invention also illustrates the working principle of the above-mentioned 4DIAC-based real-time container orchestration and scheduling framework 100 through the working process of the container proxy operating environment.

[0045] First, 4DIAC creates a real-time container, which contains a container agent runtime environment. The container agent runtime environment enables interoperability between the real-time runtime environment and 4DIAC. Specifically, the address of the real-time runtime environment is the address of the real-time container, and other containers access the real-time container through this address. Based on this, the working process of the container agent runtime environment is as follows:

[0046] (1) The container agent runtime environment captures all operations (creation, resource elastic scaling, deletion, monitoring, etc.) performed by 4DIAC on the container, and then encapsulates and forwards the operation commands to the hyper-converged control platform, allowing the hyper-converged control platform to execute these operation commands;

[0047] (2) The container agent runtime environment encapsulates and implements all operation interfaces of the real-time container. By calling these interfaces, it generates corresponding Shell commands and forwards them to the real-time runtime environment for execution;

[0048] (3) The container agent runtime environment proactively obtains the physical resource usage of the real-time operating system and the resource usage of the real-time container, and reports the monitoring data to 4DIAC.

[0049] It should be noted that the Shell command is an application command, and the application is used to provide an interface through which users access the services of the operating system kernel.

[0050] The embodiments of the present invention utilize real-time container operation and maintenance tools and a container proxy runtime environment, allowing the real-time runtime environment to be directly embedded into a pre-configured container proxy runtime environment, thereby providing unified scheduling and management for real-time containers. This approach requires minimal code changes, requiring minimal space usage for existing real-time operating systems. Furthermore, the 4DIAC-based real-time container orchestration and scheduling framework can be used for different real-time containers, enabling ready-to-use real-time container environments in diverse application scenarios.

[0051] The embodiment of the present invention also illustrates the working principle of the above-mentioned real-time container orchestration and scheduling framework based on 4DIAC through practical application:

[0052] First, in the same network environment, use a physical server and an industrial control device, install a non-real-time operating system on the physical server, and run and install a real-time operating system on the industrial control device. Then, start the hyper-convergence control platform of the present invention on the real-time operating system, and run the real-time container on it; deploy 4DIAC on the non-real-time operating system. Secondly, prepare the container agent operating environment image made by the present invention in advance and deploy it in the real-time container, wherein the container agent operating environment will automatically establish a connection with the real-time container, and send instructions and corresponding configurations to the real-time container to create a real-time operating environment of the IEC61131-3 standard. Then, log in to the management interface of 4DIAC, start the real-time operating environment of the IEC61131-3 standard through the deployed container agent operating environment image, and monitor its startup and running status; finally, the container agent operating environment image will return the monitoring status of the real-time operating environment corresponding to the IEC61131-3 standard to 4DIAC, allowing 4DIAC to display it in a unified manner.

[0053] like Figure 2 As shown, an embodiment of the present invention further provides a container resource management method using the above-mentioned 4DIAC-based real-time container orchestration and scheduling framework, comprising the following steps:

[0054] S1. Create a real-time container using the industrial automation control framework 4DIAC and deploy the container agent runtime environment in the real-time container.

[0055] S2. Capturing 4DIAC's operation commands on the real-time container through the container proxy runtime environment, then encapsulating and forwarding the operation commands to the hyper-converged control platform, and executing the operation commands through the hyper-converged control platform;

[0056] S3. Implement all operation interfaces of the real-time container through the container proxy runtime environment encapsulation, call the operation interface, generate the corresponding Shell command, and forward it to the real-time runtime environment for execution;

[0057] S4. The container agent operating environment actively obtains the physical resource usage environment of the real-time operating system and the resource usage of the real-time container through the real-time container operation and maintenance tool, and reports the monitoring data to 4DIAC.

[0058] In one embodiment, the operation command includes at least one of creation, resource elastic scaling, deletion, and monitoring.

[0059] In one embodiment, after the above step S4, the method further includes configuring and managing the real-time container by modifying the management interface of the 4DIAC.

[0060] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the above embodiments describe the present invention in detail, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the scope of protection of the present invention.

Claims

1. A real-time container orchestration and scheduling system based on 4DIAC, characterized in that: Including real-time container operation and maintenance tools, industrial automation control framework 4DIAC, server system, container agent operating environment, real-time operating environment, real-time container and hyper-converged control platform; The server system includes a real-time operating system and a non-real-time operating system; The real-time operating system runs the hyper-convergence control platform, and the non-real-time operating system runs the 4DIAC; The hyper-converged control platform is provided with a real-time container created by the 4DIAC, a container agent operating environment is deployed in the real-time container, and the real-time operating environment is directly embedded in the container agent operating environment for operation; The container proxy operating environment is used to interconnect the real-time operating environment and the 4DIAC, so that the real-time container can be managed through the real-time container operation and maintenance tool in the real-time operating environment.

2. According to the 4DIAC-based real-time container orchestration and scheduling system of claim 1, it is characterized in that: The 4DIAC is a 61499 network framework.

3. According to the 4DIAC-based real-time container orchestration and scheduling system of claim 1, it is characterized in that: The container proxy operating environment is an operating environment based on the IEC61499 standard, and the real-time operating environment is an operating environment based on the IEC61131-3 standard.

4. The real-time container orchestration and scheduling system based on 4DIAC according to claim 1 is characterized in that: The real-time operating environment and the 4DIAC are interconnected, including: The address of the real-time operating environment is the address of the real-time container, and other containers access the real-time container through the address.

5. The real-time container orchestration and scheduling system based on 4DIAC according to claim 1 is characterized in that: In the real-time operating environment, using the real-time container operation and maintenance tool, resource management is performed on the real-time container, including: The real-time container operation and maintenance tool integrates the container proxy operating environment and the real-time container, and the container proxy operating environment directly runs in the real-time container; The real-time container operation and maintenance tool embeds the real-time operating environment into the container agent operating environment to generate a final real-time container image; The real-time container is configured and managed by modifying the 4DIAC interface.

6. A container resource management method using the 4DIAC-based real-time container orchestration and scheduling system as claimed in claim 1, characterized in that: The following steps are involved: S1. Create a real-time container through the industrial automation control framework 4DIAC and deploy the container agent operating environment in the real-time container; S2. Capturing the operation command of 4DIAC on the real-time container through the container proxy operating environment, then encapsulating and forwarding the operation command to the hyper-converged control platform, and executing the operation command through the hyper-converged control platform; S3. All operation interfaces of the real-time container are implemented through the container proxy runtime environment encapsulation, the operation interface is called, the corresponding Shell command is generated, and it is forwarded to the real-time runtime environment for execution; S4. The container agent operating environment actively obtains the physical resource usage environment of the real-time operating system and the resource usage of the real-time container through the real-time container operation and maintenance tool, and reports the monitoring data to 4DIAC.

7. The container resource management method according to claim 6, characterized in that: The operation command includes at least one of creation, resource elastic scaling, deletion and monitoring.

8. The container resource management method according to claim 6, characterized in that: The method also includes configuring and managing the real-time container by modifying a management interface of the 4DIAC.