Intelligent security operation and maintenance system and method based on cloud edge-end cooperation

By creating an operation and maintenance task template library and an allocation terminal status score, the intelligent security operation and maintenance tasks can be finely divided and dynamically migrated, solving the problem of task allocation mismatch and improving operation and maintenance efficiency and system stability.

CN123185079APending Publication Date: 2026-11-27山西中科鼎泰信息科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611491487.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-23
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In existing intelligent security operation and maintenance technologies, task allocation lacks matching analysis between task characteristics and allocation capabilities, resulting in crude task breakdown, low initial adaptability, inability to dynamically adjust, waste of resources, and low operation and maintenance efficiency.

Method used

Create an operation and maintenance task template library, collect task description text, extract functional features and constraints, split tasks based on the template library, combine the status score of the allocation end to dynamically determine the sub-task allocation end, and establish a migration mechanism to realize the fine-grained splitting and dynamic migration of tasks.

Benefits of technology

It improves the accuracy and adaptability of task allocation decisions, supports dynamic migration of execution status, avoids resource waste, and enhances the overall efficiency and stability of intelligent security operation and maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123185079A_ABST
    Figure CN123185079A_ABST
Patent Text Reader

Abstract

The application belongs to the technical field of intelligent security and protection operation and maintenance, and provides an intelligent security and protection operation and maintenance system and method based on cloud edge end cooperation, which comprises the following steps: creating an operation and maintenance task template library and collecting operation and maintenance task description texts; extracting a function feature set and a constraint condition set; matching an optimal template based on the template library, and splitting a task into a subtask set; collecting subtask attribute parameters, analyzing initial adaptation degrees of the subtask attribute parameters with each distribution end of a cloud end, an edge side and an end side, and determining an initial distribution end; collecting state feature data of the distribution end to determine a state score; fusing the state score and the initial adaptation degrees to calculate a final adaptation degree, and determining a final distribution end; collecting subtask execution state data, calculating an execution health degree, and excluding the current distribution end to redetermine a new distribution end when a migration mechanism is triggered; performing operation and maintenance according to the final or new distribution end, and evaluating migration benefits; and the application improves the overall efficiency and stability of intelligent security and protection operation and maintenance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of intelligent security operation and maintenance technology, and particularly relates to an intelligent security operation and maintenance system and method based on cloud-edge-device collaboration. Background Technology

[0002] Intelligent security operations and maintenance (O&M) is crucial for ensuring the stable operation of security systems. With the increasing scale and complexity of security equipment and services, how to efficiently coordinate cloud, edge, and endpoint resources to achieve adaptive allocation and dynamic migration of O&M tasks has become a pressing issue.

[0003] In existing technologies, intelligent security operations and maintenance (O&M) often rely on fixed rules or manual experience for task allocation, deploying O&M tasks uniformly in the cloud or on the edge, lacking matching analysis between task characteristics and the capabilities of the allocation end. Some solutions introduce edge computing, attempting to push some tasks to the edge, but task splitting and allocation still depend on static configuration, making it difficult to adapt to dynamic changes in resource status and execution results.

[0004] Furthermore, existing technologies lack a task template library based on matching functional features and constraints, resulting in coarse task splitting. Initial adaptability only considers the differences between task requirements and allocation parameters, without integrating real-time status scoring from the allocation end, leading to biased allocation decisions. Additionally, there is a lack of health monitoring and migration mechanisms during execution, making it impossible to dynamically adjust when allocation end performance declines. Moreover, the benefits of adaptability changes are not evaluated during migration, which can easily lead to resource waste and low operational efficiency. Summary of the Invention

[0005] To address the shortcomings of existing technologies, this invention provides an intelligent security operation and maintenance system and method based on cloud-edge-device collaboration, which solves the aforementioned problems.

[0006] To achieve the above objectives, the present invention provides the following technical solution: an intelligent security operation and maintenance method based on cloud-edge-device collaboration, which specifically includes: Create an operation and maintenance task template library and collect security operation and maintenance task description text; the operation and maintenance task template library includes a set of functional feature templates and a set of constraint condition templates; Extract the set of functional features and the set of constraints from the security operation and maintenance task description text; Based on the operation and maintenance task template library, the security operation and maintenance tasks are split according to the functional feature set and the constraint condition set, and the sub-task set is output. Collect the attribute parameters of each subtask in the subtask set, and based on the attribute parameters of the subtask, parse the initial compatibility between the subtask and all allocation terminals to determine the initial allocation terminal of the subtask; the allocation terminal includes three levels: terminal side, cloud side and edge side. Collect status feature data from all distribution terminals, and determine the status score of each distribution terminal based on the status feature data. Based on the status score of the allocation end and the adaptability between the subtask and all allocation ends, the final adaptability of the subtask assigned to each allocation end is analyzed, and then the final allocation end of the subtask is determined. Based on the final subtask allocation end, collect the execution status data of the subtasks and establish an allocation end migration mechanism to determine the new allocation end of the subtasks according to the execution status data of the subtasks. Intelligent security operation and maintenance is implemented based on the final assignment end or the new assignment end of the sub-task.

[0007] Based on the above technical solutions, the present invention also provides the following optional technical solutions: Further technical solution: The output subtask set specifically includes: Based on the operation and maintenance task template library, the matching degree between security operation and maintenance tasks and each template in the operation and maintenance task template library is determined according to the functional feature set and the constraint condition set. The optimal template is determined based on the matching degree between the security operation and maintenance task and each template in the operation and maintenance task template library; The security operation and maintenance task is split according to the optimal template, and a set of subtasks is output.

[0008] Further technical solution: The determination of the matching degree between the security operation and maintenance task and each template in the operation and maintenance task template library is expressed by the formula: ; In the above formula, This refers to the security operation and maintenance task T and the k-th template M in the operation and maintenance task template library. k The degree of matching, This refers to the set of functional characteristics F of security operation and maintenance task T. T Compared with the k-th template M in the operation and maintenance task template library k Functional feature set The number of elements in the intersection, |F T | refers to the set of functional characteristics F of security operation and maintenance task T. T Number of elements in the middle This refers to the set of constraints C of the security operation and maintenance task T. T Compared with the k-th template M in the operation and maintenance task template library k The set of constraints The absolute value of the number of differing elements is obtained, and α is the weighting coefficient.

