Resource data processing method and system, electronic equipment and storage medium

By deploying agents in the operating system, collecting and processing resource data and sending it to the server, the existing operating system resource management platform has solved the problems of high cost and poor application, and the compatibility and intuitive perception of different types of operating systems have been achieved. , reducing development and maintenance costs.

CN119066277APending Publication Date: 2024-12-03SHANGHAI GRANDAGE DATA SYST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411089580.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

The resource management configuration platform of existing operating systems is expensive, has a large amount of maintenance and poor application, making it difficult to be compatible with different types of operating systems.

Method used

By deploying agents in the operating system to be monitored, collecting and processing resource data, and sending the result data to the server for unified display, multiple data processing and transmission are avoided, development and maintenance costs are reduced, and adapting to different Type of operating system.

Benefits of technology

It realizes intuitive perception of operating system resource data, reduces performance losses, reduces development and maintenance costs, and improves application.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119066277A_ABST
    Figure CN119066277A_ABST
Patent Text Reader

Abstract

The invention discloses a resource data processing method and system, electronic equipment and a storage medium, and relates to the technical field of data processing. The method comprises the steps of obtaining to-be-monitored resource data of a to-be-monitored operating system and a to-be-monitored resource data processing template through an agent program; analyzing the to-be-monitored resource data processing template to obtain a to-be-monitored attribute, an attribute preprocessing rule and a result attribute; according to an attribute preprocessing rule corresponding to the to-be-monitored attribute, processing unit to-be-monitored resource data corresponding to the to-be-monitored attribute in the to-be-monitored resource data, generating result resource data of the to-be-monitored operating system, and sending the result resource data to the server side; and displaying the result resource data of the to-be-monitored operating system in a front-end page corresponding to the server side through the server side. According to the technical scheme provided by the embodiment of the invention, special resource management configuration platforms do not need to be developed for different types of operating systems, so that the development cost and the maintenance cost consumed by independently developing the platforms are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a resource data processing method, system, electronic equipment and storage medium. Background Art

[0002] With the vigorous development of the information technology application innovation industry, various operating systems, databases and middleware have sprung up. Among them, the operating system is the cornerstone of the upper-level database, middleware and application objects. The resource management of the operating system is crucial.

[0003] There are many types of existing operating systems. Developing a dedicated resource management configuration platform to manage resource data is costly, requires a lot of maintenance, and has poor applicability, which urgently needs to be improved. Summary of the invention

[0004] The present invention provides a resource data processing method, device, electronic device and storage medium, which enable an organization to intuitively perceive the resource data of its own operating system to be monitored. There is no need to develop dedicated resource management configuration platforms for different types of operating systems, which reduces the development cost and maintenance cost of a separate development platform. At the same time, it can be adapted and compatible with different types of operating systems, and has stronger applicability.

[0005] According to one aspect of the present invention, a resource data processing method is provided, the method comprising:

[0006] Obtaining the monitored resource data and the monitored resource data processing template of the monitored operating system through the agent program; wherein the agent program is pre-deployed in the monitored operating system; and there is a one-to-one correspondence between the agent program and the monitored operating system;

[0007] Parsing the resource data processing template to be monitored by the agent program to obtain at least one attribute to be monitored, attribute preprocessing rules corresponding to each attribute to be monitored, and result attributes corresponding to the attribute to be monitored;

[0008] By means of the agent program, for a single attribute to be monitored, according to the attribute preprocessing rule corresponding to the attribute to be monitored, the unit resource data to be monitored corresponding to the attribute to be monitored in the resource data to be monitored is processed to obtain the unit result resource data corresponding to the result attribute;

[0009] Generate the result resource data of the operating system to be monitored through the agent program according to the unit result resource data corresponding to each result attribute, and send it to the server;

[0010] Through the server side, the result resource data of the operating system to be monitored is displayed in a front-end page corresponding to the server side.

[0011] According to another aspect of the present invention, a resource data processing system is provided, the system comprising: an agent program and a server side, wherein:

[0012] The agent program is used to obtain the resource data to be monitored and the resource data processing template to be monitored of the operating system to be monitored; wherein the agent program is pre-deployed in the operating system to be monitored; there is a one-to-one correspondence between the agent program and the operating system to be monitored;

[0013] The agent program is used to parse the resource data processing template to be monitored to obtain at least one attribute to be monitored of the resource data to be monitored, an attribute preprocessing rule corresponding to each attribute to be monitored, and a result attribute corresponding to the attribute to be monitored;

[0014] The agent program is used for processing the unit resource data to be monitored corresponding to the single attribute to be monitored in the resource data to be monitored according to the attribute preprocessing rule corresponding to the attribute to be monitored, so as to obtain the unit result resource data corresponding to the result attribute;

[0015] The agent program is used to generate the result resource data of the operating system to be monitored according to the unit result resource data corresponding to each result attribute, and send it to the server side;

[0016] The server side is used to display the result resource data of the operating system to be monitored in a front-end page corresponding to the server side.

[0017] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0018] at least one processor; and

[0019] a memory communicatively connected to the at least one processor; wherein,

[0020] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the resource data processing method described in any embodiment of the present invention.

[0021] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the resource data processing method described in any embodiment of the present invention when executed.

[0022] According to another aspect of the present invention, a computer program product is provided. The computer program product includes a computer program. When the computer program is executed by a processor, the resource data processing method according to any embodiment of the present invention is implemented.

