A data processing method and apparatus

By generating a structured set of constraint rules and constructing a hypergraph, the problems of data redundancy and low processing efficiency in cloud computing operations and maintenance are solved. Multi-dimensional and hierarchical data filtering is achieved, improving the accuracy of data acquisition and the real-time nature of operations and maintenance decisions.

CN123178679APending Publication Date: 2026-11-27LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In cloud computing operations and maintenance scenarios, existing technologies suffer from data redundancy and low processing efficiency during operations research and modeling, leading to resource waste and query response delays.

Method used

By generating a structured set of first constraint rules, a hypergraph is constructed and query instructions are generated, enabling multi-dimensional and hierarchical data filtering and avoiding data redundancy and inaccuracy caused by traditional SQL flat queries.

Benefits of technology

It improved the accuracy of data acquisition, reduced database I/O overhead and computing resource consumption, alleviated query response latency, and improved modeling efficiency and the real-time nature of cloud computing operation and maintenance decisions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123178679A_ABST
    Figure CN123178679A_ABST
Patent Text Reader

Abstract

The application provides a data processing method and device, the method comprises the following steps: obtaining a first constraint condition of a cloud computing resource model, processing the first constraint condition to generate a first constraint rule set; performing hypergraph construction on first data associated with a business requirement based on the first constraint rule set to obtain a hypergraph; the hypergraph comprises a plurality of hypervertices, level containing edges and constraint associated edges connected to the hypervertices, the hypervertices are used to represent resource entities at each level in the first data, the level containing edges are used to associate adjacent hypervertices to represent a hierarchical attribution relationship between the resource entities, and the constraint associated edges are used to associate constraint rules of different constraint categories to corresponding hypervertices to represent a restriction relationship of the constraint rules on the resource entities at the same level or across levels; generating a query instruction based on the first constraint rule set and the hypergraph, and performing traversal on the hypergraph based on the query instruction to obtain target data; and the target data is used to operate on the cloud computing resource model to obtain a cloud resource management strategy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and to, but is not limited to, a data processing method and apparatus. Background Technology

[0002] In cloud computing operations and maintenance scenarios, operations research modeling is a key technical means to achieve core business requirements such as resource scheduling and load balancing. Users output their business requirements in natural language, the system converts these requirements into an operations research model, and extracts the corresponding data to complete the model calculations.

[0003] To automate the acquisition of modeling data, relevant technologies typically employ a text-to-structured query language (SQL) approach. This involves transforming constraints to generate database query statements, and then retrieving the necessary data from a spatiotemporal database. However, this approach suffers from at least the problems of data redundancy and low processing efficiency. Summary of the Invention

[0004] Based on the problems existing in related technologies, this application provides a data processing method and apparatus.

[0005] The technical solution of this application embodiment is implemented as follows: In a first aspect, embodiments of this application provide a data processing method, the data processing method comprising: Obtain the first constraint of the cloud computing resource model, process the first constraint, and generate the first constraint rule set; the cloud computing resource model corresponds to the business requirements. Based on the first set of constraint rules, a hypergraph is constructed on the first data associated with business requirements to obtain the hypergraph. The hypergraph contains multiple hypervertices, as well as hierarchical inclusion edges and constraint association edges connecting the hypervertices. The hypervertices are used to represent resource entities at each level in the first data. The hierarchical inclusion edges are used to associate hypervertices of adjacent levels to represent the hierarchical belonging relationship between resource entities. The constraint association edges are used to associate constraint rules of different constraint categories to the corresponding hypervertices to represent the restriction relationship of constraint rules on resource entities at the same level or across levels. Query instructions are generated based on the first set of constraint rules and the hypergraph, and the hypergraph is traversed based on the query instructions to obtain target data; the target data is used to perform calculations on the cloud computing resource model to obtain the cloud resource management strategy corresponding to the business requirements.

[0006] Secondly, embodiments of this application provide a data processing apparatus, which includes: The acquisition module is used to obtain the first constraint of the cloud computing resource model; the cloud computing resource model corresponds to the business requirements. The first processing module is used to process the first constraint condition and generate the first constraint rule set; The construction module is used to construct a hypergraph based on the first set of constraint rules for the first data associated with business requirements. The hypergraph contains multiple hypervertices, as well as hierarchical inclusion edges and constraint association edges connecting the hypervertices. The hypervertices are used to represent resource entities at each level in the first data. The hierarchical inclusion edges are used to associate hypervertices at adjacent levels to represent the hierarchical relationship between resource entities. The constraint association edges are used to associate constraint rules of different constraint categories to the corresponding hypervertices to represent the restriction relationship of constraint rules on resource entities at the same level or across levels. The second processing module is used to generate query instructions based on the first set of constraint rules and the hypergraph. The third processing module is used to traverse the hypergraph based on query commands to obtain target data; the target data is used to perform calculations on the cloud computing resource model to obtain cloud resource management strategies corresponding to business requirements.

[0007] Thirdly, embodiments of this application provide a computer device, including: a memory for storing executable instructions; and a processor for implementing the above-described data processing method when executing the executable instructions stored in the memory.

[0008] Fourthly, embodiments of this application provide a computer-readable storage medium, characterized in that it stores executable instructions for causing a processor to execute the executable instructions to implement the above-described data processing method.

[0009] Fifthly, embodiments of this application provide a computer program product, characterized in that the computer program product includes executable instructions, which are stored in a computer-readable storage medium; when a processor reads the executable instructions from the computer-readable storage medium and executes the executable instructions, the above-described data processing method is implemented. Attached Figure Description

[0010] Figure 1 This is a schematic diagram of the structure of the computer device provided in the embodiments of this application; Figure 2 This is an optional flowchart illustrating the data processing method provided in the embodiments of this application. Figure 1 ; Figure 3 This is an optional flowchart illustrating the data processing method provided in the embodiments of this application. Figure 2 ; Figure 4 This is an optional flowchart illustrating the data processing method provided in the embodiments of this application. Figure 3 ; Figure 5This is an optional flowchart illustrating the data processing method provided in the embodiments of this application. Figure 4 ; Figure 6 This is an optional flowchart illustrating the data processing method provided in the embodiments of this application. Figure 5 ; Figure 7 This is an optional flowchart illustrating the data processing method provided in the embodiments of this application. Figure 6 ; Figure 8 This is a schematic diagram of the process between the modules provided in the embodiments of this application. Detailed Implementation

[0011] To more clearly illustrate the purpose, technical solutions, and advantages of the embodiments of this application, the embodiments of this application will be described in detail below with reference to the accompanying drawings. It should be understood that the following description of the embodiments is intended to explain and illustrate the overall concept of the embodiments of this application, and should not be construed as a limitation of the embodiments of this application. In the specification and drawings, the same or similar reference numerals refer to the same or similar parts or components. For clarity, the drawings are not necessarily drawn to scale, and some well-known parts and structures may be omitted from the drawings.

[0012] In some embodiments, unless otherwise defined, the technical or scientific terms used in the embodiments of this application shall have the ordinary meaning understood by one of ordinary skill in the art to which the embodiments of this application pertain. The terms "first," "second," and similar terms used in the embodiments of this application do not indicate any order, quantity, or importance, but are merely used to distinguish different components. The word "a" or "an" does not exclude multiple components. Terms such as "comprising" or "including" mean that the element or object preceding the word encompasses the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Terms such as "connected" or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," "right," "top," or "bottom" are used only to indicate relative positional relationships, and these relative positional relationships may change accordingly when the absolute position of the described object changes. When an element such as a layer, film, region, or substrate is referred to as being "above" or "below" another element, the element may be "directly" located "above" or "below" the other element, or there may be intermediate elements present.

[0013] In the field of cloud computing resource operation and maintenance, operations research modeling is a key technical means to achieve core operation and maintenance business requirements such as resource scheduling optimization and load balancing.

[0014] In related technologies, operations research modeling typically employs text-to-SQL conversion, directly transforming operations research constraints based on business needs or the operations research modeling problem into database query statements. Data is then extracted from a cloud computing spatiotemporal database to complete the extraction of input data for the operations research model. However, in these technologies, operations research constraints are simply converted into WHERE clauses in SQL, resulting in SQL queries that can only perform flat filtering and cannot perform multi-dimensional precise filtering. This leads to data redundancy and inaccurate data acquisition. Furthermore, queries involving redundant data consume significant amounts of storage input / output (I / O), network bandwidth, and computing resources, resulting in resource waste and query response delays. Simultaneously, redundant data causes a sharp expansion of the solution space of the operations research model, prolonging model solution time and reducing the real-time performance of cloud computing operations and maintenance decisions.

[0015] To address one or more problems existing in related technologies, embodiments of this application propose a data processing method. The process involves obtaining the first constraint condition of the cloud computing resource model, processing it to generate a first constraint rule set, and then constructing a hypergraph based on the first constraint rule set and the first data associated with the business requirements. The hypergraph contains multiple hypervertices, hierarchical inclusion edges, and constraint association edges connecting these hypervertices. Hypervertices represent resource entities at various levels in the first data, hierarchical inclusion edges connect adjacent hypervertices to represent the hierarchical relationship between resource entities, and constraint association edges connect constraint rules of different constraint categories to their corresponding hypervertices to represent the restriction relationship of constraint rules on resource entities at the same or different levels. A query instruction is generated based on the first constraint rule set and the hypergraph, and the hypergraph is traversed based on the query instruction to obtain target data. This target data is used to perform calculations on the cloud computing resource model to obtain the cloud resource management strategy corresponding to the business requirements.

[0016] This application embodiment reverse-parses the first constraint conditions corresponding to the cloud computing resource model into a structured and standardized set of first constraint rules, achieving standardized transformation and unified judgment benchmarks for hard constraints, and providing consistent execution rules for subsequent hypergraph construction and instruction query. Based on the first constraint rule set and first data, a hypergraph containing multi-level supervertexes, hierarchical contained edges, and constraint-related edges is constructed, integrating the hierarchical affiliation of resource entities with the constraint rules' restrictive relationships, overcoming the limitation of traditional graph structures that can only express binary relationships. When executing data acquisition, the query instructions generated by the first constraint rule set and the hypergraph are used, and the target data that meets all constraints is filtered out through a directional traversal of the hypergraph using the query instructions, achieving multi-dimensional and hierarchical precise filtering, effectively avoiding the problems of data redundancy and inaccurate data acquisition caused by traditional SQL planar queries. This method achieves deep integration of operations research constraints and data acquisition process, fundamentally reducing the generation of redundant data, improving the accuracy of data acquisition, reducing database I / O overhead, network bandwidth usage and computing resource consumption, and alleviating query response latency; in addition, the target data output to the cloud computing resource model eliminates a large amount of irrelevant and redundant data, compresses the model's solution space, shortens the model's solution time, and improves modeling efficiency and the real-time nature of cloud computing operation and maintenance decisions.

[0017] The processing methods provided in the embodiments of this application can be executed by any device, equipment, platform, or cluster of devices with computing and processing capabilities. For example, the method can be applied to a computer device or a cluster of computer devices. Figure 1 This is a schematic diagram of the structure of the computer device provided in the embodiments of this application. Figure 1 The computer device 10 shown may include at least one processor 110, memory 150, at least one network interface 120, user interface 130, and display screen 160. The various components of the computer device are coupled together via a bus system 140. It is understood that the bus system 140 is used to implement communication between these components. In addition to a data bus, the bus system 140 also includes a power bus, a control bus, and a status signal bus. However, for clarity, ... Figure 1 The general labeled all buses as Bus System 140.

[0018] The processor 110 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc.

[0019] User interface 130 includes one or more output devices 131 that enable the presentation of media content, and one or more input devices 132.

[0020] Memory 150 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard disk drives, optical disk drives, etc. Memory 150 may optionally include one or more storage devices physically located remote from processor 110. Memory 150 may include volatile memory or non-volatile memory, or both. Non-volatile memory may be read-only memory (ROM), and volatile memory may be random access memory (RAM). The memory 150 described in this application embodiment is intended to include any suitable type of memory. In some embodiments, memory 150 is capable of storing data to support various operations, examples of which include programs, modules, and data structures, or subsets or supersets thereof, as exemplified below.

[0021] Operating system 151 includes system programs for handling various basic system services and performing hardware-related tasks, such as the framework layer, core library layer, driver layer, etc., for implementing various basic business functions and handling hardware-based tasks; The network communication module 152 is used to reach other computing devices via one or more (wired or wireless) network interfaces 120, exemplary network interfaces 120 including: Bluetooth, WiFi, and Universal Serial Bus (USB), etc. The input processing module 153 is used to detect one or more inputs or interactions from one or more input devices 132.

[0022] In some embodiments, the data processing apparatus provided in this application may be implemented in software. Figure 1 A data processing device 154 stored in memory 150 is shown. This device can be software in the form of programs and plug-ins, and includes the following software modules: an acquisition module 1541, a first processing module 1542, a construction module 1543, a second processing module 1544, and a third processing module 1545. These modules can be logically linked and therefore can be arbitrarily combined or further divided according to the functions they implement. The functions of each module will be described below.

[0023] In other embodiments, the apparatus provided in this application can also be implemented in hardware. As an example, the apparatus provided in this application can be a processor in the form of a hardware decoding processor, which is programmed to execute the processing method provided in this application. For example, the processor in the form of a hardware decoding processor can be one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.

[0024] Before providing a detailed description of the technical solutions provided in the embodiments of this application, the cloud computing resource architecture to which the data processing method provided in the embodiments of this application is applicable will be described by way of example.

[0025] Cloud computing resource architecture is a multi-level resource organization system in a cloud computing environment, divided from top to bottom according to physical deployment scope, logical ownership, and resource granularity. It is the basic architecture for realizing cloud computing resource scheduling and operation and maintenance management. According to service models, cloud computing can include various modes such as Infrastructure as a Service (IaaS), Platform as a Service (PaaS), and Software as a Service (SaaS). The granularity of resource layer division and architectural form differ for different service models.

[0026] Taking the IaaS scenario as an example, its corresponding cloud computing resource architecture, from top to bottom, can include the Data Center (DC) layer, the Host layer, and the Virtual Machine (VM) layer. In actual deployment scenarios, this architecture can also include more layers from top to bottom, such as the Data Center layer, Availability Zone layer, Cluster layer, Host layer, and VM layer. With technological advancements, this architecture can also be expanded to include resource entities at other levels, which this application does not specifically limit. It should be noted that the resource entities at each level in the above multi-level architecture have a hierarchical relationship, with lower-level resource entities belonging to higher-level resource entities, forming a tree-like hierarchical structure.

[0027] The technical solution of this application will now be described in detail with reference to the accompanying drawings.

[0028] This application provides a data processing method, such as... Figure 2 As shown, the execution subject of this data processing method is a computer device. The data processing method provided in this application embodiment can be implemented through steps S201 to S203: S201: Obtain the first constraint condition of the cloud computing resource model, process the first constraint condition, and generate the first constraint rule set.

[0029] Among them, the cloud computing resource model corresponds to business needs.

[0030] In this embodiment, the business requirements can be resource management objectives proposed by the business side in a cloud computing operation and maintenance scenario. These scenarios include, but are not limited to, resource scheduling, load balancing, fault avoidance, and capacity planning. Resource management objectives include, but are not limited to, resource scheduling optimization, load balancing, virtual machine scaling up / down, resource quota management, and resource cost management. The business requirements serve as the basis for constructing the cloud computing resource model and determining its objective function and constraints.

[0031] A cloud computing resource model can be an operations research model constructed to correspond with business needs. This model is built upon business requirements, including objective functions and initial constraints generated from business objectives such as cloud resource scheduling optimization, load balancing, capacity control, and cost control. These functions are used to perform computational processing based on input resource data, ultimately outputting cloud resource management strategies adapted to business needs. It should be noted that the cloud computing resource model is not a general, fixed model, but rather dynamically constructed or adjusted according to the current business needs to be processed. Its objective function and initial constraints are all determined based on these business needs. The generation of the objective function and initial constraints of the cloud computing resource model can be achieved through existing technical solutions, which will not be specifically described in this embodiment.

[0032] Here, the first constraint can be an initial constraint set for the cloud computing resource model based on the user's input business requirements. It is used to characterize various restrictions that need to be met during the model's operation. The first constraint can exist in the form of natural language or semi-structured text, such as reducing the resource pressure on high-load hosts or optimizing VM resources for core business in the DC1 region.

[0033] Here, the first constraint rule set can be a standardized set of constraint rules with a standardized key-value structure, which can be converted into a precise query statement, obtained by reverse parsing the first constraint conditions. Reverse parsing includes, but is not limited to, one or more of the following: constraint condition classification, fuzzy semantic quantization, constraint category priority determination, and format conversion. After parsing, the first constraint rule set contains multiple first constraint rules, each carrying corresponding rule parameter information or attribute information, which can be used for subsequent filtering operations on information such as supervertexes and layer-containing edges.

[0034] In some embodiments, the first constraint rule set includes constraint rules of multiple constraint categories, including but not limited to spatial constraints, business constraints, load constraints, and time constraints. Spatial constraints define the spatial architecture range of the resource; business constraints define the importance of the business, such as core and non-core businesses; load constraints define the load on the resource; and time constraints define the time window for resource scheduling and computation. Different categories of constraint rules correspond to different filtering logics and modes of action.

[0035] In some embodiments, the first constraint rule set supports various preset output formats, including but not limited to JSON, XML, etc., to adapt to the input requirements of the rule base corresponding to the subsequent hypergraph and query commands.

[0036] In this embodiment, a cloud computing resource model corresponding to the current business requirements is first generated, and the first constraint condition corresponding to the cloud computing resource model is read. Then, the first constraint condition is parsed to obtain a structured and standardized set of first constraint rules. In this way, the original constraint condition is transformed into standardized rules, providing a unified and standardized rule basis for subsequent hypergraph construction and instruction query, which can effectively improve the accuracy of constraint selection and the efficiency of model operation.

[0037] S202, based on the first set of constraint rules, construct a hypergraph for the first data associated with business requirements to obtain the hypergraph.

[0038] The hypergraph contains multiple hypervertices, as well as hierarchical inclusion edges and constraint association edges connecting the hypervertices. Hypervertices are used to represent resource entities at each level in the first data. Hierarchical inclusion edges are used to associate hypervertices at adjacent levels to represent the hierarchical affiliation between resource entities. Constraint association edges are used to represent the restriction relationship of constraint rules of different constraint categories on resource entities at the same level or across levels after they are associated with the corresponding hypervertices.

