CN112231167A - Cloud resource monitoring method, device, equipment and storage medium - Google Patents

Cloud resource monitoring method, device, equipment and storage medium Download PDF

Info

Publication number
CN112231167A
CN112231167A CN201911304117.8A CN201911304117A CN112231167A CN 112231167 A CN112231167 A CN 112231167A CN 201911304117 A CN201911304117 A CN 201911304117A CN 112231167 A CN112231167 A CN 112231167A
Authority
CN
China
Prior art keywords
target
monitoring
monitoring data
cloud resource
data item
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.)
Pending
Application number
CN201911304117.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 Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information 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 Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201911304117.8A priority Critical patent/CN112231167A/en
Publication of CN112231167A publication Critical patent/CN112231167A/en
Pending 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/3006Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs

Abstract

The embodiment of the invention discloses a cloud resource monitoring method, a cloud resource monitoring device, cloud resource monitoring equipment and a storage medium. The method comprises the following steps: determining target cloud resources associated with the user by inquiring the cloud resource set; determining the value of a target monitoring data item of the target cloud resource; and displaying a monitoring result of the target cloud resource according to the value of the target monitoring data item. By adopting the technical scheme of the embodiment, when the cloud resources are monitored, the target cloud resources under the user name can be automatically determined each time for monitoring, and the correct statistical monitoring on the cloud resources with dynamically changed types and quantity under the user name can be still realized under the condition of not adjusting the monitoring strategy on the cloud resources; in addition, the monitoring strategy of the cloud resources does not need to be adjusted, so that the monitoring cost is not increased.

Description