[0023] The technical solution of the embodiment of the present invention deploys the agent program in advance in the operating system to be monitored, and sets a one-to-one correspondence between the agent program and the operating system to be monitored. Through the agent program, data collection and data processing are performed on the resource data to be monitored of the operating system to be monitored separately, and result resource data of the operating system to be monitored is generated and sent to the server side. Through the server side, the result resource data is uniformly displayed, and the operating system to be monitored does not need to process the resource data to be monitored, nor does it need to perform multiple data processing and data transmission according to the request of the server side, which can reduce the performance loss of the operating system to be monitored, and realize the intuitive perception of the resource data of the operating system to be monitored by the organization itself, and there is no need to develop a dedicated resource management configuration platform for different types of operating systems, which reduces the development cost and maintenance cost of the separate development platform; at the same time, by deploying the agent program separately for each operating system to be monitored, it can be adapted and compatible with different types of operating systems, and the applicability is stronger; further, the agent program uses the monitored resource data collection template to monitor the attributes to be monitored, the attribute preprocessing rules of the attributes to be monitored and the result attributes of the attributes to be monitored in the resource data collection template to monitor, so that the agent program can realize the data processing of the monitored resource data, which is more convenient for the server side to display the resource data.

[0024] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. 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 creative work.

[0026] Figure 1 is a flow chart of a resource data processing method provided according to Embodiment 1 of the present invention;

[0027] Figure 2 is a flow chart of a resource data processing method provided according to Embodiment 2 of the present invention;

[0028] Figure 3 is a flow chart of a resource data processing method provided according to Embodiment 2 of the present invention;

[0029] Figure 4 is a structural diagram of a resource data processing device provided according to Embodiment 3 of the present invention;

[0030] Figure 5 It is a structural schematic diagram of an electronic device for implementing the resource data processing method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0031] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0032] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0033] Embodiment 1

[0034] Figure 1 This is a flow chart of a resource data processing method provided in Embodiment 1 of the present invention. The embodiment of the present invention is applicable to the case where an agent program is used to process resource data of an operating system. The method can be executed by a resource data processing system. The resource data processing system can be implemented in the form of hardware and / or software. The resource data processing system can be configured in an electronic device that carries a resource data processing function, such as a client or a server.

[0035] See also Figure 1 The resource data processing method shown includes:

[0036] S110 , obtaining the resource data to be monitored and the resource data processing template to be monitored of the operating system to be monitored through the agent program.

[0037] The agent program is used to collect and process resource data for the monitored operating system. The agent program can be pre-deployed in the monitored operating system. Optionally, the deployment method of the agent program in the monitored operating system may include RPM (Red Hat Package Manager, software package manager) method, source code method and binary method, etc. Among them, the RPM method is to package the agent program as a whole and install it in command mode. The source code method is to compile the command, place the program in the specified directory for the source code package of the agent program, and enable the specified function. The binary method is to decompress the agent program in the compiled directory. There is a one-to-one correspondence between the agent program and the monitored operating system. Optionally, the number of operating systems to be monitored can include at least one. Correspondingly, the number of agent programs can include at least one. Exemplarily, the agent program can be Zabbix Agent (system monitoring agent).

[0038] The resource data to be monitored may be the resource data of the operating system to be monitored. The resource data to be monitored may be used to characterize the resource situation of the operating system to be monitored. Exemplarily, the resource data to be monitored may include hardware resource data to be monitored and / or software resource data to be monitored. The resource data processing template to be monitored is used to instruct data collection and data processing for the operating system to be monitored. Optionally, the resource data processing template to be monitored may include attributes to be monitored, attribute processing rules corresponding to the attributes to be monitored, and result attributes corresponding to the attributes to be monitored. Different types of operating systems to be monitored have different resource data processing templates to be monitored. The resource data processing template to be monitored may be pre-generated based on the type of the operating system to be monitored and stored in the agent program.

[0039] In an optional embodiment of the present invention, the resource data to be monitored includes hardware resource specifications and hardware resource quantities corresponding to the operating system to be monitored.

[0040] The hardware resource specification may be a specific type of hardware resource. For example, the hardware resource may be a CPU (central processing unit); the hardware resource specification may be 8 cores. The hardware resource quantity may be used to characterize the specific quantity of the hardware resources of the operating system to be monitored.

[0041] This solution improves the efficiency of resource data collection and processing by concretizing the resource data to be monitored into the hardware resource specifications and hardware resource quantities corresponding to the operating system to be monitored, and by selecting typical data of the resource data to be monitored, and can more concisely display the resource distribution of the operating system to be monitored.

[0042] Specifically, the agent program can be used to obtain the pre-stored resource data processing template to be monitored according to the type of the operating system to be monitored. The agent program can be used to collect the resource data to be monitored of the operating system to be monitored.

[0043] In an optional embodiment of the present invention, before obtaining the monitored resource data and the monitored resource data processing template of the monitored operating system through the agent program, it also includes: detecting the adding status of the monitored operating system in the front-end page corresponding to the server side through the server side; detecting the adding exception cause when detecting that there is an abnormality in the adding status through the server side; repairing the exception according to the adding exception cause through the server side, and restarting the agent program corresponding to the monitored operating system after the abnormality is repaired, and adding the monitored operating system again.

[0044] The adding status can be used to indicate whether the monitored operating system is normally associated in the front-end page corresponding to the server. Only when the monitored operating system is normally added to the front-end page corresponding to the server, the front-end page can normally display the resource data of the monitored operating system. Optionally, the adding status can include normal or abnormal. The adding abnormal reason can be the reason for the abnormal adding status. Exemplarily, the adding abnormal reason can include network transmission failure or network permission restriction, etc.