[0039] It is understood that resource data in a cloud computing spatiotemporal database has hierarchical characteristics, with different levels corresponding to resource objects and business management dimensions of different granularities. Based on this hierarchical characteristic, the first data used for hypergraph construction in this application embodiment can be flexibly selected according to actual business needs, including but not limited to the following situations: the first data can be all the original data corresponding to all levels in the cloud computing spatiotemporal database; the first data can also be some or all of the data corresponding to some levels in the cloud computing spatiotemporal database that are directly related to business needs; and the first data can also be part of the data corresponding to at least one level among all levels in the cloud computing spatiotemporal database that are directly related to business needs.

[0040] Here, the first data is the source dataset associated with the business requirements to be processed. It gathers various business parameters, resource description information, business constraints, resource ownership relationships and other original information input from the business side. It is the input source data for hypergraph modeling. The first data covers resource description information at different levels and carries all resource dimension information corresponding to the business requirements.

[0041] Here, the resource entities at each level in the first data are resource objects with independent business meanings described within the first data. They can be divided into multiple levels according to their logical hierarchy, for example, including data centers (DCs), physical hosts (Hosts), virtual machines (VMs), and storage instances. Each resource entity has its own entity identifier, attribute parameters, ownership relationships, and other business attributes, and is the core modeling object of HyperGraph modeling.

[0042] It should be noted that there are hierarchical relationships such as ownership and subordination between resource entities at different levels. For example, a physical host belongs to a certain data center, and a virtual machine is deployed on a certain physical host. Each resource entity can be mapped to the hypergraph in the form of a hypervertex.

[0043] In some embodiments, since resource entities at different levels correspond to different business management dimensions, the entity attributes corresponding to resource entities at different levels are at least partially different.

[0044] In one implementation, taking the cloud computing resource architecture corresponding to IaaS as an example, this architecture includes three layers: the data center (DC) layer, the physical host (Host) layer, and the virtual machine (VM) layer. Correspondingly, the first data can include core data corresponding to different layers, such as DC data for the DC layer, Host data for the Host layer, and VM data for the VM layer. Specifically, DC data includes entity attributes of resource entities located in the DC layer, including but not limited to data fields such as DC identifier, region location, operation and maintenance level, total Central Processing Unit (CPU) capacity, total memory capacity, and running status; Host data includes entity attributes of resource entities located in the Host layer, including but not limited to data fields such as Host identifier, DC identifier, CPU configuration, memory configuration, real-time CPU load, real-time memory load, running status, and deployment time; VM data includes entity attributes of resource entities located in the VM layer, including but not limited to data fields such as VM identifier, Host identifier, business type (core business / non-core business), CPU usage, memory usage, runtime segment, priority, and region.

[0045] In some embodiments, after obtaining the first data, the first data can be preprocessed to provide high-quality data for the construction of the hypergraph. Preprocessing includes, but is not limited to, removing invalid data, duplicate data, and supplementing missing attributes. For example, invalid data includes data with missing identifiers, abnormal attributes, etc. For supplementing missing attributes, the identifier of the upper-level resource entity to which the current-level data belongs can be used to fill in the corresponding regional attribute information for the lower-level resource entity. For example, the regional attributes of virtual machines (VMs) deployed on the host can be filled in based on the data center (DC) identifier to which the host belongs.

[0046] In this embodiment of the application, the hypergraph can be composed of hypervertices and hyperedges connecting the hypervertices.

[0047] In this context, a supervertex is a basic node in the hypergraph. Supervertexes are used to represent resource entities at various levels in the first data, and each resource entity is mapped to a supervertex.

[0048] Hyperedges include hierarchical containment edges and constraint association edges, which together constitute the association relationships between hypervertices in the hypergraph.

[0049] Here, the hierarchical containment edge adopts a multi-vertex association form to represent the ownership, subordination or containment relationship between resource entities at adjacent levels. For example, the hierarchical membership relationship between DC and Host, and between Host and VM can be represented by the hierarchical containment edge. Specifically, a DC contains multiple Hosts, and a Host contains multiple VMs. The hierarchical containment edge associates the above-mentioned multiple supervertices with containment relationship into the same superedge.

[0050] Here, constraint association edges are constructed based on the first constraint rule set and hierarchical containment edges. They are used to associate supervertices corresponding to the same or different levels to impose constraint rules on those supervertices. The first constraint rule set includes constraint rules for multiple constraint categories, such as spatial constraints, business constraints, load constraints, and time constraints. For each constraint rule category, the corresponding constraint association edge represents the association relationship formed between resource entities and their corresponding supervertices after the constraint rule is associated with the corresponding supervertices and imposes restrictions on resource entities at the same or different levels. For example, for a constraint rule corresponding to a spatial constraint, the constraint rule can be bound to the DC supervertices and their subordinate Host and VM supervertices connected by the hierarchical containment edges to obtain spatial constraint association edges, thereby representing the spatial restriction relationship of the spatial constraint rule on resource entities at each level of DC, Host, and VM. In this way, by binding constraint rules to the set of hypervertices associated with the edges contained in the hierarchy, the constraint rules and the resource hierarchy data structure are deeply integrated, so that the hypergraph not only carries the hierarchical ownership information of resource entities, but also embeds the restriction relationship of business constraints, providing a unified structured foundation for subsequent constraint verification and resource scheduling based on the hypergraph.

[0051] In this embodiment, a hypergraph containing multi-level hypervertices and dual-type hyperedges is constructed based on the first set of constraint rules and the first data associated with business requirements. This achieves a complete and three-dimensional representation of the cloud computing resource model, integrating resource entities, hierarchical relationships, and constraints. The hypergraph not only accurately reflects the hierarchical relationships of resource entities but also deeply embeds constraints or constraint rules into the data structure through constraint-related edges. This makes constraints no longer externally added filtering conditions but part of the data structure itself. This greatly enhances the accuracy and efficiency of data filtering, avoiding the redundancy problems caused by flat filtering in traditional SQL queries.

[0052] S203, generate a query instruction based on the first set of constraint rules and the hypergraph, and traverse the hypergraph based on the query instruction to obtain the target data.

[0053] The target data is used to perform calculations on the cloud computing resource model to obtain cloud resource management strategies corresponding to business needs.

[0054] In this embodiment, the query instruction is a specific operation instruction generated based on the first constraint rule set and the hypergraph, used to traverse the hypergraph and filter target data. The query instruction is directly mapped to the traversal logic of the hypergraph, without the need for SQL semantic parsing, which significantly improves the efficiency and accuracy of data filtering.

[0055] In this embodiment, the target data can be a dataset that meets all constraints and can be used for subsequent cloud computing resource model calculations after hypergraph traversal and filtering. The target data has high relevance and low redundancy, ensuring that the cloud computing resource model solving process is efficient and accurate.

[0056] In this embodiment, the cloud resource management strategy can be a strategy scheme for resource allocation, resource scheduling, resource control and load balancing in a cloud computing resource operation and maintenance scenario, oriented towards business needs and under the premise of satisfying multi-level constraint rules; it is the solution result output by the cloud computing resource model after constraint solving and optimization operation based on target data, which is used to directly guide the actual control and scheduling execution of cloud resources.

[0057] In this embodiment, query instructions generated using a first set of constraint rules and a hypergraph are utilized. These instructions are then used to traverse the hypergraph in a targeted manner to filter out target data that meets all constraints. This achieves multi-dimensional, hierarchical, and precise filtering, effectively avoiding the data redundancy and inaccurate data acquisition problems associated with traditional flat SQL queries. Simultaneously, it achieves deep integration of operations constraints and the data acquisition process, fundamentally reducing the generation of redundant data, improving the accuracy of data acquisition, reducing database I / O overhead, network bandwidth usage, and computing resource consumption, and alleviating query response latency. Furthermore, the target data output to the cloud computing resource model eliminates a large amount of irrelevant and redundant data, compressing the model's solution space, shortening model solution time, and improving modeling efficiency and the real-time nature of cloud computing operation and maintenance decisions.

[0058] In some embodiments, in order to standardize operations research constraints, such as Figure 3 As shown, the generation of the first constraint rule set in step S201 can be achieved through steps S301 to S303: S301, the first constraint is analyzed and classified to obtain the second constraint with different execution characteristics.

[0059] Among them, the constraints with different execution characteristics include constraints of different constraint categories.

[0060] In this embodiment, parsing and classifying the first constraint can be achieved by performing a reverse parsing of the first constraint in a first dimension, which can classify the first constraint into constraints of different constraint categories, where the first dimension is the constraint category. Further, based on the constraint categories corresponding to each constraint included in the first constraint, the first constraint is classified in a second dimension to obtain second constraints with different execution characteristics, where the second dimension is the execution characteristic. For example, the constraints of different constraint categories included in the first constraint are divided into three categories according to their execution characteristics: explicit filterable constraints, fuzzy constraints, and non-filterable logical constraints, thereby obtaining second constraints with different execution characteristics. It should be noted that the execution characteristics of the three types of constraints are different, and the constraint categories included in the second constraints of each execution characteristic do not overlap.

[0061] Here, explicit filterable constraints can be clear conditions that can be directly converted into SQL WHERE clauses. Their constraint semantics are clear, their filtering boundaries are defined, and they can be directly used for data filtering. Explicit filterable constraints include, but are not limited to, constraints corresponding to spatial constraints and constraints corresponding to business constraints; for example, constraints corresponding to the DC1 region and constraints corresponding to the core business VM can both be directly converted into SQL WHERE clauses to perform data filtering.

[0062] Here, fuzzy constraints can be descriptive conditions with ambiguous semantics but valuable filtering capabilities. Their semantics are fuzzy and require threshold parsing or semantic normalization before they can be used for data filtering. Fuzzy constraints include, but are not limited to, load constraints and time constraints. For example, constraints corresponding to high-load hosts or peak business periods require further clarification of the load threshold for "high load" and the time range for "peak business periods" before they can be transformed into executable filtering conditions.

[0063] Here, non-filtering logical constraints can be conditions used for modeling operations without participating in data filtering. Their role is to constrain the logical relationships and operational boundaries during the modeling process, rather than being used as data filtering conditions. Non-filtering logical constraints include, but are not limited to, capacity constraints and resource allocation constraints; for example, the constraint that the total resource allocation is less than or equal to the Host resource limit is used to constrain the total upper limit of resource allocation in modeling operations and does not participate in data filtering.

[0064] In one implementation, when a user requests optimization of VM resource scheduling for core business in the DC1 region, the first constraint is analyzed and categorized. The DC1 region is identified as an explicit spatial constraint, the core business as an explicit business constraint, reducing the resource pressure on high-load hosts as a fuzzy load constraint, and completing adjustments during peak business periods as a fuzzy time constraint. Thus, by classifying the first constraint according to execution characteristics, differentiated hierarchical processing of constraints can be achieved. Explicit constraints are used for precise pre-processing of data, reducing redundant data inflow into the modeling process from the source; fuzzy constraints can achieve targeted filtering through semantic parsing, balancing the flexibility of business semantics with the relevance of data filtering; logical constraints act independently on the modeling stage, ensuring the integrity of the computational rules. This classification method improves both the accuracy of data acquisition and the efficiency of modeling, and also ensures the rationality of the subsequent operational research model solution.

[0065] In some embodiments, in order to accurately classify the initial constraints included in the first constraint to obtain second constraints with different execution characteristics, feature word matching can be performed using a standard constraint knowledge base. Specifically, step 301 can be implemented through the following process: Step A1: Match the standard feature words of at least one constraint category in the standard constraint knowledge base with the feature words in the first constraint condition to obtain the matching result.

[0066] In this embodiment, the standard constraint knowledge base may include a pre-built standardized constraint feature library associated with the cloud computing operations and maintenance field, which includes feature word libraries corresponding to different constraint categories such as spatial constraints, time constraints, load constraints, business constraints, and logical constraints. For example, the spatial constraint feature word library includes, but is not limited to, standard feature words such as DC, region, and cluster; the load constraint feature word library includes, but is not limited to, standard feature words such as high load, low occupancy, and resource threshold; and the time constraint feature word library includes, but is not limited to, standard feature words such as peak, time period, and time period range. It can be understood that this standard constraint knowledge base supports dynamic updates and can be continuously supplemented and optimized according to newly emerging constraint semantics or changes in operations and maintenance scenarios.

[0067] Feature word matching can be a process of segmenting and semantically extracting the first constraint to obtain the feature words to be matched, and then performing string matching and semantic similarity calculation on these feature words with the standard feature words in the standard constraint knowledge base. This process is used to determine the constraint category corresponding to the constraint to be parsed. For example, when the first constraint is "host load is too high", the standard feature word "high load" in the standard constraint knowledge base can be matched, and this standard feature word can be classified into the load constraint category.

[0068] The matching result can be a structured result output after feature matching is completed, which is used to support the classification, parsing and quantification of subsequent constraints. The matching result includes, but is not limited to, the corresponding constraint category, the correspondence of feature words and the matching confidence. The matching confidence can be determined based on semantic similarity and / or string matching degree.

[0069] In this embodiment, standard feature words corresponding to at least one constraint category in the standard constraint knowledge base are used for feature matching with feature words to be matched extracted from the first constraint condition. This method enables automatic identification and classification of constraints, replacing the traditional manual rule configuration process, significantly improving constraint parsing efficiency, and adapting to diverse constraint needs in large-scale cloud computing operation and maintenance scenarios. Simultaneously, unified matching based on a standardized feature word library ensures compatibility with differences in user expressions, guarantees consistent constraint classification standards, and improves the accuracy and stability of constraint classification.

[0070] Step A2: Replace the feature words in the first constraint that satisfy the matching condition with the standard feature words of the corresponding constraint category.

[0071] Step A3: According to the standard feature words of each constraint category, classify the first constraint conditions corresponding to each constraint category to obtain the second constraint conditions with different execution characteristics.

[0072] In this embodiment, after obtaining the matching result, if the matching confidence score is greater than the matching confidence score threshold (e.g., 0.8), it is determined that the matching result meets the matching condition. At this time, based on the correspondence of feature words in the matching result, the feature words to be matched in the first constraint condition can be replaced with standard feature words of the corresponding constraint category. Further, according to the standard feature words of each constraint category, the first constraint conditions corresponding to each constraint category are classified to obtain second constraint conditions with different execution characteristics, such as explicit filterable constraint conditions, fuzzy constraint conditions, and non-filterable logical constraint conditions. Thus, by filtering out mismatched results through matching conditions and combining the clear category attribution of standard feature words, constraint classification errors are reduced, improving the accuracy of subsequent constraint condition hierarchical processing and data filtering, and reducing redundant data flowing into the modeling process from the source.

[0073] In some implementations, after obtaining second constraints with different execution characteristics, key information of various second constraints can be extracted and represented in the form of key-value pairs. For example, explicit filterable constraints represented in key-value pair form can be "Spatial: DC1 region; Business: core business virtual machine VM", fuzzy constraints represented in key-value pair form can be "Load: high-load host; Time: peak business period", and non-filterable logical constraints represented in key-value pair form can be "Total resource allocation ≤ Host resource limit".

[0074] S302, based on the modeling objectives and screening efficiency of the cloud computing resource model, sort the constraints of different constraint categories in all second constraints to determine the priority of constraint categories.

[0075] It is understandable that the modeling objective can be the user intent identified based on business needs, and the cloud computing resource model corresponds to the modeling objective. Based on the modeling objective, key constraints that users care about can be determined, such as spatial constraints; therefore, key constraints usually take precedence over non-key constraints in terms of execution order, for example, spatial constraints usually take precedence over load constraints.

[0076] Here, filtering efficiency can refer to the filtering ability of constraints in data filtering, that is, after filtering by the constraint, the filtering range is as small as possible and the obtained data is as concise as possible; for example, spatial constraints can significantly reduce the search range and have high filtering efficiency.

[0077] In this embodiment, based on the importance of the modeling objectives of the cloud computing resource model and the data filtering efficiency, the constraints included in the second constraint conditions with different execution characteristics are sorted according to constraint categories to obtain constraint category priorities. For example, the priority of constraint categories, from high to low, can be spatial constraints, business constraints, time constraints, and load constraints. Thus, by dynamically determining constraint category priorities by combining modeling objectives and filtering efficiency, intelligent sorting of constraints is achieved. This ensures that the filtering process follows the principle of coarse filtering followed by fine filtering, minimizing invalid traversal, thereby significantly improving data acquisition efficiency and reducing database query load.

[0078] In some embodiments, to improve data filtering efficiency, before sorting the constraints of different constraint categories in all second constraints, logical deduplication can be performed on all second constraints to eliminate duplicate or logically contradictory constraints. For example, when mutually exclusive spatial constraints such as "DC1 region" and "DC2 region" exist simultaneously, the user can be prompted for confirmation, or core constraints can be retained based on the priority rules of the modeling objective. Thus, through logical deduplication, redundant constraints can be eliminated, the constraint set can be simplified, the computational overhead of subsequent data filtering and modeling operations can be reduced, and the overall processing efficiency can be improved. Simultaneously, logical conflicts between constraints can be identified and resolved in advance, preventing operational model failures or deviations from business objectives due to mutual constraint exclusivity, ensuring the feasibility and accuracy of the model solution.

[0079] In some embodiments, because the second constraint contains a large number of semantically ambiguous expressions, such as "reduce the resource pressure on high-load hosts," during text-to-SQL conversion, to avoid missing potential data, the SQL query often expands the query scope, retrieving all the related data corresponding to the ambiguous constraints from the database at once. This results in a large amount of irrelevant data being extracted, causing severe data redundancy. Therefore, before executing step S302, the following process can also be performed: Using a cloud computing quantization rule base, the second constraint with the first execution characteristic is quantified to obtain the quantized second constraint with the first execution characteristic; wherein, all second constraints include the quantized second constraint with the first execution characteristic, and the cloud computing quantization rule base contains the mapping relationship between fuzzy semantics and quantization indicators, as well as the matching relationship between quantization threshold and modeling scenario when establishing mathematical model.

