Satellite service combination selection method and system based on reinforcement learning multi-agent cooperation

Through the multi-agent collaboration method based on reinforcement learning, the resource matching between satellites and services is optimized, which solves the problem of low satellite resource utilization in the existing technology and achieves more efficient resource allocation and utilization.

CN118798306AActive Publication Date: 2024-10-18BEIJING UNIV OF POSTS & TELECOMM

Patent Information

Application Number
CN202410753413.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-10-18
Estimated Expiration
2044-06-12

AI Technical Summary

Technical Problem

The utilization rate of satellite resources in the existing technology is low, resulting in insufficient optimization of satellite service combinations and low resource allocation efficiency.

Method used

Using a multi-agent collaboration method based on reinforcement learning, by determining the remaining resources and resource requirements between satellites and service items, inputting the multi-agent reinforcement learning network model, calculating joint action values ​​and adjusting model parameters, the satellite service combination is optimized and improved Resource utilization.

Benefits of technology

A more accurate satellite service combination is achieved, ensuring that service items are matched to available satellites, reducing the satellite resources occupied by service items, and improving overall resource utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118798306A_ABST
    Figure CN118798306A_ABST
Patent Text Reader

Abstract

The invention discloses a reinforcement learning multi-agent cooperation-based satellite service combination selection method and system. The method comprises the steps of determining sample satellite residual resource values corresponding to sample satellites and sample service item resource demand values corresponding to sample service items contained in a sample service item set; inputting the sample service item set, the sample satellite residual resource value and the sample service item resource demand value into a first multi-agent reinforcement learning network model to obtain a first joint action value output by the first multi-agent reinforcement learning network model; calculating a loss value of the first multi-agent reinforcement learning network model based on each sample service item resource demand value and each first joint action value; and based on the loss value, adjusting a first parameter of the first multi-agent reinforcement learning network model to obtain a target multi-agent reinforcement learning network model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of machine learning technology, and specifically relates to a satellite service combination selection method and system based on reinforcement learning multi-agent collaboration. Background Art

[0002] At present, the field of satellite networks has been rapidly developed. Due to its coverage of remote areas, the application scenarios of satellite networks are becoming more and more extensive, such as communication, weather forecasting, navigation, etc. In general, each satellite can handle multiple services. When a user sends a command to a satellite, services on different satellites will be called to meet the request. After receiving this information, the user device will calculate the appropriate combination of satellite services across satellites. The device will then transmit the calculation results back to the access satellite, which will coordinate with other satellites in the constellation to allocate service items to each satellite according to the determined satellite service combination so that each satellite can perform the service items. The process of determining the satellite service combination usually requires a certain amount of computing resources. Since the resources provided by each satellite are limited, it is necessary to reasonably allocate the resources provided by the satellite so that the satellite can use as few resources as possible to perform as many services as possible.

[0003] In the related art, heuristic algorithms, such as simulated annealing algorithms or genetic algorithms, can be used to select the best satellite service combination. First, a satellite service combination obtained by combining satellites and service items is determined, and then a simulated annealing algorithm or a genetic algorithm is used to select the best satellite service combination.

[0004] However, the satellite service combination obtained by this method is often not the optimal combination in actual conditions, and the utilization rate of satellite resources is low. Summary of the invention

[0005] The present application aims to provide a model training method, a satellite service combination selection method based on reinforcement learning multi-agent collaboration, a system, an electronic device and a readable storage medium to solve the problem of low satellite resource utilization in the prior art.

[0006] In order to solve the above technical problems, this application is implemented as follows:

[0007] In a first aspect, an embodiment of the present application provides a model training method, the method comprising:

[0008] Determine the sample satellite remaining resource value corresponding to each sample satellite, and the sample service item resource demand value corresponding to each sample service item included in the sample service item set;

[0009] Inputting the sample service item set, the sample satellite remaining resource value and the sample service item resource demand value into a first multi-agent reinforcement learning network model to obtain a first joint action value output by the first multi-agent reinforcement learning network model;

[0010] Calculating the loss value of the first multi-agent reinforcement learning network model based on the resource demand value of each of the sample service items and each of the first joint action values;

[0011] Based on the loss value, a first parameter of the first multi-agent reinforcement learning network model is adjusted to obtain a target multi-agent reinforcement learning network model; the target multi-agent reinforcement learning network model is used to determine a target joint action value between a target satellite and a target service item.

[0012] Optionally, the first multi-agent reinforcement learning network model includes an encoding module and a joint action value calculation module, and the inputting the sample service item set, the sample satellite remaining resource value and the sample service item resource demand value into the first multi-agent reinforcement learning network model to obtain a first joint action value output by the first multi-agent reinforcement learning network model includes:

[0013] Input the sample service item set, the sample satellite remaining resource value and the sample service item resource requirement value into the encoding module, and obtain the first sample remaining resource observation value and the first sample resource requirement observation value output by the encoding module;

[0014] The remaining resource value of the sample satellite and the resource demand value of the sample service item are concatenated to obtain a state vector corresponding to each sample service item;

[0015] The state vector, the first sample remaining resource observation value and the first sample resource demand observation value are input into the joint action value calculation module to obtain a first joint action value output by the joint action value calculation module.

[0016] Optionally, the step of inputting the sample service item set, the sample satellite remaining resource value, and the sample service item resource requirement value into the encoding module to obtain the sample remaining resource observation value and the sample resource requirement observation value output by the encoding module comprises:

[0017] Splicing the sample service item set with the sample satellite remaining resource value to obtain a first splicing vector;

[0018] Concatenate the sample service item set with the sample service item resource requirement value to obtain a second concatenation vector;

[0019] The first splicing vector and the second splicing vector are respectively input into the encoding module to obtain the first sample remaining resource observation value and the first sample resource requirement observation value respectively output by the encoding module.

[0020] Optionally, the inputting the first splicing vector and the second splicing vector into the encoding module respectively to obtain the first sample remaining resource observation value and the first sample resource requirement observation value respectively output by the encoding module includes:

[0021] Based on the remaining resource value of the sample satellite and the resource demand value of the sample service item, determine the mask matrix corresponding to each sample satellite and each sample service item; wherein the row number of the mask matrix corresponds to each sample satellite, the column number of the mask matrix corresponds to each sample service item, and the first element value of the mask matrix indicates whether the sample service item corresponding to the first element value is allowed to run on the sample satellite corresponding to the first element value;

[0022] Inputting the first splicing vector and the second splicing vector into the encoding module respectively, to obtain the second sample remaining resource observation value and the second sample resource requirement observation value respectively output by the encoding module;

[0023] Inputting the mask matrix into the encoding module to obtain the mask matrix code output by the encoding module;

[0024] The mask matrix code and the second sample remaining resource observation value are concatenated to obtain a first sample remaining resource observation value, and the mask matrix code and the second sample resource requirement observation value are concatenated to obtain a first sample resource requirement observation value.

[0025] Optionally, adjusting a first parameter of the first multi-agent reinforcement learning network model based on the loss value to obtain a target multi-agent reinforcement learning network model includes:

[0026] Based on the loss value, adjusting a first parameter of the first multi-agent reinforcement learning network model to obtain a first multi-agent reinforcement learning network model with updated parameters;

[0027] Re-execute the step of determining the sample satellite remaining resource value corresponding to each sample satellite, and the sample service item resource demand value corresponding to each sample service item included in the sample service item set;

[0028] Comparing the loss value with a first threshold, and accumulating a first number of times that the loss value is smaller than the first threshold;

[0029] When the first number is greater than or equal to a second threshold, stop training the first multi-agent reinforcement learning network model to obtain a target multi-agent reinforcement learning network model.