[0045] Specifically, before obtaining the monitored resource data and the monitored resource data processing template of the monitored operating system through the agent program, the server side can detect the addition status of the monitored operating system in the front-end page corresponding to the server side, for example, by detecting whether the front-end page displays the monitored operating system. When the server side detects that there is an abnormality in the addition status, for example, it is detected that the front-end page does not display the monitored operating system, the cause of the addition abnormality is detected, such as detecting the network communication status or network permissions. The server side repairs the abnormality according to the detected cause of the addition abnormality, and after the abnormality is repaired, restart the agent program corresponding to the monitored operating system, and add the monitored operating system again.

[0046] This solution detects the adding status of the monitored operating system in the front-end page corresponding to the server side through the server side before obtaining the monitored resource data and the monitored resource data processing template of the monitored operating system through the agent program. By detecting the adding status, the normal collection of the resource data of the monitored operating system is guaranteed from the source of data collection; when the adding status is detected to be abnormal, the server side detects the adding abnormality cause, and realizes the analysis of the cause of the adding abnormality; the server side repairs the abnormality according to the adding abnormality cause, and after the abnormality is repaired, restarts the agent program corresponding to the monitored operating system, and adds the monitored operating system again, thereby realizing the re-addition of the monitored operating system and improving the fault tolerance of resource data management.

[0047] S120 , parsing the to-be-monitored resource data processing template through an agent program to obtain at least one to-be-monitored attribute, attribute preprocessing rules corresponding to each to-be-monitored attribute, and result attributes corresponding to the to-be-monitored attribute.

[0048] The attribute to be monitored may be an attribute of data required to be collected and processed by the monitored operating system. The number of attributes to be monitored may be at least one. The attribute to be monitored may be used to indicate that the resource data to be monitored is collected and processed. The attribute preprocessing rule corresponding to the attribute to be monitored may be a preprocessing rule for the resource data to be monitored corresponding to the attribute to be monitored. The attribute preprocessing rule of the attribute to be monitored may be used to indicate that the resource data to be monitored is processed. The result attribute corresponding to the attribute to be monitored may be an attribute of the unit result resource data obtained after data processing of the unit resource data to be monitored corresponding to the attribute to be monitored. There is a dependency relationship between the result attribute corresponding to the attribute to be monitored and the attribute to be monitored. Based on the dependency relationship between the attribute to be monitored and the result attribute, the resource data to be monitored may be instructed to perform data processing and data display.

[0049] Specifically, the agent program may adopt a text parsing algorithm to parse the monitored resource data processing template to obtain at least one monitored attribute, attribute preprocessing rules corresponding to each monitored attribute, and result attributes corresponding to the monitored attribute.

[0050] S130. For a single attribute to be monitored, the agent program processes the unit resource data to be monitored corresponding to the attribute to be monitored in the resource data to be monitored according to the attribute preprocessing rule corresponding to the attribute to be monitored, and obtains the unit result resource data corresponding to the result attribute.

[0051] The unit resource data to be monitored may be data corresponding to the attribute to be monitored in the resource data to be monitored. The attribute preprocessing rule corresponding to the attribute to be monitored may be a preprocessing rule of the unit resource data to be processed corresponding to the attribute to be monitored. The unit result resource data may be a data processing result of the unit data to be monitored corresponding to the attribute to be monitored. The unit result resource data is associated with the result attribute corresponding to the attribute to be monitored.

[0052] Specifically, through the agent program, for a single attribute to be monitored, the unit resource data to be monitored corresponding to the attribute to be monitored in the resource data to be monitored can be processed according to the attribute preprocessing rule corresponding to the attribute to be monitored to obtain the unit result resource data corresponding to the result attribute.

[0053] S140 , generating result resource data of the operating system to be monitored according to the unit result resource data corresponding to each result attribute through the agent program, and sending the result resource data to the server.

[0054] The result resource data may be a collection of unit result resource data. The result resource data may include at least one unit result resource data corresponding to a result attribute. Optionally, each unit result resource data and the result attribute in the result resource data may be stored in the agent program in correspondence.

[0055] Specifically, through the agent program, the unit result resource data corresponding to each result attribute can be matched with each result data, and the result resource data of the operating system to be monitored can be generated and sent to the server.

[0056] S150. Display the result resource data of the operating system to be monitored in a front-end page corresponding to the server side through the server side.

[0057] The server is used to receive and display the result resource data sent by the agent. The number of the server can be one. That is, the resource data collected and processed by multiple agents are uniformly displayed through a single server. The front-end page corresponding to the server can be used to display the data sent by the server.

[0058] Specifically, through the server side, the result resource data of the operating system to be monitored can be directly displayed in the front-end page corresponding to the server side.

[0059] Optionally, through the server side, the result resource data of the monitored operating system may be processed again and then displayed on a corresponding front-end page of the server side.

[0060] Optionally, the server side may also receive a query operation on the front-end page. Based on the query operation, the data processing method corresponding to the query operation may be used to process the result resource data of the monitored operating system and display it on the front-end page corresponding to the server side. Exemplarily, the data processing method corresponding to the query operation may include classifying, summarizing or detailing the result resource data.

