Virtual controller resource regulation and control method, terminal and system, medium and program product
By monitoring and dynamically adjusting the resource usage of the virtual controller in real time, the problem of low resource utilization in lightweight container design is solved, achieving efficient resource management and rapid fault response, and improving system performance.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-23
- Publication Date
- 2026-03-31
AI Technical Summary
In existing technologies, the lightweight container design of virtual controllers lacks resource regulation mechanisms, resulting in both resource overload and idleness, which cannot achieve efficient utilization. Furthermore, the status monitoring and early warning mechanisms are insufficient, affecting system performance and reliability.
This paper provides a method for resource regulation of a virtual controller. By monitoring resource usage in real time, determining whether a predetermined threshold is met, pushing alarm messages, and regulating resources according to user instructions, including dynamic management of CPU, memory, and network bandwidth, it supports alarm rule configuration and device regulation.
It enables dynamic control of virtual controller resources, improves resource utilization, avoids overload or idleness, responds quickly to anomalies, and improves system reliability and efficiency.
Smart Images

Figure CN121771192A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of building control system technology, and in particular to a virtual controller resource regulation method, terminal and system, medium and program products. Background Technology
[0002] In building control systems, IoT gateways serve as the core hub for device interconnection and automated control; their form and deployment directly impact system performance. Current mainstream solutions for related technologies include two typical types of devices:
[0003] 1. Edge IoT Gateway (Lightweight Linux System Based on ARM Chip) is optimized for resource-constrained field devices, focusing on low-power, high-reliability localized control.
[0004] 2. The virtual controller, as the core carrier of the digital base in the server container environment, is deployed in the cloud or on the server and directly carries the control logic of the digital base to the cloud, multi-protocol access and dynamic resource scheduling capabilities. Summary of the Invention
[0005] The inventors discovered through research that there is a fundamental contradiction between the lightweight container design (efficient operation of control logic in small containers) of related digital infrastructure technologies and their management capabilities: while related technical solutions support the deployment of control logic in small containers, they lack a dynamic resource control mechanism based on real-time monitoring. In view of at least one of the above technical problems, this disclosure provides a virtual controller resource control method, terminal and system, media and program products, which can achieve dynamic resource control of the virtual controller based on real-time monitoring.
[0006] According to one aspect of this disclosure, a method for regulating virtual controller resources is provided, comprising:
[0007] In response to a user's resource monitoring request for a target virtual controller that is in operation, the current resource usage of the target virtual controller is displayed to the user, wherein the virtual controller is a controller based on a digital dock.
[0008] Determine whether the current resource usage meets the predetermined resource threshold;
[0009] If the current resource usage meets the predetermined resource threshold, an alarm message is pushed to the user terminal;
[0010] In response to the user's resource control command, resource control is performed on the target virtual controller.
[0011] In some embodiments of this disclosure, displaying the current resource usage of the target virtual controller to the user includes: displaying a resource usage curve of the virtual controller to the user, wherein the resources include at least one of CPU, cache, memory, and network bandwidth.
[0012] In some embodiments of this disclosure, the virtual controller resource control method further includes: marking the resource occupancy curve with a predetermined alarm color when the current resource occupancy meets a predetermined resource threshold.
[0013] In some embodiments of this disclosure, the step of regulating resources of the target virtual controller in response to the user's resource regulation command includes:
[0014] In response to a user's resource adjustment request, a resource adjustment pop-up window is displayed to the user. The resource adjustment pop-up window includes relevant parameters of the target virtual controller, including at least one of the following: number of processors, number of cores per processor, total number of processor cores, and amount of memory of the virtual controller.
[0015] Based on the user's input in the resource control pop-up window, the relevant parameters of the target virtual controller are adjusted.
[0016] In some embodiments of this disclosure, the predetermined resource threshold includes a predetermined resource upper limit.
[0017] In some embodiments of this disclosure, determining whether the current resource occupancy meets a predetermined resource threshold includes: determining whether the current resource occupancy exceeds a predetermined resource limit.
[0018] In some embodiments of this disclosure, the step of pushing an alarm message to the user terminal when the current resource usage meets a predetermined resource threshold includes: when the current resource usage exceeds a predetermined resource limit, determining that the resource limit has been exceeded, and pushing a resource limit exceedance alarm message to the user terminal.
[0019] In some embodiments of this disclosure, the predetermined resource threshold includes a predetermined resource lower limit.
[0020] In some embodiments of this disclosure, determining whether the current resource occupancy meets a predetermined resource threshold includes: determining whether the current resource occupancy is less than a predetermined lower limit.
[0021] In some embodiments of this disclosure, the step of pushing an alarm message to the user terminal when the current resource occupancy meets a predetermined resource threshold includes: when the current resource occupancy is less than a predetermined lower limit, determining that the resource is idle, and pushing a resource idle alarm message to the user terminal.
[0022] In some embodiments of this disclosure, the virtual controller resource regulation method further includes:
[0023] In response to a user's query request for a target virtual controller, the current information of the target virtual controller is displayed to the user, wherein the current information includes at least one of the target virtual controller's current activation status, current running status, and operation buttons.
[0024] In some embodiments of this disclosure, the virtual controller resource regulation method further includes:
[0025] In response to a user's data acquisition request, the system acquires operational data from multiple devices connected to the target virtual controller that is in operation, and displays the operational data to the user.
[0026] In response to the user's device control request, the operation of the multiple devices is controlled.
[0027] In some embodiments of this disclosure, the virtual controller resource regulation method further includes:
[0028] In response to a user's log query request for the target virtual controller, the user is shown the log query page of the target virtual controller;
[0029] The logs are filtered based on at least one of the time range and query content input by the user;
[0030] Generate log query results and present the log query results to the user.
[0031] In some embodiments of this disclosure, the query content includes at least one of the following: recorded resource control time, operator, memory anomaly, cache anomaly, CPU anomaly, network anomaly, and periodically collected resource usage information.
[0032] In some embodiments of this disclosure, the virtual controller resource regulation method further includes:
[0033] In response to a user's alarm rule creation request, display the alarm rule creation page to the user;
[0034] Based on the user's input on the alarm rule creation page, alarm rules are configured. The alarm rules include at least one of the following: rule name, alarm conditions, push target, and push content. The alarm conditions include determining whether the current resource usage meets a predetermined resource threshold.
[0035] In some embodiments of this disclosure, the virtual controller resource regulation method further includes:
[0036] In response to a user's alarm list request, display a list of all alarm information to the user.
[0037] According to another aspect of this disclosure, a management terminal is provided, comprising:
[0038] The resource monitoring module is configured to respond to a user's resource monitoring request for a running virtual controller and display the current resource usage of the virtual controller to the user, wherein the virtual controller is a controller based on a digital dock.
[0039] The judgment module is configured to determine whether the current resource usage meets a predetermined resource threshold.
[0040] The alarm module is configured to push an alarm message to the user terminal when the current resource usage meets a predetermined resource threshold.
[0041] The resource control module is configured to control the resources of the target virtual controller in response to the user's resource control command.
[0042] According to another aspect of this disclosure, a management terminal is provided, comprising:
[0043] Memory; and
[0044] A processor coupled to the memory is configured to execute the virtual controller resource control method as described in any of the above embodiments based on instructions stored in the memory.
[0045] According to another aspect of this disclosure, a virtual controller resource control system is provided, including a plurality of virtual controllers and a management terminal as described in any of the above embodiments.
[0046] According to another aspect of this disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions that, when executed by a processor, implement the virtual controller resource control method as described in any of the above embodiments.
[0047] According to another aspect of this disclosure, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, it implements the virtual controller resource control method as described in any of the above embodiments.
[0048] This disclosure enables dynamic resource regulation of virtual controllers based on real-time monitoring, and realizes closed-loop management of virtual controller resources through "monitoring-early warning-regulation", thereby improving resource utilization. Attached Figure Description
[0049] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0050] Figure 1 This is a schematic diagram of some embodiments of the building control system disclosed herein.
[0051] Figure 2 This is a schematic diagram of some other embodiments of the building control system disclosed herein.
[0052] Figure 3 These are schematic diagrams illustrating some embodiments of the virtual controller resource regulation method disclosed herein.
[0053] Figure 4 This is a schematic diagram of a resource monitoring request page in some embodiments of this disclosure.
[0054] Figure 5 This is a schematic diagram of resource usage curves in some embodiments of this disclosure.
[0055] Figure 6 This is a schematic diagram of a resource control pop-up window in some embodiments of this disclosure.
[0056] Figure 7 These are schematic diagrams illustrating other embodiments of the virtual controller resource regulation method disclosed herein.
[0057] Figure 8 This is a schematic diagram of a device management page in some embodiments of this disclosure.
[0058] Figure 9 This is a schematic diagram of a device management page in some other embodiments of this disclosure.
[0059] Figure 10 This is a schematic diagram of some embodiments of the virtual controller resource regulation method disclosed herein.
[0060] Figure 11 This is a schematic diagram of runtime log monitoring in some embodiments of this disclosure.
[0061] Figure 12 This is a schematic diagram of a log query page in some embodiments of this disclosure.
[0062] Figure 13 This is a schematic diagram of some embodiments of the virtual controller resource regulation method disclosed herein.
[0063] Figure 14 This is a schematic diagram of the alarm management page in some embodiments of this disclosure.
[0064] Figure 15 This is a schematic diagram of the alarm rule creation page in some embodiments of this disclosure.
[0065] Figure 16 This is a schematic diagram of the alarm list page in some embodiments of this disclosure.
[0066] Figure 17 This is a schematic diagram of some embodiments of the management terminal disclosed herein.
[0067] Figure 18 This is a schematic diagram of some other embodiments of the management terminal disclosed herein.
[0068] Figure 19 This is a schematic diagram of the structure of some embodiments of the management terminal disclosed herein. Detailed Implementation
[0069] The technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit this disclosure or its application or use. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure without creative effort are within the scope of protection of this disclosure.
[0070] Unless otherwise specifically stated, the relative arrangement, numerical expressions, and values of the components and steps set forth in these embodiments do not limit the scope of this disclosure.
[0071] At the same time, it should be understood that, for ease of description, the dimensions of the various parts shown in the accompanying drawings are not drawn according to actual scale.
[0072] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and equipment should be considered part of the specification.
[0073] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limitations. Therefore, other examples of exemplary embodiments may have different values.
[0074] It should be noted that similar labels and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be discussed further in subsequent figures.
[0075] The inventors' research also revealed that when multiple virtual controllers run high-load tasks (such as protocol parsing and point updates) in parallel, server container resources are continuously overloaded (e.g., CPU > 90%). However, the system cannot detect load changes and trigger resource optimization, causing the design advantages (lightweight containers) to be negated by the static management mechanism. This resource overload leads to device offline, and resource idleness results in low server utilization, rendering the cloud-native elastic value of the digital infrastructure ineffective.
[0076] The inventors also discovered the following technical problems through their research.
[0077] 1. Lack of status monitoring: The system cannot distinguish between the "running" (online) and "stopped" (offline) status of the virtual controller, making it impossible for maintenance personnel to quickly locate equipment malfunctions.
[0078] 2. Inadequate resource monitoring: The lack of resource alarm and control mechanisms leads to the coexistence of resource overload and idleness in high-load scenarios with multiple virtual controllers running in parallel, causing the efficient resource utilization advantages of the lightweight container design of the digital base to fail due to the static management mechanism.
[0079] 3. Lack of early warning mechanism: Absent SMS notifications based on resource limits are not implemented, delaying the handling of anomalies.
[0080] In view of at least one of the above-mentioned technical problems, this disclosure provides a virtual controller resource regulation method, terminal and system, medium and program products. The present disclosure will be described below through specific embodiments.
[0081] Figure 1 This is a schematic diagram of some embodiments of the building control system disclosed herein. Figure 2 This is a schematic diagram of some other embodiments of the building control system disclosed herein. For example... Figure 1 and Figure 2 As shown, the building control system disclosed herein may include a management terminal 11, multiple virtual controllers 12, and multiple devices 13. Figure 1 The multiple devices 11 may include, for example, Figure 2 At least one of the following: air conditioning unit, chilled water pump, cooling pump, cooling tower, and multi-split system.
[0082] The management terminal 11 can be configured to respond to a user's resource monitoring request for a target virtual controller in operation, wherein the virtual controller is a digital docking station controller and the resources include at least one of CPU, cache, memory and network bandwidth; determine whether the current resource usage meets a predetermined resource threshold; if the current resource usage meets the predetermined resource threshold, push an alarm message to the user terminal; and perform resource regulation on the target virtual controller in response to the user's resource regulation command.
[0083] In some embodiments of this disclosure, the virtual controller 12 is a controller based on a digital dock.
[0084] This disclosure enables dynamic resource regulation of virtual controllers based on real-time monitoring, and realizes closed-loop management of virtual controller resources through "monitoring-early warning-regulation", thereby improving resource utilization.
[0085] The structure and functions of the management terminal of this disclosure, as well as the virtual controller resource regulation method executed by the management terminal of this disclosure, will be described below through specific embodiments.
[0086] Figure 3 These are schematic diagrams illustrating some embodiments of the virtual controller resource regulation method disclosed herein. Figure 3 The implementation can be executed by the management terminal or the building control system of this disclosure. For example... Figure 3 As shown, Figure 3 The method of the embodiment may include at least one of steps 31 to 34.
[0087] In step 31, in response to a user's resource monitoring request for a target virtual controller that is in operation, the current resource usage of the target virtual controller is displayed to the user, wherein the resources include at least one of CPU, cache, memory and network bandwidth.
[0088] Figure 4 This is a schematic diagram of a resource monitoring request page in some embodiments of this disclosure. For example... Figure 4 As shown, in step 31, the step of responding to the user's resource monitoring request for the target virtual controller in a running state may include: after the user selects the target virtual controller device and clicks the "Run Resource Monitoring" button on the device management page, the following steps may be taken: Figure 5 The resource monitoring page shown.
[0089] In some embodiments of this disclosure, step 31, which involves displaying the current resource usage of the target virtual controller to the user, may include displaying a resource usage curve of the virtual controller to the user.
[0090] Figure 5 This is a schematic diagram illustrating resource usage curves in some embodiments of this disclosure. For example... Figure 5 As shown, it displays the real-time operating trends of memory, cache, CPU, and network.
[0091] The above embodiments of this disclosure use curves to display the real-time operating trends of memory, cache, CPU, and network, which can facilitate users to monitor resources in a real-time, clear, and intuitive manner.
[0092] In step 32, it is determined whether the current resource occupancy meets the predetermined resource threshold.
[0093] In some embodiments of this disclosure, the predetermined resource threshold may include a predetermined resource upper limit.
[0094] In some embodiments of this disclosure, step 32 may include: determining whether the current resource usage exceeds a predetermined resource limit.
[0095] In other embodiments of this disclosure, the predetermined resource threshold may include a predetermined resource lower limit.
[0096] In some other embodiments of this disclosure, step 32 may include: determining whether the current resource occupancy is less than a predetermined lower limit of resources.
[0097] In other embodiments of this disclosure, both the lower limit and the upper limit of the predetermined resources can be freely set by the user on the alarm management page, and can be flexibly adjusted according to the needs of the application scenario.
[0098] In step 33, if the current resource usage meets the predetermined resource threshold, an alarm message is pushed to the user terminal.
[0099] In some embodiments of this disclosure, the step of pushing alarm messages to user terminals may include: pushing alarm messages to user terminals (e.g., administrators' mobile phones) via SMS.
[0100] In some embodiments of this disclosure, step 33 may include: if the current resource usage exceeds a predetermined resource limit, determining that the resource limit has been exceeded, and pushing a resource limit alarm message to the user terminal.
[0101] The above-described embodiments of this disclosure include an alarm setting for exceeding a predetermined resource limit in order to avoid impacting system performance and causing service crashes. The above-described embodiments of this disclosure can avoid resource overload.
[0102] In some other embodiments of this disclosure, step 33 may include: determining that resources are idle when the current resource usage is less than a predetermined lower limit, and pushing a resource idle alarm message to the user terminal.
[0103] In other embodiments of this disclosure, resource idleness refers to the actual utilization rate of resources being lower than a preset threshold, indicating that resources are not being used effectively and there is waste.
[0104] The setting of the above embodiments of this disclosure as less than the predetermined lower limit of resources is for the purpose of rationally allocating resources and avoiding resource waste.
[0105] The embodiments described above can achieve efficient resource utilization and can dynamically adjust resources, thereby avoiding resource overload or idleness and significantly improving system resource utilization.
[0106] In some embodiments of this disclosure, the virtual controller resource control method may further include: marking the resource occupancy curve with a predetermined alarm color when the current resource occupancy meets a predetermined resource threshold.
[0107] In some embodiments of this disclosure, the predetermined alarm color may be red.
[0108] The embodiments of this disclosure, when a predetermined resource threshold (exceeding the limit) is met, can automatically trigger an SMS message and link it to a special display of the resource trend curve. The embodiments of this disclosure combine highlighting abnormal curves in red with pushing alarm messages to the user terminal in abnormal situations, enabling faster and more accurate reminders to the user for resource management.
[0109] In some embodiments of this disclosure, such as Figure 5 As shown, the step of marking the resource occupancy curve with a predetermined alarm color when the current resource occupancy meets the predetermined resource threshold may include: when the alarm rules set in the alarm management are met (such as resource over-limit or resource idle), the resource occupancy curve is automatically marked in red, indicating that the resource is over-limit or idle during that time period.
[0110] In step 34, in response to the user's resource control command, resource control is performed on the target virtual controller.
[0111] The embodiments disclosed above can realize dynamic resource regulation of virtual controllers based on real-time monitoring, and can realize closed-loop management of virtual controller resources through "monitoring-early warning-regulation", thereby improving resource utilization.
[0112] The above embodiments of this disclosure can display CPU, memory, and network bandwidth data in real time through a resource monitoring page. The above embodiments of this disclosure support a linkage alarm mechanism, which can dynamically adjust resources.
[0113] The embodiments disclosed above implement an early warning mechanism to push abnormal SMS messages based on resource overruns, thereby accelerating the speed of abnormal handling.
[0114] The above-described embodiments of this disclosure accelerate fault response speed. Abnormal resource overruns (such as CPU > 85%) automatically trigger SMS push notifications, thereby reducing the average fault handling time and achieving seamless "monitoring-control" integration.
[0115] In some embodiments of this disclosure, step 34 may include at least one of steps 341 to 342.
[0116] In step 341, in response to the user's resource adjustment request, a resource adjustment pop-up window is displayed to the user, wherein the resource adjustment pop-up window includes relevant parameters of the target virtual controller.
[0117] Figure 6 This is a schematic diagram of a resource adjustment pop-up window in some embodiments of this disclosure. For example... Figure 6 As shown, the relevant parameters may include at least one of the following: the number of processors, the number of cores per processor, the total number of processor cores, and the amount of memory of the virtual controller.
[0118] In some embodiments of this disclosure, step 341 may include: responding to a user click such as Figure 5 The resource adjustment buttons shown display the following to the user: Figure 6 The resource adjustment pop-up window shown.
[0119] In step 342, the relevant parameters of the target virtual controller are adjusted according to the user's input in the resource adjustment pop-up window.
[0120] In some embodiments of this disclosure, step 342 may include: adjusting the relevant parameters of the target virtual controller based on the input of the administrator in the resource control pop-up window.
[0121] In some embodiments of this disclosure, such as Figure 6 As shown, the memory capacity, number of processors, and number of cores can be adjusted according to user needs. In the event of CPU, cache, or network anomalies, the above embodiments of this disclosure alleviate system pressure caused by these anomalies by adjusting relevant parameters such as memory, thereby achieving reasonable resource allocation and utilization.
[0122] The embodiments disclosed above can make efficient use of resources and dynamically adjust resources, thus significantly improving the system resource utilization rate.
[0123] The above embodiments of this disclosure, through resource alarm and control mechanisms, can avoid the problems of resource overload or idleness coexisting in high-load scenarios with multiple virtual controllers in parallel, and can achieve high-efficiency resource utilization in the lightweight container design of the digital base.
[0124] Figure 7 These are schematic diagrams illustrating other embodiments of the virtual controller resource regulation method disclosed herein. Figure 7 The implementation can be executed by the management terminal or the building control system of this disclosure. The virtual controller resource control method of this disclosure may include, in addition to... Figure 3In addition to at least one of steps 31 to 34 in the embodiment, it may also include Figure 7 At least one of steps 70 to 73 in the embodiment.
[0125] In step 70, the virtual controller is visualized and controlled in real time using dynamic status identifiers on the device management page.
[0126] Figure 8 This is a schematic diagram of a device management page in some embodiments of this disclosure. For example... Figure 8 As shown, in response to the user clicking the device management button after logging in, the user is taken to the device management page.
[0127] In some embodiments of this disclosure, such as Figure 8 As shown, the dynamic status indicator can be the dot (right icon) to the right of the virtual controller button. A light-colored "Run" icon indicates that the virtual controller is online, while a dark-colored "Stop" icon indicates that the virtual controller is offline or inactive (an activation process must be completed first).
[0128] In some embodiments of this disclosure, such as Figure 8 As shown, virtual controller 1, virtual controller 4 and virtual controller 5 are online; virtual controller 2 and virtual controller 3 are offline or inactive.
[0129] In step 71, in response to a user's query request for the target virtual controller, the current information of the target virtual controller is displayed to the user, wherein the current information includes at least one of the target virtual controller's current activation status, current running status, and operation buttons.
[0130] Figure 9 This is a schematic diagram of a device management page in other embodiments of this disclosure. For example... Figure 9 As shown, step 71 may include: responding to a user's input to a target virtual controller button (e.g., ... Figure 9 Clicking on the virtual controller 1) in the embodiment displays the current information of the target virtual controller to the user, wherein the current information includes at least one of the current activation state, current running state, and operation buttons of the target virtual controller.
[0131] The embodiments described above can display the current activation status, current running status, and operation buttons of the target virtual controller in real time. The embodiments described above can also display the "running" (online) or "stopped" (offline) status of the virtual controller in real time, allowing maintenance personnel to quickly locate device malfunctions.
[0132] In some embodiments of this disclosure, such as Figure 9As shown, step 71 may include: responding to a user's input to a target virtual controller button (e.g., ... Figure 9 Clicking on the virtual controller 1) in this embodiment automatically displays the current information of the target virtual controller in the details panel on the right side of the device management page. This current information includes the target virtual controller's current activation status, current running status, and operation area, etc., where the operation area can be... Figure 9 Clickable buttons, such as the resource monitoring button and the operation log button.
[0133] In some embodiments of this disclosure, such as Figure 9 As shown, the "Start / Stop" button is only highlighted after the device is activated (the activation process requires obtaining and importing a certificate through the ecosystem community). The ecosystem community refers to the virtual controller authentication platform, which needs to be downloaded before it can be used.
[0134] In some embodiments of this disclosure, the current information also includes specific devices used by the target virtual controller for integration and control, such as: Figure 9 As shown, the virtual controller 1 is connected to the multi-split units 1-4. The virtual controller 1 is used to integrate and control the multi-split units 1-4, wherein the multi-split units 1-4 are multi-split units of the HVAC system.
[0135] In step 72, in response to the user's data acquisition request, the operating data of multiple devices connected to the target virtual controller in the running state is acquired and displayed to the user.
[0136] In some embodiments of this disclosure, such as Figure 9 As shown, step 72 may include: in response to the user's data acquisition request, acquiring the operating data of the multi-units 1-4 connected to the virtual controller 1, and displaying the operating data to the user.
[0137] In step 73, in response to the user's device control request, the operation of the multiple devices is controlled.
[0138] The embodiments disclosed above can be used to regulate the operating data of devices such as multi-unit air conditioners connected to the virtual controller.
[0139] In some embodiments of this disclosure, such as Figure 9 As shown, step 73 may include: responding to the user's device control request and controlling the operation of the multi-units 1-4 connected to the virtual controller 1.
[0140] In some embodiments of this disclosure, the virtual controller resource control method may further include operations such as editing, binding, and deleting multiple devices connected to the target virtual controller. For example: Figure 9As shown, the virtual controller 1 can be edited, bound, and deleted from the multi-units 1-4 connected to it.
[0141] Figure 10 This is a schematic diagram of some embodiments of the virtual controller resource regulation method disclosed herein. Figure 10 The implementation can be executed by the management terminal or the building control system of this disclosure. The virtual controller resource control method of this disclosure may include, in addition to... Figure 3 Steps 31 to 34 of the embodiment Figure 7 In addition to at least one of steps 70 to 73 in the embodiment, it may also include Figure 10 At least one of steps 101 to 103 in the embodiment.
[0142] In step 101, in response to a user's log query request for the target virtual controller, the log query page of the target virtual controller is displayed to the user.
[0143] Figure 11 This is a schematic diagram illustrating runtime log monitoring in some embodiments of this disclosure. For example... Figure 11 As shown, step 101 may include: responding to a user-selected target virtual controller (e.g., Figure 11 The virtual controller 1 in the embodiment, and the clicked operation log button, display the log query page of the target virtual controller to the user.
[0144] In step 102, the logs are filtered based on at least one of the time range and query content input by the user, such as... Figure 12 As shown. Figure 12 This is a schematic diagram of a log query page in some embodiments of this disclosure.
[0145] In some embodiments of this disclosure, the query content may include at least one of the following: recorded resource adjustment time, operator, memory anomaly, cache anomaly, CPU anomaly, network anomaly, and periodically collected resource (CPU, memory, network bandwidth) usage information.
[0146] The embodiments disclosed above can filter logs based on recorded resource control time and specific program content such as operators, memory anomalies, cache anomalies, CPU anomalies, and network anomalies, thereby improving filtering efficiency and enhancing user experience.
[0147] In step 103, log query results are generated and presented to the user.
[0148] In some embodiments of this disclosure, such as Figure 12As shown, step 103 may include: in response to the user clicking the export button, generating a log query result in CSV file format, and presenting the log query result to the user.
[0149] In some embodiments of this disclosure, the log query results in CSV file format can be structured log files.
[0150] The embodiments described above can support time / content filtering and generate exportable structured log files. The embodiments also support rapid on-site troubleshooting of logs.
[0151] The above embodiments of this disclosure can improve the efficiency of visual management. The above embodiments of this disclosure can provide a unified monitoring interface for virtual controller status, resources, and logs, thereby shortening the operation and maintenance time.
[0152] Figure 13 This is a schematic diagram of some embodiments of the virtual controller resource regulation method disclosed herein. Figure 13 The implementation can be executed by the management terminal or the building control system of this disclosure. The virtual controller resource control method of this disclosure may include, in addition to... Figure 3 Steps 31 to 34 of the embodiment Figure 7 Steps 70 to 73 of the embodiment Figure 10 In addition to at least one of steps 101 to 103 in the embodiment, it may also include Figure 13 At least one of steps 131 to 133 in the embodiment.
[0153] In step 131, in response to the user's alarm rule creation request, an alarm rule creation page is displayed to the user.
[0154] Figure 14 This is a schematic diagram of the alarm management page in some embodiments of this disclosure. For example... Figure 14 As shown, step 131 may include: in response to the user first clicking the alarm management button and then clicking the add button, displaying the alarm rule creation page to the user.
[0155] In step 132, alarm rules are configured based on the user's input on the alarm rule creation page. The alarm rules include at least one of the following: rule name, alarm conditions, push target, and push content. The alarm conditions include determining whether the current resource usage meets a predetermined resource threshold.
[0156] Figure 15 This is a schematic diagram of an alarm rule creation page in some embodiments of this disclosure. For example... Figure 15As shown, step 132 may include: configuring the rule name, conditions, and push targets based on the user's input on the alarm rule creation page, such as: automatically sending alarm information to relevant personnel when memory exceeds the limit (example SMS: "Memory exceeds the limit (99%), please handle it immediately!"); and saving the alarm rule entered by the user in response to the user clicking the save button.
[0157] The embodiments disclosed above support user-defined push content, that is, alarm conditions with different threshold dimensions (CPU, memory, network bandwidth, etc.) can correspond to different push content.
[0158] The embodiments of this disclosure allow for the configuration of SMS recipients and thresholds in system settings. Therefore, the embodiments of this disclosure can accelerate fault response speed; abnormal resource overruns (such as CPU > 85%) automatically trigger SMS push notifications, thereby reducing the average fault handling time and achieving seamless "monitoring-control" integration.
[0159] In step 133, in response to the user's alarm list request, a list of all alarm information is displayed to the user.
[0160] Figure 16 This is a schematic diagram of an alarm list page in some embodiments of this disclosure. For example... Figure 16 As shown, step 133 may include: in response to the user clicking the "Alarm List" button in the top navigation of the alarm management page, displaying a list of all alarm information to the user.
[0161] The embodiments described above can display a list of all alarm information. Therefore, the embodiments described above facilitate users in the overall management and planning of alarm information.
[0162] The above embodiments of this disclosure provide a method for closed-loop control of resources driven by dynamic monitoring data. Through a four-dimensional linkage mechanism of status monitoring, resource control, log management and intelligent early warning, the above embodiments of this disclosure realize closed-loop management of virtual controller resources of "monitoring-early warning-control" and improve resource utilization.
[0163] Figure 17 These are schematic diagrams illustrating some embodiments of the management terminal disclosed herein. For example... Figure 17 As shown, the management terminal of this disclosure may include a resource monitoring module 171, a judgment module 172, an alarm module 173, and a resource regulation module 174.
[0164] Resource monitoring module 171 is configured to respond to a user's resource monitoring request for a running virtual controller and display the current resource usage of the virtual controller to the user, wherein the virtual controller is a digital dock-based controller and the resources include at least one of CPU, cache, memory and network bandwidth.
[0165] In some embodiments of this disclosure, the resource monitoring module 171 may be configured to display a resource usage curve of the virtual controller to the user in response to a user's resource monitoring request for a running virtual controller.
[0166] In some embodiments of this disclosure, the resource monitoring module 171 may also be configured to mark the resource occupancy curve with a predetermined alarm color when the current resource occupancy meets a predetermined resource threshold.
[0167] The judgment module 172 is configured to determine whether the current resource occupancy meets the predetermined resource threshold.
[0168] In some embodiments of this disclosure, the predetermined resource threshold may include a predetermined resource upper limit.
[0169] In some embodiments of this disclosure, the determination module 172 can be configured to determine whether the current resource occupancy exceeds a predetermined resource limit.
[0170] In some embodiments of this disclosure, the predetermined resource threshold includes a predetermined resource lower limit.
[0171] In some embodiments of this disclosure, determining whether the current resource occupancy meets a predetermined resource threshold includes: determining whether the current resource occupancy is less than a predetermined lower limit.
[0172] Alarm module 173 is configured to push an alarm message to the user terminal when the current resource usage meets a predetermined resource threshold.
[0173] In some embodiments of this disclosure, the alarm module 173 can be configured to determine that the resource limit has been exceeded when the current resource usage exceeds a predetermined resource limit, and push a resource limit exceedance alarm message to the user terminal.
[0174] In some other embodiments of this disclosure, the step of pushing an alarm message to the user terminal when the current resource occupancy meets a predetermined resource threshold includes: when the current resource occupancy is less than a predetermined lower limit, determining that the resource is idle, and pushing a resource idle alarm message to the user terminal.
[0175] The resource control module 174 is configured to control the resources of the target virtual controller in response to the user's resource control command.
[0176] In some embodiments of this disclosure, the resource control module 174 can be configured to display a resource control pop-up window to the user in response to a user's resource control request. The resource control pop-up window includes relevant parameters of the target virtual controller, including at least one of the following: number of processors, number of cores per processor, total number of processor cores, and amount of memory of the virtual controller. The relevant parameters of the target virtual controller are adjusted according to the user's input in the resource control pop-up window.
[0177] Figure 18 These are schematic diagrams illustrating other embodiments of the management terminal disclosed herein. For example... Figure 18 As shown, the management terminal 100 of this disclosure may include a device management unit 110 and an alarm management unit 120. The device management module 110 may include a status identification layer module 111, a resource monitoring layer module 112, and a log interaction layer module 113. The alarm management unit 120 may include an early warning push layer module 121.
[0178] The status identification layer module 111 is configured to mark the running status (running / stopping) of the virtual controller in the device list in real time using visual icons.
[0179] In some embodiments of this disclosure, the status identification layer module 111 may also be configured to display the current information of the target virtual controller to the user in response to a user's query request for the target virtual controller, wherein the current information includes at least one of the target virtual controller's current activation status, current running status, and operation buttons.
[0180] In some embodiments of this disclosure, the status identification layer module 111 may also be configured to, in response to a user's data acquisition request, acquire the operating data of multiple devices connected to the target virtual controller in the running state, and display the operating data to the user;
[0181] In response to the user's device control request, the operation of the multiple devices is controlled.
[0182] The resource monitoring layer module 112 is configured to dynamically collect and display real-time load data of CPU, memory, and network bandwidth. When resource anomalies are detected, it will trigger the early warning push layer module 121 to push information to the administrators to access the running resource monitoring page for resource adjustment.
[0183] In some embodiments of this disclosure, an anomaly can be greater than or less than a predetermined threshold. Setting it to be greater than the predetermined threshold is to avoid affecting system performance and causing service crashes; setting it to be less than the predetermined threshold is to allocate resources reasonably and avoid resource waste.
[0184] The above embodiments of this disclosure provide an interactive scheme for manual intervention and control, which regulates resources through a process of "monitoring → alarming → manual intervention".
[0185] In other embodiments of this disclosure, the virtual controller resource control scheme of this disclosure can also automatically perform dynamic resource control by the service terminal when the current resource occupancy meets a predetermined resource threshold.
[0186] In some embodiments of this disclosure, the resource monitoring layer module 112 can be implemented as follows: Figure 17 The resource monitoring module 171, the judgment module 172, and the resource regulation module 174 in the embodiment.
[0187] Log interaction layer module 113 is configured to support filtering logs by time and content, and exporting them with one click.
[0188] In some embodiments of this disclosure, the log management function of the log interaction layer module 113 may include support for time / content filtering and the generation of exportable structured log files.
[0189] In some embodiments of this disclosure, the log interaction layer module 113 can be configured to, in response to a user's log query request for the target virtual controller, display the log query page of the target virtual controller to the user; filter the logs according to at least one of the time range and query content input by the user; generate log query results; and present the log query results to the user.
[0190] In some embodiments of this disclosure, the query content may include at least one of the following: recorded resource adjustment time, operator, memory anomaly, cache anomaly, CPU anomaly, network anomaly, and periodically collected resource usage information.
[0191] The early warning push layer module 121 is configured to set a resource threshold (such as CPU>85%) to trigger automatic SMS push alarms.
[0192] In some embodiments of this disclosure, the early warning push layer module 121 can be implemented as follows: Figure 17 Alarm module 173 in the embodiment.
[0193] In some embodiments of this disclosure, the early warning push layer module 121 can be configured to respond to a user's alarm rule creation request by displaying an alarm rule creation page to the user; and to configure alarm rules based on the user's input on the alarm rule creation page. The alarm rule includes at least one of the following: rule name, alarm condition, push object, and push content. The alarm condition includes determining whether the current resource occupancy meets a predetermined resource threshold.
[0194] The above embodiments of this disclosure provide a visualization monitoring method and management terminal for a virtual controller based on a digital base. Through a four-layer linkage mechanism of status identification, dynamic resource control, log condition filtering, and threshold alarm SMS push, the full life cycle operation and maintenance management of the virtual controller is realized.
[0195] In some embodiments of this disclosure, such as Figure 18 As shown, the alarm management unit 120 of this disclosure may also include an alarm list module 122.
[0196] The alarm list module 122 is configured to display a list of all alarm information to the user in response to the user's alarm list request.
[0197] In some embodiments of this disclosure, the management terminal 100 may also be configured to implement the virtual controller resource control method as described in any of the above embodiments.
[0198] Figure 19 This is a schematic diagram illustrating the structure of some embodiments of the management terminal disclosed herein. For example... Figure 19 As shown, the management terminal of this disclosure may include a memory 191 and a processor 192.
[0199] The memory 191 is used to store instructions, and the processor 192 is coupled to the memory 191. The processor 192 is configured to implement the virtual controller resource control method involved in the above embodiments based on the execution of instructions stored in the memory.
[0200] like Figure 19 As shown, the management terminal also includes a communication interface 193 for exchanging information with other devices. Additionally, the management terminal includes a bus 194, through which the processor 192, communication interface 193, and memory 191 communicate with each other.
[0201] The memory 191 may include high-speed RAM, and may also include non-volatile memory, such as at least one disk storage device. The memory 191 may also be a memory array. The memory 191 may also be divided into blocks, and the blocks may be combined into virtual volumes according to certain rules.
[0202] Furthermore, the processor 192 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present disclosure.
[0203] According to another aspect of this disclosure, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, it implements the virtual controller resource control method as described in any of the above embodiments.
[0204] According to another aspect of this disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions that, when executed by a processor, implement the virtual controller resource control method as described in any of the above embodiments.
[0205] The computer-readable storage medium disclosed herein can be implemented as a non-transitory computer-readable storage medium.
[0206] The embodiments of this disclosure provide a method for visually controlling resources using a virtual controller based on a digital base, a service terminal and a building control system, a computer-readable storage medium, and a computer program product. These embodiments address the pain point of low resource utilization in related technologies through a four-layer linkage mechanism (status identification → resource control → log filtering → SMS alerts), achieving proactive, visual, and intelligent resource control of the virtual controller.
[0207] Those skilled in the art will understand that embodiments of this disclosure can be provided as methods, apparatus, or computer program products. Therefore, this disclosure can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this disclosure can take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0208] This disclosure is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create a machine for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0209] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0210] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0211] The resource monitoring module, judgment module, alarm module, resource control module, device management unit, alarm management unit, status identification layer module, resource monitoring layer module, log interaction layer module, early warning push layer module, and alarm list module described above can be implemented as a general-purpose processor, programmable logic controller, digital signal processor (DSP), application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, or any suitable combination thereof for performing the functions described in this disclosure.
[0212] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments of this disclosure can be implemented in hardware. The hardware can be implemented as a general-purpose processor, programmable logic controller, digital signal processor, application-specific integrated circuit, field-programmable gate array or other programmable logic device, discrete gate or transistor logic device, discrete hardware component or any suitable combination thereof for executing the methods of this disclosure.
[0213] This concludes the detailed description of the present disclosure. To avoid obscuring the concept of the disclosure, some details known in the art have not been described. Those skilled in the art will fully understand how to implement the technical solutions disclosed herein based on the above description.
[0214] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware, or by a program instructing the relevant hardware to implement them. The program can be stored in a non-transitory computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.
[0215] The description in this disclosure is provided for illustrative and descriptive purposes only and is not intended to be exhaustive or to limit the disclosure to its forms. Many modifications and variations will be apparent to those skilled in the art. The embodiments were chosen and described in order to better illustrate the principles and practical application of this disclosure and to enable those skilled in the art to understand this disclosure and to design various embodiments with various modifications suitable for a particular purpose.
Claims
1. A virtual controller resource regulation method, comprising: in response to a user's resource monitoring request for a target virtual controller in a running state, showing the user a current resource occupation of the target virtual controller, wherein the virtual controller is a digital base controller; judging whether the current resource occupation meets a predetermined resource threshold; in a case where the current resource occupation meets the predetermined resource threshold, pushing an alarm message to a user terminal; in response to the user's resource regulation instruction, regulating the resources of the target virtual controller. 2.The virtual controller resource regulation method of claim 1, wherein: the showing the user the current resource occupation of the target virtual controller comprises showing the user a resource occupation curve of the virtual controller, wherein the resources include at least one of CPU, cache, memory and network bandwidth; the virtual controller resource regulation method further comprises, in a case where the current resource occupation meets the predetermined resource threshold, marking the resource occupation curve as a predetermined alarm color.
3. The virtual controller resource regulation method of claim 1 or 2, wherein, the regulating the resources of the target virtual controller in response to the user's resource regulation instruction comprises: in response to the user's resource regulation request, displaying a resource regulation pop-up window to the user, wherein the resource regulation pop-up window includes relevant parameters of the target virtual controller, and the relevant parameters include at least one of the number of processors, the number of cores per processor, the total number of processor cores and the memory of the virtual controller; regulating the relevant parameters of the target virtual controller according to the user's input in the resource regulation pop-up window.
4. The virtual controller resource regulation method of claim 1 or 2, wherein, the predetermined resource threshold includes a predetermined resource upper limit; the judging whether the current resource occupation meets the predetermined resource threshold comprises judging whether the current resource occupation is greater than the predetermined resource upper limit; the pushing an alarm message to a user terminal in a case where the current resource occupation meets the predetermined resource threshold comprises, in a case where the current resource occupation is greater than the predetermined resource upper limit, determining that the resources are over limit and pushing a resource over limit alarm message to the user terminal.
5. The virtual controller resource regulation method of claim 1 or 2, wherein, the predetermined resource threshold includes a predetermined resource lower limit; the judging whether the current resource occupation meets the predetermined resource threshold comprises judging whether the current resource occupation is less than the predetermined resource lower limit; the pushing an alarm message to a user terminal in a case where the current resource occupation meets the predetermined resource threshold comprises, in a case where the current resource occupation is less than the predetermined resource lower limit, determining that the resources are idle and pushing a resource idle alarm message to the user terminal. 6.The virtual controller resource regulation method of claim 1 or 2, further comprising: in response to the user's query request for a target virtual controller, showing the user current information of the target virtual controller, wherein the current information includes at least one of a current activation state, a current running state and an operation button of the target virtual controller. 7.The virtual controller resource regulation method of claim 1 or 2, further comprising: in response to a data acquisition request of the user, acquiring running data of a plurality of devices connected to the target virtual controller in the running state, and presenting the running data to the user; in response to a device regulation request of the user, regulating running of the plurality of devices.
8. The virtual controller resource regulation method according to claim 1 or 2, further comprising: in response to a log query request of the target virtual controller of the user, presenting a log query page of the target virtual controller to the user; filtering logs according to at least one of a time range and query content input by the user; generating a log query result, and presenting the log query result to the user.
9. The virtual controller resource regulation method of claim 8, wherein, The query content includes at least one of recorded resource regulation time, operating personnel, memory exception, cache exception, CPU exception, network exception, and resource usage of timing acquisition.
10. The virtual controller resource regulation method according to claim 1 or 2, further comprising: in response to an alarm rule creation request of the user, presenting an alarm rule creation page to the user; configuring an alarm rule according to input of the user on the alarm rule creation page, wherein the alarm rule includes at least one of a rule name, an alarm condition, a push object, and a push content, and the alarm condition includes judging whether a current resource occupation meets a predetermined resource threshold.
11. The virtual controller resource regulation method according to claim 1 or 2, further comprising: in response to an alarm list request of the user, presenting a list of all alarm information to the user.
12. A management terminal, comprising: a resource monitoring module configured to present a current resource occupation of a virtual controller to a user in response to a resource monitoring request of the user for the virtual controller in a running state, wherein the virtual controller is a controller based on a digital base; a judging module configured to judge whether a current resource occupation meets a predetermined resource threshold; an alarm module configured to push an alarm message to a user terminal in a case where the current resource occupation meets the predetermined resource threshold; a resource regulation module configured to regulate a target virtual controller in response to a resource regulation instruction of the user.
13. A management terminal, comprising: a memory; and a processor coupled to the memory, the processor being configured to execute a virtual controller resource regulation method according to any one of claims 1 to 11 based on instructions stored in the memory.
14. A building control system, comprising a plurality of virtual controllers and a management terminal according to claim 12 or 13.
15. A computer readable storage medium, wherein, The computer readable storage medium stores computer instructions, the instructions being executed by the processor to implement a virtual controller resource regulation method according to any one of claims 1 to 11.
16. A computer program product comprising a computer program, wherein, The computer program is executed by the processor to implement a virtual controller resource regulation method according to any one of claims 1 to 11.