Monitoring chart generation method and device for monitoring data

By automatically creating monitoring charts through a preset generation service, the problem of relying on operation and maintenance technology for manually creating monitoring charts is solved, and the generation of monitoring charts is made convenient.

CN119003290APending Publication Date: 2024-11-22BEIJING GRIDSUM TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310552952.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-16
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

In existing technologies, the creation of monitoring charts corresponding to monitoring data relies on manual operation, which results in high technical requirements for operation and maintenance and a lack of convenience.

Method used

By using the preset generation service to detect newly created middleware, business services, and hosts, monitoring charts corresponding to the monitoring data of middleware, business services, and hosts are automatically generated. The preset generation service automatically creates monitoring charts after deployment.

Benefits of technology

Monitoring charts can be generated automatically without relying on maintenance technicians, which improves the ease of creating monitoring charts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119003290A_ABST
    Figure CN119003290A_ABST
Patent Text Reader

Abstract

The invention discloses a method and a device for generating a monitoring chart of monitoring data, relates to the technical field of computers, and mainly aims to improve the convenience of creating the monitoring chart corresponding to the monitoring data. According to the main technical scheme, the method comprises the steps of detecting whether new middleware, business services and hosts exist or not based on a preset generation service; and if yes, generating a first monitoring chart corresponding to the monitoring data in the middleware, a second monitoring chart corresponding to the monitoring data in the business service and a third monitoring chart corresponding to the monitoring data in the host based on the preset generation service. The method and the device are used for creating the monitoring chart corresponding to the monitoring data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method and device for generating a monitoring chart of monitoring data. Background Art

[0002] The communication between the various parts of the enterprise business software requires the participation of middleware. Middleware is the intermediate software connecting the system software and the application software. In addition, business services and hosts are also required because business services exist in the enterprise's business software and the business software can run on the host. Therefore, after creating the middleware, business services and host, it is necessary to monitor the data of the middleware, business services and host so as to handle the abnormal data in time when it is monitored, so as to ensure the normal operation of the business software.

[0003] When monitoring, you can first collect monitoring data from the middleware, business services, and hosts, and then create monitoring charts corresponding to the monitoring data. The monitoring data can be displayed in the form of monitoring charts to more intuitively see data anomalies. However, the problem is that the current method of creating monitoring charts corresponding to monitoring data is manual, but manual creation is more challenging for the staff's operation and maintenance skills. Therefore, the creation method is inconvenient. Summary of the invention

[0004] In view of the above problems, the present invention provides a method and device for generating a monitoring chart of monitoring data, the main purpose of which is to improve the convenience of creating a monitoring chart corresponding to the monitoring data.

[0005] In order to solve the above technical problems, the present invention proposes the following solutions:

[0006] In a first aspect, the present invention provides a method for generating a monitoring chart of monitoring data, the method comprising:

[0007] Based on the preset generated services, check whether there are newly created middleware, business services and hosts;

[0008] If so, a first monitoring chart corresponding to the monitoring data in the middleware, a second monitoring chart corresponding to the monitoring data in the business service, and a third monitoring chart corresponding to the monitoring data in the host are generated based on the preset generation service.

[0009] In a second aspect, the present invention provides a monitoring chart generating device for monitoring data, the device comprising:

[0010] A detection unit, used to detect whether there are newly created middleware, business services and hosts based on the preset generated services;

[0011] A generation unit is used to generate a first monitoring chart corresponding to the monitoring data in the middleware, a second monitoring chart corresponding to the monitoring data in the business service, and a third monitoring chart corresponding to the monitoring data in the host based on the preset generation service if the detection unit detects existence.

[0012] In order to achieve the above-mentioned purpose, according to the third aspect of the present invention, a storage medium is provided, which includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the monitoring chart generation method of the monitoring data of the first aspect.

[0013] In order to achieve the above-mentioned purpose, according to the fourth aspect of the present invention, an electronic device is provided, which includes at least one processor, and at least one memory and a bus connected to the processor; wherein the processor and the memory communicate with each other through the bus; the processor is used to call the program instructions in the memory to execute the monitoring chart generation method of the monitoring data of the first aspect mentioned above.