[0061] In an optional embodiment of the present invention, the number of operating systems to be monitored is at least two; the number of agent programs is at least two; and the number of server ends is one; accordingly, through the server end, the result resource data of the operating system to be monitored is displayed in a front-end page corresponding to the server end, including: through the server end, according to the operating system type and / or result attributes of the operating system to be monitored, the result resource data of the operating system to be monitored is summarized and displayed in a front-end page corresponding to the server end.

[0062] The number of operating systems to be monitored is at least two. The number of agent programs is at least two. The number of server ends is one. It can be understood that the resource data of the operating systems to be monitored acquired by multiple agent programs are uniformly managed by a single server end. The operating system type can be used to classify the operating systems to be monitored. Optionally, the same organization can include operating systems to be monitored of at least one operating system type. By summarizing the result resource data of the operating systems to be monitored of different operating system types of the same organization, the vertical distribution of resources of the operating systems to be monitored of the same organization can be more intuitively perceived. Optionally, different organizations can have operating systems to be monitored of the same operating system type. By summarizing the result resource data of the operating systems to be monitored of the same operating system type of different organizations, the horizontal distribution of resources of the operating systems to be monitored of different organizations can be more intuitively perceived. Correspondingly, summarizing the result resource data of the operating system to be monitored based on the result attributes can achieve the same effect, that is, the resource distribution of the operating system to be monitored can be more intuitively perceived.

[0063] Optionally, through the server side, the result resource data of the operating system to be monitored can be summarized according to the operating system type of the operating system to be monitored, and displayed in the corresponding front-end page of the server side.

[0064] Optionally, through the server side, the result resource data of the operating system to be monitored can be summarized according to the result attributes of the operating system to be monitored, and displayed in the corresponding front-end page of the server side.

[0065] Optionally, through the server side, the result resource data of the operating system to be monitored can be summarized according to the operating system type and result attributes of the operating system to be monitored, and displayed in the corresponding front-end page of the server side.

[0066] This solution concretizes the number of operating systems to be monitored as at least two, the number of agent programs as at least two, and the number of server sides as one. Accordingly, through the server side, according to the operating system type and / or result attributes of the operating system to be monitored, the result resource data of the operating system to be monitored is summarized and displayed in the corresponding front-end page of the server side, which can more intuitively display the resource distribution of the operating system to be monitored.

[0067] In an optional embodiment of the present invention, after displaying the result resource data of the monitored operating system in the front-end page corresponding to the server side through the server side, it also includes: detecting the display status of the result resource data of the monitored operating system in the front-end page corresponding to the server side through the server side; and issuing a display abnormality alarm message through the server side when an abnormality is detected in the display status, so as to prompt the server side and the operation and maintenance party of the agent program to process the display abnormality alarm message.

[0068] The display status can be used to reflect the display of the result resource data of the operating system to be monitored in the front-end page corresponding to the server. Further, the display status can also be used to reflect the resource data collection of the operating system to be monitored by the agent, the data processing of the agent, the data transmission between the agent and the server, the data processing of the server, and the data display between the server and the front-end page. Optionally, the display status may include normal or abnormal. Displaying abnormal alarm information can be used to prompt that the result resource data of the operating system to be monitored is not displayed normally in the front-end page corresponding to the server. Exemplarily, the form of displaying abnormal alarm information may include text, sound and / or image, etc. The operation and maintenance party of the server and the agent can operate and maintain the server, the agent, the front-end page, and the interaction between the three parties.

[0069] Specifically, after the result resource data of the operating system to be monitored is displayed in the front-end page corresponding to the server side through the server side, the display status of the result resource data of the operating system to be monitored in the front-end page corresponding to the server side can be detected by, for example, detecting whether the front-end page displays the result resource data of the operating system to be monitored or detecting whether the result resource data of the operating system to be monitored displayed in the front-end page is updated. When the server side detects that the display status is abnormal, for example, it is detected that the front-end page has displayed the result resource data of the operating system to be monitored or it is detected that the result resource data of the operating system to be monitored displayed in the front-end page has been updated, no processing is performed; when the server side detects that the display status is abnormal, for example, it is detected that the front-end page does not display the result resource data of the operating system to be monitored or it is detected that the result resource data of the operating system to be monitored displayed in the front-end page has not been updated, a display abnormality alarm message is issued to prompt the server side and the operation and maintenance party of the agent program to process the display abnormality alarm message. Optionally, the operation and maintenance party of the server side and the agent program can detect the cause of the display abnormality with respect to the display abnormality alarm message. Optionally, the server and agent operators can fix the cause of the display exception.

[0070] After displaying the result resource data of the operating system to be monitored in the front-end page corresponding to the server side through the server side, this solution detects the display status of the result resource data of the operating system to be monitored in the front-end page corresponding to the server side through the server side, thereby realizing the detection of the display status of the resource data of the operating system to be monitored; when the server side detects that there is an abnormality in the display status, a display abnormality alarm message is issued, which can prompt the server side and the operation and maintenance party of the agent program to process the display abnormality alarm message, thereby realizing the processing of the abnormal display status, thereby ensuring the normal display of the resource data of the operating system to be monitored.