[0009] Further technical solution: The determination of the optimal template is expressed by the formula: ; In the above formula, k ∗ This refers to the optimal template. This refers to the security operation and maintenance task T and the k-th template M in the operation and maintenance task template library. k The matching degree, Ω refers to the operation and maintenance task template library.

[0010] A further technical solution: The initial fit between the parsing subtask and all allocation terminals is expressed by the formula: ; In the above formula, S j,i This refers to the initial compatibility between the i-th subtask of a security operations and maintenance task and the j-th distribution terminal. This refers to the characteristic parameters of the h-th requirement of the i-th subtask in the security operations and maintenance task. This refers to the characteristic parameters of the j-th allocation end regarding the h-th demand. Refers to characteristic parameters and The absolute difference between them This refers to the difference reference value. This refers to the weight coefficient of the h-th requirement of the i-th subtask in the security operation and maintenance task.

[0011] Further technical solution: The determination of the allocation end status score is expressed by the formula: ; In the above formula, Q j This refers to the status score of the j-th allocation end. This refers to the d-th state feature data of the j-th allocation end. This refers to the security threshold for the j-th allocation end to obtain the d-th state feature.

[0012] A further technical solution: The final fit of the parsing subtask assigned to each allocation end is expressed by the formula: ; In the above formula, FS i,j This refers to the final fit of the i-th subtask being assigned to the j-th assigner, S. j,i This refers to the initial compatibility between the i-th subtask of a security operations and maintenance task and the j-th distribution terminal, Q. j This refers to the state score of the j-th allocation end, where β is the weighting coefficient, and Adv... i,j This refers to the dependency of the i-th subtask on the initial allocation end. The indicator function is defined as follows: when the j-th allocation endpoint is the initial allocation endpoint L0 of the i-th subtask. i hour, The value is 1 if it is not 0 otherwise.

[0013] A further technical solution: The method for obtaining the dependency of the i-th subtask on the initial allocation end is expressed by the formula: ; In the above formula, Adv i,j This refers to the dependency of the i-th subtask on the initial allocation end. This refers to the i-th subtask being assigned at the initial allocation terminal L0. i Initial fit This refers to the highest initial fit value of the i-th subtask on the remaining assignment ends.

[0014] Further technical solution: The establishment of the allocation end migration mechanism determines the new allocation end for the subtask based on the execution status data of the subtask; specifically, it includes: establishing an allocation end migration mechanism; The execution health of a subtask is determined based on its execution status data. The execution health of a subtask is obtained by normalizing all execution status data during the execution of the subtask and then weighting and summing the normalized values ​​to obtain the execution health of the subtask. Based on the health status of the subtask execution, determine whether to trigger the allocation migration mechanism; If the allocation migration mechanism is triggered, the final allocation of the subtask will be determined again, and the new allocation of the subtask will be determined. When determining the final allocation of the subtask, the current final allocation of the subtask must be excluded.

[0015] A cloud-edge-device collaborative intelligent security operation and maintenance system is used to execute the above methods, specifically including: The data preparation unit is used to create an operation and maintenance task template library and collect security operation and maintenance task description text; the operation and maintenance task template library includes a set of functional feature templates and a set of constraint condition templates. The extraction unit is used to extract the set of functional features and the set of constraints from the security operation and maintenance task description text. The splitting unit is used to split security operation and maintenance tasks based on the operation and maintenance task template library, according to the functional feature set and the constraint condition set, and output a set of sub-tasks; The initial allocation unit is used to collect the attribute parameters of each subtask in the subtask set, and based on the attribute parameters of the subtask, to parse the initial compatibility between the subtask and all allocation terminals, and to determine the initial allocation terminal of the subtask; wherein, the allocation terminal includes three levels: terminal side, cloud side and edge side. The status assessment unit is used to collect status characteristic data of all distribution terminals and determine the status score of the distribution terminal based on the status characteristic data of the distribution terminal. The final allocation unit is used to analyze the final fit of the subtask to each allocation end based on the allocation end status score and the fit between the subtask and all allocation ends, and then determine the final allocation end of the subtask. The migration unit is used to collect the execution status data of the subtask based on the final allocation end of the subtask, and establish an allocation end migration mechanism to determine the new allocation end of the subtask based on the execution status data of the subtask. The operation and maintenance unit is used to implement intelligent security operation and maintenance based on the determined final allocation terminal or new allocation terminal of the subtask.

[0016] This invention provides an intelligent security operation and maintenance system and method based on cloud-edge-device collaboration, which has the following advantages compared with the prior art: This invention achieves refined task breakdown by creating an operation and maintenance task template library, dynamically determines the allocation scheme by combining sub-task attribute parameters and allocation terminal status scores, and establishes a migration mechanism to evaluate the benefits of adaptability changes. This realizes refined breakdown of security operation and maintenance tasks, improves the accuracy and adaptability of task allocation decisions, supports dynamic migration based on execution status and avoids unnecessary resource switching, thereby improving the overall efficiency and stability of intelligent security operation and maintenance. Attached Figure Description

[0017] Figure 1 This is a flowchart illustrating the intelligent security operation and maintenance method based on cloud-edge-device collaboration provided by the present invention.

[0018] Figure 2 This is a schematic diagram of the process S30 provided by the present invention.

[0019] Figure 3 This is a schematic diagram of the structure of the intelligent security operation and maintenance system based on cloud-edge-device collaboration provided by the present invention. Detailed Implementation

[0020] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.

[0021] The specific implementation of the present invention will be described in detail below with reference to specific embodiments.