Cloud resource monitoring method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of cloud computing, in particular to a cloud resource monitoring method, a cloud resource monitoring device, cloud resource monitoring equipment and a storage medium.
Background
With the continuous development of cloud computing technology, various types of cloud resources are continuously emerging, and the cloud resources play more and more important roles in the social production and living fields.
In the related art, monitoring of cloud resources emphasizes real-time monitoring of a single cloud resource or some fixed types of cloud resources. However, the cloud resources actually required by the user are various, when the cloud resources required by the user are changed, the cloud resource monitoring strategy needs to be re-formulated and adjusted, otherwise, the cloud resources required by the user cannot be correctly monitored and counted; however, if the cloud resource monitoring is readjusted every time, the monitoring cost of the cloud resources is undoubtedly increased.
Disclosure of Invention
The embodiment of the invention provides a cloud resource monitoring method, a cloud resource monitoring device, cloud resource monitoring equipment and a storage medium, and aims to automatically and dynamically monitor cloud resources under a user name.
In a first aspect, an embodiment of the present invention provides a cloud resource monitoring method, including:
determining target cloud resources associated with the user by inquiring the cloud resource set;
determining the value of a target monitoring data item of the target cloud resource;
and displaying the monitoring result of the target cloud resource according to the value of the target monitoring data item.
In a second aspect, an embodiment of the present invention further provides a cloud resource monitoring apparatus, including:
the cloud resource determining module is used for determining target cloud resources associated with the user by inquiring the cloud resource set;
the data item determination module is used for determining the value of a target monitoring data item of the target cloud resource;
and the cloud resource monitoring module is used for displaying a monitoring result of the target cloud resource according to the value of the target monitoring data item.
In a third aspect, an embodiment of the present invention further provides an electronic device, including:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement a cloud resource monitoring method as provided in any embodiment of the invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the cloud resource monitoring method provided in any embodiment of the present invention.
The embodiment of the invention provides a cloud resource monitoring scheme, which is characterized in that when cloud resource monitoring is carried out, a cloud resource set is inquired, a target cloud resource associated with a user in the cloud resource set is determined, then the value of a target monitoring data item of the target cloud resource is determined, then the target cloud resource is monitored and analyzed according to the obtained value of the target monitoring data item, and the monitoring result of the target cloud resource is displayed in real time. By adopting the technical scheme of the embodiment, when the cloud resources are monitored, the target cloud resources under the user name can be automatically determined each time for monitoring, and the correct statistical monitoring on the cloud resources with dynamically changed types and quantity under the user name can be still realized under the condition of not adjusting the monitoring strategy on the cloud resources; in addition, the monitoring strategy of the cloud resources does not need to be adjusted, so that the monitoring cost is not increased.
The above summary of the present invention is merely an overview of the technical solutions of the present invention, and the present invention can be implemented in accordance with the content of the description in order to make the technical means of the present invention more clearly understood, and the above and other objects, features, and advantages of the present invention will be more clearly understood.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart of a cloud resource monitoring method according to a first embodiment of the present invention;
fig. 2 is a flowchart of a cloud resource monitoring method provided in the second embodiment of the present invention;
fig. 3 is a block diagram of a cloud resource monitoring apparatus according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations (or steps) can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a flowchart of a cloud resource monitoring method according to an embodiment of the present invention. The embodiment of the invention can be suitable for the condition of monitoring the cloud resources dynamically changed by the user in real time, in particular to the condition of monitoring the cloud resources dynamically under the condition that the quantity and the type of the cloud resources of the user are changed in real time. The method can be executed by a cloud resource monitoring device, which can be implemented in a software and/or hardware manner and integrated on any electronic equipment with a network communication function. As shown in fig. 1, the cloud resource monitoring method provided in the embodiment of the present invention includes the following steps:
s110, determining target cloud resources associated with the user by inquiring the cloud resource set.
In this embodiment, the cloud resource set includes a plurality of cloud resources, for example, the cloud resource set includes a plurality of different types or the same type of cloud resources. Each cloud resource included in the cloud resource set may belong to the same user, or may belong to different users. The cloud resources in the cloud resource set can be independently deployed or can be associated deployed among the cloud resources. Alternatively, the cloud resource assembly may exist in the form of a cloud resource product line, and a plurality of cloud resources of different types or the same type are contained in one cloud resource product line.
In this embodiment, the cloud resources under the user name are dynamically changed, for example, at a certain time point, the cloud resources under the user name may be a part of cloud resources in the cloud resource set, and at another time point, the cloud resources under the user name may become another part of cloud resources in the cloud resource set, which shows that the type and number of the cloud resources under the user name are dynamically changed and are not constant. Therefore, when monitoring the cloud resources of the user, it is necessary to determine which cloud resources under the user name exist in the current time period in real time, that is, determine which cloud resources in the cloud resource set are the cloud resources owned by the user in the current time period, and record as the target cloud resources associated with the user. By adopting the mode, the cloud resources under the user name can be directionally monitored, the phenomenon that the extra time is spent for carrying out redundant monitoring on the cloud resources which are not used or owned any more is avoided, not only is the calculation resources of statistical monitoring wasted, but also the obtained monitoring result is inconsistent with the actual result is caused.
In an alternative implementation of this embodiment, this implementation may be combined with the various alternatives of one or more of the embodiments described above. Determining a target cloud resource associated with a user by querying a cloud resource set, specifically comprising the following steps A1-A2:
step A1, at least two cloud resources which are associated with user identification and included in the cloud resource set are inquired.
In this embodiment, when a user uses or owns any cloud resource in the cloud resource set, the cloud resource used or owned by the user may be calibrated; for example, each cloud resource in the cloud resource set is associated with one or more identities by which it can be calibrated which users the cloud resource is being used by or owned by. On the basis, by inquiring which cloud resources are associated with the user identity of the user in the cloud resource set, which cloud resources are under the user name can be determined, and further the cloud resources under the user name can be directionally monitored.
In the embodiment, the electronic device can receive the cloud resource monitoring request and directionally monitor the cloud resources under the user name according to the cloud resource monitoring request. The cloud resource monitoring request can include a user identity input by a cloud manufacturer, and the cloud resources under the user name can be screened out from the cloud resource set through the user identity. In an optional example, the user identifier is a personal identification number PIN code, and querying at least two cloud resources included in the cloud resource set and associated with the user identifier specifically includes: and inquiring at least two cloud resources which are associated with personal identification number PIN codes of the user and are included in the cloud resource set, wherein the inquired at least two cloud resources are cloud resources under the user name.
Step A2, determining a cloud resource matched with the target monitoring type input by the user from at least two cloud resources as a target cloud resource.
In this embodiment, which cloud resources under the user name are determined, that is, at least two cloud resources associated with the user identity are determined, but the cloud resources under the user name are of multiple types, and when monitoring the cloud resources under the user name, not all types of cloud resources are necessarily monitored, but one or more types of cloud resources meeting requirements are directionally selected from the cloud resources under the user name according to the monitoring type indicated by the service requirement for directional monitoring. The cloud resource monitoring request can also include a monitoring type of the cloud resource needing to be monitored, which is input by the cloud manufacturer, and the cloud manufacturer can be determined to monitor the cloud resource of which type according to the monitoring type. Therefore, the cloud resources matched with the target monitoring type input by the user can be determined from the at least two cloud resources, and further the target cloud resources associated with the user are directionally monitored.
And S120, determining the value of the target monitoring data item of the target cloud resource.
In this embodiment, the cloud resources include resource devices such as a cloud host, a cloud hard disk, and a cloud database. The target monitoring data items of the cloud resources may include, but are not limited to, the following: monitoring index data such as the busy degree of the cloud resource, the CPU utilization rate of the cloud resource, the CPU load of the cloud resource, the disk utilization rate of the cloud resource, the disk I/O busy degree of the cloud resource and the like. For each monitoring data item of the cloud resource, each monitoring data item has one or more values. Therefore, when monitoring and counting are performed on one or more monitoring data items of the target cloud resource, a value of the one or more monitoring data items in the target cloud resource needs to be determined first, and statistical calculation is performed according to the value of the one or more monitoring data items. Optionally, the target monitoring data item may include one or more of the monitoring indicators described above.
And S130, displaying a monitoring result of the target cloud resource according to the value of the target monitoring data item.
In this embodiment, after the value of the target monitoring data item is determined, monitoring analysis may be performed on the target cloud resource according to the value of the target monitoring data item. After the monitoring analysis result of the target cloud resource is determined, the monitoring analysis result of the target cloud resource can be visually displayed. For example, in the form of a monitoring chart, a monitoring result for a target monitoring data item in a target cloud resource under the user name is shown.
In an alternative implementation of this embodiment, this implementation may be combined with the various alternatives of one or more of the embodiments described above. Displaying a monitoring result of the target cloud resource according to the value of the target monitoring data item, specifically comprising the steps of B1-B2:
and step B1, determining the data statistical mode required by the target monitoring data item, and taking the data statistical mode as the target statistical mode.
In this embodiment, the data statistics manner required by the target monitoring data item may be one or more data statistics manners included in the received cloud resource monitoring request, or may be one or more data statistics manners fixedly associated with the target monitoring data item. Data statistics include, but are not limited to, the following: calculating the maximum value of the values of the target monitoring data items, calculating the minimum value of the values of the target monitoring data items, calculating the average value of the values of the target monitoring data items, calculating the sum of the values of the target monitoring data items and the like.
And step B2, counting the values of the target monitoring data items by adopting a target counting mode to obtain a monitoring result of the target cloud resources, and visually displaying the monitoring result of the target cloud resources.
In this embodiment, the value of the target monitoring data item may be statistically calculated according to the determined target statistical manner, so as to obtain a statistical result, which is used as a monitoring result for the target cloud resource. Furthermore, the monitoring result of the target cloud resource can be displayed in a monitoring chart mode.
The embodiment of the invention provides a cloud resource monitoring scheme, and by adopting the scheme of the embodiment, when cloud resources are monitored, target cloud resources under a user name can be automatically determined each time for monitoring, under the condition of not adjusting a monitoring strategy of the cloud resources, the directional dynamic monitoring of the cloud resources under the user name can be realized, the cloud resources owned by the user name are monitored each time, and the accurate statistical monitoring of the cloud resources with dynamically changed types and quantities under the user name is ensured. In addition, each monitoring statistic in the scheme can automatically determine which cloud resources exist under the user name, and even if the cloud resources under the user name are dynamically changed, the monitoring strategy of the cloud resources does not need to be adjusted, namely, the monitoring strategy does not need to be re-adapted to another monitoring interface from one monitoring interface to perform monitoring adjustment, so that the monitoring cost cannot be increased.
Example two
Fig. 2 is a flowchart of a cloud resource monitoring method provided in the second embodiment of the present invention, where the second embodiment of the present invention is optimized based on the foregoing embodiments, and the second embodiment of the present invention may be combined with each optional solution in one or more of the foregoing embodiments. As shown in fig. 2, the cloud resource monitoring method provided in the embodiment of the present invention includes the following steps:
s210, determining target cloud resources associated with the user by inquiring the cloud resource set.
And S220, determining the stored monitoring data record of the target cloud resource by inquiring the time sequence database.
In this embodiment, for each cloud resource, when monitoring the cloud resource, the corresponding monitoring interface is required to obtain the monitoring data of the cloud resource. However, because there are very many cloud resources in the cloud resource set and there are also many cloud resources under the user name, it is necessary to connect multiple monitoring interfaces to uniformly acquire the monitoring data of each cloud resource, and the acquisition of the monitoring data is messy. Therefore, in the scheme of the application, the time sequence database is preset, the cloud resources in the cloud resource set can be connected with the time sequence database, values of various monitoring data items of the cloud resources can be uploaded to the time sequence database for storage, and the values of the monitoring data items can form a series of monitoring data records in the time sequence database.
In this embodiment, in the time sequence database, the monitoring data record of each cloud resource is associated with the resource identification code ID of the cloud resource. In this way, the resource identification code ID of the target cloud resource is inquired in the time sequence database, and the monitoring data record of the target cloud resource stored in the time sequence database can be obtained. The monitoring data records in the time sequence database comprise at least one monitoring data item, each monitoring data item is associated with at least one value, and the value of each monitoring data item carries a unique timestamp. For each monitoring data item of the monitoring data record in the time-series database, at least comprising: the identification of the monitoring data item, the time for uploading the value of the monitoring data item to the time sequence database and the value of the monitoring data item.
In an optional example, the determining, by querying the time-series database, the stored monitoring data record of the target cloud resource specifically includes: determining a resource identification code ID of a target cloud resource associated with a user, performing traversal query in a time sequence database according to the resource identification code ID of the target cloud resource, finding a monitoring data record associated with the resource identification code ID of the target cloud resource, and recording the monitoring data record as a monitoring data record of the target cloud resource stored in the time sequence database. Optionally, the timing database is embodied as TSDB.
And S230, taking at least one monitoring data item to be monitored as a target monitoring data item, and determining the value of the target monitoring data item included in the monitoring data record.
In this embodiment, the cloud resource monitoring request further includes a type of a monitoring data item that needs to be monitored by a user and is input by a cloud manufacturer, and the cloud resource monitoring request is directly used as the monitoring data item that needs to be monitored and is recorded as a target monitoring data item. And further, querying which specific values of the target monitoring data items are obtained from the stored monitoring data records of the target cloud resources through a time sequence database. The values of the target monitoring data items comprise values of different cloud resources and belong to the same monitoring data item; or the same cloud resource belongs to the same monitoring data item but the timestamps are inconsistent.
In this embodiment, optionally, determining a value of a target monitoring data item included in the monitoring data record specifically includes: and selecting the value of the target monitoring data item in a specified time period from the values of the target monitoring data item according to the timestamp carried by the target monitoring data item in the monitoring data record.
And S240, displaying a monitoring result of the target cloud resource according to the value of the target monitoring data item.
In this embodiment, after the value of the target monitoring data item is obtained, the calculation capability of the time sequence database may be adopted to perform statistical processing on the value of the target monitoring data item, so as to obtain a statistical result of the value of the target monitoring data item of the target cloud resource, and the statistical result is used as a monitoring result of the target cloud resource, so that subsequent result display may be performed.
The embodiment of the invention provides a cloud resource monitoring scheme, and by adopting the scheme of the embodiment, when monitoring cloud resources, target cloud resources under a user name can be automatically determined by means of a time sequence database each time for monitoring, under the condition of not adjusting a monitoring strategy of the cloud resources, directional dynamic monitoring of the cloud resources under the user name can be realized, the cloud resources owned by the user name are monitored each time, and the correct statistical monitoring of the cloud resources with dynamically changed types and quantities under the user name is ensured. In addition, each monitoring statistic in the scheme can automatically determine which cloud resources exist under the user name, and even if the cloud resources under the user name are dynamically changed, the monitoring strategy of the cloud resources does not need to be adjusted, namely, the monitoring strategy does not need to be re-adapted to another monitoring interface from one monitoring interface to perform monitoring adjustment, so that the monitoring cost cannot be increased.
EXAMPLE III
Fig. 3 is a block diagram of a cloud resource monitoring apparatus according to a third embodiment of the present invention. The embodiment of the invention can be suitable for the condition of monitoring the cloud resources dynamically changed by the user in real time, in particular to the condition of monitoring the cloud resources dynamically under the condition that the quantity and the type of the cloud resources of the user are changed in real time. The cloud resource monitoring device can be realized in a software and/or hardware mode and is integrated on any electronic equipment with a network communication function. As shown in fig. 3, the cloud resource monitoring apparatus provided in the embodiment of the present invention includes: cloud resource determination module 310, data item determination module 320, and cloud resource monitoring module 330. Wherein:
the cloud resource determining module 310 is configured to determine a target cloud resource associated with a user by querying the cloud resource set;
a data item determining module 320, configured to determine a value of a target monitoring data item of the target cloud resource;
and the cloud resource monitoring module 330 is configured to display a monitoring result of the target cloud resource according to the value of the target monitoring data item.
On the basis of the technical solutions of the foregoing embodiments, optionally, the cloud resource determining module 310 includes:
the cloud resource query unit is used for querying at least two cloud resources which are associated with the user identity identifiers and included in the cloud resource set;
and the cloud resource screening unit is used for determining the cloud resources matched with the target monitoring type input by the user from the at least two cloud resources as the target cloud resources.
On the basis of the technical solutions of the foregoing embodiments, optionally, the data item determining module 320 includes:
the data record determining unit is used for determining the stored monitoring data record of the target cloud resource by inquiring the time sequence database;
and the data item determining unit is used for taking at least one monitoring data item to be monitored as a target monitoring data item and determining the value of the target monitoring data item in the monitoring data record.
On the basis of the technical solutions of the above embodiments, optionally, the monitoring data record includes at least one monitoring data item, each monitoring data item is associated with at least one value, and the value of each monitoring data item carries a unique timestamp.
On the basis of the technical solutions of the foregoing embodiments, optionally, the data item determining unit includes:
and selecting the value of the target monitoring data item in a specified time period from the values of the target monitoring data item according to the timestamp carried by the target monitoring data item in the monitoring data record.
On the basis of the technical solutions of the foregoing embodiments, optionally, the cloud resource monitoring module 330 includes:
determining a data statistical mode required by the target monitoring data item, and taking the data statistical mode as a target statistical mode;
counting the values of the target monitoring data items by adopting the target counting mode to obtain a monitoring result of the target cloud resources;
and visually displaying the monitoring result of the target cloud resource.
The cloud resource monitoring device provided in the embodiment of the present invention may execute the cloud resource monitoring method provided in any embodiment of the present invention, and has corresponding functions and beneficial effects for executing the cloud resource monitoring method, and the detailed process refers to the relevant operations of the cloud resource monitoring method in the foregoing embodiments.
Fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention. As shown in fig. 4, the electronic device provided in the embodiment of the present invention includes: one or more processors 410 and storage 420; the processor 410 in the electronic device may be one or more, and one processor 410 is taken as an example in fig. 4; storage 420 is used to store one or more programs; the one or more programs are executed by the one or more processors 410, so that the one or more processors 410 implement the cloud resource monitoring method according to any one of the embodiments of the present invention.
The electronic device may further include: an input device 430 and an output device 440.
The processor 410, the storage device 420, the input device 430 and the output device 440 in the electronic apparatus may be connected by a bus or other means, and fig. 4 illustrates the connection by the bus as an example.
The storage device 420 in the electronic device, as a computer-readable storage medium, may be used to store one or more programs, which may be software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the cloud resource monitoring method provided in the embodiment of the present invention. The processor 410 executes various functional applications and data processing of the electronic device by running software programs, instructions and modules stored in the storage device 420, that is, implements the cloud resource monitoring method in the above method embodiment.
The storage device 420 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the electronic device, and the like. Further, the storage 420 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the storage 420 may further include memory located remotely from the processor 410, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 430 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus. The output device 440 may include a display device such as a display screen.
And, when one or more programs included in the above-mentioned electronic device are executed by the one or more processors 410, the programs perform the following operations:
determining target cloud resources associated with the user by inquiring the cloud resource set;
determining the value of a target monitoring data item of the target cloud resource;
and displaying the monitoring result of the target cloud resource according to the value of the target monitoring data item.
Of course, it can be understood by those skilled in the art that when one or more programs included in the electronic device are executed by the one or more processors 410, the programs may also perform related operations in the cloud resource monitoring method provided in any embodiment of the present invention.
An embodiment of the present invention provides a computer-readable medium, on which a computer program is stored, the computer program being executed by a processor to perform a cloud resource monitoring method, the method including:
determining target cloud resources associated with the user by inquiring the cloud resource set;
determining the value of a target monitoring data item of the target cloud resource;
and displaying the monitoring result of the target cloud resource according to the value of the target monitoring data item.
Optionally, the program, when executed by the processor, may be further configured to perform the cloud resource monitoring method provided in any embodiment of the present invention.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), a flash Memory, an optical fiber, a portable CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. A computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take a variety of forms, including, but not limited to: an electromagnetic signal, an optical signal, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, Radio Frequency (RF), etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (14)