[0080] In this embodiment, the first execution characteristic can be fuzzy semantics. Fuzzy semantics can be natural language descriptions in the second constraint that are imprecise and difficult to directly convert into numerical or logical conditions. For example, expressions such as high-load host, peak business hours, and high resource pressure belong to fuzzy semantics. Although this type of semantics expresses the operation and maintenance goal, it lacks clear numerical boundaries or judgment criteria, which often leads to an expanded query scope in traditional data acquisition processes, thereby introducing a large amount of redundant data. To address this, this embodiment constructs a cloud computing quantitative rule base to automatically quantify the second constraint with the first execution characteristic, obtaining the quantified second constraint with the first execution characteristic. The cloud computing quantitative rule base can be constructed through training with historical operation and maintenance data and the accumulation of expert experience.

[0081] In this embodiment of the application, the cloud computing quantization rule includes two key mapping mechanisms: the mapping relationship between fuzzy semantics and quantization indicators, and the matching relationship between the quantization threshold and the modeling scenario when the mathematical model is established.

[0082] The mapping relationship between fuzzy semantics and quantitative indicators can be used to map vague and subjective descriptions in natural language to specific, quantifiable basic indicators. For example, high load can be mapped to basic indicators such as CPU utilization and memory utilization; peak periods can be mapped to basic indicators such as specific time periods per day (e.g., 8:00-20:00) or time windows expressed in minutes (e.g., 480-1200 minutes). This mapping relationship is supported by a cloud computing quantitative rule base to ensure the rationality and professionalism of the mapping.

[0083] The matching relationship between the quantification threshold and the modeling scenario when establishing the mathematical model can be achieved by dynamically selecting or adjusting the threshold of the quantification indicator based on the current operational modeling objectives and the cloud computing resource operation and maintenance scenario. For example, in a resource scheduling scenario, the threshold for high load indicators may be set higher (e.g., 80%) to focus on hosts that are truly under heavy pressure; while in a fault avoidance scenario, the threshold may be set lower (e.g., 70%) to provide early warning of potential risks. Simultaneously, this matching relationship also considers the impact of explicit filterable constraints, such as the specific threshold standard for high load indicators being jointly determined by the DC1 region and core business.

[0084] In this embodiment, after constructing a cloud computing quantization rule base that includes the mapping relationship between fuzzy semantics and quantization indicators, as well as the matching relationship between quantization thresholds and the modeling scenario when establishing the mathematical model, the second constraint with fuzzy semantic characteristics is quantified using the cloud computing quantization rule base to obtain the quantified second constraint with fuzzy semantic characteristics. This allows for precise and dynamic quantification of constraints with fuzzy semantics as a specific execution characteristic, ensuring a high degree of fit between the data filtering rule system and specific modeling needs, thereby improving the targeting of data acquisition and the reliability of modeling results.

[0085] In some embodiments, during the quantification of a second constraint with a first execution characteristic, if there are fuzzy semantics not covered by the cloud computing quantification rule base, the cloud computing quantification rule base update mechanism is automatically triggered, and a temporary quantification standard is generated by combining real-time operation and maintenance data and synchronized to the cloud computing quantification rule base for subsequent reuse.

[0086] Here, generating temporary quantitative standards by combining real-time operation and maintenance data can be achieved in the following way: The first step is to use a sliding time window to continuously collect real-time cloud computing operation and maintenance data within the window.

[0087] Here, the length of the sliding time window is configurable. For example, the window duration can be 1 hour (hour, h), and the sliding step can be 10 minutes (minute, min). It should be noted that the sliding time window updates according to the sliding step, avoiding the use of infinitely growing historical data and ensuring that the quantification standard fits the current business conditions.

[0088] The second step is to preprocess the operation and maintenance data in the window to obtain preprocessed operation and maintenance data.

[0089] Here, preprocessing includes, but is not limited to, removing outliers from operation and maintenance data and supplementing missing operation and maintenance data.

[0090] In one feasible scenario, outlier removal in operational data can be achieved by identifying outliers using the Interquartile Range (IQR), where Q1 is the lower quartile and Q3 is the upper quartile, and IQR = Q3 - Q1. Outliers outside the range [Q1 - 1.5] are removed. IQR, Q3+1.5 Data from IQR is identified as outliers and removed from subsequent statistical calculations; normal business fluctuation data is retained.

[0091] The third step is to determine whether the amount of preprocessed operation and maintenance data in the current window is less than the minimum amount of operation and maintenance data.

[0092] Here, if the number of preprocessed maintenance data points in the current window is less than the minimum number of maintenance data points, the generation of temporary quantization standards is paused, and data collection continues until the number of preprocessed maintenance data points is greater than or equal to the minimum number of maintenance data points; this prevents a small amount of noisy data from distorting the quantization standards. Example: Minimum number of maintenance data points ≥ 200.

[0093] The fourth step involves calculating temporary quantitative standards based on the preprocessed operation and maintenance data, using preset statistical indicators and preset thresholds. These temporary quantitative standards include temporary quantitative indicators and temporary quantitative thresholds.

[0094] In a feasible scenario, if the constraint is "high response latency of cloud computing resources," fuzzy semantic quantization can be used. The temporary quantization index can be the 95th percentile (P95) response latency of the valid samples within the window. The temporary quantization threshold can be obtained using the formula Th... temp =µ+k σ is obtained, where µ is the mean of the preprocessed operation and maintenance data within the window, σ is the standard deviation of the preprocessed operation and maintenance data within the window, and k is the confidence coefficient, which can be 1.65, corresponding to a 95% confidence level. Thus, the temporary quantization index and the temporary quantization threshold are used as temporary quantization standards. Therefore, when the resource response latency > the temporary quantization threshold, the constraint condition is determined to be triggered.

[0095] The fifth step is to verify the temporary quantification standard. After determining the verification conditions, the temporary quantification standard is synchronized to the cloud computing quantification rule library. The rule can be reused directly when encountering the same fuzzy semantic scenario in the future.

[0096] Here, the verification conditions include one or more of the following: The number of preprocessed operation and maintenance data is greater than or equal to the minimum number of operation and maintenance data. For example, the number of preprocessed operation and maintenance data is ≥200. The percentage of outliers is less than the preset upper limit; for example, the percentage of outliers is ≤5%. The confidence level of the provisional quantification standard is greater than or equal to the preset confidence threshold. For example, the confidence level of the provisional quantification standard is greater than or equal to 90%. There are no conflicting rules within the same business domain or with the same execution characteristics.

[0097] In some implementations, when temporary quantification standards are synchronized to the rule base, one or more of the following information can be added: rule ID, source tag (automatically generated temporary rule), applicable business scope, effective time, validity period, and expiration recovery policy; temporary rules that have exceeded their validity period are automatically marked as pending review, and are removed from the rule base if the review fails. For example, a rule is set to have a validity period of 30 days, and will be automatically reviewed upon expiration.

[0098] Based on the above embodiments, for fuzzy constraint semantics not covered by the cloud computing quantification rule base, an automatic rule update mechanism is triggered. Operational and maintenance data is collected through a sliding time window, preprocessed, and then validated for validity. Based on the indicator distribution characteristics, corresponding statistical indicators are selected to generate temporary quantification standards. These temporary quantification standards undergo multi-condition validation before being added to the database for reuse, and a review and invalidation mechanism is configured. This addresses the issues of insufficient coverage of static quantification rules and the lag in manual configuration, improves the reliability of fuzzy constraint quantification results, adapts to the distribution characteristics of different types of operational and maintenance indicators on the cloud platform, reduces manual operational and maintenance costs, maintains the stability of the rule base, enhances the automation level of constraint quantification, achieves automatic fuzzy semantic quantification, and expands the coverage of the rule base.

[0099] In some embodiments, the second constraint with a first execution characteristic is quantized using a cloud computing quantization rule base to obtain the quantized second constraint with the first execution characteristic. This can be achieved through the following process: For each second constraint with a first execution characteristic, the fuzzy semantics in the second constraint with the first execution characteristic are semantically matched with the quantification indicators in the cloud computing quantification rule base to determine the basic quantification indicators of the fuzzy semantics; the basic quantification indicators include basic indicators and corresponding quantification thresholds; the modeling scenario of the cloud computing resource model is determined, and based on the modeling scenario, the quantification thresholds of each basic indicator are adjusted to obtain the quantified second constraint with the first execution characteristic.

[0100] In this embodiment, the semantic matching process can be implemented using natural language processing algorithms such as feature word matching and semantic similarity calculation. First, the fuzzy semantics in the second constraint are identified. Then, the quantization index that best matches the fuzzy semantics is searched in the cloud computing quantization rule base, thereby obtaining the basic quantization index corresponding to the fuzzy semantics. The basic quantization index consists of two parts: one is the basic index, such as specific measurable parameters like CPU load, memory load, and runtime segment; the other is the quantization threshold corresponding to the basic index, such as numerical boundaries like CPU load ≥ 80%, memory load ≤ 85%, and runtime segment ∈ [480, 1200].

[0101] In this embodiment, the modeling scenario can be the specific operational environment or business background in which the current operations research modeling task takes place, typically defined by explicit filterable constraints (such as spatial constraints and business constraints). For example, the modeling scenario for the core business of the DC1 region focuses on core business-related resources located within data center DC1, rather than global or non-core business resources. Determining the modeling scenario helps the modeling system understand the context of relevant constraints with specific execution characteristics, thereby enabling more accurate quantification threshold adjustments.

[0102] In this embodiment, the adjustment of the quantization threshold can be a process of finely refining the numerical boundaries of basic quantification indicators based on the modeling scenario. Since the same fuzzy semantics may correspond to different reasonable thresholds in different scenarios, it is necessary to adapt it to the specific modeling scenario. For example, a high-load host may be defined as CPU load ≥80% in core business scenarios, while in non-core business scenarios, the CPU load may be relaxed to ≥70% to balance resource utilization and system stability.

[0103] In one implementation, taking the first constraint of reducing resource pressure on high-load hosts and optimizing VM resources for core business in DC1 region as an example, the second constraint with the first execution characteristic can be a fuzzy constraint of "high-load Host" and a fuzzy constraint of "peak business hours". For the fuzzy constraint of "high-load Host", based on the cloud computing quantitative rule library, quantitative indicators corresponding to high-load hosts are found from the mapping relationship between fuzzy semantics and quantitative indicators. For example, the basic indicators are CPU load and memory load, and the quantitative threshold can be a preset threshold, such as average CPU load ≥ 75% or memory load ≥ 80%. Further, the modeling scenario of the cloud computing resource model is determined. For example, if the modeling scenario is "core business in DC1 region", the quantitative threshold is adjusted to average CPU load ≥ 80% or memory load ≥ 85%, thus obtaining the corresponding quantitative threshold for this scenario. For the fuzzy constraint of "peak business hours", based on the cloud computing quantitative rule library, quantitative indicators corresponding to peak business hours are found from the mapping relationship between fuzzy semantics and quantitative indicators, such as daily time ranges. The quantitative threshold can be a preset time range. Furthermore, the modeling scenario of the cloud computing resource model is determined. For example, if the modeling scenario is "core business", the preset time period range is adjusted to "8:00-20:00 every day (corresponding to 480-1200 minutes)" to obtain the corresponding quantitative threshold under this scenario.

[0104] In this embodiment, by semantically matching the fuzzy semantics in the second constraint with the quantitative indicators in the cloud computing quantitative rule base, basic quantitative indicators are determined. This transforms unstructured fuzzy constraints into structured, executable quantitative standards, avoiding the problem of expanded data query scope caused by semantic ambiguity. Consequently, it significantly reduces the acquisition of redundant data, improving data filtering accuracy and modeling efficiency. Furthermore, by determining the modeling scenario of the cloud computing resource model and adjusting the quantitative thresholds of the basic quantitative indicators based on this scenario, a quantified second constraint with first execution characteristics is obtained. This ensures a high degree of fit between the quantitative standards and the modeling objectives and scenarios, achieving more accurate data filtering and effectively improving the accuracy of operations research modeling and the quality of decision-making.

[0105] S303, sort and format-convert all second constraints according to constraint category priority to obtain the first constraint rule set.

[0106] In this embodiment, the first constraint rule set includes multiple first constraint rules, and the rule parameters of each constraint rule include: constraint category, constraint value, quantization threshold, and association level. In some implementations, each parameter and its corresponding value in the rule parameters can be stored in key-value pair format.

[0107] The constraint categories include, but are not limited to, spatial constraints, business constraints, load constraints, and time constraints.

[0108] Constraint values ​​are used to characterize the specific limitations or objectives under the corresponding constraint category. Constraint values ​​include identifier constraints and descriptive constraints. Identifier constraints are explicit resource entity identifiers, range labels, or enumeration values, with clear and unambiguous semantics, such as the constraint value "DC1" for spatial constraints. Descriptive constraints are qualitative descriptions of business operations and do not have directly calculable numerical standards. They require matching with corresponding quantification thresholds before precise filtering can be performed, such as the constraint value "low-load Host" for load constraints.

[0109] The quantization threshold can be a quantitative judgment standard set for descriptive constraint values, used to achieve precise quantification of fuzzy constraints. For identifiable constraint values, their semantics are clear and do not require quantization processing, with a corresponding quantization threshold of "none". For descriptive constraint values, a corresponding quantization threshold must be matched to map the qualitative description into specific numerical judgment conditions in order to form an executable filtering rule. For example, for the descriptive constraint value "low-load Host", the quantization threshold can be "CPU load < 80% and memory load < 85%", serving as a quantitative judgment standard for the physical host load status. For the descriptive constraint value "peak period", the quantization threshold can be "running time 480-1200 minutes".

[0110] Among them, the association level is used to identify the resource entity level to which the constraint rule applies, matching the multi-level architecture of cloud computing resources, and determining the effective objects and filtering scope of the constraint rule. For example, the association level where the constraint value is "DC1" is the DC level, and the association level where the constraint value is "low load Host" is the Host level.

[0111] In this embodiment, after determining the priority of constraint categories, all second constraints are sorted according to their priority to obtain sorted second constraints. Each second constraint in the sorted set is then converted into a key-value pair to obtain the corresponding first constraint rule, thus forming a first constraint rule set. In this way, by uniformly converting the sorted second constraints into a structured and standardized rule set, a standardized expression of constraints is achieved. This enables seamless integration with hypergraph modeling and precise query processes, thereby supporting the efficient collaborative operation of the entire operations research modeling system.

[0112] In one possible implementation, taking the optimization of VM resources for core business in region DC1 as an example, all second constraints are sorted and format-converted according to the priority of constraint categories to obtain a first constraint rule set containing first constraint rules corresponding to different constraint categories. This set includes: Constraint type: Spatial constraint; Constraint value: DC1; Quantization threshold: None; Association level: DC layer. Constraint type: Business constraint; Constraint value: Core business; Quantization threshold: None; Association level: VM layer. Constraint type: Time constraint; Constraint value: Peak business period; Quantization threshold: Runtime segment ∈ [480, 1200]; Association level: VM layer. Constraint type: Load constraint; Constraint value: Low Host load; Quantization threshold: CPU load less than 80% and memory load less than 85%; Association level: Host layer.

[0113] In some embodiments, after performing computational processing on the cloud computing resource model using target data to obtain the cloud resource management strategy corresponding to the business requirements, performance indicators can be statistically analyzed when solving the cloud resource management strategy using the target data. These performance indicators include, but are not limited to, one or more of the following: solution time, computational resource consumption, model convergence speed, and number of model iterations. Further, while keeping other variables such as model structure, solution algorithm, constraints, and objective function unchanged, the target data is readjusted, for example, by removing some data, reducing the data range, or replacing a subset of data, to obtain adjusted target data. The cloud computing resource model is then solved using the adjusted target data, and the solution result is compared with the solution result obtained using the target data. If the solution results are the same, performance indicators for solving the cloud resource management strategy using the adjusted target data are statistically analyzed, and the performance indicators of the two solutions are compared. If at least one of the following is true: shorter solution time, reduced computational resource consumption, faster model convergence speed, or fewer model iterations, it indicates that the target data still has redundancy. In this case, the constraint category priority can be adjusted or the quantization threshold can be refined to further simplify the input data and improve the solution efficiency while ensuring the correctness of the solution results. If the cloud computing resource model has no solution when solving based on the target data, the quantization threshold of the fuzzy constraints is appropriately relaxed to ensure the adaptability of the constraint rules to the modeling requirements and improve the success rate of model solving. Thus, through the above process, the embodiments of this application can accurately identify redundant data in the target data and simplify the data by adjusting the constraint priority or refining the threshold, thereby reducing the solution time and computing resource consumption; at the same time, it can ensure the feasibility of solving when the model has no solution by relaxing the fuzzy constraint threshold, achieving synergistic optimization of solution efficiency and solution success rate.

[0114] In some embodiments, the related technologies represent binary relationships only through graph structures or graph models. To adapt to the hierarchical characteristics of cloud computing spatiotemporal data and achieve deep integration of constraints and hierarchical relationships, such as... Figure 4 As shown, the construction of the hypergraph in step S202 can be achieved through steps S401 to S403: S401. Based on the first data, establish super vertices for each level by using the identifier of each resource entity in each level as the super vertex identifier.

[0115] The parameters of a supervertex include: the supervertex identifier, the entity attributes corresponding to the resource entity, and the association between the resource entity and resource entities at adjacent levels.

[0116] In this embodiment, a supervertex can be a vertex corresponding to each resource entity at different levels. That is, supervertexes are divided by level, such as DC layer, Host layer, and VM layer. Each resource entity at each level, such as DC, Host, or VM, corresponds to a supervertex. The parameters of a supervertex include, but are not limited to, the supervertex identifier, the entity attributes corresponding to the resource entity, and the association relationship between the resource entity and resource entities at adjacent levels.

[0117] The supervertices identifier is a unique identifier for each supervertices, used for precise location and referencing of supervertices within the hypergraph. Supervertices can be represented by the resource entity's original unique ID (such as a database primary key) or a generated globally unique ID, ensuring no conflicts in the data environment. For example, the supervertices identifier for DC1 could be DC_1, for Host1_1 it could be Host_1_1, and for VM1_1_1 it could be VM_1_1_1. Combining supervertices with the hypergraph indexing mechanism enables millisecond-level node location, improving traversal efficiency.

[0118] Entity attributes can be various descriptive or metric data of the bound supervertex, reflecting the static or dynamic characteristics of the resource entity. Here, resource entities at the same level have the same entity attributes but different attribute values, while resource entities at different levels have at least partially different entity attributes. For example, in a DC supervertex, entity attributes include, but are not limited to: region location, operation and maintenance level, total CPU capacity, total memory capacity, and running status; in a Host supervertex, entity attributes include, but are not limited to: DC identifier, CPU configuration, memory configuration, real-time CPU load, real-time memory load, running status, and deployment time; in a VM supervertex, entity attributes include, but are not limited to: Host identifier, service type, CPU usage, memory usage, runtime segment, and priority. These entity attributes are the core basis for constraint matching; for example, a high-load Host constraint will directly apply to the real-time CPU load entity attribute of the Host supervertex.