[0022] Please see Figure 1 The intelligent security operation and maintenance method based on cloud-edge-device collaboration provided in one embodiment of the present invention includes the following steps: S10. Create an operation and maintenance task template library and collect security operation and maintenance task description text; the operation and maintenance task template library includes a set of functional feature templates and a set of constraint condition templates. The operation and maintenance task template library is a collection of predefined task structures that contains standardized descriptions of various security operation and maintenance tasks. This library typically includes a set of functional feature templates and a set of constraint templates to guide the splitting and allocation of operation and maintenance tasks. The set of functional feature templates defines the functions that the task needs to implement, while the set of constraint templates specifies the limitations on task execution, such as time, resources, or security level. S20. Extract the set of functional features and the set of constraints from the security operation and maintenance task description text; S30. Based on the operation and maintenance task template library, the security operation and maintenance tasks are split according to the functional feature set and the constraint condition set, and the sub-task set is output. S40. Collect the attribute parameters of each subtask in the subtask set, and based on the attribute parameters of the subtask, parse the initial compatibility between the subtask and all allocation terminals to determine the initial allocation terminal of the subtask. The distribution end refers to the computing entity or device that can perform security operation and maintenance sub-tasks. In this embodiment, the distribution end includes three levels: the end side, the cloud side, and the edge side. The end side usually refers to direct devices such as security cameras and sensors; the edge side refers to small servers or gateways deployed near the site; and the cloud side refers to remote data centers or cloud computing platforms. S50. Collect status feature data of all distribution terminals and determine the status score of the distribution terminals based on the status feature data of the distribution terminals. S60. Based on the status score of the allocation end and the adaptability between the subtask and all allocation ends, analyze the final adaptability of the subtask assigned to each allocation end, and then determine the final allocation end of the subtask. S70. Based on the final subtask allocation end, collect the execution status data of the subtask and establish an allocation end migration mechanism. Determine the new allocation end of the subtask according to the execution status data of the subtask. The assignment migration mechanism is a strategy to dynamically adjust the execution position of subtasks. When a subtask is not performing well in the current assignment, the mechanism can migrate the subtask from the current assignment to a more suitable new assignment based on preset rules or real-time evaluation, so as to ensure the smooth completion of the task. S80. Implement intelligent security operation and maintenance based on the determined final assignment terminal or new assignment terminal of the subtask; It should be further explained that cloud-edge-device collaboration refers to the organic integration of the capabilities of cloud computing, edge computing, and edge devices to form a distributed computing architecture. In this architecture, the cloud provides powerful computing and storage capabilities, the edge is close to the data source and provides low-latency, high-bandwidth services, while the edge devices are responsible for data collection and preliminary processing. Through this collaboration, resource utilization can be optimized, and data processing efficiency and system response speed can be improved.

[0023] Specifically, in S10, the creation of the maintenance task template library can be achieved by system administrators or domain experts defining a series of standardized maintenance task templates based on historical maintenance experience and industry standards. Each template is designed to include a set of functional features and corresponding constraints. For example, a "device inspection" template might include functional features such as "checking device connection status" and "recording device operating parameters," along with constraints such as "execute once per hour" and "upload data to the cloud." The collection of security maintenance task description text can be completed through input; for example, maintenance personnel can enter a task description into the system such as "perform monthly firmware updates and performance calibrations for all cameras in area A."

[0024] In S20, a set of functional features and a set of constraints are extracted from the security operation and maintenance task description text. This extraction process can be implemented using keyword matching. For example, the system maintains a keyword list. When words such as "firmware update" and "performance calibration" appear in the task description text, they are identified as functional features; when words such as "once a month" and "region A" appear, they are identified as constraints. In this way, unstructured text information is transformed into structured features and constraints.

[0025] In S30, based on the operation and maintenance task template library, security operation and maintenance tasks are broken down according to the functional feature set and constraint set, outputting a set of subtasks. This breakdown process can begin by comparing the extracted functional feature set and constraint set with each template in the operation and maintenance task template library through simple text similarity comparison to identify the most similar template. Once a matching template is determined, the system can decompose the original security operation and maintenance task into a series of smaller, more specific subtasks according to the template's preset breakdown rules. For example, a "camera maintenance" task may be broken down into subtasks such as "camera A firmware update," "camera A performance calibration," and "camera B firmware update."

[0026] In S40, the attribute parameters of subtasks can be manually configured by operations personnel after task splitting. For example, attributes such as "requires high bandwidth" and "not sensitive to latency" can be specified for the "Camera A Firmware Update" subtask. The initial adaptability can be determined by a simple comparison between these attribute parameters and the static resource capabilities of each allocation end, including the three layers of the device side, cloud side, and edge side. For example, if the subtask requires high bandwidth, the allocation end with abundant bandwidth resources will be assigned a higher initial adaptability; the allocation end with the optimal initial adaptability is determined as the initial allocation end for the subtask.

[0027] In S50, the status characteristic data of the distribution endpoints can be collected periodically by obtaining their operational metrics from each endpoint. For example, at regular intervals, data such as CPU utilization, memory usage, and network I / O can be obtained from the edge server. The status score of the distribution endpoint can be determined based on this collected data by setting simple threshold rules. For example, if the CPU utilization of a certain endpoint exceeds 80%, its status score will be reduced; conversely, if it is below 20%, the status score will be increased.

[0028] In S60, the final fit score can be simply calculated by taking a weighted average of the initial fit score obtained in S40 and the allocation end state score obtained in S50. Alternatively, a comprehensive evaluation of the initial allocation end's dependency can be achieved by introducing subtasks. In this way, a more comprehensive fit score evaluation is obtained, and the allocation end with the highest final fit score is determined as the final allocation end of the subtask.

[0029] In S70, the execution status data of subtasks can be collected by monitoring information such as the subtask's runtime logs, error reports, or completion times on the final assignment end. The assignment end migration mechanism can be set up with a simple trigger rule; for example, if a subtask encounters three consecutive errors during execution, or its completion time significantly exceeds expectations, migration is triggered. Once migration is triggered, the system will re-execute the steps in S40 and S60, but will exclude the current final assignment end, thereby determining a new, more suitable assignment end for the subtask.

[0030] In S80, once a subtask is assigned to a final allocation terminal, the intelligent security system will perform maintenance operations according to that assignment. When a new allocation terminal for the subtask is determined in S70, the system further analyzes the necessity of migration. Specifically, the system compares the final adaptability corresponding to the new subtask allocation terminal with the adaptability corresponding to the final allocation terminal of the atomic task. If the difference does not exceed a preset threshold, the benefits of migration are considered minimal, and the subtask will continue to execute on the final allocation terminal of the atomic task to avoid unnecessary migration overhead and potential service interruptions. Conversely, if the difference exceeds the threshold, the subtask will be migrated to the new allocation terminal.

[0031] Through the above technical solution, this invention achieves fine-grained task breakdown by creating an operation and maintenance task template library, dynamically determines the allocation scheme by combining sub-task attribute parameters and allocation terminal status scores, and establishes a migration mechanism to evaluate the benefits of adaptability changes. This realizes fine-grained breakdown of security operation and maintenance tasks, improves the accuracy and adaptability of task allocation decisions, supports dynamic migration based on execution status and avoids unnecessary resource switching, thereby improving the overall efficiency and stability of intelligent security operation and maintenance.

