Nothing Special   »   [go: up one dir, main page]

CN114185640B - Virtual machine management system based on industrial private cloud - Google Patents

Virtual machine management system based on industrial private cloud Download PDF

Info

Publication number
CN114185640B
CN114185640B CN202111310391.3A CN202111310391A CN114185640B CN 114185640 B CN114185640 B CN 114185640B CN 202111310391 A CN202111310391 A CN 202111310391A CN 114185640 B CN114185640 B CN 114185640B
Authority
CN
China
Prior art keywords
virtual machine
host
machine
standby
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111310391.3A
Other languages
Chinese (zh)
Other versions
CN114185640A (en
Inventor
曹俊义
王晓伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Weilian Technology Co ltd
Original Assignee
Beijing Weilian Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Weilian Technology Co ltd filed Critical Beijing Weilian Technology Co ltd
Priority to CN202111310391.3A priority Critical patent/CN114185640B/en
Publication of CN114185640A publication Critical patent/CN114185640A/en
Application granted granted Critical
Publication of CN114185640B publication Critical patent/CN114185640B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5077Logical partitioning of resources; Management or configuration of virtualized resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45575Starting, stopping, suspending or resuming virtual machine instances
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45587Isolation or security of virtual machine instances
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Hardware Redundancy (AREA)

Abstract

The invention discloses a virtual machine management system based on an industrial private cloud, which comprises: the system comprises a client side, a virtual machine server and a server, wherein the client side is used for sending a control instruction for controlling field equipment and receiving and displaying real-time data of the field equipment; and when the load of a certain virtual machine in the first host machine continuously exceeds a threshold value, the virtual machine server automatically creates a second virtual machine with more configuration resources to take over the virtual machine aiming at the virtual machine with the load continuously exceeding the threshold value. The availability of the virtual machine management system is improved through the virtual machine server.

Description

Virtual machine management system based on industrial private cloud
Technical Field
The invention relates to the field of safety protection of industrial production private cloud environment, and ensures safe, stable and reliable continuous production on a production site; in particular, it relates to a virtual machine management system based on an industrial private cloud.
Background
Industrial personal computers often run in a severe environment, and have higher requirements on data security, so the industrial personal computers usually have special designs such as reinforcement, dust prevention, moisture prevention, corrosion prevention, radiation prevention and the like, but because each machine and each set of production system need one or more industrial personal computers as upper computers and communicate with production equipment and other central control systems, the industrial personal computers have higher dependence on operating systems, a large number of industrial personal computers cannot be upgraded and reformed at present, and the normal operation of the production systems can be seriously influenced by the faults of the industrial personal computers, even the production is stopped; secondly, the problems of large occupied area, high installation cost and the like are also problems. If a certain industrial personal computer breaks down, maintenance personnel are required to spend a long time for software deployment, even some industries need to be equipped in a whole set and clean to maintain, moreover, because the industrial personal computers are large in number, the maintenance cost and the energy cost are high, and with Microsoft not supporting Windows XP and Windows 7 systems, a lot of factories have the problem that the production of the factories is influenced due to the faults of the industrial personal computers. Moreover, when the industrial personal computer works for a long time, the aging condition is very easy to occur, after the industrial personal computer ages, the aged industrial personal computer needs to be replaced, and a newly-purchased industrial personal computer cannot install field application software, so that high software upgrading cost is caused; also, a large amount of labor and equipment costs are required.
With the development of hardware technology, virtual machine technology is widely applied in industrial production sites. Fixed and limited industrial personal computer resources are virtualized into configurable, controllable and easily managed virtual computer resources, and the resources are integrated into one or more virtual machine servers, so that the technical problem that the industrial personal computer needs to be installed on each piece of production equipment in a factory is solved, and the technical problems that the industrial personal computer depends on an operating system, the occupied area is large, and the installation cost is high are further solved. However, if the virtual machine server fails, all the virtual machines integrated inside the virtual machine server will stop running, which will bring immeasurable loss to the industrial field. How to provide a high-availability redundancy system for a virtual machine server is a technical problem to be solved urgently.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a virtual machine management system based on an industrial private cloud.
The invention provides a virtual machine management system based on an industrial private cloud, which comprises: the system comprises a client, a virtual machine server positioned on an industrial production site, PLC control equipment of field equipment, a first exchanger for realizing the connection between the client and the virtual machine server, and a second exchanger for realizing the connection between the virtual machine server and the PLC equipment, wherein the client is used for sending a control instruction for controlling the field equipment and receiving and displaying real-time data of the field equipment, and the virtual machine server is used for creating corresponding virtual machines for a PLC control system and an SCADA control system of each field equipment, and comprises: receiving a virtual machine creation request corresponding to PLC control equipment of the field equipment, wherein the creation request carries configuration information required by the creation of the virtual machine; acquiring configuration information carried in the request, creating a first virtual machine corresponding to a PLC control system and a SCADA control system in a first host machine in the virtual machine server according to the configuration information, and creating a first standby virtual machine corresponding to the PLC control system and the SCADA control system in a second host machine; when the first host machine fails, a first standby virtual machine in the second host machine takes over the operation of the first virtual machine in the first host machine, and when the load of one first virtual machine in the first host machine continuously exceeds a threshold value, the virtual machine server automatically creates a second virtual machine with more configured resources aiming at the first virtual machine of which the load continuously exceeds the threshold value, and takes over the first virtual machine of which the load continuously exceeds the threshold value by the second virtual machine, wherein the operation of the second virtual machine is in a normal load range.
Preferably, a storage device is further installed inside the virtual machine server, a first configuration file for running the first virtual machine is stored inside the storage device, the first configuration file can be read and updated in real time by the first virtual machine inside the first host or the first standby virtual machine inside the second host, and when the first host fails, the first standby virtual machine inside the second host takes over the running of the first virtual machine inside the first host, including: when the first host machine fails, the virtual machine server starts a first standby virtual machine in the second host machine, the first standby virtual machine reads the first configuration file from the storage device in real time, and updates the first configuration file by using data generated by the first standby virtual machine in real time.
Preferably, when the load of a certain first virtual machine inside the first host machine continuously exceeds a threshold, the virtual machine server automatically creates a second virtual machine with more configuration resources for the first virtual machine whose load continuously exceeds the threshold, and takes over the operation of the first virtual machine whose load continuously exceeds the threshold by the second virtual machine, where the operation of the second virtual machine is within a normal load range, and the method includes: and creating a second virtual machine with more configuration resources in the first host, wherein the virtual machine server closes the running of the first virtual machine with the load continuously exceeding the threshold value, and simultaneously starts the second virtual machine, and the second virtual machine reads and updates a first configuration file in the storage device in real time to take over the running of the first virtual machine with the load continuously exceeding the threshold value.
Preferably, when the load of a certain first virtual machine inside the first host machine continuously exceeds a threshold, the virtual machine server automatically creates a second virtual machine with more configuration resources for the first virtual machine whose load continuously exceeds the threshold, and takes over the first virtual machine whose load continuously exceeds the threshold by the second virtual machine, where the second virtual machine operates within a normal load range, and the method includes: allocating more resources to the first standby virtual machine corresponding to the virtual machine with the load continuously exceeding the threshold value in the second host machine, and transforming the first standby virtual machine into a second virtual machine with more resources; according to the load condition, the resources allocated to the second virtual machine can meet the requirements of the load on the resources, the second virtual machine reads and updates the first configuration file in the storage device in real time, and takes over the first virtual machine of which the load continuously exceeds the threshold value.
Preferably, after the first standby virtual machine is modified into a second virtual machine with more resources, and the first virtual machine with the load continuously exceeding the threshold is taken over, the following steps are executed: the virtual machine server configuring more resources for a first virtual machine whose occurring load within the first host machine continuously exceeds a threshold; restarting the first virtual machine with more resources in the first host machine, and taking over the operation of the second virtual machine in the second host machine by the first virtual machine in the first host machine; and stopping the operation of the second virtual machine, and setting the second host machine to be in a standby state.
Preferably, when a certain first virtual machine inside the first host fails, the first backup virtual machine corresponding to the failed first virtual machine inside the second host reads and updates the first configuration file inside the storage device in real time, and takes over the failed first virtual machine according to information provided by the first configuration file.
Preferably, when a failure occurs in a first virtual machine inside the first host, the first standby virtual machine in the second host corresponding to the failed virtual machine inside the first host reads and updates the first configuration file inside the storage device in real time, and after the step of taking over the failed first virtual machine according to information provided by the configuration file, the following steps are executed: and after the second standby virtual machine is established, the virtual machine server enables the second standby virtual machine to take over the operation of the first standby virtual machine, enables the first standby virtual machine to stop operating and sets the second host machine to be in a standby state.
Preferably, the virtual machine management system further includes: and when the external access power supply is powered off or fails, the internal standby battery pack continuously supplies power to the virtual machine management system.
Preferably, the virtual machine server is further configured to create a network environment for the virtual machine management system.
Preferably, the creating a network environment for the virtual machine management system includes: an external network for both communicating and isolating between the virtual machine server and the client and the PLC control device; an internal network for communicating between the virtual machine server and the host machine; and the special network is used for enabling the storage devices to communicate with the first virtual machine, the first standby virtual machine and the virtual machine server, wherein the special network is not limited to a star network, an industrial dual network and an industrial ring network.
Compared with the existing virtual machine management system, the virtual machine server included in the virtual machine management system provided by the application comprises the first host and the second host, and when the first host breaks down, the second host can take over the operation of the first host. Therefore, the situation that the virtual machine management system cannot normally run due to the failure of the first host is avoided, and the stability of the virtual machine management system is improved. When the load of the virtual machine in the virtual machine server continuously exceeds the threshold value, more resources can be configured for the virtual machine with the load continuously exceeding the threshold value, so that the virtual machine has enough resources to continue running, the high availability of the virtual machine management system is further improved through the scheme, and the experience degree of a user is improved.
Drawings
In order to facilitate understanding for those skilled in the art, the present invention will be further described with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of a virtual machine management system according to an embodiment of the present invention.
FIG. 2 is a diagram illustrating a network environment of a virtual machine management system according to a second embodiment of the present invention
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein, but rather construed as limited to the embodiments set forth herein.
The embodiment provided by the application can be applied to production scenes of industrial fields. Referring to fig. 1, which is a schematic diagram of an industrial site virtual machine management system according to an embodiment of the present invention, as shown in fig. 1, the virtual machine server 103 is connected to the client 101 (including the client 101-1, the client 101-2, \ 8230; and the client 101-N in fig. 1) through the first switch 102. The virtual machine server 103 is connected to PLC control devices 110 (including PLC control device 110-1, PLC control devices 110-2, 8230; and PLC control device 110-N in fig. 1) of the field devices through a second switch 109. The virtual machine server 103 is internally provided with a first host 104-1 and a second host 104-2 which comprise virtual machines, the first virtual machine 105 (including the first virtual machine 105-1, the first virtual machine 105-2, \ 8230;, and the first virtual machine 105-N in the first host 104-1) has a one-to-one correspondence relationship with the PLC control device 110 and the client 101, and the first standby virtual machine 106 (including the first standby virtual machine 106-1, the first standby virtual machine 106-2, \ 8230 \, and the first standby virtual machine 106-N in the second host 104-2) has a one-to-one correspondence relationship with the first virtual machine 105 in the first host 104-1. The virtual machine server is further internally provided with a storage device 107, the storage device 107 is internally stored with a first configuration file (including the first configuration file 108-1, the first configuration file 108-2, \8230andthe first configuration file 108-N in fig. 1) for operating the first virtual machine 105, and the first configuration file 108 is stored with data for operating the first virtual machine 105 and production data of a field device (not shown) sent by the PLC control system. The PLC control system in the PLC control device 110 of the field device controls the operation of the field device, and the control command of the PLC control system of the field device is transmitted from the first virtual machine 105 corresponding to the PLC control device 110 in the virtual machine server 103. Therefore, when the industrial personal computer in the industrial field needs to be replaced by the virtual machine 105 in the virtual machine management system of the present application, a first virtual machine 105 corresponding to the field PLC Control system And the industrial personal computer SCADA (Supervisory Control And Data Acquisition) Control system in the industrial field needs to be created inside the first host 104-1, where the industrial SCADA Control system is responsible for monitoring Data inside the PLC Control system, and when the PLC Control system generates new Data, the Data is collected by the industrial Control SCADA Control system inside the virtual machine server corresponding to the PLC Control system, and is stored into the first configuration file corresponding to the first virtual machine 105, so that the client 101 sends a first virtual machine 105 creation request corresponding to the field industrial personal computer to the virtual machine server 103 according to the production needs in the field, the request carries configuration information required for creating the first virtual machine 105, the configuration information corresponds to the configuration information of the field industrial personal computer 105, the virtual machine server 103 creates a virtual machine 105 request corresponding to the first virtual machine 105 inside the first host 105, and the industrial personal computer 105 creates a virtual machine 103 inside the first host 104, and the first virtual machine 105 And the industrial personal computer replaces the first virtual machine 105 inside the first host 105, thereby completing the virtual machine creation of the virtual machine 105 And the industrial personal computer. Specifically, a production instruction is sent to the first virtual machine 105 by a worker through the client 101. Then, the first virtual machine 105 transmits a control instruction to the PLC control device 110 of the field device according to the production instruction. Thereafter, the production of the field device is controlled by the PLC control device 110 of the field device. During the production process, the PLC control device 110 of the field device sends the production data of the field device to the virtual machine server 103 in real time, the virtual machine server 103 stores the received production data in the first configuration file 108 inside the storage device 107, the first virtual machine 105 reads the data inside the first configuration file 108, the first virtual machine 105 analyzes and processes the data in real time, and generates a control command and production state display data according to the analysis result, the first virtual machine 105 stores the control command and the production state display data in the first configuration file 108 inside the storage device 107, the virtual machine server 103 reads the control command in the first configuration file 108 and sends the control command to the PLC control device 110 of the field device, so as to control the production of the field production device, and the virtual machine server 103 reads the production state display data inside the first configuration file 108 and sends the production state display data to the client, and the client 101 displays the production process of the production device in real time, so that an operator can monitor the production process of the field device according to the client 101.
In this embodiment, the virtual machine server 103 is further configured to create, in the second host 104-2, a first standby virtual machine 106 that is consistent with the configuration of the first virtual machine 105 in the first host 104-1 and has a one-to-one correspondence relationship, and establish a connection between the first standby virtual machine 106 and the storage device 107. Based on this, when the virtual machine server monitors that the first host machine 104-1 fails, the virtual machine server 103 starts the second host machine 104-2, and then the first standby virtual machine 106 inside the second host machine 104-2 takes over the operation of the first virtual machine 105 inside the first host machine 104-1. Specifically, the first standby virtual machine 106 reads data of a first configuration file 108 in the storage device, and then the first standby virtual machine 106 generates a control instruction to be sent to the PLC control device according to the data stored in the first configuration file 108 in the storage device, and generates production state display data to be sent to be displayed to a worker by the client. Through the above manner, the first standby virtual machine 106 can directly take over the operation of the first virtual machine 105 inside the first host 104-1, and further, when the first host 104-1 inside the virtual machine server 103 fails, the first standby virtual machine 106 inside the second host 104-2 takes over the reading of the data in the first configuration file 108 by the first virtual machine 105 inside the first host 104-1, and the first standby virtual machine 106 sends a control instruction to the PLC control device 110 of the field device according to the data of the first configuration file 108. Therefore, the situation that the field device cannot be controlled continuously due to the failure of the first host 104-1 is avoided, and the usability of the virtual machine server 103 is improved. And the above process does not cause any influence on the field device and the PLC control device 110 of the field device, so that the operation of the field device is more stable.
In this embodiment, the virtual machine server 103 may be further configured to monitor a load condition of the first virtual machine 105 inside the virtual machine server 103, and when it is monitored that the load of the first virtual machine 105 continuously exceeds a preset threshold, it indicates that the resource of the first virtual machine 105 whose load continuously exceeds the threshold is insufficient, and at this time, the virtual machine server 103 automatically creates a second virtual machine with more resources to take over the first virtual machine 105 whose load continuously exceeds the threshold according to the first virtual machine 105 whose load continuously exceeds the threshold. The specific implementation mode comprises the following steps: creating a second virtual machine with more configured resources in the first host 104-1, taking over the operation of the first virtual machine 105 whose load continuously exceeds the threshold by the second virtual machine, further continuously sending a control instruction to the PLC control device corresponding to the first virtual machine 105 whose load continuously exceeds the threshold by the second virtual machine, and deleting the first virtual machine 105 whose load continuously exceeds the threshold inside the first host 104-1 by the virtual machine server 103 to release the resources.
In the embodiment of the present application, another embodiment is specifically: when the virtual machine server 103 monitors that the load of the first virtual machine 105 in the first host 104-1 continuously exceeds the threshold, more resources are allocated to the first standby virtual machine 106 in the second host 104-2 and corresponding to the first virtual machine 105 whose load continuously exceeds the threshold, the first standby virtual machine 106 is transformed into a second virtual machine with more resources to take over the operation of the first virtual machine 105 whose load continuously exceeds the threshold, and then the second virtual machine continuously sends a control instruction to the PLC control device corresponding to the first virtual machine 105 whose load continuously exceeds the threshold. Meanwhile, the virtual machine server controls the first virtual machine 105 whose load in the first host 104-1 continuously exceeds the threshold to stop running, further, the virtual machine server 103 reconfigures more resources for the first virtual machine 105 whose load in the first host 104-1 continuously exceeds the threshold, on this basis, the virtual machine server starts the first virtual machine 105 reconfigured with more resources in the first host 104-1, and then the first virtual machine 105 corresponding to the second host 104-2 in the first host 104-1 takes over the running of the second virtual machine in the second host 104-2, stops the running of the second virtual machine, and sets the second host 104-2 in a standby state. The second host machine 104-2 in the virtual machine server 103 is in a standby state, so that the problem that the virtual machine cannot continuously send a control instruction to the PLC control device due to the fact that the load of the virtual machine exceeds the threshold value is solved, and meanwhile, only one host machine in the virtual machine server is enabled to operate, and the effect of reducing the power consumption of the virtual machine server 103 is achieved as follows.
In the embodiment of the present application, when a certain first virtual machine 105 inside the first host 104-1 fails, the first standby virtual machine 106 corresponding to the failed first virtual machine 105 in the first host 104-1 in the second host 104-2 takes over the failed virtual machine to continue running. Now, since the first host 104-1 and the second host 104-2 inside the server are both running, in order to reduce the power consumption of the virtual machine server 103, the following steps are performed: deleting the first virtual machine 105 with the fault in the first host 104-1 by the virtual machine server 103, and then creating a second backup virtual machine corresponding to the first backup virtual machine 106 in the second host 104-2 in the first host 104-1 through the virtual machine server; after the second backup virtual machine is created, the virtual machine server 103 enables the second backup virtual machine to take over the operation of the first backup virtual machine 106, and enables the first backup virtual machine 106 to stop operating, and sets the second host 104-2 to be in a standby state. And further, a host machine in the virtual machine server is in a running state, so that the power consumption of the virtual machine server 103 is reduced.
The virtual machine server 103 according to this embodiment of the present application may further create a network environment for the virtual machine management system, where the network environment of the virtual machine management system is shown in fig. 2, and the network environment includes: an external network for communicating between the virtual machine server 103 and the client 101 and the PLC control device 110, an internal network for communicating between the virtual machine server 103 and the first host 104-1 and the second host 104-2, and a private network for communicating between the first virtual machine 105, the first standby virtual machine 106, and the virtual machine server and the storage device 107. The external network may be a local area network inside a factory, or may be a public network capable of communicating with the outside, and when the external network adopts the public network, in order to ensure the security of data, a firewall is added to the external network to prevent the leakage of data. When the external network is a local area network inside the workshop, the production data of the workshop is only transmitted in the network inside the workshop, and the safety of the data is fundamentally solved. The internal network is a local area network inside a factory, so that the client 101 cannot communicate with the first host 104-1, the second host 104-2, the first virtual machine 105, the first standby virtual machine 106 and the storage device 107 inside the virtual machine server 103 through the external network, and cannot access data of the first host 104-1, the second host 104-2, the first virtual machine 105, the first standby virtual machine 106 and the storage device inside the virtual machine server 103 through the external network, thereby ensuring the security of the data of the hosts and the virtual machines. In addition, when the first virtual machine 105 is created according to the creation request, an internal network created by the virtual machine server 103 is used, the internal network is a network that enables only the virtual machine server 103 to communicate with the virtual machine and the first and second hosts 104-1 and 104-2, and in the present application, a private network created by the virtual machine server 103 is used to read data in the storage device 107 by the virtual machine server 103, the first virtual machine 105, and the first standby virtual machine 106, and the private network is a private network that enables only the storage device to communicate with the first virtual machine, the first standby virtual machine, and the virtual machine server, thereby ensuring the security of the field data. Specifically, the private network is not limited to a star network, an industrial dual network, or an industrial ring network. In the above process of creating the first virtual machine 105 and migrating the data of the first virtual machine 105 to the first standby virtual machine 106, the data are transmitted inside the virtual machine server 103 without overlapping, so that the security and stability of the data are ensured.
Optionally, an external access power supply and an internal first backup battery pack are further configured inside a virtual machine server of the virtual machine management system, and when the external access power supply is in a power failure condition or fails, the internal first backup battery pack continues to supply power to the virtual machine management system so that the virtual machine management system continues to provide services, so that the availability of the virtual machine management system is improved, and further, the experience of a user is improved.
Although the present invention has been described with reference to the preferred embodiments, it is not intended to be limited thereto, and variations and modifications may be made by those skilled in the art without departing from the spirit and scope of the present invention.

Claims (10)

1. A virtual machine management system based on an industrial private cloud, comprising: the system comprises a client, a virtual machine server positioned on an industrial production site, PLC control equipment of field equipment, a first exchanger for realizing the connection of the client and the virtual machine server, and a second exchanger for realizing the connection of the virtual machine server and the PLC equipment;
the client is used for sending a control instruction for controlling the field equipment and receiving and displaying real-time data of the field equipment;
the virtual machine server is used for creating corresponding virtual machines for the PLC control system and the SCADA control system of each field device, and comprises: receiving a virtual machine creation request corresponding to PLC control equipment of the field equipment, wherein the creation request carries configuration information required by the creation of the virtual machine; acquiring configuration information carried in the request, creating a first virtual machine corresponding to a PLC (programmable logic controller) control system and a SCADA (supervisory control and data acquisition) control system in a first host machine in the virtual machine server according to the configuration information, wherein the first virtual machine, the PLC control device and the client have a one-to-one correspondence relationship, the first virtual machine receives a production instruction sent by the client corresponding to the first virtual machine, the first virtual machine sends a control instruction to the PLC control device corresponding to the first virtual machine according to the production instruction, and creates a first standby virtual machine corresponding to the PLC control system and the SCADA control system in a second host machine; when the first host machine fails, a first standby virtual machine in the second host machine takes over the operation of the first virtual machine in the first host machine, and when the load of a certain first virtual machine in the first host machine continuously exceeds a threshold value, the virtual machine server automatically creates a second virtual machine with more configured resources for the first virtual machine with the load continuously exceeding the threshold value, and takes over the first virtual machine with the load continuously exceeding the threshold value by the second virtual machine, wherein the operation of the second virtual machine is in a normal load range;
the virtual machine server is internally provided with a storage device, a first configuration file for operating the first virtual machine is stored in the storage device, the first configuration file and the first virtual machine are in one-to-one correspondence, and the first configuration file can be read and updated in real time by the first virtual machine in the first host machine or the first standby virtual machine in the second host machine; the first configuration file stores production data of field equipment sent by PLC control equipment in a first virtual machine corresponding to the first configuration file, data collected from the PLC control system sent by an SCADA control system in the first virtual machine corresponding to the first configuration file, and control instructions and production state display data, wherein the control instructions and the production state display data are generated by analyzing and processing the data read from the first configuration file by the first virtual machine.
2. The virtual machine management system according to claim 1, wherein the taking over, by a first standby virtual machine in the second host machine, the operation of the first virtual machine inside the first host machine when the first host machine fails comprises:
when the first host machine fails, the virtual machine server starts a first standby virtual machine in the second host machine;
and the first standby virtual machine reads the first configuration file from the storage equipment in real time and updates the first configuration file by using data generated by the first standby virtual machine in real time.
3. The virtual machine management system according to claim 2, wherein when the load of a certain first virtual machine inside the first host machine continuously exceeds a threshold, the virtual machine server automatically creates a second virtual machine with more configuration resources for the first virtual machine whose load continuously exceeds the threshold, and takes over the running of the first virtual machine whose load continuously exceeds the threshold by the second virtual machine, and the running of the second virtual machine is within a normal load range, including:
creating a second virtual machine with more configuration resources within the first host;
the virtual machine server closes the operation of the first virtual machine with the load continuously exceeding a threshold value, and simultaneously starts the second virtual machine;
and the second virtual machine reads and updates a first configuration file in the storage device in real time so as to take over the running of the first virtual machine with the load continuously exceeding the threshold value.
4. The vm management system according to claim 2, wherein when the load of a certain first vm inside the first host continuously exceeds a threshold, the vm server automatically creates a second vm with more configured resources for the first vm with the load continuously exceeding the threshold, and takes over the first vm with the load continuously exceeding the threshold by the second vm, and the second vm runs in a normal load range, and the method comprises:
allocating more resources to the first standby virtual machine corresponding to the virtual machine with the load continuously exceeding the threshold value in the second host machine, and transforming the first standby virtual machine into a second virtual machine with more resources; according to the load condition, the resource distributed to the second virtual machine can meet the requirement of the load on the resource;
and the second virtual machine reads and updates a first configuration file in the storage device in real time, and takes over the first virtual machine with the load continuously exceeding the threshold value.
5. The virtual machine management system according to claim 4, wherein after the first standby virtual machine is modified to be a second virtual machine with more resources, and the first virtual machine with the load continuously exceeding a threshold value is taken over, the following steps are performed:
the virtual machine server configuring more resources for a first virtual machine within the first host machine whose present load continuously exceeds a threshold;
restarting the first virtual machine with more resources in the first host machine, and taking over the running of the second virtual machine in the second host machine by the first virtual machine in the first host machine;
and stopping the operation of the second virtual machine, and setting the second host machine to be in a standby state.
6. The vm management system according to claim 2, wherein when a first vm inside the first host fails, a first standby vm inside the second host corresponding to the failed first vm reads and updates the first configuration file inside the storage device in real time, and takes over the failed first vm according to information provided by the first configuration file.
7. The virtual machine management system according to claim 6, wherein, when a certain first virtual machine inside the first host fails, the first backup virtual machine inside the second host corresponding to the virtual machine that has failed inside the first host reads and updates the first configuration file inside the storage device in real time, and according to the information provided by the configuration file, after the step of taking over the first virtual machine that has failed, the following steps are performed:
creating a second standby virtual machine corresponding to a first standby virtual machine in a second host machine in the first host machine;
after the second standby virtual machine is established, enabling the second standby virtual machine to take over the running of the first standby virtual machine by the virtual machine server, and enabling the first standby virtual machine to stop running;
and setting the second host machine to be in a standby state.
8. The virtual machine management system according to any one of claims 1 to 7, further comprising: and when the external access power supply is powered off or fails, the internal standby battery pack continuously supplies power to the virtual machine management system.
9. The virtual machine management system according to claim 2, wherein the virtual machine server is further configured to create a network environment for the virtual machine management system.
10. The vm management system of claim 9, wherein the creating a network environment for the vm management system comprises:
an external network for both communicating and isolating between the virtual machine server and the client and the PLC control device;
an internal network for communicating between the virtual machine server and the host machine;
and the special network is used for enabling the storage devices to communicate with the first virtual machine, the first standby virtual machine and the virtual machine server, wherein the special network is not limited to a star network, an industrial dual network and an industrial ring network.
CN202111310391.3A 2021-11-04 2021-11-04 Virtual machine management system based on industrial private cloud Active CN114185640B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111310391.3A CN114185640B (en) 2021-11-04 2021-11-04 Virtual machine management system based on industrial private cloud

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111310391.3A CN114185640B (en) 2021-11-04 2021-11-04 Virtual machine management system based on industrial private cloud

Publications (2)

Publication Number Publication Date
CN114185640A CN114185640A (en) 2022-03-15
CN114185640B true CN114185640B (en) 2023-02-17

Family

ID=80601935

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111310391.3A Active CN114185640B (en) 2021-11-04 2021-11-04 Virtual machine management system based on industrial private cloud

Country Status (1)

Country Link
CN (1) CN114185640B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102236582A (en) * 2011-07-15 2011-11-09 浙江大学 Method for balanced distribution of virtualization cluster load in a plurality of physical machines
CN102457512A (en) * 2010-11-08 2012-05-16 中标软件有限公司 Thin client server virtualization method and virtual thin client server
CN103870341A (en) * 2014-03-12 2014-06-18 汉柏科技有限公司 Method and system of adjusting resources of virtual machine
CN104461731A (en) * 2014-10-23 2015-03-25 杭州华三通信技术有限公司 Virtual machine resource recycling method and device in dynamic resource expanding
CN108304281A (en) * 2018-02-28 2018-07-20 南京铱迅信息技术股份有限公司 A kind of method that virtual machine is backed up in realtime
CN113127146A (en) * 2020-01-16 2021-07-16 上海盛霄云计算技术有限公司 Heterogeneous dynamic random scheduling method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457512A (en) * 2010-11-08 2012-05-16 中标软件有限公司 Thin client server virtualization method and virtual thin client server
CN102236582A (en) * 2011-07-15 2011-11-09 浙江大学 Method for balanced distribution of virtualization cluster load in a plurality of physical machines
CN103870341A (en) * 2014-03-12 2014-06-18 汉柏科技有限公司 Method and system of adjusting resources of virtual machine
CN104461731A (en) * 2014-10-23 2015-03-25 杭州华三通信技术有限公司 Virtual machine resource recycling method and device in dynamic resource expanding
CN108304281A (en) * 2018-02-28 2018-07-20 南京铱迅信息技术股份有限公司 A kind of method that virtual machine is backed up in realtime
CN113127146A (en) * 2020-01-16 2021-07-16 上海盛霄云计算技术有限公司 Heterogeneous dynamic random scheduling method and system

Also Published As

Publication number Publication date
CN114185640A (en) 2022-03-15

Similar Documents

Publication Publication Date Title
CN1947096B (en) Dynamic migration of virtual machine computer programs
CN107741875B (en) Heterogeneous management system
JP5842976B2 (en) Power supply device, program, and control method
CN103324156A (en) Process control system
CN106980529B (en) Computer system for managing resources of baseboard management controller
CN103532753A (en) Double-computer hot standby method based on memory page replacement synchronization
WO2015190934A1 (en) Method and system for controlling well operations
CN103595572B (en) A kind of method of cloud computing cluster interior joint selfreparing
CN109654666A (en) Method, device and equipment for debugging unit
CN104598346A (en) Monitoring management device and method for rapid fault location in server system
CN104468217A (en) Network reconstruction method under 1394 network manager fault
KR101300743B1 (en) Building management control system which uses full redundancy type direct digital controller
CN105068763A (en) Virtual machine fault-tolerant system and method for storage faults
CN111273577B (en) Facility monitoring system and communication method for facility monitoring system
CN114185640B (en) Virtual machine management system based on industrial private cloud
US10281886B2 (en) Method and device for the energy-efficient control of a plant
JP2004355446A (en) Cluster system and its control method
US11093014B2 (en) Method for monitoring, control and graceful shutdown of control and/or computer units
CN109656213B (en) Man-machine interface system with power-loss protection mechanism and distributed control system
CN111176893A (en) Computer remote control method, device, system and storage medium
JP2014215622A (en) Plant monitoring system and plant monitoring method
CN115292004A (en) Fault emergency method and device, electronic equipment and storage medium
CN114138567A (en) Substrate management control module maintenance method, device, equipment and storage medium
CN108255639A (en) A kind of server system
KR20170014344A (en) Energy management system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant