A cost-optimized open-pit mine roadside cloud application deployment method
By constructing a multidimensional cost model and a three-stage graph partitioning optimization algorithm, the cost and reliability issues of edge cloud application deployment in open-pit mine environments were solved. This achieved application deployment optimization under dynamic network and energy constraints, reducing system operating costs and improving reliability.
Patent Information
- Application Number
- CN202611447300.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-17
- Publication Date
- 2026-11-20
AI Technical Summary
Existing edge cloud application deployment algorithms have failed to effectively adapt to the complex and dynamic environment of open-pit mines, especially in terms of balancing computing, storage, communication, energy and security costs, and failing to address the challenges of device mobility and network fluctuations.
A multidimensional cost model and graph mapping are constructed. By combining a dynamic constraint model and a three-stage graph partitioning optimization algorithm, the global optimal solution for application deployment is achieved through the multi-graph partitioning optimization problem. A dynamic redeployment mechanism is also introduced to cope with network and energy changes.
A balance between performance, reliability, and economy is achieved in open-pit mining environments, reducing overall system operating costs, improving deployment reliability and resource management efficiency, and supporting large-scale real-time deployment decisions.
Smart Images

Figure CN123145281A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the fields of edge computing and cloud computing technology, and in particular to a method for deploying roadside cloud applications in open-pit mines with cost optimization. Background Technology
[0002] With the advancement of intelligent construction in open-pit mines, applications such as unmanned mining trucks, remote-controlled excavators, and intelligent video surveillance are being deployed in large numbers. These applications place extremely high demands on latency, bandwidth, and computing resources. Relying solely on remote cloud data centers cannot meet the low-latency requirements, while deploying high-performance computing units on each mining device is prohibitively expensive. Therefore, roadside cloud, as a type of miniaturized, highly reliable edge computing node deployed along mine roads and near the mining face, has become crucial for balancing performance and cost.
[0003] However, open-pit mine environments have the following unique characteristics: 1. Complex terrain and mobility: The dynamic changes in the location of mining trucks and other equipment result in highly dynamic and unpredictable network connection quality (such as bandwidth, latency, and packet loss rate) between them and roadside cloud nodes; 2. Energy and heat dissipation constraints: Roadside cloud nodes are usually deployed outdoors, relying on solar energy or limited power supply, and the availability of their computing resources is strictly limited by energy consumption and heat dissipation conditions. 3. Strong task heterogeneity: The deployed applications are diverse, including vehicle control tasks that are extremely sensitive to latency, video analysis tasks that consume a lot of bandwidth, and scheduling optimization tasks that have high computing power requirements but slightly lower real-time requirements. 4. Complex cost structure: The cost includes not only the cost of using computing and storage resources, but also the energy consumption cost caused by task failures and retransmissions due to network fluctuations, as well as the cost of security risks caused by improper application deployment.
[0004] While existing edge cloud application deployment algorithms consider computational, storage, and communication costs and have achieved significant results in smart manufacturing scenarios, they assume a relatively stable network environment and abundant resource supply. They also fail to adequately consider energy constraints and the dynamic connectivity of mobile devices, making them difficult to directly apply to the complex and dynamic scenarios of open-pit mines. Therefore, there is an urgent need for an application deployment method that can adapt to the characteristics of the mining environment and comprehensively consider multi-dimensional costs. Summary of the Invention
[0005] The purpose of this invention is to solve the problems in the prior art by proposing a cost-optimized roadside cloud application deployment method for open-pit mines.
[0006] A method for deploying roadside cloud applications in open-pit mines with cost optimization includes the following steps: S1. Construct a multi-dimensional cost model and graph mapping, map the application instances to be deployed and the roadside cloud nodes in the open-pit mine roadside cloud deployment scenario to vertices in the graph, and construct edges according to the deployable relationship between applications and nodes. Assign each edge a multi-dimensional cost weight vector containing computing cost, storage cost, communication cost, energy cost and service quality breach cost, and establish a weighted undirected graph model. S2. Establish a dynamic constraint model, which includes deployment uniqueness constraint, node resource capacity constraint, end-to-end latency constraint and energy sustainability constraint, and determine the prediction latency parameter in the end-to-end latency constraint based on the prediction of changes in the location of mining equipment. S3. Three-stage deployment optimization based on multi-graph partitioning: The application deployment problem is transformed into a multi-graph partitioning optimization problem. The coarsening stage merges strongly correlated vertices to reduce the graph size. The initial partitioning is performed on the minimum coarsened graph to obtain a feasible partitioning scheme. Then, the partitioning scheme is projected back to the original graph layer by layer through the refinement stage and local optimization is performed. The overall cost defined in step S1 is minimized under the premise of satisfying the constraints described in step S2. S4. Dynamic redeployment and migration optimization: During the deployment process, network status, resource usage and application performance are continuously monitored. When the preset trigger conditions are met, a redeployment decision is triggered. The affected area is re-divided using an incremental optimization method, and the application instance is migrated between different roadside cloud nodes through a build-then-switch strategy.
[0007] Preferably, in step S1, the multidimensional cost vector is:
[0008] in, Indicates that the application will be used Deployed on nodes The computational cost generated above Indicates storage cost, Indicates communication cost, Indicates energy cost, This indicates the cost of breaching service quality regulations; The objective function for the overall cost is: Min + ) Among them, The decision variable being 1 indicates Above, a value of 0 indicates that it will not be deployed on this node. .
[0009] Preferably, in step S2, the dynamic constraint model specifically includes: The deployment uniqueness constraint is not: ,
[0010] The node resource capacity constraint is:
[0011] The end-to-end delay constraint is:
[0012] in, For nodes within the prediction time window With mining cards Average communication latency between them; The energy sustainability constraints are:
[0013] in, For application Energy consumption per unit time For nodes Available energy budget.
[0014] Preferably, the coarsening stage in step S3 specifically includes: generating a series of graphs with progressively smaller sizes by iteratively merging strongly correlated vertices. , ,…, ,in This is the original image. This is the coarsened graph with the fewest vertices.
[0015] Preferably, the association strength of the strongly associated vertices is defined as follows:
[0016] in, As vertex and Inter-communication data volume The total resource requirements of the vertices; The larger the value, the less cross-node communication is required after merging.
[0017] Preferably, the initial partitioning stage in step S3 specifically includes: in the coarsened graph Perform the initial partitioning, dividing the vertex set into... The system is divided into several parts, each corresponding to a roadside cloud node, resulting in a partition. ,in And they do not intersect. The initial partitioning adopts a heuristic algorithm.
[0018] Preferably, the refinement stage in step S3 specifically includes: for , coarsening the graph Each supervertex Assigning the relevant part of the tag to it Get all the corresponding child vertices in the middle. ; Divide each layer A variant of the Kernighan-Lin algorithm is implemented, further reducing the target by vertex migration.
[0019] Preferably, the preset triggering conditions for triggering the redeployment decision in step S4 include at least one of the following: the network quality of the currently connected roadside cloud node drops below a preset threshold, the available resources or available energy of the roadside cloud node are below a preset threshold, the service quality indicators of the application deteriorate and exceed the tolerance range, a new application instance arrives or an existing application instance exits. The incremental optimization method is as follows: only the application vertices and their associated subgraph regions affected by the triggering conditions are re-divided, while the deployment scheme of the unaffected regions remains unchanged.
[0020] Preferably, the build-then-switch migration strategy in step S4 specifically includes the following steps: (1) Pre-start a hot standby copy of the application instance to be migrated on the target roadside cloud node; (2) Synchronize the real-time status data of the application instance on the source cloud node to the hot backup copy of the target node; (3) After the state synchronization is completed, switch the service data stream from the source roadside cloud node to the target roadside cloud node; (4) After confirming that the application instance on the target node is running normally, release the resources occupied by the original application instance on the source cloud node.
[0021] Compared with existing technologies, the advantages of this invention are: 1. This invention introduces energy cost and service quality breach cost, constructs a five-dimensional cost model and achieves joint optimization, and solves the globally optimal deployment scheme under the constraints of deployment uniqueness, node resource capacity, end-to-end latency and energy sustainability through a three-stage graph partitioning algorithm, avoiding cost imbalance caused by local optimization and effectively balancing the contradiction between performance, reliability and economy.
[0022] 2. This invention addresses the harsh conditions of open-pit mines, such as high-speed movement of mining trucks, severe network fluctuations, and unstable energy supply. It introduces dynamic latency constraints and energy sustainability constraints based on trajectory prediction to enable proactive prediction and adaptive adjustment of application deployment. Combined with an incremental redeployment mechanism triggered by continuous monitoring and a non-disruptive migration strategy of building first and then switching, it ensures that the application can still operate continuously and reliably under emergencies such as node obstruction and energy alarms. Attached Figure Description
[0023] Figure 1 This is a schematic diagram of the process of the present invention. Detailed Implementation
[0024] To facilitate understanding of this application and to make the above-mentioned objectives, features and advantages of this application more apparent, the specific embodiments of this application will be described in detail below with reference to the accompanying drawings.
[0025] Reference Figure 1 As shown, a cost-optimized roadside cloud application deployment algorithm for open-pit mines includes the following steps: Step S1: Construct a multidimensional cost model and graph mapping The roadside cloud deployment scenario in an open-pit mine is modeled as a weighted undirected graph. ,in: It includes an application node set and a roadside cloud node set; Edges representing deployable relationships between applications and nodes; It is the set of edge weights, which comprehensively reflects the multidimensional cost.
[0026] Define an undirected graph , Among them: vertex set , This is a collection of application instances to be deployed. This is a set of roadside cloud nodes.
[0027] Edge set If applied With nodes If a feasible deployment link exists between them (e.g., network reachability), then connect them with an edge. .
[0028] Weighting function As a multidimensional cost vector, , respectively indicate that the application will be applied Deployed on nodes The costs incurred include computing costs, storage costs, communication costs, energy costs, and service quality breach costs.
[0029] Decision variables:
[0030] The objective function is to minimize the total system cost: Min + ) in, ,and This is used to adjust the weights of different cost dimensions.
[0031] Step S2: Dynamic Constraint Modeling and Prediction The dynamic constraint model includes the following constraints: 1. Deployment Uniqueness: ,
[0032] 2. Node resource capacity (CPU, memory):
[0033] in, For application Required CPU resources For roadside cloud nodes The maximum total CPU capacity. For application The amount of memory resources required, For roadside cloud nodes The maximum total memory capacity.
[0034] 3. End-to-end latency constraints (applied to and controlled mining cards) between):
[0035] in, For nodes within the prediction time window With mining cards Average communication latency between them For application The maximum tolerable end-to-end latency threshold (unit: ms); exceeding this value will result in substandard service quality.
[0036] 4. Energy sustainability constraints:
[0037] in, For application Energy consumption per unit time For nodes Available energy budget.
[0038] Step S3: Three-stage deployment optimization based on multi-graph partitioning Drawing on the three-stage optimization approach, the application deployment problem is transformed into a multi-graph partitioning optimization problem. The goal is to minimize the overall cost defined in step S1 while satisfying the constraints described in step S2.
[0039] Stage 3.1: Coarsening Stage Coarsening stage: Application A (unmanned mining truck control) and Application C (sensor data preprocessing) are merged into one supernode because they have high-frequency data interaction; Application B (video surveillance feedback) and Application D (image analysis) are merged into another supernode. At the same time, nodes 2 and 3, which are geographically close, are merged to construct the first layer of coarsening graph.
[0040] The graph size is reduced through a coarsening operation. This is achieved by merging strongly related application nodes (such as application pairs with significant data interactions) and nodes with similar resource characteristics, constructing a multi-layered graph structure where the size of each layer decreases progressively. The coarsening operation aims to reduce computational complexity in subsequent stages while preserving the original graph's topological characteristics.
[0041] The coarsening phase generates a series of graphs with progressively smaller sizes by iteratively merging strongly correlated vertices. , ,…, ,in This is the original image. This is the coarsened graph with the fewest vertices.
[0042] The strength of association between strongly associated vertices is defined as follows: for a vertex ,definition:
[0043] in, The amount of data for communication between vertices (if) and If all are application vertices, then it represents the interaction traffic between them; if one of them is a node vertex, then it is considered as 0). The total resource requirement for the vertices (applied vertices) or 0 (node vertices); The larger the value, the less cross-node communication is required after merging.
[0044] Phase 3.2: Initial Partitioning Phase The optimal partitioning scheme is sought from the smallest coarsened graph. An improved heuristic algorithm is used to initially partition the coarsened graph, ensuring that node capacity and latency constraints are met while minimizing the overall cost objective. The initial partitioning result serves as the starting point for subsequent refinement.
[0045] Initial partitioning phase: Initial partitioning is performed on the smallest coarsened graph. Prediction shows that mining card A will be within the coverage area of node 1 for the next 2 minutes, but will subsequently enter the overlapping coverage area of nodes 2 and 3. The initial partitioning algorithm will assign the supernode of application A to node 2 because node 2 has better average connection quality in the future, and node 2 currently has lower load, sufficient solar power reserve, and the lowest overall cost.
[0046] In the coarsened graph Perform the initial partitioning, dividing the vertex set into... Parts ( Each part corresponds to a roadside cloud node.
[0047] Let the division ,in And they do not intersect.
[0048] Phase 3.3: Refinement Phase The partitioning scheme is projected back to the original graph layer by layer. During each projection layer, the partitioning scheme is locally optimized by calculating the cost gain from swapping nodes. Specifically, for each application node, the cost change of migrating it from its current deployment node to other candidate nodes is calculated. ,like Then the migration is performed until a local optimum is reached.
[0049] Refinement Phase: The partitioning scheme is projected back to the original graph layer by layer. During refinement, the algorithm calculates the cost gain of migrating application A from node 2 to node 3. Since application A and application C have data interaction, and application C is currently deployed on node 2, migrating application A would increase cross-node communication costs; therefore, the gain is negative, and the migration is not performed.
[0050] Projection operation: For , coarsening the graph Each supervertex Assigning the relevant part of the tag to it Get all the corresponding child vertices in the middle. .
[0051] Refinement and optimization: Divide each layer A variant of the Kernighan-Lin algorithm is implemented, further reducing the target by vertex migration.
[0052] Step S4: Dynamic Redeployment and Migration Optimization During deployment, the actual network status, resource usage, and application performance are continuously monitored. Dynamic redeployment of the application instance is triggered when one of the following conditions is detected: The network quality of the currently connected nodes has severely degraded; Node resources or energy are about to run out; The application's service quality indicators have deteriorated significantly; A new app arrives or an existing app exits.
[0053] The redeployment decision reuses the three-stage optimization process of step S3, but introduces an incremental optimization mechanism: only the affected subgraph regions are repartitioned, rather than the entire graph is recalculated, in order to reduce redeployment overhead.
[0054] After deployment, the system entered the monitoring phase. Three minutes later, the system detected that the wireless signal between Node 2 and Mining Card A was drastically weakened due to obstruction caused by the passage of a large device, with the predicted latency exceeding 25ms. Simultaneously, the cloud management platform observed that the connection quality between Node 3 and Mining Card A was good at this time.
[0055] The system triggers a redeployment decision, repartitioning only the affected application A and its associated subgraphs. Detailed calculations reveal that migrating application A from node 2 to node 3 has a positive cost gain and satisfies all constraints. The system employs a build-then-switch migration strategy. (1) Pre-start a hot standby copy of the application instance on node 3; (2) Synchronize the real-time status of the node 2 instance to the replica of node 3; (3) After synchronization is completed, the cloud management platform sends an instruction to mining card A to switch the data stream to node 3; (4) After confirming that the instance on node 3 is working properly, release the original instance on node 2.
[0056] The entire migration process took approximately 200ms, and the control program of mining truck A was not interrupted, ensuring the safe operation of the vehicle.
[0057] Through the above steps, this invention enables dynamic management of application deployment in a cost-optimized manner in the dynamic, complex, and resource-constrained environment of open-pit mines, effectively balancing the contradictions between performance, reliability, and economy.
[0058] In summary, this invention, based on traditional computing, storage, and communication costs, further introduces energy costs and service quality breach costs, constructing a more comprehensive multi-dimensional cost joint optimization model, which significantly reduces the overall system operating cost. Simultaneously, by introducing mining equipment movement trajectory prediction and dynamic redeployment mechanisms, applications can be pre-deployed to nodes with better connection quality in the future, effectively suppressing task failures caused by network fluctuations and significantly improving the reliability of system deployment. In terms of resource management, the algorithm fully considers the dynamic balance between node energy consumption and supply, sustainably prioritizing task scheduling to nodes with lower energy costs or sufficient energy reserves, enhancing the system's long-term operational capability in harsh outdoor environments. Furthermore, the adopted three-stage graph partitioning optimization framework reduces the solution complexity of the NP-hard combinatorial optimization problem from exponential to polynomial level, supporting real-time deployment decisions in large-scale open-pit mine scenarios. The above implementation methods together constitute the complete technical solution of this invention, realizing cost-optimized dynamic deployment of roadside cloud applications in open-pit mines, effectively balancing system performance, operational reliability, and economy.
[0059] As is known from common technical knowledge, this invention can be implemented through other embodiments that do not depart from its spirit or essential characteristics. Therefore, the disclosed embodiments described above are merely illustrative in all respects and are not the only ones. All modifications within the scope of this invention or equivalent to the scope of this invention are included in this invention.
Claims
1. A method for deploying roadside cloud applications in open-pit mines with cost optimization, characterized in that, Includes the following steps: S1. Construct a multi-dimensional cost model and graph mapping, map the application instances to be deployed and the roadside cloud nodes in the open-pit mine roadside cloud deployment scenario to vertices in the graph, and construct edges according to the deployable relationship between applications and nodes. Assign each edge a multi-dimensional cost weight vector containing computing cost, storage cost, communication cost, energy cost and service quality breach cost, and establish a weighted undirected graph model. S2. Establish a dynamic constraint model, which includes deployment uniqueness constraint, node resource capacity constraint, end-to-end latency constraint and energy sustainability constraint, and determine the prediction latency parameter in the end-to-end latency constraint based on the prediction of changes in the location of mining equipment. S3. Three-stage deployment optimization based on multi-graph partitioning: The application deployment problem is transformed into a multi-graph partitioning optimization problem. The coarsening stage merges strongly correlated vertices to reduce the graph size. The initial partitioning is performed on the minimum coarsened graph to obtain a feasible partitioning scheme. Then, the partitioning scheme is projected back to the original graph layer by layer through the refinement stage and local optimization is performed. The overall cost defined in step S1 is minimized under the premise of satisfying the constraints described in step S2. S4. Dynamic redeployment and migration optimization: During the deployment process, network status, resource usage and application performance are continuously monitored. When the preset trigger conditions are met, a redeployment decision is triggered. The affected area is re-divided using an incremental optimization method, and the application instance is migrated between different roadside cloud nodes through a build-then-switch strategy.
2. The method for deploying roadside cloud applications in open-pit mines with cost optimization as described in claim 1, characterized in that: In step S1, the multidimensional cost vector is: in, Indicates that the application will be used Deployed on nodes The computational cost generated above Indicates storage cost, Indicates communication cost, Indicates energy cost, This indicates the cost of breaching service quality regulations; The objective function for the overall cost is: Min + ) Among them, The decision variable being 1 indicates Above, a value of 0 indicates that it will not be deployed on this node. .
3. The method for deploying roadside cloud applications in open-pit mines with cost optimization as described in claim 2, characterized in that: In step S2, the dynamic constraint model specifically includes: The deployment uniqueness constraint is not: , The node resource capacity constraint is: in, For application Required CPU resources For roadside cloud nodes The maximum total CPU capacity. For application The amount of memory resources required, For roadside cloud nodes The maximum total memory capacity; The end-to-end delay constraint is: in, For nodes within the prediction time window With mining cards Average communication latency between them For application The maximum tolerable end-to-end latency threshold; The energy sustainability constraints are: in, For application Energy consumption per unit time For nodes Available energy budget.
4. The method for deploying roadside cloud applications in open-pit mines with cost optimization as described in claim 3, characterized in that: The coarsening stage in step S3 specifically includes: generating a series of graphs with progressively smaller sizes by iteratively merging strongly correlated vertices. , ,…, ,in This is the original image. This is the coarsened graph with the fewest vertices.
5. A method for deploying cost-optimized roadside cloud applications in open-pit mines according to claim 4, characterized in that, The association strength of the strongly associated vertices is defined as follows: in, As vertices and Inter-communication data volume The total resource requirements of the vertices; The larger the value, the less cross-node communication is required after merging.
6. A method for deploying roadside cloud applications in open-pit mines with cost optimization as described in claim 4, characterized in that: The initial partitioning stage in step S3 specifically includes: in the coarsening graph Perform the initial partitioning, dividing the vertex set into... The system is divided into several parts, each corresponding to a roadside cloud node, resulting in a partition. ,in And they do not intersect. The initial partitioning adopts a heuristic algorithm.
7. A method for deploying roadside cloud applications in open-pit mines with cost optimization as described in claim 6, characterized in that: The refinement stage in step S3 specifically includes: for , coarsening the graph Each supervertex Assigning the relevant part of the tag to it Get all the corresponding child vertices in the middle. ; Divide each layer A variant of the Kernighan-Lin algorithm is implemented, further reducing the target by vertex migration.
8. A method for deploying roadside cloud applications in open-pit mines with cost optimization as described in claim 1, characterized in that: The preset triggering conditions for triggering the redeployment decision in step S4 include at least one of the following: the network quality of the currently connected roadside cloud node drops below a preset threshold, the available resources or available energy of the roadside cloud node are below a preset threshold, the service quality indicators of the application deteriorate and exceed the tolerance range, a new application instance arrives or an existing application instance exits. The incremental optimization method is as follows: only the application vertices and their associated subgraph regions affected by the triggering conditions are re-divided, while the deployment scheme of the unaffected regions remains unchanged.
9. A method for deploying roadside cloud applications in open-pit mines with cost optimization as described in claim 1, characterized in that: The build-then-switch migration strategy in step S4 specifically includes the following steps: (1) Pre-start a hot standby copy of the application instance to be migrated on the target roadside cloud node; (2) Synchronize the real-time status data of the application instance on the source cloud node to the hot backup copy of the target node; (3) After the state synchronization is completed, switch the service data stream from the source roadside cloud node to the target roadside cloud node; (4) After confirming that the application instance on the target node is running normally, release the resources occupied by the original application instance on the source cloud node.