[0030] In a second aspect, an embodiment of the present application provides a satellite service combination selection method based on reinforcement learning multi-agent collaboration, the method comprising:

[0031] Determine the remaining resource value of the target satellite and the resource demand value of each target service item included in the target service item set;

[0032] Inputting the target service item set, the remaining resource value and the resource demand value into a target multi-agent reinforcement learning network model to obtain a target joint action value output by the target multi-agent reinforcement learning network model; wherein the target multi-agent reinforcement learning network model is obtained based on the training method described in any one of claims 1 to 5;

[0033] Based on the resource demand value and the target joint action value, the target satellite and the target service item are combined to obtain a target satellite service combination.

[0034] Optionally, inputting the target service item set, the remaining resource value and the resource demand value into a target multi-agent reinforcement learning network model to obtain a target joint action value output by the target multi-agent reinforcement learning network model includes:

[0035] Concatenate the remaining resource value with the target service item set to obtain a first concatenation vector;

[0036] Concatenate the resource demand value with the target service item set to obtain a second concatenation vector;

[0037] The first splicing vector and the second splicing vector are input into a target multi-agent reinforcement learning network model to obtain a target joint action value output by the target multi-agent reinforcement learning network model.

[0038] Optionally, combining the target satellite and the target service item based on the resource requirement value and the target joint action value to obtain a target satellite service combination includes:

[0039] Determine a first selection probability of the target service item corresponding to the resource demand value;

[0040] Determine a second selection probability of the target satellite corresponding to the target joint action value;

[0041] Arrange each of the first selection probabilities and each of the second selection probabilities in descending order to obtain a first selection probability sequence and a second selection probability sequence;

[0042] The target satellites and target service items corresponding to the sequence values ​​at the same position in the first selection probability sequence and the second selection probability sequence are combined to obtain a target satellite service combination.

[0043] In a third aspect, an embodiment of the present application provides a model training system, the system comprising:

[0044] A determination module, used to determine the sample satellite remaining resource value corresponding to each sample satellite, and the sample service item resource demand value corresponding to each sample service item included in the sample service item set;

[0045] An input module, used to input the sample service item set, the sample satellite remaining resource value and the sample service item resource demand value into a first multi-agent reinforcement learning network model to obtain a first joint action value output by the first multi-agent reinforcement learning network model;

[0046] A calculation module, configured to calculate a loss value of the first multi-agent reinforcement learning network model based on each of the sample service item resource demand values ​​and each of the first joint action values;

[0047] An adjustment module is used to adjust the first parameter of the first multi-agent reinforcement learning network model based on the loss value to obtain a target multi-agent reinforcement learning network model; the target multi-agent reinforcement learning network model is used to determine the target joint action value between the target satellite and the target service item.

[0048] Optionally, the first multi-agent reinforcement learning network model includes an encoding module and a joint action value calculation module, and the input module includes:

[0049] A first input submodule, configured to input the sample service item set, the sample satellite remaining resource value, and the sample service item resource requirement value into the encoding module, and obtain a first sample remaining resource observation value and a first sample resource requirement observation value output by the encoding module;

[0050] A splicing submodule, used to splice the sample satellite remaining resource value and the sample service item resource demand value to obtain a state vector corresponding to each sample service item;

[0051] The second input submodule is used to input the state vector, the first sample remaining resource observation value and the first sample resource demand observation value into the joint action value calculation module to obtain the first joint action value output by the joint action value calculation module.

[0052] Optionally, the first input submodule includes:

[0053] A first splicing unit, configured to splice the sample service item set with the sample satellite remaining resource value to obtain a first splicing vector;

[0054] A second splicing unit, configured to splice the sample service item set with the sample service item resource demand value to obtain a second splicing vector;

[0055] The input unit is used to input the first splicing vector and the second splicing vector into the encoding module respectively, so as to obtain the first sample remaining resource observation value and the first sample resource requirement observation value respectively output by the encoding module.

[0056] Optionally, the input unit includes:

[0057] A determination subunit is used to determine the mask matrices corresponding to the sample satellites and the sample service items based on the remaining resource value of the sample satellite and the resource requirement value of the sample service item; wherein the row number of the mask matrix corresponds to the sample satellite, the column number of the mask matrix corresponds to the sample service item, and the first element value of the mask matrix indicates whether the sample service item corresponding to the first element value is allowed to run on the sample satellite corresponding to the first element value;

[0058] A first input subunit, configured to input the first splicing vector and the second splicing vector into the encoding module respectively, to obtain a second sample remaining resource observation value and a second sample resource requirement observation value respectively output by the encoding module;

[0059] A second input subunit, used for inputting the mask matrix into the encoding module to obtain the mask matrix code output by the encoding module;

[0060] The splicing subunit is used to splice the mask matrix code and the second sample remaining resource observation value to obtain the first sample remaining resource observation value, and to splice the mask matrix code and the second sample resource requirement observation value to obtain the first sample resource requirement observation value.

[0061] Optionally, the adjustment module includes:

[0062] An adjustment submodule, configured to adjust a first parameter of the first multi-agent reinforcement learning network model based on the loss value to obtain a first multi-agent reinforcement learning network model after parameter update;

[0063] An execution submodule, used for re-executing the step of determining the sample satellite remaining resource value corresponding to each sample satellite, and the sample service item resource demand value corresponding to each sample service item included in the sample service item set;

[0064] A comparison and accumulation submodule, used for comparing the loss value with a first threshold value, and accumulating a first number of times that the loss value is less than the first threshold value;

[0065] The stopping submodule is used to stop training the first multi-agent reinforcement learning network model when the first number is greater than or equal to a second threshold, and obtain a target multi-agent reinforcement learning network model.

[0066] In a fourth aspect, an embodiment of the present application provides a satellite service combination selection system based on reinforcement learning multi-agent collaboration, the system comprising:

[0067] A determination module, used to determine the remaining resource value of the target satellite and the resource demand value of each target service item included in the target service item set;

[0068] An input module, used to input the target service item set, the remaining resource value and the resource demand value into a target multi-agent reinforcement learning network model to obtain a target joint action value output by the target multi-agent reinforcement learning network model; wherein the target multi-agent reinforcement learning network model is obtained based on any of the above-mentioned model training methods;

[0069] A combination module is used to combine the target satellite and the target service item based on the resource demand value and the target joint action value to obtain a target satellite service combination.

[0070] Optionally, the input module includes:

[0071] A first splicing submodule, configured to splice the remaining resource value with the target service item set to obtain a first splicing vector;

[0072] A second splicing submodule, configured to splice the resource demand value with the target service item set to obtain a second splicing vector;

[0073] An input submodule is used to input the first splicing vector and the second splicing vector into a target multi-agent reinforcement learning network model to obtain a target joint action value output by the target multi-agent reinforcement learning network model.

[0074] Optionally, the combined module includes:

[0075] A first determination submodule, used to determine a first selection probability of a target service item corresponding to the resource demand value;

[0076] A second determination submodule is used to determine a second selection probability of the target satellite corresponding to the target joint action value;

[0077] An arrangement submodule, used for arranging each of the first selection probabilities and each of the second selection probabilities in descending order to obtain a first selection probability sequence and a second selection probability sequence;

[0078] The combination submodule is used to combine the target satellites and target service items corresponding to the sequence values ​​at the same position in the first selection probability sequence and the second selection probability sequence to obtain a target satellite service combination.

[0079] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored on the memory, wherein the processor executes the computer program to implement a model training method as described in any one of the above, or a satellite service combination selection method based on reinforcement learning multi-agent collaboration.