[0032] For preferred options, please refer to [link / reference]. Figure 2The present invention further proposes the aforementioned set of output subtasks, specifically including: S31. Based on the operation and maintenance task template library, determine the matching degree between the security operation and maintenance task and each template in the operation and maintenance task template library according to the functional feature set and the constraint condition set. S32. Determine the optimal template based on the matching degree between the security operation and maintenance task and each template in the operation and maintenance task template library; S33. Based on the optimal template, split the security operation and maintenance task and output a set of subtasks.

[0033] Step S31 aims to quantify the similarity between the input security operation and maintenance task and the preset operation and maintenance task template. Its purpose is to provide data support for the subsequent selection of the most suitable template. The implementation methods may include, but are not limited to: using natural language processing technology to perform semantic analysis on the task description text and template content and calculate their semantic similarity; or, using feature vector matching to convert the key functional features and constraints of the task and template into vectors and calculate the distance or cosine value of the angle between the vectors to represent the matching degree. For example, the determination of the matching degree between the security operation and maintenance task and each template in the operation and maintenance task template library is expressed by the formula: ; In the above formula, This refers to the security operation and maintenance task T and the k-th template M in the operation and maintenance task template library. k The degree of matching, This refers to the set of functional characteristics F of security operation and maintenance task T. T Compared with the k-th template M in the operation and maintenance task template library k Functional feature set The number of elements in the intersection, |F T | refers to the set of functional characteristics F of security operation and maintenance task T. T Number of elements in the middle This refers to the set of constraints C of the security operation and maintenance task T. T Compared with the k-th template M in the operation and maintenance task template library k The set of constraints The absolute value of the number of differing elements is obtained, and α is the weighting coefficient; Among them, in the formula This ratio is used to measure the extent to which the functional characteristics of security operation and maintenance task T are covered by the operation and maintenance task template M. The larger the ratio, the better template M can meet the functional requirements of task T. For example, the number of intersection elements can be obtained by calculating the number of identical elements in two sets, and the total number of elements of task T can be obtained by counting the number of functional characteristics of task T. Among them, in the formula This is used to measure the degree of mismatch between the constraints of a security operations and maintenance task T and the constraints of an operations and maintenance task template M. The larger the difference value, the greater the deviation of template M from task T in terms of constraints. For example, the number of differing elements can be obtained by comparing all constraints in two sets and counting the number of constraints that exist in one set but not in the other. The weighting coefficient is a value between 0 and 1, used to balance the impact of functional feature matching and constraint differences in the matching degree calculation. By adjusting the value of the weighting coefficient, the emphasis can be flexibly placed on functional matching or constraint satisfaction according to the needs of the actual operation and maintenance scenario. For example, when functional implementation is the primary consideration, a higher weighting coefficient can be set; when constraints (such as resources, time, etc.) are more critical, a lower weighting coefficient can be set.

[0034] The purpose of step S32 is to select the template that best matches the current security operation and maintenance task from the operation and maintenance task template library. Its role is to provide the best basis for the standardized division of tasks. The implementation methods may include, but are not limited to: directly selecting the template with the highest matching degree as the optimal template; or, setting a matching degree threshold, selecting all templates with a matching degree higher than the threshold, and further conducting a comprehensive evaluation through an expert system or machine learning model to select the optimal template. For example, the determination of the optimal template is expressed by the formula: ; In the above formula, k ∗ This refers to the optimal template. This refers to the security operation and maintenance task T and the k-th template M in the operation and maintenance task template library. k The matching degree, Ω refers to the operation and maintenance task template library.

[0035] Step S33 aims to decompose complex security operation and maintenance tasks into a series of specific, executable sub-tasks based on the structure and content of the determined optimal template. Its purpose is to refine high-level tasks into operable units, facilitating subsequent resource allocation and execution. Implementation methods may include, but are not limited to: the optimal template predefines task decomposition rules or a list of sub-tasks, which the system directly follows for decomposition; or, the optimal template provides a task decomposition framework, combining the functional characteristics and constraints of the security operation and maintenance tasks, and generating specific sub-tasks through a rule engine or intelligent reasoning mechanism.

[0036] Specifically, when a security operations and maintenance task is received, the system no longer simply breaks it down. Instead, it first compares the task's set of functional features and constraints with each preset template in the operations and maintenance task template library, quantifying their similarity to obtain a series of matching scores. These matching scores reflect the degree to which different templates fit the current task. Subsequently, based on these matching scores, the system intelligently identifies the "optimal template" that best matches the current security operations and maintenance task. This optimal template typically includes standardized decomposition logic for a specific type of task, a preset list of subtasks, or decomposition rules. Finally, based on this precisely matched and selected optimal template, the system performs a structured and standardized decomposition of the security operations and maintenance task, thereby outputting a series of clear and executable subtask sets.

[0037] This mechanism ensures the accuracy and rationality of task breakdown, avoiding the uncertainty that may be caused by arbitrary or experience-based breakdown, making subsequent subtask allocation and execution more efficient and accurate, thereby improving the automation and intelligence level of the entire intelligent security operation and maintenance process.

[0038] Preferably, the present invention further proposes an initial fit degree between the parsing subtask and all allocation terminals, expressed by the formula: ; In the above formula, S j,i This refers to the initial compatibility between the i-th subtask of a security operations and maintenance task and the j-th distribution terminal. This refers to the characteristic parameters of the h-th requirement of the i-th subtask in the security operations and maintenance task. This refers to the characteristic parameters of the j-th allocation end regarding the h-th demand. Refers to characteristic parameters and The absolute difference between them This refers to the difference reference value. This refers to the weight coefficient of the h-th requirement of the i-th subtask in the security operation and maintenance task; Initial fit refers to the degree of matching between the i-th subtask of a security operation and maintenance task and the j-th allocation terminal. Its purpose is to provide a quantitative basis for selecting the most suitable initial allocation terminal for the subtask.