[0014] By means of the above technical solution, a monitoring chart generation method and device for monitoring data provided by the present invention can pre-deploy generation services. After deployment, the preset generation services can be used to monitor whether there are newly created middleware, business services and hosts. If the existence is detected, since the monitoring data that needs to be monitored exists in the middleware, business services and hosts, the first monitoring chart corresponding to the monitoring data in the middleware, the second monitoring chart corresponding to the monitoring data in the business service, and the third monitoring chart corresponding to the monitoring data in the host can be generated according to the preset generation service. In this way, after the middleware, business services and hosts are created, the monitoring chart corresponding to the monitoring data can be automatically generated through the preset generation service. Therefore, there is no need to rely on the operation and maintenance technology of the staff, and the creation is convenient.

[0015] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0017] Figure 1 A flow chart of a method for generating a monitoring chart of monitoring data provided by an embodiment of the present invention is shown;

[0018] Figure 2 A flow chart of another method for generating a monitoring chart of monitoring data provided by an embodiment of the present invention is shown;

[0019] Figure 3 A block diagram showing a device for generating a monitoring chart of monitoring data provided by an embodiment of the present invention is shown;

[0020] Figure 4 A block diagram showing the composition of another monitoring chart generating device for monitoring data provided by an embodiment of the present invention is shown;

[0021] Figure 5 A block diagram of an electronic device according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0022] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0023] The communication between the various parts of the enterprise business software requires the participation of middleware. Middleware is the middleware that connects the system software and the application software. In addition, business services and hosts are also required because there are business services in the enterprise business software and the business software runs on the host. Therefore, after creating the middleware, business services and host, it is necessary to monitor the data of the middleware, business services and host so as to process the abnormal data in time when it is monitored, so as to ensure the normal operation of the business software. When monitoring, you can first collect the monitoring data in the middleware, business services and host, and then create a monitoring chart corresponding to the monitoring data, and display the monitoring data in the form of a monitoring chart, so that the abnormalities of the data can be more intuitively seen. However, the problem is that the current method of creating monitoring charts corresponding to monitoring data is manually created, but manual creation is more challenging for the operation and maintenance technology of the staff, so the creation method is not convenient. To this end, the present invention provides a monitoring chart generation method for monitoring data, which can improve the convenience of creating monitoring charts corresponding to monitoring data. Its specific execution steps are as follows: Figure 1 As shown, including:

[0024] 101. Based on the preset generated service, detect whether there are newly created middleware, business services and hosts.

[0025] In the present invention, there is a preset monitoring system, and the preset monitoring system can first deploy the preset generation service and the preset creation service in its own internal environment, wherein the preset creation service is run through the environment of Kubernetes (open source container orchestration system). After the preset generation service and the preset creation service are deployed, if you want to create corresponding middleware, business services and hosts to implement certain functions, you can create the middleware and the first collector corresponding to the middleware, the host and the third collector corresponding to the host according to the preset creation service in the preset monitoring system. The first collector is used to collect monitoring data in the middleware, and the third collector is used to collect monitoring data in the host. In this way, it is also convenient for the preset monitoring system to monitor the operation of the middleware and the host; in addition, after the preset generation service is deployed, the preset generation service can create the business service and the second collector corresponding to the business service by itself, which is used to collect monitoring data in the business service, so that the preset monitoring system can monitor the operation of the business service.

[0026] Since the preset generation service and the preset creation service will create middleware, business services and hosts, the preset generation service can detect whether there are newly created middleware, business services and hosts. If so, step 102 can be executed.

[0027] Among them, when the preset creation service creates a host, the name of the host can be filled in on the preset template; the middleware can be the middleware that connects the system software and the application software, so that multiple software running on one or more machines can interact through the network. The interoperability provided by this technology has promoted the evolution of a consistent distributed architecture, which is usually used to support and simplify complex distributed applications. It includes web servers, transaction monitors, and message queue software; business services can be service functions in business software.