[0080] In a sixth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the model training method as described in any one of the above items is implemented, or a satellite service combination selection method based on reinforcement learning multi-agent collaboration.

[0081] Compared with the prior art, the present application determines the sample satellite remaining resource value corresponding to each sample satellite and the sample service item resource demand value corresponding to each sample service item included in the sample service item set, inputs the sample service item set, the sample satellite remaining resource value and the sample service item resource demand value into the first multi-agent reinforcement learning network model, obtains the first joint action value output by the first multi-agent reinforcement learning network model, calculates the loss value of the first multi-agent reinforcement learning network model based on the resource demand value of each sample service item and each first joint action value, adjusts the first parameter of the first multi-agent reinforcement learning network model based on the loss value, and obtains the target multi-agent reinforcement learning network model; the target multi-agent reinforcement learning network model is used to determine the target joint action value between the target satellite and the target service item, and can obtain a target multi-agent reinforcement learning network model with a more accurate output joint action value; when the target joint action value output by the target multi-agent reinforcement learning network model is used to match and combine the target satellite and the target service item to obtain the target satellite service combination, the target service items can be matched to the available target satellites, and the satellite resources occupied by the target service items can be reduced, thereby improving the utilization rate of satellite resources.

[0082] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0083] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0084] Figure 1 A flowchart of a model training method provided in an embodiment of the present application;

[0085] Figure 2 A flowchart of a satellite service combination selection method based on reinforcement learning multi-agent collaboration provided in an embodiment of the present application;

[0086] Figure 3 A histogram comparing the effects of a target multi-agent reinforcement learning network model in an experiment provided by an embodiment of the present application;

[0087] Figure 4 A schematic diagram of a satellite service combination method provided in an embodiment of the present application;

[0088] Figure 5 A logic block diagram of a model training system provided in an embodiment of the present application;

[0089] Figure 6 A logic block diagram of a satellite service combination selection system based on reinforcement learning multi-agent collaboration provided in an embodiment of the present application;

[0090] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0091] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.

[0092] Reference Figure 1 , Figure 1 : is a flowchart of a satellite service combination selection method and system based on reinforcement learning multi-agent collaboration provided by an embodiment of the present application. The method may include:

[0093] Step 101: determine the sample satellite remaining resource value corresponding to each sample satellite and the sample service item resource demand value corresponding to each sample service item included in the sample service item set.

[0094] In an embodiment of the present application, a satellite constellation may include multiple satellites for collaboratively executing a service item set consisting of multiple service items. In order to train the first multi-agent reinforcement learning network model, the existing satellite constellation data may be sampled to obtain a training data set, such as a Tiansuan constellation data set or a Simulation-24 data set. In the training data set, sample satellites, sample satellite remaining resource values ​​of sample satellites at different times, and sample service item sets at different times may be included. Among them, the satellite resources required by each sample service item contained in the sample service item set are usually determined, and the satellite resources required by each sample service item can be determined by experiments when planning the service items executable by the satellite. On this basis, the sample satellite remaining resource values ​​corresponding to each sample satellite can be determined by the training data set, and the sample service item resource demand values ​​corresponding to each sample service item contained in the sample service item set can be determined by searching the database. In addition, when establishing the training data set, the corresponding relationship between the sample service item resource demand value and the sample service item can also be established, so that the sample service item resource demand values ​​corresponding to each sample service item contained in the sample service item set can be determined in the training data set.

[0095] Step 102: input the sample service item set, the sample satellite remaining resource value and the sample service item resource demand value into a first multi-agent reinforcement learning network model to obtain a first joint action value output by the first multi-agent reinforcement learning network model.

[0096] In an embodiment of the present application, a set of sample service items, a sample satellite remaining resource value, and a sample service item resource demand value can be input into a first multi-agent reinforcement learning network model, so as to obtain a first joint action value output by the first multi-agent reinforcement learning network model. The first multi-agent reinforcement learning network model can be a multi-agent reinforcement learning model with a certain neural network structure, such as QMIX, MADDPG, etc. Each first joint action value can correspond to a sample satellite remaining resource value and a sample service item resource demand value, and the sample satellite remaining resource value corresponds to the sample satellite one-to-one, and the sample service item resource demand value corresponds to the sample service item one-to-one. Therefore, each first joint action value can correspond to a sample satellite and a sample service item, and the sample satellites and sample service items corresponding to different joint action values ​​may not be exactly the same.

[0097] Optionally, step 102 may include the following sub-steps:

[0098] Sub-step 1021, inputting the sample service item set, the sample satellite remaining resource value and the sample service item resource demand value into the encoding module, and obtaining the first sample remaining resource observation value and the first sample resource demand observation value output by the encoding module.

[0099] In an embodiment of the present application, the first multi-agent reinforcement learning network model may include a coding module and a joint action value calculation module, and the sample service item set, sample satellite remaining resource value and sample service item resource demand value may be input into the coding module according to a preset format, so as to obtain the first sample remaining resource observation value and the first sample resource demand observation value output by the coding module.

[0100] Optionally, sub-step 1021 may include the following sub-steps:

[0101] Sub-step A1: splicing the sample service item set and the sample satellite remaining resource value to obtain a first splicing vector.

[0102] In an embodiment of the present application, the sample service item set and the sample satellite residual resource value can be spliced ​​to obtain a first splicing vector. When splicing, the residual resource value vector formed by the sample satellite residual resource value can be spliced ​​at the front end of the sample service item set. When splicing, the sample service item set can be spliced ​​as a vector.

[0103] For example, if the sample service item set is The remaining resource value vector formed by the remaining resource values ​​of the sample satellite is Then the first splicing vector obtained after splicing is Among them, the symbol “⊕” is the splicing symbol, |S| is the number of the sample satellite, Indicates sample satellite The remaining resource value of the sample satellite is n, and n is the number of the sample service item.

[0104] Sub-step A2: concatenate the sample service item set with the sample service item resource requirement value to obtain a second concatenation vector.

[0105] In an embodiment of the present application, the sample service item set and the sample service item resource requirement value can be spliced ​​to obtain a second splicing vector. When splicing, the resource requirement value vector formed by the sample service item resource requirement value can be spliced ​​at the front end of the sample service item set. When splicing, the sample service item set can be spliced ​​as a vector.

[0106] Continuing with the above example, if the sample service item set is The resource demand value vector formed by the resource demand values ​​of sample service items is: Then the second splicing vector obtained after splicing is Among them, |ε| is the label of the sample service item, c e|ε| is the sample service item resource requirement value of the sample service item |ε|.

[0107] Sub-step A3: inputting the first splicing vector and the second splicing vector into the encoding module respectively, to obtain the first sample remaining resource observation value and the first sample resource requirement observation value respectively output by the encoding module.

[0108] In an embodiment of the present application, the first splicing vector and the second splicing vector can be respectively input into the encoding module of the first multi-agent reinforcement learning network model, so as to obtain the first sample remaining resource observation value and the first sample resource demand observation value output by the encoding module. The first sample remaining resource observation value can correspond to the first splicing vector, and the first sample resource demand observation value can correspond to the second splicing vector.

[0109] Continuing with the above example, the remaining resource observation value of the first sample can be expressed as in is the first sample remaining resource observation value, k represents the number of training times, f() represents the encoding function of the encoding module; the first sample resource demand observation value can be expressed as in is the first sample resource demand observation value.

[0110] Optionally, sub-step A3 may include the following sub-steps:

[0111] Sub-step a1, based on the remaining resource value of the sample satellite and the resource demand value of the sample service item, determine the mask matrix corresponding to each sample satellite and each sample service item; wherein the row number of the mask matrix corresponds to each sample satellite, the column number of the mask matrix corresponds to each sample service item, and the first element value of the mask matrix indicates whether the sample service item corresponding to the first element value is allowed to run on the sample satellite corresponding to the first element value.

[0112] In an embodiment of the present application, the mask matrix corresponding to each sample satellite and each sample service item can be determined according to the sample satellite remaining resource value and the sample service item resource requirement value. The row number of the mask matrix corresponds to each sample satellite, the column number of the mask matrix corresponds to each sample service item, and the first element value in the mask matrix indicates whether the sample service item corresponding to the first element value is allowed to run on the sample satellite corresponding to the first element value. Specifically, each element value in the mask matrix can correspond to a sample satellite and a sample service item. When the sample service item resource requirement value corresponding to the sample service item is greater than the sample satellite remaining resource value corresponding to the sample satellite, the element value can be 0, indicating that the sample service item is not allowed to run on the sample satellite; when the sample service item resource requirement value corresponding to the sample service item is less than or equal to the sample satellite remaining resource value corresponding to the sample satellite, the element value can be 1, indicating that the sample service item is allowed to run on the sample satellite.

[0113] Sub-step a2: inputting the first splicing vector and the second splicing vector into the encoding module respectively, to obtain the second sample remaining resource observation value and the second sample resource requirement observation value respectively output by the encoding module.

[0114] In the embodiments of the present application, the implementation content of this step can refer to the implementation content of sub-step A3, which will not be repeated here.

[0115] Following the example in sub-step A3, in the embodiment of this step, the second sample remaining resource observation value can be The second sample resource demand observation value can be

[0116] Sub-step a3: input the mask matrix into the encoding module to obtain the mask matrix code output by the encoding module.

[0117] In an embodiment of the present application, the mask matrix may be input into a coding module to obtain a mask matrix code output by the coding module.

[0118] For example, if the mask matrix is ​​M k , then the mask matrix encoding can be expressed as f(M k ), where f() represents the encoding function in the encoding module.

[0119] Sub-step a4, concatenating the mask matrix code and the second sample remaining resource observation value to obtain a first sample remaining resource observation value, and concatenating the mask matrix code and the second sample resource requirement observation value to obtain a first sample resource requirement observation value.

[0120] In an embodiment of the present application, the mask matrix code may be concatenated with the second sample remaining resource observation value and the second sample resource requirement observation value, respectively, so as to obtain the first sample remaining resource observation value and the first sample resource requirement observation value, respectively. The concatenation may be in the form of addition.

[0121] Continuing with the above example, the remaining resource observation value of the first sample can be expressed as The first sample resource demand observation value can be expressed as

[0122] In an embodiment of the present application, a mask matrix corresponding to each sample satellite and each sample service item is determined based on the sample satellite remaining resource value and the sample service item resource demand value; wherein the row number of the mask matrix corresponds to each sample satellite, the column number of the mask matrix corresponds to each sample service item, and the first element value of the mask matrix indicates whether the sample service item corresponding to the first element value is allowed to run on the sample satellite corresponding to the first element value; the first splicing vector and the second splicing vector are respectively input into the encoding module to obtain the second sample remaining resource observation value and the second sample resource demand observation value output by the encoding module respectively; the mask matrix is ​​input into the encoding module to obtain the mask matrix code output by the encoding module; the mask matrix code and the second sample remaining resource observation value are spliced ​​to obtain the first sample remaining resource observation value, and the mask matrix code and the second sample resource demand observation value are spliced ​​to obtain the first sample resource demand observation value. The mask matrix can provide a reference value to the first multi-agent reinforcement learning network model, thereby improving the accuracy of the first sample remaining resource observation value and the first sample resource demand observation value to a certain extent, and improving the single training effect of the first multi-agent reinforcement learning network model.

[0123] In an embodiment of the present application, a first splicing vector is obtained by splicing a sample service item set with a sample satellite remaining resource value, and a second splicing vector is obtained by splicing the sample service item set with a sample service item resource demand value. The first splicing vector and the second splicing vector are respectively input into a coding module to obtain a first sample remaining resource observation value and a first sample resource demand observation value respectively output by the coding module. The association between the sample service item set and the sample satellite remaining resource value and the sample service item resource demand value can be established in a vector splicing manner, thereby improving the training effect of the first multi-agent reinforcement learning network model to a certain extent.

[0124] Sub-step 1022, concatenating the sample satellite remaining resource values ​​and the sample service item resource demand values ​​to obtain a state vector corresponding to each sample service item.

[0125] In the embodiment of the present application, the remaining resource value of the sample satellite and the resource requirement value of the sample service item can be spliced ​​to obtain the state vector corresponding to each resource requirement value of the sample service item. Since the resource requirement value of the sample service item corresponds to the sample service item one by one, the state vector also has a corresponding relationship with the sample service item.

[0126] Continuing with the above example, the state vector can be expressed as Among them, |ε| is the number of the sample service item, |ε| is the number of the sample satellite, represents the remaining resource value of the sample satellite |ε|, Represents the sample service item resource requirement value of the sample service item |ε|.

[0127] Sub-step 1023: input the state vector, the first sample remaining resource observation value and the first sample resource demand observation value into the joint action value calculation module to obtain the first joint action value output by the joint action value calculation module.

[0128] In an embodiment of the present application, the state vector, the first sample remaining resource observation value, and the first sample resource demand observation value can be input into the joint action value calculation module of the first multi-agent reinforcement learning network model, so as to obtain the first joint action value output by the joint action value calculation module. The calculation method of the first joint action value is shown in Formula 1 below:

[0129]

[0130] In formula 1, represents the Q-value function of the first sample resource demand observation, represents the Q value function of the remaining resource observation value of the first sample, It represents the joint action of the two agents during the k-th training. ELU() and ReLU() are activation functions. MLP() is a multi-layer perceptron, and the activation function of the multi-layer perceptron is ReLU().

[0131] In an embodiment of the present application, a sample service item set, a sample satellite remaining resource value, and a sample service item resource demand value are input into a coding module to obtain a first sample remaining resource observation value and a first sample resource demand observation value output by the coding module, the sample satellite remaining resource value and the sample service item resource demand value are concatenated to obtain a state vector corresponding to each sample service item, the state vector, the first sample remaining resource observation value, and the first sample resource demand observation value are input into a joint action value calculation module to obtain a first joint action value output by the joint action value calculation module, and the sample service item set, the sample satellite remaining resource value, and the sample service item resource demand value can be processed by the coding module and the joint action value calculation module of the first multi-agent reinforcement learning network model, thereby improving the model's processing efficiency for the above data.

[0132] Step 103: Calculate the loss value of the first multi-agent reinforcement learning network model based on the resource demand value of each of the sample service items and the first joint action value.

[0133] In an embodiment of the present application, the loss value of the first multi-agent reinforcement learning network model can be calculated according to the resource demand value of each sample service item and each first joint action value. The calculation method of the loss value is shown in the following formula 2:

[0134]

[0135] In formula 2, represents the loss value, r k represents the sample service item resource demand value of sample service item k (used as a reward value), γ is the discount factor, which is a hyperparameter in the first multi-agent reinforcement learning network model, and "Θ" represents the set of parameters that need to be learned in the multilayer perceptron of the first multi-agent reinforcement learning network model.

[0136] Step 104: Based on the loss value, adjust the first parameter of the first multi-agent reinforcement learning network model to obtain a target multi-agent reinforcement learning network model; the target multi-agent reinforcement learning network model is used to determine the target joint action value between the target satellite and the target service item.