1. A cloud resource monitoring method is characterized by comprising the following steps:
determining target cloud resources associated with the user by inquiring the cloud resource set;
determining the value of a target monitoring data item of the target cloud resource;
and displaying the monitoring result of the target cloud resource according to the value of the target monitoring data item.
2. The method of claim 1, wherein determining the target cloud resource associated with the user by querying the cloud resource set comprises:
inquiring at least two cloud resources which are associated with user identity identifications and included in a cloud resource set;
and determining a cloud resource matched with the target monitoring type input by the user from the at least two cloud resources as a target cloud resource.
3. The method of claim 1, wherein determining values of target monitoring data items of the target cloud resources comprises:
determining a stored monitoring data record of the target cloud resource by inquiring a time sequence database;
and taking at least one monitoring data item to be monitored as a target monitoring data item, and determining the value of the target monitoring data item included in the monitoring data record.
4. The method of claim 3, wherein the monitoring data record includes at least one monitoring data item, each monitoring data item is associated with at least one value, and the value of each monitoring data item carries a unique timestamp.
5. The method of claim 4, wherein determining the value of the target monitoring data item included in the monitoring data record comprises:
and selecting the value of the target monitoring data item in a specified time period from the values of the target monitoring data item according to the timestamp carried by the target monitoring data item in the monitoring data record.
6. The method of claim 1, wherein displaying the monitoring result of the target cloud resource according to the value of the target monitoring data item comprises:
determining a data statistical mode required by the target monitoring data item, and taking the data statistical mode as a target statistical mode;
counting the values of the target monitoring data items by adopting the target counting mode to obtain a monitoring result of the target cloud resources;
and visually displaying the monitoring result of the target cloud resource.
7. A cloud resource monitoring apparatus, comprising:
the cloud resource determining module is used for determining target cloud resources associated with the user by inquiring the cloud resource set;
the data item determination module is used for determining the value of a target monitoring data item of the target cloud resource;
and the cloud resource monitoring module is used for displaying a monitoring result of the target cloud resource according to the value of the target monitoring data item.
8. The apparatus of claim 7, wherein the cloud resource determining module comprises:
the cloud resource query unit is used for querying at least two cloud resources which are associated with the user identity identifiers and included in the cloud resource set;
and the cloud resource screening unit is used for determining the cloud resources matched with the target monitoring type input by the user from the at least two cloud resources as the target cloud resources.
9. The apparatus of claim 7, wherein the data item determination module comprises:
the data record determining unit is used for determining the stored monitoring data record of the target cloud resource by inquiring the time sequence database;
and the data item determining unit is used for taking at least one monitoring data item to be monitored as a target monitoring data item and determining the value of the target monitoring data item in the monitoring data record.
10. The apparatus according to claim 9, wherein the monitoring data record includes at least one monitoring data item, each monitoring data item is associated with at least one value, and the value of each monitoring data item carries a unique timestamp.
11. The apparatus according to claim 10, wherein the data item determination unit comprises:
and selecting the value of the target monitoring data item in a specified time period from the values of the target monitoring data item according to the timestamp carried by the target monitoring data item in the monitoring data record.
12. The method of claim 7, wherein the cloud resource monitoring module comprises:
determining a data statistical mode required by the target monitoring data item, and taking the data statistical mode as a target statistical mode;
counting the values of the target monitoring data items by adopting the target counting mode to obtain a monitoring result of the target cloud resources;
and visually displaying the monitoring result of the target cloud resource.
13. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the cloud resource monitoring method of any of claims 1-6.
14. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing the cloud resource monitoring method of any of claims 1-6.
CN201911304117.8A 2019-12-17 2019-12-17 Cloud resource monitoring method, device, equipment and storage medium Pending CN112231167A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911304117.8A CN112231167A (en) 2019-12-17 2019-12-17 Cloud resource monitoring method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911304117.8A CN112231167A (en) 2019-12-17 2019-12-17 Cloud resource monitoring method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112231167A true CN112231167A (en) 2021-01-15