[0039] The characteristic parameters of the h-th requirement of the i-th subtask of the security operation and maintenance task describe the specific requirements of the subtask for specific resources, performance or environmental conditions. These characteristic parameters may include, but are not limited to, CPU utilization, memory requirements, network bandwidth, storage space, response time requirements, security level, geographical location restrictions, etc. These parameters can be obtained through preset task configuration files, extracted from task description text through natural language processing technology, or through historical data analysis. The characteristic parameters of the j-th allocation end with respect to the h-th requirement describe the available capabilities or current status of the j-th allocation end in terms of specific resources or performance; for example, it can be the number of available CPU cores, available memory size, current network latency, storage capacity, processing power, security authentication level or physical deployment location of the allocation end, etc. These parameters can be collected by a real-time monitoring system, read from static configuration information, or obtained through periodic performance benchmark tests; Feature parameters and The absolute difference value is used to quantify the degree of mismatch between the subtask requirements and the allocation capabilities. The larger the value, the greater the gap between the requirements and the capabilities, and the lower the matching degree. The purpose of difference reference values ​​is to normalize the difference values ​​of different types of characteristic parameters, making them comparable across different dimensions and reflecting the acceptable range of differences. For example, for differences in CPU utilization, a maximum acceptable percentage can be set as a reference value; for differences in network latency, a maximum acceptable number of milliseconds can be set. These reference values ​​can be set based on operational experience, industry standards, historical operational data statistical analysis, or expert knowledge. The weighting coefficients are used to reflect the importance of the h-th requirement of the i-th subtask of the security operation and maintenance task when evaluating the initial fit. For example, for video surveillance subtasks with high real-time requirements, the weights of network latency and CPU processing power can be set higher. These weighting coefficients can be manually set according to factors such as the type, priority, and business criticality of the subtask, or they can be automatically learned and adjusted through machine learning algorithms (such as feature importance analysis and analytic hierarchy process).

[0040] This application's solution systematically evaluates the matching degree between the i-th subtask of a security operation and maintenance task and all potential j-th allocation terminals by introducing a quantitative initial fit calculation formula. This formula comprehensively considers multiple requirement characteristic parameters of the subtask and the corresponding capability characteristic parameters of the allocation terminals. For each requirement dimension, the absolute difference between the subtask requirement and the allocation terminal capability is first calculated. This difference value is then normalized using a difference reference value to eliminate the influence of different characteristic parameter dimensions and numerical ranges, ensuring the comparability of differences across dimensions. Next, the normalized difference value is multiplied by the corresponding weighting coefficient to reflect the importance of different requirement characteristics in the fit evaluation. Finally, all weighted normalized difference values ​​are summed to obtain the initial fit degree. The smaller this initial fit degree value, the higher the matching degree between the subtask and the allocation terminal, i.e., the more closely the subtask requirement matches the allocation terminal capability.

[0041] By using this multi-dimensional, weighted quantification approach, this application can objectively and accurately assess the initial compatibility of each subtask with each allocation end (including the terminal side, cloud side, and edge side), thereby providing a solid data foundation for subsequently determining the initial allocation end of the subtask. This effectively solves the problems of blindness and inaccuracy that may exist in the initial allocation, and significantly improves the rationality and efficiency of operation and maintenance task allocation.

[0042] Preferably, the present invention further proposes to determine the allocation end status score, expressed by the formula: ; In the above formula, Q j This refers to the status score of the j-th allocation end. This refers to the d-th state feature data of the j-th allocation end. This refers to the security threshold for the j-th allocation end to obtain the d-th state feature; It should be added that, This refers to the calculation obtained from several state characteristic data of the distribution end. The maximum value is taken as the allocation end state score Q. j ; The above formula provides a method for quantitatively assessing the status of the distribution end. By comparing the actual status characteristic data of the distribution end with the preset safety threshold, a status score of the distribution end is obtained, which makes the judgment of the health status of the distribution end more objective and standardized. Among them, Q j This represents the operational health or availability level of the j-th allocation terminal at the current moment. The higher the score, the better the status of the allocation terminal and the more suitable it is to carry subtasks. The score can be a floating-point number between 0 and 1, where 1 represents the best state and 0 represents the worst state or unavailability. The d-th state feature data of the j-th allocation end These are specific operational metrics collected from the j-th allocation terminal, reflecting a certain performance or resource usage of the allocation terminal. These data are the basis for evaluating the status of the allocation terminal. These status characteristic data can include CPU utilization, memory utilization, network bandwidth, storage I / O, task queue length, device temperature, error rate, etc., or they can be data specific to security scenarios, such as video stream processing latency, AI inference speed, sensor response time, etc. State feature security threshold This is an upper limit or safety boundary set for the d-th state characteristic data of the j-th distribution end. When the actual state characteristic data approaches or exceeds this threshold, it indicates that the distribution end may be at risk of overload, failure, or performance degradation. The safety threshold can be statically configured based on the hardware configuration, software environment, historical operating data, and business needs of the distribution end, or it can be dynamically learned and adjusted through real-time monitoring and machine learning algorithms to adapt to changes in system load and environment.

[0043] Specifically, after collecting the status feature data of all distribution terminals, this application calculates the relative health of each distribution terminal's current value and a preset security threshold for each status feature (such as CPU utilization, memory utilization, network latency, etc.). The closer this value is to 1, the healthier the feature is and the further it is from the safety threshold; the closer it is to 0, the closer the feature is to or has reached the safety threshold. Subsequently, the system will take the maximum value among all these relative health scores as the final status score for that assignment end.

[0044] This calculation method ensures that the status score of the allocation endpoint highlights its healthiest or least constrained operational dimensions. For example, an allocation endpoint may have high CPU utilization but ample memory and network resources; in this case, its status score will reflect the good state of memory or network. This evaluation mechanism allows the system to more comprehensively understand the resource distribution and performance characteristics of the allocation endpoints. Therefore, in the subsequent subtask final allocation endpoint determination step S60, it can more flexibly assign subtasks to allocation endpoints with advantages in specific resources, even if they may face some pressure in other aspects. This helps to fully utilize heterogeneous cloud-edge-end resources, avoid underestimating the overall availability of the allocation endpoint due to a single bottleneck, and thus improve the resource utilization efficiency and task processing capabilities of the entire intelligent security operation and maintenance system.