[0119] In this context, associations refer to the logical connections between a hypervertices and their adjacent hierarchical hypervertices. These associations characterize the attribution, subordination, or inclusion relationships between hypervertices. For example, there is an attribution association between a Host hypervertices and a DC hypervertices, and a deployment association between VM hypervertices and a Host hypervertices. These associations are explicitly modeled through list fields within the hypervertices, such as the list of subordinate VMs, or external hyperedges in the hypergraph, supporting efficient navigation along hierarchical paths during hypergraph traversal. For instance, in an IaaS scenario, by reading the DC, Host, and VM tables, each record is transformed into a corresponding hierarchical hypervertices. The association between a Host and a DC is established through the `dc_id` field of the Host table, and the association between a VM and a Host is established through the `host_id` field of the VM table. This process is automated and applicable to data structures across different cloud platforms.

[0120] In one possible implementation, a three-tiered supervertex hierarchy of DC, Host, and VM is constructed based on the initial data. Each supervertex is assigned a unique identifier and bound to the entity attributes and associations of the corresponding resource entity. The construction logic includes: For the construction of DC supervertexes, the DC identifier is used as the supervertex identifier (ID). Entity attributes include region location, operation and maintenance level, total CPU capacity, total memory capacity, and running status. The association relationship is a list of subordinate Host identifiers (based on matching the DC identifier in the Host data). For example, the attributes of DC supervertex DC1 are "Region: Eastern; Operation and Maintenance Level: Level 1; Total CPU Capacity: 1000 cores; Total Memory Capacity: 2048GB; Running Status: Normal", and the associated Host list is "Host1_1, Host1_2, ..., Host1_50".

[0121] For the construction of Host supervertexes, the Host identifier is used as the supervertex ID. Entity attributes include the DC identifier, CPU configuration, memory configuration, real-time CPU load, real-time memory load, running status, and deployment time. The association relationship is between the list of DC identifiers and the list of subordinate VM identifiers (based on matching the Host identifier in the VM data). For example, the attributes of the Host supervertex "Host1_1" are "DC: DC1; CPU configuration: 20 cores; Memory configuration: 64GB; Real-time CPU load: 75%; Real-time memory load: 80%; Running status: Normal; Deployment time: 2024-01-01", and the associated VM list is "VM1_1_1, VM1_1_2, ..., VM1_1_20".

[0122] For the construction of VM supervertices, the VM identifier is used as the supervertices ID. Entity attributes include the host identifier, service type, CPU usage, memory usage, runtime (minute level), and priority. The association relationship is between the host identifier and the DC identifier (indirect association). For example, the attributes of the VM supervertices "VM1_1_1" are "Host: Host1_1; Service type: Core service; CPU usage: 2 cores; Memory usage: 8GB; Runtime: 500-1200 minutes; Priority: High", and the DC identifier is "DC1" (obtained through association with Host1_1).

[0123] In this embodiment, after obtaining the first data, a hierarchical and semantically rich set of supervertexes is constructed based on the first data by using resource entity identifiers as supervertex identifiers and binding the entity attributes and relationships corresponding to those resource entity identifiers. This enables structured organization of cloud computing operation and maintenance data, thereby supporting multi-dimensional and multi-level data querying and analysis, and ultimately improving the accuracy and efficiency of data acquisition.

[0124] S402. Based on the supervertices of each level, construct the level-inclusive edges of supervertices between adjacent levels.

[0125] Among them, the hierarchy includes the hierarchy super-edge attribute.

[0126] In this embodiment, a hierarchical containing edge is a hypergraph edge connecting supervertices of adjacent levels, used to characterize the hierarchical affiliation, subordination, or inclusion relationship between resource entities of adjacent levels. For example, between DC and Host levels, a hierarchical containing edge can simultaneously connect a DC supervertices and all Host supervertices under that DC supervertices, avoiding the problem of constructing multiple binary edges in traditional graphs.

[0127] In this embodiment, the hierarchical hyperedge attribute can be descriptive information attached to the hierarchical containing edge, used to define the semantic and behavioral characteristics of the hierarchical containing edge. The hierarchical hyperedge attribute can include a first relation type and an associated hierarchy. The first relation type is used to describe the logical relationship represented by the hierarchical containing edge, such as hierarchical containing indicating that the upper-level resource entity contains the lower-level resource entity; the associated hierarchy is used to describe the hierarchical combination connected by the hierarchical containing edge, such as DC-Host or Host-VM, used to guide path selection during traversal.

[0128] In some embodiments, a layer-containing edge may further include a layer-containing edge identifier, which is a unique identifier for each layer-containing edge, used to accurately identify and reference each layer-containing edge in the hypergraph. The naming format of the layer-containing edge identifier typically includes the edge type and the hypervertices involved, such as Edge_Level_DC-Host_DC1_HostList or Edge_Level_Host-VM_Host1_1_VMList, ensuring unambiguous location of any layer-containing edge in the hypergraph.

[0129] In this embodiment, hierarchical containment edges are automatically constructed based on the association relationships of hypervertices. For example, when it is detected that the dc_id field value of multiple Host records in the Host table is DC1, a hierarchical containment edge is created starting from the DC hypervertices DC1 and connecting all the multiple Host hypervertices. This hierarchical containment edge is assigned the identifier Edge_Level_DC-Host_DC1_HostList, with the relationship type of the hyperedge attribute being hierarchical containment and the association level being DC-Host. Similarly, for records in the VM table with the same host_id field value, a corresponding Host-VM hierarchical containment edge is constructed. This process can be completed in one go during the data preprocessing stage, forming a stable hypergraph skeleton.

[0130] In some implementations, hierarchical containment edges correspond one-to-one with association relationships. For example, when it is detected that DC1 contains 50 Hosts, meaning there is an association relationship between the supervertex DC1 and the supervertexes corresponding to the 50 Hosts, a hierarchical containment edge can be constructed linking DC1 to its 50 subordinate Hosts. This edge is set to hierarchical containment as its relationship type and DC-Host as its association level. The hierarchical containment edge is then bound to both DC1 and the 50 Host supervertexes. This construction method avoids the redundancy of constructing 50 binary edges required by traditional graph structures, reduces the number of hierarchical containment edges, and retains complete hierarchical structure information, facilitating subsequent traversal and filtering.

[0131] In this embodiment, based on the supervertex identifier of each supervertex, the entity attributes corresponding to the resource entity, and the association between the resource entity and the resource entities of adjacent levels, a hierarchical inclusion edge is constructed between supervertexes of adjacent levels. This achieves efficient modeling of the cloud computing data hierarchy structure and avoids the redundancy problem caused by a large number of binary edges in traditional graph structures. This simplifies the hypergraph structure and improves traversal efficiency, thereby supporting a faster and more accurate data filtering process.

[0132] S403. Using the rule parameters, hierarchical included edges, and hierarchical hyperedge attributes of each first constraint rule in the first constraint rule set, construct the constraint association edges corresponding to each constraint category to obtain the hypergraph.

[0133] The rule parameters include the constraint category.

[0134] In this embodiment of the application, the rule parameters of the first constraint rule include, but are not limited to: constraint category, constraint value, quantization threshold, and association level.

[0135] In some implementations, a constraint-related edge includes a constraint-related edge identifier and constraint-super-edge attributes. The constraint-related edge identifier is a unique identifier for each constraint-related edge, used to accurately identify and reference each constraint-related edge in the hypergraph. The constraint-super-edge attributes can be metadata information attached to the constraint-related edge, used to record the constraint category, constraint parameters, and effective status of the constraint-related edge, making the constraint source, constraint content, and activation status of each constraint-related edge traceable and manageable. Constraint-super-edge attributes can include relation type and constraint conditions; of course, constraint-super-edge attributes can also include filtering status. The relation type identifies the constraint category corresponding to the constraint-related edge, i.e., which type of constraint rule the constraint-related edge is based on. Constraint categories include, but are not limited to, spatial constraints, business constraints, load constraints, and time constraints. The constraint conditions record the specific constraint parameters bound to the constraint-related edge, i.e., the constraint values ​​and quantization thresholds in the rule parameters of the first constraint rule, which are the direct basis for determining whether the constraint-related edge performs data filtering and constraint verification. The filtering status indicates whether the constraint-related edge is currently effective and participates in data filtering processing, including both enabled and disabled states.

[0136] In this embodiment, after obtaining the first set of constraint rules, during the hypergraph construction process, the rule parameters of each first constraint rule in the first set of constraint rules are used as the basis for constraint determination. The hierarchical containment edges are used as the hierarchical association skeleton, and the associated supervertices are constrained by rules in conjunction with the attributes of the hierarchical hyperedges, thus constructing constraint association edges corresponding to each constraint category. These constraint association edges, along with the supervertices and hierarchical containment edges, constitute a complete hypergraph. In this way, the rule parameters of the constraint rules are bound to the set of supervertices associated with the hierarchical containment edges, embedding business constraints within the edge structure of the hypergraph. This achieves deep integration of constraint rules and resource-level data structures, preventing constraints from existing as external conditions independent of the data structure. Furthermore, the hierarchical skeleton of the hierarchical containment edges is used to construct constraint association edges level by level, reducing the need for full data scanning during subsequent data filtering and model solving, thereby improving processing efficiency.

[0137] In some embodiments, to speed up data filtering, constraint association edges can be constructed by narrowing the filtering range. Therefore, constructing constraint association edges corresponding to each constraint category in step 403 can be achieved through the following process: Based on the priority of constraint categories in the first constraint rule set, the rule parameters, hierarchical included edges, and hierarchical superedge attributes of the first constraint rules corresponding to each constraint category are used to perform iterative filtering to construct the corresponding superedges, thereby obtaining spatial constraint associated edges, business constraint associated edges, load constraint associated edges, and time constraint associated edges in sequence; among which, the constraint categories include spatial constraints, business constraints, load constraints, and time constraints.

[0138] In this embodiment, the constraint category priority is the result of sorting the first constraint conditions after reverse parsing based on factors such as the importance of the modeling target and the screening efficiency.

[0139] In this embodiment, the spatial constraint associated edge is used to characterize the spatial restriction relationship imposed by the constraint rule corresponding to the spatial constraint on adjacent levels or across multiple levels of resource entities, such as deployment area restrictions, disaster recovery isolation requirements, availability zone distribution constraints, etc. of resource entities.

[0140] In this embodiment, the business constraint association edge is used to characterize the business type restriction relationship imposed by the constraint rule corresponding to the business constraint on adjacent or multi-level resource entities, such as the business level division of virtual machines (core business / non-core business), business priority limitation, etc.

[0141] In this embodiment of the application, the load constraint associated edge is used to characterize the resource load restriction relationship imposed by the constraint rule corresponding to the load constraint on adjacent levels or across multiple levels of resource entities, such as CPU load threshold limit, memory load threshold limit, network bandwidth load limit, storage IO load constraint, and overall resource utilization upper limit constraint of physical host.

[0142] In this embodiment of the application, the time constraint associated edge is used to characterize the time window restriction relationship imposed on the resource entity by the constraint rule corresponding to the time constraint, such as the runtime segment limit of the virtual machine, the business peak period constraint, the resource reservation time period limit, the time window constraint of the scheduled scheduling, and the peak and valley electricity price period adaptation constraint.

[0143] In this embodiment of the application, during the hypergraph construction process, the hyperedge construction process of each constraint category is executed sequentially in descending order of priority according to the pre-set constraint category priority in the first constraint rule set. The constraint category priority can be determined according to business requirements or modeling objectives. For example, spatial constraints usually have the highest priority, followed by business constraints, load constraints, and time constraints.

[0144] In some implementations, the constraint association edges corresponding to the highest priority constraint category are constructed based on the first constraint rule and hierarchical inclusion edges corresponding to that constraint category. The construction of constraint association edges corresponding to each subsequent priority constraint category is based on the filtering results of the previous level's constraint association edges. The rule parameters of the first constraint rule corresponding to that constraint category are used as the constraint determination criteria, and the constraint hyperedge attributes of that constraint association edge are recorded, thus completing the construction of that level's constraint association edges. In this way, through iterative filtering at each level, each level of constraint association edge inherits the filtering results of the previous level and superimposes its own constraint conditions. The constraint conditions accumulate layer by layer, and the filtering scope narrows at each level, ultimately resulting in spatial constraint association edges, business constraint association edges, load constraint association edges, and time constraint association edges. Thus, filtering at each level according to constraint category priority ensures that constraint paths conforming to high-priority categories are retained first during the hypergraph construction process. Then, constraint rules for other constraint categories are applied on this basis, forming a multi-dimensional collaborative filtering mechanism. This process avoids the inefficiency of traditional flat filtering, achieves precise filtering based on a hierarchical architecture, and significantly reduces data redundancy.

[0145] In some implementations, the constraint categories are prioritized in the following order: spatial constraints, business constraints, load constraints, and time constraints. The construction process for spatial constraint-related edges, business constraint-related edges, load constraint-related edges, and time constraint-related edges is as follows: When constructing spatial constraint associated hyperedges, the hierarchical inclusion hyperedges are used as the hierarchical skeleton, and the spatial constraint rules are associated with the super vertices of the adjacent levels to obtain spatial constraint associated hyperedges that cover the adjacent levels; or, the spatial constraint rules are associated with the multi-level super vertices that are connected sequentially by multiple hierarchical inclusion hyperedges to obtain spatial constraint associated hyperedges that span multiple levels.

[0146] In one implementation, based on the hierarchical inclusion hyperedge between the DC layer hypervertices and the Host layer hypervertices, spatial constraint rules are associated with the DC hypervertices and their subordinate Host hypervertices to obtain spatial constraint-associated hyperedges covering adjacent DC-Host layers; or, based on the DC-Host layer inclusion hyperedges and the Host-VM layer inclusion hyperedges, spatial constraint rules are associated with the DC hypervertices, Host hypervertices, and VM hypervertices to obtain spatial constraint-associated hyperedges spanning multiple DC-Host-VM layers. For example, based on the constraint rules corresponding to the spatial constraint (DC1) and the hierarchical inclusion edges used to associate adjacent layers, a cross-layer hyperedge of "DC hypervertices - Host hypervertices - VM hypervertices" is constructed. Spatial constraint conditions are bound to the hypervertices on this hyperedge, i.e., the target DC and its subordinate Host and VM hypervertices are associated to obtain spatial constraint-associated edges; wherein, the constraint hyperedge attributes of the spatial constraint-associated edges include: the relationship type is spatial constraint, and the constraint condition is DC1.

[0147] Regarding the construction of business constraint association edges, after completing the construction of spatial constraint association edges, business constraint association edges are constructed using the rule parameters of the constraint rules corresponding to the business constraints as the filtering basis. For example, the spatial constraint association edges have already associated the target DC and its subordinate Host supervertices and VM supervertices. Based on this, business type constraints are bound to the Host supervertices and VM supervertices. VM supervertices whose business types meet the preset conditions (e.g., core business VMs) and their respective Host supervertices are retained, while VM supervertices whose business types do not meet the conditions are filtered out, thus obtaining the business constraint association edges. The super-edge attributes of the business constraint association edges include: the relationship type is business constraint, and the constraint condition is core business VM. In this way, through the above method, business constraint association edges further superimpose business type constraints on the filtering results of spatial constraint association edges, narrowing the filtering scope from three layers (DC-Host-VM) to two layers (Host-VM), while retaining the set of supervertices corresponding to the core business VMs.

[0148] For load constraint association edges, after constructing the business constraint association edges, load constraint association edges are constructed using the rule parameters of the constraint rules corresponding to the load constraints as the filtering basis. For example, the business constraint association edges are already associated with the core business VM supervertices and their respective host supervertices. Based on this, load threshold constraints are bound to the host supervertices and VM supervertices. Host supervertices and their subordinate VM supervertices whose resource load indicators such as CPU load and memory load meet the preset load thresholds are retained, while host supervertices and their subordinate VM supervertices whose resource load exceeds the preset thresholds are filtered out, thus obtaining the load constraint association edges. The superedge attributes of the load constraint association edges include: relationship type is load constraint, constraint conditions are host CPU load < 80% and memory load < 85%, and filtering status is enabled. In this way, the load constraint association edges further superimpose resource load threshold constraints on the filtering results of the business constraint association edges, further narrowing the filtering scope within the host-VM two-layer, retaining the set of host supervertices and their subordinate VM supervertices that meet the resource load conditions.

[0149] For the construction of time-constrained association edges, after the construction of load-constrained association edges is completed, time-constrained association edges are constructed using the rule parameters of the constraint rules corresponding to the time constraints, based on the load-constrained association edges as the filtering basis. For example, the load-constrained association edges are already associated with Host supervertices and their subordinate VM supervertices that meet the resource load conditions. Based on this, time window constraints are bound to VM supervertices, retaining VM supervertices whose runtime segments fall within the preset time window, and filtering out VM supervertices whose runtime segments do not meet the time window conditions, thus obtaining the time-constrained association edges. The time-constrained association edges are single-vertex superedges, associating with VM supervertices that meet the time conditions; in other embodiments, they can also simultaneously associate with the Host supervertices to which the VM supervertices belong. The superedge attributes of the time-constrained association edges include: relationship type is time constraint, constraint condition is VM runtime segment ∈ [480, 1200], and filtering status is enabled. In this way, time-constrained edges are further superimposed with time window constraints on the filtering results of load-constrained edges, narrowing the filtering range from two layers of Host-VM to a single VM vertex, and finally retaining the set of VM supervertices that meet the time window conditions during runtime.

[0150] In some embodiments, after the hypergraph is built, it can also be optimized and maintained, including hypergraph index building, hypergraph dynamic updating, and hypergraph visualization management.

[0151] Here, the hypergraph indexing mechanism includes building a multi-level index based on hypervertex identifiers, association levels, and constraint types. Specifically, the hypervertex identifier index is used to quickly locate the corresponding hypervertex based on the resource entity identifier; the association level index is used to quickly retrieve hypervertexes and associated hyperedges at specified levels such as DC layer, Host layer, and VM layer; and the constraint type index is used to quickly find corresponding constraint-related edges according to constraint categories such as spatial constraints, business constraints, load constraints, and time constraints. Through these multi-level indexes, the efficiency of hypergraph traversal and constraint matching is improved, and the retrieval overhead during subsequent data filtering and model solving based on the hypergraph is reduced.