[0028] 102. Generate a first monitoring chart corresponding to the monitoring data in the middleware, a second monitoring chart corresponding to the monitoring data in the business service, and a third monitoring chart corresponding to the monitoring data in the host based on a preset generation service.

[0029] After the first collector of the middleware is created, the first collector will subsequently collect the monitored data in the middleware. However, directly displaying the monitoring data may not be sufficient to discover intuitive changes in the monitoring data. Therefore, it is not easy to find abnormal data. For this reason, a first monitoring chart corresponding to the monitoring data of the middleware can be generated to display the monitoring data in the form of a monitoring chart, wherein the principles of business services and hosts are the same as those of the middleware.

[0030] In addition, when creating a monitoring chart, in order to directly find the relevant monitoring data collected by the collector later, the address of the first collector, the address of the second collector, and the address of the third collector can be established. It should be noted that the business service, the middleware, and the host are in an OR relationship.

[0031] Based on the above Figure 1 It can be seen from the implementation method that the present invention provides a monitoring chart generation method for monitoring data, which can first pre-deploy generation services and preset creation services, and can use the preset creation services and preset generation services to create business services, middleware and hosts, and then use the preset generation services to monitor whether there are newly created middleware, business services and hosts. If they are detected, since there are monitoring data that need to be monitored in the middleware, business services and hosts, the first monitoring chart corresponding to the monitoring data in the middleware, the second monitoring chart corresponding to the monitoring data in the business service, and the third monitoring chart corresponding to the monitoring data in the host can be generated according to the preset generation service. In this way, after the middleware, business services and hosts are created, the monitoring chart corresponding to the monitoring data can be automatically generated through the preset generation service. Therefore, there is no need to rely on the operation and maintenance technology of the staff, and the creation is convenient.

[0032] Furthermore, as a Figure 1 The embodiment shown in the figure is refined and expanded. The embodiment of the present invention also provides another method for generating a monitoring chart of monitoring data, such as Figure 2 As shown, the specific steps are as follows:

[0033] 201. Based on the preset generated service, detect whether there are newly created middleware, business services and hosts.

[0034] Among them, the implementation method of step 201 is the same as that of step 101, and can achieve the same technical effect and solve the same technical problem, and will not be repeated here.

[0035] 202. Generate a first monitoring chart corresponding to the monitoring data in the middleware, a second monitoring chart corresponding to the monitoring data in the business service, and a third monitoring chart corresponding to the monitoring data in the host based on a preset generation service.

[0036] In this step, the types of the created middleware, business services and hosts can be determined first, and the basic charts corresponding to various types of middleware, business services and hosts are pre-stored inside the preset generation service. Therefore, after determining the types of the middleware, business services and hosts, the first basic chart matching the type of the middleware, the second basic chart matching the type of the business service, and the third basic chart matching the type of the host can be searched in the preset storage location of the preset generation service. After finding them, modifications can be made on the basis of the first basic chart to generate a first monitoring chart corresponding to the monitoring data in the middleware; modifications can be made on the basis of the second basic chart to generate a second monitoring chart corresponding to the monitoring data in the business service; modifications can be made on the basis of the third basic chart to generate a third monitoring chart corresponding to the monitoring data in the host.

[0037] In addition, there is a situation where there are multiple middleware, business services and hosts. It is necessary to determine whether these multiple middlewares are of the same type, whether multiple business services are of the same type, and whether multiple hosts are of the same type.

[0038] If the multiple middlewares are not of the same type, multiple first basic charts that match the types of the multiple middlewares are searched in the preset storage location, and then the multiple first basic charts can be merged to obtain a first target monitoring chart that can adapt to the monitoring data of all types of middlewares.

[0039] If multiple business services are not of the same type, multiple second basic charts that match the types of multiple business services can be searched in the preset storage location, and then the multiple second basic charts can be merged to obtain a second target monitoring chart that can adapt to monitoring data of all types of business services.