[0137] In an embodiment of the present application, the first parameter of the first multi-agent reinforcement learning network model can be adjusted according to the loss value of the first multi-agent reinforcement learning network model, and the direction of adjustment is to gradually reduce the loss value until it no longer changes, so that the target multi-agent reinforcement learning network model can be obtained. Among them, the first parameter includes but is not limited to the encoding function, discount factor and hyperparameters in the multi-layer perceptron in the first multi-agent reinforcement learning network model. In the case where the training effect is not ideal, the activation function in the multi-layer perceptron can also be adjusted.

[0138] Optionally, step 104 may include the following sub-steps:

[0139] Sub-step 1041, based on the loss value, adjust the first parameter of the first multi-agent reinforcement learning network model to obtain the first multi-agent reinforcement learning network model with updated parameters.

[0140] In an embodiment of the present application, the first parameter of the first multi-agent reinforcement learning network model is adjusted according to the loss value. Under normal circumstances, the adjustment will not be successful in one go. Therefore, after completing the adjustment of the first parameter once, the first multi-agent reinforcement learning network model with updated parameters can be obtained.

[0141] Sub-step 1042, re-executes the step of determining the sample satellite remaining resource value corresponding to each sample satellite, and the sample service item resource demand value corresponding to each sample service item included in the sample service item set.

[0142] In an embodiment of the present application, after completing an adjustment of the first parameter in the first multi-agent reinforcement learning network model, the steps of determining the sample satellite remaining resource values ​​corresponding to each sample satellite and the sample service item resource demand values ​​corresponding to each sample service item included in the sample service item set can be re-executed to perform the next training of the first multi-agent reinforcement learning network model.

[0143] Sub-step 1043, comparing the loss value with a first threshold, and accumulating a first number of times that the loss value is smaller than the first threshold.

[0144] In an embodiment of the present application, a first threshold corresponding to the loss value can be set. After the loss value is obtained in each training, the loss value and the first threshold can be compared to obtain a comparison result. If the loss value of the training is less than the first threshold, the first number of times the loss value is less than the first threshold can be accumulated.

[0145] Sub-step 1044, when the first number is greater than or equal to a second threshold, stop training the first multi-agent reinforcement learning network model to obtain a target multi-agent reinforcement learning network model.

[0146] In an embodiment of the present application, when the first number is greater than or equal to the second threshold, the training of the first multi-agent reinforcement learning network model can be stopped, so that the current first multi-agent reinforcement learning network model can be used as the target multi-agent reinforcement learning network model.

[0147] In a possible embodiment, the second number of times that the loss value is less than the first threshold value may be accumulated. That is, when the loss value is less than the first threshold value, the second number of times is accumulated. During the accumulation of the second number of times, if the loss value is greater than or equal to the first threshold value in a certain training, the second number of times is set to 0. When the second number of times is greater than or equal to the third threshold value, the training of the first multi-agent reinforcement learning network model may be stopped, and the current first multi-agent reinforcement learning network model may be used as the target multi-agent reinforcement learning network model.

[0148] In an embodiment of the present application, by adjusting the first parameter of the first multi-agent reinforcement learning network model based on the loss value, the first multi-agent reinforcement learning network model with updated parameters is obtained, and the step of determining the sample satellite remaining resource value corresponding to each sample satellite and the sample service item resource demand value corresponding to each sample service item included in the sample service item set is re-executed, the loss value and the first threshold are compared, and the first number of times the loss value is less than the first threshold is accumulated. When the first number is greater than or equal to the second threshold, the training of the first multi-agent reinforcement learning network model is stopped to obtain the target multi-agent reinforcement learning network model. The first multi-agent reinforcement learning network model can be repeatedly trained, and the training can be stopped when certain conditions are met to obtain the target multi-agent reinforcement learning network model, thereby improving the availability of the target multi-agent reinforcement learning network model and the accuracy of the output.

[0149] In an embodiment of the present application, by determining the sample satellite remaining resource value corresponding to each sample satellite and the sample service item resource demand value corresponding to each sample service item included in the sample service item set, the sample service item set, the sample satellite remaining resource value and the sample service item resource demand value are input into the first multi-agent reinforcement learning network model to obtain the first joint action value output by the first multi-agent reinforcement learning network model, based on the resource demand values ​​of each sample service item and each first joint action value, the loss value of the first multi-agent reinforcement learning network model is calculated, based on the loss value, the first parameter of the first multi-agent reinforcement learning network model is adjusted to obtain the target multi-agent reinforcement learning network model; the target multi-agent reinforcement learning network model is used to determine the target joint action value between the target satellite and the target service item, and a target multi-agent reinforcement learning network model with a more accurate output joint action value can be obtained. When the target joint action value output by the target multi-agent reinforcement learning network model is used to match and combine the target satellite and the target service item to obtain the target satellite service combination, the target service items can be matched to the available target satellites, and the satellite resources occupied by the target service items can be reduced, thereby improving the utilization rate of satellite resources.

[0150] Reference Figure 2 , Figure 2: is a flowchart of another satellite service combination selection method and system based on reinforcement learning multi-agent collaboration provided by an embodiment of the present application. The method may include:

[0151] Step 201: determine the remaining resource value of the target satellite and the resource demand value of each target service item included in the target service item set.

[0152] In the embodiment of the present application, the occupancy of the service operation resources in the target satellite can be counted, so as to determine the remaining resource value of the target satellite. In addition, the resource demand value of each target service item included in the target service item set can be determined according to experiments.

[0153] Step 202, input the target service item set, the remaining resource value and the resource demand value into the target multi-agent reinforcement learning network model to obtain the target joint action value output by the target multi-agent reinforcement learning network model; wherein, the target multi-agent reinforcement learning network model is obtained based on any of the model training methods described above.

[0154] In an embodiment of the present application, the target service item set, the remaining resource value and the resource demand value can be input into the target multi-agent reinforcement learning network model, so as to obtain the target joint action value output by the target multi-agent reinforcement learning network model. Among them, the target multi-agent reinforcement learning network model can be obtained based on any of the model training methods described above. The processing process of the target multi-agent reinforcement learning network model on the target service item set, the remaining resource value and the resource demand value is similar to the processing process of the model on the sample service item set, the sample satellite remaining resource value and the sample service item resource demand value in the training stage. The implementation content of step 102 and its sub-steps can be referred to, which will not be repeated here.

[0155] Optionally, step 202 may include the following sub-steps:

[0156] Sub-step 2021: concatenate the remaining resource value with the target service item set to obtain a first concatenation vector.

[0157] In an embodiment of the present application, the remaining resource value and the target service item set may be spliced ​​to obtain a first splicing vector. The method of splicing the remaining resource value and the target service item set is similar to the method of splicing the sample service item set and the sample satellite remaining resource value, and the embodiment of step A1 may be referred to, which will not be repeated here.

[0158] Sub-step 2022: concatenate the resource demand value with the target service item set to obtain a second concatenation vector.

[0159] In the embodiment of the present application, the resource requirement value and the target service item set can be spliced ​​to obtain a second splicing vector. The method of splicing the resource requirement value and the target service item set is similar to the method of splicing the sample service item set and the sample service item resource requirement value, which can be referred to the embodiment of step A2 and will not be repeated here.

[0160] Sub-step 2023, input the first splicing vector and the second splicing vector into the target multi-agent reinforcement learning network model to obtain the target joint action value output by the target multi-agent reinforcement learning network model.

