Educational resource allocation and management system
By monitoring fluctuations in educational resources in real time, generating initial allocation plans, and optimizing resource distribution maps, the problems of delayed response and scheduling failures in the educational resource management system are solved. This enables dynamic perception and intelligent collaborative allocation of resources, ensuring the continuity of educational activities.
Patent Information
- Application Number
- CN202511617623.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-06
- Publication Date
- 2026-02-13
AI Technical Summary
The existing educational resource management system lacks the ability to perceive emergencies in real time and dynamically, resulting in delayed response to abnormal fluctuations in resources, rigid resource coordination, and the inability to quickly and intelligently call up resources from neighboring groups when the dispatch center fails, affecting the continuity of educational activities.
The data monitoring module monitors resource fluctuations in real time, generates an initial resource allocation plan, obtains available resources from neighboring groups, optimizes the resource distribution map, and transfers control to neighboring groups when the scheduling center fails, thus achieving a continuous execution path for resource allocation.
It enables dynamic perception, intelligent collaborative allocation, and seamless switching of scheduling responsibilities for educational resources, solving the problems of delayed response, rigid coordination, and ineffective scheduling in traditional resource management, and ensuring the continuity of educational activities.
Smart Images

Figure CN121525945A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of resource allocation and management technology, and in particular relates to an educational resource allocation and management system. Background Technology
[0002] With the deepening of educational informatization, the management and operation of various educational institutions increasingly rely on stable and efficient digital resource platforms. Especially in scenarios such as regional educational collaboration and multi-campus university management, building a resource scheduling system capable of responding to emergencies and ensuring the continuity of teaching and management activities is crucial. Currently, educational management groups typically ensure the availability of basic services by establishing centralized resource management nodes or adopting basic redundancy backup strategies.
[0003] In traditional technologies, the management and disaster recovery of educational resources mostly adopt a combination of regular data backups and static contingency plans. For example, critical resource status is backed up at fixed time intervals, and when a system failure is detected, backup resources are activated or manual intervention is performed according to preset rules. This approach provides a basic guarantee for the continuous allocation of resources to a certain extent.
[0004] However, current resource management methods or traditional disaster recovery approaches have significant limitations. They lack real-time, dynamic awareness of resource status and struggle to promptly detect abnormal resource fluctuations caused by sudden traffic spikes, hardware failures, or network outages, leading to delayed responses. Furthermore, resource coordination mechanisms between different educational management groups are relatively rigid. When a group experiences resource anomalies, the system struggles to quickly and intelligently utilize idle resources from neighboring healthy groups for collaborative support, resulting in uneven resource utilization and low recovery efficiency. More importantly, in severe failure scenarios where the dispatch center itself malfunctions, the lack of effective automated decision-making and seamless switching mechanisms fails to ensure a smooth handover of resource dispatch responsibilities, thus threatening the continuity of educational activities across the entire region. Summary of the Invention
[0005] Therefore, it is necessary to provide an educational resource allocation and management system that can achieve dynamic resource perception, intelligent collaboration, and rapid failure recovery to address the aforementioned technical problems.
[0006] Firstly, this application provides an educational resource allocation and management system, including:
[0007] The data monitoring module is used to monitor whether the fluctuation range of resource data in all education management groups exceeds the preset abnormal threshold and obtain the monitoring results.
[0008] The initial resource allocation scheme generation module is used to obtain the available resources of neighboring groups if the monitoring result shows that the fluctuation of resource data is greater than the preset abnormal threshold; and to perform resource allocation processing based on the available resources and preset allocation rules to generate an initial resource allocation scheme.
[0009] The optimized resource distribution map generation module is used to obtain idle resources from neighboring groups if the initial resource allocation scheme does not cover all resource demands generated by abnormal groups due to resource anomalies; and to redistribute the idle resources and resources in the initial resource allocation scheme to obtain an optimized resource distribution map.
[0010] The scheduling center function judgment module is used to determine whether the current scheduling center is unable to perform its scheduling duties normally based on the optimized resource distribution map and the current operating status of the scheduling center, and obtain the judgment result.
[0011] The continuous execution path generation module for resource allocation is used to obtain a continuous execution path for resource allocation by performing resource allocation processing through a preset neighboring group of scheduling centers if the judgment result is that the current scheduling center cannot perform its scheduling duties normally.
[0012] Furthermore, the continuous execution path generation module for resource allocation includes:
[0013] The transfer control instruction generation unit is used to generate a transfer control instruction if the judgment result is that the current dispatch center cannot perform its dispatching duties normally; the transfer control instruction is used to instruct the transfer of dispatching control to a preset neighboring group dispatch center; and to obtain a new dispatch center confirmation signal based on the transfer control instruction;
[0014] The data integrity check unit is used to check whether the resource data after the transfer of scheduling control is complete based on the confirmation signal from the new scheduling center, and to obtain the check results.
[0015] The resource status index update unit is used to update the resource status index of the abnormal group and the neighboring group based on the resource data after the transfer of scheduling control if the check result is that the resource data after the transfer of scheduling control is complete, so as to obtain the updated resource status index.
[0016] The continuous execution path determination unit for resource allocation is used to determine the continuous execution path for resource allocation through the updated resource status index.
[0017] Furthermore, the data monitoring module includes:
[0018] The data acquisition unit is used to collect operational data of the core resources of all education management groups according to a preset cycle. The core resources include storage resources, computing resources, data transmission resources, and access permission resources. The operational data includes remaining storage capacity, CPU utilization, data transmission rate, and access permission success rate.
[0019] The fluctuation amplitude calculation unit is used to calculate the fluctuation amplitude of each running data using the following formula:
[0020]
[0021] Where F is the fluctuation range, S 当前 For the currently collected data, S 上 This is data from the previous collection period;
[0022] The monitoring result generation unit is used to compare each fluctuation amplitude with the corresponding preset abnormal threshold to obtain the comparison result; and to summarize all the comparison results to form the monitoring result.
[0023] Furthermore, the initial resource allocation scheme generation module includes:
[0024] The abnormal group determination unit is used to determine the education management group whose fluctuation amplitude is greater than the preset abnormal threshold as an abnormal group if the monitoring result shows that the fluctuation amplitude of resource data is greater than the preset abnormal threshold.
[0025] The available resource acquisition unit is used to acquire resource data of all neighboring groups of the abnormal group; and to filter out available resources from the resource data; available resources are those that are idle, running normally, and match the required specifications;
[0026] The resource sorting unit is used to sort available resources according to preset resource priority rules to obtain resource sorting results;
[0027] The resource subset generation unit is used to extract a preset number of available resources from the resource sorting results to form a borrowable resource subset.
[0028] The initial resource allocation scheme determination unit is used to perform resource allocation processing on abnormal groups and neighboring groups based on resource subsets and according to preset rules, and generate an initial resource allocation scheme.
[0029] Furthermore, the initial resource allocation scheme determination unit includes:
[0030] The allocation request processing unit is used to coordinate the allocation requests of abnormal groups and neighboring groups using a distributed consensus algorithm to obtain the allocation rules after consensus.
[0031] The resource-related data acquisition unit is used to determine the resource-related data to be acquired from each neighboring group based on the consensus-based allocation rules and resource subsets; the resource-related data includes type, quantity, usage period and restrictions;
[0032] The initial resource allocation scheme generation unit is used to combine and process resource-related data to generate an initial resource allocation scheme.
[0033] Furthermore, the optimized resource distribution map generation module includes:
[0034] The resource requirement list generation unit is used to sort out the resource requirements of abnormal groups due to resource anomalies and generate an affected resource requirement list; the affected resource requirement list includes core business requirements, derivative requirements and compliance requirements.
[0035] The demand list analysis unit is used to determine whether there are any items in the affected resource demand list that are not covered by the initial resource allocation plan, and to obtain the judgment result;
[0036] The idle resource acquisition unit is used to acquire idle resources from neighboring groups if the judgment result is that there are entries in the list of affected resource requirements that are not covered by the initial resource allocation scheme; the idle resources are idle storage, spare computing power and idle network bandwidth that are not included in the resource subset;
[0037] The resource distribution information acquisition unit is used to reallocate idle resources and resources in the initial resource allocation scheme to obtain the reallocated resource distribution information.
[0038] The optimized resource distribution map generation unit is used to visualize the redistributed resource distribution information and generate an optimized resource distribution map. The optimized resource distribution map includes the total amount of resources in the group, the amount allocated, the amount remaining, the resource flow direction, and the load status.
[0039] Furthermore, the dispatch center function judgment module includes:
[0040] The core operational metrics acquisition unit is used to acquire the core operational metrics of the current scheduling center; the core operational metrics include CPU utilization, memory usage, scheduling command response latency, number of fault alarms, and network connectivity;
[0041] The dispatch center function judgment unit is used to determine whether the current dispatch center is unable to perform its dispatching duties normally based on preset judgment rules and core operation indicators, and to obtain the judgment result. The preset judgment rule is that if the number of core operation indicators that exceed the preset threshold for normal performance of dispatching duties is greater than the preset quantity threshold and the duration is greater than the preset time threshold, it is determined that the current dispatch center is unable to perform its dispatching duties normally.
[0042] Secondly, this application also provides a method for the allocation and management of educational resources, including:
[0043] Monitor whether the fluctuation range of resource data in all education management groups exceeds the preset abnormal threshold, and obtain the monitoring results;
[0044] If the monitoring results show that the fluctuation of resource data is greater than the preset abnormal threshold, obtain the available resources of the neighboring groups; and perform resource allocation processing based on the available resources and preset allocation rules to generate an initial resource allocation plan.
[0045] If the initial resource allocation scheme does not cover all resource demands generated by abnormal groups due to resource anomalies, obtain idle resources from neighboring groups; and redistribute the idle resources of neighboring groups and the resources in the initial resource allocation scheme to obtain an optimized resource distribution map.
[0046] Based on the optimized resource distribution map and the current operating status of the scheduling center, it is determined whether the current scheduling center is unable to perform its scheduling duties normally, and the judgment result is obtained.
[0047] If the judgment result is that the current scheduling center cannot perform its scheduling duties normally, resource allocation is carried out through the preset neighboring group scheduling center to obtain a continuous execution path for resource allocation.
[0048] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement an educational resource allocation and management method as described in any of the embodiments of this application.
[0049] Fourthly, this application also provides a computer-readable storage medium storing at least one piece of program code, which is loaded and executed by a processor to implement an educational resource allocation and management method as described in any of the embodiments of this application.
[0050] The aforementioned educational resource allocation and management system promptly identifies abnormal groups by accurately monitoring fluctuations in resource data of educational management groups; it obtains available resources from neighboring groups of abnormal groups; and based on these available resources and preset allocation rules, it performs resource allocation processing to generate an initial resource allocation plan. If the initial resource allocation plan does not cover all resource needs arising from resource anomalies in abnormal groups, it further obtains idle resources from neighboring groups; it generates a visual distribution map by optimizing resource allocation; and if the current dispatch center cannot perform its dispatching duties normally, it processes resource allocation through preset neighboring group dispatch centers to obtain a continuous execution path for resource allocation. This system enables dynamic perception of educational resources, intelligent collaborative allocation, and seamless switching of dispatching responsibilities, effectively solving the problems of delayed response, rigid coordination, and lack of response mechanisms for dispatching failures in traditional resource management. Attached Figure Description
[0051] To more clearly illustrate the technical solutions in the embodiments or related technologies of this application, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0052] Figure 1 This is a schematic diagram of the structure of an educational resource allocation and management system in one embodiment;
[0053] Figure 2 This is a schematic diagram of the structure of a continuous execution path generation module for resource allocation in one embodiment;
[0054] Figure 3 This is a flowchart illustrating an educational resource allocation and management method in one embodiment. Detailed Implementation
[0055] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0056] In one embodiment, an educational resource allocation and management system 100 is provided. This embodiment illustrates the application of the system to a terminal. It is understood that the system can also be applied to a server, or to a system including both a terminal and a server, and is implemented through the interaction between the terminal and the server. Figure 1 As shown, in this embodiment, the system includes the following modules:
[0057] The data monitoring module 101 is used to monitor whether the fluctuation range of resource data in all education management groups exceeds the preset abnormal threshold and obtain the monitoring results.
[0058] Among them, the preset anomaly threshold is a quantitative standard set in advance to identify abnormal states. It distinguishes between normal and abnormal through a clear value (or range) and can be dynamically adjusted through the historical baseline data of each resource data. That is, each resource type has its corresponding preset anomaly threshold. Education management groups are collaborative and decision-making communities formed around the management needs of the education field, such as school administration groups, academic affairs system groups, teacher and student management groups, etc. Resource data refers to the operational data of resources such as storage resources, computing resources, and data transmission resources.
[0059] For example, resource data from all education management groups is acquired, the fluctuation range of each resource is calculated based on the resource data, and the calculated fluctuation range of the resource is compared with the preset abnormal threshold corresponding to the resource to obtain the monitoring results.
[0060] The initial resource allocation scheme generation module 102 is used to obtain the available resources of neighboring groups if the monitoring result shows that the fluctuation range of resource data is greater than the preset abnormal threshold; and to perform resource allocation processing based on the available resources and preset allocation rules to generate an initial resource allocation scheme.
[0061] The range of neighboring groups can be defined by the network topology, such as by automatically identifying them based on IP (Internet Protocol) address ranges or geographical distance; the preset allocation rules refer to the standards or processes established in advance before resource allocation to guide how resources are allocated to different demanders. They are the action guidelines for resource allocation and can be based on priority strategies, such as ensuring that the resources for core teaching business have a higher priority than those for auxiliary business resources.
[0062] For example, when monitoring results indicate abnormal fluctuations in resource data, the system queries available resource data from neighboring education management groups via a cross-group communication interface. Based on preset allocation rules, available resources are sorted and selected to generate an initial resource allocation plan. This plan describes resource types, quantities, usage periods, and limitations in a structured data format, ensuring that the plan can be parsed and executed by machines. The cross-group communication interface serves as a data exchange channel between different education management groups, essentially acting as a dedicated telephone line between groups, enabling rapid transmission of resource query and allocation requests without interfering with their respective normal operations.
[0063] The optimized resource distribution map generation module 103 is used to obtain the idle resources of neighboring groups if the initial resource allocation scheme does not cover all resource demands generated by abnormal groups due to resource anomalies; and to redistribute the idle resources and the resources in the initial resource allocation scheme to obtain the optimized resource distribution map.
[0064] For example, all resource needs arising from resource anomalies in an abnormal group are compiled and listed, including core business needs such as online course delivery, derivative needs such as data backup, and compliance needs such as privacy protection requirements. If the initial resource allocation plan does not cover all resource needs arising from resource anomalies in the abnormal group, idle resources from neighboring groups are acquired. These resources are additional capacity not included in the initial plan, such as backup computing power or idle network bandwidth. These idle resources are then reallocated with the resources in the initial resource allocation plan. Taking into account the demand gap of the abnormal group and the resource supply capacity of neighboring groups, the resource allocation ratio and objects are adjusted to obtain the reallocated resource distribution information. This resource distribution information is then visualized to generate an optimized resource distribution map, which clearly shows the total amount of resources, allocated amount, remaining amount, and resource flow of each group. Visualization refers to the process of transforming data, information, or abstract concepts into intuitive visual forms such as graphics, charts, and maps.
[0065] The scheduling center function judgment module 104 is used to determine whether the current scheduling center is unable to perform its scheduling duties normally based on the optimized resource distribution map and the current operating status of the scheduling center, and obtain the judgment result.
[0066] For example, based on the optimized resource distribution map and the current operational status of the scheduling center, the core operational indicators of the current scheduling center are obtained. The operational status of the current scheduling center is analyzed based on these core operational indicators to determine whether the current scheduling center is unable to fulfill its scheduling responsibilities normally, thus obtaining a judgment result. Among these, the core operational indicators are the core quantitative data for measuring the key operational status and efficiency of the current scheduling center, focusing on the key dimensions that most affect the normal performance of scheduling responsibilities.
[0067] The continuous execution path generation module 105 for resource allocation is used to obtain a continuous execution path for resource allocation by performing resource allocation processing through a preset neighboring group scheduling center if the judgment result is that the current scheduling center cannot perform its scheduling duties normally.
[0068] The preset neighboring group dispatch center is selected by comprehensively considering factors such as the operational capacity of neighboring group dispatch centers and the distance from abnormal groups, to ensure that it can quickly take over dispatch responsibilities.
[0069] For example, if the determination result is that the current scheduling center cannot perform its scheduling duties normally, the scheduling control is transferred to a preset neighboring group scheduling center, and a request is sent to the preset neighboring group scheduling center to obtain a new scheduling center confirmation signal, confirming that the new scheduling center is ready to take over. Based on the new scheduling center confirmation signal, the integrity of the resource data after the transfer of scheduling control is checked, including resource distribution information, resource demand data of each group, etc. If the resource data is complete, the resource status index of the abnormal group and neighboring groups is updated based on this complete resource data. Through the updated resource status index, combined with the resource allocation requirements and the resource status of each group, a continuous execution path for resource allocation is determined to ensure that the resource allocation process is not interrupted. Through the determined continuous execution path of resource status scheduling, the fluctuation range of subsequent resource data is monitored, and when the fluctuation range exceeds a preset abnormal threshold, the available resources of the neighboring groups of the abnormal group are re-obtained to generate a continuous execution path for resource status scheduling, thus obtaining a continuously optimized resource scheduling mechanism. The resource status index is a structured data set used to record the real-time status of resources in each group. The predefined index structure can contain three levels of fields: the first level is the group identifier, which is used to uniquely distinguish abnormal groups from each neighboring group; the second level is the resource type, such as storage, computing power, data transmission, etc.; and the third level is the resource attributes, such as remaining quantity, allocated quantity, load rate, usage period, etc.
[0070] In this embodiment, abnormal groups are promptly identified by accurately monitoring fluctuations in educational management group resource data; available resources of neighboring groups of the abnormal groups are obtained, and an initial resource allocation plan is generated based on these available resources; the resource demands of the abnormal groups due to resource anomalies are compared with the initial resource allocation plan. If the initial resource allocation plan does not fully cover the resource demands, idle resources of neighboring groups are further obtained, and a visual distribution map is generated by optimizing resource allocation; when the scheduling center fails, scheduling control is transferred to the selected neighboring group scheduling center, and a continuous execution path is generated through the selected neighboring group scheduling center. This enables dynamic perception, intelligent collaborative allocation, and seamless switching of scheduling responsibilities for educational resources, effectively solving the problems of delayed response, rigid coordination, and lack of response mechanisms for scheduling failures in traditional resource management.
[0071] In one embodiment, such as Figure 2 As shown, the continuous execution path generation module 105 for resource allocation includes:
[0072] The transfer control instruction generation unit 201 is used to generate a transfer control instruction if the judgment result is that the current dispatch center cannot perform its dispatching duties normally; the transfer control instruction is used to instruct the transfer of dispatching control to a preset neighboring group dispatch center; and to obtain a new dispatch center confirmation signal based on the transfer control instruction.
[0073] For example, when it is determined that the current scheduling center cannot perform its scheduling duties normally, a control transfer instruction is immediately generated. This instruction includes the target object of the scheduling control transfer (i.e., the preset neighboring group scheduling center), the scope of the transferred permissions (such as resource allocation approval rights and data access rights), and the time node. The control transfer instruction is sent to the preset neighboring group scheduling center, and then feedback signals are continuously monitored. The feedback signal refers to the confirmation signal that the preset neighboring group scheduling center sends after completing the permission reception preparation, such as after loading historical resource allocation data, and includes its own identity and preparation completion time. For example, by receiving and parsing this feedback signal, it is confirmed that the preliminary conditions for the control transfer have been met.
[0074] The data integrity check unit 202 is used to check whether the resource data after the transfer of scheduling control is complete based on the confirmation signal from the new scheduling center, and to obtain the check result.
[0075] The resource data after the transfer of scheduling control includes the resource demand list of abnormal groups, the resource status data of neighboring groups, historical resource allocation records, and information on currently incomplete scheduling tasks; the resource demand list of abnormal groups includes details of core business, derivative and compliance requirements; the resource status data of neighboring groups includes the types and quantities of available and idle resources; and the historical resource allocation records refer to data such as completed allocation processes and resource usage periods.
[0076] For example, after receiving confirmation from the new dispatch center, the integrity of resource data after the transfer of dispatch control can be checked according to predefined inspection criteria to obtain the inspection results. These predefined inspection criteria are clear and standardized references established beforehand, and can cover three aspects: first, no missing data fields, such as the existence of key fields like resource ID (identification), quantity, and group affiliation; second, 100% hash value matching; and third, data format conforming to the parsing requirements of the new dispatch center. Missing or mismatched data discovered during the inspection is marked as anomalies. If the number of anomalies is 0, the inspection result is considered data integrity. If anomalies exist, a data retransmission mechanism is triggered to retrieve the abnormal data from the original data storage node and verify it again until the data is complete or the confirmed data cannot be repaired. At this point, an anomaly report must be generated and the administrator notified.
[0077] The resource status index update unit 203 is used to update the resource status index of the abnormal group and the neighboring group based on the resource data after the transfer of scheduling control if the check result is that the resource data after the transfer of scheduling control is complete, so as to obtain the updated resource status index.
[0078] For example, after confirming the integrity of the data after the transfer of scheduling control, incremental updates can be used to update the resource status indexes of abnormal groups and neighboring groups, avoiding excessive resource consumption caused by full updates. During the update process, consistency checks are performed on the index data to ensure that the status of the same resource is not contradictory in the index; for example, the remaining computing resources of a neighboring group cannot have two different values simultaneously. After the update is completed, an index update log is generated, recording the update time, updated fields, and values before and after the update. Simultaneously, the updated resource status index is synchronized to the new scheduling center. Incremental updates refer to updating only the fields that have changed, such as new resource requirements in abnormal groups or reduced available resources in neighboring groups.
[0079] The continuous execution path determination unit 204 for resource allocation is used to determine the continuous execution path for resource allocation through the updated resource status index.
[0080] For example, the total resource demand and type of abnormal groups in the updated resource status index are extracted, along with the available resource reserves and allocation costs of each neighboring group. These allocation costs include resource transmission time and cross-group collaboration complexity. All possible resource allocation paths are obtained according to preset path filtering rules. Each path consists of a combination of "neighboring group - resource type - abnormal group." An improved Dijkstra algorithm can be used to traverse all possible resource allocation paths and calculate multiple candidate paths. Based on the comprehensive score of each candidate path (a weighted score of cost, stability, and time consumption), the path with the highest score is selected as the continuous execution path for resource allocation. Simultaneously, the path with the second highest score is selected as a backup path. If the primary path fails during execution, the system can quickly switch to the backup path. Among them, the improved Dijkstra algorithm is a classic algorithm for finding the shortest path. Here, it is improved to take "lowest allocation cost + highest resource supply stability" as the objective function. The preset path selection rules include: the resource load rate of each node (i.e., group) in the path does not exceed the safety threshold, the total allocation time of the path does not exceed the maximum latency allowed by the education business, and the compatibility of the resources in the path meets the needs of the abnormal group, such as the CPU (Central Processing Unit) architecture of the computing resources matching the application of the abnormal group.
[0081] In this embodiment, a transfer control instruction is generated to transfer scheduling control to a preset neighboring group scheduling center, and a confirmation signal is obtained. The integrity of the transferred resource data is checked, and the resource status indexes of the abnormal group and neighboring groups are updated based on the complete resource data. An efficient and stable continuous execution path for resource allocation is determined through optimized algorithms and filtering rules. This effectively solves the problems of disconnected resource allocation, unreliable data, and unreasonable paths after the failure of the traditional scheduling center, achieving seamless connection and efficient execution of resource allocation.
[0082] In one embodiment, the data monitoring module includes:
[0083] The data acquisition unit is used to collect operational data of the core resources of all education management groups according to a preset cycle. The core resources include storage resources, computing resources, data transmission resources, and access permission resources. The operational data includes remaining storage capacity, CPU utilization, data transmission rate, and access permission success rate.
[0084] The preset cycle is a time interval pre-configured based on the time characteristics of resource usage in the education management group, in order to achieve periodic monitoring of resource status. For example, resources change frequently during teaching periods, so the cycle can be set to be shorter; resources are relatively stable during non-teaching periods, so the cycle can be set to be longer.
[0085] For example, core resource operation data of all education management groups are collected according to a preset cycle. These core resources include storage resources, computing resources, data transmission resources, and access permission resources. These resources are the fundamental guarantee for the education management groups to carry out teaching, management, and other business operations. Specifically, remaining storage capacity reflects the available space of storage resources; CPU utilization reflects the load level of computing resources; data transmission rate can be obtained by acquiring data packets and calculating transmission speed, used to measure the efficiency of data transmission resources; and access permission call success rate can be determined by statistically analyzing the ratio of successful access permission calls to the total number of calls, used to ensure the normal use of access permission resources. For example, the collected raw data is formatted and stored uniformly.
[0086] The fluctuation amplitude calculation unit is used to calculate the fluctuation amplitude of each running data using the following formula:
[0087]
[0088] Where F is the fluctuation range, S 当前 For the currently collected data, S 上 This is data from the previous collection period.
[0089] For example, the corresponding operational data of the current period and the previous period are extracted, such as remaining storage capacity and CPU utilization, and substituted into the formula to calculate the fluctuation range of each operational data. The calculated fluctuation range value is then associated with the corresponding data type (such as storage resources, computing resources, etc.).
[0090] The monitoring result generation unit is used to compare each fluctuation amplitude with the corresponding preset abnormal threshold to obtain the comparison result; and to summarize all the comparison results to form the monitoring result.
[0091] For example, preset anomaly thresholds are established for each operational data point. These thresholds are based on historical resource anomaly data, the stability requirements of educational services, and the range of resource performance indicators. They can be preset during the initialization phase through statistical analysis or expert experience. Different types of operational data have different thresholds due to their varying normal fluctuation ranges. The fluctuation amplitude of each operational data point is compared with its corresponding preset anomaly threshold, generating a comparison result for each operational data point. The comparison results of all operational data points are then summarized to form a monitoring result, which clearly identifies which operational data points have fluctuation amplitudes exceeding the anomaly threshold.
[0092] In this embodiment, operational data of core resources are collected according to a preset cycle; the fluctuation range of each operational data point is calculated; each fluctuation range is compared with a preset anomaly threshold for the corresponding core resource to obtain a comparison result; and all comparison results are summarized to generate a monitoring result. This provides a reliable basis for anomaly identification in the allocation and management of educational resources.
[0093] In one embodiment, the initial resource allocation scheme generation module includes:
[0094] The abnormal group determination unit is used to determine the education management group whose fluctuation amplitude is greater than the preset abnormal threshold as an abnormal group if the monitoring result shows that the fluctuation amplitude of the resource data is greater than the preset abnormal threshold.
[0095] For example, when the monitoring results show that the fluctuation range of any resource data is greater than the corresponding preset abnormal threshold, the education management group with the abnormal resource is accurately located and the education management group is identified as an abnormal group.
[0096] The available resource acquisition unit is used to acquire resource data of all neighboring groups of the abnormal group; and to filter out available resources from the resource data; available resources are those that are idle, running normally and matching the requirements.
[0097] Among them, idle status means that the resources are not occupied by the core business of the neighboring group; normal operation and availability are determined by resource operation indicators, such as CPU utilization being lower than the safety threshold and storage having no bad blocks; matching demand specifications means that the resource type, performance and abnormal group gap are adapted.
[0098] For example, after identifying an abnormal group, resource data from all neighboring groups is obtained. This resource data covers the current status of core resources such as storage, computing power, data transmission, and access permissions, including remaining capacity and utilization. Available resources are then filtered based on criteria such as idle status, normal operation, and matching requirements.
[0099] The resource sorting unit is used to sort available resources according to preset resource priority rules to obtain resource sorting results.
[0100] Among them, the preset resource priority rules are pre-set using the Analytic Hierarchy Process (AHP) or expert scoring method, taking into account the importance of educational business, the scarcity of resources, and the ease of allocation. For example, computing resources that guarantee core teaching business have a higher priority than general storage resources. The AHP is a multi-criteria decision analysis method that breaks down complex decision problems into an ordered hierarchical structure. It achieves systematization and scientification of decision-making by combining subjective judgment with quantitative calculation. The expert scoring method is an evaluation method that combines qualitative and quantitative assessments based on expert experience and professional knowledge. It invites experts with senior experience in the field to make subjective judgments and scores on specific indicators or overall performance of the evaluated object. The scores are then processed using scientific statistical methods to obtain a comprehensive evaluation result.
[0101] For example, the available resources' attributes such as resource type, business type, and allocation time are matched with preset resource priority rules. The priority score of each resource is calculated by weighted scoring, and then the resources are sorted from high to low according to the scores to obtain the resource ranking result.
[0102] The resource subset generation unit is used to extract a preset number of available resources from the resource sorting results to form a resource subset that can be borrowed.
[0103] The preset quantity is based on the scale of resource gaps in abnormal groups, the resource supply capacity of neighboring groups, and the efficiency requirements for allocation.
[0104] For example, a preset number of resources are selected from the resource ranking results to form a subset of available resources. These resources are optimal in terms of priority and suitability. During the extraction process, the resource subset is initially tested to ensure that there are no logical or physical conflicts between the resources in the subset during allocation. For example, the same resource is not allocated to multiple groups at the same time, thereby balancing the resource demands of both supply and demand sides.
[0105] The initial resource allocation scheme determination unit is used to perform resource allocation processing on abnormal groups and neighboring groups based on resource subsets and according to preset rules, and generate an initial resource allocation scheme.
[0106] Among them, the preset rules are formulated in advance by combining the principles of fairness and efficiency in the allocation of educational resources, as well as collaborative mechanisms such as the borrowing period, return conditions, and usage permission restrictions for cross-group resource allocation.
[0107] For example, resource allocation is performed on abnormal groups and neighboring groups according to preset rules to generate an initial resource allocation scheme.
[0108] In this embodiment, abnormal resource groups are accurately located based on monitoring results; available resources in neighboring groups of the abnormal resource groups are obtained; available resources are sorted according to priority rules; a preset number of available resources are extracted after sorting to form a resource subset; and resource allocation is performed on the abnormal groups and neighboring groups according to preset rules to generate an initial resource allocation scheme. This effectively solves the problems of delayed response to anomalies, blind resource selection, and lack of standardization in traditional educational resource allocation.
[0109] In one embodiment, the initial resource allocation scheme determination unit includes:
[0110] The allocation request processing unit is used to coordinate the allocation requests of abnormal groups and neighboring groups using a distributed consensus algorithm to obtain the allocation rules after consensus.
[0111] Among them, the distributed consensus algorithm is the core mechanism by which multiple independent nodes reach a consensus on one or more key information such as data values and operation order through negotiation. It is used to solve the information consistency problem in scenarios where nodes are scattered and may fail (such as offline or error) and the network is unreliable (such as delay or packet loss).
[0112] For example, a distributed consensus algorithm is used to coordinate the allocation requests of anomaly groups and neighboring groups: The resource needs of the anomaly group are collected, including the type and quantity of resources required, the educational business scenario they will be used for, and the expected allocation timeframe; simultaneously, the resource supply needs of neighboring groups are collected, covering the type of resources available for lending, remaining resources, expected return conditions, and resource usage restrictions; through a multi-round proposal, voting, and confirmation process using the distributed consensus algorithm, the urgent needs of the anomaly group and the resource reservation needs of neighboring groups are balanced. For example, while ensuring the core teaching business resource needs of the anomaly group, the resource supply for the neighboring groups' own business is not excessively affected. Finally, a consensus-based allocation rule is obtained, which clarifies the priority of resource allocation, the division of responsibilities among parties, and the dispute resolution mechanism.
[0113] The resource-related data acquisition unit is used to determine the resource-related data to be acquired from each neighboring group based on the consensus-based allocation rules and resource subsets. The resource-related data includes the type, quantity, usage period, and restrictions.
[0114] For example, the consensus-based allocation rules clearly define key constraints such as which neighboring groups need to provide resources, the priority of resource types, resource usage periods, and restrictions. Resource subsets are sets of resources selected from the available resources of neighboring groups that meet the needs of abnormal groups, defining a specific scope for data acquisition, such as targeting only storage resources or computing power resources within the subset. Resource-related data obtained from each neighboring group includes data type, the specific quantity of resources to be allocated, usage period, business scope of resource use, performance thresholds, and other restrictions. The acquired data must strictly match the constraints in the consensus rules, such as checking whether the quantity and usage period of resources match the duration requirements of the education business, ensuring data accuracy and consistency.
[0115] The initial resource allocation scheme generation unit is used to combine and process resource-related data to generate an initial resource allocation scheme.
[0116] Among them, the combined processing refers to the structured integration based on the preset education resource allocation scheme template; the preset education resource allocation scheme template is set based on the education industry's resource allocation standards and best practices, including resource allocation process, responsibilities of all parties, monitoring mechanism, etc.
[0117] For example, resource-related data is populated into fields corresponding to a pre-defined educational resource allocation scheme template, including resource type, quantity, and usage period. Consensus-based execution logic is then integrated, such as triggering conditions for resource allocation and status update mechanisms. During the generation process, logical validation is performed to ensure consistency between the resource quantity and usage period, and between resource usage restrictions and educational business needs. The generated initial resource allocation scheme is executable and can directly guide resource allocation operations between abnormal and neighboring groups, covering key aspects such as resource allocation schedules, resource usage monitoring indicators, and anomaly handling procedures.
[0118] In this embodiment, a distributed consensus algorithm is used to coordinate the demands of abnormal groups and neighboring groups to generate consensus-based allocation rules. Based on these rules and resource subsets, resource-related data for each neighboring group is accurately obtained. This resource-related data is then combined and processed to generate an initial resource allocation scheme. This effectively solves the problems of conflicting demands, ambiguous resource data, and lack of executability in traditional resource allocation.
[0119] In one embodiment, the optimized resource distribution map generation module includes:
[0120] The resource requirement list generation unit is used to sort out the resource requirements of abnormal groups due to resource anomalies and generate an affected resource requirement list; the affected resource requirement list includes core business requirements, derivative requirements and compliance requirements.
[0121] Among them, core business needs refer to the necessary resource needs to maintain the normal operation of core teaching, management and other business in education, such as the computing power and network resources needed to ensure the stable operation of online classrooms; derivative needs are derived from core business needs, such as the storage expansion needs to support core teaching resources; compliance needs are resource needs that comply with education industry norms and data security requirements, such as the encryption resource needs to meet the needs of student information storage.
[0122] For example, by using a demand mining algorithm, combined with business process logs such as teaching task arrangements and operation records of abnormal groups, as well as resource anomaly reports, the above three types of demands are identified and categorized one by one. Simultaneously, the correlation between demands is verified; for example, if core business demands are not met, derivative demands are temporarily excluded. A structured list of affected resource demands is generated, clearly specifying the resource type, demand priority, and minimum satisfaction standard for each type of demand. The demand mining algorithm is a technical method used to automatically identify, extract, and analyze potential or explicit user demands from massive amounts of data such as transaction records and social interactions. It can transform unstructured / semi-structured data into understandable and actionable demand information.
[0123] The demand list analysis unit is used to determine whether there are any items in the affected resource demand list that are not covered by the initial resource allocation scheme, and to obtain the judgment result.
[0124] For example, the system loads the list of affected resource requirements and the previously generated initial resource allocation plan. Each requirement item in the list is compared at the field level with the resource allocation item in the initial plan. The comparison dimensions include: Dimension 1 is the resource type, for example, if the list requires GPU (Graphics Processing Unit) computing power, does the plan allocate the same type of resource? Dimension 2 is the required quantity, for example, if the list requires 5 units of computing power, does the plan meet the quantity requirement? Dimension 3 is the requirement priority, for example, if there are high-priority requirements in the list, does the plan prioritize their allocation? If an item has no corresponding allocation record in the initial plan, or if the type or quantity of allocated resources does not meet the minimum satisfaction standard in the list, then the item is marked as an uncovered item. Simultaneously, it checks whether there are implicit uncovered situations where a core requirement is not covered by the initial plan, resulting in unmet related derivative requirements, such as the failure to allocate encrypted storage resources, leading to unmet compliance requirements. Finally, by combining the field comparison and logical verification results, a judgment result is generated regarding whether there are uncovered items.
[0125] The idle resource acquisition unit is used to acquire idle resources from neighboring groups if the judgment result is that there are entries in the list of affected resource requirements that are not covered by the initial resource allocation scheme; the idle resources are idle storage, spare computing power and idle network bandwidth that are not included in the resource subset.
[0126] For example, when the determination result indicates the existence of uncovered entries, an idle resource query request is sent to each neighboring group. The request specifies the type of resource to be acquired and the specifications, such as the storage resource supporting encryption. After the neighboring groups provide resource status data, resources that meet the criteria of not being included in a subset, being idle, and matching specifications are filtered out to form an idle resource list. The list indicates the group to which each resource belongs, the resource performance parameters, and the available usage time. The type of resource to be acquired must match the demand type of the uncovered entries.
[0127] The resource distribution information acquisition unit is used to redistribute idle resources and resources in the initial resource allocation scheme to obtain the redistributed resource distribution information.
[0128] For example, the resource allocation order for reallocation is determined based on the priority of the uncovered items. Then, for each uncovered requirement, suitable resources are selected from the list of idle resources. If the idle resources can fully meet the requirement, they are directly allocated to the corresponding requirement. If the idle resources need to coordinate with some resources in the initial plan, for example, if the computing power allocated in the initial plan is insufficient and idle computing power needs to be supplemented, the allocation ratio of such resources in the initial plan is adjusted to ensure that the total resource quantity meets the requirement. During the reallocation process, the allocation direction of resources (i.e., from which group to which requirement of the abnormal group), the allocation amount, and the current status (allocated, pending allocation) are recorded in real time. This information is integrated with the resource distribution data in the initial plan to form the resource distribution information after reallocation. This information includes the resource input and output of each group and the resource satisfaction of each requirement of the abnormal group.
[0129] The optimized resource distribution map generation unit is used to visualize the redistributed resource distribution information and generate an optimized resource distribution map. The optimized resource distribution map includes the total amount of resources in the group, the amount allocated, the amount remaining, the resource flow direction, and the load status.
[0130] For example, based on a preset visualization template, a data visualization library converts structured data such as group identifiers, resource quantities, and flow relationships in resource distribution information into graphical elements. Information annotations are added to the graph, such as displaying resource usage periods and limitations when the mouse hovers over the data, generating an optimized resource distribution map that supports interactive operations such as zooming and filtering. The preset visualization template includes various intuitive presentation formats, such as: a pie chart showing total and remaining resources, clearly comparing resource reserves and consumption in each group; an arrow flow chart showing resource flow paths and amounts from neighboring groups to abnormal groups; and a heatmap showing resource load status, with different colors representing high and low loads, such as red for high load. A data visualization library is a collection of software development tools used to transform structured data into intuitive charts, maps, flowcharts, etc. It establishes a correspondence between data dimensions such as values and categories and visual elements such as colors and shapes based on data mapping rules, generating visualization results through rendering engines such as Canvas.
[0131] In this embodiment, a list of affected resource requirements covering multiple dimensions is generated through structured analysis; coverage gaps in the initial solution are accurately determined through dual field and logical checks, clarifying the direction for idle resource allocation; idle resources adapted to uncovered requirements are acquired in a targeted manner; resources are reallocated based on priority; and an optimized resource distribution map is generated through visualization. This effectively solves the problems of incomplete coverage and unintuitive resource distribution in the initial resource allocation scheme, ensuring that all reasonable resource needs of the abnormal group are met while achieving efficient resource utilization.
[0132] In one embodiment, the scheduling center function determination module includes:
[0133] The core operational metrics acquisition unit is used to acquire the core operational metrics of the current scheduling center. The core operational metrics include CPU utilization, memory usage, scheduling command response latency, number of fault alarms, and network connectivity.
[0134] Among them, CPU utilization reflects the computing load of the scheduling center; excessively high utilization can lead to instruction processing delays. Memory occupancy affects scheduling data caching and temporary instruction storage; excessively high memory occupancy can easily cause data loss or instruction errors. Scheduling instruction response latency measures the time from instruction generation to delivery to the target group, directly affecting the timeliness of resource allocation. The number of fault alarms refers to the frequency of alarms such as software anomalies; excessively high frequency indicates stability risks. Network connectivity is used to detect the communication link status between the scheduling center and each education management group; disconnection will prevent resource scheduling interaction.
[0135] For example, the core operational metrics of the current dispatch center are collected in real time, and a timestamp and collection node identifier are added to each type of metric. The raw data is then converted into a unified structured format for storage.
[0136] The dispatch center function judgment unit is used to determine whether the current dispatch center is unable to perform its dispatching duties normally based on preset judgment rules and core operation indicators, and to obtain the judgment result. The preset judgment rule is that if the number of core operation indicators that exceed the preset threshold for normal performance of dispatching duties is greater than the preset quantity threshold and the duration is greater than the preset time threshold, it is determined that the current dispatch center is unable to perform its dispatching duties normally.
[0137] The preset judgment rules are formulated by combining the historical baseline data of the normal operation of the dispatch center with the business continuity requirements of education resource dispatch. It is a two-dimensional threshold verification logic: the first dimension is the indicator quantity threshold, that is, the preset upper limit of the number of core operation indicators that are allowed to exceed the normal range; the second dimension is the time threshold, that is, the minimum duration for the indicator status that exceeds the normal range.
[0138] For example, each type of core operational metric collected is compared one by one with the corresponding predefined threshold for the normal performance of scheduling duties, such as the normal fluctuation range of CPU utilization and the maximum allowable value of instruction response latency. The number of metrics exceeding the threshold is counted, and the duration of the exceeding state is recorded. If the counted number of exceeding metrics is greater than the metric number threshold, and the duration of the exceeding state is greater than the time threshold, it is determined that the current scheduling center cannot perform its scheduling duties normally. If either condition is not met, such as the number of exceeding metrics not meeting the threshold or the duration not reaching the threshold, it is determined that the scheduling center can operate normally. During the judgment process, a metric comparison log is automatically generated, recording the actual value, threshold, comparison result, and time node of each type of metric.
[0139] In this embodiment, core operational indicators of the current dispatch center are collected; based on preset judgment rules, it is determined whether the current dispatch center is unable to perform its dispatching duties normally. This effectively solves the problems of scattered indicators and vague rules in traditional dispatch center function judgment, and can identify dispatch center functional abnormalities in a timely and accurate manner.
[0140] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0141] Based on the same inventive concept, this application also provides an educational resource allocation and management method for implementing the educational resource allocation and management system described above. The solution provided by this method is similar to the implementation scheme described in the above system. Therefore, the specific limitations of one or more embodiments of the educational resource allocation and management method provided below can be found in the limitations of the educational resource allocation and management system described above, and will not be repeated here.
[0142] In one exemplary embodiment, such as Figure 3 As shown, a method for the allocation and management of educational resources is provided, including:
[0143] Step S301: Monitor whether the fluctuation range of resource data in all education management groups is greater than the preset abnormal threshold, and obtain the monitoring results;
[0144] Step S302: If the monitoring result shows that the fluctuation range of resource data is greater than the preset abnormal threshold, obtain the available resources of the neighboring groups; and perform resource allocation processing based on the available resources and the preset allocation rules to generate an initial resource allocation scheme.
[0145] Step S303: If the initial resource allocation scheme does not cover all resource demands of the abnormal group due to resource anomalies, obtain the idle resources of neighboring groups; and redistribute the idle resources of neighboring groups and the resources in the initial resource allocation scheme to obtain an optimized resource distribution map.
[0146] Step S304: Based on the optimized resource distribution map and the current operating status of the scheduling center, determine whether the current scheduling center is unable to perform its scheduling duties normally, and obtain the judgment result;
[0147] Step S305: If the judgment result is that the current scheduling center cannot perform its scheduling duties normally, resource allocation is carried out through the preset neighboring group scheduling center to obtain the continuous execution path of resource allocation.
[0148] In one embodiment, if the determination result is that the current scheduling center cannot perform its scheduling duties normally, resource allocation is performed through a preset neighboring group scheduling center to obtain a continuous execution path for resource allocation, including:
[0149] If the judgment result is that the current dispatch center cannot perform its dispatching duties normally, a transfer control instruction is generated; the transfer control instruction is used to instruct the dispatching control to be transferred to a preset neighboring group dispatch center; and a new dispatch center confirmation signal is obtained based on the transfer control instruction;
[0150] Based on the confirmation signal from the new dispatch center, check whether the resource data after the transfer of dispatch control is complete, and obtain the check results;
[0151] If the inspection result shows that the resource data after the transfer of scheduling control is complete, the resource status index of the abnormal group and the neighboring group is updated based on the resource data after the transfer of scheduling control to obtain the updated resource status index;
[0152] The updated resource status index determines the continuous execution path for resource allocation.
[0153] In one embodiment, monitoring whether the fluctuation range of resource data in all education management groups exceeds a preset anomaly threshold yields monitoring results, including:
[0154] The system collects operational data of core resources from all education management groups according to a preset cycle. Core resources include storage resources, computing resources, data transmission resources, and access permission resources. Operational data includes remaining storage capacity, CPU utilization, data transmission rate, and access permission success rate.
[0155] Use the following formula to calculate the fluctuation range of each running data point:
[0156]
[0157] Where F is the fluctuation range, S 当前 For the currently collected data, S 上 This is data from the previous collection period;
[0158] Each fluctuation amplitude is compared with the corresponding preset abnormal threshold to obtain the comparison results; and all comparison results are summarized to form the monitoring results.
[0159] In one embodiment, if the monitoring result shows that the fluctuation range of resource data is greater than a preset anomaly threshold, the available resources of neighboring groups are obtained; and resource allocation processing is performed based on the available resources and preset allocation rules to generate an initial resource allocation scheme, including:
[0160] If the monitoring results show that the fluctuation range of resource data is greater than the preset abnormal threshold, the education management group whose fluctuation range is greater than the preset abnormal threshold is identified as an abnormal group.
[0161] Obtain resource data for all neighboring groups of the abnormal group; and filter out available resources from the resource data; available resources are those that are idle, running normally, and match the required specifications;
[0162] Available resources are sorted according to preset resource priority rules to obtain resource sorting results;
[0163] Extract a preset number of available resources from the resource sorting results to form a subset of borrowable resources;
[0164] Based on resource subsets, resource allocation is performed on abnormal groups and neighboring groups according to preset rules to generate an initial resource allocation scheme.
[0165] In one embodiment, based on a resource subset, resource allocation is performed on abnormal groups and neighboring groups according to preset rules to generate an initial resource allocation scheme, including:
[0166] A distributed consensus algorithm is used to coordinate the allocation requests of abnormal groups and neighboring groups to obtain the allocation rules after consensus.
[0167] Based on the consensus-based allocation rules and resource subsets, determine the resource-related data obtained from each neighboring group; the resource-related data includes type, quantity, usage period, and restrictions.
[0168] The resource-related data are combined and processed to generate an initial resource allocation plan.
[0169] In one embodiment, if the initial resource allocation scheme does not cover all resource demands of the abnormal group due to resource anomalies, idle resources from neighboring groups are obtained; and the idle resources of neighboring groups and the resources in the initial resource allocation scheme are reallocated to obtain an optimized resource distribution map, including:
[0170] The resource requirements of abnormal groups due to resource anomalies are sorted out to generate a list of affected resource requirements; the list of affected resource requirements includes core business requirements, derivative requirements and compliance requirements.
[0171] Determine whether there are any items in the list of affected resource requirements that were not covered by the initial resource allocation plan, and obtain the determination result;
[0172] If the determination result is that there are entries in the list of affected resource requirements that are not covered by the initial resource allocation scheme, obtain the idle resources of the neighboring group; the idle resources are idle storage, spare computing power and idle network bandwidth that are not included in the resource subset;
[0173] The idle resources and the resources in the initial resource allocation plan are reallocated to obtain the resource distribution information after reallocation.
[0174] The redistributed resource distribution information is visualized to generate an optimized resource distribution map. The optimized resource distribution map includes the total amount of resources in the group, the amount allocated, the amount remaining, the resource flow direction, and the load status.
[0175] In one embodiment, based on the optimized resource distribution map and the current operating status of the scheduling center, it is determined whether the current scheduling center is unable to perform its scheduling duties normally, and the determination result is obtained, including:
[0176] Obtain the core operational metrics of the current dispatch center; these metrics include CPU utilization, memory usage, dispatch command response latency, number of fault alarms, and network connectivity.
[0177] Based on preset judgment rules and core operational indicators, it is determined whether the current dispatch center is unable to perform its dispatching duties normally, and the judgment result is obtained. The preset judgment rule is that if the number of core operational indicators that exceed the preset threshold for normal performance of dispatching duties is greater than the preset quantity threshold and the duration is greater than the preset time threshold, it is determined that the current dispatch center is unable to perform its dispatching duties normally.
[0178] In one embodiment, a computer device is provided, including a memory and a processor, the memory storing a computer program, the processor executing the computer program to implement the steps of the educational resource allocation and management method as described above.
[0179] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps in the above method embodiments.
[0180] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to in the description of the method embodiments. The device embodiments described above are merely illustrative. The components described as separate parts may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this disclosure according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0181] The above-described embodiments are merely illustrative of several implementation methods of the embodiments of this application, and their descriptions are relatively specific and detailed. However, they should not be construed as limiting the scope of the patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the embodiments of this application, and these modifications and improvements all fall within the protection scope of the embodiments of this application.
Claims
1. An educational resource allocation and management system, characterized in that, The system includes: The data monitoring module is used to monitor whether the fluctuation range of resource data in all education management groups exceeds the preset abnormal threshold and obtain the monitoring results. The initial resource allocation scheme generation module is used to obtain available resources of neighboring groups if the monitoring result shows that the fluctuation range of the resource data is greater than the preset anomaly threshold; and to perform resource allocation processing based on the available resources and preset allocation rules to generate an initial resource allocation scheme. An optimized resource distribution map generation module is used to obtain the idle resources of the neighboring groups if the initial resource allocation scheme does not cover all resource demands of the abnormal group due to resource anomalies; and to redistribute the idle resources and the resources in the initial resource allocation scheme to obtain an optimized resource distribution map. The scheduling center function judgment module is used to determine whether the current scheduling center is unable to perform its scheduling duties normally based on the optimized resource distribution map and the current operating status of the scheduling center, and to obtain the judgment result. The continuous execution path generation module for resource allocation is used to obtain a continuous execution path for resource allocation by performing resource allocation processing through a preset neighboring group scheduling center if the judgment result is that the current scheduling center cannot perform its scheduling duties normally.
2. The system according to claim 1, characterized in that, The continuous execution path generation module for resource allocation includes: The transfer control instruction generation unit is used to generate a transfer control instruction if the judgment result is that the current dispatch center cannot perform its dispatching duties normally; the transfer control instruction is used to instruct the dispatching control to be transferred to a preset neighboring group dispatch center; and to obtain a new dispatch center confirmation signal based on the transfer control instruction; The data integrity check unit is used to check whether the resource data after the transfer of scheduling control is complete based on the confirmation signal from the new scheduling center, and to obtain the check result. The resource status index update unit is used to update the resource status index of the abnormal group and the neighboring group based on the resource data after the transfer of scheduling control if the inspection result is that the resource data after the transfer of scheduling control is complete, so as to obtain the updated resource status index. The continuous execution path determination unit for resource allocation is used to determine the continuous execution path for resource allocation through the updated resource status index.
3. The system according to claim 1, characterized in that, The data monitoring module includes: The system operates a data acquisition unit, which collects operational data of the core resources of all education management groups according to a preset cycle. The core resources include storage resources, computing resources, data transmission resources, and access permission resources. The operational data includes remaining storage capacity, CPU utilization, data transmission rate, and access permission success rate. The fluctuation amplitude calculation unit is used to calculate the fluctuation amplitude of each of the said operating data using the following formula: Where F is the fluctuation range, S 当前 For the currently collected data, S 上 This is data from the previous collection period; The monitoring result generation unit is used to compare each fluctuation amplitude with the corresponding preset abnormal threshold to obtain a comparison result; and to summarize all the comparison results to form a monitoring result.
4. The system according to claim 1, characterized in that, The initial resource allocation scheme generation module includes: An abnormal group determination unit is used to determine an education management group whose fluctuation amplitude is greater than the preset abnormal threshold as an abnormal group if the monitoring result is that the fluctuation amplitude of the resource data is greater than the preset abnormal threshold. The available resource acquisition unit is used to acquire resource data of all neighboring groups of the abnormal group; and to filter out available resources from the resource data; the available resources are those that are idle, running normally, and matching the required specifications; The resource sorting unit is used to sort the available resources according to a preset resource priority rule to obtain a resource sorting result; The resource subset generation unit is used to extract a preset number of available resources from the resource sorting result to form a borrowable resource subset. The initial resource allocation scheme determination unit is used to perform resource allocation processing on the abnormal group and the neighboring group based on the resource subset and according to preset rules, and generate an initial resource allocation scheme.
5. The system according to claim 4, characterized in that, The initial resource allocation scheme determination unit includes: The allocation request processing unit is used to coordinate the allocation requests of the abnormal group and the neighboring group using a distributed consensus algorithm to obtain the allocation rules after consensus. The resource-related data acquisition unit is used to determine the resource-related data obtained from each of the neighboring groups based on the consensus-based allocation rules and the resource subsets; the resource-related data includes type, quantity, usage period, and restrictions; The initial resource allocation scheme generation unit is used to combine and process the resource-related data to generate an initial resource allocation scheme.
6. The system according to claim 1, characterized in that, The optimized resource distribution map generation module includes: The resource requirement list generation unit is used to sort out the resource requirements of the abnormal group due to resource anomalies and generate an affected resource requirement list; the affected resource requirement list includes core business requirements, derivative requirements and compliance requirements. The demand list analysis unit is used to determine whether there are any entries in the affected resource demand list that are not covered by the initial resource allocation scheme, and to obtain the determination result; An idle resource acquisition unit is used to acquire idle resources from the neighboring group if the determination result is that there are entries in the list of affected resource requirements that are not covered by the initial resource allocation scheme; the idle resources are idle storage, spare computing power and idle network bandwidth that are not included in the resource subset; The resource distribution information acquisition unit is used to reallocate the idle resources and the resources in the initial resource allocation scheme to obtain the reallocated resource distribution information. An optimized resource distribution map generation unit is used to visualize the redistributed resource distribution information and generate an optimized resource distribution map; the optimized resource distribution map includes the total amount of resources in the group, the amount allocated, the amount remaining, the resource flow direction, and the load status.
7. The system according to claim 1, characterized in that, The dispatch center function determination module includes: The core operation indicator acquisition unit is used to acquire the core operation indicators of the current scheduling center; the core operation indicators include CPU utilization, memory usage, scheduling instruction response latency, number of fault alarms, and network connectivity. The dispatch center function judgment unit is used to determine whether the current dispatch center is unable to perform its dispatch duties normally based on the preset judgment rules and the core operation indicators, and to obtain the judgment result. The preset judgment rule is that if the number of core operation indicators that exceed the preset threshold for normal performance of dispatch duties is greater than the preset quantity threshold and the duration is greater than the preset time threshold, it is determined that the current dispatch center is unable to perform its dispatch duties normally.
8. A method for allocating and managing educational resources, characterized in that, The method includes: Monitor whether the fluctuation range of resource data in all education management groups exceeds the preset abnormal threshold, and obtain the monitoring results; If the monitoring result indicates that the fluctuation range of the resource data is greater than a preset anomaly threshold, the available resources of the neighboring groups are obtained; and resource allocation is performed based on the available resources and preset allocation rules to generate an initial resource allocation scheme. If the initial resource allocation scheme does not cover all resource demands of the abnormal group due to resource anomalies, the idle resources of the neighboring groups are obtained; and the idle resources of the neighboring groups and the resources in the initial resource allocation scheme are redistributed to obtain an optimized resource distribution map. Based on the optimized resource distribution map and the current operating status of the scheduling center, it is determined whether the current scheduling center is unable to perform its scheduling duties normally, and the determination result is obtained. If the judgment result indicates that the current scheduling center cannot perform its scheduling duties normally, resource allocation is performed through the preset neighboring group scheduling centers to obtain a continuous execution path for resource allocation.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method of claim 8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the method of claim 8.