[0040] If the multiple hosts are not of the same type, multiple third basic charts that match the types of the multiple hosts can be searched in the preset storage location, and then the multiple third basic charts can be merged to obtain a third target monitoring chart that can adapt to the monitoring data of all types of hosts. Taking the host as an example, the type of the host can be classified according to the operating system, and can also be, for example, an independent host, a cloud host, etc.

[0041] 203. Display the monitoring data in the middleware according to the first monitoring chart, display the monitoring data in the business service according to the second monitoring chart, and display the monitoring data in the host according to the third monitoring chart.

[0042] After creating the middleware, the first collector that collects the monitoring data in the middleware, the address of the first collector, and the first monitoring chart corresponding to the middleware monitoring data, the address of the first collector can be sent to the monitoring alarm system in the preset monitoring system. In this way, when data is generated in the middleware, the first collector can collect the monitoring data in the middleware, and the monitoring alarm system can collect the monitoring data of the middleware collected by the first collector according to the address of the first collector, and send the collected monitoring data of the middleware to the chart display system in the preset monitoring system; at the same time, the preset generation service can send the generated first monitoring chart to the chart display system in the preset monitoring system, and the chart display system can display the monitoring data of the middleware in the first monitoring chart. Since the chart display system is a visual display platform that can be synchronized to the front-end display interface, and the subsequent collector also follows this process after collecting the data, the changes in the data can be intuitively displayed in the first monitoring chart, and the staff can also view the data, so the staff can also find any abnormalities in the data in time.

[0043] At the same time, after creating a business service, a second collector for collecting monitoring data in the business service, the address of the second collector, and a second monitoring chart corresponding to the monitoring data in the business service, the address of the second collector can be sent to the monitoring alarm system in the preset monitoring system. In this way, when data is generated in the business service, the second collector can collect the monitoring data in the business service, and the monitoring alarm system can collect the monitoring data of the business service collected by the second collector according to the address of the second collector, and send the collected monitoring data of the business service to the chart display system in the preset monitoring system; at the same time, the preset generation service can send the generated second monitoring chart to the chart display system in the preset monitoring system, and the chart display system can display the monitoring data of the business service in the first monitoring chart. Taking the business service as an example, the chart can contain monitoring data such as CPU, memory, disk, network, etc.

[0044] At the same time, after creating a host, a third collector for collecting monitoring data in the host, the address of the third collector, and a third monitoring chart corresponding to the monitoring data in the host, the address of the third collector can be sent to the monitoring alarm system in the preset monitoring system. In this way, when data is generated in the host, the third collector can collect the monitoring data in the host, and the monitoring alarm system can collect the monitoring data of the host collected by the third collector according to the address of the third collector, and send the collected monitoring data of the host to the chart display system in the preset monitoring system; at the same time, the preset generation service can send the generated third monitoring chart to the chart display system in the preset monitoring system, and the chart display system can display the monitoring data of the host in the third monitoring chart.

[0045] Furthermore, as a response to the above Figure 1 In order to realize the method shown in the figure, the embodiment of the present invention also provides a monitoring chart generating device for monitoring data, which is used for Figure 1 The device embodiment corresponds to the aforementioned method embodiment. For ease of reading, this device embodiment will not repeat the details of the aforementioned method embodiment one by one, but it should be clear that the device in this embodiment can correspond to all the contents of the aforementioned method embodiment. Figure 3 As shown, the device comprises:

[0046] A detection unit 301 is used to detect whether there are newly created middleware, business services and hosts based on the preset generation service;

[0047] The generation unit 302 is used to generate a first monitoring chart corresponding to the monitoring data in the middleware, a second monitoring chart corresponding to the monitoring data in the business service, and a third monitoring chart corresponding to the monitoring data in the host based on the preset generation service if the detection unit 301 detects existence.

[0048] Furthermore, as a response to the above Figure 2 In order to realize the method shown in the figure, the embodiment of the present invention also provides another monitoring chart generating device for monitoring data, which is used for Figure 2 The device embodiment corresponds to the aforementioned method embodiment. For ease of reading, this device embodiment will not repeat the details of the aforementioned method embodiment one by one, but it should be clear that the device in this embodiment can correspond to all the contents of the aforementioned method embodiment. Figure 4 As shown, the device comprises:

[0049] A detection unit 301 is used to detect whether there are newly created middleware, business services and hosts based on the preset generation service;

[0050] The generation unit 302 is used to generate a first monitoring chart corresponding to the monitoring data in the middleware, a second monitoring chart corresponding to the monitoring data in the business service, and a third monitoring chart corresponding to the monitoring data in the host based on the preset generation service if the detection unit 301 detects existence.

[0051] In an optional implementation manner, the generating unit 302 includes:

[0052] A first type determination module 3021 determines the type of the middleware, the type of the business service, and the type of the host based on the preset generation service;

[0053] A first chart search module 3022 is used to search a preset storage location for a first basic chart matching the type of the middleware determined by the type determination module 3021, a second basic chart matching the type of the business service, and a third basic chart matching the type of the host;

[0054] The first chart generation module 3023 is used to generate a first monitoring chart corresponding to the monitoring data in the middleware based on the first basic chart searched by the chart search module 3022, generate a second monitoring chart corresponding to the monitoring data of the business service based on the second basic chart, and generate a third monitoring chart corresponding to the monitoring data of the host based on the third basic chart.

[0055] In another optional implementation, the generating unit 302 includes:

[0056] A quantity determination module 3024 is used to determine the quantity of the middleware, the quantity of the business services, and the quantity of the hosts based on the preset generation service;

[0057] The second type determination module 3025 is used to determine whether the plurality of middlewares are of the same type if the number of the middlewares determined by the number determination module 3024 is plural, determine whether the plurality of business services are of the same type if the number of the business services is plural, and determine whether the plurality of hosts are of the same type if the number of the hosts is plural;

[0058] A second chart search module 3026 is configured to search a plurality of first basic charts that respectively match the types of the plurality of middlewares in a preset storage location if the second type determination module 3025 determines that the plurality of middlewares are not of the same type; search a plurality of second basic charts that respectively match the types of the plurality of business services in a preset storage location if the plurality of business services are not of the same type; and search a plurality of third basic charts that respectively match the types of the plurality of hosts in a preset storage location if the plurality of hosts are not of the same type;

[0059] The second chart generation module 3027 is used to generate a first target monitoring chart corresponding to the monitoring data in the multiple middlewares based on the multiple first basic charts searched by the second chart search module 3026, generate a second target monitoring chart corresponding to the monitoring data in the multiple business services based on the multiple second basic charts, and generate a third target monitoring chart corresponding to the monitoring data in the multiple hosts based on the multiple third basic charts. The target monitoring chart is obtained by fusing multiple basic charts.

[0060] In an optional implementation manner, before the detection unit 301 detects whether there is a newly created middleware, business service, and host based on the preset generation service, the device further includes a deployment unit 303, and the deployment unit 303 is specifically used to:

[0061] Deploy a preset generation service, and generate a business service and a second collector corresponding to the business service based on the preset generation service, wherein the second collector is used to collect monitoring data in the business service.

[0062] In an optional implementation, when the deployment unit 303 deploys the preset generation service, the device further includes a creation unit 304, and the creation unit 304 is specifically used to:

[0063] Through the preset creation service, the middleware and the first collector corresponding to the middleware, the host and the third collector corresponding to the host are created using the preset creation template. The first collector is used to collect monitoring data in the middleware, and the third collector is used to collect monitoring data in the host.

[0064] In an optional implementation, when the generation unit 302 generates a first monitoring chart corresponding to the monitoring data in the middleware, a second monitoring chart corresponding to the monitoring data in the business service, and a third monitoring chart corresponding to the monitoring data in the host based on the preset generation service, the device further includes an address generation unit 305, and the address generation unit 305 is specifically used to:

[0065] The address of the first collector, the address of the second collector, and the address of the third collector are generated based on a preset generation service.

[0066] In an optional implementation, the device further includes a display unit 306, and the display unit 306 includes:

[0067] The address sending module 3061 is used to send the address of the first collector, the address of the second collector, and the address of the third collector to the monitoring alarm system, so that the monitoring alarm system collects the monitoring data of the middleware collected by the first collector based on the address of the first collector, collects the monitoring data of the business service collected by the second collector based on the address of the second collector, and collects the monitoring data of the host collected by the third collector based on the address of the third collector, and sends the collected monitoring data of the middleware, business service, and host to the chart display system;

[0068] A chart sending module 3062, configured to send the first monitoring chart, the second monitoring chart, and the third monitoring chart to the chart display system;

[0069] The display module 3063 is used to use the chart display system to display the monitoring data of the middleware collected by the monitoring alarm system sent by the address sending module 3061 on the first monitoring chart sent by the chart sending module 3062, to display the monitoring data of the business service collected by the monitoring alarm system sent by the address sending module 3061 on the second monitoring chart sent by the chart sending module 3062, and to display the monitoring data of the host collected by the monitoring alarm system sent by the address sending module 3061 on the third monitoring chart sent by the chart sending module 3062.

[0070] Furthermore, an embodiment of the present invention further provides a storage medium, wherein the storage medium is used to store a computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute the above Figure 1-2 The monitoring chart generation method of the monitoring data described in.

[0071] Furthermore, an embodiment of the present invention also provides an electronic device, comprising: at least one processor, and at least one memory and a bus connected to the processor; wherein the processor and the memory communicate with each other through the bus; the processor is used to call the program instructions in the memory to execute the above Figure 1-2 The monitoring chart generation method of the monitoring data described in.

[0072] Furthermore, an embodiment of the present invention provides an electronic device, such as Figure 5 As shown, Figure 5 A block diagram of an electronic device 50 is shown according to an embodiment of the present invention. The electronic device 50 includes at least one processor 501, at least one memory 502 connected to the processor 501, and a bus 503; wherein the processor 501 and the memory 502 communicate with each other through the bus 503. The processor 501 is used to call the program instructions in the memory 502 to execute the above-mentioned monitoring data monitoring chart generation method. The device in this article can be a server, a PC, a PAD, a mobile phone, etc.

[0073] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0074] It is understandable that the related features in the above methods and devices can be referenced to each other. In addition, the "first", "second" and the like in the above embodiments are used to distinguish the embodiments, but do not represent the advantages and disadvantages of the embodiments.

[0075] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0076] The algorithm and display provided herein are not inherently related to any particular computer, virtual system or other device. Various general purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious that the structure required for constructing such systems. In addition, the present invention is not directed to any specific programming language either. It should be understood that various programming languages ​​can be utilized to realize the content of the present invention described herein, and the description of the above specific languages ​​is for disclosing the best mode of the present invention.

[0077] In addition, the memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0078] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0079] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0080] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0081] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0082] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0083] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0084] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0085] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0086] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0087] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for generating a monitoring chart of monitoring data, characterized in that: The method comprises: Based on the preset generated services, check whether there are newly created middleware, business services and hosts; If so, a first monitoring chart corresponding to the monitoring data in the middleware, a second monitoring chart corresponding to the monitoring data in the business service, and a third monitoring chart corresponding to the monitoring data in the host are generated based on the preset generation service.

2. The method according to claim 1, characterized in that: Generating a first monitoring chart corresponding to the monitoring data in the middleware, a second monitoring chart corresponding to the monitoring data in the business service, and a third monitoring chart corresponding to the monitoring data in the host based on the preset generation service, including: Determining the type of the middleware, the type of the business service, and the type of the host based on the preset generation service; Searching a preset storage location for a first basic graph matching the type of the middleware, a second basic graph matching the type of the business service, and a third basic graph matching the type of the host; A first monitoring chart corresponding to the monitoring data in the middleware is generated based on the first basic chart, a second monitoring chart corresponding to the monitoring data of the business service is generated based on the second basic chart, and a third monitoring chart corresponding to the monitoring data of the host is generated based on the third basic chart.