[0045] Preferably, the present invention further proposes the final fit degree of the parsing subtask assigned to each allocation end, expressed by the formula: ; In the above formula, FS i,j This refers to the final fit of the i-th subtask being assigned to the j-th assigner, S. j,i This refers to the initial compatibility between the i-th subtask of a security operations and maintenance task and the j-th distribution terminal, Q. j This refers to the state score of the j-th allocation end, where β is the weighting coefficient, and Adv... i,j This refers to the dependency of the i-th subtask on the initial allocation end. The indicator function is defined as follows: when the j-th allocation endpoint is the initial allocation endpoint L0 of the i-th subtask. i hour, The value is 1 if it is not 0 otherwise; The final fit refers to the comprehensive evaluation value of the i-th subtask being assigned to the j-th allocation end. It quantifies the suitability of the allocation end for the subtask after considering the inherent matching degree between the subtask and the allocation end, the current running state of the allocation end, and the subtask's dependence on the initial allocation end. The higher the value, the more suitable the allocation end is for executing the subtask. Initial fit refers to the original matching degree between the i-th subtask of a security operation and maintenance task and the j-th distribution terminal. It is mainly evaluated based on the attribute parameters of the subtask and the capability parameters of the distribution terminal. It reflects the static matching degree of the subtask without considering the real-time state of the distribution terminal. Meanwhile, the initial fit S... j,i The smaller the value, the higher the fit; its reciprocal form is used. Adjust its meaning to the initial fitness S j,i The smaller the value, the more accurate the reciprocal form. The larger it is; The weighting coefficient is a value between 0 and 1 used to balance the relative importance of the initial fit and the allocation end status score in the final fit calculation. For example, a larger weighting coefficient indicates a greater emphasis on the inherent matching degree between the subtask and the allocation end; a smaller weighting coefficient indicates a greater emphasis on the current running state of the allocation end. This weighting coefficient can be dynamically adjusted based on actual operation and maintenance strategies, system load, or through machine learning methods. The dependency of a subtask on its initial allocation terminal refers to the degree of special preference or binding of the i-th subtask to its initial allocation terminal. It quantifies the additional value or migration cost generated by the subtask to a specific allocation terminal after it is assigned to it in the initial stage, due to factors such as data locality, configuration compatibility, and historical execution efficiency. The indicator function is a binary function that precisely controls when the dependency of a subtask on its initial assignment terminal takes effect. When the j-th assignment terminal is exactly the initial assignment terminal of the i-th subtask, the function takes a value of 1, indicating that the dependency should be included in the final fit calculation; otherwise, when the j-th assignment terminal is not the initial assignment terminal of the i-th subtask, the function takes a value of 0, indicating that the dependency is not considered. This mechanism ensures that the dependency only applies to the initial best-matching assignment terminal of the subtask, avoiding unnecessary complexity. The initial assignment terminal refers to the subtask with the highest initial fit (i.e., fit S) based on its attribute parameters, without considering the real-time state of the assignment terminal. j,i The initial assignment endpoint (with the smallest value) is the best match for the subtask under static evaluation. The initial assignment endpoint can be any endpoint on the endpoint side, cloud side, or edge side.

[0046] Specifically, the final fitness score is calculated by first considering a weighted sum of the initial fitness score and the allocation terminal's status score, where weighting coefficients are used to adjust the relative importance of the two in the final decision. This weighted combination ensures that the final fitness score reflects both the subtask's basic requirement matching with the allocation terminal and the current resource availability and health status of the allocation terminal. Building on this, this application further introduces the subtask's dependency on the initial allocation terminal, which is precisely controlled through an indicator function. This dependency is added to the final fitness score if and only if the currently evaluated allocation terminal j is the initial allocation terminal for the subtask.

[0047] This mechanism cleverly addresses a potential shortcoming in the basic scheme: its failure to fully consider the inherent preferences or binding effects of subtasks on their initial best-matching assignment endpoints. By incorporating dependency into the calculation, the final fit of assignment endpoints with the highest initial match to subtasks receives an additional boost, thus "rewarding" the initial best match to some extent. This ensures that the system, when making the final assignment decision, considers not only the current dynamic state but also respects the static best match of the subtasks, avoiding frequent or unnecessary task migrations caused by minor state fluctuations and improving the stability and efficiency of the assignment. This comprehensive consideration makes the final assignment decision more comprehensive and robust, better balancing task requirements, resource status, and inherent task characteristics.

[0048] Preferably, the present invention further proposes a method for obtaining the dependency of the i-th subtask on the initial allocation end, expressed by the formula: ; In the above formula, Adv i,j This refers to the dependency of the i-th subtask on the initial allocation end. This refers to the i-th subtask being assigned at the initial allocation terminal L0. i Initial fit This refers to the highest initial fit value of the i-th subtask on the other allocation ends; The dependence of the i-th subtask on the initial allocation terminal quantifies the degree of the subtask's adaptation advantage on the initial allocation terminal relative to other potential allocation terminals. It reflects the subtask's "stickiness" or "preference" for a specific initial allocation terminal, that is, how much the subtask tends to stay on that allocation terminal if the initial allocation terminal performs well. The highest initial fit of a subtask among the remaining assignment endpoints refers to the value with the highest initial fit among all other alternative assignment endpoints besides the initial one. It represents the best alternative match for the subtask on non-initial assignment endpoints. This highest value can be obtained by iterating through all non-initial assignment endpoints, calculating their initial fit with the subtask one by one, and selecting the maximum value. Alternatively, it can be obtained by maintaining a sorted list, updating the initial fit of all assignment endpoints with the subtask in real time, and quickly retrieving the second-best fit besides the initial assignment endpoint.

[0049] Specifically, this dependency is calculated based on the relative difference between the initial fitness of the subtask at the initial allocation and the highest value of the initial fitness of the subtask at the remaining allocations. By... and Difference divided by This formula intuitively reflects the advantage of the initial allocation end over the suboptimal allocation end. When the fitness of the initial allocation end is much better than that of other allocation ends, The value is relatively large (because) and (The smaller the value, the better the adaptation effect), resulting in higher dependency, indicating that the subtask has a strong dependency on the initial allocation end. Conversely, if... and If the values ​​are similar, the dependency value is lower, indicating that the subtask is less dependent on the initial allocation and is more likely to be migrated to other allocations.

[0050] This quantification method ensures that the final fit calculation considers not only the initial fit and the allocation endpoint status score, but also the inherent preference or advantage of the subtask over the initial allocation endpoint, making the final allocation decision more comprehensive and reasonable. In this way, the system can more accurately evaluate the potential performance of subtasks on different allocation endpoints, especially when the initial allocation endpoint has a significant advantage, effectively avoiding unnecessary migrations and improving operational stability and efficiency.