[0161] In an embodiment of the present application, the first splicing vector and the second splicing vector can be input into the target multi-agent reinforcement learning network model, so as to obtain the target joint action value output by the target multi-agent reinforcement learning network model. The processing process of the first splicing vector and the second splicing vector by the target multi-agent reinforcement learning network model is similar to the processing process of the first multi-agent reinforcement learning network model on the first splicing vector and the second splicing vector in the training stage, and the embodiment content of step A3 can be referred to, which will not be repeated here.

[0162] It should be noted that if a mask matrix is ​​used in the training stage of the first multi-agent reinforcement learning network model so that the training effect of the first multi-agent reinforcement learning network model is improved, then during the use stage of the target multi-agent reinforcement learning network model, the mask matrix composed of the target satellite and the target service item can be input into the target multi-agent reinforcement learning network model together with the first splicing vector and the second splicing vector to improve the accuracy of the target joint action value.

[0163] In an embodiment of the present application, the remaining resource value is spliced ​​with the target service item set to obtain a first splicing vector, the resource demand value is spliced ​​with the target service item set to obtain a second splicing vector, the first splicing vector and the second splicing vector are input into the target multi-agent reinforcement learning network model to obtain the target joint action value output by the target multi-agent reinforcement learning network model. The input data can be converted into an input vector that is better compatible with the target multi-agent reinforcement learning network model in a vector splicing manner, thereby improving the output accuracy of the target multi-agent reinforcement learning network model.

[0164] Step 203: Based on the resource demand value and the target joint action value, the target satellite and the target service item are combined to obtain a target satellite service combination.

[0165] In the embodiment of the present application, each target joint action value may correspond to a target service item and a target satellite. Therefore, the target satellite and the target service item may be combined according to the resource requirement value and the target joint action value, so as to obtain a target satellite service combination. Specifically, the target joint action values ​​corresponding to each resource requirement value are first determined, and then the target satellite service combination is determined according to the target joint action values ​​corresponding to each resource requirement value.

[0166] Table 1 below lists the experimental data comparison of the multi-agent reinforcement learning network model and hierarchical deep reinforcement learning provided by the embodiments of the present application.

[0167] Table 1

[0168]

[0169] In Table 1, CMAR refers to cooperative multi-agent reinforcement learning, HDRL refers to hierarchical deep reinforcement learning, and the evaluation indicators include Gap and Testing Error, where Gap refers to the omission of the satellite service combination, and Testing Error refers to the error rate during the model experiment. It can be seen that the multi-agent reinforcement learning model CMAR provided in the embodiment of the present application has a certain degree of reduction in omission and error rate compared to hierarchical deep reinforcement learning HDRL. In addition, Figure 3 A histogram comparing the effects of a target multi-agent reinforcement learning network model in an experiment provided in an embodiment of the present application. In the figure, the horizontal axis represents the three data sets used in the experiment, and the vertical axis represents the process time. It can be seen that the multi-agent reinforcement learning model CMAR provided in an embodiment of the present application has a certain degree of reduction in experimental time compared to the hierarchical deep reinforcement learning HDRL.

[0170] Optionally, step 203 may include the following sub-steps:

[0171] Sub-step 2031, determining a first selection probability of the target service item corresponding to the resource demand value.

[0172] In an embodiment of the present application, a first selection probability of a target service item corresponding to a resource demand value may be determined. The calculation formula of the first selection probability is shown in Formula 3 below:

[0173]

[0174] In formula 3, means and The Q-value function can be output in the process of calculating the target joint action value, and is used as the exponent of the natural constant e on the right side of the equal sign in Equation 3. Indicates the target service item. It indicates the resource demand observation value corresponding to the resource demand value. It can be understood that the larger the resource demand value is, the greater the corresponding first selection probability is.

[0175] Sub-step 2032, determining a second selection probability of the target satellite corresponding to the target joint action value.

[0176] In an embodiment of the present application, the second selection probability of the target satellite corresponding to the target joint action value can be calculated and determined. The calculation formula of the second selection probability is shown in the following formula 4:

[0177]

[0178] In formula 4, means and The Q-value function between them can be output in the process of calculating the target joint action value, and is used as the exponent of the natural constant e on the right side of the equal sign in Formula 4. represents the target satellite, It represents the remaining resource observation value corresponding to the target satellite associated with the target joint action value. It can be understood that the larger the remaining resource value is, the greater the corresponding second selection probability is.

[0179] Sub-step 2033, arrange each of the first selection probabilities and each of the second selection probabilities in descending order to obtain a first selection probability sequence and a second selection probability sequence.

[0180] In an embodiment of the present application, the first selection probability and the second selection probability may be arranged in descending order, respectively, so as to obtain a first selection probability sequence and a second selection probability sequence.

[0181] Sub-step 2034: combining the target satellites and target service items corresponding to the sequence values ​​at the same position in the first selection probability sequence and the second selection probability sequence to obtain a target satellite service combination.

[0182] In an embodiment of the present application, the target satellites and target service items corresponding to the sequence values ​​at the same position in the first selection probability sequence and the second selection probability sequence can be combined to obtain a target satellite service combination. For example, the sequence value at the first position of the first selection probability sequence can correspond to a resource demand value, and the resource demand value is the maximum resource demand value, and the sequence value at the first position of the second selection probability sequence can correspond to a remaining resource value, and the remaining resource value is the maximum remaining resource value. In this way, the target service item corresponding to the resource demand value and the target satellite corresponding to the remaining resource value can be combined to obtain a target satellite service combination. By traversing the first selection probability sequence and the second selection probability sequence according to the above method, the target satellite service combination corresponding to all target service items can be obtained.

[0183] In an embodiment of the present application, by determining a first selection probability of a target service item corresponding to a resource demand value, determining a second selection probability of a target satellite corresponding to a target joint action value, arranging each first selection probability and each second selection probability in descending order, respectively, to obtain a first selection probability sequence and a second selection probability sequence, the target satellite and the target service item corresponding to the sequence values ​​at the same position in the first selection probability sequence and the second selection probability sequence are combined to obtain a target satellite service combination, and the target satellite and the target service item can be selected and combined according to the selection probabilities corresponding to the target service item and the target satellite, respectively, to obtain a target satellite service combination, so that the target service items and the target satellites corresponding to the obtained target satellite service combination have better adaptability, and the availability and accuracy of the target satellite service combination are further improved.

[0184] In an embodiment of the present application, by determining the remaining resource value of the target satellite and the resource requirement value of each target service item included in the target service item set, the target service item set, the remaining resource value and the resource requirement value are input into the target multi-agent reinforcement learning network model to obtain the target joint action value output by the target multi-agent reinforcement learning network model; wherein the target multi-agent reinforcement learning network model is obtained based on any of the training methods described above, and based on the resource requirement value and the target joint action value, the target satellite and the target service item are combined to obtain a target satellite service combination, and the target joint action value between the target service item and the target satellite can be obtained through the target multi-agent reinforcement learning network model, and the target satellite and the target service item are combined through the target joint action value to obtain the target satellite service combination, which improves the availability and accuracy of the target satellite service combination to a certain extent.

[0185] Reference Figure 4 , Figure 4A schematic diagram of a satellite service combination method provided in an embodiment of the present application, in which satellites represent the remaining resource values ​​corresponding to satellites, services represent the resource demand values ​​corresponding to service items, and request represents a set of service items. In the one-step processing of the model, satellites, services, and request are first input into the encoder Encoder, and the mask matrix M composed of satellites and service items is i Also input into the encoder Encoder, and calculate the Q value function Q respectively π(e) and Q π(s) , then, according to Q π(e) and Q π(s) Select satellites and services to combine, such as Q π(e) In the sequence, 0.3 has the largest value, so the service item corresponding to 0.3 is selected first. Q π(s) The value 0.5 is the largest in the sequence, so the satellite corresponding to 0.5 is selected first. and will and Combine to get the first satellite service combination and output and The corresponding Q value functions and And according to and Output the first target joint action value Q π (s i ,a i ). After that, satellites, services, requests, and mask matrix M can be i The first satellite service combination determined is input into the model for further processing.