3. The method according to claim 1, characterized in that Generating a first monitoring chart corresponding to the monitoring data in the middleware, a second monitoring chart corresponding to the monitoring data in the business service, and a third monitoring chart corresponding to the monitoring data in the host based on the preset generation service, including: Determine the number of the middleware, the number of the business services, and the number of the hosts based on the preset generation service; If there are multiple middlewares, determine whether the multiple middlewares are of the same type; if there are multiple business services, determine whether the multiple business services are of the same type; if there are multiple hosts, determine whether the multiple hosts are of the same type; If the multiple middlewares are not of the same type, then searching for multiple first basic graphs that match the types of the multiple middlewares in a preset storage location; if the multiple business services are not of the same type, then searching for multiple second basic graphs that match the types of the multiple business services in a preset storage location; if the multiple hosts are not of the same type, then searching for multiple third basic graphs that match the types of the multiple hosts in a preset storage location; A first target monitoring chart corresponding to the monitoring data in the multiple middlewares is generated based on the multiple first basic charts, a second target monitoring chart corresponding to the monitoring data in the multiple business services is generated based on the multiple second basic charts, and a third target monitoring chart corresponding to the monitoring data in the multiple hosts is generated based on the multiple third basic charts, wherein the target monitoring chart is obtained by fusion of multiple basic charts.

4. The method according to claim 1, characterized in that: Before detecting whether new middleware, business services and hosts are created based on the preset generation service, the method further includes: Deploy a preset generation service, and generate a business service and a second collector corresponding to the business service based on the preset generation service, wherein the second collector is used to collect monitoring data in the business service.

5. The method according to claim 4, characterized in that When deploying the preset generation service, the method further includes: Through the preset creation service, the middleware and the first collector corresponding to the middleware, the host and the third collector corresponding to the host are created using the preset creation template. The first collector is used to collect monitoring data in the middleware, and the third collector is used to collect monitoring data in the host.

6. The method according to claim 5, characterized in that When generating a first monitoring chart corresponding to the monitoring data in the middleware, a second monitoring chart corresponding to the monitoring data in the business service, and a third monitoring chart corresponding to the monitoring data in the host based on the preset generation service, the method further includes: The address of the first collector, the address of the second collector, and the address of the third collector are generated based on a preset generation service.

7. The method according to any one of claims 1 to 6, characterized in that The method further comprises: Send the address of the first collector, the address of the second collector, and the address of the third collector to the monitoring alarm system, so that the monitoring alarm system collects the monitoring data of the middleware collected by the first collector based on the address of the first collector, collects the monitoring data of the business service collected by the second collector based on the address of the second collector, and collects the monitoring data of the host collected by the third collector based on the address of the third collector, and sends the collected monitoring data of the middleware, business service, and host to the chart display system; Sending the first monitoring chart, the second monitoring chart, and the third monitoring chart to the chart display system; Using the chart display system, the monitoring data of the middleware collected by the monitoring alarm system is displayed on the first monitoring chart, the monitoring data of the business service collected by the monitoring alarm system is displayed on the second monitoring chart, and the monitoring data of the host collected by the monitoring alarm system is displayed on the third monitoring chart.

8. A monitoring chart generating device for monitoring data, characterized in that: The device comprises: A detection unit, used to detect whether there are newly created middleware, business services and hosts based on the preset generated services; A generation unit is used to generate a first monitoring chart corresponding to the monitoring data in the middleware, a second monitoring chart corresponding to the monitoring data in the business service, and a third monitoring chart corresponding to the monitoring data in the host based on the preset generation service if the detection unit detects existence.

9. A storage medium, characterized in that: The storage medium includes a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute the monitoring chart generation method for monitoring data according to any one of claims 1 to 7.

10. An electronic device, characterized in that: include: At least one processor, and at least one memory and a bus connected to the processor; wherein the processor and the memory communicate with each other through the bus; The processor is used to call the program instructions in the memory to execute the monitoring chart generation method for monitoring data according to any one of claims 1 to 7.