[0051] Preferably, the present invention further proposes the aforementioned mechanism for establishing a task allocation migration, which determines a new task allocation endpoint based on the execution status data of the subtask; specifically including: Establish a migration mechanism for the distribution end; The execution health of a subtask is determined based on its execution status data. The execution health of a subtask is obtained by normalizing all execution status data during the execution of the subtask and then weighting and summing the normalized values ​​to obtain the execution health of the subtask. Based on the health status of the subtask execution, determine whether to trigger the allocation migration mechanism; If the allocation end migration mechanism is triggered, the final allocation end of the subtask will be determined again, and the new allocation end of the subtask will be determined. When determining the final allocation end of the subtask again, the current final allocation end of the subtask must be excluded. The allocation migration mechanism refers to a pre-defined strategy or process for dynamically adjusting the execution node assigned to a subtask during execution. This mechanism aims to address dynamic changes in the runtime environment, ensuring that subtasks continuously run on the optimal or at least acceptable allocation node. For example, this mechanism can be implemented by configuring a series of triggering conditions and corresponding migration rules, automatically initiating the migration process when specific conditions are met; alternatively, it can intelligently determine when and how to perform the migration based on historical data and predictive models.

[0052] Subtask execution health is a comprehensive quantitative indicator that measures the performance of a subtask on its current allocation platform. Its purpose is to provide an objective and comparable value as a basis for determining whether allocation platform migration needs to be initiated. When obtaining this health score, various execution status data can be collected. For example, in addition to the actual resource consumption (such as CPU utilization and memory usage) and actual latency (such as task response time and processing delay) of the subtask execution, network bandwidth utilization, I / O throughput, task completion rate, or error rate can also be included. This data first needs to be normalized to eliminate differences in the units and numerical ranges of different indicators. For example, Min-Max normalization or Z-score normalization methods can be used. The normalized values ​​(usually between 0 and 1, with higher values ​​indicating better execution) are then weighted and summed according to preset weights to obtain a comprehensive subtask execution health score.

[0053] Based on the health status of subtask execution, this step aims to determine whether to trigger the allocation-side migration mechanism. This is based on quantified subtask execution health metrics. This can be achieved by setting a static health threshold; when a subtask's execution health falls below this threshold, the current execution environment is considered unfavorable, requiring the triggering of the migration mechanism. Alternatively, a more dynamic approach can be used, such as dynamically adjusting the migration threshold or conditions based on overall system load, historical allocation-side performance, or by analyzing health status trends (e.g., a continuous decline in health status reaching a certain slope).

[0054] If the allocation migration mechanism is triggered (execution health is too low), the process of determining the final allocation for the subtask is re-executed, and a new allocation for the subtask is output. During this re-execution, the current final allocation for the subtask must be excluded. When the execution health of a subtask is too low, triggering the allocation migration mechanism, the system will initiate a process to find a better allocation. Specifically, the system will re-execute the logic for determining the final allocation for the subtask. This logic is similar to the method described above, comprehensively considering the allocation status score and the compatibility between the subtask and all allocations.

[0055] However, a key constraint in this reassignment process is that the current final assignment endpoint for the subtask must be excluded to avoid selecting an assignment endpoint that would result in low health. In this way, the system can find a new assignment endpoint from the remaining available assignment endpoints that is more suitable for the current subtask execution, thereby enabling dynamic migration of the subtask.

[0056] Specifically, after a subtask is assigned to a distribution platform and begins execution, the system continuously collects execution status data for that subtask, such as actual resource consumption and actual latency. This execution status data is normalized and weighted, and then used to calculate the execution health of the subtask in real time, thereby quantitatively evaluating the subtask's performance on the current distribution platform. When the execution health of a subtask falls below a preset threshold, it indicates that the current distribution platform is no longer suitable for the subtask's continued efficient operation, triggering a distribution platform migration mechanism. Once the migration mechanism is triggered, the system restarts the process of determining the final distribution platform for the subtask, but during this process, it strategically excludes the distribution platform currently executing the subtask. In this way, the system can re-evaluate and select a better distribution platform from the remaining available distribution platforms as the new distribution platform for the subtask. The coordinated operation of this series of steps enables the intelligent security operation and maintenance system to not only optimize allocation at the initial stage of the task, but also dynamically adjust during the task execution process, effectively responding to real-time changes in the status of the allocation end, thereby ensuring that the sub-task always runs in the optimal or near-optimal environment, significantly improving the robustness and efficiency of the entire security operation and maintenance process.

[0057] For preferred options, please refer to [link / reference]. Figure 3 This invention further proposes an intelligent security operation and maintenance system based on cloud-edge-device collaboration. This system is used to execute the above-mentioned method, specifically including: The data preparation unit 10 is used to create an operation and maintenance task template library and collect security operation and maintenance task description text; wherein, the operation and maintenance task template library includes a set of functional feature templates and a set of constraint condition templates; Extraction unit 20 is used to extract a set of functional features and a set of constraints from the security operation and maintenance task description text; The splitting unit 30 is used to split security operation and maintenance tasks based on the operation and maintenance task template library, according to the functional feature set and the constraint condition set, and output a set of sub-tasks. The initial allocation unit 40 is used to collect the attribute parameters of each subtask in the subtask set, and based on the attribute parameters of the subtask, to parse the initial compatibility between the subtask and all allocation terminals, and to determine the initial allocation terminal of the subtask; wherein, the allocation terminal includes three levels: terminal side, cloud side and edge side. The status assessment unit 50 is used to collect status characteristic data of all distribution terminals and determine the status score of the distribution terminal based on the status characteristic data of the distribution terminal. The final allocation unit 60 is used to parse the final fit of the subtask to each allocation end based on the allocation end status score and the fit between the subtask and all allocation ends, and then determine the final allocation end of the subtask. The migration unit 70 is used to collect the execution status data of the subtask based on the final allocation end of the subtask, and establish an allocation end migration mechanism to determine the new allocation end of the subtask based on the execution status data of the subtask. The operation and maintenance unit 80 is used to implement intelligent security operation and maintenance based on the determined final allocation terminal or new allocation terminal of the subtask.

[0058] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.

Claims