[0152] Here, the hypergraph dynamic update includes: periodically synchronizing data updates in the cloud computing spatiotemporal database, and dynamically adjusting the parameters of hypervertices and the association relationships of hyperedges based on data changes to ensure the consistency between the hypergraph and the underlying resource data. For example, when the resource attributes of a resource entity in the cloud computing spatiotemporal database change, the parameters or attribute information of the hypervertices are updated accordingly; when the hierarchical affiliation of a resource entity changes, the association relationships of the hierarchical included edges are adjusted accordingly; when a change in the attributes of a resource entity causes it to no longer meet the constraint conditions of a certain constraint association edge, the hypervertices are removed from the corresponding constraint association edge; conversely, when a change in the attributes of a resource entity causes it to meet the constraint conditions, the hypervertices are included in the corresponding constraint association edge. For instance, after the real-time CPU load or memory load data of a host is updated, if its load value exceeds the preset threshold bound to the load constraint association edge, the association status of the load constraint association edge is adjusted accordingly, and the host hypervertices and their subordinate VM hypervertices are removed from the load constraint association edge; if its load value recovers to within the preset threshold range, the host hypervertices and their subordinate VM hypervertices are reinstated into the load constraint association edge.

[0153] Hypergraph visualization management includes providing a hypergraph visualization interface that allows operations and maintenance personnel to view the relationships and constraint bindings of hypervertices and hyperedges. For example, the visualization interface can display the attribute information of each hypervertices, the hierarchical affiliation of edges at each level, the constraint types and conditions of each constraint-related edge, the filtering status of constraint-related edges, and the topological association between hypervertices and hyperedges, facilitating troubleshooting and model optimization by operations and maintenance personnel.

[0154] Thus, through the aforementioned hypergraph optimization and maintenance mechanisms, the efficiency of hypergraph traversal and matching is improved through multi-level indexing, the real-time consistency between the hypergraph and the underlying data is ensured through dynamic updates, and the operation and maintenance threshold of the hypergraph is reduced through a visual interface, providing support for the continuous optimization and stable operation of the hypergraph.

[0155] In some embodiments, in order to generate precise query instructions to achieve accurate data filtering, such as Figure 5 As shown, the generation of the query instruction in step S203 can be achieved through steps S501 to S503: S501. Based on the first set of constraint rules, construct the second set of constraint rules.

[0156] The second constraint rule set includes multiple combination rules, and each combination rule includes at least two second constraint rules.

[0157] In this embodiment, the second constraint rule set can be a set of rules formed by parameter mapping, logical combination, and logical optimization based on the first constraint rules in the first constraint rule set, used to guide subsequent hypergraph traversal and data filtering. The combined rules in the second constraint rule set can be composite rules composed of multiple independent second constraint rules arranged in a specific order or logical relationship, with each combined rule corresponding to a specific modeling objective. For example, for the modeling objective of optimizing VM resources for core business in DC1 region, the combined rules may include four second constraint rules: spatial constraint (DC1), business constraint (core business), load constraint (low host load), and time constraint (peak hours); for the modeling objective of optimizing resources in DC1 region, the combined rules may include three second constraint rules: spatial constraint (DC1), load constraint (low host load), and time constraint (peak hours); for the modeling objective of optimizing VM resources for core business, the combined rules may include three second constraint rules: business constraint (core business), load constraint (low host load), and time constraint (peak hours).

[0158] In some embodiments, such as Figure 6 As shown, the second set of constraint rules in step S501 can be implemented through steps S601 to S603: S601. Based on the rule parameters of each first constraint rule in the first constraint rule set, perform rule parameter mapping to obtain multiple third constraint rules.

[0159] The first constraint rule's rule parameters include: constraint category, constraint value, quantization threshold, and association level. The third constraint rule's rule parameters include: rule identifier, constraint category, filtering threshold, constraint association edge identifier, and triggering condition.

[0160] In this embodiment, the rule parameter mapping can be a semantic adaptation and conversion step between the first constraint rule and the constraint-related edges in the hypergraph. Its function is to convert the rule parameter structure of the first constraint rule into the parameter structure of the third constraint rule that adapts to the hypergraph topology, so that the converted rule parameters correspond one-to-one with the constraint-related edges in the hypergraph, providing an identifiable unified parameter benchmark for subsequent hypergraph traversal.

[0161] The mapping process completes a full-dimensional structured transformation based on preset field mapping relationships. Taking the constraint category, constraint value, quantization threshold, and association level (including the first constraint rule) as input, the mapping output is a parameter structure for the third constraint rule, including rule identifier, constraint category, filtering threshold, constraint association edge identifier, and trigger condition. This achieves a precise transformation of constraint rules from business semantics to hypergraph semantics. The trigger condition is the prerequisite for activating or enabling the third constraint rule, typically set based on the modeling objective, scenario type, or user configuration. For example, when the modeling objective is resource scheduling and involves the DC1 region, the spatial constraint rule is enabled. Setting the trigger condition gives the system dynamic response capabilities; the rule can be selectively enabled in different scenarios, improving system flexibility and resource utilization.

[0162] For example, the original rule parameters of the first constraint rule are: the constraint space is the DC1 region, the quantization threshold is none, and the association level is the DC layer. After the rule parameters are mapped, the standardized rule parameters of the third constraint rule corresponding to the constraint association edge are generated: the rule identifier is Rule_Space_DC1, the constraint category is spatial constraint, the filtering threshold is DC=DC1, the constraint association edge identifier is Edge_Constraint_Space_DC1, and the triggering condition is that the modeling target involves the DC1 region.

[0163] S602. Match each of the multiple third constraint rules to the preset rule template of the corresponding constraint category to generate multiple second constraint rules with logical relationships.

[0164] Here, the preset rule template can be a template corresponding to standard rules designed for different constraint categories. This template includes, but is not limited to, rule structure, rule logical expression, and parameter placeholders. The preset rule templates are different for different constraint categories. For example, a spatial constraint template can be defined as the logic "supervertex level = DC layer and attribute value = constraint value". Through the rule type matching mechanism, the constraint category field in the third constraint rule is compared with the template in the preset rule template library, and the parameter placeholders in the preset rule template are automatically filled to generate a second constraint rule with logical relationship.

[0165] The rule matching process first searches for the corresponding preset rule template based on the constraint category of the third constraint rule; second, it extracts parameters such as constraint values, filtering thresholds, constraint-related edge identifiers, and triggering conditions from the third constraint rule and populates the variables in the template; finally, it generates a logical expression that conforms to the template syntax. For example, for a third constraint rule identified as Rule_Space_DC1, after matching the space constraint template, a second constraint rule with a logical relationship is generated, such as the space constraint corresponding to the logic of "supervertex level = DC layer and attribute value = constraint value", and the second constraint rule is named with a rule identifier, such as Rule_Optimize_DC1_Core.

[0166] Here, the second constraint rule is a structured rule that has undergone template processing, possessing a clear logical expression and execution path. The second constraint rule not only retains the semantics of the original constraint but also incorporates the structural information of the hypergraph, forming an executable filtering instruction. The generation of the second constraint rule has high reusability and consistency, reducing the error rate of manually written rules.

[0167] In some embodiments, after generating multiple second constraint rules with logical relationships, the generated second constraint rules can be further validated using a rule validation engine built into the computer device, which performs format validation and rule logic validity validation. Format validation checks whether the rule format is a preset format, while rule logic consistency validation detects whether there are logical contradictions or conflicts between the rules, such as whether the resource range defined by spatial constraints and the resource range defined by business constraints are mutually exclusive. This ensures that each second constraint rule can accurately associate with the constraint-related edges in the hypergraph, and that the filtering logic is unambiguous.

[0168] In some embodiments, a standardized rule base can be pre-built. This standardized rule base adopts a layered rule base architecture, including three layers: a basic rule layer, a composite rule layer, and an adaptation rule layer.

[0169] The basic rule layer stores the single constraint rule, i.e., the basic rule, after reverse parsing, such as the second constraint rule, and each second constraint rule corresponds one-to-one with the constraint-related edge in the hypergraph.

[0170] The combination rule layer stores composite rules or combined rules obtained by combining two or more basic rules, thereby corresponding to the constraint association edges of multiple constraint categories in the hypergraph for collaborative filtering.

[0171] The adaptation rule layer stores scenario-based adaptation rules. Based on different cloud computing operation and maintenance scenarios, operations and maintenance personnel can supplement custom second constraint rules, adjust the rule parameters or filtering order of combined rules, or modify template mapping relationships for specific scenarios. For example, in fault avoidance scenarios, the priority of load constraints is raised to the highest level, prioritizing the filtering of VM data associated with low-load hosts.

[0172] In this way, the rules in the basic rule layer, the combined rule layer, and the adaptation rule layer work together to ensure query accuracy and flexibility.

[0173] In this embodiment, after obtaining multiple third constraint rules, each third constraint rule can be assigned a corresponding preset rule template according to its constraint category. Based on the rule parameters of the third constraint rule, the corresponding rule parameters are then filled into the preset rule template, thus creating a second constraint rule with logical relationships. Furthermore, the second constraint rules can be stored as basic rules in the basic rule layer of the standard rule library. In this way, through preset rule template matching, diverse third constraint rules can be unified into structurally consistent second constraint rules, ensuring the standardization and executability of the logical expressions of the second constraint rules, thereby supporting large-scale, multi-scenario intelligent data filtering needs.

[0174] S603. Based on the modeling objectives and constraint category priorities of the cloud computing resource model, at least some of the second constraint rules among multiple second constraint rules are combined to obtain multiple combined rules, thereby obtaining a set of second constraint rules.

[0175] In this embodiment, the combined rule is a composite rule composed of two or more second constraint rules arranged according to the priority order of constraint categories, used to achieve multi-dimensional collaborative filtering. The generation of the combined rule follows the principle of priority-driven and sequential execution, that is, multiple second constraint rules are applied sequentially from high to low priority to form a serial filtering process. For example, the combined rule Rule_Optimize_DC1_Core contains four second constraint rules: spatial constraint rule (DC1), business constraint rule (core business), time constraint rule (peak hours), and load constraint rule (low load), with the execution order being space → business → time → load.

[0176] In this embodiment, the second constraint rule set is a collection of multiple combined rules, representing the complete filtering strategy under the current modeling objective. In some embodiments, the second constraint rule set supports dynamic expansion and updating. When the modeling objective or constraints change, the rules in the second constraint rule set can be automatically recombinated to generate a new second constraint rule set for hypergraph traversal and data filtering.

[0177] In this embodiment, after obtaining the modeling objective and constraint category priority of the cloud computing resource model, all second constraint rules matching the modeling objective are selected from multiple second constraint rules. Then, some and all of the second constraint rules are combined according to the constraint category priority order to obtain multiple combined rules, thus obtaining a second constraint rule set. Alternatively, a second constraint rule set can be constructed based on uncombined second constraint rules and multiple combined rules. Furthermore, each combined rule in the second constraint rule set can be stored in the combined rule layer of a standard rule base.

[0178] In the embodiments of this application, a second constraint rule set is generated by mapping rule parameters based on a first constraint rule set, matching preset rule templates, and combining modeling objectives with constraint priorities. This enables standardized, structured, and intelligent management of constraint rules, thereby deeply coupling operations research constraints with data acquisition processes. This fundamentally solves the data redundancy problem caused by fuzzy constraints in existing technologies, significantly improving the overall efficiency of cloud computing operations research modeling.

[0179] S502. Based on the modeling objectives for the cloud computing resource model, match the combined rules corresponding to the modeling objectives from the second set of constraint rules.

[0180] In this embodiment, the modeling objective is typically described in natural language and needs to be converted into an executable modeling requirement to match the corresponding combination rules. Here, the computer device parses the key feature words of the modeling objective, including but not limited to the involved region, business type, performance indicators, etc., and searches for combination rules that match the modeling objective in the second constraint rule set.

[0181] The matching process relies on the architecture and triggering mechanism of a pre-defined standard rule base. For example, when the modeling target is resource optimization of the core business VMs in the DC1 region, the computer device identifies key features such as DC1, core business, and VMs, and matches the combined rule Rule_Optimize_DC1_Core in the second constraint rule set. The triggering condition for the Rule_Optimize_DC1_Core combined rule is designed so that the modeling target involves the DC1 region and includes core business VMs; once this condition is met, it is activated and used for generating subsequent query instructions.

[0182] There is a strong mapping relationship between the combination rules and the modeling objectives: each combination rule is designed for a specific type of modeling objective, ensuring that the query logic is highly aligned with business needs. For example, fault avoidance modeling objectives will preferentially match combination rules containing constraints such as high load or abnormal states, while resource expansion modeling objectives may match combination rules containing constraints such as low utilization or capacity thresholds. This objective-driven matching mechanism gives the system good scenario adaptability.

[0183] In this embodiment, by dynamically matching corresponding combination rules based on the modeling objective, precise alignment between query logic and business requirements is achieved. This ensures that the generated query instructions directly serve the current modeling task, thereby avoiding interference from irrelevant data and improving the targeting and solution efficiency of operations research modeling.

[0184] S503. According to the rule order of the second constraint rule contained in the combination rule, the constraint association edges corresponding to the rule parameters of the second constraint rule in the hypergraph are associated to obtain the traversal starting point, traversal path, filtering conditions and filtering order of the hypergraph, thereby obtaining the query instruction.

[0185] In this embodiment, according to the rule order of the second constraint rules included in the combination rule, the constraint association edges corresponding to the rule parameters of the second constraint rules in the hypergraph are associated. This can be understood as transforming the logical order in the combination rule into an executable traversal path and filtering operation on the hypergraph. The combination rule includes multiple second constraint rules of different constraint categories. Each category of second constraint rule corresponds to a constraint association edge in the hypergraph, and the constraint association edge is bound to specific filtering conditions (such as DC=DC1, CPU load <80%). The traversal order is defined by the rule order. For example, for the combination rule Rule_Optimize_DC1_Core, the order of its included second constraint rules is space → business → time → load. The space constraint association edges, business constraint association edges, time constraint association edges, and load constraint association edges in the associated hypergraph can be sequentially associated.

[0186] In this embodiment, the query instruction includes the traversal starting point, traversal path, filtering conditions, and filtering order of the hypergraph. The traversal starting point is usually determined by spatial constraints, such as DC1 hypervertex. The traversal path is expanded according to the hierarchical relationship and constraint order, such as DC→Host→VM. The filtering conditions are determined by the constraint hyperedge attributes of each constraint-related edge, such as VM business type = core business, runtime segment ∈ [480, 1200]. The filtering order follows the priority of the second constraint rule defined in the combination rules (such as space → business → time → load), ensuring that conditions with stronger filtering (such as space constraints) are executed first, followed by conditions with weaker filtering (such as load constraints), thereby achieving efficient pruning and reducing unnecessary traversal overhead.

[0187] In this embodiment, according to the rule order of the second constraint rules included in the combination rules, the constraint-related edges in the hypergraph corresponding to the rule parameters of the second constraint rules are associated, obtaining the traversal starting point, traversal path, filtering conditions, and filtering order of the hypergraph. This information together constitutes a complete and executable query instruction, which can be directly invoked. Thus, by associating the constraint-related edges in the hypergraph structure according to the rule order of the combination rules, the automatic generation of query instructions is achieved. This transforms complex operational constraints into structured hypergraph traversal logic, thereby avoiding data redundancy problems caused by the disconnect between constraints and data retrieval, significantly reducing data redundancy, and improving query efficiency and modeling accuracy.

[0188] In some embodiments, after the query instruction is generated, the query instruction can also be validated by the rule validation engine built into the computer device, and the rules in the standardized rule base can be continuously optimized based on the query results and modeling feedback, including rule validation processing and rule optimization processing.

[0189] Here, the rule validation process includes: validating the generated query command through the rule validation engine. This validation includes verifying the validity of the hypergraph traversal path and the executability of the filtering conditions. Specifically, the hypergraph traversal path validity check verifies whether the hypervertices and edges specified in the query command have corresponding relationships and whether the traversal path is reachable. The filtering condition executability check verifies whether the filtering conditions of each constraint rule have executable parameter values, such as whether the threshold of the load constraint is a valid value or whether the time window of the time constraint is within a valid range. If the validation passes, subsequent data filtering is executed through the query command. If the validation fails, a prompt is made to investigate problems in the constraint rules or hypergraph, and the constraint rules or hypergraph are corrected based on the feedback before resubmitting for validation.

[0190] Here, rule optimization includes: periodically optimizing constraint rules in the standard rule base based on query results and modeling feedback from subsequent second data. This involves collecting execution efficiency data, filtering result data, and model solution feedback from each query to analyze the filtering capability and execution cost of each constraint rule, and optimizing the rules accordingly. For example, adjusting the filtering order of rules based on the actual filtering capability and execution time of each constraint category, placing constraints with strong filtering capabilities and low execution costs at the beginning to improve overall query efficiency; or refining the filtering thresholds of constraint rules based on the data simplification effect of the filtering results and the accuracy feedback of the model solution, such as adjusting the CPU load threshold or memory load threshold for load constraints, and adjusting the time window range for time constraints to optimize the data simplification effect and further reduce the amount of input data while ensuring the correctness of the solution results.

[0191] In this embodiment, the rule verification and optimization mechanism described above ensures the logical correctness, path validity, and condition executability of query commands through the rule verification engine, preventing invalid queries from entering the data preprocessing stage. In addition, through periodic optimization based on query results and modeling feedback, the constraint rules are continuously iterated, thereby continuously improving query efficiency and data simplification.

[0192] In some embodiments, Figure 7 This is an optional flowchart illustrating the data processing method provided in the embodiments of this application. Figure 6 ,like Figure 7 As shown, the process of traversing the hypergraph based on the query command to obtain the target data in step S203 can be achieved through steps S701 to S703: S701. Starting from the traversal starting point in the query command, the hypergraph is traversed and filtered according to the traversal path, filtering conditions, and filtering order to obtain the second data that meets the filtering conditions.

[0193] The query command includes the starting point of the hypergraph traversal, the traversal path, the filtering conditions, and the filtering order.

