Method and device for resource allocation in a closed-loop sensing-transmission-computing-control system
By constructing a performance optimization model and allocating resources reasonably, the resource allocation problem of the sensing-transmission-computing-control closed-loop system under limited resources is solved, the control performance and stability of the system are improved, and the efficient utilization of resources is achieved.
Patent Information
- Application Number
- CN202410830391.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-06-25
AI Technical Summary
In scenarios with limited communication resources and computing power resources, how can the sensing-transmission-computing-control closed-loop system reasonably allocate resources to improve the control performance of the system? Especially in emergency rescue scenarios, how to ensure the system under limited communication resources control performance to complete the rescue mission.
By obtaining the communication resources and computing resources of the sensing-transmission-computing-control closed-loop system, as well as the operating information of each execution device, we build a performance optimization model, solve the optimal solution to optimize resource allocation, and reasonably allocate uplink transmission bandwidth, uplink transmission time and Calculate the frequency and reduce the total control cost.
Effective use of communication resources significantly improves the control performance and stability of the sensing-transmission-computing-control closed-loop system, reduces the total control cost, and improves the resource utilization efficiency of the system.
Smart Images

Figure CN118400757B
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and specifically to a method and device for resource allocation in a sensing-transmission-computing-control closed-loop system. Background Art
[0002] In some scenarios where communication resources and computing resources are limited, the closed-loop sensing-transmission-computing-control system usually needs to allocate limited communication resources and computing resources (such as uplink transmission bandwidth) to each execution device to control the execution device to perform tasks. For example, in some extreme environments where base stations are damaged, drones carrying base station functions are usually used to allocate communication resources to each robot (i.e., execution device) and control each robot to perform emergency tasks.
[0003] However, since communication resources and computing power resources are limited, how to reasonably allocate the resources of each execution device under limited communication resources and computing power resources to improve the control performance of the system is a problem that needs to be solved. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a method and device for resource allocation in a sensing-transmission-computing-control closed-loop system, so as to optimize the resource allocation of the system and improve the system performance.
[0005] On the one hand, an embodiment of the present application provides a method for resource allocation in a sensing-transmission-computing-control closed-loop system, which is applied to a control device in the sensing-transmission-computing-control closed-loop system, and the sensing-transmission-computing-control closed-loop system also includes multiple execution devices. The method includes:
[0006] Obtain the communication resources, computing resources and operation information corresponding to each execution device of the closed-loop sensing-transmission-computing-control system;
[0007] Based on the communication resources, computing resources and the operation information corresponding to each execution device, the performance optimization model is solved to obtain the optimal solution of the performance optimization model, so that in the case of the optimal solution, the result of the objective function in the performance optimization model is optimal and satisfies the constraints of the constraints in the performance optimization model; the result of the objective function is the optimized value of the total control cost of the sensing-transmission-computation-control closed-loop system; the constraints include: the resource constraints of the uplink transmission bandwidth, uplink transmission time and computing frequency of each execution device and the cost constraints of the control cost of each execution device;
[0008] According to the optimal solution, corresponding uplink transmission bandwidth, uplink transmission time and calculation frequency are allocated to each execution device.
[0009] In one implementation, the performance optimization model includes: control cost variables for each execution device;
[0010] The objective function includes: determining the optimal value of the total control cost according to the minimum value of the sum of the control cost variables of each execution device; the optimal value of the total control cost is positively correlated with the minimum value; the control cost variable represents the control cost of the execution device.
[0011] In one implementation, the communication resources and computing resources include: system uplink bandwidth, system computing frequency and system cycle; the performance optimization model also includes: uplink transmission bandwidth variables, uplink transmission time variables and computing frequency variables of each execution device;
[0012] Resource constraints include the following conditions:
[0013] The sum of the uplink transmission bandwidth variables of each execution device shall not be higher than the system uplink bandwidth;
[0014] The sum of the calculation frequency variables of each execution device shall not be higher than the system calculation frequency;
[0015] The uplink transmission bandwidth variable, uplink transmission time variable and calculation frequency variable of each execution device are not less than zero;
[0016] The sum of the uplink transmission time variable and the calculation time of each execution device shall not exceed the system cycle; the calculation time of each execution device is determined based on the calculation frequency variable corresponding to the execution device and the perception information parameter; the calculation time is negatively correlated with the calculation frequency variable, and positively correlated with the perception information parameter and the bit processing cycle; the perception information parameter represents the effective amount of information transmitted uplink by the execution device.
[0017] In one implementation, the operation information includes: noise entropy power; the performance optimization model also includes: the state vector and intrinsic entropy rate corresponding to each execution device;
[0018] The cost constraints include the following conditions: the operating cost of each execution device is not higher than the corresponding control cost variable; the perception information parameter is not lower than the intrinsic entropy rate; the control cost variable of each execution device is not lower than zero;
[0019] The operating cost is determined based on the state vector, noise entropy power, perception information parameters and intrinsic entropy rate; the operating cost is positively correlated with the state vector, noise entropy power and intrinsic entropy rate, and negatively correlated with the perception information parameters.
[0020] In one implementation, the operation information further includes: uplink transmission power, channel gain, and noise power spectrum density;
[0021] The perception information parameter is the amount of perception information, which is positively correlated with the transmission capacity, uplink transmission power, and channel gain, and negatively correlated with the noise power spectrum density;
[0022] The transmission capacity is determined by the product of the uplink transmission bandwidth variable and the uplink transmission time variable.
[0023] In one implementation, the operation information further includes: uplink transmission power, channel gain, and noise power spectrum density; the performance optimization model further includes: control auxiliary variables and information auxiliary variables corresponding to each execution device;
[0024] Resource constraints also include the following conditions:
[0025] The perception information parameter is a control auxiliary variable and is not higher than the control information amount; the control information amount is positively correlated with the information auxiliary variable, uplink transmission power, channel gain, and uplink transmission time variable, and negatively correlated with the noise power spectral density.
[0026] In one implementation, the resource constraint condition further includes:
[0027]
[0028] Where k represents the serial number of the execution device, n represents the number of iterations, and u represents the uplink transmission. represents the uplink transmission bandwidth variable of execution device k, represents the uplink transmission time variable of execution device k, represents the information auxiliary variable for the execution device k at the nth iteration, Auxiliary variable representing the information of the execution device k at the n-1th iteration.
[0029] In one implementation, solving a performance optimization model based on communication resources, computing resources, and operation information corresponding to each execution device to obtain an optimal solution of the performance optimization model includes:
[0030] Based on the communication resources, computing resources and the operating information corresponding to each execution device, the convex optimization method is used to iteratively solve the performance optimization model until the optimal solution that meets the optimization conditions is obtained.
[0031] In one embodiment, the method further comprises:
[0032] For each execution device, perform the following steps:
[0033] When it is determined that the perception data uploaded by the execution device is received, the perception data is calculated and processed to obtain a calculation result; the perception data is obtained by the execution device sensing;
[0034] Generate control instructions based on the calculation results;
[0035] Return the control instructions to the execution device.
[0036] On the one hand, an embodiment of the present application provides a device for resource allocation in a sensing-transmission-computing-control closed-loop system, which is applied to a control device in the sensing-transmission-computing-control closed-loop system, and the sensing-transmission-computing-control closed-loop system also includes multiple execution devices, and the device includes:
[0037] An acquisition unit, used to acquire the communication resources, computing resources and operation information corresponding to each execution device of the closed-loop sensing-transmission-computing-control system;
[0038] An obtaining unit is used to solve the performance optimization model based on the communication resources, the computing resources and the operation information corresponding to each execution device, and obtain the optimal solution of the performance optimization model, so that in the case of the optimal solution, the result of the objective function in the performance optimization model is optimal and satisfies the constraints of the constraints in the performance optimization model; the result of the objective function is the optimized value of the total control cost of the sensing-transmission-computing-control closed-loop system; the constraints include: resource constraints of the uplink transmission bandwidth, uplink transmission time and computing frequency of each execution device and cost constraints of the control cost of each execution device;
[0039] The allocation unit is used to allocate corresponding uplink transmission bandwidth, uplink transmission time and calculation frequency to each execution device according to the optimal solution.
[0040] In one implementation, the performance optimization model includes: control cost variables for each execution device;
[0041] The objective function includes: determining the optimal value of the total control cost according to the minimum value of the sum of the control cost variables of each execution device; the optimal value of the total control cost is positively correlated with the minimum value; the control cost variable represents the control cost of the execution device.
[0042] In one implementation, the communication resources and computing resources include: system uplink bandwidth, system computing frequency and system cycle; the performance optimization model also includes: uplink transmission bandwidth variables, uplink transmission time variables and computing frequency variables of each execution device;
[0043] Resource constraints include the following conditions:
[0044] The sum of the uplink transmission bandwidth variables of each execution device shall not be higher than the system uplink bandwidth;
[0045] The sum of the calculation frequency variables of each execution device shall not be higher than the system calculation frequency;
[0046] The uplink transmission bandwidth variable, uplink transmission time variable and calculation frequency variable of each execution device are not less than zero;
[0047] The sum of the uplink transmission time variable and the calculation time of each execution device shall not exceed the system cycle; the calculation time of each execution device is determined based on the calculation frequency variable corresponding to the execution device and the perception information parameter; the calculation time is negatively correlated with the calculation frequency variable, and positively correlated with the perception information parameter and the bit processing cycle; the perception information parameter represents the effective amount of information transmitted uplink by the execution device.
[0048] In one implementation, the operation information includes: noise entropy power; the performance optimization model also includes: the state vector and intrinsic entropy rate corresponding to each execution device;
[0049] The cost constraints include the following conditions: the operating cost of each execution device is not higher than the corresponding control cost variable; the perception information parameter is not lower than the intrinsic entropy rate; the control cost variable of each execution device is not lower than zero;
[0050] The operating cost is determined based on the state vector, noise entropy power, perception information parameters and intrinsic entropy rate; the operating cost is positively correlated with the state vector, noise entropy power and intrinsic entropy rate, and negatively correlated with the perception information parameters.
[0051] In one implementation, the operation information further includes: uplink transmission power, channel gain, and noise power spectrum density;
[0052] The perception information parameter is the amount of perception information, which is positively correlated with the transmission capacity, uplink transmission power, and channel gain, and negatively correlated with the noise power spectrum density;
[0053] The transmission capacity is determined by the product of the uplink transmission bandwidth variable and the uplink transmission time variable.
[0054] In one implementation, the operation information further includes: uplink transmission power, channel gain, and noise power spectrum density; the performance optimization model further includes: control auxiliary variables and information auxiliary variables corresponding to each execution device;
[0055] Resource constraints also include the following conditions:
[0056] The perception information parameter is a control auxiliary variable and is not higher than the control information amount; the control information amount is positively correlated with the information auxiliary variable, uplink transmission power, channel gain, and uplink transmission time variable, and negatively correlated with the noise power spectral density.
[0057] In one implementation, the resource constraint condition further includes:
[0058]
[0059] Where k represents the serial number of the execution device, n represents the number of iterations, and u represents the uplink transmission. represents the uplink transmission bandwidth variable of execution device k, represents the uplink transmission time variable of execution device k, represents the information auxiliary variable for the execution device k at the nth iteration, Auxiliary variable representing the information of the execution device k at the n-1th iteration.
[0060] In one embodiment, the obtaining unit is used to:
[0061] Based on the communication resources, computing resources and the operating information corresponding to each execution device, the convex optimization method is used to iteratively solve the performance optimization model until the optimal solution that meets the optimization conditions is obtained.
[0062] In one implementation, the allocation unit is further configured to:
[0063] For each execution device, perform the following steps:
[0064] When it is determined that the perception data uploaded by the execution device is received, the perception data is calculated and processed to obtain a calculation result; the perception data is obtained by the execution device sensing;
[0065] Generate control instructions based on the calculation results;
[0066] Return the control instructions to the execution device.
[0067] On the one hand, an embodiment of the present application provides an electronic device, including:
[0068] Processor; and
[0069] A memory stores computer instructions, wherein the computer instructions are used to cause a processor to execute the steps of a method provided in any of the various optional implementations of resource allocation in any of the above-mentioned sensing-transmission-computing-control closed-loop systems.
[0070] On the one hand, an embodiment of the present application provides a computer-readable storage medium storing computer instructions, which are used to enable a computer to execute the steps of the method provided in various optional implementation methods of resource allocation in any of the above-mentioned sensing-transmission-computing-control closed-loop systems.
[0071] On the one hand, a computer program product is provided in an embodiment of the present application, including a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the steps of the method provided in various optional implementations of resource allocation in any of the above-mentioned sensing-transmission-computing-control closed-loop systems.
[0072] The resource allocation method in the embodiment of the present application includes obtaining the communication resources, computing resources and operation information corresponding to each execution device of the sensing-transmission-computing-control closed-loop system; solving the performance optimization model based on the communication resources, computing resources and operation information corresponding to each execution device, and obtaining the optimal solution of the performance optimization model, so that in the case of the optimal solution, the result of the objective function in the performance optimization model is optimal and satisfies the constraints of the constraints in the performance optimization model; the result of the objective function is the optimized value of the total control cost of the sensing-transmission-computing-control closed-loop system; the constraints include: the resource constraints of the uplink transmission bandwidth, uplink transmission time and calculation frequency of each execution device and the cost constraints of the control cost of each execution device; according to the optimal solution, the corresponding uplink transmission bandwidth, uplink transmission time and calculation frequency are respectively allocated to each execution device. In this way, through the performance optimization model, the uplink transmission bandwidth, uplink transmission time and calculation frequency can be reasonably allocated, the total control cost consumed is reduced, and the system performance is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0073] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0074] Figure 1 This is an example diagram of a scenario of resource allocation in a sensing-transmission-computing-control closed-loop system in an embodiment of the present application.
[0075] Figure 2 It is a flow chart of a method for resource allocation in a sensing-transmission-computing-control closed-loop system in an embodiment of the present application.
[0076] Figure 3 This is an example diagram of a total control cost curve in an embodiment of the present application.
[0077] Figure 4 It is a structural block diagram of a device for resource allocation in a sensing-transmission-computing-control closed-loop system in an embodiment of the present application.
[0078] Figure 5 It is a structural schematic diagram of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION
[0079] The technical solution of the present application will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described implementation methods are part of the implementation methods of the present application, rather than all of the implementation methods. Based on the implementation methods in the present application, all other implementation methods obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application. In addition, the technical features involved in the different implementation methods of the present application described below can be combined with each other as long as they do not conflict with each other.
[0080] In some scenarios where communication resources are limited, the closed-loop sensing-transmission-computing-control system usually needs to allocate limited communication resources to each execution device to control the execution device to perform tasks. However, since communication resources are limited, how to reasonably allocate the resources of each execution device under limited communication resources to improve the system performance of the closed-loop sensing-transmission-computing-control system is a problem that needs to be solved.
[0081] For example, natural disasters have caused serious economic losses. In various post-disaster rescue scenarios, ground base stations are destroyed or difficult to deploy densely. During the disaster relief process, frontline personnel face great danger and are prone to casualties. In order to reduce casualties, various emergency robots with super capabilities are usually used to replace humans to complete various dangerous tasks. In order to better guide emergency robots to complete rescue tasks and adapt to extreme environments where ground base stations are damaged, drones are needed to carry base station auxiliary communications to control robots. This forms a drone-robot collaborative network. Integrate communication, perception, computing, and control functions in the network to form a "sensing-transmission-computing-control" closed-loop system.
[0082] How to ensure the control performance of the system as much as possible under limited communication resources and complete the rescue mission is a key issue that is currently being widely studied. For the "sense-transmission-calculation-control" closed-loop system composed of drones and robots, on the one hand, during uplink transmission, the drone receives the robot's perception data and processes and calculates the perception data. On the other hand, during downlink transmission, the drone issues correct instructions to the robot based on the results of data processing and controls the robot to complete related tasks. In the "sense-transmission-calculation-control" closed loop, in order to improve system performance, it is necessary to comprehensively consider the perception, communication, calculation and control processes.
[0083] Since the amount of perception data collected by emergency robots is usually large, the bandwidth that drones can use for transmission and the frequency that can be used for calculation are usually limited, and communication delay is more important in emergency rescue scenarios. Therefore, how to reasonably allocate resources such as bandwidth, time, and computing frequency in the uplink to maximize the control performance of the system so that the emergency robot can stably complete the rescue mission is a technical problem that needs to be solved.
[0084] Based on the defects of the above-mentioned related technologies, a method and device for resource allocation in a sensing-transmission-computing-control closed-loop system are provided in an embodiment of the present application, aiming to optimize the resource allocation of the system and improve the system performance.
[0085] In an embodiment of the present application, a method for resource allocation in a sensing-transmission-computing-control closed-loop system is provided, which can be applied to a control device in the sensing-transmission-computing-control closed-loop system, and the sensing-transmission-computing-control closed-loop system also includes multiple execution devices. The control device performs the following steps for each execution device: when it is determined that the perception data uploaded by the execution device is received, the perception data is calculated and processed to obtain the calculation result; the perception data is obtained by the execution device; and a control instruction is generated according to the calculation result;
[0086] Return the control instructions to the execution device.
[0087] See also Figure 1 The following is an example diagram of a scenario of resource allocation in a closed-loop sensing-transmission-computing-control system. Figure 1 An example application scenario of an embodiment of the present application is described below. Figure 1 In the embodiment of the present application, the closed-loop sensing-transmitting-computing-controlling system includes a drone (i.e., a control device) and multiple robots (i.e., an execution device). In the embodiment of the present application, only the control device is a drone and the execution device is a robot as an example for illustration. In actual applications, the control device and the execution device can be any type of electronic device.
[0088] Among them, the drone has both the auxiliary communication function of the mobile base station and the computing and control functions of the computing server. The drone can allocate corresponding resources to each robot in real time or periodically, and transmit data with each robot through the resources allocated to each robot to control each robot to perform corresponding tasks. Among them, the drone and each robot form a collaborative closed-loop network. In the uplink transmission, the drone can receive the robot's perception data, and in the downlink transmission, the drone can issue control instructions to the robot based on the data processing results to control the emergency robot to perform related tasks.
[0089] See also Figure 2 As shown, it is a flow chart of a method for resource allocation in a sensing-transmission-computing-control closed-loop system in an embodiment of the present application. Figure 1 and Figure 2 The method is described, and the specific implementation process of the method includes steps 201 to 203.
[0090] Step 201: Obtain the communication resources, computing resources and operation information corresponding to each execution device of the sensing-transmission-computing-control closed-loop system.
[0091] Among them, the communication resources represent the total communication resources that can be allocated to the sensing-transmission-computing-control closed-loop system. The communication resources include at least: the system uplink bandwidth and the system cycle. The computing resources include the system computing frequency. The operation information represents the information related to the operation of the closed-loop network where each execution device is located. The operation information includes: noise entropy power, uplink transmission power, channel gain and noise power spectrum density. It should be noted that in the embodiment of the present application, the relevant information of the execution device (including the operation information) is the relevant information of the closed-loop network where the execution device is located. The operation information includes the environmental information perceived by the execution device and the control information of the object controlled by the execution device.
[0092] Among them, noise entropy power is used to describe the relationship between channel capacity and signal-to-noise ratio (SNR) in a noisy communication channel. Channel gain is a key concept in wireless communication, which describes the change in signal strength during transmission. Specifically, channel gain refers to the power change of a signal due to the influence of the propagation environment when it passes through a communication channel. This change can be either enhancement or attenuation, mainly depending on a variety of physical factors, such as distance, obstacles, weather conditions, etc. Noise power spectral density is an important indicator that describes the power distribution of random noise signals in the frequency domain, reflecting the distribution of noise signal power at different frequencies.
[0093] Step 202: Based on the communication resources, computing resources and the operating information corresponding to each execution device, solve the performance optimization model to obtain the optimal solution of the performance optimization model, so that in the case of the optimal solution, the result of the objective function in the performance optimization model is optimal and satisfies the constraints of the constraints in the performance optimization model.
[0094] The result of the objective function is the optimized value of the total control cost of the sensing-transmission-computing-control closed-loop system; the constraints include: resource constraints of the uplink transmission bandwidth, uplink transmission time and calculation frequency of each execution device and cost constraints of the control cost of each execution device. Exemplarily, the control cost can be a linear quadratic regulator (LQR) cost. The LQR cost is an indicator to measure the performance of the sensing-transmission-computing-control closed-loop system.
[0095] In one implementation, the performance optimization model includes: a control cost variable of each execution device, an uplink transmission bandwidth variable, an uplink transmission time variable, and a calculation frequency variable of each execution device.
[0096] The objective function includes: determining the optimal value of the total control cost according to the minimum value of the sum of the control cost variables of each execution device; the control cost variable represents the control cost of the execution device.
[0097] In one implementation, the objective function may be expressed as follows:
[0098] y= ;
[0099] Among them, y is the optimized value of the total control cost, k is the serial number of the execution device, which is a natural number, and M is the total number of execution devices. is the control cost variable for executing device k.
[0100] In this way, the objective function can be set according to the relationship between the control cost of each execution device and the total control cost.
[0101] In one implementation, the resource constraint conditions include the following conditions:
[0102] Condition 1: The sum of the uplink transmission bandwidth variables of each execution device is not higher than the system uplink bandwidth.
[0103] In one implementation, condition 1 can be expressed using the following expression:
[0104] ;
[0105] Where, u represents uplink transmission, is the uplink transmission bandwidth variable of device k, and B represents the system uplink bandwidth.
[0106] Condition 2: The sum of the calculation frequency variables of each execution device is not higher than the system calculation frequency.
[0107] In one implementation, condition 2 can be expressed using the following expression:
[0108] ;
[0109] in, is the calculation frequency variable for executing device k, Indicates the system calculation frequency.
[0110] Condition 3: The uplink transmission bandwidth variable, uplink transmission time variable, and calculation frequency variable of each execution device are not less than zero.
[0111] In one implementation, condition 3 can be expressed using the following expression:
[0112] ;
[0113] in, is the uplink transmission time variable of execution device k.
[0114] Condition 4: The sum of the uplink transmission time variable and the calculation time of each execution device is no greater than the system period.
[0115] In one implementation, condition 4 can be expressed by the following expression:
[0116] ;
[0117] in, represents the computation time of execution device k, is the system cycle.
[0118] In this way, the calculation time and uplink transmission time can be constrained by the system cycle.
[0119] The calculation time of each execution device is determined according to the calculation frequency variable and the perception information parameter corresponding to the execution device; the calculation time is negatively correlated with the calculation frequency variable, and positively correlated with the perception information parameter and the bit processing cycle; the perception information parameter represents the effective amount of information transmitted uplink by the execution device. The bit processing cycle can be the CPU cycle required to process each bit of information.
[0120] In one embodiment, the perception information parameter is the perception information amount , the amount of perceived information is positively correlated with the transmission capacity, uplink transmission power and channel gain, and negatively correlated with the noise power spectrum density; the transmission capacity is determined by the product of the uplink transmission bandwidth variable and the uplink transmission time variable, such as, the transmission capacity is .
[0121] For example, when determining the amount of perceived information, the following expression may be used:
[0122] ;
[0123] in, represents the amount of perceived information of execution device k, is the information coefficient, To execute the uplink transmission bandwidth variable of device k, is the device information of device k, p is the uplink transmission power, To perform the channel gain of device k, is the noise power spectral density of execution device k.
[0124] Exemplarily, when determining the channel gain, the following expression may be used:
[0125] ;
[0126] in, To perform the channel gain from device k to the control device, is the relative channel gain, is the transmission distance from the execution device k to the control device.
[0127] Exemplarily, when the perception information parameter is the perception information amount, the following expression may be used to determine the calculation time:
[0128] ;
[0129] in, is the processing cycle per bit.
[0130] Furthermore, to facilitate model solving, the performance optimization model may also include: control auxiliary variables and information auxiliary variables corresponding to each execution device, and the perception information parameter is set as the control auxiliary variable, and the resource constraint condition may also include the following conditions:
[0131] In one embodiment, the perception information parameter is a control auxiliary variable ,and Not higher than the amount of control information. Among them, the amount of control information is positively correlated with the information auxiliary variable, uplink transmission power, channel gain, and uplink transmission time variable, and negatively correlated with the noise power spectrum density.
[0132] In one implementation, the above condition can also be expressed by the following expression:
[0133] ;
[0134] in, Auxiliary variables for executing the control of device k, is the information auxiliary variable for executing device k, and the amount of control information is .
[0135] For example, when the perception information parameter is a control auxiliary variable, the following expression may be used to determine the calculation time: .
[0136] Furthermore, resource constraints include: To facilitate the solution of the model and transform the original problem of the model into a convex optimization problem, we can also take the logarithm of the expression and perform Taylor expansion to obtain the following expression:
[0137] ;
[0138] Where k represents the serial number of the execution device, n represents the number of iterations, and u represents the uplink transmission. represents the uplink transmission bandwidth variable of execution device k, represents the uplink transmission time variable of execution device k, represents the information auxiliary variable for the execution device k at the nth iteration, Auxiliary variable representing the information of the execution device k at the n-1th iteration.
[0139] In one embodiment, the operation information includes: noise entropy power; the performance optimization model also includes: the state vector corresponding to each execution device and the intrinsic entropy rate. The intrinsic entropy rate generally refers to the rate of entropy generated by irreversible processes within the system. The cost constraint conditions may include the following multiple conditions:
[0140] Condition 1: The operating cost of each execution device is not higher than its corresponding control cost variable.
[0141] Among them, the operating cost is determined according to the state vector, noise entropy power, perception information parameters and intrinsic entropy rate; the operating cost is positively correlated with the state vector, noise entropy power and intrinsic entropy rate, and negatively correlated with the perception information parameters.
[0142] In one implementation, when the perception information parameter is the perception information amount, condition 1 may adopt the following expression:
[0143] ;
[0144] ;
[0145] in, is the state vector of execution device k, is the noise entropy power of execution device k, h() is the probability density function, represents the measurement noise of execution device k, To implement the intrinsic entropy rate of device k, the state of the closed-loop sensing-sensing-computing-control system is modeled as a discrete linear time-invariant system. is the state transfer coefficient of the executive device k in the sensing-transmission-computing-control closed-loop system. The state transfer coefficient is the parameter that determines the state change inside the sensing-transmission-computing-control closed-loop system. To perform system control noise for device k, Solve the Ricatti equations for the system executing device k. tr() represents the trace of the matrix, which is the sum of the elements on the main diagonal of the square matrix.
[0146] In one implementation, when the perception information parameter is a control auxiliary variable, condition 1 may adopt the following expression:
[0147] ;
[0148] Condition 2: The perceived information parameter is not lower than the intrinsic entropy rate.
[0149] In one implementation, when the perception information parameter is the perception information amount, condition 2 may adopt the following expression:
[0150] ;
[0151] In one implementation, when the perception information parameter is a control auxiliary variable, condition 2 may adopt the following expression: .
[0152] Condition 3: The control cost variable of each execution device is not less than zero. Condition 3 can be expressed as follows: .
[0153] Exemplarily, when the perception information parameter is the amount of perception information, the objective function and constraint conditions of the performance optimization model may include:
[0154] y= ;
[0155] st ;
[0156]
[0157] ; ;
[0158]
[0159] ;
[0160] ;
[0161] ; .
[0162] Exemplarily, when the perception information parameter is a control auxiliary variable, the objective function and constraint conditions of the performance optimization model may include:
[0163] y= ;
[0164] st ;
[0165] ;
[0166] ;
[0167] ;
[0168] ;
[0169] ;
[0170]
[0171]
[0172] In one implementation, when the perception information parameter is a control auxiliary variable, a convex optimization method can be used to iteratively solve the performance optimization model based on communication resources and computing resources and the operating information corresponding to each execution device until an optimal solution that meets the optimization conditions is obtained.
[0173] Exemplarily, when the convex optimization method is used for solving, the following S2021-S2027 may be included.
[0174] S2021: Obtain an initial set of feasible solutions for each variable to be solved in the performance optimization model , and its corresponding total control cost .
[0175] The variables to be solved in the performance optimization model include: uplink transmission bandwidth variables, calculation frequency variables, uplink transmission time variables, information auxiliary variables, and control auxiliary variables of each execution device. The initial feasible solution can be expressed as , , ,
[0176] , , .
[0177] In one implementation, any set of feasible solutions of the cost optimization model is selected as the initial feasible solution. , and optimize the model and the initial feasible solution based on the performance , get the initial total control cost .
[0178] S2022: Iteration number n=n+1, where n is the iteration number and the initial value of n is 0.
[0179] S2023: Use convex optimization methods to solve the performance optimization model and obtain a new set of feasible solutions .
[0180] In one embodiment, the minimization of the successive convex approximations is solved by a convex optimization method. The problem of obtaining .
[0181] In this way, a new round of feasible solutions can be continuously obtained.
[0182] S2024: Determine the new total control cost based on the new feasible solution .
[0183] S2025: Based on the current total control cost and the previous total control cost , determine the error.
[0184] S2026: Determine whether the error is lower than the error threshold, if so, execute S2027, otherwise, execute S2022.
[0185] In one embodiment, setting is the error threshold, if the error = , then execute S2027, otherwise, execute S2022.
[0186] S2027: Output total control cost as well as .
[0187] In this way, the optimal allocation scheme of the uplink transmission bandwidth, uplink transmission time and calculation frequency of each execution device can be obtained by solving the model.
[0188] Step 203: According to the optimal solution, corresponding uplink transmission bandwidth, uplink transmission time and calculation frequency are allocated to each execution device.
[0189] The optimal solution includes the uplink transmission bandwidth, uplink transmission time and calculation frequency corresponding to each execution device. In one implementation, communication resources are allocated to each execution device according to the uplink transmission bandwidth, uplink transmission time and calculation frequency corresponding to each execution device in the optimal solution.
[0190] Furthermore, the calculation time of each execution device can be determined according to the uplink transmission time and the calculation frequency of each execution device, and the corresponding uplink transmission bandwidth, uplink transmission time, calculation time and calculation frequency can be allocated to each execution device according to the optimal solution and the calculation time.
[0191] This application can be applied to emergency rescue scenarios where there is a lack of ground base stations. For example, the sensing-transmission-computing-control closed-loop system includes a drone and an emergency robot. The drone is at an altitude of 1000m, and there are 5 emergency robots randomly distributed in a circle with a radius of 5000m.
[0192] Among them, during the communication process, the noise power spectrum density of the closed-loop system of sensing, transmission, calculation and control is -170dBm / Hz, relative channel gain is -50dB, the transmission power p is 0.1W, and the system cycle During the calculation process, the total available CPU frequency is the system calculation frequency. The bit processing cycle is 3 GHz. During the control process, the effective data (i.e., the perception information parameters) used is 0.001 times the uploaded data. = 0.001, the state vector in the state equation is 50, the state transfer coefficient is a diagonal matrix with diagonal elements in the range [-10,10], is the identity matrix.
[0193] Combine the following Figure 3 The control effect of resource allocation of the above-mentioned sensing-transmission-computing-control closed-loop system is illustrated by examples. Figure 3 This is an example diagram of a total control cost curve. Figure 3 In the figure, the horizontal axis is the system uplink bandwidth, and the vertical axis is the total control cost. Under the conditions of the above emergency rescue scenario, the traditional frequency optimization allocation scheme and bandwidth optimization allocation scheme, as well as the resource allocation scheme of this application, can be used to simulate the maximum bandwidth of 5MHz to 10MHz point by point with an interval of 1MHz to obtain the corresponding total LQR cost (i.e., total control cost). Figure 3 The frequency optimization scheme and bandwidth optimization scheme are shown in Figure 1, as well as the total LQR cost curves of the resource allocation scheme in three cases. The frequency optimization scheme is a scheme that only optimizes the calculation frequency and evenly distributes the bandwidth, and the bandwidth optimization scheme is a scheme that only optimizes the uplink transmission bandwidth and evenly distributes the calculation frequency. Figure 3 It can be seen that the resource allocation scheme of the present application can significantly reduce the total control cost and improve the system control performance.
[0194] In an embodiment of the present application, the comprehensive sensing-transmission-computing-control closed-loop system generates an objective function and constraints with the total control cost of the sensing-transmission-computing-control closed-loop system as the optimization target in the entire process of perception, communication, calculation and control, and generates a performance optimization model in combination with the objective function and the constraints. Through the performance optimization model, the uplink transmission bandwidth, calculation frequency and uplink transmission time can be collaboratively optimized under the condition of limited resources, so that the communication resources can be fully and effectively utilized, the total control cost can be reduced as much as possible, and the control performance and stability of the sensing-transmission-computing-control closed-loop system can be significantly improved; and, in the solution process, the continuous convex approximation method is used to transform the original problem into an easy-to-solve convex optimization problem, and the original optimization problem is effectively solved. The complexity of the solution is not high and it can be solved efficiently.
[0195] Based on the same inventive concept, an apparatus for resource allocation in a sensing-transmission-computing-control closed-loop system is also provided in the embodiment of the present application. Since the principle of solving the problem by the above apparatus and device is similar to the method for resource allocation in a sensing-transmission-computing-control closed-loop system, the implementation of the above apparatus can refer to the implementation of the method, and the repeated parts will not be repeated. The apparatus can be applied to electronic devices. The present application does not limit the type of electronic devices. It can be any type of device suitable for implementation, such as terminal devices and servers, etc., and the present application will not repeat them.
[0196] See also Figure 4 As shown, it is a structural block diagram of a device for resource allocation in a sensing-transmission-computing-control closed-loop system in an embodiment of the present application. In some implementations, the device for resource allocation in the example of the present application includes:
[0197] On the one hand, an embodiment of the present application provides a device for resource allocation in a sensing-transmission-computing-control closed-loop system, which is applied to a control device in the sensing-transmission-computing-control closed-loop system, and the sensing-transmission-computing-control closed-loop system also includes multiple execution devices, and the device includes:
[0198] An acquisition unit 401 is used to acquire the communication resources, computing resources and operation information corresponding to each execution device of the sensing-transmission-computing-control closed-loop system;
[0199] The obtaining unit 402 is used to solve the performance optimization model based on the communication resources, the computing resources and the operation information corresponding to each execution device, and obtain the optimal solution of the performance optimization model, so that in the case of the optimal solution, the result of the objective function in the performance optimization model is optimal and satisfies the constraints of the constraints in the performance optimization model; the result of the objective function is the optimized value of the total control cost of the sensing-transmission-computing-control closed-loop system; the constraints include: resource constraints of the uplink transmission bandwidth, uplink transmission time and computing frequency of each execution device and cost constraints of the control cost of each execution device;
[0200] The allocation unit 403 is used to allocate corresponding uplink transmission bandwidth, uplink transmission time and calculation frequency to each execution device according to the optimal solution.
[0201] In one implementation, the performance optimization model includes: control cost variables for each execution device;
[0202] The objective function includes: determining the optimal value of the total control cost according to the minimum value of the sum of the control cost variables of each execution device; the optimal value of the total control cost is positively correlated with the minimum value; the control cost variable represents the control cost of the execution device.
[0203] In one implementation, the communication resources and computing resources include: system uplink bandwidth, system computing frequency and system cycle; the performance optimization model also includes: uplink transmission bandwidth variables, uplink transmission time variables and computing frequency variables of each execution device;
[0204] Resource constraints include the following conditions:
[0205] The sum of the uplink transmission bandwidth variables of each execution device shall not be higher than the system uplink bandwidth;
[0206] The sum of the calculation frequency variables of each execution device shall not be higher than the system calculation frequency;
[0207] The uplink transmission bandwidth variable, uplink transmission time variable and calculation frequency variable of each execution device are not less than zero;
[0208] The sum of the uplink transmission time variable and the calculation time of each execution device shall not exceed the system cycle; the calculation time of each execution device is determined based on the calculation frequency variable corresponding to the execution device and the perception information parameter; the calculation time is negatively correlated with the calculation frequency variable, and positively correlated with the perception information parameter and the bit processing cycle; the perception information parameter represents the effective amount of information transmitted uplink by the execution device.
[0209] In one implementation, the operation information includes: noise entropy power; the performance optimization model also includes: the state vector and intrinsic entropy rate corresponding to each execution device;
[0210] The cost constraints include the following conditions: the operating cost of each execution device is not higher than the corresponding control cost variable; the perception information parameter is not lower than the intrinsic entropy rate; the control cost variable of each execution device is not lower than zero;
[0211] The operating cost is determined based on the state vector, noise entropy power, perception information parameters and intrinsic entropy rate; the operating cost is positively correlated with the state vector, noise entropy power and intrinsic entropy rate, and negatively correlated with the perception information parameters.
[0212] In one implementation, the operation information further includes: uplink transmission power, channel gain, and noise power spectrum density;
[0213] The perception information parameter is the amount of perception information, which is positively correlated with the transmission capacity, uplink transmission power, and channel gain, and negatively correlated with the noise power spectrum density;
[0214] The transmission capacity is determined by the product of the uplink transmission bandwidth variable and the uplink transmission time variable.
[0215] In one implementation, the operation information further includes: uplink transmission power, channel gain, and noise power spectrum density; the performance optimization model further includes: control auxiliary variables and information auxiliary variables corresponding to each execution device;
[0216] Resource constraints also include the following conditions:
[0217] The perception information parameter is a control auxiliary variable and is not higher than the control information amount; the control information amount is positively correlated with the information auxiliary variable, uplink transmission power, channel gain, and uplink transmission time variable, and negatively correlated with the noise power spectral density.
[0218] In one implementation, the resource constraint condition further includes:
[0219]
[0220] Where k represents the serial number of the execution device, n represents the number of iterations, and u represents the uplink transmission. represents the uplink transmission bandwidth variable of execution device k, represents the uplink transmission time variable of execution device k, represents the information auxiliary variable for the execution device k at the nth iteration, Auxiliary variable representing the information of the execution device k at the n-1th iteration.
[0221] In one implementation, the obtaining unit 402 is used to:
[0222] Based on the communication resources, computing resources and the operating information corresponding to each execution device, the convex optimization method is used to iteratively solve the performance optimization model until the optimal solution that meets the optimization conditions is obtained.
[0223] In one implementation, the allocation unit 403 is further configured to:
[0224] For each execution device, perform the following steps:
[0225] When it is determined that the perception data uploaded by the execution device is received, the perception data is calculated and processed to obtain a calculation result; the perception data is obtained by the execution device sensing;
[0226] Generate control instructions based on the calculation results;
[0227] Return the control instructions to the execution device.
[0228] The resource allocation method in the embodiment of the present application includes obtaining the communication resources, computing resources and operation information corresponding to each execution device of the sensing-transmission-computing-control closed-loop system; solving the performance optimization model based on the communication resources, computing resources and operation information corresponding to each execution device, and obtaining the optimal solution of the performance optimization model, so that in the case of the optimal solution, the result of the objective function in the performance optimization model is optimal and satisfies the constraints of the constraints in the performance optimization model; the result of the objective function is the optimized value of the total control cost of the sensing-transmission-computing-control closed-loop system; the constraints include: the resource constraints of the uplink transmission bandwidth, uplink transmission time and calculation frequency of each execution device and the cost constraints of the control cost of each execution device; according to the optimal solution, the corresponding uplink transmission bandwidth, uplink transmission time and calculation frequency are respectively allocated to each execution device. In this way, through the performance optimization model, the uplink transmission bandwidth, uplink transmission time and calculation frequency can be reasonably allocated, the total control cost consumed is reduced, and the system performance is improved.
[0229] In an embodiment of the present application, an electronic device is provided, including:
[0230] Processor; and
[0231] The memory stores computer instructions, where the computer instructions are used to enable the processor to execute the method of any of the above embodiments.
[0232] In an embodiment of the present application, a computer-readable storage medium is provided, which stores computer instructions, and the computer instructions are used to enable a computer to execute a method in any of the above-mentioned embodiments.
[0233] An embodiment of the present application also provides a computer program product, including a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device implements any of the above-mentioned methods.
[0234] Figure 5 FIG. 5 shows a schematic diagram of the structure of an electronic device 5000. Figure 5 As shown, the electronic device 5000 includes: a processor 5010 and a memory 5020 , and optionally, may also include a power supply 5030 , a display unit 5040 , and an input unit 5050 .
[0235] The processor 5010 is the control center of the electronic device 5000. It connects various components using various interfaces and lines, and performs various functions of the electronic device 5000 by running or executing software programs and / or data stored in the memory 5020, thereby monitoring the electronic device 5000 as a whole.
[0236] In the embodiment of the present application, the processor 5010 executes the various steps in the above embodiment when calling the computer program stored in the memory 5020.
[0237] Optionally, the processor 5010 may include one or more processing units; preferably, the processor 5010 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and applications, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 5010. In some embodiments, the processor and the memory may be implemented on a single chip, and in some embodiments, they may also be implemented separately on separate chips.
[0238] The memory 5020 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, various applications, etc.; the data storage area may store data created according to the use of the electronic device 5000, etc. In addition, the memory 5020 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices, etc.
[0239] The electronic device 5000 also includes a power source 5030 (such as a battery) for supplying power to various components. The power source can be logically connected to the processor 5010 through a power management system, so that the power management system can manage functions such as charging, discharging, and power consumption.
[0240] The display unit 5040 may be used to display information input by the user or information provided to the user and various menus of the electronic device 5000, and in the embodiment of the present application, is mainly used to display the display interface of each application in the electronic device 5000 and objects such as text and pictures displayed in the display interface. The display unit 5040 may include a display panel 5041. The display panel 5041 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), and the like.
[0241] The input unit 5050 may be used to receive information such as numbers or characters input by the user. The input unit 5050 may include a touch panel 5051 and other input devices 5052. The touch panel 5051, also known as a touch screen, may collect touch operations of the user on or near it (such as operations of the user using a finger, a touch pen, or any other suitable object or accessory on or near the touch panel 5051).
[0242] The touch panel 5051 can detect the user's touch operation, detect the signal brought by the touch operation, convert these signals into touch point coordinates, send them to the processor 5010, and receive and execute the command sent by the processor 5010. In addition, the touch panel 5051 can be implemented by various types such as resistive, capacitive, infrared and surface acoustic wave. Other input devices 5052 can include but are not limited to one or more of a physical keyboard, function keys (such as volume control keys, power on / off keys, etc.), a trackball, a mouse, a joystick, etc.
[0243] Of course, the touch panel 5051 can cover the display panel 5041. When the touch panel 5051 detects a touch operation on or near it, it is transmitted to the processor 5010 to determine the type of touch event. Then the processor 5010 provides corresponding visual output on the display panel 5041 according to the type of touch event. Figure 5 In the embodiment, the touch panel 5051 and the display panel 5041 are used as two independent components to realize the input and output functions of the electronic device 5000, but in some embodiments, the touch panel 5051 and the display panel 5041 can be integrated to realize the input and output functions of the electronic device 5000.
[0244] The electronic device 5000 may also include one or more sensors, such as a pressure sensor, a gravity acceleration sensor, a proximity light sensor, etc. Of course, according to the needs of specific applications, the electronic device 5000 may also include other components such as a camera. Since these components are not the key components used in the embodiments of the present application, Figure 5 It is not shown and will not be described in detail.
[0245] Those skilled in the art will understand that Figure 5 The electronic device is merely an example and does not limit the electronic device, and may include more or less components than those shown in the figure, or may combine certain components, or may include different components.
[0246] For the convenience of description, the above parts are divided into modules (or units) according to their functions and described separately. Of course, when implementing this application, the functions of each module (or unit) can be implemented in the same or multiple software or hardware.
Claims
1. A method for resource allocation in a closed-loop sensing-transmission-computing-control system, characterized in that: A control device applied to a sensing-transmitting-computing-controlling closed-loop system, wherein the sensing-transmitting-computing-controlling closed-loop system further comprises a plurality of execution devices, and the method comprises: Acquire the communication resources, computing resources and operation information corresponding to each execution device of the sensing-transmission-computing-control closed-loop system; Based on the communication resources, computing resources and operation information corresponding to each execution device, solve the performance optimization model to obtain the optimal solution of the performance optimization model, so that under the optimal solution, the result of the objective function in the performance optimization model is optimal and satisfies the constraints of the constraints in the performance optimization model; the result of the objective function is the optimized value of the total control cost of the sensing-transmission-computing-control closed-loop system; the constraints include: resource constraints of the uplink transmission bandwidth, uplink transmission time and computing frequency of each execution device and cost constraints of the control cost of each execution device; According to the optimal solution, corresponding uplink transmission bandwidth, uplink transmission time and calculation frequency are respectively allocated to each execution device; The communication resources include: system uplink bandwidth and system cycle; the computing resources include system computing frequency; the performance optimization model also includes: uplink transmission bandwidth variables, uplink transmission time variables and computing frequency variables of each execution device; The resource constraint conditions include the following conditions: the sum of the uplink transmission bandwidth variables of each execution device is not higher than the system uplink bandwidth; the sum of the calculation frequency variables of each execution device is not higher than the system calculation frequency; the uplink transmission bandwidth variable, uplink transmission time variable and calculation frequency variable of each execution device are not less than zero; the sum of the uplink transmission time variable and calculation time of each execution device is not higher than the system cycle; the calculation time of each execution device is determined according to the calculation frequency variable and perception information parameter corresponding to the execution device; the calculation time is negatively correlated with the calculation frequency variable, and positively correlated with the perception information parameter and the bit processing cycle; the perception information parameter represents the effective information amount of the uplink transmission of the execution device.
2. The method according to claim 1, characterized in that The performance optimization model includes: control cost variables of each execution device; The objective function includes: determining the optimal value of the total control cost according to the minimum value of the sum of the control cost variables of each execution device; the optimal value of the total control cost is positively correlated with the minimum value; the control cost variable represents the control cost of the execution device.
3. The method according to claim 1, characterized in that: The operation information includes: noise entropy power; the performance optimization model also includes: state vectors and intrinsic entropy rates corresponding to each execution device; The cost constraint conditions include the following conditions: the operation cost of each execution device is not higher than the corresponding control cost variable; the perception information parameter is not lower than the intrinsic entropy rate; the control cost variable of each execution device is not lower than zero; The operating cost is determined based on the state vector, the noise entropy power, the perception information parameter and the intrinsic entropy rate; the operating cost is positively correlated with the state vector, the noise entropy power and the intrinsic entropy rate, and negatively correlated with the perception information parameter.
4. The method according to any one of claims 1 to 3, characterized in that: The operation information also includes: uplink transmission power, channel gain and noise power spectrum density; The perception information parameter is the perception information amount, and the perception information amount is positively correlated with the transmission capacity, the uplink transmission power and the channel gain, and negatively correlated with the noise power spectrum density; The transmission capacity is determined according to the product of the uplink transmission bandwidth variable and the uplink transmission time variable.
5. The method according to any one of claims 1 to 3, characterized in that: The operation information also includes: uplink transmission power, channel gain and noise power spectrum density; the performance optimization model also includes: control auxiliary variables and information auxiliary variables corresponding to each execution device; The resource constraints also include the following conditions: The information parameter is the control auxiliary variable and is not higher than the control information amount; the control information amount is positively correlated with the information auxiliary variable, uplink transmission power, channel gain and uplink transmission time variable, and negatively correlated with the noise power spectrum density.
6. The method according to claim 5, characterized in that The resource constraints also include: Where k represents the serial number of the execution device, n represents the number of iterations, and u represents the uplink transmission. represents the uplink transmission bandwidth variable of execution device k, represents the uplink transmission time variable of execution device k, represents the information auxiliary variable for the execution device k at the nth iteration, Auxiliary variable representing the information of the execution device k at the n-1th iteration.
7. The method according to any one of claims 1 to 3, characterized in that: Solving the performance optimization model based on the communication resources, computing resources, and operation information corresponding to each execution device to obtain an optimal solution to the performance optimization model includes: Based on the communication resources, computing resources and operation information corresponding to each execution device, a convex optimization method is used to iteratively solve the performance optimization model until an optimal solution that meets the optimization conditions is obtained.
8. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: For each execution device, perform the following steps: When it is determined that the perception data uploaded by the execution device is received, the perception data is processed by calculation to obtain a calculation result; the perception data is obtained by perception by the execution device; generating a control instruction according to the calculation result; Return the control instruction to the execution device.
9. A device for resource allocation in a closed-loop sensing-transmission-computing-control system, characterized in that: A control device applied to a closed-loop sensing-transmission-computing-control system, wherein the closed-loop sensing-transmission-computing-control system further comprises a plurality of execution devices, wherein the device comprises: An acquisition unit, used to acquire the communication resources, computing resources and operation information corresponding to each execution device of the sensing-transmission-computing-control closed-loop system; An obtaining unit is used to solve a performance optimization model based on the communication resources, computing resources and operation information corresponding to each execution device, and obtain an optimal solution of the performance optimization model, so that in the case of the optimal solution, the result of the objective function in the performance optimization model is optimal and satisfies the constraints of the constraints in the performance optimization model; the result of the objective function is the optimized value of the total control cost of the sensing-transmission-computing-control closed-loop system; the constraints include: resource constraints of uplink transmission bandwidth, uplink transmission time and computing frequency of each execution device and cost constraints of the control cost of each execution device; An allocation unit, configured to allocate corresponding uplink transmission bandwidth, uplink transmission time and calculation frequency to each execution device according to the optimal solution; Wherein, the communication resources include: system uplink bandwidth and system cycle; the computing resources include system computing frequency; The performance optimization model also includes: uplink transmission bandwidth variables, uplink transmission time variables and calculation frequency variables of each execution device; The resource constraint conditions include the following conditions: the sum of the uplink transmission bandwidth variables of each execution device is not higher than the system uplink bandwidth; the sum of the calculation frequency variables of each execution device is not higher than the system calculation frequency; the uplink transmission bandwidth variable, uplink transmission time variable and calculation frequency variable of each execution device are not less than zero; the sum of the uplink transmission time variable and calculation time of each execution device is not higher than the system cycle; the calculation time of each execution device is determined according to the calculation frequency variable and perception information parameter corresponding to the execution device; the calculation time is negatively correlated with the calculation frequency variable, and positively correlated with the perception information parameter and the bit processing cycle; the perception information parameter represents the effective information amount of the uplink transmission of the execution device.
