Monitoring data display method and device, computer equipment and storage medium
By responding to the instance monitoring request from the user side, determining the target instance and monitoring indicators, obtaining the current monitoring data, and determining the display order based on the historical interaction response data, the problem of inaccurate monitoring data display in traditional monitoring solutions is solved, and high accuracy and flexibility of monitoring data display is achieved.
Patent Information
- Application Number
- CN202411750008.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-02
- Publication Date
- 2025-03-18
AI Technical Summary
Traditional monitoring solutions cannot meet the needs of real-time, accuracy and flexibility in modern cloud environments, resulting in inaccurate display of monitoring data.
Provide a monitoring data display method, which determines the target instance, monitoring indicators and display methods by responding to the instance monitoring request of the user side, obtains the current monitoring data, and determines the display order of monitoring indicators based on the historical interaction response data, so as to achieve accurate and flexible data display.
It improves the accuracy and diversity of monitoring data display, can configure different display methods according to different monitoring indicators, and adjust the display results through interactive response data to meet the real-time and flexibility needs of the cloud environment.
Smart Images

Figure CN119645769A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a monitoring data display method, device, computer equipment and storage medium. Background Art
[0002] With the development of cloud computing technology, cloud service providers are facing more and more challenges, especially when it comes to services across multiple layers (IaaS, PaaS, SaaS). In addition, due to the heterogeneity between different services, the integration and analysis of monitoring data has become extremely difficult.
[0003] In traditional technologies, monitoring solutions usually cannot meet the requirements of real-time, accuracy and flexibility in modern cloud environments. Therefore, there is often a problem of inaccurate monitoring data display. Summary of the invention
[0004] Based on this, it is necessary to provide a monitoring data display method, device, computer equipment and storage medium that can accurately display monitoring data in response to the above technical problems.
[0005] In a first aspect, the present application provides a monitoring data display method, comprising:
[0006] In response to the instance monitoring request sent by the user terminal, determine the target instance corresponding to the instance monitoring request, the target monitoring indicator, and the display mode corresponding to the target monitoring indicator;
[0007] Get the current monitoring data generated by the target instance under the target monitoring indicator;
[0008] Determine the display order of each target monitoring indicator according to the interactive response data of each target monitoring indicator corresponding to the historical monitoring data;
[0009] According to the display order of each target monitoring indicator, the corresponding current monitoring data is displayed using the display method corresponding to the target monitoring indicator.
[0010] In one embodiment, the display order of each target monitoring indicator is determined according to the interactive response data of each target monitoring indicator corresponding to the historical monitoring data, including:
[0011] Obtain interactive response data of historical monitoring data corresponding to each target monitoring indicator; interactive response data includes the number of configured alarms, the number of alarm notifications, the number of zoom-in displays, and the number of zoom-in queries;
[0012] For each target monitoring indicator, weighted summing is performed on at least one interactive response data corresponding to the target monitoring indicator to obtain a monitoring score of the target monitoring indicator;
[0013] According to the monitoring score of each target monitoring indicator, each target monitoring indicator is sorted to obtain the display order of each target monitoring indicator.
[0014] In one embodiment, the method further comprises:
[0015] Determine whether there is any correlation between the target monitoring indicators;
[0016] Accordingly, according to the display order of each target monitoring indicator, the current monitoring data of the target instance is displayed in the display method corresponding to the target monitoring indicator, including:
[0017] For each related target monitoring indicator, in the same tab, the current monitoring number of the target instance is displayed in the display order of each target monitoring indicator using the display method corresponding to the target monitoring indicator.
[0018] In one embodiment, obtaining current monitoring data generated by a target instance under a target monitoring indicator includes:
[0019] Generate data collection requests based on target monitoring indicators;
[0020] Select a target gateway corresponding to the target instance from the candidate gateways, and send a data collection request to the target gateway;
[0021] Receive the current monitoring data generated under the target monitoring indicator fed back by the target gateway.
[0022] In one embodiment, the method further comprises:
[0023] Send a gateway access request to the instance end;
[0024] Receive gateway information of candidate gateways corresponding to each candidate instance fed back by the instance end;
[0025] For each candidate gateway corresponding to the candidate instance, a gateway access request is generated according to the gateway information;
[0026] Send a gateway access request to the candidate gateway to obtain the gateway access permission of the candidate gateway.
[0027] In one embodiment, the method further comprises:
[0028] Generate an indicator acquisition request based on the indicator description data of all candidate monitoring indicators;
[0029] Send an indicator acquisition request to the instance side to obtain data collection permissions for the corresponding candidate monitoring indicators under each candidate instance in the instance side.
[0030] In a second aspect, the present application also provides a monitoring data display device, including:
[0031] A request acquisition module, used to respond to an instance monitoring request sent by a user terminal, determine a target instance corresponding to the instance monitoring request, a target monitoring indicator, and a display method corresponding to the target monitoring indicator;
[0032] The data acquisition module is used to obtain the current monitoring data generated by the target instance under the target monitoring indicator;
[0033] The sequence determination module is used to determine the display sequence of each target monitoring indicator according to the interactive response data of each target monitoring indicator corresponding to the historical monitoring data;
[0034] The data display module is used to display the corresponding current monitoring data in the display order of each target monitoring indicator through the display method corresponding to the target monitoring indicator.
[0035] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0036] In response to the instance monitoring request sent by the user terminal, determine the target instance corresponding to the instance monitoring request, the target monitoring indicator, and the display mode corresponding to the target monitoring indicator;
[0037] Get the current monitoring data generated by the target instance under the target monitoring indicator;
[0038] Determine the display order of each target monitoring indicator according to the interactive response data of each target monitoring indicator corresponding to the historical monitoring data;
[0039] According to the display order of each target monitoring indicator, the corresponding current monitoring data is displayed using the display method corresponding to the target monitoring indicator.
[0040] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0041] In response to the instance monitoring request sent by the user terminal, determine the target instance corresponding to the instance monitoring request, the target monitoring indicator, and the display mode corresponding to the target monitoring indicator;
[0042] Get the current monitoring data generated by the target instance under the target monitoring indicator;
[0043] Determine the display order of each target monitoring indicator according to the interactive response data of each target monitoring indicator corresponding to the historical monitoring data;
[0044] According to the display order of each target monitoring indicator, the corresponding current monitoring data is displayed using the display method corresponding to the target monitoring indicator.
[0045] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0046] In response to the instance monitoring request sent by the user terminal, determine the target instance corresponding to the instance monitoring request, the target monitoring indicator, and the display mode corresponding to the target monitoring indicator;
[0047] Get the current monitoring data generated by the target instance under the target monitoring indicator;
[0048] Determine the display order of each target monitoring indicator according to the interactive response data of each target monitoring indicator corresponding to the historical monitoring data;
[0049] According to the display order of each target monitoring indicator, the corresponding current monitoring data is displayed using the display method corresponding to the target monitoring indicator.
[0050] The above-mentioned monitoring data display method, device, computer equipment and storage medium, in response to the instance monitoring request sent by the user end, determine the target instance corresponding to the instance monitoring request, the target monitoring indicator and the display method corresponding to the target monitoring indicator; obtain the current monitoring data generated by the target instance under the target monitoring indicator; determine the display order of each target monitoring indicator according to the interactive response data of the historical monitoring data corresponding to each target monitoring indicator; and display the corresponding current monitoring data according to the display order of each target monitoring indicator through the display method corresponding to the target monitoring indicator. This embodiment can configure different display methods for different monitoring indicators, and adjust the display results according to the feedback of the interactive response data, so as to improve the accuracy and diversity of the current monitoring data display. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0052] Figure 1 A diagram of an application environment of a monitoring data display method provided in this embodiment;
[0053] Figure 2 A schematic diagram of a flow chart of a first monitoring data display method provided in this embodiment;
[0054] Figure 3 A schematic diagram of a flow chart of a second monitoring data display method provided in this embodiment;
[0055] Figure 4A structural block diagram of a monitoring data display device provided in this embodiment;
[0056] Figure 5 An internal structure diagram of a first computer device provided in this embodiment;
[0057] Figure 6 This is a diagram of the internal structure of the second computer device provided in this embodiment. DETAILED DESCRIPTION
[0058] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0059] The monitoring data display method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the monitoring terminal 100 is used to collect the monitoring data of the target instance required by the user in the instance terminal; the user terminal 102 is used to display the monitoring data of the target instance; and the instance terminal 101 is used to store the monitoring data of the target instance. The monitoring terminal 100 responds to the instance monitoring request sent by the user terminal 102, determines the target instance, the target monitoring indicator and the display method corresponding to the target monitoring indicator corresponding to the instance monitoring request; obtains the current monitoring data generated by the target instance under the target monitoring indicator; determines the display order of each target monitoring indicator according to the interactive response data of the historical monitoring data corresponding to each target monitoring indicator; and displays the corresponding current monitoring data in accordance with the display order of each target monitoring indicator through the display method corresponding to the target monitoring indicator.
[0060] In an exemplary embodiment, Figure 2 As shown, a monitoring data display method is provided, which is applied to Figure 1 The monitoring end in FIG. 1 is taken as an example to illustrate, including the following steps 201 to 204. Among them:
[0061] Step 201 , in response to an instance monitoring request sent by a user terminal, determining a target instance corresponding to the instance monitoring request, a target monitoring indicator, and a display method corresponding to the target monitoring indicator.
[0062] Specifically, the user end sends an instance monitoring request to the monitoring end, and the monitoring end parses the instance monitoring request to determine the target instance, target monitoring indicator, and display method corresponding to the target monitoring indicator corresponding to the instance monitoring request.
[0063] Step 202: Obtain current monitoring data generated by the target instance under the target monitoring indicator.
[0064] In one embodiment, the monitoring end sends a monitoring data acquisition request to the instance end, the instance end receives the monitoring data acquisition request, obtains the current monitoring data generated by the target instance under the target monitoring indicator, and the instance end feeds back the current monitoring data to the monitoring end.
[0065] In another embodiment, obtaining current monitoring data generated by the target instance under the target monitoring indicator includes: generating a data collection request according to the target monitoring indicator; selecting a target gateway corresponding to the target instance from the candidate gateways, and sending a data collection request to the target gateway; and receiving the current monitoring data generated under the target monitoring indicator fed back by the target gateway.
[0066] Specifically, the monitoring end generates a data collection request according to the target monitoring indicator, selects a target gateway corresponding to the target instance from at least one candidate gateway, and sends the data collection request to the target gateway; the target gateway collects the current monitoring data generated by the target instance under the target monitoring indicator, and feeds back the current monitoring data to the monitoring end; the monitoring end receives the current monitoring data generated under the target monitoring indicator fed back by the target gateway.
[0067] Step 203: Determine the display order of each target monitoring indicator according to the interactive response data of each target monitoring indicator corresponding to the historical monitoring data.
[0068] In one of the embodiments, interactive response data of each target monitoring indicator corresponding to historical monitoring data is obtained; and a display order of each target monitoring indicator is determined according to the frequency of the interactive response data.
[0069] In another embodiment, the display order of each target monitoring indicator is determined according to the interactive response data of the historical monitoring data corresponding to each target monitoring indicator, including: obtaining the interactive response data of the historical monitoring data corresponding to each target monitoring indicator; the interactive response data includes the number of configured alarms, the number of alarm notifications, the number of zoomed displays and the number of zoomed queries; for each target monitoring indicator, performing weighted summation on at least one interactive response data corresponding to the target monitoring indicator to obtain a monitoring score of the target monitoring indicator; and sorting each target monitoring indicator according to the monitoring score to obtain a display order of each target monitoring indicator.
[0070] Exemplarily, whether the target monitoring indicator is configured with an alarm rule is obtained from the monitoring end, and the number of alarm notifications is obtained from the alarm notification record. In addition, the number of related requests for viewing the large image and the number of requests for zooming in the time window are counted from the log record of the control end; the number of times the target monitoring indicator is configured with an alarm rule, the number of target monitoring indicator alarm notifications, the number of large image requests, and the number of requests for zooming in the event window are counted, and statistical data is obtained at a half-hour granularity, and normalized by the following formula (1-1) to convert it into a calculated feature. The feature of the target monitoring indicator is calculated according to the following formula (1-2). The view score is determined according to the score of the target monitoring indicator by the following formula (1-3), and the display order of each target monitoring indicator is determined according to the view score. This embodiment sorts the display chart of the monitoring through interactive response data to solve the problem of too many monitoring indicators.
[0071] (1-1)
[0072] Among them, C1 represents the number of configured alarms, C2 represents the number of alarm notifications, C3 represents the number of amplified displays, C4 represents the number of amplified queries, F1 represents the normalized value of the number of configured alarms on the i-th target monitoring indicator, F2 represents the normalized value of the number of configured alarms on the i-th target monitoring indicator, F3 represents the normalized value of the number of amplified displays on the i-th target monitoring indicator, and F4 represents the normalized value of the number of amplified queries on the i-th target monitoring indicator.
[0073] (1-2)
[0074] Among them, Score represents the monitoring score of the target monitoring indicator, W1 represents the weight of the number of configured alarms, W2 represents the weight of the number of alarm notifications, W3 represents the weight of the number of magnified displays, W4 represents the weight of the number of magnified queries, F1 represents the normalized value of the number of configured alarms on the i-th target monitoring indicator, F2 represents the normalized value of the number of configured alarms on the i-th target monitoring indicator, F3 represents the normalized value of the number of magnified displays on the i-th target monitoring indicator, and F4 represents the normalized value of the number of magnified queries on the i-th target monitoring indicator. The weight of the number of configured alarms (i.e., the number of configured alarms) is W1=0.3, the weight of the number of alarm notifications sent (i.e., the number of alarm notifications) is W2=0.4, the weight of the number of monitoring large images viewed (i.e., the number of magnified displays) is W3=0.2, and the weight of the number of queries with expanded query windows (i.e., the number of magnified queries) is W4=0.1.
[0075] (1-3)
[0076] Among them, ViewScore represents the view score, Score iCharacterizes the monitoring score of the i-th target monitoring indicator.
[0077] Step 204 , display the corresponding current monitoring data in a display method corresponding to the target monitoring indicator according to the display order of each target monitoring indicator.
[0078] The display method may include charts. The displayed charts may include: large charts, small charts, and oriented charts (TOPN charts). Large charts can be configured with multiple monitoring items, small charts have only one monitoring item, and TOPN charts support the display of the optimal data (TOP data) of a certain indicator under an instance.
[0079] Specifically, the monitoring end displays the corresponding current monitoring data in a display method corresponding to the target monitoring indicator, and displays the current monitoring data on the corresponding interface of the user end in a display order of each target monitoring indicator.
[0080] In one embodiment, the method also includes: determining whether there is a correlation between the target monitoring indicators; accordingly, displaying the current monitoring data of the target instance in the display order of each target monitoring indicator through the display method corresponding to the target monitoring indicator, including: for each target monitoring indicator with correlation, in the same tab, displaying the current monitoring number of the target instance in the display order of each target monitoring indicator through the display method corresponding to the target monitoring indicator.
[0081] For example, the target monitoring indicators are obtained according to the service and dimension information registered on the instance side. The target monitoring indicators are divided into different tabs for classified display. For example, disk-related indicators can be placed in the disk tab; the target monitoring indicators in the tab can be displayed in different view types, and each view can be configured with different target monitoring indicators. The display can be flexibly configured, for example: the network inflow and outflow data can be configured in the same view, which can have a comparative effect.
[0082] It should be noted that, in this embodiment, after the canvas is created, it needs to be associated with a specific resource pool to take effect; create a new publishing task, which includes associating the resource pool and the canvas's target monitoring indicator verification, verifying whether the monitoring items under the resource pool exist and whether the indicators have monitoring data. If the verification fails, it is necessary to check the registration and online status of the monitoring class; at the same time, the canvas can be created successfully and the pre-online time can be set to facilitate the online function of the canvas in a certain resource pool; the resource pool without a canvas configured uses the default canvas, and the resource pool with a canvas configured gives priority to displaying the custom canvas.
[0083] The above monitoring data display method, in response to the instance monitoring request sent by the user end, determines the target instance, target monitoring indicator and display method corresponding to the target monitoring indicator corresponding to the instance monitoring request; obtains the current monitoring data generated by the target instance under the target monitoring indicator; determines the display order of each target monitoring indicator according to the interactive response data of the historical monitoring data corresponding to each target monitoring indicator; and displays the corresponding current monitoring data in the display method corresponding to the target monitoring indicator according to the display order of each target monitoring indicator. This embodiment can configure different display methods for different monitoring indicators, and adjust the display results according to the interactive response data feedback, so as to improve the accuracy and diversity of the current monitoring data display.
[0084] In one embodiment, the method further includes: sending a gateway access request to the instance end; receiving gateway information of candidate gateways corresponding to each candidate instance fed back by the instance end; generating a gateway access request according to the gateway information for the candidate gateway corresponding to each candidate instance; and sending a gateway access request to the candidate gateway to obtain gateway access rights of the candidate gateway.
[0085] For example, when the instance end is connected to the monitoring end, it needs to provide the instance interface list / details page interface. The list interface includes some summary information of the instance, and the details page interface needs to display the relevant attribute fields of the specific instance. The two interfaces are registered with the candidate gateway; the candidate gateway is interoperable with the instance end; the monitoring end needs to apply for access rights to the candidate gateway through the instance end, and can directly control the production line through the gateway after the access application is approved. After the instance end registers the interface to the candidate gateway, it notifies the monitoring end to connect specifically. According to the interface information provided by the instance end, the monitoring end applies to the candidate gateway for interface access rights; after receiving the interface permissions of the instance list and details list, the monitoring end can call the specific interface. In view of the numerous interfaces of each instance and the differences in different interface parameters, the monitoring end has also developed an interface configuration management function to facilitate interface registration and management.
[0086] This embodiment sends a gateway access request to the instance end; receives gateway information of candidate gateways corresponding to each candidate instance fed back by the instance end; generates a gateway access request according to the gateway information for the candidate gateway corresponding to each candidate instance; sends a gateway access request to the candidate gateway to obtain the gateway access authority of the candidate gateway, which can simplify the subsequent process of obtaining current monitoring data.
[0087] In one embodiment, the method further includes: generating an indicator acquisition request based on the indicator description data of all candidate monitoring indicators; sending the indicator acquisition request to the instance end to obtain data collection permissions for the corresponding candidate monitoring indicators under each candidate instance in the instance end.
[0088] Exemplarily, the instance side registers candidate monitoring indicators on the monitoring side, and the monitoring indicators include indicator name, Chinese and English descriptions of the indicator, indicator query label, indicator unit group, specific default display unit, whether the indicator is displayed, whether the indicator is downsampled and other attribute fields; the instance side registers candidate monitoring indicators, notifies the demand docking personnel on the instance side to review the candidate monitoring indicators, and after the review is passed, it is transferred to the reviewed stage, and the instance side can be notified to go online to a specific resource pool; after the candidate monitoring indicators are registered, the instance side receives a notification after the review is completed, and the business line can perform resource pool change operations to specifically control the online and offline of the candidate monitoring indicators in a certain resource pool; after completing the registration of candidate monitoring indicators and the online resource pool, the instance side can push specific data. If the platform is not registered, the actual push cannot be performed because the instance side will filter the candidate monitoring indicators that are not registered on the platform, so as to avoid a large number of unused candidate monitoring indicators from being reported to the instance side.
[0089] This embodiment generates an indicator acquisition request based on the indicator description data of all candidate monitoring indicators; sends the indicator acquisition request to the instance end to obtain the data collection authority of the corresponding candidate monitoring indicators under each candidate instance in the instance end, which can improve the efficiency of subsequent acquisition of current monitoring data.
[0090] In one embodiment, this embodiment provides an optional method for displaying monitoring data, and takes the method applied to a server as an example for explanation. Figure 3 As shown, the method comprises the following steps:
[0091] Step 301: Generate an indicator acquisition request based on the indicator description data of all candidate monitoring indicators.
[0092] Step 302: Send an indicator acquisition request to the instance end to obtain data collection permissions for corresponding candidate monitoring indicators under each candidate instance in the instance end.
[0093] Step 303: Send a gateway access request to the instance end.
[0094] Step 304: Receive gateway information of candidate gateways corresponding to each candidate instance fed back by the instance end.
[0095] Step 305: for each candidate gateway corresponding to the candidate instance, a gateway access request is generated according to the gateway information.
[0096] Step 306: Send a gateway access request to the candidate gateway to obtain the gateway access permission of the candidate gateway.
[0097] Step 307 , in response to the instance monitoring request sent by the user terminal, determine the target instance corresponding to the instance monitoring request, the target monitoring indicator, and the display method corresponding to the target monitoring indicator.
[0098] Step 308: Generate a data collection request according to the target monitoring indicator.
[0099] Step 309: Select a target gateway corresponding to the target instance from the candidate gateways, and send a data collection request to the target gateway.
[0100] Step 310: Receive current monitoring data generated under the target monitoring index fed back by the target gateway.
[0101] Step 311: Obtain interactive response data of historical monitoring data corresponding to each target monitoring indicator.
[0102] Step 312: for each target monitoring indicator, weighted sum is performed on at least one interactive response data corresponding to the target monitoring indicator to obtain a monitoring score of the target monitoring indicator.
[0103] Step 313: sort the target monitoring indicators according to the monitoring scores of the target monitoring indicators to obtain a display order of the target monitoring indicators.
[0104] Step 314, determining whether there is a correlation between the target monitoring indicators.
[0105] Step 315 , for each target monitoring indicator that is correlated, in the same tab, according to the display order of each target monitoring indicator, the current monitoring number of the target instance is displayed in a display method corresponding to the target monitoring indicator.
[0106] It should be noted that, in this embodiment, steps 301-302 are the process in which the monitoring end communicates with the instance end and associates the monitoring indicators required by the monitoring end with the instance end; steps 303-306 are the process in which the monitoring end communicates with the instance end and associates the candidate gateway corresponding to the instance required by the monitoring end in the instance end with the monitoring end, so that the monitoring end can directly obtain relevant monitoring data from the instance end through the corresponding gateway.
[0107] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0108] Based on the same inventive concept, the embodiment of the present application also provides a monitoring data display device for implementing the monitoring data display method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more monitoring data display device embodiments provided below can refer to the limitations of the monitoring data display method above, and will not be repeated here.
[0109] In an exemplary embodiment, Figure 4 As shown, a monitoring data display device is provided, comprising: a request acquisition module 10, a data acquisition module 11, a sequence determination module 12 and a data display module 13, wherein:
[0110] The request acquisition module 10 is used to respond to the instance monitoring request sent by the user end, determine the target instance corresponding to the instance monitoring request, the target monitoring indicator and the display mode corresponding to the target monitoring indicator;
[0111] The data acquisition module 11 is used to acquire the current monitoring data generated by the target instance under the target monitoring indicator;
[0112] The sequence determination module 12 is used to determine the display sequence of each target monitoring indicator according to the interactive response data of each target monitoring indicator corresponding to the historical monitoring data;
[0113] The data display module 13 is used to display the corresponding current monitoring data in the display mode corresponding to the target monitoring indicator according to the display order of each target monitoring indicator.
[0114] In one embodiment, the sequence determination module 12 is also used to obtain interactive response data of historical monitoring data corresponding to each target monitoring indicator; the interactive response data includes the number of configured alarms, the number of alarm notifications, the number of zoom-in displays, and the number of zoom-in queries; for each target monitoring indicator, a weighted sum is performed on at least one interactive response data corresponding to the target monitoring indicator to obtain a monitoring score of the target monitoring indicator; according to the monitoring score of each target monitoring indicator, each target monitoring indicator is sorted to obtain a display order of each target monitoring indicator.
[0115] In one embodiment, the monitoring data display device is also used to determine whether there is a correlation between the target monitoring indicators; accordingly, according to the display order of each target monitoring indicator, the current monitoring data of the target instance is displayed by the display method corresponding to the target monitoring indicator, including: for each target monitoring indicator with correlation, within the same tab, according to the display order of each target monitoring indicator, the current monitoring number of the target instance is displayed by the display method corresponding to the target monitoring indicator.
[0116] In one embodiment, the data acquisition module 11 is also used to generate a data collection request based on the target monitoring indicator; select a target gateway corresponding to the target instance from the candidate gateways, and send a data collection request to the target gateway; and receive the current monitoring data generated under the target monitoring indicator fed back by the target gateway.
[0117] In one embodiment, the monitoring data display device is also used to send a gateway access request to the instance end; receive gateway information of the candidate gateway corresponding to each candidate instance fed back by the instance end; generate a gateway access request for the candidate gateway corresponding to each candidate instance according to the gateway information; send a gateway access request to the candidate gateway to obtain the gateway access rights of the candidate gateway.
[0118] In one embodiment, the monitoring data display device is also used to generate an indicator acquisition request based on the indicator description data of all candidate monitoring indicators; send the indicator acquisition request to the instance end to obtain data collection permissions for the corresponding candidate monitoring indicators under each candidate instance in the instance end.
[0119] Each module in the above monitoring data display device can be implemented in whole or in part by software, hardware and a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module above.
[0120] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 5 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a monitoring data display method is implemented.
[0121] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 6As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a monitoring data display method is realized. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0122] Those skilled in the art will understand that Figure 5 and Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0123] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0124] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0125] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0126] It should be noted that the data involved in this application (including but not limited to data used for analysis, stored data, displayed data, etc.) are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0127] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0128] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0129] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A monitoring data display method, characterized in that: The method comprises: In response to the instance monitoring request sent by the user terminal, determine the target instance corresponding to the instance monitoring request, the target monitoring indicator, and the display mode corresponding to the target monitoring indicator; Obtain the current monitoring data generated by the target instance under the target monitoring indicator; Determine the display order of each target monitoring indicator according to the interactive response data of each target monitoring indicator corresponding to the historical monitoring data; According to the display order of each target monitoring indicator, the corresponding current monitoring data is displayed using the display method corresponding to the target monitoring indicator.
2. The method according to claim 1, characterized in that The step of determining the display order of each target monitoring indicator according to the interactive response data of each target monitoring indicator corresponding to the historical monitoring data includes: Obtain interactive response data of historical monitoring data corresponding to each target monitoring indicator; the interactive response data includes the number of configured alarms, the number of alarm notifications, the number of zoom-in displays, and the number of zoom-in queries; For each target monitoring indicator, weighted summing is performed on at least one interactive response data corresponding to the target monitoring indicator to obtain a monitoring score of the target monitoring indicator; According to the monitoring scores of the target monitoring indicators, the target monitoring indicators are sorted to obtain a display order of the target monitoring indicators.
3. The method according to claim 1, characterized in that The method further comprises: Determine whether there is any correlation between the target monitoring indicators; Accordingly, according to the display order of each target monitoring indicator, the current monitoring data of the target instance is displayed in a display method corresponding to the target monitoring indicator, including: For each related target monitoring indicator, in the same tab, the current monitoring number of the target instance is displayed in the display method corresponding to the target monitoring indicator according to the display order of the target monitoring indicators.
4. The method according to claim 1, characterized in that: The obtaining of current monitoring data generated by the target instance under the target monitoring indicator includes: Generate a data collection request according to the target monitoring indicator; Select a target gateway corresponding to the target instance from the candidate gateways, and send a data collection request to the target gateway; Receive current monitoring data generated under the target monitoring indicator fed back by the target gateway.
5. The method according to claim 4, characterized in that The method further comprises: Send a gateway access request to the instance end; Receive gateway information of candidate gateways corresponding to each candidate instance fed back by the instance end; For each candidate gateway corresponding to the candidate instance, generating a gateway access request according to the gateway information; The gateway access request is sent to the candidate gateway to obtain the gateway access permission of the candidate gateway.
6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: Generate an indicator acquisition request based on the indicator description data of all candidate monitoring indicators; The indicator acquisition request is sent to the instance end to obtain data collection permissions for corresponding candidate monitoring indicators under each candidate instance in the instance end.
7. A monitoring data display device, characterized in that: The device comprises: A request acquisition module, used to respond to an instance monitoring request sent by a user terminal, determine a target instance corresponding to the instance monitoring request, a target monitoring indicator, and a display method corresponding to the target monitoring indicator; A data acquisition module, used to acquire the current monitoring data generated by the target instance under the target monitoring indicator; The sequence determination module is used to determine the display sequence of each target monitoring indicator according to the interactive response data of each target monitoring indicator corresponding to the historical monitoring data; The data display module is used to display the corresponding current monitoring data in the display order of each target monitoring indicator through the display method corresponding to the target monitoring indicator.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.