[0194] In this embodiment of the application, the second data may be the result data obtained by performing graph traversal operation on the hypergraph and filtering based on the traversal starting point carried by the query instruction, the traversal starting point, the filtering conditions, and the filtering order defined by the query instruction; the second data is a set of virtualization resource statuses, including but not limited to VM identifiers, host identifiers to which the virtual machine belongs, and VM running status data, wherein the VM running status data includes but is not limited to one or more of CPU usage, memory usage, and runtime segments.

[0195] In this embodiment, after obtaining the query, the traversal starting point, traversal path, filtering conditions, and filtering order in the query instruction are parsed. Then, starting from the traversal starting point, the hypergraph is traversed according to the filtering order and the traversal path using a depth-first traversal algorithm to filter out the second data that meets the corresponding filtering conditions. Specifically, during the traversal of each layer's hypervertices, the parameters of the current hypervertices are checked one by one according to the filtering conditions, and the traversal order determines whether to continue downwards. For example, when traversing the hypervertices of the Host layer, if the CPU load of the hypervertices is ≥80%, indicating that the load constraint or filtering condition is not met, all VM nodes under that Host are directly pruned to avoid invalid recursion. This rule-driven traversal mechanism, compared to traditional SQL queries, does not require semantic parsing and syntax conversion, and can fully utilize the hypergraph hierarchy to achieve precise filtering, effectively reducing redundant data acquisition.

[0196] In one implementation, taking the filtering order as Space → Business → Time → Load as an example, the logic of traversing the hypergraph using query commands is explained. First, a first-level traversal (DC layer) is performed, starting from a specified DC hypervertices. Based on spatial constraint association edges, the target DC hypervertices are filtered to obtain a list of all Host hypervertices under them. Second, a second-level traversal (Host layer) is performed, traversing the Host hypervertices under the DC. Based on load constraint association edges, Host hypervertices that meet the load threshold are filtered to obtain a list of all VM hypervertices under them. Finally, a third-level traversal (VM layer) is performed, traversing the VM hypervertices under the Hosts. Based on business constraint association edges and time constraint association edges, VM hypervertices that meet the business type and time window are filtered, and their attribute data, such as VM identifier, CPU usage, and host identifier, are extracted to obtain the second set of data. Thus, during the traversal process, the hypergraph indexing mechanism quickly locates hypervertices and constraint-related hyperedges, and the filtering is performed layer by layer according to the rule-based filtering order, ensuring that data that meets all constraints is retained and irrelevant redundant data is eliminated. For example, a query command targeting the core business VMs in DC1 will, after traversing the data, retain the VM data for the DC1 region, associated low-load hosts, core business types, and VMs running during peak hours.

[0197] In one possible implementation, upon receiving a business request for optimizing VM resources in the core business of region DC1, the query instruction is first parsed: Traversal starting point: DC1 supervertex; Traversal path: DC1 → Host → VM; ​​Filtering conditions: DC=DC1, VM business type=core business, Host CPU load <80%, VM runtime 480-1200; Filtering order: Space → Business → Time → Load. Starting from the DC1 supervertex, the hypergraph is traversed along the traversal path, with each step validated according to the current level's filtering conditions. If a Host supervertex does not meet the CPU load threshold, all VM supervertexes under that Host supervertex in the hypergraph are pruned to avoid invalid traversal, thereby significantly improving query efficiency.

[0198] In this embodiment, by setting precise traversal starting point, path, filtering conditions, and filtering order, targeted traversal and efficient filtering of the hypergraph are achieved. This effectively avoids the data redundancy problem caused by full table scans in traditional SQL queries, thereby significantly reducing database I / O overhead and network bandwidth usage, and thus improving the real-time performance of data acquisition and the overall response speed of the operation and maintenance system.

[0199] In some embodiments, after obtaining the second data, the second data can be preprocessed again. Preprocessing includes, but is not limited to, removing abnormal data and supplementing missing attributes. Abnormal data removal includes removing the host and its associated VMs if the host configuration is abnormal. Supplementing missing attributes can be based on the relationships in the hypergraph, for example, supplementing missing values ​​for VM CPU usage based on the CPU configuration of the host to which the VM belongs; and supplementing the host's priority attribute based on the DC's operational level.

[0200] S702. Aggregate the second data according to different dimensions to obtain the third data corresponding to each dimension.

[0201] Dimensions include one of the following: hierarchical dimension, time dimension, and business dimension.

[0202] Hierarchical dimensions can be used to aggregate data based on the organizational hierarchy of the primary data, typically including levels such as Data Center (DC), Host, and VM. For example, aggregation by DC level can calculate the total CPU and memory usage of all VMs within each data center; aggregation by Host level can calculate the total resource consumption of VMs running on each host. Hierarchical aggregation helps to integrate scattered, fine-grained data into a macro view, facilitating cross-level resource allocation decisions.

[0203] The time dimension can be a dimension for grouping and summarizing data based on time granularity. Common time windows include minute-level, hour-level, and day-level. For example, aggregating VM running status data into 10-minute time windows can generate a periodic resource usage trend curve; or aggregating load data into daily peak periods (such as 8:00-20:00) can identify resource bottlenecks during peak business hours. Time-dimensional aggregation can reveal dynamic changes in resource usage, supporting predictive maintenance and capacity planning.

[0204] In this context, the business dimension refers to the dimension used to classify and summarize data based on business attributes, such as core business, non-core business, and high-priority business. For example, aggregating by business type can separately analyze the resource consumption of VMs for core business and non-core business, making it easier to distinguish the resource requirements of critical services from ordinary services. Aggregating by business dimension helps to implement differentiated resource assurance strategies, prioritizing the stable operation of core business.

[0205] In this embodiment, the aggregation dimension is automatically selected based on business requirements. For example, when optimizing resource scheduling, aggregation may be performed simultaneously using both hierarchical dimensions (aggregated by DC) and business dimensions (distinguished by core / non-core business) to generate grouped data such as DC1-core business, DC1-non-core business, etc. When performing load balancing analysis, the focus is on time-dimensional aggregation to generate hourly average load curves. This aggregation operation can be completed using preset aggregation functions such as SUM, AVG, MAX, and MIN to ensure that the above results have statistical significance.

[0206] In this embodiment, by aggregating the second data across different dimensions, multidimensional summarization and abstraction of the data are achieved. This method transforms raw, fine-grained data into more analytically valuable aggregated data, supporting higher-level operations research modeling and decision analysis, thereby enhancing the scientific rigor and precision of operations and maintenance strategies.

[0207] S703. Standardize the data format of the third data to obtain the target data.

[0208] Here, data format standardization can mean uniformly converting third-party data into a standardized format that can be directly called by cloud computing resource models, such as JSON, CSV, or XML. Of course, it can also be other formats. This application does not impose specific restrictions on this.

[0209] Standardizing the format of third-party data can be achieved by ensuring consistency in field naming, data types, and units. For example, CPU load can be standardized as a percentage, time as minute-level integers (e.g., 480 represents 8:00), and field names can be standardized to lowercase English letters with underscores. This ensures data compatibility with the input interface of the cloud computing resource model, avoiding parsing errors or conversion overhead caused by inconsistent formats.

[0210] In this embodiment, by standardizing the data format of the third data, efficient adaptation of the data to the cloud computing resource model is achieved. This data format standardization eliminates compatibility issues caused by data heterogeneity, thereby accelerating the initialization speed of model solving and improving the automation and execution efficiency of the entire operations research modeling process.

[0211] In some embodiments, after obtaining the target data, the target data can also be stored and managed, and the cache can be refreshed in real time based on the data update of the hypergraph, including cache storage management and cache dynamic update.

[0212] Here, cache storage management includes storing target data in the cache module as input data for the cloud resource computing model. The cache validity period for each piece of data in the cache module is set based on the update frequency of the corresponding data. A shorter cache validity period is set for dynamic data with a high update frequency, and a longer cache validity period is set for static data with a low update frequency. For example, real-time load data has a high update frequency, and its cache validity period can be set to 5 minutes; static attribute data (such as DC identifier, host's DC identifier, VM service type, etc.) has a low update frequency, and its cache validity period can be set to 1 hour. Through the caching mechanism, repeated hypergraph traversal and data preprocessing are avoided for the same query conditions within the cache validity period, reducing redundant computation overhead and improving the efficiency of input data acquisition for the operations research model.

[0213] Here, dynamic cache updates include: real-time monitoring of the hypergraph's data update status; when hypervertex attributes or hyperedge relationships in the hypergraph change, automatically triggering the re-filtering and preprocessing of the corresponding data, and updating the corresponding cached data in the cache module to ensure the real-time accuracy of the data input to the operations research model. In some implementations, when an update to a hypervertex attribute at a certain level in the hypergraph is detected (such as a change in the host's real-time CPU or memory load), it is determined whether the update affects the filtering results of the corresponding constraint-related edges; if it does, the step-by-step filtering and preprocessing of that constraint category and subsequent constraint categories is re-executed to generate new standardized data and replace the old data in the cache. If the hypergraph data has not changed and the cache has not expired, the standardized data in the cache is directly read as the input to the operations research model without re-executing the filtering and preprocessing.

[0214] This application embodiment uses the above-mentioned caching and real-time update mechanism to minimize redundant calculations while ensuring data timeliness by setting a differentiated cache validity period. At the same time, it ensures that the cached data is consistent with the hypergraph model through the hypergraph data change monitoring and automatic re-filtering mechanism, thereby achieving a balance between data acquisition efficiency and real-time data accuracy.

[0215] In some embodiments, to avoid the problem of variable dimensional expansion caused by data redundancy, after standardizing the data format of the third data, target dimension data that is strongly related to the modeling objective of the cloud computing resource model can be obtained from the processed third data, thereby obtaining target data; the target data is input into the cloud computing resource model, and the model variables and the first constraint conditions in the cloud computing resource model are adjusted based on the target data to obtain the adjusted cloud computing resource model; the adjusted cloud computing resource model is processed by performing operations to obtain the resource management strategy output by the adjusted mathematical model.

[0216] In this embodiment, the target dimension can be data obtained after dimensional filtering of the processed third data. Specifically, it can be data corresponding to the target dimension that is strongly related to the modeling objective of the cloud computing resource model, selected from the processed third data. The dimension filtering process retains the dimensions that are strongly related to the modeling objective, such as DC1 dimension, core business dimension, and effective load dimension, and removes redundant dimensions that are unrelated to the modeling objective. This allows the modeling process of the cloud computing resource model to focus on core variables, avoid computational interference caused by irrelevant dimensions, reduce the computational amount of model solving, and improve the overall solving efficiency.

[0217] In this embodiment, after standardizing the data format of the third data, the standardized third data undergoes further dimension extraction processing. Data corresponding to the target dimensions strongly correlated with the modeling objective of the cloud computing resource model is obtained from the standardized third data, thus acquiring the target data. This target data is input into the cloud computing resource model, and the model variables and first constraints within the model are adapted and adjusted based on the input target data to generate an adjusted cloud computing resource model. The adjusted cloud computing resource model is then used for solution processing, and mathematical operations are performed to output the resource management strategy for cloud computing resource scheduling and control. Thus, by dimensional pruning of the third data, filtering out irrelevant dimensions, and preventing irrelevant data from participating in model calculations, the scale of input data is reduced. While ensuring the completeness of the information required for the modeling objective, this effectively reduces the computational load of solving the cloud computing resource model, shortens the solution time, and improves solution efficiency.

[0218] In some embodiments, after obtaining the resource management strategy, the resource management strategy can be analyzed to evaluate its feasibility, optimization effect, and data adaptability.

[0219] In some embodiments, after obtaining the resource management strategy, the resource management strategy can also be output in the form of structured reports and visual charts for operation and maintenance personnel to view and make decisions.

[0220] The embodiments of this application are illustrated below through actual application scenarios.

[0221] In cloud computing operations and maintenance scenarios, operations research modeling is a key technical means to achieve core requirements such as resource scheduling optimization and load balancing. After a user proposes an operations research modeling problem, an objective function and constraints are constructed. Then, text-to-SQL technology is used to convert the constraints into query statements, and data is extracted from the cloud computing spatiotemporal database for model solving. Although this process automates part of the modeling and data retrieval, it suffers from insufficient accuracy in the data acquisition stage. This results in a large amount of redundant information in the extracted data. This redundant information is input into the modeling process, affecting the efficiency and accuracy of model solving. Specific problems are as follows: The relationship between operational constraints and data acquisition leads to data acquisition redundancy: Operational constraints often contain many semantically ambiguous expressions that cannot be directly converted into precise SQL conditions, such as reducing resource pressure on high-load hosts. These ambiguous constraints lack quantitative standards. When converting text to SQL, to avoid missing potential data, the query scope is often expanded, retrieving all associated data corresponding to the ambiguous constraint from the database at once. For example, for the ambiguous constraint of a high-load host, the SQL query might directly extract data from all virtual machines associated with the host, rather than the target data that meets the specific load threshold.

[0222] Operational constraints and data acquisition processes are independent and disconnected: In the existing process, constraints serve as the basis for SQL generation without targeted optimization of the data retrieval process. On the one hand, information with strong filtering value, such as spatial limitations and hierarchical relationships in constraints, is simply converted into the WHERE clause in SQL, failing to fully leverage the precise filtering capabilities of this information. On the other hand, the logical connections and hierarchical relationships between constraints are ignored, resulting in SQL queries that can only achieve flat filtering, unable to perform multi-dimensional precise filtering based on hierarchical architecture, further exacerbating data redundancy.

[0223] Redundant data triggers a chain of performance problems: The acquisition and preprocessing of large amounts of redundant data will put multiple performance pressures on the cloud computing spatiotemporal database and operations research modeling module: First, at the database level, full data queries consume a large amount of storage I / O(O), network bandwidth and computing resources, resulting in query response delays; second, at the modeling level, redundant data will drastically expand the solution space of the operations research model, increase the dimensionality of variables and the amount of constraint calculations, prolong the model solution time, and reduce the real-time performance of operation and maintenance decisions; third, at the data processing level, the system needs to invest additional resources to perform secondary screening and cleaning of redundant data.

[0224] To alleviate data redundancy issues, related technologies primarily employ four optimization methods: First, optimizing the accuracy of text-to-SQL conversion by guiding large language models to generate more precise query statements through prompt projects. However, this method cannot fundamentally solve the quantification problem of fuzzy constraints, still requiring manual intervention to set quantification standards, resulting in low automation. Second, using traditional data filtering algorithms (such as experience-based threshold filtering and machine learning-assisted outlier removal). However, these methods are independent of operational constraints and cannot dynamically adjust filtering strategies in conjunction with modeling objectives, resulting in limited filtering accuracy and the retention of a large amount of redundant data unrelated to constraints. Third, adding specific constraints during operational modeling, such as targeting a specific cloud platform or cloud platform availability zone. This method can reduce the solution space in the operational modeling solution process but cannot solve the problems of the first and second methods mentioned above. Fourth, jointly optimizing data acquisition and operational modeling based on expert experience to reduce data acquisition and solution space costs. Since operational modeling is continuously updated and adjusted along with business processes, in actual cloud computing operational modeling, the scope of data acquisition is often broadened to a certain extent to ensure the correctness of the operational modeling solution. All of the above strategies lead to data redundancy and insufficient solution efficiency.

[0225] In summary, there is an urgent need for a preprocessing method that can deeply integrate operations research constraints with the data acquisition process. By using constraint reverse analysis, hierarchical modeling, and precise querying, this method can fundamentally solve the problem of data redundancy and improve the overall efficiency of cloud computing operations research modeling.

[0226] To address the problems existing in related technologies, this application provides a preprocessing method that can deeply integrate operations research constraints and data acquisition processes. By using constraint reverse parsing, hierarchical modeling, and precise querying, it fundamentally solves the data redundancy problem, realizes the precise driving of constraints on the data acquisition process, and improves the overall efficiency of cloud computing operations research modeling.

[0227] Before describing the technical solutions of the embodiments of this application, the key points of the invention will be explained.

[0228] Key Invention Point 1: Operations Research Constraint Reverse Analysis Technique The constraint text is semantically parsed, classified, extracted, and quantized to form standardized filtering rules, which are used to solve the problems of fuzzy constraint quantification and constraint filtering mining.

[0229] The multi-type constraint classification and extraction includes classifying constraints into three categories using semantic understanding algorithms: explicit filterable constraints, fuzzy constraints, and non-filterable constraints. Explicit filterable constraints include spatial constraints, temporal constraints, and business attribute constraints; fuzzy constraints include semantically ambiguous expressions such as load descriptions, time period descriptions, and priority descriptions; and non-filterable constraints are logical constraints in the modeling process and do not participate in data filtering.

[0230] The fuzzy constraint quantification mechanism includes establishing a fuzzy constraint quantification rule base based on a knowledge base and historical operation and maintenance data in the cloud computing operation and maintenance field, enabling automatic conversion from fuzzy semantics to quantitative indicators. The quantification rule base supports dynamic iteration and can adaptively adjust the quantification standards according to different operation and maintenance scenarios.

[0231] The constraint logic optimization and standardization includes deduplication, priority sorting, and format standardization of the extracted and quantified constraints. For example, when both "Data Center DC1 Area" and "Core Business" exist in the constraints, they are merged into a combined filtering rule; the filtering order of constraints is determined based on the priority of the modeling objectives (e.g., spatial constraints take precedence over load constraints).

[0232] Invention Point Two: Hierarchical Hypergraph Modeling Technology Unlike traditional graph structures that can only represent binary relationships, the hypergraph model achieves an integrated representation of multi-element, multi-level relationships and constraints, adapting to the hierarchical characteristics of cloud computing spatiotemporal data and realizing a deep fusion of constraints and hierarchical relationships.

[0233] Here, for the construction of supervertexes, a hierarchical architecture based on cloud computing operation and maintenance data is used to define supervertexes. Each type of supervertex is bound with exclusive attributes and relationships to form a complete hierarchical attribute system.

[0234] Here, for the construction of dual-type hyperedges, two types of hyperedges are constructed: "hierarchical containment edges" and "constraint association edges" to achieve a collaborative representation of hierarchical relationships and constraints. Hierarchical containment edges are used to associate hypervertices at different levels, representing the attribution relationship; constraint association edges are constructed based on the constraint rules after reverse parsing, binding the quantified constraints between corresponding hypervertices, representing the restriction relationship of constraints on hierarchical entities.