[0186] Reference Figure 5 , Figure 5 5 is a logic block diagram of a model training system provided in an embodiment of the present application. The system 500 may include:

[0187] The determination module 501 is used to determine the sample satellite remaining resource value corresponding to each sample satellite, and the sample service item resource demand value corresponding to each sample service item included in the sample service item set;

[0188] An input module 502 is used to input the sample service item set, the sample satellite remaining resource value and the sample service item resource demand value into a first multi-agent reinforcement learning network model to obtain a first joint action value output by the first multi-agent reinforcement learning network model;

[0189] A calculation module 503, configured to calculate a loss value of the first multi-agent reinforcement learning network model based on each of the sample service item resource demand values ​​and each of the first joint action values;

[0190] The adjustment module 504 is used to adjust the first parameter of the first multi-agent reinforcement learning network model based on the loss value to obtain a target multi-agent reinforcement learning network model; the target multi-agent reinforcement learning network model is used to determine the target joint action value between the target satellite and the target service item.

[0191] Optionally, the first multi-agent reinforcement learning network model includes an encoding module and a joint action value calculation module, and the input module 502 includes:

[0192] A first input submodule, configured to input the sample service item set, the sample satellite remaining resource value, and the sample service item resource requirement value into the encoding module, and obtain a first sample remaining resource observation value and a first sample resource requirement observation value output by the encoding module;

[0193] A splicing submodule, used to splice the sample satellite remaining resource value and the sample service item resource demand value to obtain a state vector corresponding to each sample service item;

[0194] The second input submodule is used to input the state vector, the first sample remaining resource observation value and the first sample resource demand observation value into the joint action value calculation module to obtain the first joint action value output by the joint action value calculation module.

[0195] Optionally, the first input submodule includes:

[0196] A first splicing unit, configured to splice the sample service item set with the sample satellite remaining resource value to obtain a first splicing vector;

[0197] A second splicing unit, configured to splice the sample service item set with the sample service item resource demand value to obtain a second splicing vector;

[0198] The input unit is used to input the first splicing vector and the second splicing vector into the encoding module respectively, so as to obtain the first sample remaining resource observation value and the first sample resource requirement observation value respectively output by the encoding module.

[0199] Optionally, the input unit includes:

[0200] A determination subunit is used to determine the mask matrices corresponding to the sample satellites and the sample service items based on the remaining resource value of the sample satellite and the resource requirement value of the sample service item; wherein the row number of the mask matrix corresponds to the sample satellite, the column number of the mask matrix corresponds to the sample service item, and the first element value of the mask matrix indicates whether the sample service item corresponding to the first element value is allowed to run on the sample satellite corresponding to the first element value;

[0201] A first input subunit, configured to input the first splicing vector and the second splicing vector into the encoding module respectively, to obtain a second sample remaining resource observation value and a second sample resource requirement observation value respectively output by the encoding module;

[0202] A second input subunit, used for inputting the mask matrix into the encoding module to obtain the mask matrix code output by the encoding module;

[0203] The splicing subunit is used to splice the mask matrix code and the second sample remaining resource observation value to obtain the first sample remaining resource observation value, and to splice the mask matrix code and the second sample resource requirement observation value to obtain the first sample resource requirement observation value.

[0204] Optionally, the adjustment module 504 includes:

[0205] An adjustment submodule, configured to adjust a first parameter of the first multi-agent reinforcement learning network model based on the loss value to obtain a first multi-agent reinforcement learning network model after parameter update;

[0206] An execution submodule, used for re-executing the step of determining the sample satellite remaining resource value corresponding to each sample satellite, and the sample service item resource demand value corresponding to each sample service item included in the sample service item set;

[0207] A comparison and accumulation submodule, used for comparing the loss value with a first threshold value, and accumulating a first number of times that the loss value is less than the first threshold value;

[0208] The stopping submodule is used to stop training the first multi-agent reinforcement learning network model when the first number is greater than or equal to a second threshold, and obtain a target multi-agent reinforcement learning network model.

[0209] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0210] The advantages of the model training system and the model training method described in the aforementioned embodiment over the prior art are the same and will not be repeated here.

[0211] Reference Figure 6 , Figure 6 600 is a logic block diagram of a satellite service combination selection system based on reinforcement learning multi-agent collaboration provided by an embodiment of the present application. The system 600 may include:

[0212] A determination module 601 is used to determine the remaining resource value of the target satellite and the resource demand value of each target service item included in the target service item set;

[0213] An input module 602 is used to input the target service item set, the remaining resource value and the resource demand value into a target multi-agent reinforcement learning network model to obtain a target joint action value output by the target multi-agent reinforcement learning network model; wherein the target multi-agent reinforcement learning network model is obtained based on any of the above-mentioned model training methods;

[0214] The combination module 603 is used to combine the target satellite and the target service item based on the resource demand value and the target joint action value to obtain a target satellite service combination.

[0215] Optionally, the input module 602 includes:

[0216] A first splicing submodule, configured to splice the remaining resource value with the target service item set to obtain a first splicing vector;

[0217] A second splicing submodule, configured to splice the resource demand value with the target service item set to obtain a second splicing vector;

[0218] An input submodule is used to input the first splicing vector and the second splicing vector into a target multi-agent reinforcement learning network model to obtain a target joint action value output by the target multi-agent reinforcement learning network model.

[0219] Optionally, the combining module 603 includes:

[0220] A first determination submodule, used to determine a first selection probability of a target service item corresponding to the resource demand value;

[0221] A second determination submodule is used to determine a second selection probability of the target satellite corresponding to the target joint action value;

[0222] An arrangement submodule, used for arranging each of the first selection probabilities and each of the second selection probabilities in descending order to obtain a first selection probability sequence and a second selection probability sequence;

[0223] The combination submodule is used to combine the target satellites and target service items corresponding to the sequence values ​​at the same position in the first selection probability sequence and the second selection probability sequence to obtain a target satellite service combination.

[0224] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0225] The satellite service combination selection system based on reinforcement learning multi-agent collaboration has the same advantages as the satellite service combination selection method based on reinforcement learning multi-agent collaboration described in the previous embodiment over the prior art, which will not be repeated here.

[0226] The present application embodiment provides an electronic device, see Figure 7 The electronic device 70 includes: a processor 701, a memory 702, and a computer program 7021 stored in the memory 702 and executable on the processor 701. When the processor 701 executes the computer program 7021, the model training method of the aforementioned embodiment is implemented, or the satellite service combination selection method based on reinforcement learning multi-agent collaboration is implemented.

[0227] An embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the model training method described in any one of the above items is implemented, or a satellite service combination selection method based on reinforcement learning multi-agent collaboration.

[0228] An embodiment of the present application also provides a computer program product, which, when executed on an electronic device, enables a processor to implement the model training method disclosed in the embodiment of the present application, or the steps in the satellite service combination selection method based on reinforcement learning multi-agent collaboration.

[0229] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0230] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, apparatuses, electronic devices, and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0231] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0232] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0233] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.

