Monitoring Method, Device, Storage Medium, Electronic Device and Product of System Cluster
By obtaining the executor information list of the system cluster from the content management platform, sending multi-dimensional detection instructions to the storage device, and analyzing the joint operation status of the server cluster and the storage device cluster, solving the problem of poor monitoring effect of the system cluster in the existing technology, and achieving higher operating stability.
Patent Information
- Application Number
- CN202211314243.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-25
- Publication Date
- 2025-06-24
- Estimated Expiration
- 2042-10-25
AI Technical Summary
In the scenarios of large-scale release, application up and down, computer room downtime and maintenance, existing system cluster monitoring methods lack effective heartbeat mechanisms, and cannot effectively monitor server clusters and storage device clusters, resulting in poor operational stability.
By querying the executor information list of the system cluster from the content management platform, obtaining the device information of the storage device, and sending multi-dimensional detection instructions to the storage device, receiving detection feedback information, and analyzing the joint operation status of the server cluster and the storage device cluster.
It effectively improves the monitoring effect of the system cluster, improves the operating stability of the system cluster, and can obtain detection feedback information normally and effectively in large-scale scenarios.
Smart Images

Figure CN116016291B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a monitoring method, device, storage medium, electronic device and product for a system cluster. Background Art
[0002] In a system cluster, taking the financial system as an example, there are usually various subsystems. Different subsystems require multiple servers to form a server cluster to jointly run and execute the various functions of the subsystems.
[0003] Currently, the monitoring of a system cluster is usually carried out through a simple heartbeat mechanism for servers. However, in scenarios such as large-scale release of subsystems, online and offline of applications, and maintenance of computer rooms, the server cluster in the system cluster is prone to monitoring anomalies, usually lacking an effective heartbeat mechanism, and unable to effectively monitor the server cluster and storage device cluster in the subsystems of the system cluster.
[0004] Therefore, there is currently a problem of poor monitoring effect of the system cluster, resulting in poor operating stability of the system cluster. Summary of the Invention
[0005] An embodiment of this application provides a solution that can effectively improve the monitoring effect of the system cluster and enhance the operating stability of the system cluster.
[0006] To solve the above technical problems, the embodiments of this application provide the following technical solutions:
[0007] According to an embodiment of this application, a monitoring method for a system cluster, the system cluster includes at least one subsystem, and each of the subsystems includes a server and a storage device. The method includes:
[0008] Query an executor information list corresponding to the system cluster from a content management platform, where the executor information list includes device information of storage devices in the at least one subsystem;
[0009] According to the device information of the storage devices in the at least one subsystem, send multi-dimensional detection instructions to the storage devices in the at least one subsystem;
[0010] Receive detection feedback information returned by the storage devices in the at least one subsystem in response to the multi-dimensional detection instructions;
[0011] Obtain the combined operating state of the server cluster and the storage device cluster according to the detection feedback information, where the server cluster includes servers in the at least one subsystem, and the storage device cluster includes storage devices in the at least one subsystem.
[0012] In some embodiments of the present application, sending a multi-dimensional detection instruction to a storage device in the at least one subsystem according to the device information of the storage device in the at least one subsystem includes:
[0013] Acquire a multi-dimensional detection instruction predetermined by each storage device according to the device information of each storage device in the at least one subsystem;
[0014] Sending a multi-dimensional detection instruction predetermined by each storage device to each storage device in the at least one subsystem.
[0015] In some embodiments of the present application, sending a multi-dimensional detection instruction to a storage device in the at least one subsystem according to the device information of the storage device in the at least one subsystem includes:
[0016] According to the device information of each storage device in the at least one subsystem, acquiring storage device historical monitoring data corresponding to each storage device and server historical monitoring data of a server corresponding to each storage device;
[0017] Analyze and process the storage device historical monitoring data corresponding to each storage device and the server historical monitoring data of the server corresponding to each storage device to obtain a multi-dimensional detection instruction corresponding to each storage device;
[0018] Sending a multi-dimensional detection instruction predetermined by each storage device to each storage device in the at least one subsystem.
[0019] In some embodiments of the present application, obtaining the joint operation status of the server cluster and the storage device cluster according to the detection feedback information includes:
[0020] According to the detection feedback information corresponding to each of the storage devices, the status information of each of the storage devices and the interaction information between each of the storage devices and the corresponding server are obtained;
[0021] Obtaining the storage device operation status of each storage device according to the status information corresponding to each of the storage devices;
[0022] Obtaining the server operation status of the server corresponding to each storage device according to the interaction information between each storage device and the corresponding server;
[0023] The joint operation status of the server cluster and the storage device cluster is obtained according to the storage device operation status of the storage devices in the server cluster and the storage device cluster and the server operation status of the server.
[0024] In some embodiments of the present application, obtaining the combined operating state of the server cluster and the storage device cluster based on the detection feedback information includes:
[0025] Based on the detection feedback information corresponding to each storage device, obtain the interaction information between each storage device and the corresponding server;
[0026] Construct a system diagram corresponding to the server cluster and the storage device cluster. The system diagram includes nodes corresponding to the storage devices and servers in the server cluster and the storage device cluster, and connection edges are formed between the nodes according to the interaction information between the storage devices and servers corresponding to the nodes;
[0027] Analyze and process the system diagram to obtain the combined operating state of the server cluster and the storage device cluster.
[0028] In some embodiments of the present application, after obtaining the combined operating state of the server cluster and the storage device cluster based on the detection feedback information, the method further includes:
[0029] Based on the combined operating state of the server cluster and the storage device cluster, obtain the device maintenance instructions corresponding to the combined operating state;
[0030] Send the device maintenance instructions to the server cluster and the storage device cluster to trigger the server cluster and the storage device cluster to adjust their states.
[0031] According to an embodiment of the present application, a monitoring device for a system cluster, the system cluster includes at least one subsystem, and each subsystem includes a server and a storage device. The device includes:
[0032] An acquisition module, configured to query the execution machine information list corresponding to the system cluster from the content management platform, and the execution machine information list includes the device information of the storage devices in the at least one subsystem;
[0033] A sending module, configured to send multi-dimensional detection instructions to the storage devices in the at least one subsystem according to the device information of the storage devices in the at least one subsystem;
[0034] A receiving module, configured to receive the detection feedback information returned by the storage devices in the at least one subsystem in response to the multi-dimensional detection instructions;
[0035] An analysis module, configured to obtain the combined operating state of the server cluster and the storage device cluster based on the detection feedback information. The server cluster includes the servers in the at least one subsystem, and the storage device cluster includes the storage devices in the at least one subsystem.
[0036] In some embodiments of the present application, the sending module includes a first sending unit for:
[0037] Obtain the multi-dimensional detection instructions predetermined for each storage device according to the device information of each storage device in the at least one subsystem;
[0038] Send the multi-dimensional detection instructions predetermined for each storage device to each storage device in the at least one subsystem.
[0039] In some embodiments of the present application, the sending module includes a first sending unit for:
[0040] Obtain the storage device historical monitoring data corresponding to each storage device and the server historical monitoring data of the server corresponding to each storage device according to the device information of each storage device in the at least one subsystem;
[0041] Analyze and process according to the storage device historical monitoring data corresponding to each storage device and the server historical monitoring data of the server corresponding to each storage device, and obtain the multi-dimensional detection instructions corresponding to each storage device;
[0042] Send the multi-dimensional detection instructions predetermined for each storage device to each storage device in the at least one subsystem.
[0043] In some embodiments of the present application, the analysis module includes a first analysis unit for:
[0044] Obtain the status information of each storage device and the interaction information between each storage device and the corresponding server according to the detection feedback information corresponding to each storage device;
[0045] Obtain the storage device operation status of each storage device according to the status information corresponding to each storage device;
[0046] Obtain the server operation status of the server corresponding to each storage device according to the interaction information between each storage device and the corresponding server;
[0047] Obtain the combined operation status of the server cluster and the storage device cluster according to the storage device operation status of the storage devices in the server cluster and the storage device cluster and the server operation status of the servers.
[0048] In some embodiments of the present application, the analysis module includes a second analysis unit for:
[0049] Obtain the interaction information between each storage device and the corresponding server according to the detection feedback information corresponding to each storage device;
[0050] Construct a system diagram corresponding to the server cluster and the storage device cluster. The system diagram includes nodes corresponding to the storage devices and servers in the server cluster and the storage device cluster, and connection edges are formed between the nodes according to the interaction information between the corresponding storage devices and servers.
[0051] Analyze and process the system diagram to obtain the combined operating state of the server cluster and the storage device cluster.
[0052] In some embodiments of the present application, the device further includes an adjustment module for:
[0053] Obtain a device maintenance instruction corresponding to the combined operating state according to the combined operating state of the server cluster and the storage device cluster;
[0054] Send the device maintenance instruction to the server cluster and the storage device cluster to trigger the server cluster and the storage device cluster to adjust their states.
[0055] According to another embodiment of the present application, a storage medium stores a computer program, and when the computer program is executed by a processor of a computer, the computer is made to execute the method described in the embodiments of the present application.
[0056] According to another embodiment of the present application, an electronic device may include: a memory storing a computer program; a processor reading the computer program stored in the memory to execute the method described in the embodiments of the present application.
[0057] According to another embodiment of the present application, a computer program product or a computer program includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in the various alternative implementation manners described in the embodiments of the present application.
[0058] In the monitoring solution of the system cluster of the embodiments of the present application, the system cluster includes at least one subsystem, and each subsystem includes a server and a storage device. The method includes: querying, from a content management platform, an executor information list corresponding to the system cluster, where the executor information list includes device information of the storage devices in the at least one subsystem; sending, according to the device information of the storage devices in the at least one subsystem, multi-dimensional detection instructions to the storage devices in the at least one subsystem; receiving detection feedback information returned by the storage devices in the at least one subsystem in response to the multi-dimensional detection instructions; and obtaining a combined operation state of a server cluster and a storage device cluster according to the detection feedback information, where the server cluster includes the servers in the at least one subsystem, and the storage device cluster includes the storage devices in the at least one subsystem.
[0059] In this way, by obtaining the executor information list of the storage devices in the system cluster and according to the executor information list from the storage devices in at least one subsystem, detection feedback information can be normally and effectively obtained in most scenarios, and the combined operation state of the server cluster and the storage device cluster can be obtained according to the detection feedback information. The combined operation state can effectively reflect the operation state of the system cluster, and can effectively improve the monitoring effect of the system cluster and the operation stability of the system cluster. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] To more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative efforts.
[0061] Figure 1 FIG. shows a schematic diagram of a system to which the embodiments of the present application can be applied.
[0062] Figure 2 FIG. shows a flowchart of a method for monitoring a system cluster according to an embodiment of the present application.
[0063] Figure 3 FIG. shows a flowchart of instruction sending according to an embodiment of the present application.
[0064] Figure 4 FIG. shows a flowchart of instruction sending according to another embodiment of the present application.
[0065] Figure 5 FIG. shows a flowchart of state analysis according to an embodiment of the present application.
[0066] Figure 6Shows a flowchart of status analysis according to another embodiment of the present application.
[0067] Figure 7 Shows a block diagram of a monitoring device for a system cluster according to an embodiment of the present application.
[0068] Figure 8 Shows a block diagram of an electronic device according to an embodiment of the present application. Detailed implementation manners
[0069] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative efforts belong to the scope of protection of the present application.
[0070] Figure 1 Shows a schematic diagram of a system 100 to which the embodiments of the present application can be applied. As Figure 1 shown, the system 100 may include a server 101 and a terminal 102.
[0071] The server 101 may be an independent physical server, or a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.
[0072] The terminal 102 may be any device. The terminal 102 includes but is not limited to mobile phones, computers, intelligent voice interaction devices, smart home appliances, vehicle-mounted terminals, VR / AR devices, smart watches, and computers, etc. In one implementation manner, the server 101 or the terminal 102 may be a node device in a blockchain network or a map vehicle networking platform.
[0073] In one implementation of this example, the server 101 or the terminal 102 can monitor the system cluster. The system cluster includes at least one subsystem, and each subsystem includes a server and a storage device. The method for monitoring the system cluster includes: querying, from a content management platform, an executor information list corresponding to the system cluster, where the executor information list includes device information of storage devices in the at least one subsystem; sending, according to the device information of the storage devices in the at least one subsystem, multi-dimensional detection instructions to the storage devices in the at least one subsystem; receiving detection feedback information returned by the storage devices in the at least one subsystem in response to the multi-dimensional detection instructions; and obtaining a combined operating state of a server cluster and a storage device cluster according to the detection feedback information, where the server cluster includes servers in the at least one subsystem, and the storage device cluster includes storage devices in the at least one subsystem.
[0074] Figure 2 Schematically shows a flowchart of a method for monitoring a system cluster according to an embodiment of the present application. The execution subject of the method for monitoring the system cluster can be any device, such as Figure 1 the server 101 or the terminal 102 shown.
[0075] As Figure 2 shown, the system cluster includes at least one subsystem, and each subsystem includes a server and a storage device. The method for monitoring the system cluster can include steps S210 to S240.
[0076] Step S210: Query, from a content management platform, an executor information list corresponding to the system cluster, where the executor information list includes device information of storage devices in the at least one subsystem;
[0077] Step S220: Send, according to the device information of the storage devices in the at least one subsystem, multi-dimensional detection instructions to the storage devices in the at least one subsystem;
[0078] Step S230: Receive detection feedback information returned by the storage devices in the at least one subsystem in response to the multi-dimensional detection instructions;
[0079] Step S240: Obtain a combined operating state of a server cluster and a storage device cluster according to the detection feedback information, where the server cluster includes servers in the at least one subsystem, and the storage device cluster includes storage devices in the at least one subsystem.
[0080] A system cluster is a cluster composed of multiple subsystems. System clusters include, for example, the corresponding system clusters of financial systems, game systems, vehicle networking systems, etc. Each subsystem may include servers and storage devices (i.e., storage media). In some ways, there may be interactions between the servers and storage devices within each subsystem. In some ways, there may also be interactions between the servers and storage devices among subsystems.
[0081] The system cluster can be docked with the content management platform. By inputting a query instruction to the content management platform through the data access interface of the content management platform, an execution machine information list corresponding to the system cluster can be queried from the content management platform. The execution machine information list can at least include the device information of the storage devices in at least one subsystem. The device information of the storage device can include at least one of the information such as the address of the storage device, the subsystem to which it belongs, the servers with which there is an interaction, and the subsystem to which the interacting server belongs.
[0082] According to the device information of the storage devices in at least one subsystem, a multi-dimensional detection instruction can be sent to the storage devices in at least one subsystem. The multi-dimensional detection instruction triggers the corresponding storage device to perform device detection. The multi-dimensional detection instruction includes at least one dimension of detection instructions, and each dimension of detection instruction can be used to detect the state of one dimension. Each storage device can detect and obtain detection feedback information and return the detection feedback information. Furthermore, the local end can receive the detection feedback information returned by the storage devices in at least one subsystem in response to the multi-dimensional detection instruction.
[0083] By analyzing the detection feedback information returned by the storage devices, the combined operating state of the server cluster and the storage device cluster in the system cluster can be obtained. The server cluster includes the servers in at least one subsystem, and the storage device cluster includes the storage devices in the at least one subsystem. The combined operating state can include at least one of the operating state of the servers, the operating state of the storage devices, and the interaction state between the servers and the storage devices. The combined operating state can also include the degree of operating stability of the server cluster and the storage device cluster.
[0084] In this way, based on steps S210 to S240, by obtaining the execution machine information list of the storage devices in the system cluster and according to the execution machine information list from the storage devices in at least one subsystem, detection feedback information can be normally and effectively obtained in most scenarios. And the combined operating state of the server cluster and the storage device cluster can be obtained according to the detection feedback information. The operating state of the system cluster can be effectively reflected by the combined operating state, the monitoring effect of the system cluster can be effectively improved, and the operating stability of the system cluster can be improved.
[0085] The following description Figure 2When monitoring the system cluster in the embodiments, further specific optional embodiments of each step are as follows.
[0086] In some embodiments, referring to Figure 3 , step S220, the sending of multi-dimensional detection instructions to the storage devices in the at least one subsystem according to the device information of the storage devices in the at least one subsystem includes:
[0087] Step S310, obtaining the multi-dimensional detection instructions predetermined for each storage device according to the device information of each storage device in the at least one subsystem;
[0088] Step S320, sending the multi-dimensional detection instructions predetermined for each storage device to each storage device in the at least one subsystem.
[0089] The device information of the storage device may include at least one of information such as the address of the storage device, the subsystem to which it belongs, the server with which there is interaction, and the subsystem to which the server with which there is interaction belongs. According to the device information of each storage device, the multi-dimensional detection instruction corresponding to the device information can be queried from the preset detection instructions, and then, the multi-dimensional detection instructions predetermined for each storage device are obtained. In one way, the multi-dimensional detection instructions predetermined for the storage devices in the at least one subsystem may be the same; in one way, the multi-dimensional detection instructions predetermined for the storage devices in the at least one subsystem may be different. Then, the multi-dimensional detection instructions predetermined for each storage device can be sent to each storage device in the at least one subsystem.
[0090] In some embodiments, referring to Figure 4 , step S220, the sending of multi-dimensional detection instructions to the storage devices in the at least one subsystem according to the device information of the storage devices in the at least one subsystem includes:
[0091] Step S410, obtaining the historical monitoring data of each storage device corresponding to each storage device and the historical monitoring data of the server corresponding to each storage device in the at least one subsystem according to the device information of each storage device in the at least one subsystem;
[0092] Step S420, analyzing and processing according to the historical monitoring data of each storage device corresponding to each storage device and the historical monitoring data of the server corresponding to each storage device to obtain the multi-dimensional detection instructions corresponding to each storage device;
[0093] Step S430, sending the multi-dimensional detection instructions predetermined for each storage device to each storage device in the at least one subsystem.
[0094] The device information of the storage device may include at least one of the following information: the address of the storage device, the subsystem to which it belongs, the server to which it interacts, the subsystem to which the server to which it interacts belongs, etc. Based on the device information of each storage device in at least one subsystem, the storage device historical monitoring data corresponding to each storage device and the server historical monitoring data of the server corresponding to each storage device may be obtained from the storage device or a location such as the cloud. The storage device historical monitoring data is the data obtained by monitoring the storage device in a predetermined time period before the current moment, and the server historical monitoring data is the data obtained by monitoring the server in a predetermined time period before the current moment.
[0095] Analysis and processing are performed based on the storage device historical monitoring data corresponding to each of the storage devices and the server historical monitoring data of the server corresponding to each storage device: in one method, the anomalies with a frequency higher than a predetermined frequency in the storage device historical monitoring data and the server historical monitoring data corresponding to the storage device can be counted, and then, the detection instructions corresponding to the anomalies with a frequency higher than the predetermined frequency are called to obtain multi-dimensional detection instructions corresponding to the storage device; in another method, the storage device historical monitoring data and the server historical monitoring data corresponding to the storage device can be input into a pre-trained analysis model based on machine learning or deep learning for analysis and processing to obtain instruction labels, and the corresponding detection instructions can be called according to the instruction labels to obtain multi-dimensional detection instructions corresponding to the storage device.
[0096] Furthermore, a multi-dimensional detection instruction predetermined by each storage device can be sent to each storage device in at least one subsystem. For example, a corresponding multi-dimensional detection instruction can be sent to the storage device according to the address of each storage device or a corresponding multi-dimensional detection instruction can be sent to each storage device through a content management platform.
[0097] In some embodiments, see Figure 5 , step S240, obtaining the joint operation status of the server cluster and the storage device cluster according to the detection feedback information, including:
[0098] Step S510, obtaining status information of each storage device and interaction information between each storage device and a corresponding server according to detection feedback information corresponding to each storage device;
[0099] Step S520, obtaining the storage device operation status of each storage device according to the status information corresponding to each storage device;
[0100] Step S530, obtaining the server operation status of the server corresponding to each storage device according to the interaction information between each storage device and the corresponding server;
[0101] Step S540: Obtain the combined operating status of the server cluster and the storage device cluster based on the operating status of the storage devices in the storage device cluster and the operating status of the servers in the server cluster.
[0102] The detection feedback information may include the status information of the storage devices themselves and the interaction information between the storage devices and the corresponding servers. From the detection feedback information corresponding to each storage device, the status information of each storage device and the interaction information between each storage device and the corresponding server can be obtained. The server corresponding to each storage device is the server that interacts with the storage device.
[0103] Based on the status information corresponding to each storage device, the operating status of each storage device can be determined. For example, if the status information describes that the storage device is operating normally, the operating status of the storage device is normal.
[0104] Based on the interaction information between each storage device and the corresponding server, the operating status of the server corresponding to each storage device can be determined. For example, the interaction information can describe whether the interaction between the storage device and the server can be carried out normally. If the interaction between the storage device and the server can be carried out normally, the operating status of the server corresponding to the storage device can be normal, and the interaction status of the server corresponding to the storage device can be normal.
[0105] Based on the operating status of the storage devices and the operating status of the servers of all storage devices in the server cluster and the storage device cluster, the combined operating status of the server cluster and the storage device cluster can be obtained. The combined operating status may include at least one of the operating status of the servers, the operating status of the storage devices, and the interaction status between the servers and the storage devices.
[0106] In some embodiments, refer to Figure 6 , step S240, the obtaining of the combined operating status of the server cluster and the storage device cluster based on the detection feedback information includes:
[0107] Step S610: Obtain the interaction information between each storage device and the corresponding server according to the detection feedback information corresponding to each storage device;
[0108] Step S620: Construct a system diagram corresponding to the server cluster and the storage device cluster. The system diagram includes nodes corresponding to the storage devices and servers in the server cluster and the storage device cluster, and connection edges are formed between the nodes according to the interaction information between the storage devices and servers corresponding to the nodes;
[0109] Step S630: Analyze and process the system diagram to obtain the combined operating status of the server cluster and the storage device cluster.
[0110] Taking the storage devices and servers in the server cluster and the storage device cluster as nodes, the nodes can be connected by connection edges. Among them, connection edges can be formed between the nodes according to the interaction information between the storage devices and servers corresponding to the nodes. For example, the interaction information can describe whether the interaction between the storage device and the server can proceed normally. If the interaction between a certain storage device and a certain server can proceed normally, then the certain storage device and the certain server can be connected by a connection edge. In this way, a system diagram corresponding to the server cluster and the storage device cluster can be constructed. The system diagram includes the nodes corresponding to the storage devices and servers in the server cluster and the storage device cluster, and connection edges are formed between the nodes according to the interaction information between the storage devices and servers corresponding to the nodes. Among them, the system diagram can be saved in the form of an adjacency matrix.
[0111] Analyze and process the system diagram. Specifically, a feature extraction network (such as a convolutional neural network) can be used to extract features from the adjacency matrix corresponding to the currently constructed system diagram to obtain graph features, and the graph features are input into an analysis network (such as an analysis network formed by a fully connected neural network and a classification network) for analysis to obtain the combined operating state of the server cluster and the storage device cluster as a whole. This combined operating state can be the degree of operating stability of the server cluster and the storage device cluster. In this way, the degree of operating stability of the server cluster and the storage device cluster in the system cluster can be accurately evaluated as a whole, and the negligible operating stability caused by abnormalities of individual local servers and storage devices can be ignored.
[0112] In some embodiments, after obtaining the combined operating state of the server cluster and the storage device cluster according to the detection feedback information, it may further include:
[0113] Obtain the device maintenance instruction corresponding to the combined operating state according to the combined operating state of the server cluster and the storage device cluster;
[0114] Send the device maintenance instruction to the server cluster and the storage device cluster to trigger the server cluster and the storage device cluster to adjust their states.
[0115] According to the combined operating state, the maintenance instruction corresponding to the combined operating state can be queried from the preset maintenance instructions, and then the device maintenance instruction corresponding to the combined operating state can be obtained. Sending the device maintenance instruction corresponding to the combined operating state to the servers and storage devices in the server cluster and the storage device cluster can trigger the server cluster and the storage device cluster to adjust their states.
[0116] In order to facilitate better implementation of the system cluster monitoring method provided in the embodiment of the present application, the embodiment of the present application also provides a system cluster monitoring device based on the above system cluster monitoring method. The meanings of the terms are the same as those in the above system cluster monitoring method, and the specific implementation details can refer to the description in the method embodiment. Figure 7 A block diagram of a monitoring device for a system cluster according to an embodiment of the present application is shown.
[0117] The system cluster includes at least one subsystem, each of which includes a server and a storage device. Figure 7 As shown, the monitoring device 700 of the system cluster includes: an acquisition module 710 , a sending module 720 , a receiving module 730 and an analysis module 740 .
[0118] The acquisition module 710 may be used to query the execution machine information list corresponding to the system cluster from the content management platform, wherein the execution machine information list includes device information of the storage device in the at least one subsystem;
[0119] The sending module 720 may be configured to send a multi-dimensional detection instruction to a storage device in the at least one subsystem according to the device information of the storage device in the at least one subsystem;
[0120] The receiving module 730 may be configured to receive detection feedback information returned by the storage device in the at least one subsystem in response to the multi-dimensional detection instruction;
[0121] The analysis module 740 may be configured to obtain the joint operation status of a server cluster and a storage device cluster according to the detection feedback information, wherein the server cluster includes servers in the at least one subsystem and the storage device cluster includes storage devices in the at least one subsystem.
[0122] In some embodiments of the present application, the sending module includes a first sending unit, which is used to:
[0123] Acquire a multi-dimensional detection instruction predetermined by each storage device according to the device information of each storage device in the at least one subsystem;
[0124] Sending a multi-dimensional detection instruction predetermined by each storage device to each storage device in the at least one subsystem.
[0125] In some embodiments of the present application, the sending module includes a first sending unit, which is used to:
[0126] According to the device information of each storage device in the at least one subsystem, acquiring storage device historical monitoring data corresponding to each storage device and server historical monitoring data of a server corresponding to each storage device;
[0127] Analyze and process the storage device historical monitoring data corresponding to each of the storage devices and the server historical monitoring data of the server corresponding to each storage device to obtain multi-dimensional detection instructions corresponding to each of the storage devices;
[0128] Send the multi-dimensional detection instructions scheduled for each of the storage devices to each of the storage devices in the at least one subsystem.
[0129] In some embodiments of the present application, the analysis module includes a first analysis unit for:
[0130] Obtain the status information of each of the storage devices and the interaction information between each of the storage devices and the corresponding server according to the detection feedback information corresponding to each of the storage devices;
[0131] Obtain the storage device operation status of each storage device according to the status information corresponding to each of the storage devices;
[0132] Obtain the server operation status of the server corresponding to each of the storage devices according to the interaction information between each of the storage devices and the corresponding server;
[0133] Obtain the combined operation status of the server cluster and the storage device cluster according to the storage device operation status of the storage devices in the server cluster and the storage device cluster and the server operation status of the servers.
[0134] In some embodiments of the present application, the analysis module includes a second analysis unit for:
[0135] Obtain the interaction information between each of the storage devices and the corresponding server according to the detection feedback information corresponding to each of the storage devices;
[0136] Construct a system diagram corresponding to the server cluster and the storage device cluster. The system diagram includes nodes corresponding to the storage devices and servers in the server cluster and the storage device cluster, and connection edges are formed between the nodes according to the interaction information between the corresponding storage devices and servers;
[0137] Analyze and process the system diagram to obtain the combined operation status of the server cluster and the storage device cluster.
[0138] In some embodiments of the present application, the device further includes an adjustment module for:
[0139] Obtain the device maintenance instructions corresponding to the combined operation status according to the combined operation status of the server cluster and the storage device cluster;
[0140] Send the device maintenance instruction to the server cluster and the storage device cluster to trigger the server cluster and the storage device cluster to adjust their states.
[0141] It should be noted that although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more of the above-described modules or units can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0142] In addition, an embodiment of the present application also provides an electronic device, which can be a terminal or a server. As Figure 8 shown, it shows a schematic structural diagram of the electronic device involved in the embodiment of the present application. Specifically:
[0143] The electronic device may include a processor 801 with one or more processing cores, a memory 802 with one or more computer-readable storage media, a power supply 803, an input unit 804, and other components. Those skilled in the art can understand that Figure 8 the structure of the electronic device shown in
[0144] does not constitute a limitation on the electronic device, and it may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements. Among them:
[0145] The memory 802 can be used to store software programs and modules. The processor 801 executes various functional applications and data processing by running the software programs and modules stored in the memory 802. The memory 802 mainly includes a program storage area and a data storage area. Among them, the program storage area can store an operating system, application programs required for at least one function (such as a sound playback function, an image playback function, etc.); the data storage area can store data created according to the use of the computer device. In addition, the memory 802 can include high-speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices. Correspondingly, the memory 802 can also include a memory controller to provide the processor 801 with access to the memory 802.
[0146] The electronic device further includes a power supply 803 for powering each component. Preferably, the power supply 803 can be logically connected to the processor 801 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption management through the power management system. The power supply 803 can also include any components such as one or more DC or AC power supplies, a recharge system, a power failure detection circuit, a power converter or inverter, and a power status indicator.
[0147] The electronic device may further include an input unit 804, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
[0148] Although not shown, the electronic device may further include a display unit, etc., which will not be elaborated here. Specifically, in this embodiment, the processor 801 in the electronic device will load the executable files corresponding to the processes of one or more computer programs into the memory 802 according to the following instructions, and the processor 801 will run the computer programs stored in the memory 802 to implement various functions in the foregoing embodiments of the present application.
[0149] For example, the processor 801 can execute the following steps: during the process of sending audio data to the receiving end via Bluetooth, calculate the first delay time of the Bluetooth audio encoding buffer and calculate the second delay time of the Bluetooth audio sending buffer; determine whether the first delay time meets the first delay condition; and determine whether the second delay time meets the second delay condition; if the first delay condition is met, reduce the size of the Bluetooth audio encoding buffer, and if the second delay condition is met, reduce the size of the Bluetooth audio sending buffer.
[0150] For another example, the processor 801 may execute the following steps: during the process of receiving the audio data sent by the sending end, calculate the fourth delay time of the Bluetooth audio receiving buffer and calculate the third delay time of the Bluetooth audio decoding buffer; determine whether the fourth delay time meets the fourth delay condition; and determine whether the third delay time meets the third delay condition; if the fourth delay condition is met, reduce the size of the Bluetooth audio receiving buffer, and if the third delay condition is met, reduce the size of the Bluetooth audio decoding buffer.
[0151] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by a computer program or by controlling relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0152] Therefore, an embodiment of the present application further provides a storage medium, in which a computer program is stored, and the computer program can be loaded by a processor to execute the steps in any one of the methods provided by the embodiments of the present application.
[0153] Among them, the storage medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, etc.
[0154] Since the computer program stored in the storage medium can execute the steps in any one of the methods provided by the embodiments of the present application, the beneficial effects that can be achieved by the methods provided by the embodiments of the present application can be realized. For details, see the previous embodiments and will not be repeated here.
[0155] After considering the specification and practicing the disclosed embodiments here, those skilled in the art will readily think of other implementation manners of the present application. The present application is intended to cover any variations, uses or adaptations of the present application, and these variations, uses or adaptations follow the general principles of the present application and include the common general knowledge or conventional technical means in the technical field not disclosed in the present application.
[0156] It should be understood that the present application is not limited to the embodiments described above and shown in the drawings, and various modifications and changes can be made without departing from its scope.
Claims
1. A monitoring method for a system cluster, characterized in that, The system cluster includes at least one subsystem, each of which includes a server and a storage device, and the method includes: Querying the execution machine information list corresponding to the system cluster from the content management platform, wherein the execution machine information list includes device information of the storage device in the at least one subsystem; Sending a multi-dimensional detection instruction to a storage device in the at least one subsystem according to device information of the storage device in the at least one subsystem; Receiving detection feedback information returned by a storage device in the at least one subsystem in response to the multi-dimensional detection instruction; Obtaining a joint operation state of a server cluster and a storage device cluster according to the detection feedback information, the server cluster including servers in the at least one subsystem, and the storage device cluster including storage devices in the at least one subsystem; The sending a multi-dimensional detection instruction to the storage device in the at least one subsystem according to the device information of the storage device in the at least one subsystem includes: According to the device information of each storage device in the at least one subsystem, acquiring storage device historical monitoring data corresponding to each storage device and server historical monitoring data of a server corresponding to each storage device; Analyze and process the storage device historical monitoring data corresponding to each storage device and the server historical monitoring data of the server corresponding to each storage device to obtain a multi-dimensional detection instruction corresponding to each storage device; Sending a multi-dimensional detection instruction predetermined by each storage device to each storage device in the at least one subsystem.
2. The method according to claim 1, characterized in that, The sending a multi-dimensional detection instruction to the storage device in the at least one subsystem according to the device information of the storage device in the at least one subsystem includes: Acquire a multi-dimensional detection instruction predetermined by each storage device according to the device information of each storage device in the at least one subsystem; Sending a multi-dimensional detection instruction predetermined by each storage device to each storage device in the at least one subsystem.
3. The method according to claim 1, wherein The obtaining the joint operation status of the server cluster and the storage device cluster according to the detection feedback information includes: According to the detection feedback information corresponding to each of the storage devices, the status information of each of the storage devices and the interaction information between each of the storage devices and the corresponding server are obtained; Obtaining the storage device operation status of each storage device according to the status information corresponding to each of the storage devices; Obtaining the server operation status of the server corresponding to each storage device according to the interaction information between each storage device and the corresponding server; The joint operation status of the server cluster and the storage device cluster is obtained according to the storage device operation status of the storage devices in the server cluster and the storage device cluster and the server operation status of the server.
4. The method according to claim 1, wherein The obtaining the joint operation status of the server cluster and the storage device cluster according to the detection feedback information includes: Obtaining interaction information between each storage device and a corresponding server according to detection feedback information corresponding to each storage device; Constructing a system graph corresponding to the server cluster and the storage device cluster, wherein the system graph includes nodes corresponding to the storage devices and servers in the server cluster and the storage device cluster, and connecting edges are formed between the nodes according to interaction information between the storage devices corresponding to the nodes and the servers; The system diagram is analyzed and processed to obtain the joint operation status of the server cluster and the storage device cluster.
5. The method according to any one of claims 1 to 4, characterized in that After obtaining the joint operation status of the server cluster and the storage device cluster according to the detection feedback information, the method further includes: According to the joint operation status of the server cluster and the storage device cluster, obtaining a device maintenance instruction corresponding to the joint operation status; The device maintenance instruction is sent to the server cluster and the storage device cluster to trigger the server cluster and the storage device cluster to adjust their status.
6. A monitoring device for a system cluster, characterized in that, The system cluster includes at least one subsystem, each of which includes a server and a storage device, and the device includes: An acquisition module, configured to query an execution machine information list corresponding to the system cluster from a content management platform, wherein the execution machine information list includes device information of a storage device in the at least one subsystem; A sending module, configured to send a multi-dimensional detection instruction to a storage device in the at least one subsystem according to device information of the storage device in the at least one subsystem; A receiving module, configured to receive detection feedback information returned by a storage device in the at least one subsystem in response to the multi-dimensional detection instruction; an analysis module, configured to obtain a joint operation state of a server cluster and a storage device cluster according to the detection feedback information, wherein the server cluster includes servers in the at least one subsystem, and the storage device cluster includes storage devices in the at least one subsystem; The sending module includes a first sending unit, which is used to: According to the device information of each storage device in the at least one subsystem, acquiring storage device historical monitoring data corresponding to each storage device and server historical monitoring data of a server corresponding to each storage device; Analyze and process the storage device historical monitoring data corresponding to each storage device and the server historical monitoring data of the server corresponding to each storage device to obtain a multi-dimensional detection instruction corresponding to each storage device; Sending a multi-dimensional detection instruction predetermined by each storage device to each storage device in the at least one subsystem.
7. A storage medium, characterized in that, A computer program is stored thereon, and when the computer program is executed by a processor of a computer, the computer is caused to execute the method according to any one of claims 1 to 5.
8. An electronic device, characterized in that, include: a memory storing a computer program; A processor reads a computer program stored in a memory to execute the method according to any one of claims 1 to 5.
9. A computer program product, characterized in that, The computer program product comprises a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Equipment connection state checking method and device, equipment and storage medium
CN115190044A