[0235] Here, for the integration of spatiotemporal relationships, time constraints and spatial hierarchy constraints are uniformly integrated into the hypergraph model, and the spatiotemporal dimensions are collaboratively filtered through hypervertex attributes and hyperedge logic. For example, the constraint of "peak business hours" is used as the time attribute of the hypervertex.

[0236] Key Invention Point 3: Rule-Based Precise Query Technology Build a rule-based rule library that is compatible with the hypergraph model, and achieve efficient data filtering through rule matching, replacing traditional SQL queries and realizing accurate data retrieval based on constraint rules and the hypergraph model.

[0237] Here, a structured Rule-Based rule library is constructed dynamically based on standardized constraint rules obtained through reverse parsing, combined with the hierarchical relationships and hyperedge logic of the hypergraph model. Each rule contains three core elements: triggering conditions, hypergraph association paths, and filtering thresholds.

[0238] Here, the efficient rule matching process combines forward matching with hypergraph traversal to achieve rapid matching between rules and hypergraph data. During the matching process, the target rule is first located based on the triggering conditions, then the corresponding level of hypervertices is traversed along the hypergraph association path. Hypervertices are then validated using filtering thresholds, and finally, the target data that meets all constraints is output. This method eliminates the need for SQL semantic parsing and syntax conversion, and avoids cross-table joins by relying on hypergraph hierarchical relationships, thus improving query efficiency.

[0239] Here, the rule adaptive iteration process includes the rule base supporting dynamic optimization based on modeling feedback and changes in operational scenarios. When constraint types change, fuzzy constraint quantification standards are adjusted, or the cloud computing layer architecture is updated, the rule base can automatically synchronize and update the rule content and hypergraph association paths to ensure consistency between query rules, constraints, and data architecture.

[0240] Invention Point 4: Dynamic Adjustment of Modeling Constraints and Expanded Data Acquisition Unlike traditional solutions that are limited by fixed constraints and single data sources, this approach employs a flexible adaptation mechanism of "constraint adjustment - data requirement matching - gradual data expansion." It doesn't indiscriminately expand the data range, but rather precisely adjusts constraints based on modeling feedback (relaxing non-core thresholds and adjusting constraint priorities). This is synchronized with dynamic updates to the hypergraph constraint-related edges and the Rule-Based rule library. Through a transformation scheme of "expanding the filtering range + data deformation adaptation," it selectively supplements related data while reusing existing cached data and traversal results, avoiding redundancy and bounces while meeting data requirements. This mechanism gives the solution closed-loop adaptive capabilities, preventing modeling interruptions due to overly strict initial constraints or incomplete data coverage.

[0241] The technical solution provided in this application breaks through the technical bottleneck of "disconnect between constraints and data retrieval" in existing modeling. It proposes for the first time an integrated solution of "constraint reverse analysis - hypergraph modeling - rule query", which deeply integrates operations research constraints into the entire data acquisition process. Unlike traditional solutions that only achieve superficial filtering through SQL, the technical solution of this application realizes the precise driving of constraints on the data retrieval process through fuzzy constraint quantification and hierarchical constraint association, and fundamentally solves the problem of data retrieval redundancy caused by fuzzy constraints.

[0242] Here, the technical solution provided in this application will be described.

[0243] Reference Figure 8As shown, the overall architecture of the data processing method provided in this application embodiment includes: an operations research modeling module 801, an operations research constraint reverse analysis module 802, a hypergraph spatiotemporal modeling module 803, a Rule-Based rule base module 804, a data preprocessing module 805, and an operations research model solving and feedback module 806. The interaction between these modules completes a complete closed loop from operations research constraint analysis to data simplification, and then to model solving and feedback. The workflow between each module is described below. The operations research modeling module 801 receives user-inputted cloud computing operation and maintenance problems (corresponding to business requirements) and generates the objective function and initial constraints (corresponding to the first constraint condition) of the operations research model (corresponding to the cloud computing resource model). The operations research constraint reverse analysis module 802 analyzes, classifies, and quantifies the initial constraints, outputting standardized constraint rules (corresponding to the first constraint rule in the first constraint rule set). The hypergraph spatiotemporal modeling module 803 constructs a complete hypergraph model (corresponding to the hypergraph) based on the hierarchical architecture and standardized constraint rules of cloud computing spatiotemporal data. The Rule-Based rule base module 804, based on the standardized constraint rules, constructs the hypergraph model. The system standardizes constraint rules and the hypergraph model, constructs a structured rule base (corresponding to the standard rule base), and generates standardized query instructions (corresponding to query instructions). Through the data preprocessing module 805, the hypergraph model is traversed based on the standardized query instructions to select standardized data (corresponding to target data) without redundancy for modeling. Through the operations research model solving and feedback module 806, the standardized data is received to model and solve the operations research model, obtaining the solution results including the operation and maintenance plan (corresponding to cloud resource management strategy), and the solution results are fed back and synchronized to the operations research constraint reverse analysis module and the Rule-Base rule base module to achieve adaptive optimization of rules and models.

[0244] The functions of each module are explained in detail below.

[0245] (1) Operations Research Modeling Module The operations research modeling module is used to generate the objective function and initial constraints corresponding to the operations research model from the cloud computing operation and maintenance problems input by the user.

[0246] (2) Operations Research Constraint Reverse Analysis Module The Operations Research Constraint Reverse Analysis Module is used to analyze, classify, and quantify the initial constraints output by the Operations Research Modeling Module, and output standardized constraint rules for use in hypergraph modeling and Rule-Based queries, solving the problems of fuzzy constraint quantification and constraint filtering value mining.

[0247] Here, the initial constraints are parsed and classified. This can be done using a semantic parsing algorithm based on the constructed cloud computing operations and maintenance constraint classification knowledge base (corresponding to the standard constraint knowledge base). Specifically, first, a cloud computing operations and maintenance constraint classification knowledge base is constructed, containing feature word libraries for five major categories: spatial constraints, time constraints, load constraints, business constraints, and logical constraints (e.g., spatial constraint feature words: DC, region, cluster; load constraint feature words: high load, low occupancy, resource threshold; time constraint feature words: peak, time period, time period range). Second, through feature word matching and semantic similarity calculation, the initial constraints are classified into three categories: explicit filterable constraints, fuzzy constraints, and non-filterable logical constraints. Furthermore, the core information of each type of constraint can be extracted to form a constraint list. For example, the explicit constraint list could be "Spatial: DC1 region; Business: core business VM," the fuzzy constraint list could be "Load: high load Host; Time: peak business time period," and the logical constraint list could be "Total resource allocation ≤ Host resource limit."

[0248] Here, after classifying the initial constraints, fuzzy constraints can be automatically quantified and transformed based on a domain-specific quantification rule library (corresponding to a cloud computing quantification rule library). This domain-specific quantification rule library can be built using historical operational data training and expert experience accumulation, containing the mapping relationship between fuzzy semantics and quantification indicators, as well as scenario-adaptive rules for quantification thresholds. When quantifying each fuzzy constraint, the corresponding semantics in the domain-specific quantification rule library are first matched to determine the basic quantification indicators, which include basic indicators and corresponding quantification thresholds. Then, combined with the associated explicit constraints, the quantification thresholds are adjusted to generate precise quantification standards. For example, for the fuzzy constraint of "high-load Host," the basic indicators can be CPU load and memory load. Combined with the associated explicit constraint "DC1 area core business," the adjusted quantification threshold can be "average CPU load ≥ 80% or memory load ≥ 85%." For the fuzzy constraint of "peak business hours," the basic indicator can be a daily time range. Combined with the core business operational data in the associated explicit constraints, the quantification threshold can be "daily 8:00-20:00 (corresponding to 480-1200 minutes)." During the quantification process, if there are ambiguous semantics not covered by the rule base, the domain knowledge base update mechanism is automatically triggered. A temporary quantification standard is generated by combining real-time operation and maintenance data and synchronized to the rule base for subsequent reuse.

[0249] Here, after quantizing and transforming fuzzy constraints, we can further optimize explicit filterable constraints, quantized fuzzy constraints, and non-filterable logical constraints to form standardized constraint rules. First, we perform logical deduplication, eliminating duplicate or contradictory constraints (e.g., when both "DC1 region" and "DC2 region" constraints exist, prompting user confirmation or retaining core constraints based on modeling goal priority). Second, we prioritize constraints, determining the constraint filtering order based on the importance of modeling goals and filtering efficiency (i.e., constraint category priority, such as from high to low: spatial constraints → business constraints → time constraints → load constraints). Finally, we transform the optimized constraints into standardized key-value pair rules, thus obtaining standardized constraint rules. Each rule contains four key elements: constraint type, constraint value, quantization threshold, and association level. For example, "Constraint type: spatial; constraint value: DC1; quantization threshold: none; association level: DC layer" or "Constraint type: load; constraint value: low Host load; quantization threshold: CPU load <80% and memory load <85%; association level: Host layer." Standardized constraint rules support multiple output formats such as JSON and XML, adapting to the input requirements of subsequent hypergraph modeling and rule-based rule bases.

[0250] In some implementations, the operations research constraint reverse analysis module can also receive the output results from the operations research model solving and feedback module, dynamically optimizing the constraint analysis logic and quantization standards. For example, if redundancy is found in the selected data after modeling and solving, the constraint priority is adjusted or the quantization threshold is refined; if the amount of selected data is insufficient, resulting in no solution for the model, the quantization threshold of the fuzzy constraints is appropriately relaxed to ensure the adaptability of the constraint rules to the modeling requirements.

[0251] (3) Hypergraph Spatiotemporal Modeling Module The Hypergraph Spatiotemporal Modeling Module is used to construct a hypergraph model (corresponding to the hypergraph) based on the hierarchical architecture of the obtained cloud computing spatiotemporal data (corresponding to the first data) and the standardized constraint rules after reverse parsing. This enables the integrated representation of hierarchical relationships, spatiotemporal attributes, and constraints, providing underlying data support for Rule-Based accurate queries.