1. A cloud-edge-device collaborative intelligent security operation and maintenance method, characterized in that, The method specifically includes: Create an operation and maintenance task template library and collect security operation and maintenance task description text; the operation and maintenance task template library includes a set of functional feature templates and a set of constraint condition templates; Extract the set of functional features and the set of constraints from the security operation and maintenance task description text; Based on the operation and maintenance task template library, the security operation and maintenance tasks are split according to the functional feature set and the constraint condition set, and the sub-task set is output. Collect the attribute parameters of each subtask in the subtask set, and based on the attribute parameters of the subtask, parse the initial compatibility between the subtask and all allocation terminals to determine the initial allocation terminal of the subtask; the allocation terminal includes three levels: terminal side, cloud side and edge side. Collect status feature data from all distribution terminals, and determine the status score of each distribution terminal based on the status feature data. Based on the status score of the allocation end and the adaptability between the subtask and all allocation ends, the final adaptability of the subtask assigned to each allocation end is analyzed, and then the final allocation end of the subtask is determined. Based on the final subtask allocation end, collect the execution status data of the subtasks and establish an allocation end migration mechanism to determine the new allocation end of the subtasks according to the execution status data of the subtasks. Intelligent security operation and maintenance is implemented based on the final assignment end or the new assignment end of the sub-task.

2. The method according to claim 1, characterized in that, The set of output subtasks specifically includes: Based on the operation and maintenance task template library, the matching degree between security operation and maintenance tasks and each template in the operation and maintenance task template library is determined according to the functional feature set and the constraint condition set. The optimal template is determined based on the matching degree between the security operation and maintenance task and each template in the operation and maintenance task template library; The security operation and maintenance task is split according to the optimal template, and a set of subtasks is output.

3. The method according to claim 2, characterized in that, The determination of the matching degree between the security operation and maintenance task and each template in the operation and maintenance task template library is expressed by the formula: ; In the above formula, This refers to the security operation and maintenance task T and the k-th template M in the operation and maintenance task template library. k The degree of matching, This refers to the set of functional characteristics F of security operation and maintenance task T. T Compared with the k-th template M in the operation and maintenance task template library k Functional feature set The number of elements in the intersection, |F T | refers to the set of functional characteristics F of security operation and maintenance task T. T Number of elements in the middle This refers to the set of constraints C of the security operation and maintenance task T. T Compared with the k-th template M in the operation and maintenance task template library k The set of constraints The absolute value of the number of differing elements is obtained, and α is the weighting coefficient.

4. The method according to claim 2, characterized in that, The determination of the optimal template is expressed by the following formula: ; In the above formula, k ∗ This refers to the optimal template. This refers to the security operation and maintenance task T and the k-th template M in the operation and maintenance task template library. k The matching degree, Ω refers to the operation and maintenance task template library.

5. The method according to claim 1, characterized in that, The initial fit between the parsing subtask and all allocation endpoints is expressed by the formula: ; In the above formula, S j,i This refers to the initial compatibility between the i-th subtask of a security operations and maintenance task and the j-th distribution terminal. This refers to the characteristic parameters of the h-th requirement of the i-th subtask in the security operations and maintenance task. This refers to the characteristic parameters of the j-th allocation end regarding the h-th demand. Refers to characteristic parameters and The absolute difference between them This refers to the difference reference value. This refers to the weight coefficient of the h-th requirement of the i-th subtask in the security operation and maintenance task.

6. The method according to claim 1, characterized in that, The determination of the allocation end status score is expressed by the formula: ; In the above formula, Q j This refers to the status score of the j-th allocation end. This refers to the d-th state feature data of the j-th allocation end. This refers to the security threshold for the j-th allocation end to obtain the d-th state feature.

7. The method according to claim 1, characterized in that, The final fit of the parsing subtask assigned to each allocation end is expressed by the formula: ; In the above formula, FS i,j This refers to the final fit of the i-th subtask being assigned to the j-th assigner, S. j,i This refers to the initial compatibility between the i-th subtask of a security operations and maintenance task and the j-th distribution terminal, Q. j This refers to the state score of the j-th allocation end, where β is the weighting coefficient, and Adv... i,j This refers to the dependency of the i-th subtask on the initial allocation end. The indicator function is defined as follows: when the j-th allocation endpoint is the initial allocation endpoint L0 of the i-th subtask. i hour, The value is 1 if it is not 0 otherwise.

8. The method according to claim 7, characterized in that, The method for obtaining the dependency of the i-th subtask on the initial allocation end is expressed by the formula: ; In the above formula, Adv i,j This refers to the dependency of the i-th subtask on the initial allocation end. This refers to the i-th subtask being assigned at the initial allocation terminal L0. i Initial fit This refers to the highest initial fit value of the i-th subtask on the remaining assignment ends.

9. The method according to claim 6, characterized in that, The establishment of the allocation end migration mechanism determines the new allocation end for the subtask based on the execution status data of the subtask; specifically, it includes: Establish a migration mechanism for the distribution end; The execution health of a subtask is determined based on its execution status data. The execution health of a subtask is obtained by normalizing all execution status data during the execution of the subtask and then weighting and summing the normalized values ​​to obtain the execution health of the subtask. Based on the health status of the subtask execution, determine whether to trigger the allocation migration mechanism; If the allocation migration mechanism is triggered, the final allocation of the subtask will be determined again, and the new allocation of the subtask will be determined. When determining the final allocation of the subtask, the current final allocation of the subtask must be excluded.

10. A cloud-edge-device collaborative intelligent security operation and maintenance system, characterized in that: The system is used to perform the method according to any one of claims 1-9, specifically including: The data preparation unit is used to create an operation and maintenance task template library and collect security operation and maintenance task description text; the operation and maintenance task template library includes a set of functional feature templates and a set of constraint condition templates. The extraction unit is used to extract the set of functional features and the set of constraints from the security operation and maintenance task description text. The splitting unit is used to split security operation and maintenance tasks based on the operation and maintenance task template library, according to the functional feature set and the constraint condition set, and output a set of sub-tasks; The initial allocation unit is used to collect the attribute parameters of each subtask in the subtask set, and based on the attribute parameters of the subtask, to parse the initial compatibility between the subtask and all allocation terminals, and to determine the initial allocation terminal of the subtask; wherein, the allocation terminal includes three levels: terminal side, cloud side and edge side. The status assessment unit is used to collect status characteristic data of all distribution terminals and determine the status score of the distribution terminal based on the status characteristic data of the distribution terminal. The final allocation unit is used to analyze the final fit of the subtask to each allocation end based on the allocation end status score and the fit between the subtask and all allocation ends, and then determine the final allocation end of the subtask. The migration unit is used to collect the execution status data of the subtask based on the final allocation end of the subtask, and establish an allocation end migration mechanism to determine the new allocation end of the subtask based on the execution status data of the subtask. The operation and maintenance unit is used to implement intelligent security operation and maintenance based on the determined final allocation end or new allocation end of the subtask.