[0071] The technical solution of the embodiment of the present invention deploys the agent program in advance in the operating system to be monitored, and sets a one-to-one correspondence between the agent program and the operating system to be monitored. Through the agent program, data collection and data processing are performed on the resource data to be monitored of the operating system to be monitored separately, and result resource data of the operating system to be monitored is generated and sent to the server side. Through the server side, the result resource data is uniformly displayed, and the operating system to be monitored does not need to process the resource data to be monitored, nor does it need to perform multiple data processing and data transmission according to the request of the server side, which can reduce the performance loss of the operating system to be monitored, and realize the intuitive perception of the resource data of the operating system to be monitored by the organization itself, and there is no need to develop a dedicated resource management configuration platform for different types of operating systems, which reduces the development cost and maintenance cost of the separate development platform; at the same time, by deploying the agent program separately for each operating system to be monitored, it can be adapted and compatible with different types of operating systems, and the applicability is stronger; further, the agent program uses the monitored resource data collection template to monitor the attributes to be monitored, the attribute preprocessing rules of the attributes to be monitored and the result attributes of the attributes to be monitored in the resource data collection template to monitor, so that the agent program can realize the data processing of the monitored resource data, which is more convenient for the server side to display the resource data.

[0072] Embodiment 2

[0073] Figure 2A flow chart of a resource data processing method provided for the second embodiment of the present invention. Based on the above embodiments, the embodiment of the present invention concretizes the "resource data to be monitored" into "resource data to be monitored with general attributes and resource data to be monitored with personalized attributes"; and concretizes "obtaining the resource data to be monitored of the operating system to be monitored through an agent program" into "obtaining the resource data to be monitored with general attributes of the operating system to be monitored through a general collection script of the agent program; obtaining the resource data to be monitored with general attributes of the operating system to be monitored through a personalized collection script of the agent program", which can realize data collection of different types of operating systems, and further improve the compatibility, adaptability and applicability with different types of operating systems. It should be noted that for the parts not described in detail in the embodiments of the present invention, please refer to the description of other embodiments.

[0074] See also Figure 2 The resource data processing method shown includes:

[0075] S210: Obtain a data processing template of resources to be monitored of the operating system to be monitored through an agent program.

[0076] The agent program is pre-deployed in the operating system to be monitored; there is a one-to-one correspondence between the agent program and the operating system to be monitored.

[0077] S220 . Obtain the resource data to be monitored with common attributes of the operating system to be monitored through the common collection script of the agent program.

[0078] The resource data to be monitored include resource data to be monitored with common attributes and resource data to be monitored with personalized attributes. Among them, the resource data to be monitored with common attributes can be unit resource data to be monitored corresponding to the common attributes to be monitored between different types of operating systems. The resource data to be monitored with personalized attributes can be unit resource data to be monitored corresponding to different attributes to be monitored between different types of operating systems. The general collection script of the agent program can be used to collect the resource data to be monitored with common attributes of the operating system to be monitored. Different types of operating systems to be monitored can use the same general collection script. Exemplarily, the general collection script of the agent program can be the general collection script of the Zabbix Agent (system monitoring agent) program.

[0079] Specifically, the general attribute to-be-monitored resource data of the to-be-monitored operating system may be obtained through the general collection script of the agent program.

[0080] S230: Obtain the monitored resource data with personalized attributes of the monitored operating system through the personalized collection script of the agent program.

[0081] The personalized collection script of the agent program can be used to collect the personalized attribute monitored resource data of the monitored operating system. Different types of monitored operating systems can select corresponding personalized collection scripts in a targeted manner. It can be understood that different types of monitored operating systems with the same personalized attribute monitored resource data can use the same personalized collection script; different types of monitored operating systems with different personalized attribute monitored resource data can use different personalized collection scripts. Exemplarily, the personalized collection script of the agent program can be a Collect_Inventory script.

[0082] Specifically, the personalized attribute to-be-monitored resource data of the to-be-monitored operating system may be obtained through the personalized collection script of the agent program.

[0083] S240: Parse the monitored resource data processing template through the agent program to obtain at least one monitored attribute, attribute preprocessing rules corresponding to each monitored attribute, and result attributes corresponding to the monitored attribute.

[0084] S250. For a single attribute to be monitored, the agent program processes the unit resource data to be monitored corresponding to the attribute to be monitored in the resource data to be monitored according to the attribute preprocessing rule corresponding to the attribute to be monitored, and obtains the unit result resource data corresponding to the result attribute.

[0085] S260: Generate result resource data of the operating system to be monitored according to the unit result resource data corresponding to each result attribute through the agent program, and send it to the server.

[0086] S270. Display the result resource data of the operating system to be monitored in a front-end page corresponding to the server through the server.

[0087] The technical solution of the embodiment of the present invention, by concretizing the monitored resource data into general attribute monitored resource data and personalized attribute monitored resource data, and by adopting the general collection script of the agent program, data collection is performed on the general attribute monitored resource data of the monitored operating system, so that the reuse of the general collection script between different types of monitored operating systems can be realized, thereby reducing the development cost of the agent program; at the same time, by adopting the personalized collection script of the agent program, data collection is performed on the personalized attribute monitored resource data of the monitored operating system, which can take into account the reuse and flexibility of the personalized collection scripts between different types of monitored operating systems. While reducing the development cost of the agent program, data collection of different types of operating systems can be realized, further improving the compatibility, adaptability and applicability with different types of operating systems.

[0088] Figure 3FIG. 1 is a flow chart of a resource data processing method. Based on the above embodiment, Figure 3 This is a preferred embodiment of the present invention. Figure 3 The resource data processing method shown includes:

[0089] S310: Configure a data processing template for resources to be monitored of the operating system to be monitored.