Family

ID=74111252

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911304117.8A Pending CN112231167A (en) 2019-12-17 2019-12-17 Cloud resource monitoring method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112231167A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113595827A (en) * 2021-07-29 2021-11-02 北京百度网讯科技有限公司 Cloud network monitoring method and device, electronic equipment and computer medium
CN116308394A (en) * 2023-05-22 2023-06-23 工业富联(佛山)创新中心有限公司 Label association method, apparatus, electronic device and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106961367A (en) * 2017-05-19 2017-07-18 济南浪潮高新科技投资发展有限公司 Cloud resource monitoring and method based on openstack
CN107295074A (en) * 2017-06-13 2017-10-24 郑州云海信息技术有限公司 It is a kind of to realize the method and apparatus that cloud resource is shown
AU2018100683A4 (en) * 2018-05-19 2018-06-28 Chongqing University Of Posts And Telecommunications A method for monitoring and managing the resources in cloud
CN109327335A (en) * 2018-10-07 2019-02-12 杭州安恒信息技术股份有限公司 A kind of cloud monitoring solution system and method
CN109981322A (en) * 2017-12-28 2019-07-05 北京京东尚科信息技术有限公司 The method and apparatus of cloud resource management based on label

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106961367A (en) * 2017-05-19 2017-07-18 济南浪潮高新科技投资发展有限公司 Cloud resource monitoring and method based on openstack
CN107295074A (en) * 2017-06-13 2017-10-24 郑州云海信息技术有限公司 It is a kind of to realize the method and apparatus that cloud resource is shown
CN109981322A (en) * 2017-12-28 2019-07-05 北京京东尚科信息技术有限公司 The method and apparatus of cloud resource management based on label
AU2018100683A4 (en) * 2018-05-19 2018-06-28 Chongqing University Of Posts And Telecommunications A method for monitoring and managing the resources in cloud
CN109327335A (en) * 2018-10-07 2019-02-12 杭州安恒信息技术股份有限公司 A kind of cloud monitoring solution system and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113595827A (en) * 2021-07-29 2021-11-02 北京百度网讯科技有限公司 Cloud network monitoring method and device, electronic equipment and computer medium
CN116308394A (en) * 2023-05-22 2023-06-23 工业富联(佛山)创新中心有限公司 Label association method, apparatus, electronic device and computer readable storage medium
CN116308394B (en) * 2023-05-22 2023-08-04 工业富联(佛山)创新中心有限公司 Label association method, apparatus, electronic device and computer readable storage medium