[0234] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0235] The above is a detailed introduction to a satellite service combination selection method and system based on reinforcement learning multi-agent collaboration provided by the present application. This article uses specific examples to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A model training method, characterized in that: The method comprises: Determine the sample satellite remaining resource value corresponding to each sample satellite, and the sample service item resource demand value corresponding to each sample service item included in the sample service item set; Inputting the sample service item set, the sample satellite remaining resource value, and the sample service item resource demand value into a first multi-agent reinforcement learning network model to obtain a first joint action value output by the first multi-agent reinforcement learning network model; Calculating a loss value of the first multi-agent reinforcement learning network model based on the resource demand value of each of the sample service items and each of the first joint action values; Based on the loss value, the first parameter of the first multi-agent reinforcement learning network model is adjusted to obtain a target multi-agent reinforcement learning network model; the target multi-agent reinforcement learning network model is used to determine the target joint action value between the target satellite and the target service item.

2. The method according to claim 1, characterized in that The first multi-agent reinforcement learning network model includes an encoding module and a joint action value calculation module. Inputting the sample service item set, the sample satellite remaining resource value, and the sample service item resource demand value into the first multi-agent reinforcement learning network model to obtain a first joint action value output by the first multi-agent reinforcement learning network model includes: Inputting the sample service item set, the sample satellite remaining resource value, and the sample service item resource demand value into the encoding module, obtaining a first sample remaining resource observation value and a first sample resource demand observation value output by the encoding module; Concatenate the remaining resource values ​​of the sample satellites and the resource demand values ​​of the sample service items to obtain a state vector corresponding to each sample service item; The state vector, the first sample remaining resource observation value, and the first sample resource demand observation value are input into the joint action value calculation module to obtain a first joint action value output by the joint action value calculation module.

3. The method according to claim 2, characterized in that The step of inputting the sample service item set, the sample satellite remaining resource value, and the sample service item resource requirement value into the encoding module to obtain the sample remaining resource observation value and the sample resource requirement observation value output by the encoding module includes: Splicing the sample service item set with the sample satellite remaining resource value to obtain a first splicing vector; Splicing the sample service item set and the sample service item resource demand value to obtain a second splicing vector; The first splicing vector and the second splicing vector are respectively input into the encoding module to obtain the first sample remaining resource observation value and the first sample resource requirement observation value respectively output by the encoding module.

4. The method according to claim 3, characterized in that The step of inputting the first splicing vector and the second splicing vector into the encoding module respectively to obtain the first sample remaining resource observation value and the first sample resource requirement observation value respectively output by the encoding module includes: Determining, based on the remaining resource values ​​of the sample satellites and the resource demand values ​​of the sample service items, mask matrices corresponding to the sample satellites and the sample service items; wherein row numbers of the mask matrix correspond to the sample satellites, column numbers of the mask matrix correspond to the sample service items, and a first element value of the mask matrix indicates whether the sample service item corresponding to the first element value is allowed to operate on the sample satellite corresponding to the first element value; Inputting the first splicing vector and the second splicing vector into the encoding module respectively, to obtain the second sample remaining resource observation value and the second sample resource requirement observation value outputted by the encoding module respectively; Inputting the mask matrix into the encoding module to obtain the mask matrix code output by the encoding module; The mask matrix code and the second sample remaining resource observation value are spliced ​​to obtain a first sample remaining resource observation value, and the mask matrix code and the second sample resource requirement observation value are spliced ​​to obtain a first sample resource requirement observation value.

5. The method according to claim 1, wherein The adjusting, based on the loss value, a first parameter of the first multi-agent reinforcement learning network model to obtain a target multi-agent reinforcement learning network model includes: Based on the loss value, adjusting a first parameter of the first multi-agent reinforcement learning network model to obtain a first multi-agent reinforcement learning network model with updated parameters; Re-execute the step of determining the sample satellite remaining resource value corresponding to each sample satellite and the sample service item resource demand value corresponding to each sample service item included in the sample service item set; Comparing the loss value with a first threshold, and accumulating a first number of times that the loss value is less than the first threshold; When the first number of times is greater than or equal to a second threshold, the training of the first multi-agent reinforcement learning network model is stopped to obtain a target multi-agent reinforcement learning network model.

6. A satellite service combination selection method based on reinforcement learning multi-agent collaboration, characterized in that: The method comprises: Determine the remaining resource value of the target satellite and the resource demand value of each target service item included in the target service item set; Inputting the target service item set, the remaining resource value, and the resource demand value into a target multi-agent reinforcement learning network model to obtain a target joint action value output by the target multi-agent reinforcement learning network model; wherein the target multi-agent reinforcement learning network model is obtained based on the training method according to any one of claims 1 to 5; Based on the resource demand value and the target joint action value, the target satellite and the target service item are combined to obtain a target satellite service combination.

7. The method according to claim 6, characterized in that The step of inputting the target service item set, the remaining resource value, and the resource demand value into a target multi-agent reinforcement learning network model to obtain a target joint action value output by the target multi-agent reinforcement learning network model includes: Splicing the remaining resource value with the target service item set to obtain a first splicing vector; Concatenate the resource demand value with the target service item set to obtain a second concatenation vector; The first splicing vector and the second splicing vector are input into a target multi-agent reinforcement learning network model to obtain a target joint action value output by the target multi-agent reinforcement learning network model.

8. The method according to claim 6, characterized in that The combining the target satellite and the target service item based on the resource requirement value and the target joint action value to obtain a target satellite service combination includes: Determine a first selection probability of the target service item corresponding to the resource demand value; Determining a second selection probability of the target satellite corresponding to the target joint action value; Arrange each of the first selection probabilities and each of the second selection probabilities in descending order to obtain a first selection probability sequence and a second selection probability sequence; The target satellites and target service items corresponding to the sequence values ​​at the same position in the first selection probability sequence and the second selection probability sequence are combined to obtain a target satellite service combination.

9. A model training system, characterized in that: The system comprises: A determination module, configured to determine a sample satellite remaining resource value corresponding to each sample satellite, and a sample service item resource demand value corresponding to each sample service item included in the sample service item set; an input module, configured to input the sample service item set, the sample satellite remaining resource value, and the sample service item resource demand value into a first multi-agent reinforcement learning network model, and obtain a first joint action value output by the first multi-agent reinforcement learning network model; a calculation module, configured to calculate a loss value of the first multi-agent reinforcement learning network model based on the resource demand value of each of the sample service items and each of the first joint action values; An adjustment module is used to adjust the first parameter of the first multi-agent reinforcement learning network model based on the loss value to obtain a target multi-agent reinforcement learning network model; the target multi-agent reinforcement learning network model is used to determine the target joint action value between the target satellite and the target service item.

10. A satellite service combination selection system based on reinforcement learning multi-agent collaboration, characterized in that: The system comprises: A determination module, configured to determine the remaining resource value of the target satellite and the resource demand value of each target service item included in the target service item set; an input module, configured to input the target service item set, the remaining resource value, and the resource demand value into a target multi-agent reinforcement learning network model, and obtain a target joint action value output by the target multi-agent reinforcement learning network model; wherein the target multi-agent reinforcement learning network model is obtained based on the training method according to any one of claims 1 to 5; A combining module is used to combine the target satellite and the target service item based on the resource demand value and the target joint action value to obtain a target satellite service combination.

Citation Information

Patent Citations

  • Satellite resource scheduling optimization method based on federal reinforcement learning

    CN115481779A

  • Satellite network micro-service deployment method and device based on multi-agent reinforcement learning

    CN117811907A

  • Power distribution network voltage control method based on multi-agent deep reinforcement learning

    CN117913842A

  • Multi-agent federated reinforcement learning-based vehicle-road collaborative control system and method under complex intersection

    WO2024016386A1

Cited By

  • Multi-beam satellite resource optimization method based on multi-agent reinforcement learning

    CN121508632A