[0090] Different organizations may include different types of operating systems to be monitored. Different operating system types may correspond to different data processing templates for resources to be monitored. The data processing template for resources to be monitored may include the monitored attributes that need to be collected and processed specifically for the monitored operating system. Among them, the attributes to be monitored may include general attributes to be monitored and personalized attributes to be monitored. Correspondingly, the resource data to be monitored may include general resource data to be monitored and personalized resource data to be monitored. Optionally, the data attributes of the operating system built into the Zabbix Agent program may be general attributes to be monitored. Other attributes to be monitored other than the general attributes to be monitored are personalized attributes to be monitored. Among them, the general resource data to be monitored may be obtained using the general collection script of the Zabbix Agent program; the personalized resource data to be monitored may be obtained using the personalized collection script of the Zabbix Agent program.

[0091] The dependency is the correspondence between the monitored attribute of the monitored operating system and the result attribute displayed on the front-end page corresponding to the server, that is, the correspondence between the data attributes between the collecting end and the collected end. The preset attribute processing rule can be the data processing rule corresponding to the dependency. Optionally, different dependencies can correspond to different pre-processing rules. Among them, the preset attribute processing rules may include direct display and data conversion, etc. Optionally, data conversion can have different conversion methods. Based on the dependencies and the preset attribute processing rules, the monitored resource data of the monitored operating system is corresponded to the monitored attribute, and then the monitored resource data of the monitored operating system is corresponded to the result resource data corresponding to the result attribute through the dependency between the monitored attribute and the result attribute.

[0092] Specifically, the monitored attributes of the monitored operating systems corresponding to different operating system types can be obtained in advance, and a monitored resource data processing template of the monitored operating system is generated based on the monitored attributes, attribute preprocessing rules corresponding to the monitored attributes, and result attributes corresponding to the monitored attributes.

[0093] S320. Install the Zabbix Agent program on the operating system to be monitored.

[0094] Specifically, you can use RPM, source code, or binary package to deploy the Zabbix Agent program on the operating system to be monitored.

[0095] S330. Deploy / optimize personalized collection scripts.

[0096] For different types of operating systems to be monitored, the templates for processing the data of resources to be monitored may be different. Specifically, different types of operating systems to be monitored have different personalized attributes to be monitored. Correspondingly, there is also a corresponding relationship between the personalized attributes to be monitored and the personalized collection scripts. Therefore, the personalized collection scripts between different types of operating systems to be monitored may be different. Exemplarily, the personalized collection script may be a Collect_Inventory script. This script can be adapted to different types of operating systems to be monitored, and can integrate the required resource data to be monitored into JSON format data for use by the Zabbix Agent program.

[0097] S340. Start / restart Zabbix Agent program.

[0098] S350, automatically add the operating system to be monitored, and detect whether the operating system to be monitored is added normally; if yes, execute S370; if not, execute S360.

[0099] In addition to the monitored operating system and agent program, there is also a server. The server can interact with multiple agent programs. The agent programs correspond to the monitored operating system one by one. The server can receive the monitored resource data collected and processed by each agent program, and display the collected resource data on the front-end page. Because the number of specific monitored operating systems is relatively large, if you manually add and associate the monitored resource data processing template, it will take a lot of time to add a large number of monitored operating systems.

[0100] Specifically, after starting the Zabbix Agent service, you can configure the automatic configuration rules on the front-end page corresponding to the server. The automatic configuration rules include the metadata in the front-end page corresponding to the server and the data source of the metadata (i.e., the corresponding specific data location in the server). You can determine whether the monitored operating system is added normally by detecting whether the front-end page corresponding to the server is displayed normally.

[0101] S360. Check the logs, processes, and network permissions, detect the cause of the addition anomaly, and fix it, then return to execute S340.

[0102] Specifically, after starting the Zabbix Agent program, if it is detected that the monitored operating system is not added normally, it is necessary to check the abnormal reason for not adding it. For example, check the logs, processes, and network permissions, etc., to detect whether the abnormal reason for adding is a network problem and network permissions, and repair it. After repairing, restart the Zabbix Agent program.

[0103] S370: Enable resource data collection and resource data processing functions of the operating system to be monitored, and associate the resource data processing template to be monitored of the operating system to be monitored with the operating system to be monitored.

[0104] Specifically, the monitored resource data processing template of the monitored operating system can be associated with the monitored operating system, and the resource data collection and resource data processing functions of the monitored operating system can be enabled to obtain and process the monitored resource data of the monitored operating system and display it in the corresponding front-end page on the server side.

[0105] S380, checking whether the data of the resource to be monitored is collected normally; if yes, executing S390; if not, returning to executing S330.

[0106] Specifically, whether the resource data to be monitored is collected normally can be determined based on whether the result resource data is displayed normally on the front-end page.

[0107] S390. View detailed resource data or summarized resource data in the corresponding front-end page on the server side.

[0108] The detailed resource data may be the detailed result of the result resource data corresponding to the operating system to be monitored, and the summarized resource data may be the summarized result of the result resource data corresponding to the operating system to be monitored.

[0109] Specifically, the detailed data of the result resource data corresponding to each operating system to be monitored can be viewed in the front-end page corresponding to the server.

[0110] Specifically, the result resource data of a single operating system to be monitored or each operating system to be monitored can be summarized on the server side according to the specified result attribute field, and displayed on the corresponding front-end page on the server side.

