Cloud management method and system for autonomous and controllable devices
By predicting and monitoring the resource usage of terminal equipment, resource allocation and mirror resource pool construction between terminal equipment are realized, which solves the problem that equipment cannot independently manage and allocate its own resources in the existing technology, and improves task processing efficiency.
Patent Information
- Application Number
- CN202411579215.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-07
- Publication Date
- 2025-03-21
- Estimated Expiration
- 2044-11-07
AI Technical Summary
The existing cloud platform management technology cannot achieve flexible and accurate allocation and scheduling of its own resources under relatively independent conditions, resulting in inefficiency in handling emergency tasks.
By predicting the resource usage attribute information of all terminal devices under the autonomous controllable device cluster, the resource idle status of each terminal device is determined, and based on task execution monitoring and network connection status, one-to-one resource allocation between terminal devices is realized, and a mirror resource pool is built to support resource replenishment.
It realizes flexible and accurate allocation and scheduling of resources by internal devices in the cloud environment under relatively independent conditions, and improves the efficiency and timeliness of equipment in handling emergency tasks.
Smart Images

Figure CN119065864B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of cloud devices, and in particular to a method and system for managing autonomous and controllable devices on the cloud. Background Art
[0002] Cloud platform management, or cloud resource management, is a technology for unified management and scheduling of various resources in a cloud computing environment. Through cloud platform management, centralized resource management, dynamic allocation, intelligent monitoring, and efficient operation and maintenance can be achieved, thereby improving resource utilization and reducing operation and maintenance costs. The existing cloud platform management is to uniformly allocate and schedule resources such as memory and computing power of all devices in the cloud environment, making it impossible for devices to manage their own memory and computing power resources. Although this can accurately and timely coordinate the management of all resources in the cloud environment, it also makes all devices in the cloud environment lose the management and control authority over their own resources, and cannot guarantee the autonomy and independence of the device's work. In particular, when a device in the cloud environment needs to handle an urgent task, the cloud platform still needs to allocate corresponding resources to complete the task processing, which greatly affects the efficiency and timeliness of the device's task processing, and cannot achieve flexible and accurate allocation and scheduling of resources for all devices in the cloud environment in a relatively independent situation. Summary of the invention
[0003] In view of the defects existing in the prior art, the present invention provides a cloud-based management method and system for autonomous and controllable devices, which predicts the usage attribute information of all types of resources under all terminal devices of an autonomous and controllable device cluster during operation, thereby determining the idle state attribute information of all types of resources under each terminal device, and performing time correlation determination on the resources that can be scheduled and allocated under the terminal device; based on the resource shortage feature information of the terminal device in the actual execution of the task and the idle state attribute information of all types of resources under all other terminal devices, all other terminal devices that can allocate and supplement resources for the terminal device are determined, and based on the network connection status of the cloud environment, another terminal device that can allocate and supplement the corresponding type of resources for the terminal device is determined, and a mirror resource pool corresponding to the terminal device is constructed, so as to realize one-to-one resource allocation between different terminal devices, without completely stripping the terminal device of the control authority over its own subordinate resources; security detection is also performed on the terminal device in the cloud environment to determine whether a security abnormality event occurs in the terminal device, so as to adjust the connection status between the terminal device and the mirror resource pool, so as to realize flexible and accurate allocation and scheduling of resources for all devices in the cloud environment in a relatively independent manner.
[0004] The present invention provides a cloud-based management method for autonomous and controllable devices, comprising the following steps:
[0005] Step S1, performing operation prediction on all terminal devices under the autonomous controllable device cluster, obtaining usage attribute information of all types of resources under each terminal device during operation; based on the usage attribute information, determining idle state attribute information of all types of resources under each terminal device during operation;
[0006] Step S2, monitoring the task execution of the terminal device to obtain the resource shortage characteristic information of the terminal device during the actual task execution process; based on the resource shortage characteristic information and the idle state attribute information of all types of resources under all other terminal devices during operation, determining all other terminal devices that can allocate and supplement resources for the terminal device;
[0007] Step S3, based on the network connection status of the terminal device and all other terminal devices capable of resource allocation and supplementation in the cloud environment, determine another terminal device capable of allocating and supplementing resources of the corresponding type for the terminal device, and use this as the matching terminal device corresponding to the terminal device; based on the network attribute information of the matching terminal device in the cloud environment, construct a mirror resource pool corresponding to the terminal device;
[0008] Step S4, performing a security check on the terminal device within the cloud environment to determine whether a security anomaly occurs to the terminal device; and adjusting the connection state between the terminal device and the mirror resource pool based on the determination result of the security anomaly.
[0009] In one embodiment disclosed in the present application, in the step S1, operation prediction is performed on all terminal devices under the autonomous controllable device cluster to obtain usage attribute information of all types of resources under each terminal device during operation; based on the usage attribute information, idle state attribute information of all types of resources under each terminal device during operation is determined, including:
[0010] Obtain the task logs of all terminal devices under the autonomous and controllable device cluster, decompose the task logs into task threads, and obtain all threads included in all tasks received by each terminal device; identify the execution status of all threads included in all tasks received by each terminal device, determine the execution time information of each thread and the type and quantity of resources used during the execution process, and use this as the usage attribute information of all types of resources under each terminal device during operation;
[0011] Based on the available status information of all types of resources under each terminal device and the usage attribute information, all types of resources under each terminal device are screened and identified, and the idle status attribute information of all types of resources under each terminal device during operation is determined; wherein the idle status attribute information includes the change information over time of the number of resources of each type of resource in an idle state during operation of each terminal device.
[0012] In one embodiment disclosed in the present application, in the step S2, the task execution of the terminal device is monitored to obtain the resource shortage characteristic information of the terminal device during the actual task execution process; based on the resource shortage characteristic information and the idle state attribute information of all types of resources under all other terminal devices during operation, all other terminal devices that can allocate and supplement resources for the terminal device are determined, including:
[0013] Monitor the execution of tasks on the terminal device to obtain the demand information of the corresponding type of resources for all computing processes of the terminal device during the current task execution; compare the demand information of the corresponding type of resources with the quantity information of the corresponding type of resources that the terminal device can provide during the execution of the corresponding computing process to obtain the shortage information of the corresponding type of resources of the terminal device during the execution of the corresponding computing process, and use this as the resource shortage characteristic information;
[0014] The resource shortage characteristic information is compared with the idle state attribute information of all types of resources subordinate to all other terminal devices during operation, to determine whether other terminal devices can provide the terminal device with corresponding types of resources greater than or equal to the corresponding gap amount during the execution of the corresponding operation process of the terminal device; if so, the other terminal devices are determined as all other terminal devices that can allocate and supplement resources for the terminal device; if not, the other terminal devices are determined as all other terminal devices that cannot allocate and supplement resources for the terminal device.
[0015] In one embodiment disclosed in the present application, in the step S3, based on the network connection status of the terminal device and all other terminal devices capable of resource allocation and supplementation in the cloud environment, determining another terminal device capable of allocating and supplementing resources of the corresponding type for the terminal device as a matching terminal device corresponding to the terminal device; and constructing a mirror resource pool corresponding to the terminal device based on the network attribute information of the matching terminal device in the cloud environment, including:
[0016] Based on the gateway address information of the terminal device and all other terminal devices capable of resource allocation and supplementation in the cloud environment, determine the data transmission characteristic information of all cloud environment connection channels between the terminal device and each other terminal device capable of resource allocation and supplementation; based on the data transmission characteristic information, determine the cloud environment connection channel with the best data transmission performance, and determine the other terminal device capable of resource allocation and supplementation corresponding to it as another terminal device capable of allocating and supplementing the corresponding type of resources for the terminal device, so as to serve as the matching terminal device corresponding to the terminal device;
[0017] Based on the available cloud network backup space information of the matching terminal device in the cloud environment, a mirror resource pool corresponding to the terminal device is constructed within the cloud environment; wherein the mirror resource pool contains resources of the type and quantity required by the terminal device, and the life cycle of the mirror resource pool matches the execution duration of the corresponding computing process of the terminal device.
[0018] In one embodiment disclosed in the present application, in the step S4, a security check is performed on the terminal device within the cloud environment to determine whether a security anomaly event occurs in the terminal device; and based on the determination result of the security anomaly event, a connection state between the terminal device and the mirror resource pool is adjusted, including:
[0019] Performing traffic detection on the terminal device within the cloud environment to obtain uplink traffic and downlink traffic characteristic data of the terminal device; analyzing the uplink traffic and downlink traffic characteristic data to determine whether the terminal device has been attacked by traffic within the cloud environment; if so, determining that a security anomaly has occurred on the terminal device; if not, determining that no security anomaly has occurred on the terminal device;
[0020] When a security anomaly occurs to the terminal device, the connection between the terminal device and the mirror resource pool is interrupted; when no security anomaly occurs to the terminal device, the current connection state between the terminal device and the mirror resource pool is maintained unchanged.
[0021] The present invention also provides a cloud-based management system for autonomous and controllable devices, including:
[0022] The terminal device operation prediction module is used to predict the operation of all terminal devices under the autonomous and controllable device cluster, and obtain the usage attribute information of all types of resources under each terminal device during operation;
[0023] A terminal device idle resource identification module, used to determine the idle state attribute information of all types of resources under each terminal device during operation based on the usage attribute information;
[0024] A terminal device resource shortage identification module is used to monitor the task execution of the terminal device and obtain resource shortage characteristic information of the terminal device during the actual task execution;
[0025] A resource allocation and supplementation identification module, used to determine all other terminal devices that can allocate and supplement resources for the terminal device based on the resource shortage feature information and the idle state attribute information of all types of resources under all other terminal devices during operation;
[0026] A terminal device matching determination module, configured to determine, based on the network connection status of the terminal device and all other terminal devices capable of resource allocation and supplementation in the cloud environment, another terminal device capable of allocating and supplementing resources of the corresponding type for the terminal device, as a matching terminal device corresponding to the terminal device;
[0027] An image resource pool construction module, used to construct an image resource pool corresponding to the terminal device based on the network attribute information of the matching terminal device in the cloud environment;
[0028] A terminal device security anomaly judgment module, used to perform security detection on the terminal device within the cloud environment to determine whether a security anomaly event occurs on the terminal device;
[0029] The mirror resource pool connection adjustment module is used to adjust the connection state between the terminal device and the mirror resource pool based on the judgment result of the security abnormal event.
[0030] In one embodiment disclosed in the present application, the terminal device operation prediction module is used to perform operation prediction on all terminal devices under the autonomous controllable device cluster, and obtain usage attribute information of all types of resources under each terminal device during operation, including:
[0031] Obtain the task logs of all terminal devices under the autonomous and controllable device cluster, decompose the task logs into task threads, and obtain all threads included in all tasks received by each terminal device; identify the execution status of all threads included in all tasks received by each terminal device, determine the execution time information of each thread and the type and quantity of resources used during the execution process, and use this as the usage attribute information of all types of resources under each terminal device during operation;
[0032] The terminal device idle resource identification module is used to determine the idle state attribute information of all types of resources under each terminal device during operation based on the usage attribute information, including:
[0033] Based on the available status information of all types of resources under each terminal device and the usage attribute information, all types of resources under each terminal device are screened and identified, and the idle status attribute information of all types of resources under each terminal device during operation is determined; wherein the idle status attribute information includes the change information over time of the number of resources of each type of resource in an idle state during operation of each terminal device.
[0034] In one embodiment disclosed in the present application, the terminal device resource shortage identification module is used to monitor the task execution of the terminal device to obtain resource shortage characteristic information of the terminal device during the actual task execution process, including:
[0035] Monitor the execution of tasks on the terminal device to obtain the demand information of the corresponding type of resources for all computing processes of the terminal device during the current task execution; compare the demand information of the corresponding type of resources with the quantity information of the corresponding type of resources that the terminal device can provide during the execution of the corresponding computing process to obtain the shortage information of the corresponding type of resources of the terminal device during the execution of the corresponding computing process, and use this as the resource shortage characteristic information;
[0036] The resource allocation and supplementation identification module is used to determine all other terminal devices that can perform resource allocation and supplementation for the terminal device based on the resource shortage feature information and the idle state attribute information of all types of resources under all other terminal devices during operation, including:
[0037] The resource shortage characteristic information is compared with the idle state attribute information of all types of resources subordinate to all other terminal devices during operation, to determine whether other terminal devices can provide the terminal device with corresponding types of resources greater than or equal to the corresponding gap amount during the execution of the corresponding operation process of the terminal device; if so, the other terminal devices are determined as all other terminal devices that can allocate and supplement resources for the terminal device; if not, the other terminal devices are determined as all other terminal devices that cannot allocate and supplement resources for the terminal device.
[0038] In one embodiment disclosed in the present application, the terminal device matching determination module is used to determine, based on the network connection status of the terminal device and all other terminal devices capable of resource allocation and supplementation in the cloud environment, another terminal device capable of allocating and supplementing resources of the corresponding type for the terminal device as a matching terminal device corresponding to the terminal device, including:
[0039] Based on the gateway address information of the terminal device and all other terminal devices capable of resource allocation and supplementation in the cloud environment, determine the data transmission characteristic information of all cloud environment connection channels between the terminal device and each other terminal device capable of resource allocation and supplementation; based on the data transmission characteristic information, determine the cloud environment connection channel with the best data transmission performance, and determine the other terminal device capable of resource allocation and supplementation corresponding to it as another terminal device capable of allocating and supplementing the corresponding type of resources for the terminal device, so as to serve as the matching terminal device corresponding to the terminal device;
[0040] The image resource pool construction module is used to construct an image resource pool corresponding to the terminal device based on the network attribute information of the matching terminal device in the cloud environment, including:
[0041] Based on the available cloud network backup space information of the matching terminal device in the cloud environment, a mirror resource pool corresponding to the terminal device is constructed within the cloud environment; wherein the mirror resource pool contains resources of the type and quantity required by the terminal device, and the life cycle of the mirror resource pool matches the execution duration of the corresponding computing process of the terminal device.
[0042] In one embodiment disclosed in the present application, the terminal device security anomaly judgment module is used to perform security detection on the terminal device within the cloud environment to determine whether a security anomaly event occurs on the terminal device, including:
[0043] Performing traffic detection on the terminal device within the cloud environment to obtain uplink traffic and downlink traffic characteristic data of the terminal device; analyzing the uplink traffic and downlink traffic characteristic data to determine whether the terminal device has been attacked by traffic within the cloud environment; if so, determining that a security anomaly has occurred on the terminal device; if not, determining that no security anomaly has occurred on the terminal device;
[0044] The mirror resource pool connection adjustment module is used to adjust the connection state between the terminal device and the mirror resource pool based on the judgment result of the security abnormality event, including:
[0045] When a security anomaly occurs to the terminal device, the connection between the terminal device and the mirror resource pool is interrupted; when no security anomaly occurs to the terminal device, the current connection state between the terminal device and the mirror resource pool is maintained unchanged.
[0046] Compared with the prior art, the cloud management method and system of the autonomous and controllable device predicts the usage attribute information of all types of resources under all terminal devices of the autonomous and controllable device cluster during operation, thereby determining the idle state attribute information of all types of resources under each terminal device, and determining the time correlation of the resources that can be dispatched and allocated under the terminal device; based on the resource shortage feature information of the terminal device in the actual execution of the task and the idle state attribute information of all types of resources under all other terminal devices, all other terminal devices that can allocate and supplement resources for the terminal device are determined, and based on the network connection status of the cloud environment, another terminal device that can allocate and supplement the corresponding type of resources for the terminal device is determined, and a mirror resource pool corresponding to the terminal device is constructed to realize one-to-one resource allocation between different terminal devices, without completely stripping the terminal device of the control authority over its own subordinate resources; security detection is also performed on the terminal device in the cloud environment to determine whether a security abnormality event occurs in the terminal device, so as to adjust the connection status between the terminal device and the mirror resource pool, so as to realize flexible and accurate allocation and scheduling of resources for all devices in the cloud environment in a relatively independent manner.
[0047] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.
[0048] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0050] Figure 1 A schematic diagram of the process of the cloud-based management method for the autonomous and controllable device provided by the present invention;
[0051] Figure 2 A schematic diagram of the framework of the cloud-based management system for the autonomous and controllable devices provided by the present invention. DETAILED DESCRIPTION
[0052] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0053] See also Figure 1 , is a flow chart of a method for managing an autonomous and controllable device on the cloud provided by an embodiment of the present invention. The method for managing an autonomous and controllable device on the cloud includes:
[0054] Step S1, performing operation prediction on all terminal devices under the autonomous controllable device cluster, obtaining usage attribute information of all types of resources under each terminal device during operation; based on the usage attribute information, determining idle state attribute information of all types of resources under each terminal device during operation;
[0055] Step S2, monitoring the task execution of the terminal device to obtain the resource shortage characteristic information of the terminal device during the actual task execution process; based on the resource shortage characteristic information and the idle state attribute information of all types of resources under all other terminal devices during the operation process, determining all other terminal devices that can allocate and supplement resources for the terminal device;
[0056] Step S3, based on the network connection status of the terminal device and all other terminal devices capable of resource allocation and supplementation in the cloud environment, determine another terminal device capable of allocating and supplementing resources of the corresponding type for the terminal device, and use this as the matching terminal device corresponding to the terminal device; based on the network attribute information of the matching terminal device in the cloud environment, construct a mirror resource pool corresponding to the terminal device;
[0057] Step S4, performing a security check on the terminal device within the cloud environment to determine whether a security anomaly occurs to the terminal device; based on the determination result of the security anomaly, adjusting the connection state between the terminal device and the mirror resource pool.
[0058] The cloud management method of the autonomous and controllable device predicts the usage attribute information of all types of resources under all terminal devices of the autonomous and controllable device cluster during operation, thereby determining the idle state attribute information of all types of resources under each terminal device, and determining the time correlation of the resources that can be dispatched and allocated under the terminal device; based on the resource shortage feature information of the terminal device in the actual execution of the task and the idle state attribute information of all types of resources under all other terminal devices, all other terminal devices that can allocate and supplement resources for the terminal device are determined, and based on the network connection status of the cloud environment, another terminal device that can allocate and supplement the corresponding type of resources for the terminal device is determined, and a mirror resource pool corresponding to the terminal device is constructed to realize one-to-one resource allocation between different terminal devices, without completely stripping the terminal device of the control authority over its own subordinate resources; security detection is also performed on the terminal device in the cloud environment to determine whether a security abnormality event occurs in the terminal device, so as to adjust the connection status between the terminal device and the mirror resource pool, so as to realize flexible and accurate allocation and scheduling of resources for all devices in the cloud environment in a relatively independent manner.
[0059] Preferably, in step S1, operation prediction is performed on all terminal devices under the autonomous controllable device cluster to obtain usage attribute information of all types of resources under each terminal device during operation; based on the usage attribute information, idle state attribute information of all types of resources under each terminal device during operation is determined, including:
[0060] Obtain the task logs of all terminal devices under the autonomous and controllable device cluster, decompose the task logs into task threads, and obtain all threads contained in all tasks received by each terminal device; identify the execution status of all threads contained in all tasks received by each terminal device, determine the execution time information of each thread and the type and quantity of resources used during the execution process, and use this as the usage attribute information of all types of resources under each terminal device during operation;
[0061] Based on the available status information and usage attribute information of all types of resources under each terminal device, all types of resources under each terminal device are screened and identified, and the idle status attribute information of all types of resources under each terminal device during operation is determined; wherein the idle status attribute information includes the change information over time of the number of resources of each type of resource in an idle state during operation of each terminal device.
[0062] In the above technical solution, the autonomous controllable device cluster is connected to the cloud platform, and it can be integrated into the cloud environment corresponding to the cloud platform. In addition, the autonomous controllable device cluster includes a number of terminal devices that can operate independently and perform task processing, and each terminal device has different types of resources including memory, computing power and network bandwidth. Each terminal device can independently control its own different types of resources. At the same time, in the internal cloud environment scenario, the different types of resources under each terminal device can also be allocated and scheduled to other terminal devices. Generally speaking, each terminal device has higher control authority over all types of resources under itself than the allocation and scheduling authority of all types of resources in the internal cloud environment scenario. In order to take into account that each terminal device controls all types of resources under it to meet its own task processing needs and uniformly allocates and schedules all types of resources under each terminal device in an idle state, it is necessary to first accurately identify the changes in the demand for all types of resources over time in the process of each terminal device processing its own tasks. Specifically, the task logs of all terminal devices under the autonomous and controllable device cluster are decomposed into task threads to obtain all threads contained in all tasks received by each terminal device, and the execution status of all threads contained in all tasks received by each terminal device are identified to determine the execution time information of each thread and the type and quantity of resources used during the execution process. In this way, each thread contained in the process of the terminal device executing the task is taken as the basic unit, and the changes in the demand quantity of different types of resources such as memory, computing power and communication bandwidth during the process of the terminal device executing the task are accurately calibrated over time, providing a judgment basis for the subsequent judgment whether all types of resources under each terminal device are in an idle state. In addition, the available status information of all types of resources under each terminal device (such as the available quantity information of each type of resource, etc.) is compared with the usage attribute information, and all types of resources under each terminal device are screened and identified, and the idle status attribute information of all types of resources under each terminal device during operation is determined, so as to quantitatively determine the number of resources of all types of resources in an idle state at different time periods during the operation of each terminal device, that is, determine the change information of the number of resources of each type of resource in an idle state over time during the operation of each terminal device.
[0063] Preferably, in step S2, task execution monitoring is performed on the terminal device to obtain resource shortage characteristic information of the terminal device during the actual task execution process; based on the resource shortage characteristic information and the idle state attribute information of all types of resources under all other terminal devices during operation, all other terminal devices that can allocate and supplement resources for the terminal device are determined, including:
[0064] Monitor the execution of tasks on the terminal device to obtain the demand information of the corresponding type of resources for all computing processes of the terminal device during the current task execution process; compare the demand information of the corresponding type of resources with the quantity information of the corresponding type of resources that the terminal device can provide during the execution of the corresponding computing process to obtain the shortage information of the corresponding type of resources of the terminal device during the execution of the corresponding computing process, and use this as the resource shortage characteristic information;
[0065] The resource shortage characteristic information is compared with the idle state attribute information of all types of resources subordinate to all other terminal devices during operation, to determine whether other terminal devices can provide the terminal device with corresponding types of resources greater than or equal to the corresponding shortage amount during the execution of the corresponding operation process of the terminal device; if so, the other terminal devices are determined as all other terminal devices that can allocate and supplement resources for the terminal device; if not, the other terminal devices are determined as all other terminal devices that cannot allocate and supplement resources for the terminal device.
[0066] In the above technical scheme, during the actual task execution of the terminal device, its actual demand for different types of resources may differ from the predicted demand. In order to accurately determine the actual demand of the terminal device for different types of resources, the task execution of the terminal device is monitored to obtain the demand information of all computing processes of the terminal device for corresponding types of resources (such as memory, computing power and / or communication bandwidth and other different types of resources) during the current task execution. The demand information of the corresponding types of resources is compared with the quantity information of the corresponding types of resources that the terminal device can provide during the execution of the corresponding computing process to obtain the gap information of the corresponding types of resources of the terminal device during the execution of the corresponding computing process, thereby accurately determining the number of resource gaps caused by the inability of the terminal device's subordinate resources to meet the task execution requirements during the actual task execution. In addition, the resource shortage feature information is compared with the idle state attribute information of all types of resources under all other terminal devices during operation to determine whether other terminal devices can provide the terminal device with corresponding types of resources greater than or equal to the corresponding gap amount during the execution of the corresponding computing process of the terminal device. In this way, accurate resource allocation and supplement operation terminal devices can be screened according to the corresponding resource gap requirements of the terminal device in different time periods during the actual task execution process. For example, within a certain time period of the actual task execution process of the terminal device, if one of the other terminal devices can make up for the gap requirement of the terminal device for memory and / or computing power resources, the corresponding other terminal device will be determined as being able to allocate and supplement memory and / or computing power resources for the terminal device. In this way, corresponding to a certain time period of the actual task execution process of the terminal device, there may be multiple other terminal devices to allocate and supplement the same type of resources or different types of resources, thereby finding as many other terminal devices as possible for resource allocation and supplement for the terminal device.
[0067] Preferably, in step S3, based on the network connection status of the terminal device and all other terminal devices capable of resource allocation and supplementation in the cloud environment, determining another terminal device capable of allocating and supplementing resources of the corresponding type for the terminal device as a matching terminal device corresponding to the terminal device; and constructing a mirror resource pool corresponding to the terminal device based on the network attribute information of the matching terminal device in the cloud environment, including:
[0068] Based on the gateway address information of the terminal device and all other terminal devices capable of resource allocation and supplementation in the cloud environment, determine the data transmission characteristic information of all cloud environment connection channels between the terminal device and each other terminal device capable of resource allocation and supplementation; based on the data transmission characteristic information, determine the cloud environment connection channel with the best data transmission performance, and determine the other terminal device capable of resource allocation and supplementation corresponding to it as another terminal device capable of allocating and supplementing the corresponding type of resources for the terminal device, so as to serve as the matching terminal device corresponding to the terminal device;
[0069] Based on the available cloud network backup space information of the matching terminal device in the cloud environment, a mirror resource pool corresponding to the terminal device is constructed within the cloud environment; wherein the mirror resource pool contains resources of the type and quantity required by the terminal device, and the life cycle of the mirror resource pool matches the execution duration of the corresponding computing process of the terminal device.
[0070] In the above technical scheme, in order to ensure the operational stability and continuity of the corresponding type of resource allocation and supplementation for the terminal device, based on the gateway address information of the terminal device and all other terminal devices capable of resource allocation and supplementation in the cloud environment, the data transmission characteristic information of all cloud environment connection channels between the terminal device and each other terminal device capable of resource allocation and supplementation is determined, wherein the data transmission characteristic information may include but is not limited to the data transmission rate and data transmission delay parameters of each cloud environment connection channel, and based on the data transmission characteristic information, the data transmission performance of all cloud environment connection channels is quantitatively evaluated, and the cloud environment connection channel with the best data transmission performance is determined, and the corresponding other terminal device capable of resource allocation and supplementation is determined as another terminal device capable of allocating and supplementing the corresponding type of resources for the terminal device, so as to serve as the matching terminal device corresponding to the terminal device, thereby ensuring that the matching terminal device can achieve fast and stable transmission scheduling of resources during the process of corresponding resource allocation and supplementation for the terminal device. In addition, based on the available cloud network backup space information of the matching terminal device in the cloud environment, a mirror resource pool corresponding to the terminal device is constructed within the cloud environment. In this way, the resources that can be deployed for the matching terminal device can be mirrored, which is convenient for the terminal device to directly call the corresponding resources from the mirror resource pool. At the same time, the mirror resource pool contains the types and quantities of resources required by the terminal device, and the life cycle of the mirror resource pool matches the execution duration of the corresponding computing process of the terminal device. In this way, the corresponding life cycle is set for the mirror resource pool, which effectively prevents the terminal device from occupying the mirror resource pool for a long time, resulting in the inability to fully operate and deploy the resources of the matching terminal device.
[0071] Preferably, in step S4, a security check is performed on the terminal device within the cloud environment to determine whether a security anomaly event occurs in the terminal device; and based on the determination result of the security anomaly event, a connection state between the terminal device and the mirror resource pool is adjusted, including:
[0072] Performing traffic detection on the terminal device within the cloud environment to obtain uplink traffic and downlink traffic characteristic data of the terminal device; analyzing the uplink traffic and downlink traffic characteristic data to determine whether the terminal device has been attacked by traffic within the cloud environment; if so, determining that a security anomaly has occurred on the terminal device; if not, determining that no security anomaly has occurred on the terminal device;
[0073] When a security anomaly occurs to the terminal device, the connection between the terminal device and the mirror resource pool is interrupted; when no security anomaly occurs to the terminal device, the current connection state between the terminal device and the mirror resource pool is maintained unchanged.
[0074] In the above technical solution, the terminal device is subjected to flow detection inside the cloud environment to obtain the uplink flow and downlink flow characteristic data of the terminal device, and the uplink flow and downlink flow characteristic data are analyzed to determine whether the terminal device is attacked by flow from other terminal devices inside the cloud environment, thereby accurately identifying the security status of the terminal device inside the cloud environment. Also, when a security anomaly occurs to the terminal device, the connection between the terminal device and the mirror resource pool is interrupted; when no security anomaly occurs to the terminal device, the current connection status between the terminal device and the mirror resource pool is maintained unchanged, so that the connection status between the terminal device and the mirror resource pool can be adjusted, so that all devices inside the cloud environment can flexibly and accurately allocate and schedule resources in a relatively independent manner.
[0075] See also Figure 2 , is a schematic diagram of the framework of the cloud-based management system for autonomous and controllable devices provided in an embodiment of the present invention. The cloud-based management system for autonomous and controllable devices includes:
[0076] The terminal device operation prediction module is used to predict the operation of all terminal devices under the autonomous and controllable device cluster, and obtain the usage attribute information of all types of resources under each terminal device during operation;
[0077] The terminal device idle resource identification module is used to determine the idle state attribute information of all types of resources under each terminal device during operation based on the usage attribute information;
[0078] The terminal device resource shortage identification module is used to monitor the task execution of the terminal device and obtain the resource shortage characteristic information of the terminal device during the actual task execution;
[0079] A resource allocation and supplementation identification module is used to determine all other terminal devices that can allocate and supplement resources for the terminal device based on the resource shortage feature information and the idle state attribute information of all types of resources under all other terminal devices during operation;
[0080] A terminal device matching determination module, used to determine, based on the network connection status of the terminal device and all other terminal devices capable of resource allocation and replenishment in the cloud environment, another terminal device capable of allocating and replenishing resources of the corresponding type for the terminal device, as a matching terminal device corresponding to the terminal device;
[0081] An image resource pool construction module is used to construct an image resource pool corresponding to the terminal device based on the network attribute information of the matching terminal device in the cloud environment;
[0082] The terminal device security anomaly judgment module is used to perform security detection on the terminal device within the cloud environment to determine whether a security anomaly event occurs on the terminal device;
[0083] The mirror resource pool connection adjustment module is used to adjust the connection state between the terminal device and the mirror resource pool based on the judgment result of the security abnormal event.
[0084] The cloud management system of the autonomous and controllable device predicts the usage attribute information of all types of resources under all terminal devices under the autonomous and controllable device cluster during operation, thereby determining the idle state attribute information of all types of resources under each terminal device, and determining the time correlation of the resources that can be dispatched and allocated under the terminal device; based on the resource shortage feature information of the terminal device in the actual execution of the task and the idle state attribute information of all types of resources under all other terminal devices, determine all other terminal devices that can allocate and supplement resources for the terminal device, and based on the network connection status of the cloud environment, determine another terminal device that can allocate and supplement the corresponding type of resources for the terminal device and build a mirror resource pool corresponding to the terminal device, so as to realize one-to-one resource allocation between different terminal devices, without completely stripping the terminal device of the control authority over its own subordinate resources; it also performs security detection on the terminal device within the cloud environment to determine whether a security abnormality event occurs in the terminal device, so as to adjust the connection status between the terminal device and the mirror resource pool, so as to realize flexible and accurate allocation and scheduling of resources for all devices within the cloud environment in a relatively independent manner.
[0085] Preferably, the terminal device operation prediction module is used to perform operation prediction on all terminal devices under the autonomous controllable device cluster, and obtain usage attribute information of all types of resources under each terminal device during operation, including:
[0086] Obtain the task logs of all terminal devices under the autonomous and controllable device cluster, decompose the task logs into task threads, and obtain all threads contained in all tasks received by each terminal device; identify the execution status of all threads contained in all tasks received by each terminal device, determine the execution time information of each thread and the type and quantity of resources used during the execution process, and use this as the usage attribute information of all types of resources under each terminal device during operation;
[0087] The terminal device idle resource identification module is used to determine the idle state attribute information of all types of resources under each terminal device during operation based on the usage attribute information, including:
[0088] Based on the available status information and usage attribute information of all types of resources under each terminal device, all types of resources under each terminal device are screened and identified, and the idle status attribute information of all types of resources under each terminal device during operation is determined; wherein the idle status attribute information includes the change information over time of the number of resources of each type of resource in an idle state during operation of each terminal device.
[0089] In the above technical solution, the autonomous controllable device cluster is connected to the cloud platform, and it can be integrated into the cloud environment corresponding to the cloud platform. In addition, the autonomous controllable device cluster includes a number of terminal devices that can operate independently and perform task processing, and each terminal device has different types of resources including memory, computing power and network bandwidth. Each terminal device can independently control its own different types of resources. At the same time, in the internal cloud environment scenario, the different types of resources under each terminal device can also be allocated and scheduled to other terminal devices. Generally speaking, each terminal device has higher control authority over all types of resources under itself than the allocation and scheduling authority of all types of resources in the internal cloud environment scenario. In order to take into account that each terminal device controls all types of resources under it to meet its own task processing needs and uniformly allocates and schedules all types of resources under each terminal device in an idle state, it is necessary to first accurately identify the changes in the demand for all types of resources over time in the process of each terminal device processing its own tasks. Specifically, the task logs of all terminal devices under the autonomous and controllable device cluster are decomposed into task threads to obtain all threads contained in all tasks received by each terminal device, and the execution status of all threads contained in all tasks received by each terminal device are identified to determine the execution time information of each thread and the type and quantity of resources used during the execution process. In this way, each thread contained in the process of the terminal device executing the task is taken as the basic unit, and the changes in the demand quantity of different types of resources such as memory, computing power and communication bandwidth during the process of the terminal device executing the task are accurately calibrated over time, providing a judgment basis for the subsequent judgment whether all types of resources under each terminal device are in an idle state. In addition, the available status information of all types of resources under each terminal device (such as the available quantity information of each type of resource, etc.) is compared with the usage attribute information, and all types of resources under each terminal device are screened and identified, and the idle status attribute information of all types of resources under each terminal device during operation is determined, so as to quantitatively determine the number of resources of all types of resources in an idle state at different time periods during the operation of each terminal device, that is, determine the change information of the number of resources of each type of resource in an idle state over time during the operation of each terminal device.
[0090] Preferably, the terminal device resource shortage identification module is used to monitor the task execution of the terminal device to obtain resource shortage characteristic information of the terminal device during the actual task execution process, including:
[0091] Monitor the execution of tasks on the terminal device to obtain the demand information of the corresponding type of resources for all computing processes of the terminal device during the current task execution process; compare the demand information of the corresponding type of resources with the quantity information of the corresponding type of resources that the terminal device can provide during the execution of the corresponding computing process to obtain the shortage information of the corresponding type of resources of the terminal device during the execution of the corresponding computing process, and use this as the resource shortage characteristic information;
[0092] The resource allocation and supplementation identification module is used to determine all other terminal devices that can allocate and supplement resources for the terminal device based on the resource shortage feature information and the idle state attribute information of all types of resources under all other terminal devices during operation, including:
[0093] The resource shortage characteristic information is compared with the idle state attribute information of all types of resources subordinate to all other terminal devices during operation, to determine whether other terminal devices can provide the terminal device with corresponding types of resources greater than or equal to the corresponding shortage amount during the execution of the corresponding operation process of the terminal device; if so, the other terminal devices are determined as all other terminal devices that can allocate and supplement resources for the terminal device; if not, the other terminal devices are determined as all other terminal devices that cannot allocate and supplement resources for the terminal device.
[0094] In the above technical scheme, during the actual task execution of the terminal device, its actual demand for different types of resources may differ from the predicted demand. In order to accurately determine the actual demand of the terminal device for different types of resources, the task execution of the terminal device is monitored to obtain the demand information of all computing processes of the terminal device for corresponding types of resources (such as memory, computing power and / or communication bandwidth and other different types of resources) during the current task execution. The demand information of the corresponding types of resources is compared with the quantity information of the corresponding types of resources that the terminal device can provide during the execution of the corresponding computing process to obtain the gap information of the corresponding types of resources of the terminal device during the execution of the corresponding computing process, thereby accurately determining the number of resource gaps caused by the inability of the terminal device's subordinate resources to meet the task execution requirements during the actual task execution. In addition, the resource shortage feature information is compared with the idle state attribute information of all types of resources under all other terminal devices during operation to determine whether other terminal devices can provide the terminal device with corresponding types of resources greater than or equal to the corresponding gap amount during the execution of the corresponding computing process. In this way, accurate resource allocation and supplement operation terminal devices can be screened according to the corresponding resource gap requirements of the terminal device in different time periods during the actual task execution process. For example, within a certain time period of the actual task execution process of the terminal device, if one of the other terminal devices can make up for the gap requirements of the terminal device for memory and / or computing power resources, the corresponding other terminal device will be determined as being able to allocate and supplement memory and / or computing power resources for the terminal device. In this way, corresponding to a certain time period of the actual task execution process of the terminal device, there may be multiple other terminal devices to allocate and supplement the same type of resources or different types of resources, thereby finding as many other terminal devices as possible for resource allocation and supplement for the terminal device.
[0095] Preferably, the terminal device matching determination module is used to determine, based on the network connection status of the terminal device and all other terminal devices capable of resource allocation and supplementation in the cloud environment, another terminal device capable of allocating and supplementing resources of the corresponding type for the terminal device as a matching terminal device corresponding to the terminal device, including:
[0096] Based on the gateway address information of the terminal device and all other terminal devices capable of resource allocation and supplementation in the cloud environment, determine the data transmission characteristic information of all cloud environment connection channels between the terminal device and each other terminal device capable of resource allocation and supplementation; based on the data transmission characteristic information, determine the cloud environment connection channel with the best data transmission performance, and determine the other terminal device capable of resource allocation and supplementation corresponding to it as another terminal device capable of allocating and supplementing the corresponding type of resources for the terminal device, so as to serve as the matching terminal device corresponding to the terminal device;
[0097] The image resource pool construction module is used to construct an image resource pool corresponding to the terminal device based on the network attribute information of the matching terminal device in the cloud environment, including:
[0098] Based on the available cloud network backup space information of the matching terminal device in the cloud environment, a mirror resource pool corresponding to the terminal device is constructed within the cloud environment; wherein the mirror resource pool contains resources of the type and quantity required by the terminal device, and the life cycle of the mirror resource pool matches the execution duration of the corresponding computing process of the terminal device.
[0099] In the above technical scheme, in order to ensure the operational stability and continuity of the corresponding type of resource allocation and supplementation for the terminal device, based on the gateway address information of the terminal device and all other terminal devices capable of resource allocation and supplementation in the cloud environment, the data transmission characteristic information of all cloud environment connection channels between the terminal device and each other terminal device capable of resource allocation and supplementation is determined, wherein the data transmission characteristic information may include but is not limited to the data transmission rate and data transmission delay parameters of each cloud environment connection channel, and based on the data transmission characteristic information, the data transmission performance of all cloud environment connection channels is quantitatively evaluated, and the cloud environment connection channel with the best data transmission performance is determined, and the corresponding other terminal device capable of resource allocation and supplementation is determined as another terminal device capable of allocating and supplementing the corresponding type of resources for the terminal device, so as to serve as the matching terminal device corresponding to the terminal device, thereby ensuring that the matching terminal device can achieve fast and stable transmission scheduling of resources during the process of corresponding resource allocation and supplementation for the terminal device. In addition, based on the available cloud network backup space information of the matching terminal device in the cloud environment, a mirror resource pool corresponding to the terminal device is constructed within the cloud environment. In this way, the resources that can be deployed for the matching terminal device can be mirrored, which is convenient for the terminal device to directly call the corresponding resources from the mirror resource pool. At the same time, the mirror resource pool contains the types and quantities of resources required by the terminal device, and the life cycle of the mirror resource pool matches the execution duration of the corresponding computing process of the terminal device. In this way, the corresponding life cycle is set for the mirror resource pool, which effectively prevents the terminal device from occupying the mirror resource pool for a long time, resulting in the inability to fully operate and deploy the resources of the matching terminal device.
[0100] Preferably, the terminal device security anomaly judgment module is used to perform security detection on the terminal device within the cloud environment to determine whether a security anomaly event occurs on the terminal device, including:
[0101] Performing traffic detection on the terminal device within the cloud environment to obtain uplink traffic and downlink traffic characteristic data of the terminal device; analyzing the uplink traffic and downlink traffic characteristic data to determine whether the terminal device has been attacked by traffic within the cloud environment; if so, determining that a security anomaly has occurred on the terminal device; if not, determining that no security anomaly has occurred on the terminal device;
[0102] The mirror resource pool connection adjustment module is used to adjust the connection state between the terminal device and the mirror resource pool based on the judgment result of the security abnormality event, including:
[0103] When a security anomaly occurs to the terminal device, the connection between the terminal device and the mirror resource pool is interrupted; when no security anomaly occurs to the terminal device, the current connection state between the terminal device and the mirror resource pool is maintained unchanged.
[0104] In the above technical solution, the terminal device is subjected to flow detection inside the cloud environment to obtain the uplink flow and downlink flow characteristic data of the terminal device, and the uplink flow and downlink flow characteristic data are analyzed to determine whether the terminal device is attacked by flow from other terminal devices inside the cloud environment, thereby accurately identifying the security status of the terminal device inside the cloud environment. Also, when a security anomaly occurs to the terminal device, the connection between the terminal device and the mirror resource pool is interrupted; when no security anomaly occurs to the terminal device, the current connection status between the terminal device and the mirror resource pool is maintained unchanged, so that the connection status between the terminal device and the mirror resource pool can be adjusted, so that all devices inside the cloud environment can flexibly and accurately allocate and schedule resources in a relatively independent manner.
[0105] It can be seen from the contents of the above embodiments that the cloud management method and system of the autonomous and controllable device predicts the usage attribute information of all types of resources under all terminal devices under the autonomous and controllable device cluster during operation, thereby determining the idle state attribute information of all types of resources under each terminal device, and determining the time correlation of the resources that can be scheduled and allocated under the terminal device; based on the resource shortage feature information of the terminal device in the actual execution of the task and the idle state attribute information of all types of resources under all other terminal devices, determine all other terminal devices that can allocate and supplement resources for the terminal device, and based on the network connection status of the cloud environment, determine another terminal device that can allocate and supplement the corresponding type of resources for the terminal device and build a mirror resource pool corresponding to the terminal device, so as to realize one-to-one resource allocation between different terminal devices, without completely stripping the terminal device of the control authority over its own subordinate resources; also perform security detection on the terminal device within the cloud environment to determine whether a security abnormality event occurs in the terminal device, so as to adjust the connection status between the terminal device and the mirror resource pool, so as to realize flexible and accurate allocation and scheduling of resources for all devices within the cloud environment in a relatively independent state.
[0106] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A cloud-based management method for autonomous and controllable devices, characterized in that: It includes the following steps: Step S1, performing operation prediction on all terminal devices under the autonomous controllable device cluster, obtaining usage attribute information of all types of resources under each terminal device during operation; based on the usage attribute information, determining idle state attribute information of all types of resources under each terminal device during operation; Step S2, monitoring the task execution of the terminal device to obtain the resource shortage characteristic information of the terminal device during the actual task execution process; based on the resource shortage characteristic information and the idle state attribute information of all types of resources under all other terminal devices during operation, determining all other terminal devices that can allocate and supplement resources for the terminal device; Step S3, based on the network connection status of the terminal device and all other terminal devices capable of resource allocation and supplementation in the cloud environment, determining another terminal device capable of allocating and supplementing resources of the corresponding type for the terminal device as a matching terminal device corresponding to the terminal device; Based on the network attribute information of the matching terminal device in the cloud environment, a mirror resource pool corresponding to the terminal device is constructed, including determining the data transmission characteristic information of all cloud environment connection channels between the terminal device and each other terminal device capable of resource allocation and supplementation based on the gateway address information of the terminal device and all other terminal devices capable of resource allocation and supplementation in the cloud environment; Based on the data transmission characteristic information, determine the cloud environment connection channel with the best data transmission performance, and determine the other terminal device corresponding to it that can allocate and supplement resources as another terminal device that can allocate and supplement the corresponding type of resources for the terminal device, so as to serve as the matching terminal device corresponding to the terminal device; Based on the available cloud network backup space information of the matching terminal device in the cloud environment, a mirror resource pool corresponding to the terminal device is constructed within the cloud environment; wherein the mirror resource pool contains the type and quantity of resources required by the terminal device, and the life cycle of the mirror resource pool matches the execution duration of the corresponding computing process of the terminal device; Step S4, performing a security check on the terminal device within the cloud environment to determine whether a security anomaly occurs on the terminal device; Based on the determination result of the abnormal security event, the connection state between the terminal device and the mirror resource pool is adjusted.
2. The cloud-based management method for autonomous and controllable devices according to claim 1, characterized in that: In the step S1, operation prediction is performed on all terminal devices under the autonomous controllable device cluster to obtain usage attribute information of all types of resources under each terminal device during operation; Based on the usage attribute information, the idle state attribute information of all types of resources under each terminal device during operation is determined, including: Obtain the task logs of all terminal devices under the autonomous and controllable device cluster, decompose the task logs into task threads, and obtain all threads included in all tasks received by each terminal device; identify the execution status of all threads included in all tasks received by each terminal device, determine the execution time information of each thread and the type and quantity of resources used during the execution process, and use this as the usage attribute information of all types of resources under each terminal device during operation; Based on the available status information of all types of resources under each terminal device and the usage attribute information, all types of resources under each terminal device are screened and identified, and the idle status attribute information of all types of resources under each terminal device during operation is determined; wherein the idle status attribute information includes the change information over time of the number of resources of each type of resource in an idle state during operation of each terminal device.
3. The cloud-based management method for autonomous and controllable devices according to claim 1, characterized in that: In step S2, task execution of the terminal device is monitored to obtain resource shortage characteristic information of the terminal device during the actual task execution process; based on the resource shortage characteristic information and the idle state attribute information of all types of resources under all other terminal devices during operation, all other terminal devices that can allocate and supplement resources for the terminal device are determined, including: Monitor the execution of tasks on the terminal device to obtain the demand information of the corresponding type of resources for all computing processes of the terminal device during the current task execution; compare the demand information of the corresponding type of resources with the quantity information of the corresponding type of resources that the terminal device can provide during the execution of the corresponding computing process to obtain the shortage information of the corresponding type of resources of the terminal device during the execution of the corresponding computing process, and use this as the resource shortage characteristic information; The resource shortage characteristic information is compared with the idle state attribute information of all types of resources subordinate to all other terminal devices during operation, to determine whether other terminal devices can provide the terminal device with corresponding types of resources greater than or equal to the corresponding gap amount during the execution of the corresponding operation process of the terminal device; if so, the other terminal devices are determined as all other terminal devices that can allocate and supplement resources for the terminal device; if not, the other terminal devices are determined as all other terminal devices that cannot allocate and supplement resources for the terminal device.
4. The cloud-based management method for autonomous and controllable devices according to claim 1, characterized in that: In the step S4, a security check is performed on the terminal device within the cloud environment to determine whether a security anomaly occurs on the terminal device; Based on the judgment result of the abnormal security event, adjusting the connection state between the terminal device and the mirror resource pool includes: Performing traffic detection on the terminal device within the cloud environment to obtain uplink traffic and downlink traffic characteristic data of the terminal device; analyzing the uplink traffic and downlink traffic characteristic data to determine whether the terminal device has been attacked by traffic within the cloud environment; if so, determining that a security anomaly has occurred on the terminal device; if not, determining that no security anomaly has occurred on the terminal device; When a security anomaly occurs to the terminal device, the connection between the terminal device and the mirror resource pool is interrupted; when no security anomaly occurs to the terminal device, the current connection state between the terminal device and the mirror resource pool is maintained unchanged.
5. The cloud management system for autonomous and controllable devices is characterized by: include: The terminal device operation prediction module is used to predict the operation of all terminal devices under the autonomous and controllable device cluster, and obtain the usage attribute information of all types of resources under each terminal device during operation; A terminal device idle resource identification module, used to determine the idle state attribute information of all types of resources under each terminal device during operation based on the usage attribute information; A terminal device resource shortage identification module is used to monitor the task execution of the terminal device and obtain resource shortage characteristic information of the terminal device during the actual task execution; A resource allocation and supplementation identification module, used to determine all other terminal devices that can allocate and supplement resources for the terminal device based on the resource shortage feature information and the idle state attribute information of all types of resources under all other terminal devices during operation; A terminal device matching determination module, used to determine, based on the network connection status of the terminal device and all other terminal devices capable of resource allocation and supplementation in the cloud environment, one other terminal device capable of allocating and supplementing resources of the corresponding type for the terminal device as the matching terminal device corresponding to the terminal device, including determining, based on the gateway address information of the terminal device and all other terminal devices capable of resource allocation and supplementation in the cloud environment, data transmission feature information of all cloud environment connection channels between the terminal device and each other terminal device capable of resource allocation and supplementation; Based on the data transmission characteristic information, determine the cloud environment connection channel with the best data transmission performance, and determine the other terminal device corresponding to it that can allocate and supplement resources as another terminal device that can allocate and supplement the corresponding type of resources for the terminal device, so as to serve as the matching terminal device corresponding to the terminal device; A mirror resource pool construction module, used to construct a mirror resource pool corresponding to the terminal device based on the network attribute information of the matching terminal device in the cloud environment, including constructing a mirror resource pool corresponding to the terminal device within the cloud environment based on the available cloud network backup space information of the matching terminal device in the cloud environment; wherein the mirror resource pool contains the type and quantity of resources required by the terminal device, and the life cycle of the mirror resource pool matches the execution duration of the corresponding computing process of the terminal device; A terminal device security anomaly judgment module, used to perform security detection on the terminal device within the cloud environment to determine whether a security anomaly event occurs on the terminal device; The mirror resource pool connection adjustment module is used to adjust the connection state between the terminal device and the mirror resource pool based on the judgment result of the security abnormal event.
6. The cloud-based management system for autonomous and controllable devices according to claim 5, characterized in that: The terminal device operation prediction module is used to predict the operation of all terminal devices under the autonomous controllable device cluster, and obtain the usage attribute information of all types of resources under each terminal device during operation, including: Obtain the task logs of all terminal devices under the autonomous and controllable device cluster, decompose the task logs into task threads, and obtain all threads included in all tasks received by each terminal device; identify the execution status of all threads included in all tasks received by each terminal device, determine the execution time information of each thread and the type and quantity of resources used during the execution process, and use this as the usage attribute information of all types of resources under each terminal device during operation; The terminal device idle resource identification module is used to determine the idle state attribute information of all types of resources under each terminal device during operation based on the usage attribute information, including: Based on the available status information of all types of resources under each terminal device and the usage attribute information, all types of resources under each terminal device are screened and identified, and the idle status attribute information of all types of resources under each terminal device during operation is determined; wherein the idle status attribute information includes the change information over time of the number of resources of each type of resource in an idle state during operation of each terminal device.
7. The cloud-based management system for autonomous and controllable devices according to claim 5, characterized in that: The terminal device resource shortage identification module is used to monitor the task execution of the terminal device to obtain resource shortage characteristic information of the terminal device during the actual task execution process, including: Monitor the execution of tasks on the terminal device to obtain the demand information of the corresponding type of resources for all computing processes of the terminal device during the current task execution; compare the demand information of the corresponding type of resources with the quantity information of the corresponding type of resources that the terminal device can provide during the execution of the corresponding computing process to obtain the shortage information of the corresponding type of resources of the terminal device during the execution of the corresponding computing process, and use this as the resource shortage characteristic information; The resource allocation and supplementation identification module is used to determine all other terminal devices that can perform resource allocation and supplementation for the terminal device based on the resource shortage feature information and the idle state attribute information of all types of resources under all other terminal devices during operation, including: The resource shortage characteristic information is compared with the idle state attribute information of all types of resources subordinate to all other terminal devices during operation, to determine whether other terminal devices can provide the terminal device with corresponding types of resources greater than or equal to the corresponding gap amount during the execution of the corresponding operation process of the terminal device; if so, the other terminal devices are determined as all other terminal devices that can allocate and supplement resources for the terminal device; if not, the other terminal devices are determined as all other terminal devices that cannot allocate and supplement resources for the terminal device.
8. The cloud-based management system for autonomous and controllable devices according to claim 5, characterized in that: The terminal device security anomaly judgment module is used to perform security detection on the terminal device within the cloud environment to determine whether a security anomaly event occurs on the terminal device, including: Performing traffic detection on the terminal device within the cloud environment to obtain uplink traffic and downlink traffic characteristic data of the terminal device; analyzing the uplink traffic and downlink traffic characteristic data to determine whether the terminal device has been attacked by traffic within the cloud environment; if so, determining that a security anomaly has occurred on the terminal device; if not, determining that no security anomaly has occurred on the terminal device; The mirror resource pool connection adjustment module is used to adjust the connection state between the terminal device and the mirror resource pool based on the judgment result of the security abnormality event, including: When a security anomaly occurs to the terminal device, the connection between the terminal device and the mirror resource pool is interrupted; when no security anomaly occurs to the terminal device, the current connection state between the terminal device and the mirror resource pool is maintained unchanged.
Citation Information
Patent Citations
System and method for adaptive resource scheduling of cloud platform
CN107404523A
Cloud platform state synchronization method, multi-cloud management platform and storage medium
CN115757047A