Similar Documents

Publication Publication Date Title
US10116534B2 (en) Systems and methods for WebSphere MQ performance metrics analysis
CN111835582B (en) Configuration method and device of Internet of things inspection equipment and computer equipment
CN109885624B (en) Data processing method, data processing device, computer equipment and storage medium
CN111400186A (en) Performance test method and system
CN110109899B (en) Internet of things data filling method, device and system
CN110119307B (en) Data processing request processing method and device, storage medium and electronic device
CN109426600B (en) Data acquisition processing method, device, equipment and readable storage medium
CN109542786A (en) Visual testing method and device
CN110727572A (en) Buried point data processing method, device, equipment and storage medium
CN111209310A (en) Service data processing method and device based on stream computing and computer equipment
CN112231167A (en) Cloud resource monitoring method, device, equipment and storage medium
CN112817810A (en) Equipment data monitoring method and device, terminal equipment and storage medium
CN110019077A (en) Log inquiring method, device, equipment and computer readable storage medium
JP2021170319A (en) Method and device for acquiring information
CN112559525A (en) Data checking system, method, device and server
CN114465919B (en) Network service testing method, system, electronic equipment and storage medium
CN113220705A (en) Slow query identification method and device
CN113448747B (en) Data transmission method, device, computer equipment and storage medium
CN116028696A (en) Resource information acquisition method and device, electronic equipment and storage medium
CN115509931A (en) System-based performance test method and device, electronic equipment and storage medium
CN115392501A (en) Data acquisition method and device, electronic equipment and storage medium
CN110020166A (en) A kind of data analysing method and relevant device
CN110162386B (en) Task issuing method and device
CN111291271A (en) Data processing method, device, equipment and storage medium
CN112596974A (en) Full link monitoring method, device, equipment and storage medium

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