Resource monitoring method, device, system and computer-readable storage medium
By generating multi-factor monitoring information of computing networks, integrated monitoring of computing power resources and network resources is realized based on the user/service perspective, and resource problems caused by independent monitoring in the existing technology are solved, and user experience and business quality assurance is improved.
Patent Information
- Application Number
- PCT/CN2024/110083
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-09-15
- Filing Date
- 2024-08-06
- Publication Date
- 2025-03-20
AI Technical Summary
In the prior art, the monitoring of computing power resources and network resources is independent and unrelated, resulting in the availability of computing power resources but problems with network resources, or the network resources are normal and the computing power resources are alerted, resulting in the user's application experience being reduced or unusable.
A resource monitoring method is provided. By obtaining monitoring information of the computing power network resource layer, control layer and service layer, a computing network multi-factor monitoring information including service identifiers provided by the computing power network service layer, user identification, and computing power identification of computing power resources, realizing integrated monitoring of computing power resources and network resources based on the user/service perspective.
It has achieved effective integration of computing resources and network resources, avoided resource waste, improved the user experience of application services, and ensured strict target guarantees for business quality.
Smart Images

Figure CN2024110083_20032025_PF_FP_ABST
Abstract
Description
Resource monitoring method, device, system and computer-readable storage medium
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application is based on and claims priority to an application filed in China with application number 202311193303.5 and filing date September 15, 2023. The disclosure of the application in China is hereby incorporated as a whole into this application. Technical Field
[0003] The present invention relates to the field of network technology, and in particular to a resource monitoring method, device, system and computer-readable storage medium. Background Art
[0004] In cloud-network convergence and computing network scenarios, real-time monitoring of multiple heterogeneous resources, such as computing power and network resources, is required. By providing optimal computing power resource services and network connections based on the varying computing power requirements of different users, we can provide stringent service quality assurance for all users.
[0005] In related technologies, computing resources and network resources are monitored independently.
[0006] Summary of the Invention
[0007] According to the first aspect of some embodiments of the present invention, a resource monitoring method is provided, including: obtaining monitoring information of a computing power network resource layer, a computing power network control layer, and a computing power network service layer involved in a computing power network; generating computing network multi-factor monitoring information including a service identifier of a computing power network service provided by the computing power network service layer, an identifier of a user using the computing power network service, and a computing power identifier of a computing power resource provided by the computing power network resource layer based on the monitoring information and the measurement results of the computing power resource layer.
[0008] In some embodiments, the computing power network resource layer includes infrastructure resources.
[0009] In some embodiments, the infrastructure resources include at least one of computing resources, network resources, and storage resources.
[0010] In some embodiments, the monitoring information of the computing power network control layer includes monitoring information of resource control functions.
[0011] In some embodiments, the monitoring information of the resource control function includes at least one of a duration of resource information collection and access control of resource types.
[0012] In some embodiments, the monitoring information of the computing power network service layer includes monitoring information of the operating status of the computing power network service.
[0013] In some embodiments, the monitoring information of the operating status of the computing network service includes at least one of the resource information processing status and the transaction process execution creation status.
[0014] In some embodiments, obtaining monitoring information of the computing power network resource layer includes: sending a subscription request to the monitored network resources in the computing power network resource layer; and obtaining operation, management, and maintenance information reported by the monitored network resources.
[0015] In some embodiments, the subscription request includes a condition for triggering an alarm, and the condition for triggering the alarm includes at least one of a threshold and a threshold value of a change amount within a preset time period.
[0016] In some embodiments, obtaining the operation, management, and maintenance information reported by the monitored network resources includes: obtaining the operation, management, and maintenance information reported by the monitored network resources in response to an alarm being triggered.
[0017] In some embodiments, the monitoring indicators of the computing power network service layer include at least one of service alarm status indicators, average load, average response time, and maximum number of sessions.
[0018] In some embodiments, the monitoring parameters of the computing resources in the computing power network resource layer include at least one of an alarm status indication, an average CPU utilization rate, an available number of CPUs, an average GPU utilization rate, and an available number of GPUs.
[0019] In some embodiments, the monitoring parameters of the network resources in the computing power network resource layer include at least one of an alarm status indication, incoming available bandwidth, outgoing available bandwidth, average latency, jitter, and packet loss.
[0020] In some embodiments, the monitoring parameters of the storage resources in the computing power network resource layer include at least one of an alarm status indication, random access memory capacity, random access memory average utilization, and random access memory used size.
[0021] In some embodiments, the monitoring parameters of the computing power network control layer include at least one of alarm status indication, computing resource monitoring duration, computing resource monitoring threshold, network resource monitoring duration, network resource monitoring threshold, computing resource monitoring threshold, storage resource monitoring duration, storage resource monitoring threshold, service monitoring duration, and service monitoring threshold.
[0022] In some embodiments, the computing power network resource layer includes network resources on the user side and network resources on the computing power resource pool side. The monitoring method also includes: sending a subscription request to the network resources on the user side so that the network resources on the user side initiate measurement of the network resources on the computing power resource pool side, wherein the request initiated by the network resources on the user side carries user side information and the destination network protocol address of the computing power resource pool; and receiving the measurement results sent by the network resources on the user side.
[0023] In some embodiments, the measurement method of the computing power resource pool side network resources initiated by the user side network resources is continuity measurement, performance measurement or frame delay measurement.
[0024] According to a second aspect of some embodiments of the present invention, a resource monitoring device is provided, including: a monitoring module configured to obtain monitoring information of a computing power network resource layer, a computing power network control layer, and a computing power network service layer involved in a computing power network; a generation module configured to generate computing power network multi-factor monitoring information including a service identifier of a computing power network service provided by the computing power network service layer, a user identifier of a user using the computing power network service, and a computing power identifier of a computing power resource provided by the computing power network resource layer based on the monitoring information and the measurement results of the computing power resource layer.
[0025] According to a third aspect of some embodiments of the present invention, a resource monitoring device is provided, comprising: a memory; and a processor coupled to the memory, wherein the processor is configured to execute any of the aforementioned resource monitoring methods based on instructions stored in the memory.
[0026] According to a fourth aspect of some embodiments of the present invention, a computing power operation management and maintenance module is provided, comprising: a monitoring device for any one of the aforementioned resources.
[0027] According to a fifth aspect of some embodiments of the present invention, a resource monitoring system is provided, comprising: a computing power operation management and maintenance module; a computing power network resource layer; a computing power network control layer; and a computing power network service layer.
[0028] In some embodiments, the computing power network control layer is further configured to perform at least one of resource configuration, resource collection, and network scheduling on the computing power network resource layer based on the computing network multi-factor monitoring information.
[0029] In some embodiments, the computing power network service layer is further configured to perform at least one of information analysis and processing, billing, and session execution on one or more services in the computing power network service layer.
[0030] In some embodiments, the computing power operation management and maintenance module is further configured to send the computing network multi-factor monitoring information to the computing power network service layer; the computing power network service layer is further configured to analyze the computing network multi-factor monitoring information and send the analysis results to the computing power network control layer.
[0031] According to a sixth aspect of some embodiments of the present invention, there is provided a computer-readable storage medium having a computer program stored thereon, which implements any of the aforementioned resource monitoring methods when executed by a processor.
[0032] According to a seventh aspect of some embodiments of the present invention, there is provided a computer program comprising: instructions, which, when executed by a processor, cause the processor to execute any one of the aforementioned resource monitoring methods.
[0033] Further features and advantages of the present invention will become apparent from the following detailed description of exemplary embodiments of the present invention with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0035] FIG1 shows a schematic diagram of a scenario in which network resources and computing resources are independently monitored.
[0036] FIG2 exemplarily shows a schematic diagram of a network of a resource monitoring system according to some embodiments of the present invention.
[0037] FIG3 shows a schematic flow chart of a resource monitoring method according to some embodiments of the present invention.
[0038] FIG4 shows a schematic flow chart of a method for measuring network resources according to some embodiments of the present invention.
[0039] FIG5 shows a schematic flow chart of a resource monitoring method according to other embodiments of the present invention.
[0040] FIG6 shows a schematic structural diagram of a resource monitoring device according to some embodiments of the present invention.
[0041] FIG7 shows a schematic structural diagram of a resource monitoring device according to other embodiments of the present invention.
[0042] FIG8 shows a schematic structural diagram of a resource monitoring device according to yet other embodiments of the present invention. DETAILED DESCRIPTION
[0043] The following will be combined with the accompanying drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, rather than all the embodiments. The following description of at least one exemplary embodiment is actually only illustrative and is in no way intended to limit the present invention and its application or use. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0044] Unless otherwise specifically stated, the relative arrangement of components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention.
[0045] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.
[0046] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered part of the specification.
[0047] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0048] It should be noted that like reference numerals and letters refer to like items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0049] After analysis, the inventors found that since the computing power resources and network resource monitoring in the relevant technologies are independent and unrelated, there may be situations where computing power resources are available but there are problems with network resources, or there may be situations where network resources are normal but computing power resources alarm, resulting in a decline in user application experience or even unusable application.
[0050] Figure 1 illustrates a scenario where network resources and computing resources are independently monitored. As shown in Figure 1 , a network management platform 11 is connected to a network resource module 12. Network resource module 12 collects and reports information to network management platform 11, and network management platform 11 configures network resources for network resource module 12. Network resource module 12 includes resources such as switches (SW), routers, and gateways (GW). A computing power management platform 13 is connected to a computing power resource module 14. Computing power resource module 14 collects and reports information to computing power management platform 13, and computing power management platform 13 configures computing power resources for computing power resource module 14. Computing power resource module 14 includes resources such as storage, CPU, and GPU. As can be seen from Figure 1 , network management platform 11 and computing power management platform 13 are independent of each other. That is, computing power and network resource monitoring are independent and unrelated. This can lead to situations where computing power resources are available but network resources are experiencing issues, or where network resources are normal but computing power resources are generating alarms, resulting in a degraded user experience or even unusable applications.
[0051] A technical problem to be solved by the embodiments of the present invention is: how to provide services based on computing resources and network resources with better application experience.
[0052] In response to the above technical problems, the present invention provides a new resource monitoring method that can perform integrated computing network resource monitoring on computing resources and network resources (collectively referred to as computing network resources) based on the user / service perspective.
[0053] Figure 2 exemplarily illustrates a network diagram of a resource monitoring system according to some embodiments of the present invention. As shown in Figure 2 , the system of this embodiment includes a computing network orchestration management layer 21 , a computing network service layer 22 , a computing network control layer 23 , and a computing network resource layer 24 .
[0054] The computing network orchestration management layer 21 includes a computing power operation administration and maintenance (OAM) module 210. The computing power operation administration and maintenance module 210 includes, for example, a resource monitoring device, such as a computing network resource monitoring platform, for monitoring computing power services, computing power resources, and network resources. A service can be a computing application service provided to users, such as a service for training a certain model. During the operation of a service, computing power resources and network resources need to be called. Computing power resources can be a computing power resource pool, such as storage, central processing unit (CPU), graphics processing unit (GPU), and other resources. Network resources include, for example, SW, routing, GW, and other resources. The resources required for a certain service can be determined based on user needs, network conditions, resource usage, etc. For example, for the training task of an image processing model, storage and GPU resources are required. When the user has high requirements for processing efficiency, more cache resources and GPUs need to be provided to meet user needs. The computing power operation management and maintenance module 210 obtains computing network multi-factor monitoring information by monitoring the service and the computing resources and network resources involved, which is used to represent the integrated monitoring results of users, services, computing power resources and network resources.
[0055] The computing power network service layer 22 performs at least one of resource information processing, billing, and transaction process execution on one or more services. Resource information processing can be performed on the monitoring results of the service and the computing resources and network resources involved. Billing is used to charge users for the process of using the service, for example, by time, or by the number or type of resources used by the user. Transaction process execution is used to support the flow of processes between users and services and resources. The monitoring information (such as monitoring results) of the computing power network service layer 22 includes monitoring information on the operating status of the computing power network service. The monitoring information on the operating status of the computing power network service includes, for example, at least one of the resource information processing status and the transaction process execution creation status. In some embodiments, the monitoring indicators of the computing power network service layer 22 include at least one of the service alarm status indicator, average load, average response time, and maximum number of sessions.
[0056] The computing power network control layer 23 is responsible for performing at least one of resource information collection, resource allocation, and network connection scheduling for computing power and network resources based on multi-factor monitoring information from the computing network. Resource information collection refers to adding new resources to the resource pool. Resource allocation refers to selecting appropriate resources for a service. Network connection scheduling refers to scheduling computing power and network resources. The monitoring information of the computing power network control layer 23 includes monitoring information related to resource control functions. For example, this monitoring information includes at least one of the duration of resource information collection and access control for resource types.
[0057] In some embodiments, the monitoring parameters of the computing power network control layer include at least one of alarm status indication, computing resource monitoring duration, computing resource monitoring threshold, network resource monitoring duration, network resource monitoring threshold, computing resource monitoring threshold, storage resource monitoring duration, storage resource monitoring threshold, service monitoring duration, and service monitoring threshold.
[0058] The computing power network resource layer 24 includes infrastructure resources, which include at least one of computing resources, network resources, storage resources, and service resources. The computing power network resource layer can include network resources on the user side and network resources on the computing power resource pool side.
[0059] In some embodiments, the monitoring parameters of the computing resources in the computing power network resource layer include at least one of an alarm status indication, an average CPU utilization rate, an available number of CPUs, an average GPU utilization rate, and an available number of GPUs.
[0060] In some embodiments, the monitoring parameters of the network resources in the computing power network resource layer include at least one of an alarm status indication, incoming available bandwidth, outgoing available bandwidth, average latency, jitter, and packet loss.
[0061] In some embodiments, the monitoring parameters of the storage resources in the computing power network resource layer include at least one of an alarm status indication, random access memory capacity, random access memory average utilization, and random access memory used size.
[0062] A mature interface protocol can be used between the computing network orchestration management layer 21, the computing network service layer 22, the computing network control layer 23, and the computing network resource layer 24, and the fields in the protocol can be expanded according to specific circumstances. This can reduce the difficulty of deployment.
[0063] An embodiment of the resource monitoring method of the present invention is described below with reference to Figure 3. This embodiment is executed by, for example, a computing power operation management and maintenance module, or may also be executed by other electronic devices, which will not be described in detail here.
[0064] Figure 3 shows a schematic flow chart of a resource monitoring method according to some embodiments of the present invention. As shown in Figure 3, the resource monitoring method of this embodiment includes steps S302 to S304.
[0065] In step S302, monitoring information of the computing power network resource layer, computing power network control layer and computing power network service layer involved in the computing power network is obtained.
[0066] For example, the monitoring objects include the monitoring indicators of services and the computing resources and network resources involved in the services. The monitoring indicators corresponding to services, computing resources, and network resources can be completely different or overlap.
[0067] In some embodiments, obtaining monitoring information of the computing power network resource layer may include: sending a subscription request to a monitored network resource in the computing power network resource layer; and obtaining operation, management, and maintenance information reported by the monitored network resource, where the operation, management, and maintenance information includes monitoring information. For example, when a monitored indicator exceeds a threshold, or when a change in a monitored indicator exceeds a threshold within a preset time period, an operation, management, and maintenance information may be triggered.
[0068] In some embodiments, the subscription request includes alarm triggering conditions, and the alarm triggering conditions include at least one of a threshold and a threshold of a change amount within a preset time period, so that an alarm can be triggered when the alarm triggering conditions are met, thereby triggering the reporting process of the monitoring information.
[0069] In addition, at least one of the alarm monitoring threshold and the scheduled monitoring duration can be sent to the service used by the user and the computing resources and network resources involved in the service; and the monitoring information sent by the service and the computing resources and network resources involved in the service can be obtained. After sending the alarm monitoring threshold or the scheduled monitoring duration, the service, computing resources and network resources can determine the monitoring information according to the alarm monitoring threshold, or monitor periodically according to the scheduled monitoring duration. For example, the monitoring information includes monitored indicators whose values exceed the alarm monitoring threshold, that is, the monitoring information is reported only when the values of the monitored indicators exceed the alarm monitoring threshold. Of course, services, computing resources and network resources can also report any monitoring results, regardless of whether they exceed the alarm monitoring threshold. In addition, in an embodiment of the present invention, exceeding the alarm monitoring threshold means being lower than the alarm monitoring lower limit or higher than the alarm monitoring upper limit.
[0070] The above monitoring indicators are only exemplary, and those skilled in the art can add or delete them as needed.
[0071] In some embodiments, the monitoring information of the computing power network resource layer, the computing power network control layer, and the computing power network service layer may include one or more of user identification, service identification, and computing power identification.
[0072] Through step S302, computing network monitoring information based on a service perspective can be obtained.
[0073] In addition to monitoring information, you can also obtain measurement results of the computing power network resource layer.
[0074] In some embodiments, a subscription request is sent to the user-side network resource; and measurement results sent by the user-side network resource are received. In response to the subscription request, the user-side network resource can initiate measurements of the computing resource pool-side network resources. In some embodiments, the request initiated by the user-side network resource carries user-side information and the destination network protocol address of the computing resource pool. Other information may also be carried as needed, which will not be detailed here.
[0075] In some embodiments, the user-side network resource initiates a measurement of the computing resource pool-side network resource using a continuity check (CC), a performance measurement (PM), or a delay measurement (DM). The DM method will be described below as an example.
[0076] In some embodiments, the measurement results of the computing power resource pool-side network resources initiated by the user-side network resources include the measured indicators whose values exceed the local alarm monitoring threshold. That is, the monitoring information is reported only when the value of the measured indicator exceeds the local alarm monitoring threshold. Of course, the user-side network resources can also report any monitoring results, regardless of whether they exceed the local alarm monitoring threshold. In addition, in embodiments of the present invention, exceeding the local alarm monitoring threshold means being below the alarm monitoring lower limit or above the alarm monitoring upper limit.
[0077] By obtaining measurement results, we can obtain computing network monitoring information based on the user's perspective.
[0078] In step S304, based on the monitoring information and measurement results, computing network multi-factor monitoring information including service identification, user identification and computing power identification is generated, for example, computing network multi-factor monitoring information including the service identification of the computing power network service provided by the computing power network service layer, the identification of the user who uses the computing power network service, and the computing power identification of the computing power resource provided by the computing power network resource layer.
[0079] An exemplary computing network multi-factor monitoring information is: {service identification, user identification, computing power resource identification, computing power alarm status indicators, available CPU number, available GPU number, available MEM number, network alarm status indicators, available bandwidth, latency, jitter, packet loss, service alarm status indicators, average load, average response time, maximum number of sessions}.
[0080] Through step S304, the monitoring results of computing resources, network resources and services can be integrated together to comprehensively evaluate the services used by the user and the computing resources and network resources involved.
[0081] After obtaining the multi-factor monitoring information of the computing network, computing power resources and network resources can be controlled based on the information. For example, at least one of resource allocation, resource collection, and network scheduling can be performed on computing power resources and network resources based on the multi-factor monitoring information of the computing network.
[0082] For example, analyzing multi-factor monitoring information reveals a long average response time. Further analysis reveals that network resource latency is normal, suggesting that the long response time may be due to low computing resource allocation. In this case, the computing resource allocation for the user's current service can be reconfigured, for example, by increasing the number of CPUs associated with the service to improve response speed.
[0083] The above embodiments introduce a user- and service-based network detection mechanism into the network. This service-based network detection mechanism further monitors computing power and network resources. This effectively integrates computing power and network monitoring, enabling more accurate and comprehensive monitoring and measurement of computing network quality. Therefore, embodiments of the present invention can correlate monitoring information for computing power and network resources, thereby avoiding resource waste and improving the user experience of application services.
[0084] An embodiment of a method for measuring network resources is exemplarily described below with reference to FIG4 .
[0085] Figure 4 shows a flow chart of a method for measuring network resources according to some embodiments of the present invention. As shown in Figure 4, the method for measuring network resources in this embodiment includes steps S402 to S408.
[0086] In step S402, the first sending time of the user-side network resource to send the service message and the first receiving time of the computing power resource pool-side network resource to receive the service message are determined.
[0087] For example, the user-side network resource sets color position 1 for the outgoing service message, marking position 1 as "colored," and a counter begins recording the first time t0 the service message was sent. After forwarding the message through the network, the computing power resource pool-side network resource receives the first service message with color position 1 during the measurement period and records the first time t1 the service message was received.
[0088] In step S404, a second sending time of the return message for sending the service message by the network resources on the computing power resource pool side and a second receiving time of the return message for receiving the network resources on the user side are determined.
[0089] For example, the computing power pool-side network resource sets the color position 1 for the returned message it sends, and the counter starts recording the return message's second transmission time t2. Then, after network forwarding, the user-side network resource receives the first return message with color position 1 during the measurement period and records the return message's second reception time t3.
[0090] In step S406, the two-way delay between the user-side network resources and the computing power resource pool-side network resources is determined based on the first sending time, the first receiving time, the second sending time, and the second receiving time.
[0091] For example, the two-way delay is = (t1-t0) + (t3-t2) = (t3-t0)-(t2-t1).
[0092] In step S408, a measurement result is determined according to the two-way delay.
[0093] For example, the measurement result may be the two-way delay itself, or may include other measurement results in addition to the two-way delay, or the two-way delay and other results may be weighted and calculated to obtain further calculation results.
[0094] The above measurement process can be initiated by multiple user-side network resources to multiple computing resource pool-side network resources. For example, when the user-side network resources include UA and UB, and the computing resource pool-side network resources include CA and CB, the network conditions between UA and CA, UB and CA, UA and CB, and UB and CB can be measured.
[0095] The above embodiment utilizes service packets between user-side network resources and computing power-side network resources, as well as the return packets of service packets, for testing. This eliminates the need to send additional test packets, saving communication overhead. This testing provides user-perspective computing network monitoring information, which can be more effectively used to control computing network resources and improve user experience.
[0096] The following describes an embodiment of the interaction process between layers by taking the networking structure of FIG2 as an example.
[0097] Fig. 5 shows a schematic flow chart of a resource monitoring method according to another embodiment of the present invention. As shown in Fig. 5 , the resource monitoring method of this embodiment includes steps S502 to S518.
[0098] In step S502, the computing network resource monitoring platform sends the preset alarm monitoring thresholds, scheduled monitoring duration and other requirements to the monitored network resources, computing power resources and application services through the configuration interface of the computing power network control layer.
[0099] In step S504, the computing resources of the computing network resource layer, the computing network service layer, and the computing network control layer are regularly monitored according to the monitoring duration, and the monitoring indicators are analyzed to see whether they exceed the local alarm monitoring threshold. If so, they are reported to the computing network resource monitoring platform.
[0100] In step S506, the user-side network resources initiate measurement of all computing resource pool-side network resources in the network to obtain measurement information.
[0101] In step S508, after the network resources on the computing power resource pool side receive the measurement information sent by the network resources on the user side, they feedback relevant network information such as available bandwidth, latency, packet loss, etc. according to the measurement requirements, and carry the computing power identification information of the computing power resource.
[0102] In step S510, after receiving the feedback measurement message, the user-side network resource analyzes whether the network alarm indicator in the message exceeds the local network alarm monitoring threshold. If it exceeds, it is reported to the computing network resource monitoring platform through the network collection interface of the computing power network control layer.
[0103] In step S512, the multi-factor information integration module integrates all the collected monitoring information according to the identifier to generate the computing network multi-factor monitoring information based on "service identifier + user identifier + computing power identifier".
[0104] In step S514, the computing network resource monitoring platform sends the computing network multi-factor monitoring information to the computing power network service layer for analysis and processing.
[0105] In step S516, the computing power network service layer performs a comprehensive analysis of the computing network multi-factor monitoring information and sends the analysis results to the computing power network control layer.
[0106] In step S518, the computing power network control layer forms control strategies for network resources and computing power resources respectively, and sends them to the corresponding computing power resources or network resources.
[0107] Thus, through the coordination between the aforementioned layers, a user- and service-based network detection mechanism can be implemented. This effectively integrates computing power and network monitoring, enabling more accurate and comprehensive monitoring and measurement of computing network quality. Therefore, embodiments of the present invention can correlate monitoring information for computing power resources and network resources, thereby avoiding resource waste and improving the user experience of application services.
[0108] An embodiment of the resource monitoring device of the present invention will be described below with reference to FIG6 .
[0109] Figure 6 shows a schematic diagram of the structure of a resource monitoring device according to some embodiments of the present invention. As shown in Figure 6, the resource monitoring device 60 of this embodiment includes: a monitoring module 610, which is configured to obtain monitoring information of the computing network resource layer, computing network control layer, and computing network service layer involved in the computing network; a generation module 620, which is configured to generate computing network multi-factor monitoring information including the service identifier of the computing network service provided by the computing network service layer, the user identifier of the user using the computing network service, and the computing power identifier of the computing resource provided by the computing network resource layer based on the monitoring information and the measurement results of the computing network resource layer.
[0110] In some embodiments, the computing power network resource layer includes infrastructure resources.
[0111] In some embodiments, the infrastructure resources include at least one of computing resources, network resources, and storage resources.
[0112] In some embodiments, the monitoring information of the computing power network control layer includes monitoring information of resource control functions.
[0113] In some embodiments, the monitoring information of the resource control function includes at least one of a duration of resource information collection and access control of resource types.
[0114] In some embodiments, the monitoring information of the computing power network service layer includes monitoring information of the operating status of the computing power network service.
[0115] In some embodiments, the monitoring information of the operating status of the computing network service includes at least one of the resource information processing status and the transaction process execution creation status.
[0116] In some embodiments, the monitoring module 610 is further configured to: send a subscription request to the monitored network resources in the computing power network resource layer; and obtain operation, management, and maintenance information reported by the monitored network resources.
[0117] In some embodiments, the subscription request includes a condition for triggering an alarm, and the condition for triggering the alarm includes at least one of a threshold and a threshold value of a change amount within a preset time period.
[0118] In some embodiments, the monitoring module 610 is further configured to: in response to an alarm being triggered, obtain operation management and maintenance information reported by the monitored network resources.
[0119] In some embodiments, the monitoring indicators of the computing power network service layer include at least one of service alarm status indicators, average load, average response time, and maximum number of sessions.
[0120] In some embodiments, the monitoring parameters of the computing resources in the computing power network resource layer include at least one of an alarm status indication, an average CPU utilization rate, an available number of CPUs, an average GPU utilization rate, and an available number of GPUs.
[0121] In some embodiments, the monitoring parameters of the network resources in the computing power network resource layer include at least one of an alarm status indication, incoming available bandwidth, outgoing available bandwidth, average latency, jitter, and packet loss.
[0122] In some embodiments, the monitoring parameters of the storage resources in the computing power network resource layer include at least one of an alarm status indication, random access memory capacity, random access memory average utilization, and random access memory used size.
[0123] In some embodiments, the monitoring parameters of the computing power network control layer include at least one of alarm status indication, computing resource monitoring duration, computing resource monitoring threshold, network resource monitoring duration, network resource monitoring threshold, computing resource monitoring threshold, storage resource monitoring duration, storage resource monitoring threshold, service monitoring duration, and service monitoring threshold.
[0124] In some embodiments, the computing power network resource layer includes network resources on the user side and network resources on the computing power resource pool side, and the monitoring device 60 also includes: a measurement module 630, which is configured to send a subscription request to the network resources on the user side so that the network resources on the user side initiate measurement of the network resources on the computing power resource pool side, wherein the request initiated by the network resources on the user side carries user side information and the destination network protocol address of the computing power resource pool; and receives the measurement results sent by the network resources on the user side.
[0125] In some embodiments, the measurement method of the computing power resource pool side network resources initiated by the user side network resources is continuity measurement, performance measurement or frame delay measurement.
[0126] FIG7 is a schematic diagram illustrating the structure of a resource monitoring device according to other embodiments of the present invention. As shown in FIG7 , the resource monitoring device 70 of this embodiment includes a memory 710 and a processor 720 coupled to the memory 710. The processor 720 is configured to execute the resource monitoring method of any of the aforementioned embodiments based on instructions stored in the memory 710.
[0127] The memory 710 may include, for example, a system memory, a fixed non-volatile storage medium, etc. The system memory may store, for example, an operating system, application programs, a boot loader, and other programs.
[0128] FIG8 shows a schematic diagram of the structure of a resource monitoring device according to yet another embodiment of the present invention. As shown in FIG8 , the resource monitoring device 80 of this embodiment includes: a memory 810 and a processor 820, and may also include an input / output interface 830, a network interface 840, a storage interface 850, and the like. These interfaces 830, 840, 850 and the memory 810 and the processor 820 can be connected, for example, via a bus 860. Among them, the input / output interface 830 provides a connection interface for input / output devices such as a display, mouse, keyboard, and touch screen. The network interface 840 provides a connection interface for various networked devices. The storage interface 850 provides a connection interface for external storage devices such as SD cards and USB flash drives.
[0129] An embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein the program implements any of the aforementioned resource monitoring methods when executed by a processor.
[0130] It will be understood by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable non-transitory storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0131] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as combinations of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more processes in the flowchart and / or one or more blocks in the block diagram.
[0132] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0133] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0134] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A resource monitoring method, comprising: Obtain monitoring information of the computing network resource layer, computing network control layer, and computing network service layer involved in the computing network; Based on the monitoring information and the measurement results of the computing power resource layer, computing network multi-factor monitoring information is generated, including the service identifier of the computing power network service provided by the computing power network service layer, the identifier of the user using the computing power network service, and the computing power identifier of the computing power resource provided by the computing power network resource layer.
2. The monitoring method according to claim 1, wherein: The computing power network resource layer includes infrastructure resources, and the infrastructure resources include at least one of computing resources, network resources, and storage resources.
3. The monitoring method according to claim 1 or 2, wherein: The monitoring information of the computing power network control layer includes monitoring information of the resource control function, and the monitoring information of the resource control function includes at least one of the duration of resource information collection and access control of resource types.
4. The monitoring method according to any one of claims 1 to 3, wherein: The monitoring information of the computing power network service layer includes monitoring information of the running status of the computing power network service, and the monitoring information of the running status of the computing power network service includes at least one of resource information processing status and transaction process execution creation status.
5. The monitoring method according to any one of claims 1 to 4, wherein: Obtaining monitoring information of the computing power network resource layer includes: Sending a subscription request to the monitored network resources in the computing power network resource layer; Obtaining operation management and maintenance information reported by the monitored network resources.
6. The monitoring method according to claim 5, wherein: The subscription request includes an alarm triggering condition, and the alarm triggering condition includes at least one of a threshold and a threshold value of a change amount within a preset time period.
7. The monitoring method according to claim 6, wherein: The obtaining of the operation management and maintenance information reported by the monitored network resource comprises: In response to the alarm being triggered, operation management and maintenance information reported by the monitored network resources is obtained.
8. The monitoring method according to any one of claims 1 to 7, wherein: The monitoring indicators of the computing power network service layer include at least one of service alarm status indicators, average load, average response time, and maximum number of sessions.
9. The monitoring method according to any one of claims 1 to 8, wherein: The monitoring parameters of the computing resources in the computing power network resource layer include at least one of an alarm status indication, an average central processing unit utilization rate, an available number of central processing units, an average graphics processing unit utilization rate, and an available number of graphics processing units.
10. The monitoring method according to any one of claims 1 to 9, wherein: The monitoring parameters of the network resources in the computing power network resource layer include at least one of an alarm status indication, incoming available bandwidth, outgoing available bandwidth, average delay, jitter, and packet loss.
11. The monitoring method according to any one of claims 1 to 10, wherein: The monitoring parameters of the storage resources in the computing power network resource layer include at least one of an alarm status indication, a random access memory capacity, an average utilization rate of the random access memory, and a used size of the random access memory.
12. The monitoring method according to any one of claims 1 to 11, wherein: The monitoring parameters of the computing power network control layer include at least one of alarm status indication, computing resource monitoring duration, computing resource monitoring threshold, network resource monitoring duration, network resource monitoring threshold, computing resource monitoring threshold, storage resource monitoring duration, storage resource monitoring threshold, service monitoring duration, and service monitoring threshold.
13. The monitoring method according to any one of claims 1 to 12, wherein: The computing power network resource layer includes network resources on the user side and network resources on the computing power resource pool side, and the monitoring method further includes: Sending a subscription request to the network resource on the user side so that the network resource on the user side initiates measurement of the network resource on the computing power resource pool side, wherein the request initiated by the network resource on the user side carries user side information and a destination network protocol address of the computing power resource pool; Receive the measurement result sent by the network resource on the user side.
14. The monitoring method according to claim 13, wherein: The measurement method of the network resources on the computing power resource pool side initiated by the user side network resources is continuity measurement, performance measurement or frame delay measurement.
15. A resource monitoring device, comprising: A monitoring module is configured to obtain monitoring information of a computing network resource layer, a computing network control layer, and a computing network service layer involved in the computing network; The generation module is configured to generate computing network multi-factor monitoring information including the service identifier of the computing power network service provided by the computing power network service layer, the user identifier of the user using the computing power network service, and the computing power identifier of the computing power resource provided by the computing power network resource layer based on the monitoring information and the measurement results of the computing power resource layer.
16. A resource monitoring device, comprising: Memory; as well as A processor coupled to the memory, wherein the processor is configured to execute the resource monitoring method according to any one of claims 1 to 14 based on instructions stored in the memory.
17. A computing power operation management and maintenance module, comprising: A resource monitoring device as claimed in claim 15 or 16.
18. A resource monitoring system, comprising: The computing power operation management and maintenance module as claimed in claim 17; Computing power network resource layer; Computing network control layer; as well as Computing power network service layer.
19. The monitoring system according to claim 18, wherein: The computing power network control layer is further configured to perform at least one of resource configuration, resource collection, and network scheduling on the computing power network resource layer based on the computing network multi-factor monitoring information.
20. The monitoring system of claim 18, wherein: The computing power network service layer is further configured to perform at least one of information analysis and processing, billing, and session execution on one or more services in the computing power network service layer.
21. The monitoring system of claim 18, wherein: The computing power operation management and maintenance module is further configured to send the computing network multi-factor monitoring information to the computing power network service layer; The computing power network service layer is further configured to analyze the computing network multi-factor monitoring information and send the analysis results to the computing power network control layer.
22. A computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the resource monitoring method according to any one of claims 1 to 14 is implemented.
23. A computer program comprising: Instructions, when executed by a processor, cause the processor to execute the resource monitoring method according to any one of claims 1-15.
Citation Information
Patent Citations
Network quality detection method and router
CN105187228A
Network system for computing power processing, service processing method and computing power network element node
CN115002862A
Resource pool monitoring method and device, platform and storage medium
CN115757000A
Reducing cloud application execution latency
US20200264926A1