[0111] This solution deploys the Zabbix Agent program on the operating system to be monitored, deploys a personalized collection script, and then starts the Zabbix Agent program. By pre-configuring the data processing template of the resources to be monitored, the ZabbixAgent program is used to collect a large amount of resource data to be monitored from the operating system to be monitored in batches at one time. Then, the ZabbixAgent agent program performs corresponding data processing on the resource data to be monitored inside the Zabbix Agent program through dependency and attribute preprocessing rules. The operating system to be monitored does not need to process the resource data to be monitored, nor does it need to perform multiple data processing and data transmission according to the request of the server. This can reduce the performance loss of the operating system to be monitored. At the same time, the resource data to be monitored of the operating system to be monitored can be collected simply, flexibly and automatically, and the detailed resource data or summarized resource data can be uniformly displayed on the corresponding front-end page on the server, which can more intuitively display the resource distribution of the operating system to be monitored.

[0112] Embodiment 3

[0113] Figure 4 This is a schematic diagram of the structure of a resource data processing system provided in Embodiment 3 of the present invention. The embodiment of the present invention can be applied to the case where an agent program is used to process resource data of an operating system, the system can execute a resource data processing method, the system can be implemented in the form of hardware and / or software, and the system can be configured in an electronic device that carries a resource data processing function, such as a client or a server.

[0114] See also Figure 4 The resource data processing system shown in the figure includes: an agent program 410 and a server end 420, wherein the agent program 410 is used to obtain the resource data to be monitored and the resource data processing template to be monitored of the operating system to be monitored; wherein the agent program is pre-deployed in the operating system to be monitored; there is a one-to-one correspondence between the agent program and the operating system to be monitored; the agent program 410 is used to parse the resource data processing template to be monitored to obtain at least one attribute to be monitored of the resource data to be monitored, the attribute preprocessing rules corresponding to each attribute to be monitored, and the result attribute corresponding to the attribute to be monitored; the agent program 410 is used to process the unit resource data to be monitored corresponding to the attribute to be monitored in the resource data to be monitored according to the attribute preprocessing rules corresponding to the attribute to be monitored, and obtain the unit result resource data corresponding to the result attribute; the agent program 410 is used to generate the result resource data of the operating system to be monitored according to the unit result resource data corresponding to each result attribute, and send it to the server end; the server end 420 is used to display the result resource data of the operating system to be monitored in the front-end page corresponding to the server end.

[0115] The technical solution of the embodiment of the present invention deploys the agent program in advance in the operating system to be monitored, and sets a one-to-one correspondence between the agent program and the operating system to be monitored. Through the agent program, data collection and data processing are performed on the resource data to be monitored of the operating system to be monitored separately, and result resource data of the operating system to be monitored is generated and sent to the server side. Through the server side, the result resource data is uniformly displayed, and the operating system to be monitored does not need to process the resource data to be monitored, nor does it need to perform multiple data processing and data transmission according to the request of the server side, which can reduce the performance loss of the operating system to be monitored, and realize the intuitive perception of the resource data of the operating system to be monitored by the organization itself, and there is no need to develop a dedicated resource management configuration platform for different types of operating systems, which reduces the development cost and maintenance cost of the separate development platform; at the same time, by deploying the agent program separately for each operating system to be monitored, it can be adapted and compatible with different types of operating systems, and the applicability is stronger; further, the agent program uses the monitored resource data collection template to monitor the attributes to be monitored, the attribute preprocessing rules of the attributes to be monitored and the result attributes of the attributes to be monitored in the resource data collection template to monitor, so that the agent program can realize the data processing of the monitored resource data, which is more convenient for the server side to display the resource data.

[0116] In an optional embodiment of the present invention, the resource data to be monitored includes resource data to be monitored with general attributes and resource data to be monitored with personalized attributes; accordingly, through the agent program, it includes: a general collection script of the agent program, used to obtain the resource data to be monitored with general attributes of the operating system to be monitored; and a personalized collection script of the agent program, used to obtain the resource data to be monitored with personalized attributes of the operating system to be monitored.

[0117] In an optional embodiment of the present invention, the server side is also specifically used for: after displaying the result resource data of the monitored operating system in the front-end page corresponding to the server side through the server side, detecting the display status of the result resource data of the monitored operating system in the front-end page corresponding to the server side; when an abnormality is detected in the display status, issuing a display abnormality alarm message to prompt the server side and the operation and maintenance party of the agent program to process the display abnormality alarm message.

[0118] In an optional embodiment of the present invention, the server side is also specifically used for: before obtaining the monitored resource data and the monitored resource data processing template of the monitored operating system through the agent program, detecting the adding status of the monitored operating system in the front-end page corresponding to the server side; when an abnormality is detected in the adding status, detecting the reason for the adding abnormality; repairing the abnormality according to the reason for the adding abnormality, and after the abnormality is repaired, restarting the agent program corresponding to the monitored operating system, and adding the monitored operating system again.

[0119] In an optional embodiment of the present invention, the number of operating systems to be monitored is at least two; the number of agent programs is at least two; and the number of server ends is one; accordingly, the server end is specifically used to: summarize the result resource data of the operating system to be monitored according to the operating system type and / or result attributes of the operating system to be monitored, and display it in the corresponding front-end page of the server end.

[0120] In an optional embodiment of the present invention, the resource data to be monitored includes hardware resource specifications and hardware resource quantities corresponding to the operating system to be monitored.

[0121] The resource data processing system provided in the embodiment of the present invention can execute the resource data processing method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0122] In the technical solution of the embodiment of the present invention, the acquisition, storage and application of the monitored resource data of the monitored operating system, the monitored resource data processing template, the common attribute monitored resource data of the monitored operating system and the personalized attribute monitored resource data, etc., all comply with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0123] Embodiment 4