[0252] Here, obtaining cloud computing spatiotemporal data can be achieved by accessing a cloud computing spatiotemporal database. Taking IaaS cloud computing as an example, cloud computing spatiotemporal data includes core data at different levels, such as DC data, Host data, and VM data. For PaaS, SaaS, and other operational analysis scenarios, appropriate data and indicators will be selected according to business needs; this application does not impose specific limitations on this. DC data includes, but is not limited to, fields such as DC identifier, regional location, operation and maintenance level, total CPU capacity, total memory capacity, and running status; Host data includes, but is not limited to, fields such as Host identifier, DC identifier, CPU configuration, memory configuration, real-time CPU load, real-time memory load, running status, and deployment time; VM data includes, but is not limited to, fields such as VM identifier, Host identifier, business type, CPU usage, memory usage, runtime segment, and priority. After obtaining the cloud computing spatiotemporal data, data cleaning can be performed to remove invalid data (such as data with missing identifiers or abnormal attributes), duplicate data, and supplement missing attributes (such as filling in the VM's regional attributes based on the DC to which the Host belongs), providing high-quality data for super-vertex construction.

[0253] Here, after obtaining the cleaned cloud computing spatiotemporal data, based on the hierarchical architecture of the cloud computing spatiotemporal data, supervertices for each level are constructed. For example, taking the hierarchical architecture of the cloud computing spatiotemporal data as including the DC layer, Host layer, and VM layer, three levels of supervertices (DC, Host, and VM) are constructed. Each supervertices are assigned a unique identifier and bound with corresponding attributes and relationships. The specific construction logic is as follows: Construct a DC supervertex, using the DC identifier as the supervertex ID. Attributes include region location, operation and maintenance level, total CPU capacity, total memory capacity, and running status. The associated relationships are a list of subordinate Host identifiers (based on matching the DC identifier in the Host data). For example, the attributes of the DC supervertex "DC1" are "Region: Eastern; Operation and Maintenance Level: Level 1; Total CPU Capacity: 1000 cores; Total Memory Capacity: 2048GB; Running Status: Normal," and the associated Host list is "Host1_1, Host1_2, ..., Host1_50."

[0254] Construct a Host supervertex, using the Host identifier as the supervertex ID. Attributes include the DC identifier, CPU configuration, memory configuration, real-time CPU load, real-time memory load, running status, and deployment time. The association is between the DC identifier and a list of subordinate VM identifiers (based on matching the Host identifier in the VM data). For example, the Host supervertex “Host1_1” has the attributes “DC: DC1; CPU configuration: 20 cores; Memory configuration: 64GB; Real-time CPU load: 75%; Real-time memory load: 80%; Running status: Normal; Deployment time: 2024-01-01”, and its associated VM list is “VM1_1_1, VM1_1_2, ..., VM1_1_20”.

[0255] A VM supervertex is constructed, with the VM identifier as the supervertex ID. Attributes include the host identifier, service type, CPU usage, memory usage, runtime (minutes), and priority. The association is between the host identifier and the DC identifier (indirect association). For example, the VM supervertex “VM1_1_1” has the following attributes: “Host: Host1_1; Service type: Core service; CPU usage: 2 cores; Memory usage: 8GB; Runtime: 500-1200 minutes; Priority: High”, and its DC identifier is “DC1” (obtained through association with Host1_1).

[0256] Here, after constructing the hypervertices, we can construct hierarchical edges and constraint-related edges based on the hypervertices set and the standardized constraint rules after reverse parsing, thereby completing the hypergraph model and realizing the collaborative representation of hierarchical relationships and constraint conditions.

[0257] Here, for the construction of hierarchical containment edges, a multi-vertex association hyperedge form is adopted to represent the affiliation relationship of hypervertices at different levels. For the DC and Host levels, a "DC hypervertices - subordinate Host hypervertices" hyperedge is constructed, with the hyperedge ID format "Edge_Level_DC-Host_XXX" and the hyperedge attribute "Relationship type: Hierarchical containment; Association level: DC-Host". For the Host and VM levels, a "Host hypervertices - subordinate VM hypervertices" hyperedge is constructed, with the hyperedge ID format "Edge_Level_Host-VM_XXX" and the hyperedge attribute "Relationship type: Hierarchical containment; Association level: Host-VM". The number of hierarchical containment edges corresponds one-to-one with the hierarchical association relationship. For example, if DC1 contains 50 Hosts, then one hierarchical containment edge is constructed to associate DC1 with the 50 Hosts, avoiding the redundancy problem of constructing 50 binary edges in traditional graph structures.

[0258] Here, for the construction of constraint-related edges, based on the standardized constraint rules obtained from reverse parsing, hyperedges binding constraint conditions are constructed and associated with corresponding hypervertices at the same level, representing the constraint's restrictive relationship on entities. The construction of constraint-related edges needs to consider both the constraint type and the association level. Constraint-related edges can be dynamically enabled / disabled; when constraint rules are adjusted, the constraint conditions and association relationships of hyperedges can be quickly updated without reconstructing the entire hypergraph model.

[0259] For example, for spatial constraints (such as "DC1 region"), a "DC supervertex - Host supervertex - VM supervertex" hyperedge is constructed based on hierarchical inclusion edges, and spatial constraint conditions are bound to it, associating the target DC and its subordinate Host and VM supervertexes, thus obtaining spatial constraint association edges. For business constraints (such as "core business VM"), a "Host supervertex - VM supervertex" hyperedge is constructed based on spatial constraint association edges, and business type constraints are bound to it, associating the core business VM supervertex with its subordinate Host supervertex, thus obtaining spatial constraint association edges. For quantified load constraints (such as "Host CPU load < 80%)", a "Host supervertex - VM supervertex" hyperedge is constructed based on business constraint association edges, and load threshold constraints are bound to it, associating the Host supervertex that meets the load conditions with its subordinate VM supervertexes. The hyperedge attributes are "Relationship type: Load constraint; Constraint condition: Host CPU load < 80% and memory load < 85%; Filtering status: Enabled", thus obtaining load constraint association edges. For the quantified time constraints (e.g., "runtime period 480-1200 minutes"), construct a single-vertex hyperedge (or associate Host hypervertex) based on the load constraint association edge, bind the time window constraint, and associate VM hypervertex that meet the time condition. The hyperedge attributes are "relationship type: time constraint; constraint condition: VM runtime period ∈ [480, 1200]; filtering status: enabled", thus obtaining the time constraint association edge.

[0260] After the hypergraph model is built, a hypergraph indexing mechanism is established based on hypervertex identifiers, association levels, and constraint types to improve the efficiency of hypergraph traversal and matching. Data updates in the cloud computing spatiotemporal database are synchronized regularly to dynamically adjust the association relationship between hypervertex attributes and hyperedges (e.g., after the Host load is updated, the association status of load constraint associated edges is adjusted). A hypergraph visualization interface is provided to allow operations and maintenance personnel to view the association relationship and constraint binding status of hypervertexes and hyperedges, facilitating troubleshooting and model optimization.

[0261] (4) Rule-Base module The Rule-Base module is used to construct a structured rule base based on the standardized constraint rules output by the Operations Research Constraint Backpropagation module and the hypergraph model output by the Hypergraph Spatiotemporal Modeling module. It generates precise standardized query commands to drive the intelligent data preprocessing module to complete data filtering, replacing the traditional SQL query method.

[0262] Here, the structured rule base adopts a layered rule base architecture, including three layers: basic rule layer, combined rule layer, and adaptation rule layer. The rules in each layer work together to ensure query accuracy and flexibility.

[0263] The basic rule layer stores the individual constraint rules after reverse parsing, corresponding one-to-one with the constraint-related edges in the hypergraph model. Each basic rule contains five key elements: rule ID, constraint type, hyperedge ID (i.e., constraint-related edge ID), filtering threshold, and triggering condition. For example, the basic rule "Rule_Space_DC1" corresponds to the spatial constraint-related edge "Edge_Constraint_Space_DC1", the triggering condition is "the modeling target involves the DC1 region", and the filtering threshold is "DC=DC1".

[0264] The composite rule layer stores compound or combined rules obtained by combining basic rules based on modeling objectives and constraint priorities. These rules correspond to the collaborative filtering logic of multi-constraint associated edges in the hypergraph. For example, the composite rule "Rule_Optimize_DC1_Core" combines spatial rules (DC1), business rules (core business), load rules (host low load), and time rules (peak hours), associating them with the four corresponding basic rules. The filtering order is defined as "space → business → time → load," ensuring accurate multi-dimensional filtering.

[0265] The adaptation rule layer stores scenario-based adaptation rules. It allows adjustment of the filtering order and thresholds of combined rules based on different cloud computing operation and maintenance scenarios (such as resource scheduling, load balancing, and fault avoidance). For example, in a fault avoidance scenario, the priority of load constraints is raised to the highest level, prioritizing the filtering of VM data associated with low-load hosts.

[0266] In some implementations, before building the structured rule base, each standardized constraint rule can be converted into a corresponding basic rule one by one based on preset field mapping relationships and rule templates. The rule conversion process includes: First, extract the core elements (constraint type, constraint value, quantization threshold, association level) from the standardized constraint rules and map them to the fixed fields of the basic rules (rule ID, constraint type field, filtering threshold field, hyperedge association field (i.e., constraint association edge ID field), and trigger condition field). Second, match the preset rule templates (spatial constraint template, load constraint template, etc.) according to the constraint type, fill in the element content, and generate rule logic expressions (such as the logic of spatial constraints corresponding to "hypervertex level = DC layer and attribute value = constraint value"). Finally, perform format validation and logical legality checks on the generated basic rules to ensure that each basic rule can accurately associate with the constraint association edges in the hypergraph and that the filtering logic is unambiguous.

[0267] In some implementations, operations and maintenance personnel can supplement custom basic rules, adjust rule elements, or modify template mapping relationships for specific scenarios. Subsequently, based on constraint priority, the basic rules are combined into composite rules, taking into account both generation efficiency and scenario adaptability.

[0268] Here, after constructing the structured rule base, upon receiving a business requirement, the system retrieves the combined rules corresponding to the modeling objective from the structured rule base. Then, following the basic rules contained in the combined rules, it associates the constraint edges in the hypergraph to generate a hypergraph traversal path and filtering conditions, ultimately transforming it into a standardized query command. The query command contains four core components: the hypergraph traversal starting point (e.g., DC hypervertex ID), the traversal path (e.g., DC→Host→VM), filtering conditions at each level (e.g., DC=DC1, VM business type=core business), and the filtering order. For example, for the modeling objective "DC1 core business VM resource optimization," matching the combined rule "Rule_Optimize_DC1_Core" generates the query command: "Traversal starting point: DC1 hypervertex; Traversal path: DC1→Host (CPU load <80%)→VM (core business, runtime 480-1200); Filtering order: Space→Business→Time→Load; Output fields: VM identifier, Host identifier, CPU usage, memory usage, runtime."

[0269] In some implementations, the Rule-Base module incorporates a rule validation engine that verifies the generated rules and query commands to ensure logical consistency, valid hypergraph traversal paths, and executable filtering conditions. Upon successful validation, the query command is sent to the intelligent data preprocessing module; if validation fails, it is automatically fed back to the reverse parsing module and the hypergraph modeling module to investigate issues with constraint rules or the hypergraph model. Simultaneously, based on query results and modeling feedback, rules are periodically optimized, such as adjusting the rule filtering order to improve query efficiency and refining filtering thresholds to optimize data simplification.

[0270] (5) Intelligent data preprocessing module The intelligent data preprocessing module is used to traverse the hypergraph model based on the query instructions output by the Rule-Base module, filter standardized data and complete cleaning, standardization and normalization processing, so as to provide high-quality and non-redundant input data for solving the operations research model.

[0271] Here, the process of traversing the hypergraph and filtering data based on the query command includes: Based on the traversal starting point, traversal path, and filtering conditions in the query command, a depth-first traversal algorithm is used to traverse the hypergraph model, filtering out the fourth data that meets all filtering conditions. During the traversal, the matching status of the current hypervertices and constraint-related edges is checked in real time. If a hypervertices do not meet the constraints, all its subordinate level paths are pruned, and traversal is stopped. For example, when traversing Host hypervertices, if its CPU load is ≥80% (not meeting the load constraint), the traversal of all VM hypervertices under that Host is skipped directly, without needing to check VM attributes one by one, reducing the overhead of hierarchical recursion. The specific traversal logic is as follows: First-level traversal (DC layer): Starting from the specified DC hypervertices, based on spatial constraint associated edges, filter the target DC hypervertices and obtain a list of all its subordinate Host hypervertices.

[0272] Second-level traversal (Host layer): Traverse the Host supervertices under the DC, filter the Host supervertices that meet the load threshold based on the load constraint associated edges, and obtain a list of all VM supervertices under them.

[0273] Third-level traversal (VM layer): Traverse the VM supervertices under the Host, filter VM supervertices that meet the business type and time window based on business constraint association edges and time constraint association edges, and extract their attribute data (such as VM identifier, CPU usage, host identifier, etc.) to obtain the fourth data (corresponding to the second data).

[0274] During the traversal, the hypergraph indexing mechanism can be used to quickly locate hypervertices and hyperedges. Combined with the rule-based filtering order, data is filtered layer by layer to ensure that data that meets all constraints is retained and irrelevant and redundant data is removed. For example, for a query command targeting the core business VMs in DC1, after traversal, the data of VMs running in the DC1 region, associated low-load hosts, core business types, and peak hours is retained.

[0275] In some implementations, after obtaining the fourth data, the fourth data can be cleaned a second time to remove abnormal data (such as removing the host and its associated VMs if the host configuration is abnormal); for missing attribute data, it can be completed based on the relationship in the hypergraph model, for example, by using the CPU configuration of the host to which the VM belongs to fill in the missing value of the VM's CPU usage; by using the DC's operation and maintenance level to fill in the priority attribute of the host.

[0276] In some implementations, after obtaining the cleaned fourth data, the cleaned fourth data can be aggregated based on the business requirements of operations modeling. Aggregation dimensions include hierarchical aggregation (e.g., aggregating total VM resource usage by DC and Host levels), time aggregation (e.g., aggregating VM running status data by 10-minute time windows), and business aggregation (e.g., aggregating resource requirements by core / non-core business).

[0277] In some embodiments, after obtaining the aggregated fourth data (corresponding to the third data), the data format can be standardized and converted into a format that the operations research model can directly call (such as JSON, CSV, XML). Field naming, data types and units are unified (such as CPU load being unified as a percentage and time being unified as a minute level) to obtain standardized data. In this way, it is ensured that the data is compatible with the input requirements of the operations research model.

[0278] In some embodiments, standardized data can also be stored in a cache module, with the cache validity period set based on the data update frequency (e.g., 5 minutes for real-time load data and 1 hour for static attribute data), to avoid repeated traversal of the hypergraph and preprocessing; real-time monitoring of data updates in the hypergraph model, and automatic triggering of re-filtering and preprocessing when data changes, updating cached data to ensure that the data input to the operations research model is accurate in real time.

[0279] (6) Operations research model solution and feedback module The operations research model solution and feedback module is used to solve the operations research model based on the standardized data output by the intelligent data preprocessing module, and to synchronize the solution feedback to the operations research constraint reverse analysis module and the rule-based rule base module to achieve adaptive optimization of rules and models.

[0280] Here, after obtaining standardized data, it can be imported into the operations research model. Based on the data scale and attributes, the model variable dimensions and constraint calculation logic can be adjusted to avoid the variable dimension expansion problem caused by data redundancy in traditional solutions. For example, only dimensions strongly related to the modeling objective (such as DC1, core business, and payload) can be retained, while irrelevant dimensions can be eliminated to ensure that the model focuses on core considerations and improve solution efficiency.

[0281] Furthermore, an operations research algorithm adapted to cloud computing operations and maintenance scenarios is employed to solve the operations research model, yielding solutions such as resource scheduling schemes and load balancing strategies (corresponding to resource management strategies). After the solution is completed, the results are analyzed to evaluate the feasibility, optimization effect, and data adaptability of the solutions. Finally, the model's solution results are output in the form of structured reports and visual charts for operations and maintenance personnel to view and make decisions.

[0282] Please continue to refer to Figure 1 The data processing device 154 may include an acquisition module 1541, a first processing module 1542, a construction module 1543, a second processing module 1544, and a third processing module 1545. The acquisition module 1541 is used to acquire the first constraints of the cloud computing resource model, which corresponds to business requirements. The first processing module 1542 is used to process the first constraints to generate a first set of constraint rules. The construction module 1543 is used to construct a hypergraph based on the first set of constraint rules and the first data associated with the business requirements, resulting in a hypergraph. The hypergraph contains multiple hypervertices, and the hierarchy connecting the hypervertices includes edges and constraint associations. Edges and hypervertices are used to represent resource entities at each level in the first data. Level-inclusive edges are used to associate hypervertices of adjacent levels to represent the hierarchical relationship between resource entities. Constraint-association edges are used to associate constraint rules of different constraint categories to the corresponding hypervertices to represent the restriction relationship of constraint rules on resource entities at the same or across levels. The second processing module 1544 is used to generate query instructions based on the first constraint rule set and the hypergraph. The third processing module 1545 is used to traverse the hypergraph based on the query instructions to obtain target data. The target data is used to perform calculations on the cloud computing resource model to obtain the cloud resource management strategy corresponding to the business requirements.

[0283] It should be noted that the description of the device embodiments in this application is similar to the description of the method embodiments described above, and has similar beneficial effects as the method embodiments; therefore, it will not be repeated. For technical details not disclosed in the device embodiments, please refer to the description of the method embodiments in this application for understanding.

[0284] It should be noted that, in the embodiments of this application, if the above-described data processing method is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, or the part that contributes to the related technology, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a terminal to execute all or part of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, mobile hard drives, read-only memory (ROM), magnetic disks, or optical disks. Thus, the embodiments of this application are not limited to any specific hardware and software combination.

[0285] This application provides a storage medium storing executable instructions. When the executable instructions are executed by a processor, the processor will execute the data processing method provided in this application.

[0286] In some embodiments, the storage medium may be a computer-readable storage medium, such as ferromagnetic random access memory (FRAM), read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), flash memory, magnetic surface memory, optical disk, or compact disk-read-only memory (CD-ROM); or it may be a device that includes one or any combination of the above-mentioned memories. In some embodiments, executable instructions may take the form of a program, software, software module, script, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including being deployed as a standalone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.

[0287] As an example, executable instructions may, but do not necessarily, correspond to files in a file system. They may be stored as part of a file that holds other programs or data, for example, in one or more scripts within a Hyper Text Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple co-located files (e.g., files storing one or more modules, subroutines, or code sections). As an example, executable instructions may be deployed to execute on a single computing device, or on multiple computing devices located in one location, or on multiple computing devices distributed across multiple locations and interconnected via a communication network.

[0288] The above are merely embodiments of this application and are not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, and improvements made within the spirit and scope of this application are included within the scope of protection of this application. It should be understood that "an embodiment" or "one embodiment" mentioned throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in one embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of this application, the sequence number of the above-mentioned processes does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. The sequence numbers of the above-mentioned embodiments of this application are merely for description and do not represent the superiority or inferiority of the embodiments.

[0289] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components may be combined, or integrated into another system, or some features may be ignored or not performed.

[0290] The above are merely embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A data processing method, the method comprising: Obtain the first constraint condition of the cloud computing resource model, process the first constraint condition, and generate the first constraint rule set; The cloud computing resource model corresponds to business requirements; Based on the first set of constraint rules, a hypergraph is constructed on the first data associated with the business requirements to obtain a hypergraph. The hypergraph contains multiple hypervertices, as well as hierarchical inclusion edges and constraint association edges connecting the hypervertices. The hypervertices are used to represent resource entities at each level in the first data. The hierarchical inclusion edges are used to associate hypervertices at adjacent levels to represent the hierarchical affiliation relationship between resource entities. The constraint association edges are used to associate constraint rules of different constraint categories to the corresponding hypervertices to represent the restriction relationship of the constraint rules on resource entities at the same level or across levels. A query instruction is generated based on the first set of constraint rules and the hypergraph, and the hypergraph is traversed based on the query instruction to obtain target data; wherein, the target data is used to perform calculations on the cloud computing resource model to obtain the cloud resource management strategy corresponding to the business requirements.

2. The method according to claim 1, wherein processing the first constraint condition to generate a first constraint rule set includes: The first constraint is analyzed and classified to obtain a second constraint with different execution characteristics; wherein the constraint with different execution characteristics includes constraint with different constraint categories. Based on the modeling objectives and screening efficiency of the cloud computing resource model, the constraints of different constraint categories in all second constraints are sorted to determine the priority of constraint categories. According to the priority of the constraint categories, all the second constraints are sorted and their formats are converted to obtain the first constraint rule set.

3. The method according to claim 2, wherein parsing and classifying the first constraint to obtain second constraint conditions with different execution characteristics includes: The standard feature words of at least one constraint category in the standard constraint knowledge base are matched with the feature words in the first constraint condition to obtain the matching result; Replace the feature words in the first constraint that satisfy the matching condition with the standard feature words of the corresponding constraint category; According to the standard feature words of each constraint category, the first constraint conditions corresponding to each constraint category are classified to obtain the second constraint conditions with different execution characteristics.

4. The method according to claim 2, wherein before sorting the constraints of different constraint categories among all second constraints based on the modeling objectives and screening efficiency of the cloud computing resource model to determine the priority of the constraint categories, the method includes: Using a cloud computing quantization rule base, a second constraint with a first execution characteristic is quantified to obtain a quantized second constraint with the first execution characteristic; wherein, all the second constraint conditions include the quantized second constraint with the first execution characteristic. The cloud computing quantification rule base includes the mapping relationship between fuzzy semantics and quantification indicators, as well as the matching relationship between quantification thresholds and modeling scenarios when establishing the mathematical model.

5. The method according to claim 4, wherein the step of using a cloud computing quantization rule base to quantize the second constraint condition having the first execution characteristic to obtain the quantized second constraint condition having the first execution characteristic includes: For each second constraint with a first execution characteristic, the fuzzy semantics in the second constraint with the first execution characteristic are semantically matched with the quantitative indicators in the cloud computing quantitative rule base to determine the basic quantitative indicators of the fuzzy semantics; the basic quantitative indicators include basic indicators and corresponding quantitative thresholds. The modeling scenario of the cloud computing resource model is determined, and based on the modeling scenario, the quantization thresholds of each of the basic indicators are adjusted to obtain the quantized second constraint with the first execution characteristic.

6. The method according to any one of claims 1 to 5, wherein constructing a hypergraph on the first data associated with the business requirement based on the first set of constraint rules to obtain the hypergraph includes: Based on the first data, super vertices are established for each level, with each resource entity identifier in each level as a super vertex identifier; wherein, the parameters of the super vertex include: super vertex identifier, entity attribute corresponding to the resource entity, and association relationship between the resource entity and resource entities in adjacent levels; Based on the super vertices of each level, construct the level-containing edges between super vertices of adjacent levels; the level-containing edges include the level super-edge attributes; Using the rule parameters of each first constraint rule in the first constraint rule set, the layer-containing edges, and the layer-hyperedge attributes, constraint-related edges corresponding to each constraint category are constructed to obtain the hypergraph; the rule parameters include the constraint category.

7. The method according to claim 6, wherein constructing constraint association edges corresponding to each constraint category using the rule parameters of each first constraint rule in the first constraint rule set, the hierarchical included edges, and the hierarchical super-edge attributes comprises: According to the priority of the constraint categories in the first constraint rule set, the rule parameters of the first constraint rule corresponding to each constraint category, the layer-containing edge and the layer-super-edge attributes are used to perform iterative filtering to construct the corresponding super-edge, thereby obtaining spatial constraint associated edges, business constraint associated edges, load constraint associated edges and time constraint associated edges in sequence; wherein, the constraint categories include spatial constraints, business constraints, load constraints and time constraints.

8. The method according to any one of claims 1 to 5, wherein generating a query instruction based on the first constraint rule set and the hypergraph comprises: Based on the first set of constraint rules, construct a second set of constraint rules; The second set of constraint rules includes multiple combination rules, and the combination rules include at least two second constraint rules; Based on the modeling objective for the cloud computing resource model, a combination rule corresponding to the modeling objective is matched from the second constraint rules; According to the rule order of the second constraint rules included in the combined rules, the constraint association edges corresponding to the rule parameters of the second constraint rules in the hypergraph are associated to obtain the traversal starting point, traversal path, filtering conditions and filtering order of the hypergraph, thereby obtaining the query instruction.

9. The method according to claim 8, wherein constructing the second constraint rule set based on the first constraint rule set comprises: Based on the rule parameters of each first constraint rule in the first constraint rule set, rule parameter mapping is performed to obtain multiple third constraint rules; The rule parameters of the first constraint rule include: constraint category, constraint value, quantization threshold, and association level; the rule parameters of the third constraint rule include: rule identifier, constraint category, filtering threshold, constraint association edge identifier, and triggering condition. Each of the multiple third constraint rules is matched to a preset rule template of the corresponding constraint category to generate multiple second constraint rules with logical relationships. Based on the modeling objectives and constraint category priorities of the cloud computing resource model, at least some of the second constraint rules are combined to obtain multiple combined rules, thereby obtaining the second constraint rule set.

10. The method according to any one of claims 1 to 5, wherein traversing the hypergraph based on the query instruction to obtain the target data comprises: Starting from the traversal starting point in the query instruction, the hypergraph is traversed and filtered according to the traversal path, filtering conditions, and filtering order to obtain second data that meets the filtering conditions; wherein, the query instruction includes the traversal starting point, traversal path, filtering conditions, and filtering order of the hypergraph. The second data is aggregated according to different dimensions to obtain the third data corresponding to each dimension. The dimensions include one of the following: hierarchical dimension, time dimension, and business dimension. The data format of the third data is standardized to obtain the target data.

11. A data processing apparatus, the apparatus comprising: The module is used to obtain the first constraints of the cloud computing resource model. The cloud computing resource model corresponds to business requirements; The first processing module is used to parse the first constraint condition and generate a first constraint rule set; The construction module is used to construct a hypergraph based on the first constraint rule set for the first data associated with the business requirements, thereby obtaining a hypergraph. The hypergraph contains multiple hypervertices, as well as hierarchical inclusion edges and constraint association edges connecting the hypervertices. The hypervertices are used to represent resource entities at each level in the first data. The hierarchical inclusion edges are used to associate hypervertices at adjacent levels to represent the hierarchical affiliation between resource entities. The constraint association edges are used to associate constraint rules of different constraint categories to the corresponding hypervertices to represent the restriction relationship of the constraint rules on resource entities at the same level or across levels. The second processing module is used to generate query instructions based on the first set of constraint rules and the hypergraph. The third processing module is used to traverse the hypergraph based on the query instruction to obtain target data; wherein, the target data is used to perform calculations on the cloud computing resource model to obtain the cloud resource management strategy corresponding to the business requirements.