Dynamic control method and system for operation of digging and anchoring all-in-one machine and medium
By constructing a pattern-resource path mapping module and middleware, the computing resources of the tunneling and anchoring machine are dynamically allocated, solving the problem of rigid resource allocation, improving resource utilization and operational collaboration, and meeting the needs of modern construction.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HUADIAN COAL IND GRP DIGITAL INTELLIGENCE TECH CO LTD
- Filing Date
- 2025-12-29
- Publication Date
- 2026-05-12
AI Technical Summary
Existing tunneling and anchoring machines have fixed and rigid resource allocation calculations under different operating modes, resulting in low resource utilization and insufficient operational coordination, which cannot meet the high-efficiency and precision requirements of modern construction.
By identifying the historical resource modules of the tunneling and anchoring machine in each operating mode, a mode-resource path mapping module is constructed, and middleware is established to collect real-time operating modes and dynamically allocate computing resources, including CPU, memory, GPU and I/O resources, to achieve dynamic and accurate matching and allocation of resources.
It enables dynamic and precise allocation of computing resources for the tunneling and anchoring machine under different operating modes, improving resource utilization efficiency and operational collaboration, and meeting the high-efficiency and precision requirements of modern construction.
Smart Images

Figure CN122019136A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of tunneling and anchoring machine control technology, specifically to a dynamic control method, system, and medium for tunneling and anchoring machine operations. Background Technology
[0002] In underground engineering construction such as coal mines, the tunneling and anchoring machine (TOM) is a key piece of equipment that integrates tunneling and anchoring functions. It needs to frequently switch between various operation modes, such as tunneling, anchoring, and combined operations. Different modes have significantly different requirements for computing resources such as CPU, memory, GPU, and I / O. In existing technologies, the computing resource allocation of TOM machines mostly adopts a fixed configuration method, that is, resources are allocated according to a preset uniform standard. It is impossible to dynamically adjust the resource supply according to the real-time changes in the operation mode. This leads to insufficient resources and limited operation efficiency in high-demand modes, while idle resources and low utilization in low-demand modes. At the same time, the mismatch between resource allocation and mode requirements can also cause problems such as poor coordination between the various functional modules of the equipment and the impact on the overall construction progress, making it difficult to meet the requirements of efficient and precise modern construction.
[0003] Existing technologies suffer from the problem that the calculation and allocation of resources by the integrated tunneling and anchoring machine is fixed and rigid under different operating modes, resulting in low resource utilization and insufficient operational coordination. Summary of the Invention
[0004] This application provides a dynamic control method, system, and medium for the operation of a tunneling and anchoring machine, which addresses the technical problem in the prior art where the calculation of resource allocation in different operating modes of the tunneling and anchoring machine is fixed and rigid, resulting in low resource utilization and insufficient operational coordination.
[0005] In view of the above problems, this application provides a dynamic control method, system and medium for the operation of a tunneling and anchoring machine.
[0006] A first aspect of this application provides a dynamic control method for the operation of a tunneling and anchoring machine, the method comprising: The system identifies the historical resource modules required by the tunneling and anchoring machine under each operating mode, and constructs a mode-resource path mapping module. The operating modes include tunneling mode, anchoring mode, and composite mode. A middleware is established, including a resource allocation module, which is connected to the control terminal of the tunneling and anchoring machine, and the mode-resource path mapping module is embedded within the middleware. The system collects the real-time operating mode of the tunneling and anchoring machine and sends it to the middleware. The middleware calls the mode-resource path mapping module to obtain the matching resource path for the real-time operating mode and calculates the resource occupancy information of the matching resource path. The middleware's resource allocation module dynamically allocates computing resources according to the resource occupancy information.
[0007] In one possible implementation, a historical operation sample dataset is acquired through the control terminal of the tunneling and anchoring machine. The historical operation sample dataset includes operation mode identifiers, operation timestamps, task module call information, and execution resource usage information. The historical operation sample dataset is analyzed to obtain resource usage feature vectors based on each required resource module under each operation mode. A mode-resource path mapping module is constructed according to the mapping relationship between operation mode, required resource module, and resource usage feature vector.
[0008] In one possible implementation, the middleware sends a resource path query request to the mode-resource path mapping module according to the real-time job mode; the mode-resource path mapping module returns a matching resource path corresponding to the real-time job mode based on the received resource path query request, wherein the matching resource path includes the path nodes of the required resource modules and the resource usage feature vectors corresponding to each path node.
[0009] In one possible implementation, M path nodes of the matching resource path and M resource usage feature vectors corresponding to the M path nodes are obtained; resource usage analysis is performed according to the M resource usage feature vectors corresponding to the M path nodes to obtain resource usage information based on CPU utilization, memory usage, GPU usage and I / O resource requirements.
[0010] In one possible implementation, the middleware includes a computing resource allocation module, which includes redundant computing resource configuration; wherein the redundant computing resource configuration includes at least CPU core configuration, memory capacity configuration, GPU resource configuration, and I / O and network bandwidth configuration.
[0011] In one possible implementation, the computing resource configuration parameters of the tunneling and anchoring machine are obtained; according to the computing resource configuration parameters, a communication link is established between each computing resource configuration and the computing resource allocation module; and computing resources are dynamically allocated from the redundant computing resource configuration based on the communication link between the computing resource allocation module and each computing resource configuration.
[0012] In one possible implementation, the values of each resource occupancy item in the resource occupancy information are analyzed to see if they are greater than the corresponding preset resource occupancy threshold, and resource occupancy items that are greater than the corresponding preset resource occupancy threshold are obtained; the resource occupancy items are used to obtain the resource allocation instructions for the redundant computing resource configuration, and multiple communication links are activated to dynamically allocate computing resources according to the resource allocation instructions, wherein the resource allocation instructions include the allocation resource size and the allocation resource period.
[0013] In one possible implementation, the resource allocation instruction includes the resource allocation size and the resource allocation period. When a change in the real-time operation mode of the integrated tunneling and anchoring machine is detected, a resource allocation recovery instruction is obtained. The middleware recovers the allocated resources according to the resource allocation recovery instruction when the resource allocation period expires, and recalculates the resource allocation according to the updated operation mode.
[0014] A second aspect of this application provides a dynamic control system for the operation of a tunneling and anchoring machine, the system comprising: The system includes: a historical resource acquisition module for identifying the historical resource requirements of the tunneling and anchoring machine under each operating mode, and a mode-resource path mapping module for constructing the operating modes, which include tunneling mode, anchoring mode, and composite mode; a middleware establishment module for establishing middleware, which includes a computational resource allocation module, wherein the middleware is connected to the control terminal of the tunneling and anchoring machine, and the mode-resource path mapping module is embedded in the middleware; a real-time operating mode acquisition module for acquiring the real-time operating modes of the tunneling and anchoring machine and sending them to the middleware, wherein the middleware calls the mode-resource path mapping module to obtain the matching resource path of the real-time operating mode and calculates the resource occupancy information of the matching resource path; and a computational resource dynamic allocation module for the computational resource allocation module of the middleware to dynamically allocate computational resources according to the resource occupancy information.
[0015] In a third aspect of this application, a computer-readable storage medium is provided, storing a computer program for executing the dynamic control method for tunneling and anchoring machine operation provided in this application.
[0016] One or more technical solutions provided in this application have at least the following technical effects or advantages: The system identifies the historical resource modules required by the tunneling and anchoring machine under each operating mode and constructs a mode-resource path mapping module. Middleware is established, including a computing resource allocation module. Real-time operating modes of the tunneling and anchoring machine are collected and sent to the middleware. The middleware calls the mode-resource path mapping module to obtain the matching resource path for the real-time operating mode and calculates the resource occupancy information of the matching resource path. The middleware's computing resource allocation module dynamically allocates computing resources according to the resource occupancy information. This achieves the technical effect of dynamically and accurately allocating computing resources under different operating modes of the tunneling and anchoring machine, improving resource utilization efficiency and operational coordination. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 This is a flowchart illustrating the dynamic control method for the operation of an integrated tunneling and anchoring machine provided in an embodiment of this application.
[0019] Figure 2 This is a schematic diagram of the structure of the dynamic control system for the operation of the tunneling and anchoring machine provided in the embodiments of this application.
[0020] Figure labeling: Historical resource acquisition module 10, middleware establishment module 20, real-time job mode acquisition module 30, and computing resource dynamic allocation module 40. Detailed Implementation
[0021] This application provides a dynamic control method, system, and medium for the operation of a tunneling and anchoring machine, which addresses the technical problem in the prior art where the calculation of resource allocation in different operating modes of the tunneling and anchoring machine is fixed and rigid, resulting in low resource utilization and insufficient operational coordination.
[0022] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.
[0023] Example 1, as Figure 1 As shown, this application provides a dynamic control method for the operation of a tunneling and anchoring machine, the method comprising: Step S100: Identify the historical required resource modules of the tunneling and anchoring machine in each operating mode, and construct a mode-resource path mapping module, wherein the operating modes include tunneling mode, anchoring mode and composite mode.
[0024] Specifically, historical operation sample datasets are acquired through the control terminal of the tunneling and anchoring machine. This dataset includes operation mode identifiers (tunneling mode, anchoring mode, and composite mode), operation timestamps, task module call information, and execution resource usage information. The dataset is analyzed to extract the resource modules required to complete the operation under each operation mode (such as the cutting drive module and travel control module for tunneling mode, and the anchor drilling module and grouting control module for anchoring mode). Resource usage feature vectors (reflecting resource usage patterns) for each required resource module are obtained. Finally, according to the mapping relationship between operation mode, required resource modules, and resource usage feature vectors, a mode-resource path mapping module is constructed to clarify the association path between different operation modes and their corresponding resource modules and their real-time resource demand characteristics.
[0025] Step S200: Establish middleware, the middleware including a computing resource allocation module, wherein the middleware is connected to the control terminal of the tunneling and anchoring machine, and the mode-resource path mapping module is embedded in the middleware.
[0026] Specifically, a middleware is built that integrates a computing resource allocation module, which includes redundant computing resource configurations (at least covering CPU core configuration, memory capacity configuration, GPU resource configuration, and I / O and network bandwidth configuration). Simultaneously, a connection is established between the middleware and the control terminal of the tunneling and anchoring machine to ensure data interaction between the two. Furthermore, the previously built mode-resource path mapping module is embedded within this middleware, allowing the middleware to directly call this mapping module to perform association queries between job modes and resource paths, laying the foundation for subsequent resource processing based on real-time job modes.
[0027] Step S300: The real-time operation mode of the tunneling and anchoring machine is collected and sent to the middleware. The middleware calls the mode-resource path mapping module to obtain the matching resource path of the real-time operation mode and calculates the resource occupancy information of the matching resource path.
[0028] Specifically, by monitoring the operating status of the tunneling and anchoring machine in real time, its current real-time operation mode (tunneling mode, anchoring mode, or combined mode) is collected, and this mode information is sent to the established middleware. After receiving the middleware, it sends a resource path query request to the embedded mode-resource path mapping module according to the real-time operation mode. The mode-resource path mapping module returns the corresponding matching resource path based on the request (including the path nodes of the required resource modules and the resource usage feature vectors corresponding to each node). Subsequently, the M path nodes of the matching resource path and the corresponding M resource usage feature vectors are obtained. By analyzing these feature vectors, resource usage information based on CPU utilization, memory usage, GPU usage, and I / O resource requirements is obtained.
[0029] Step S400: The middleware's computing resource allocation module dynamically allocates computing resources according to the resource occupancy information.
[0030] Specifically, the middleware's computing resource allocation module first obtains the computing resource configuration parameters of the tunneling and anchoring machine. Based on these parameters, it establishes communication links with each computing resource configuration. Simultaneously, relying on the dynamic computing resources pre-stored within the middleware (including the number of CPU cores, memory capacity, GPU resources, and I / O and network bandwidth in redundant computing resource configurations), it compares and analyzes the values of each resource occupancy item in the resource occupancy information with the corresponding preset resource occupancy thresholds. If the real-time operation mode is tunneling mode, and the resource occupancy rate (such as CPU utilization and memory usage) of its matching resource path reaches the preset threshold, the computing resource allocation module obtains the corresponding resource allocation instructions (including the allocation resource size and allocation period) from the pre-stored resources based on the resource occupancy items exceeding the threshold. By activating the corresponding communication links, it dynamically allocates the required computing resources for the matching resource path of the tunneling mode to meet the real-time resource requirements of this mode.
[0031] In one possible implementation, step S100 further includes: Step S110: Obtain historical operation sample dataset through the control terminal of the integrated tunneling and anchoring machine. The historical operation sample dataset includes operation mode identifier, operation timestamp, task module call information, and execution resource usage information.
[0032] Step S120: Analyze the historical job sample dataset to obtain the resource usage feature vector based on each required resource module under each job mode.
[0033] Step S130: Construct a mode-resource path mapping module according to the mapping relationship between the job mode, required resource modules, and resource usage feature vectors.
[0034] Specifically, by using the control terminal connected to the tunneling and anchoring machine, the historical operation sample dataset accumulated by the equipment in past operations is retrieved. This dataset includes operation mode identifiers to clarify the operation type (such as the distinguishing identifiers for tunneling mode, anchoring mode, and composite mode), operation timestamps recording the specific time of the operation, call details of each task module during operation (such as module name, call order, triggering conditions, etc.), and actual usage data of various execution resources during operation (such as the consumption of resources such as CPU, memory, and GPU), providing raw data support for subsequent analysis of resource requirements under different operation modes.
[0035] Data mining and analysis are performed on the historical operation sample dataset obtained through the control terminal. First, the sample data corresponding to the tunneling mode, anchoring mode, and composite mode are distinguished according to the operation mode identifier. Then, the resource modules necessary to complete the operation are extracted from the data of each mode (such as module A in the tunneling mode, module B in the anchoring mode, etc.). For each required resource module in each operation mode, the key indicators such as call frequency, CPU utilization, GPU utilization, and memory consumption are statistically analyzed in combination with the task module call information and execution resource usage information in the dataset to form a quantitative resource usage feature vector. For example, the feature vector of module A in the tunneling mode is [Module A: 80% frequency, CPU utilization 30%, GPU utilization 20%, memory 512MB], and the feature vector of module B in the anchoring mode is [Module B: 90% frequency, CPU utilization 45%, GPU utilization 10%, memory 768MB]. This accurately reflects the resource consumption pattern of each resource module in different operation modes.
[0036] Based on the relationship between job mode, required resource modules, and resource usage feature vectors, a mode-resource path mapping module is constructed through data modeling. This module uses the job mode (tunneling mode, anchoring mode, and composite mode) as the index key, and the resource modules required to complete the job under each mode (e.g., module A for tunneling mode, module B for anchoring mode, etc.) as associated nodes. It stores the resource usage feature vectors corresponding to each resource module (e.g., vector data containing parameters such as call frequency, CPU utilization, GPU utilization, and memory consumption) as node attributes, forming a hierarchical mapping path of "job mode → required resource modules → resource usage feature vectors." This allows the module to quickly match the corresponding resource modules and their real-time resource requirements based on the input job mode.
[0037] In one possible implementation, step S300 further includes: Step S310: The middleware sends a resource path query request to the mode-resource path mapping module according to the real-time job mode.
[0038] Step S320: The mode-resource path mapping module returns the matching resource path corresponding to the real-time job mode according to the received resource path query request, wherein the matching resource path includes the path nodes of the required resource modules and the resource usage feature vectors corresponding to each path node.
[0039] Specifically, after receiving and confirming the current real-time operation mode (tunneling mode, anchoring mode, or combined mode) of the tunneling and anchoring machine, the middleware generates a structured resource path query request based on the identification information of the real-time operation mode. This request includes key information such as the real-time operation mode type, query timestamp, and data format requirements. Subsequently, the middleware sends the resource path query request to the mode-resource path mapping module embedded in itself through a preset internal communication interface to trigger the retrieval and matching process of the resource path corresponding to the real-time operation mode.
[0040] After receiving a resource path query request from the middleware, the mode-resource path mapping module parses the real-time operation mode identifier (such as tunneling mode, anchoring mode, or composite mode) contained in the request. Based on the pre-stored mapping relationship of "operation mode - required resource module - resource usage feature vector" within the module, it accurately locates the resource path information corresponding to the real-time operation mode. Subsequently, the path information is organized into a matching resource path and returned to the middleware. The matching resource path not only includes the path nodes of each resource module required to complete the current operation mode (such as the cutting drive module node, travel control module node, etc. in tunneling mode), but also includes the resource usage feature vector corresponding to each path node (such as vector data containing quantitative parameters such as module call frequency, CPU utilization, GPU utilization, and memory consumption), providing detailed feature basis for subsequent calculation of resource usage information.
[0041] In one possible implementation, step S300 further includes: Step S330: Obtain M path nodes of the matching resource path, and M resource usage feature vectors corresponding to the M path nodes.
[0042] Step S340: Perform resource occupancy analysis according to the M resource usage feature vectors corresponding to the M path nodes to obtain resource occupancy information based on CPU utilization, memory usage, GPU usage, and I / O resource requirements.
[0043] Specifically, after receiving the matching resource path returned by the mode-resource path mapping module, the middleware parses the path information and extracts the M path nodes contained therein (i.e., the nodes corresponding to all resource modules required to complete the job in the current real-time job mode, such as cutting module nodes, propulsion module nodes, etc. in the tunneling mode). At the same time, it synchronously obtains the M resource usage feature vectors corresponding to each path node. These feature vectors cover quantitative parameters such as the call frequency, CPU utilization, GPU utilization, and memory consumption of each resource module, providing complete basic data for subsequent resource utilization analysis.
[0044] Based on the analysis of M resource usage feature vectors corresponding to M path nodes in the matching resource path, the resource parameters involved in each vector are classified, integrated, and quantified. For CPU utilization, the overall CPU utilization is obtained by summarizing the CPU utilization data in each feature vector (e.g., taking a weighted average or peak value). For memory usage, the memory consumption data of each resource module is statistically analyzed and accumulated to obtain the total memory requirement. For GPU usage, the overall GPU resource consumption level is determined by comprehensively considering the GPU utilization information in each vector. For I / O resource requirements, the bandwidth and rate requirements for data input and output are analyzed based on the frequency and scale of module data interaction implied in the feature vectors. Finally, the analysis results of the above four dimensions are integrated to form resource usage information that comprehensively reflects the current resource consumption status of the matching resource path.
[0045] In one possible implementation, step S300 further includes: Step S350: The middleware includes a computing resource allocation module, which includes redundant computing resource configuration; wherein the redundant computing resource configuration includes at least CPU core configuration, memory capacity configuration, GPU resource configuration, and I / O and network bandwidth configuration.
[0046] Specifically, the middleware integrates a computing resource allocation module responsible for resource allocation. This module includes redundant computing resource configurations to address dynamic resource demands. These redundant computing resource configurations, as a reserved elastic resource pool, cover at least four key dimensions: CPU core configuration (i.e., the number of processor cores reserved for dynamic allocation), memory capacity configuration (the amount of memory space that can be flexibly called upon in advance), GPU resource configuration (reserved graphics card resources for graphics processing and parallel computing), and I / O and network bandwidth configuration (reserved bandwidth resources to ensure data input / output and network transmission). These redundant configurations provide a callable resource foundation for subsequent dynamic allocation based on real-time resource demands.
[0047] In one possible implementation, step S350 further includes: Step S351: Obtain the computing resource configuration parameters of the tunneling and anchoring machine.
[0048] Step S352: According to the computing resource configuration parameters, establish a communication link between each computing resource configuration and the computing resource allocation module, and dynamically allocate computing resources from the redundant computing resource configuration based on the communication link between the computing resource allocation module and each computing resource configuration.
[0049] Specifically, the middleware retrieves the computing resource configuration parameters of the device through the established data interaction channel with the control terminal of the tunneling and anchoring machine. These parameters cover the basic information of the hardware resources currently equipped by the tunneling and anchoring machine, including but not limited to the number of CPU cores and clock speed, total memory capacity and allocable space, GPU model and computing power, I / O interface type and data transfer rate, and maximum bandwidth supported by the network adapter. This provides an accurate hardware configuration basis for establishing communication links and realizing dynamic allocation of computing resources.
[0050] Based on the acquired computing resource configuration parameters (including CPU model / core count, memory address space, GPU interface protocol, I / O port number, and network IP), a communication link is established through the following means: a data interaction channel is built for the CPU using the PCIe bus protocol; address mapping communication is achieved for memory through Memory Mapped I / O (MMIO); an instruction transmission link is established for the GPU based on the CUDA communication library; a control signal channel is built for I / O devices using the USB / RS485 protocol; and a Socket connection is created for network resources using the TCP / IP protocol. After the link is established, the computing resource allocation module dynamically allocates the required resources from the redundant computing resource configuration through the above links by sending resource scheduling instructions (such as CPU core binding instructions, memory page allocation signals, GPU streaming multiprocessor activation commands, I / O bandwidth allocation frames, and network QoS parameter configuration packets). At the same time, closed-loop control is achieved through real-time resource occupancy feedback (such as CPU load rate and memory usage).
[0051] In one possible implementation, step S400 further includes: Step S410: Analyze whether the value of each resource occupancy item in the resource occupancy information is greater than the corresponding preset resource occupancy threshold, and obtain the resource occupancy items that are greater than the corresponding preset resource occupancy threshold.
[0052] Step S420: Obtain the resource allocation instruction for the redundant computing resource configuration according to the resource occupancy item, and activate multiple communication links to dynamically allocate computing resources according to the resource allocation instruction. The resource allocation instruction includes the resource allocation size and the resource allocation period.
[0053] Specifically, the computing resource allocation module checks each resource usage data (including CPU utilization, memory usage, GPU usage, and I / O resource requirements) in the resource usage information one by one. It compares and analyzes the real-time value of each resource usage item with the corresponding pre-set resource usage thresholds in the system (such as setting the CPU utilization threshold to 70% and the memory usage threshold to 80%), filters and extracts all resource usage items whose values exceed their corresponding preset thresholds, thereby identifying the specific links where there is insufficient resources in the current real-time operation mode and providing precise guidance for subsequent resource allocation.
[0054] The computing resource allocation module generates corresponding resource allocation instructions from the redundant computing resource configuration based on the selected over-threshold resource occupancy items (such as CPU utilization exceeding limits, memory usage exceeding capacity, etc.). These instructions clearly indicate the specific size of the resources to be supplemented (e.g., 2 additional cores need to be allocated for CPU over-limit, 1GB of memory needs to be expanded for insufficient memory, etc.) and the validity period of the resource allocation (e.g., until the end of the current job cycle or a dynamic validity period of 30 minutes). Subsequently, according to the content of the resource allocation instructions, the module activates multiple communication links (such as PCIe bus channels, memory mapping links, CUDA communication libraries, etc.) corresponding to the target computing resources (CPU, memory, GPU, etc.). Through these links, the resource allocation instructions are accurately sent to each resource configuration unit, completing the real-time scheduling and dynamic allocation of redundant resources, ensuring that the occupancy level of over-threshold resource items falls back to a reasonable range.
[0055] In one possible implementation, step S420 further includes: Step S421: The resource allocation instruction includes the resource allocation size and the resource allocation period. When a change in the real-time operation mode of the integrated tunneling and anchoring machine is detected, the resource allocation recovery instruction is obtained.
[0056] Step S422: The middleware reclaims the allocated resources according to the resource allocation and recycling instruction when the allocation period expires, and then recalculates the resource allocation according to the update job mode.
[0057] Specifically, the resource allocation instruction clearly contains two core pieces of information: the size of the additional resources to be allocated (such as the specific number of CPU cores, memory capacity, GPU computing power share, etc.) and the allocation period (such as the dynamic duration until the end of the current work process or a preset fixed time period). At the same time, the operation status parameters of the tunneling and anchoring machine are continuously monitored through the real-time monitoring module. When a change in the real-time operation mode is detected (such as switching from anchoring mode to composite mode), the resource recycling mechanism will be triggered immediately, automatically generating and obtaining the corresponding allocated resource recycling instruction. This instruction contains key information such as the type, scale, and recycling priority of the resources to be recycled, providing a clear basis for subsequent resource recycling operations.
[0058] Upon receiving a resource reclamation instruction, the middleware immediately executes the resource reclamation operations specified in the instruction. It marks the resource allocation period set in the original instruction as invalid via system commands, terminating resource usage rights within that period. Simultaneously, it sends a resource reclamation signal to the corresponding computing resource configuration unit via the established communication link, releasing redundant resources previously allocated for the original job mode (such as additional CPU cores, expanded memory space, etc.) from current use and reclaiming them to the redundant computing resource configuration pool. After completing resource reclamation, the middleware restarts the resource allocation process, re-queries and matches resource paths based on the updated job mode, analyzes resource usage information, and dynamically allocates resources from the redundant computing resource configuration according to the new resource requirements, ensuring a precise match between resources and the needs of the current job mode.
[0059] Example 2, based on the same inventive concept as the dynamic control method for the integrated tunneling and anchoring machine operation in the foregoing examples, such as... Figure 2 As shown, this application provides a dynamic control system for the operation of a tunneling and anchoring machine. The system and method embodiments in this application are based on the same inventive concept. The system includes: The historical resource acquisition module 10 is used to identify the historical resource required modules of the tunneling and anchoring machine in each working mode and to construct a mode-resource path mapping module. The working modes include tunneling mode, anchoring mode and composite mode.
[0060] The middleware establishment module 20 is used to establish middleware, which includes a computing resource allocation module. The middleware is connected to the control terminal of the tunneling and anchoring machine, and the mode-resource path mapping module is embedded in the middleware.
[0061] The real-time operation mode acquisition module 30 is used to acquire the real-time operation mode of the tunneling and anchoring machine and send it to the middleware. The middleware calls the mode-resource path mapping module to obtain the matching resource path of the real-time operation mode and calculates the resource occupancy information of the matching resource path.
[0062] The computing resource dynamic allocation module 40 is used by the middleware's computing resource allocation module to dynamically allocate computing resources according to the resource occupancy information.
[0063] Furthermore, the system is also used to implement the following functions: The control terminal of the tunneling and anchoring machine is used to acquire a historical operation sample dataset, which includes operation mode identifiers, operation timestamps, task module call information, and execution resource usage information. The historical operation sample dataset is analyzed to obtain resource usage feature vectors based on each required resource module under each operation mode. According to the mapping relationship between operation mode, required resource module, and resource usage feature vector, a mode-resource path mapping module is constructed.
[0064] Furthermore, the system is also used to implement the following functions: The middleware sends a resource path query request to the mode-resource path mapping module according to the real-time job mode; the mode-resource path mapping module returns the matching resource path corresponding to the real-time job mode according to the received resource path query request, wherein the matching resource path includes the path nodes of the required resource modules and the resource usage feature vectors corresponding to each path node.
[0065] Furthermore, the system is also used to implement the following functions: Obtain M path nodes of the matched resource path, and M resource usage feature vectors corresponding to the M path nodes; perform resource usage analysis according to the M resource usage feature vectors corresponding to the M path nodes to obtain resource usage information based on CPU utilization, memory usage, GPU usage and I / O resource requirements.
[0066] Furthermore, the system is also used to implement the following functions: The middleware includes a computing resource allocation module, which includes redundant computing resource configuration; wherein, the redundant computing resource configuration includes at least CPU core configuration, memory capacity configuration, GPU resource configuration, and I / O and network bandwidth configuration.
[0067] Furthermore, the system is also used to implement the following functions: Obtain the computing resource configuration parameters of the tunneling and anchoring machine; establish a communication link between each computing resource configuration and the computing resource allocation module according to the computing resource configuration parameters; and dynamically allocate computing resources from the redundant computing resource configuration based on the communication link between the computing resource allocation module and each computing resource configuration.
[0068] Furthermore, the system is also used to implement the following functions: Analyze whether the value of each resource occupancy item in the resource occupancy information is greater than the corresponding preset resource occupancy threshold, and obtain the resource occupancy items that are greater than the corresponding preset resource occupancy threshold; obtain the resource allocation instruction for the redundant computing resource configuration based on the resource occupancy item, and activate multiple communication links to dynamically allocate computing resources according to the resource allocation instruction, wherein the resource allocation instruction includes the allocation resource size and the allocation resource period.
[0069] Furthermore, the system is also used to implement the following functions: The resource allocation instruction includes the resource size and allocation period. When a change in the real-time operation mode of the integrated tunneling and anchoring machine is detected, a resource recovery instruction is obtained. The middleware recovers the allocated resources according to the resource recovery instruction when the allocation period expires, and recalculates the resource allocation according to the updated operation mode.
[0070] Example 3: Based on the same inventive concept as the dynamic control method for tunneling and anchoring machine operations in the preceding examples, this example provides a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as the program instructions / modules corresponding to the dynamic control method for tunneling and anchoring machine operations in this application. The processor executes various functional applications and data processing of the computer device by running the software programs, instructions, and modules stored in the memory, thereby implementing the aforementioned dynamic control method for tunneling and anchoring machine operations.
[0071] It should be noted that the order of the embodiments described above is merely for descriptive purposes and does not represent the superiority or inferiority of the embodiments. Furthermore, the above description focuses on specific embodiments of this specification. Additionally, the processes depicted in the accompanying drawings do not necessarily require a specific or sequential order to achieve the desired results. In some implementations, multitasking and parallel processing are possible or may be advantageous.
[0072] The above description is only a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
[0073] This specification and accompanying drawings are merely illustrative examples of this application and are intended to cover any and all modifications, variations, combinations, or equivalents within the scope of this application. Clearly, those skilled in the art can make various alterations and modifications to this application without departing from its scope. Therefore, if such modifications and variations fall within the scope of this application and its equivalents, this application intends to include such modifications and variations.
Claims
1. A dynamic control method for the operation of a tunneling and anchoring machine, characterized in that, The method includes: Identify the historical resource modules required by the tunneling and anchoring machine in each operating mode, and construct a mode-resource path mapping module, where the operating modes include tunneling mode, anchoring mode and composite mode; A middleware is established, the middleware including a computing resource allocation module, wherein the middleware is connected to the control terminal of the tunneling and anchoring machine, and the mode-resource path mapping module is embedded in the middleware; The real-time operation mode of the tunneling and anchoring machine is collected and sent to the middleware. The middleware calls the mode-resource path mapping module to obtain the matching resource path of the real-time operation mode and calculates the resource occupancy information of the matching resource path. The middleware's computing resource allocation module dynamically allocates computing resources according to the resource occupancy information.
2. The method as described in claim 1, characterized in that, The method further includes: The control terminal of the tunneling and anchoring machine is used to obtain a historical operation sample dataset, which includes operation mode identifier, operation timestamp, task module call information and execution resource usage information. The historical job sample dataset is analyzed to obtain the resource usage feature vector based on each required resource module under each job mode; Based on the mapping relationship between the operation mode, required resource modules, and resource usage feature vectors, construct a mode-resource path mapping module.
3. The method as described in claim 1, characterized in that, The middleware calls the mode-resource path mapping module to obtain the matching resource path for the real-time job mode, the method of which includes: The middleware sends a resource path query request to the mode-resource path mapping module according to the real-time job mode. The mode-resource path mapping module returns the matching resource path corresponding to the real-time job mode based on the received resource path query request. The matching resource path includes the path nodes of the required resource modules and the resource usage feature vectors corresponding to each path node.
4. The method as described in claim 3, characterized in that, The method for calculating the resource usage information of the matched resource path includes: Obtain M path nodes of the matched resource path, and M resource usage feature vectors corresponding to the M path nodes; Resource occupancy analysis is performed based on the M resource usage feature vectors corresponding to the M path nodes to obtain resource occupancy information based on CPU utilization, memory usage, GPU usage, and I / O resource requirements.
5. The method as described in claim 1, characterized in that, The middleware includes a computing resource allocation module, which includes redundant computing resource configuration. The redundant computing resource configuration includes at least CPU core configuration, memory capacity configuration, GPU resource configuration, and I / O and network bandwidth configuration.
6. The method as described in claim 5, characterized in that, The middleware includes a computing resource allocation module, and the method includes: Obtain the computing resource configuration parameters of the tunneling and anchoring machine; According to the computing resource configuration parameters, a communication link is established between each computing resource configuration and the computing resource allocation module, and computing resources are dynamically allocated from the redundant computing resource configuration based on the communication link between the computing resource allocation module and each computing resource configuration.
7. The method as described in claim 6, characterized in that, The middleware's computing resource allocation module dynamically allocates computing resources according to the resource occupancy information, the method including: Analyze whether the value of each resource occupancy item in the resource occupancy information is greater than the corresponding preset resource occupancy threshold, and obtain the resource occupancy items that are greater than the corresponding preset resource occupancy threshold; The resource allocation instruction for the redundant computing resources configuration is obtained according to the resource occupancy item. Multiple communication links are activated according to the resource allocation instruction to dynamically allocate computing resources. The resource allocation instruction includes the allocation resource size and the allocation period.
8. The method as described in claim 7, characterized in that, The resource allocation instruction includes the resource allocation size and the resource allocation period. When a change in the real-time operation mode of the integrated tunneling and anchoring machine is detected, a resource recovery instruction is obtained. The middleware reclaims the allocated resources when the allocation period expires according to the resource reclamation instruction, and then recalculates the resource allocation according to the update operation mode.
9. A dynamic control system for use in the operation of a tunneling and anchoring machine, characterized in that, The system is used to implement the dynamic control method for tunneling and anchoring machine operation as described in any one of claims 1-8, the system comprising: The historical resource acquisition module is used to identify the historical resource requirements of the tunneling and anchoring machine in each operating mode, and to construct a mode-resource path mapping module. The operating modes include tunneling mode, anchoring mode and composite mode. A middleware establishment module is used to establish middleware, wherein the middleware includes a computing resource allocation module, wherein the middleware is connected to the control terminal of the tunneling and anchoring machine, and the mode-resource path mapping module is embedded in the middleware; The real-time operation mode acquisition module is used to acquire the real-time operation mode of the tunneling and anchoring machine and send it to the middleware. The middleware calls the mode-resource path mapping module to obtain the matching resource path of the real-time operation mode and calculates the resource occupancy information of the matching resource path. A dynamic allocation module for computing resources is used by the middleware's computing resource allocation module to dynamically allocate computing resources according to the resource occupancy information.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by the processor, the program implements the dynamic control method for the operation of the tunneling and anchoring machine as described in any one of claims 1-8.