[0124] Figure 5 A schematic diagram of the structure of an electronic device 500 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0125] like Figure 5As shown, the electronic device 500 includes at least one processor 501, and a memory connected to the at least one processor 501 in communication, such as a read-only memory (ROM) 502, a random access memory (RAM) 503, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 501 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 502 or the computer program loaded from the storage unit 508 to the random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 can also be stored. The processor 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0126] Multiple components in the electronic device 500 are connected to the I / O interface 505, including: an input unit 506, such as a keyboard, a mouse, etc.; an output unit 507, such as various types of displays, speakers, etc.; a storage unit 508, such as a disk, an optical disk, etc.; and a communication unit 509, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 509 allows the electronic device 500 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0127] The processor 501 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The processor 501 performs the various methods and processes described above, such as a resource data processing method.

[0128] In some embodiments, the resource data processing method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 508. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 500 via the ROM 502 and / or the communication unit 509. When the computer program is loaded into the RAM 503 and executed by the processor 501, one or more steps of the resource data processing method described above may be performed. Alternatively, in other embodiments, the processor 501 may be configured to perform the resource data processing method in any other appropriate manner (e.g., by means of firmware).

[0129] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0130] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0131] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, system or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0132] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0133] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0134] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS (Virtual Private Server) services.

[0135] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0136] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A resource data processing method, characterized in that: The method comprises: Obtaining the monitored resource data and the monitored resource data processing template of the monitored operating system through the agent program; wherein the agent program is pre-deployed in the monitored operating system; and there is a one-to-one correspondence between the agent program and the monitored operating system; Parsing the resource data processing template to be monitored by the agent program to obtain at least one attribute to be monitored, attribute preprocessing rules corresponding to each attribute to be monitored, and result attributes corresponding to the attribute to be monitored; By means of the agent program, for a single attribute to be monitored, according to the attribute preprocessing rule corresponding to the attribute to be monitored, the unit resource data to be monitored corresponding to the attribute to be monitored in the resource data to be monitored is processed to obtain the unit result resource data corresponding to the result attribute; Generate the result resource data of the operating system to be monitored through the agent program according to the unit result resource data corresponding to each result attribute, and send it to the server; Through the server side, the result resource data of the operating system to be monitored is displayed in a front-end page corresponding to the server side.

2. The method according to claim 1, characterized in that The resource data to be monitored includes resource data to be monitored with general attributes and resource data to be monitored with personalized attributes; Accordingly, obtaining the monitored resource data of the monitored operating system through the agent program includes: Obtain the resource data of the general attributes of the monitored operating system through the general collection script of the agent program; The personalized attribute to-be-monitored resource data of the to-be-monitored operating system is obtained through the personalized collection script of the agent program.

3. The method according to claim 1, characterized in that: After displaying the result resource data of the operating system to be monitored on a front-end page corresponding to the server side through the server side, the method further includes: By means of the server side, the display status of the result resource data of the operating system to be monitored in the front-end page corresponding to the server side is detected; When the display state is detected to be abnormal, the server sends out display abnormality warning information to prompt the server and the operation and maintenance party of the agent program to process the display abnormality warning information.

4. The method according to claim 1, characterized in that: Before obtaining the resource data to be monitored and the resource data processing template to be monitored of the operating system to be monitored through the agent program, the method further includes: By means of the server, detecting the addition status of the operating system to be monitored in the front-end page corresponding to the server; By means of the server, when it is detected that the adding state is abnormal, detecting the reason for the adding abnormality; Through the server side, the exception is repaired according to the added exception reason, and after the exception is repaired, the agent program corresponding to the operating system to be monitored is restarted, and the operating system to be monitored is added again.

5. The method according to claim 1, characterized in that The number of the operating systems to be monitored is at least two; the number of the agent programs is at least two; the number of the server end is one; Correspondingly, the result resource data of the operating system to be monitored is displayed on a front-end page corresponding to the server through the server, including: The server side summarizes the result resource data of the operating system to be monitored according to the operating system type and / or the result attribute of the operating system to be monitored, and displays it on the corresponding front-end page of the server side.

6. The method according to claim 1, characterized in that The resource data to be monitored includes hardware resource specifications and hardware resource quantities corresponding to the operating system to be monitored.

7. A resource data processing system, characterized in that: The system comprises: an agent program and a server side, wherein: The agent program is used to obtain the resource data to be monitored and the resource data processing template to be monitored of the operating system to be monitored; wherein the agent program is pre-deployed in the operating system to be monitored; there is a one-to-one correspondence between the agent program and the operating system to be monitored; The agent program is used to parse the resource data processing template to be monitored to obtain at least one attribute to be monitored of the resource data to be monitored, an attribute preprocessing rule corresponding to each attribute to be monitored, and a result attribute corresponding to the attribute to be monitored; The agent program is used for processing the unit resource data to be monitored corresponding to the single attribute to be monitored in the resource data to be monitored according to the attribute preprocessing rule corresponding to the attribute to be monitored, so as to obtain the unit result resource data corresponding to the result attribute; The agent program is used to generate the result resource data of the operating system to be monitored according to the unit result resource data corresponding to each result attribute, and send it to the server side; The server side is used to display the result resource data of the operating system to be monitored in a front-end page corresponding to the server side.

8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the resource data processing method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the resource data processing method according to any one of claims 1 to 6 when executed.

10. 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 computer program implements the resource data processing method according to any one of claims 1 to 6.