CN112148553A - Equipment monitoring method, device, system and computer readable storage medium - Google Patents

Equipment monitoring method, device, system and computer readable storage medium Download PDF

Info

Publication number
CN112148553A
CN112148553A CN202010956229.8A CN202010956229A CN112148553A CN 112148553 A CN112148553 A CN 112148553A CN 202010956229 A CN202010956229 A CN 202010956229A CN 112148553 A CN112148553 A CN 112148553A
Authority
CN
China
Prior art keywords
container
equipment
management platform
mirror image
version
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.)
Withdrawn
Application number
CN202010956229.8A
Other languages
Chinese (zh)
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 Inspur Data Technology Co Ltd
Original Assignee
Beijing Inspur Data 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 Inspur Data Technology Co Ltd filed Critical Beijing Inspur Data Technology Co Ltd
Priority to CN202010956229.8A priority Critical patent/CN112148553A/en
Publication of CN112148553A publication Critical patent/CN112148553A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3037Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a memory, e.g. virtual memory, cache
    • 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/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Mathematical Physics (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a device monitoring method, a device, a system and a computer readable storage medium, wherein the method comprises the following steps: receiving a container generation command sent by a management platform; wherein the container generation command comprises a storage path of the mirror image package; acquiring a mirror image packet according to the container generation command; and generating a container on the equipment by using the mirror image package, collecting equipment information of the equipment by using the container, and sending the equipment information to the management platform so as to display the equipment information by the management platform. According to the technical scheme, the container is generated on the equipment, the container is used for collecting the equipment information and sending the equipment information to the management platform, the collection and sending of the equipment information are operated on the equipment in the container mode, the monitoring of the equipment and the operation system at the bottom layer of the equipment are isolated through the container, the influence on the collection and sending of the equipment information due to the bottom layer environment configuration is avoided, the work such as environment configuration is not needed, and the monitoring efficiency of the equipment is improved.

Description

Equipment monitoring method, device, system and computer readable storage medium
Technical Field
The present application relates to the field of device monitoring technologies, and in particular, to a device monitoring method, apparatus, system, and computer-readable storage medium.
Background
During the operation of the equipment, an administrator wants to be able to view real-time operation information, performance and capacity information, and the like of the equipment in time on an equipment management platform.
At present, one way is that a management platform actively sends requests to devices, executes query commands or calls an REST (representational state transfer) interface after device verification, processes and displays returned related information, and checks and analyzes the returned related information by a user, however, in this way, when a large number of devices are managed on the management platform or the query of real-time information is frequent, the management platform initiates the requests to occupy a large CPU and a large memory, thereby causing a large pressure to the management platform; another way is to deploy agents on the devices, collect relevant information of the devices by using the agents, and then send the collected information to the management platform, which can distribute collection work to each device, thereby reducing the pressure of the management platform, but because the environment configurations of the bottom layers of the devices are different, the deployment of the agents on different devices may require setting environment variables, modifying environment configurations, and the like, which takes a lot of time, thereby reducing the monitoring efficiency of the devices.
In summary, how to improve the monitoring efficiency of the device is a technical problem to be solved urgently by those skilled in the art.
Disclosure of Invention
In view of the above, an object of the present application is to provide a device monitoring method, apparatus, system and computer-readable storage medium, which are used to improve the monitoring efficiency of a device.
In order to achieve the above purpose, the present application provides the following technical solutions:
a device monitoring method, comprising:
receiving a container generation command sent by a management platform; the container generation command comprises a storage path of a mirror image package;
acquiring the mirror image package according to the container generation command;
and generating a container on the equipment by using the mirror image package, collecting equipment information of the equipment by using the container, and sending the equipment information to the management platform so as to display the equipment information by the management platform.
Preferably, after the container is generated by using the mirror image package, the method further includes:
receiving a container upgrading command sent by the management platform; the container generation command comprises a storage path of a new version mirror image package;
acquiring the new version mirror image package according to the container upgrading command;
and deleting the container, and generating a new version container according to the new version mirror image package.
Preferably, the sending the device information to a management platform includes:
and writing the equipment information into the corresponding data table in the database according to the corresponding relation between the equipment information and the data table in the database, which is established in advance.
Preferably, the method further comprises the following steps:
and sending the version information and the running state of the current container contained in the equipment to the management platform.
Preferably, the method further comprises the following steps:
receiving a container version rollback command sent by the management platform;
judging whether a historical version mirror image package corresponding to the container version rollback command exists in the equipment;
if yes, deleting a current container contained in the equipment, and generating a corresponding historical version container according to the historical version mirror image package;
if not, acquiring the historical version mirror image package from the management platform, deleting the current container contained in the equipment, and generating the corresponding historical version container according to the historical version mirror image package.
Preferably, the method further comprises the following steps:
receiving a container processing command sent by the management platform, and processing a container contained in the equipment according to the container processing command; wherein the container processing command comprises stopping the operation of the container, deleting the container and restarting the container.
An equipment monitoring device comprising:
the first receiving module is used for receiving a container generation command sent by the management platform; the container generation command comprises a storage path of a mirror image package;
the first acquisition module is used for acquiring the mirror image package according to the container generation command;
the first generation module is used for generating a container on the equipment by using the mirror image package, collecting equipment information of the equipment by using the container, and sending the equipment information to the management platform so as to be displayed by the management platform.
Preferably, the method further comprises the following steps:
the second receiving module is used for receiving a container upgrading command sent by the management platform after the container is generated by the mirror image package; the container generation command comprises a storage path of a new version mirror image package;
the second acquisition module is used for acquiring the new version mirror image package according to the container upgrading command;
and the second generation module is used for deleting the container and generating a new version container according to the new version mirror image package.
Preferably, the first generating module comprises:
and the sending unit is used for writing the equipment information into the corresponding data table in the database according to the corresponding relation between the equipment information and the data table in the database which is established in advance.
Preferably, the method further comprises the following steps:
and the sending module is used for sending the version information and the running state of the current container contained in the equipment to the management platform.
Preferably, the method further comprises the following steps:
a third receiving module, configured to receive a container version rollback command sent by the management platform;
the judging module is used for judging whether a historical version mirror image packet corresponding to the container version rollback command exists in the equipment;
a third generating module, configured to delete a current container included in the device if a historical version mirror package corresponding to the container version rollback command exists in the device, and generate a corresponding historical version container according to the historical version mirror package;
and a fourth generation module, configured to, if there is no history version image packet corresponding to the container version rollback command in the device, obtain the history version image packet from the management platform, delete the current container included in the device, and generate the corresponding history version container according to the history version image packet.
Preferably, the method further comprises the following steps:
the processing module is used for receiving the container processing command sent by the management platform and processing the container contained in the equipment according to the container processing command; wherein the container processing command comprises stopping the operation of the container, deleting the container and restarting the container.
An equipment monitoring system comprises a plurality of equipment and a management platform, wherein:
the management platform is used for receiving and storing the mirror image packet and sending a container generation command to the equipment;
the device for performing the steps of the device monitoring method according to any one of the preceding claims.
A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the device monitoring method according to any one of the preceding claims.
The application provides a device monitoring method, a device, a system and a computer readable storage medium, wherein the method comprises the following steps: receiving a container generation command sent by a management platform; wherein the container generation command comprises a storage path of the mirror image package; acquiring a mirror image packet according to the container generation command; and generating a container on the equipment by using the mirror image package, collecting equipment information of the equipment by using the container, and sending the equipment information to the management platform so as to display the equipment information by the management platform.
According to the technical scheme disclosed by the application, after a container generation command which is sent by a management platform and contains a storage path of a mirror image package is received, the mirror image package is obtained according to the container generation command, the obtained mirror image package is used for generating a container, the container is used for collecting equipment information of equipment where the container is located, the collected information is sent to the management platform and is displayed by the management platform, so that the container is generated on the equipment, the equipment information is collected by the container and sent to the management platform, the collection and the sending of the equipment information are realized to run on the equipment in a container mode, the monitoring of the equipment is isolated from an operating system at the bottom layer of the equipment through the container, the influence of the bottom layer environment configuration on the collection and the sending of the equipment information is avoided, the work such as environment configuration is not needed, and the time spent on the equipment monitoring is further reduced, the monitoring efficiency of the equipment is improved, and in addition, the collection work of the equipment information can be distributed to each equipment by operating the container on the equipment, so that the pressure of a management platform is conveniently reduced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of an apparatus monitoring method according to an embodiment of the present disclosure;
fig. 2 is a flowchart of another device monitoring method provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of an apparatus monitoring device according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an apparatus monitoring system according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, which shows a flowchart of an apparatus monitoring method provided in an embodiment of the present application, an apparatus monitoring method provided in an embodiment of the present application may include:
s11: receiving a container generation command sent by a management platform; the container generation command comprises a storage path of the mirror image package.
When the device needs to be monitored, a manager may send a command (the command may be a command for monitoring all devices or a command for monitoring only a target device) to the management platform through a WEB page of the management platform, and specifically may perform checking on a device list of a WEB page of the management platform according to a requirement to select the device that needs to be monitored, and click a button to indicate that the manager sends the command to the management platform. After receiving the command, the management platform may send a container generation command to the corresponding device according to the command, where the container generation command may include information such as a storage path of the mirror package, a version of the mirror package, and an MD5 value.
S12: and acquiring the mirror image according to the container generation command.
After receiving the container generation command sent by the management platform, the device may obtain the mirror image package according to the storage path of the mirror image package included in the container generation command through an SFTP Protocol (secure File Transfer Protocol) or another Protocol, and after downloading is successful, check the File information according to the MD5 value.
The mirror image package can be issued in the management platform in advance by a manager, so that each device or target device can directly acquire the mirror image package from the management platform according to the container generation command, and the mirror image package comprises programs such as device information data acquisition and data write-in management platform, namely the programs such as the device information data acquisition and data write-in management platform can be packaged into the mirror image package and uploaded to the management platform.
S13: and generating a container on the equipment by using the mirror image package, collecting equipment information of the equipment by using the container, and sending the equipment information to the management platform so as to display the equipment information by the management platform.
After the equipment acquires the mirror image package and the check is passed, the mirror image package can be operated, so that a corresponding container is generated on the equipment, then the container can be directly used for collecting equipment information such as real-time operation information, performance information and capacity information of the equipment where the container is located, specifically, the container can be used for collecting the equipment information of the equipment in a timing or real-time mode, the collected equipment information can be processed by the container, the IP address of the management platform can be remotely connected, the collected equipment information is sent to the management platform, the equipment information is displayed through a WEB page and the like by the management platform, and the equipment information can be viewed and analyzed by a user.
It should be noted that, because the container is disposed inside the device, the device and the container only need to communicate through the same IP but different port numbers, and do not need to communicate through the network, so that the delay between networks can be reduced.
According to the process, the collection and the sending of the equipment information to the management platform can be operated in an independent space through the container generated according to the mirror image package, and the container is isolated from the operating system of the bottom layer, so that the process of configuring the environment is reduced, the waste of a large amount of time is avoided, the monitoring efficiency of the equipment is convenient to improve, and the data collection is performed on the equipment, so that the delay of network transmission data can be saved, the blockage of the network transmission data can be avoided, the collection work of the equipment information can be distributed to the equipment through the operation of the container on the equipment, and therefore the pressure of the management platform can be conveniently relieved.
According to the technical scheme disclosed by the application, after a container generation command which is sent by a management platform and contains a storage path of a mirror image package is received, the mirror image package is obtained according to the container generation command, the obtained mirror image package is used for generating a container, the container is used for collecting equipment information of equipment where the container is located, the collected information is sent to the management platform and is displayed by the management platform, so that the container is generated on the equipment, the equipment information is collected by the container and sent to the management platform, the collection and the sending of the equipment information are realized to run on the equipment in a container mode, the monitoring of the equipment is isolated from an operating system at the bottom layer of the equipment through the container, the influence of the bottom layer environment configuration on the collection and the sending of the equipment information is avoided, the work such as environment configuration is not needed, and the time spent on the equipment monitoring is further reduced, the monitoring efficiency of the equipment is improved, and in addition, the collection work of the equipment information can be distributed to each equipment by operating the container on the equipment, so that the pressure of a management platform is conveniently reduced.
After the container is generated by using the mirror image package, the device monitoring method provided by the embodiment of the application may further include:
receiving a container upgrading command sent by a management platform; the container generation command can include a storage path of the new version image package;
acquiring a new version mirror image package according to the container upgrading command;
and deleting the container, and generating a new version container according to the new version mirror package.
In the application, after a container is generated by using a mirror package, if a manager wants to upgrade the container or issue a new version mirror package, the manager may send an upgrade command to a management platform through a WEB page of the management platform (the upgrade command may be a command for upgrading containers in all devices or a command for upgrading only a container in a target device), specifically, the manager may perform a check-up on a device list of the WEB page of the management platform according to a requirement to select a device where the container to be upgraded is located, and click an upgrade button to indicate that the manager sends the upgrade command. After receiving the upgrade command, the management platform may send a container generation command to the corresponding device according to the upgrade command, where the container upgrade command may include information such as a storage path of the new version image package, a version of the new version image package, and an MD5 value, and the new version image package may be directly issued in the management platform by a manager, so as to facilitate batch deployment and switching of container versions in a single device.
After receiving the container upgrade command sent by the management platform, the device may obtain the new version image package according to a storage path of the new version image package included in the container upgrade command through an SFTP Protocol (secure File Transfer Protocol) or another Protocol, and after downloading is successful, check File information according to the MD5 value. After the verification is passed, the original container can be deleted, the new version container is generated according to the new version mirror image package, the equipment information of the equipment is collected by the new version container, the equipment information is sent to the management platform, and the equipment information is displayed by the management platform.
Because the container upgrading also only needs to be carried out by utilizing the new version mirror image package without environment configuration and is not influenced by the environment configuration of the bottom layer of the equipment, the upgrading efficiency of the container can be improved conveniently, and the monitoring efficiency of the equipment can be improved conveniently.
The device monitoring method provided by the embodiment of the application sends the device information to the management platform, and may include:
and writing the equipment information into the corresponding data table in the database according to the corresponding relation between the equipment information and the data table in the database which is established in advance.
When the equipment information is sent to the management platform, the container can be remotely connected to the database port of the management platform, and the equipment information is directly sent to the database of the management platform and is not transmitted back to the management platform and is uniformly written into the database by the management platform, so that the pressure of the management platform on processing data can be reduced. And then, the management platform can read the information corresponding to the user requirement from the database according to the user requirement and display the read information. When the device information is sent to the database of the management platform, the device information can be written into the data table corresponding to the device information in the database of the management platform according to the pre-established corresponding relationship between the device information and the data table in the database, so that a user can check and analyze the device information according to the data table subsequently.
The device monitoring method provided by the embodiment of the application can further include:
and sending the version information and the running state of the current container contained in the equipment to a management platform.
When monitoring the equipment, the equipment can send the version information and the running state of the current container contained in the equipment to the management platform at regular time, so that the management platform can monitor the container in the equipment according to the version information and the running state of the current container.
The device monitoring method provided by the embodiment of the application can further include:
receiving a container version rollback command sent by a management platform;
judging whether a historical version mirror image package corresponding to the container version rollback command exists in the equipment or not;
if yes, deleting a current container contained in the equipment, and generating a corresponding historical version container according to the historical version mirror image package;
if not, acquiring the historical version mirror image package from the management platform, deleting the current container contained in the equipment, and generating a corresponding historical version container according to the historical version mirror image package.
In the equipment monitoring process, the equipment can receive a container version rollback command sent by a management platform, then can judge whether a historical version mirror package corresponding to the container version rollback command exists in the equipment, if so, a current container contained in the equipment is deleted, a corresponding historical version container is generated according to the historical version mirror package existing in the equipment, if not, the equipment can obtain the corresponding historical version mirror package from the management platform, delete the current container contained in the equipment, generate the corresponding historical version container according to the corresponding historical version mirror package obtained from the management platform, collect equipment information by using the historical version container, and send the collected equipment information to the management platform. The mode for realizing the container version rollback can improve the user experience of equipment monitoring.
The device monitoring method provided by the embodiment of the application can further include:
receiving a container processing command sent by a management platform, and processing a container contained in the equipment according to the container processing command; the container processing command may include stopping the operation of the container, deleting the container, and restarting the container.
In the device monitoring, the device may further receive a container processing command sent by the management platform, and may process a container included in the device according to the container processing command, where the container processing command may specifically include stopping operation of the container, deleting the container, restarting the container, and the like, and the device may correspondingly execute stopping operation of the container, deleting the container, restarting the container, and the like.
It should be noted that the container processing command sent by the management platform may specifically come from a manager, so as to improve flexibility of monitoring the device.
Specifically, refer to fig. 2, which shows a flowchart of another device monitoring method provided in the embodiment of the present application, where descriptions of related steps may refer to detailed descriptions of the above corresponding parts, which are not described herein again.
An embodiment of the present application further provides an apparatus monitoring device, see fig. 3, which shows a schematic structural diagram of the apparatus monitoring device provided in the embodiment of the present application, and the apparatus monitoring device may include:
a first receiving module 31, configured to receive a container generation command sent by the management platform; the container generation command can comprise a storage path of the mirror image package;
a first obtaining module 32, configured to obtain the mirror image packet according to the container generation command;
the first generating module 33 is configured to generate a container on the device by using the mirror image package, collect device information of the device by using the container, and send the device information to the management platform, so that the device information is displayed by the management platform.
The device monitoring apparatus provided in the embodiment of the present application may further include:
the second receiving module is used for receiving a container upgrading command sent by the management platform after the container is generated by using the mirror image package; the container generation command can include a storage path of the new version image package;
the second acquisition module is used for acquiring the new version mirror image package according to the container upgrading command;
and the second generation module is used for deleting the container and generating a new version container according to the new version mirror image package.
In an apparatus monitoring device provided in an embodiment of the present application, the first generating module 33 may include:
and the sending unit is used for writing the equipment information into the corresponding data table in the database according to the pre-established corresponding relation between the equipment information and the data table in the database.
The device monitoring apparatus provided in the embodiment of the present application may further include:
and the sending module is used for sending the version information and the running state of the current container contained in the equipment to the management platform.
The device monitoring apparatus provided in the embodiment of the present application may further include:
the third receiving module is used for receiving a container version rollback command sent by the management platform;
the judging module is used for judging whether a historical version mirror image packet corresponding to the container version rollback command exists in the equipment;
the third generation module is used for deleting the current container contained in the equipment and generating a corresponding historical version container according to the historical version mirror image package if the historical version mirror image package corresponding to the container version rollback command exists in the equipment;
and the fourth generation module is used for acquiring the historical version mirror package from the management platform, deleting the current container contained in the equipment and generating a corresponding historical version container according to the historical version mirror package if the historical version mirror package corresponding to the container version rollback command does not exist in the equipment memory.
The device monitoring apparatus provided in the embodiment of the present application may further include:
the processing module is used for receiving the container processing command sent by the management platform and processing the container contained in the equipment according to the container processing command; the container processing command may include stopping the operation of the container, deleting the container, and restarting the container.
An embodiment of the present application further provides an equipment monitoring system, see fig. 4, which shows a schematic structural diagram of an equipment monitoring system provided in an embodiment of the present application, and the system may include a plurality of equipment 41 and a management platform 42, where:
a management platform 42 for receiving and storing the mirror image package, and sending a container generation command to the device 41;
a device 41 for performing any of the above-described device monitoring methods.
An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, any one of the above-mentioned device monitoring methods can be implemented.
The computer-readable storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
For a description of a relevant part in an apparatus monitoring device, a system and a computer-readable storage medium provided in the embodiments of the present application, reference may be made to a detailed description of a corresponding part in an apparatus monitoring method provided in the embodiments of the present application, and details are not repeated herein.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Furthermore, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include elements inherent in the list. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element. In addition, parts of the above technical solutions provided in the embodiments of the present application, which are consistent with the implementation principles of corresponding technical solutions in the prior art, are not described in detail so as to avoid redundant description.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (14)

1. A method of device monitoring, comprising:
receiving a container generation command sent by a management platform; the container generation command comprises a storage path of a mirror image package;
acquiring the mirror image package according to the container generation command;
and generating a container on the equipment by using the mirror image package, collecting equipment information of the equipment by using the container, and sending the equipment information to the management platform so as to display the equipment information by the management platform.
2. The equipment monitoring method according to claim 1, further comprising, after generating a container using the mirror package:
receiving a container upgrading command sent by the management platform; the container generation command comprises a storage path of a new version mirror image package;
acquiring the new version mirror image package according to the container upgrading command;
and deleting the container, and generating a new version container according to the new version mirror image package.
3. The device monitoring method according to claim 1 or 2, wherein sending the device information to a management platform comprises:
and writing the equipment information into the corresponding data table in the database according to the corresponding relation between the equipment information and the data table in the database, which is established in advance.
4. The device monitoring method according to claim 3, further comprising:
and sending the version information and the running state of the current container contained in the equipment to the management platform.
5. The device monitoring method according to claim 3, further comprising:
receiving a container version rollback command sent by the management platform;
judging whether a historical version mirror image package corresponding to the container version rollback command exists in the equipment;
if yes, deleting a current container contained in the equipment, and generating a corresponding historical version container according to the historical version mirror image package;
if not, acquiring the historical version mirror image package from the management platform, deleting the current container contained in the equipment, and generating the corresponding historical version container according to the historical version mirror image package.
6. The device monitoring method according to claim 3, further comprising:
receiving a container processing command sent by the management platform, and processing a container contained in the equipment according to the container processing command; wherein the container processing command comprises stopping the operation of the container, deleting the container and restarting the container.
7. An equipment monitoring device, comprising:
the first receiving module is used for receiving a container generation command sent by the management platform; the container generation command comprises a storage path of a mirror image package;
the first acquisition module is used for acquiring the mirror image package according to the container generation command;
the first generation module is used for generating a container on the equipment by using the mirror image package, collecting equipment information of the equipment by using the container, and sending the equipment information to the management platform so as to be displayed by the management platform.
8. The equipment monitoring device of claim 7, further comprising:
the second receiving module is used for receiving a container upgrading command sent by the management platform after the container is generated by the mirror image package; the container generation command comprises a storage path of a new version mirror image package;
the second acquisition module is used for acquiring the new version mirror image package according to the container upgrading command;
and the second generation module is used for deleting the container and generating a new version container according to the new version mirror image package.
9. The device monitoring apparatus of claim 7 or 8, wherein the first generating module comprises:
and the sending unit is used for writing the equipment information into the corresponding data table in the database according to the corresponding relation between the equipment information and the data table in the database which is established in advance.
10. The equipment monitoring device of claim 9, further comprising:
and the sending module is used for sending the version information and the running state of the current container contained in the equipment to the management platform.
11. The equipment monitoring device of claim 9, further comprising:
a third receiving module, configured to receive a container version rollback command sent by the management platform;
the judging module is used for judging whether a historical version mirror image packet corresponding to the container version rollback command exists in the equipment;
a third generating module, configured to delete a current container included in the device if a historical version mirror package corresponding to the container version rollback command exists in the device, and generate a corresponding historical version container according to the historical version mirror package;
and a fourth generation module, configured to, if there is no history version image packet corresponding to the container version rollback command in the device, obtain the history version image packet from the management platform, delete the current container included in the device, and generate the corresponding history version container according to the history version image packet.
12. The equipment monitoring device of claim 9, further comprising:
the processing module is used for receiving the container processing command sent by the management platform and processing the container contained in the equipment according to the container processing command; wherein the container processing command comprises stopping the operation of the container, deleting the container and restarting the container.
13. An equipment monitoring system, comprising a plurality of equipments, a management platform, wherein:
the management platform is used for receiving and storing the mirror image packet and sending a container generation command to the equipment;
the device for performing the steps of the device monitoring method of any one of claims 1 to 6.
14. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the device monitoring method according to any one of claims 1 to 6.
CN202010956229.8A 2020-09-11 2020-09-11 Equipment monitoring method, device, system and computer readable storage medium Withdrawn CN112148553A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010956229.8A CN112148553A (en) 2020-09-11 2020-09-11 Equipment monitoring method, device, system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010956229.8A CN112148553A (en) 2020-09-11 2020-09-11 Equipment monitoring method, device, system and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112148553A true CN112148553A (en) 2020-12-29

Family

ID=73890353

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010956229.8A Withdrawn CN112148553A (en) 2020-09-11 2020-09-11 Equipment monitoring method, device, system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112148553A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113568768A (en) * 2021-07-28 2021-10-29 宁波三星医疗电气股份有限公司 Energy controller container state monitoring method
CN116225625A (en) * 2023-05-11 2023-06-06 天津金城银行股份有限公司 Application container management method, system, computer and readable storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113568768A (en) * 2021-07-28 2021-10-29 宁波三星医疗电气股份有限公司 Energy controller container state monitoring method
CN113568768B (en) * 2021-07-28 2023-04-28 宁波三星医疗电气股份有限公司 Energy controller container state monitoring method
CN116225625A (en) * 2023-05-11 2023-06-06 天津金城银行股份有限公司 Application container management method, system, computer and readable storage medium
CN116225625B (en) * 2023-05-11 2023-08-08 天津金城银行股份有限公司 Application container management method, system, computer and readable storage medium

Similar Documents

Publication Publication Date Title
US9529613B2 (en) Methods and apparatus to reclaim resources in virtual computing environments
WO2020057091A1 (en) Ios-based data acquisition and analysis method and apparatus
CN110311831B (en) Container cloud-based system resource monitoring method and related equipment
WO2017049828A1 (en) Method, device and system for data processing based on linux
US10404568B2 (en) Agent manager for distributed transaction monitoring system
CN111240812B (en) Task execution method and device
CN110209342B (en) Capacity expansion method, device, equipment and system for cloud hard disk
CN112148553A (en) Equipment monitoring method, device, system and computer readable storage medium
CN112860282B (en) Cluster plug-in upgrading method, device and server
CN110890987A (en) Method, device, equipment and system for automatically creating cluster
CN110825399A (en) Deployment method and device of application program
CN113326104B (en) Method, system and device for modifying internal configuration of virtual machine
CN110196749B (en) Virtual machine recovery method and device, storage medium and electronic device
CN111506388B (en) Container performance detection method, container management platform and computer storage medium
CN112559127A (en) Virtual machine creation method, device, host and storage medium
CN112130889A (en) Resource management method and device, storage medium and electronic device
US10073689B2 (en) Managing application lifecycles within a federation of distributed software applications
CN114090268B (en) Container management method and container management system
US20090083747A1 (en) Method for managing application programs by utilizing redundancy and load balance
CN113656378A (en) Server management method, device and medium
CN115729727A (en) Fault repairing method, device, equipment and medium
CN114189439A (en) Automatic capacity expansion method and device
CN114598604A (en) Monitoring method, monitoring device and terminal for virtual network function instance information
CN113687915B (en) Container running method, device, equipment and storage medium
CN109167826A (en) The restocking method, apparatus and system of WEB application

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20201229