Method and apparatus for monitoring and reconstructing a software-defined plc
AssigneeKyland Technology Co., Ltd.
InventorJianwei SONG
Life of this patent
Estimating the term…
Abstract
Method and apparatus for monitoring and reconstructing a software-defined PLC are provided. The method includes: upon monitoring a PLC fails, obtaining, by a soft guardian, an operating state of each physical core on each server in a server cluster, and an operating state of each micro kernel on the each physical core; determining a target micro kernel according to the operating state of each physical core on each server, and the operating state of each micro kernel on each physical core; and transmitting a reconstruction instruction to the target micro kernel to instruct the virtual PLC to be reconstructed on the target micro kernel.
Claims18
A method for monitoring and reconstructing a software-defined Programmable Logic Controller (PLC), wherein the method is applicable to a server cluster, each of a plurality of servers in the server cluster comprises at least one physical core on which at least two micro kernels are deployed, the server cluster comprises one or more soft guardians, and a virtual PLC or the soft guardian is deployed on the micro kernel;
- and the method comprises:
- upon monitoring that the virtual PLC fails, obtaining, by the soft guardian, an operating state of each physical core on each server in the server cluster, and an operating state of each micro kernel on the each physical core;
- determining, by the soft guardian, a target micro kernel according to the operating state of the each physical core on the each server, and the operating state of the each micro kernel on the each physical core;
- and
- transmitting, by the soft guardian, a reconstruction instruction to the target micro kernel, wherein the reconstruction instruction is configured to instruct the virtual PLC to be reconstructed on the target micro kernel.
A method for monitoring and reconstructing a software-defined PLC, wherein the method is applicable to a server cluster, each of a plurality of servers in the server cluster comprises at least one physical core on which at least two micro kernels are deployed, the server cluster comprises one or more guardians, and a virtual PLC or the soft guardian is deployed on the micro kernel;
- and the method comprises:
- receiving, by a server, a reconstruction instruction from the soft guardian, wherein the reconstruction instruction comprises a user program compiled result file of a specified virtual PLC monitored by the soft guardian, and a target micro kernel on which the specified virtual PLC is to be reconstructed;
- and
- reconstructing, by the server, the specified virtual PLC on the target micro kernel according to the user program compiled result file of the specified virtual PLC.
A server for monitoring and reconstructing a software-defined PLC, wherein the server is applicable to a server cluster, each of a plurality of servers in the server cluster comprise at least one physical core on which at least two micro kernels are deployed, the server cluster comprises one or more guardians, and a virtual PLC or the soft guardian is deployed on the micro kernel;
- and the soft guardian deployed on the server comprises:
- a memory configured to store program instructions;
- and
- a processor configured to invoke the program instructions stored in the memory to obtain an operating state of each physical core on each server in the server cluster, and an operating state of each micro kernel on the each physical core;
- to determine a target micro kernel according to the operating state of the each physical core on the each server, and the operating state of the each micro kernel on the each physical core;
- and
- to transmit a reconstruction instruction to the target micro kernel, wherein the reconstruction instruction is configured to instruct the virtual PLC to be reconstructed on the target micro kernel.
Dependencies are inferred from the claim text.