Multi-agent dynamic arrangement and scheduling system based on blockchain and bidirectional bidding
By using a multi-agent dynamic orchestration system based on blockchain and two-way bidding, the problem of coordinating price, capability, and time constraints in task and resource matching is solved, achieving efficient dynamic scheduling and continuous traceability, and reducing resource duplication and task acceptance conflicts.
Patent Information
- Application Number
- CN202611402179.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-10
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies struggle to fully coordinate price, capacity, and time constraints during the same matching process when matching tasks and resources. They also fail to maintain the continuity and traceability of the scheduling process, especially when resources fail or tasks change, requiring a recalculation of the global schedule, which leads to inefficiency.
A multi-agent dynamic orchestration system based on blockchain and two-way bidding is adopted. Demand and supply quotations are generated by task-side and resource-side agents to form bidding acceptance units. An improved neural Turing machine model is used to replace vector memory units with variable-rank operator memory cells. Combined with blockchain to record the agent acceptance relationship and execution status, local re-orchestration is achieved.
It improves the accuracy and efficiency of task and resource matching, reduces resource duplication and task acceptance conflicts, maintains the continuity and traceability of the orchestration process, and shortens the rescheduling time.
Smart Images

Figure CN123180616A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of resource orchestration and scheduling technology, and particularly to a multi-agent dynamic orchestration and scheduling system based on blockchain and two-way bidding. Background Technology
[0002] As the number of computing tasks, production tasks, and service requests continues to increase, dynamic orchestration systems need to match tasks with resources under constantly changing conditions of task requirements, resource capabilities, executable time periods, and resource occupancy status. Existing technologies typically use centralized queues, priority rules, or one-way bidding to determine resource allocation relationships. The price, capability, and time period constraints on the task side and the resource side are difficult to fully coordinate in the same matching process. When resources fail, task requirements change, or execution times out, it is usually necessary to recalculate the global scheduling result, which involves a large scheduling scope and long processing time.
[0003] Some existing systems use blockchain to record scheduling results, but on-chain records typically only include task identifiers, resource identifiers, and execution results. They lack a continuous correspondence between the bidding acceptance state, model memory state, and on-chain commitments, making it difficult to accurately distinguish between completed and incomplete parts. Existing neural Turing machines use fixed-length vector memory units, which are prone to information overwriting when task states, resource states, and execution states are written consecutively, making it difficult to retain multiple state directions within the same acceptance process.
[0004] Therefore, how to provide a multi-agent dynamic orchestration and scheduling system based on blockchain and two-way bidding is a problem that urgently needs to be solved by those skilled in the art. Summary of the Invention
[0005] One objective of this invention is to propose a multi-agent dynamic orchestration and scheduling system based on blockchain and two-way bidding. This invention implements two-way bidding through task-side and resource-side agents, encapsulating task requirements, resource capabilities, execution time periods, and transaction prices into bidding acceptance units, and forming a bidding acceptance state sequence along task acceptance and resource occupancy relationships. By replacing the vector memory units in the neural Turing machine with variable-rank operator memory cells, and performing rank-one operator updates, spectral conservation splitting, and read weight synchronous rearrangement, memory overwriting caused by continuous state writing is reduced, improving the accuracy of bidding acceptance state deduction and resource conflict screening. Simultaneously, agent acceptance relationships, operator memory cell identifiers, and execution states are written to the blockchain. In the event of resource failure, task changes, or execution timeouts, only the incomplete acceptance portion is subject to local two-way bidding and re-orchestration, thereby improving dynamic scheduling efficiency and maintaining the continuous traceability of orchestration commitments.
[0006] According to an embodiment of the present invention, a multi-agent dynamic orchestration and scheduling system based on blockchain and two-way bidding includes: The data consolidation module is used to acquire dynamically orchestrated related data and perform align consolidation to form the basic data for dynamic orchestration. The agent construction module is used to build task-side agents and resource-side agents, and generate demand quotations and supply quotations respectively. The bidding organization module is used to perform two-way bidding matching of demand and supply quotations. It assembles the matched task-side and resource-side intelligent agents into bidding acceptance units and arranges them into a bidding acceptance state sequence according to the task acceptance relationship and resource occupation relationship. The memory mapping module is used to write the bid acceptance units in the bid acceptance state sequence into the operator memory cells of the improved neural Turing machine model, and establish the correspondence between the bid acceptance units and the operator memory cells. The state deduction module is used to perform state deduction on the bidding acceptance unit of the written operator memory cell through an improved neural Turing machine model. The improved neural Turing machine model replaces the vector memory cell with a variable-rank operator memory cell and outputs the bidding arrangement state. The commitment solidification module is used to determine the agent's acceptance relationship based on the bidding orchestration status, and write the acceptance relationship, correspondence relationship and operator memory cell identifier into the blockchain to form an on-chain orchestration commitment; The execution tracking module is used to track the execution process of the bidding acceptance unit, associate the execution status with the corresponding operator memory cell, freeze the update and read weight rearrangement of the memory operator corresponding to the closed state, and mark the operator memory cell corresponding to the unclosed state. The dynamic scheduling module is used to locate the corresponding bidding unit based on the unresolved status, regenerate the demand price for the uncompleted part and execute local two-way bidding, input the formed local bidding unit into the improved neural Turing machine model for re-orchestration, and connect the new agent acceptance relationship to the corresponding on-chain orchestration commitment, and output the dynamic orchestration and scheduling results.
[0007] Optionally, the dynamic orchestration associated data includes task-side orchestration data, resource-side orchestration data, constraint data, orchestration execution data, and blockchain commitment data; The task record, resource record, constraint record, execution record, and on-chain commitment record are separated from the dynamically orchestrated associated data. Write a task identifier to the task record, write a resource identifier to the resource record, and convert the timestamps of each record to the same time base. The task identifiers and resource identifiers in the constraint record, execution record, and on-chain commitment record are compared with the task record and resource record one by one, and the records with matching identifiers are bound to the corresponding task record and resource record; The bound task records and resource records are arranged from earliest to latest according to the record time stamp to form the basic data for dynamic orchestration.
[0008] Optionally, the intelligent agent construction module specifically comprises: For each task object in the dynamic orchestration base data, a task-side intelligent agent is created; for each resource object, a resource-side intelligent agent is created. Write the task demand, task execution period, task execution duration, resource type requirements, resource capacity requirements, acceptable price, and task acceptance relationship into the corresponding task-side intelligent agent, and write the resource supply, resource type, resource capacity, available period, minimum acceptable price, and resource occupancy status into the corresponding resource-side intelligent agent. The task-side agent encapsulates the task identifier, task demand, task execution period, task execution duration, resource type requirements, resource capacity requirements, and acceptable price into a demand quote. The resource-side agent encapsulates the resource identifier, resource supply, resource type, resource capacity, available period, and minimum acceptable price into a supply quote. The same bidding round identifier is written for both the demand quote and the supply quote in this round.
[0009] Optionally, the bidding organization module specifically includes: Pair demand and supply bids with consistent bidding round identifiers one by one, and retain bid pairs that have consistent resource type, resource capacity that covers task requirements, and resource availability time that can accommodate task execution time. Calculate the difference between the demand bid and the supply bid in each bid pair, filter out bid pairs with a difference less than zero, and sort the remaining bid pairs in descending order of the difference. Select the top-ranked price pair, determine the smaller of the remaining demand quantity and the remaining supply quantity as the transaction quantity, determine the transaction price as the arithmetic mean of the demand price and the supply price, extract a period of time equal to the task execution time from the starting position of the overlapping interval between the task execution period and the resource availability period, and deduct the remaining quantities of the corresponding demand price and supply price. The remaining quantities in the other quote pairs containing the demand quote or supply quote are updated synchronously. Quote pairs containing quotes with zero remaining quantities are removed. The remaining quote pairs are rearranged and the transaction processing continues until there are no more unmasked quote pairs. Each transaction is encapsulated into a bidding acceptance unit, which includes the task-side agent, resource-side agent, transaction quantity, transaction price, execution time period, and bidding round identifier. Bidding acceptance units are connected in series along the task acceptance relationship, and resource occupation pointers are written for bidding acceptance units that occupy the same resource according to the order of their execution start time, forming a bidding acceptance state sequence.
[0010] Optionally, the memory mapping module specifically comprises: Write the unit identifier and sequence position for each bidding unit in the bidding acceptance state sequence; The unit identifier, sequence position, task-side agent state, resource-side agent state, transaction quantity, transaction price, execution period, task acceptance pointer, and resource occupation pointer in the bidding unit are concatenated in sequence and then linearly mapped to form a non-zero initial memory vector. Divide the initial memory vector by its L2 norm to obtain the first orthogonal basis vector, and use the square of the L2 norm as the first spectral intensity to form an operator memory cell with an initial rank of one. Write a memory cell identifier to the operator memory cell, and bind the cell identifier, sequence position and memory cell identifier to form a correspondence between the bidding acceptance unit and the operator memory cell.
[0011] Optionally, the improved neural Turing machine model includes a controller, external memory, a read head, and a write head; The external memory includes memory locations for carrying operator memory cells and reserved memory locations for carrying splitting operator memory cells; The vector memory cells in the external memory are replaced with variable-rank operator memory cells. Each variable-rank operator memory cell is set with a maximum rank retention and is composed of an orthogonal basis matrix, a spectral intensity matrix, and the transpose of the orthogonal basis matrix. The controller generates query vectors, update vectors, and write weights based on the initial memory vector of the current bidding unit and the read vector from the previous moment. Based on the correspondence between the bidding acceptance unit and the operator memory cell, the write weight of the original memory position corresponding to the current bidding acceptance unit is retained, and the write weight of the remaining memory positions is reset to zero. The read head applies the query vector to each memory operator and generates read weights based on the response strength of each memory operator; The write head multiplies the update vector by its transpose to form a rank-one update operator. The rank-one update operator is multiplied by the retained write weight and then superimposed on the corresponding memory operator to update the orthogonal basis matrix and spectral intensity matrix. When the actual rank of the updated memory operator exceeds the maximum retained rank, spectral conservation splitting is performed on the corresponding variable-rank operator memory cell, and the read weights are rearranged synchronously. The reading weights of the original memory position and the split memory position corresponding to the same bidding acceptance unit are added together to obtain the acceptance score of the bidding acceptance unit. The acceptance score of each bidding acceptance unit and the weighted reading result are then encapsulated into a bidding arrangement state.
[0012] Optionally, when the actual rank of the updated memory operator exceeds the maximum retained rank, spectral conservation splitting is performed on the corresponding variable-rank operator memory cell, and the read weights are rearranged synchronously, including: Perform eigenvalue decomposition on the updated memory operator, arrange the non-zero eigenvalues in descending order, and bind each non-zero eigenvalue and its corresponding eigenvector into a spectral direction; The spectral directions that are first in order and whose number does not exceed the maximum rank retention are retained in their original memory locations. The remaining spectral directions are grouped into groups that do not exceed the maximum rank retention, and then written into the memory locations in external memory that do not carry memory operators. Write the original operator memory cell identifier to each split memory position and write different split position numbers respectively. Bind the original bidding acceptance unit identifier, sequence position and each split position number, and update the correspondence between the bidding acceptance unit and the operator memory cell. Multiply the eigenvalues in each spectral direction by the outer product of the corresponding eigenvector and its transpose, and sum the resulting multiplications to obtain the original memory position and the memory operators corresponding to each split memory position; The query vector is applied to the memory operators at the original memory location and each split memory location to obtain the corresponding response intensity; Divide each response intensity by the sum of all response intensities to obtain the weight allocation ratio. Multiply the read weights before splitting by each weight allocation ratio and use them as the read weights for the original memory location and each split memory location.
[0013] Optionally, the commitment solidification module includes: Read the acceptance score corresponding to each bidding acceptance unit in the bidding arrangement status; For bidding units that occupy the same resources and have overlapping execution periods, retain the bidding unit with the highest acceptance score and block the rest. The task-side agents and resource-side agents in the retained bidding acceptance units are identified as agent acceptance relationships; The bidding unit identifier, agent acceptance relationship, transaction quantity, transaction price, execution period, operator memory cell identifier and sequence position are written into the blockchain, and the corresponding task acceptance pointer and resource usage pointer are connected to form an on-chain orchestration commitment.
[0014] Optionally, the execution tracing module includes: The bidding unit identifier in the execution record is compared with the bidding unit identifier in the on-chain orchestration commitment item by item, and the actual completed quantity, actual completed time, resource occupancy status and resource operation status that match the identifier are written into the corresponding on-chain orchestration commitment. Locate the corresponding operator memory cell based on the operator memory cell identifier in the on-chain orchestration commitment, and associate the execution record with the corresponding operator memory cell; When the actual completed quantity reaches the transaction quantity and the resource occupation status is released, the corresponding bidding acceptance unit and operator memory cell are marked as closed, and the updating of the corresponding memory operator, spectrum conservation splitting and reading weight rearrangement are stopped. When the actual completed quantity is lower than the transaction quantity and the current time reaches the end time of the execution period in the on-chain orchestration commitment, or when the resource operation status fails or the task requirements change, the corresponding bidding acceptance unit and operator memory cell will be marked as unsettled. The uncompleted quantity is obtained by subtracting the actual completed quantity from the transaction quantity. The remaining execution period is determined from the current time to the end of the task's executable period. The uncompleted quantity and the remaining execution period are written into the corresponding on-chain orchestration commitment.
[0015] Optionally, the dynamic scheduling module includes: Based on the operator memory cell identifier corresponding to the unsettled status, locate the bidding acceptance unit, calculate the difference between the transaction quantity and the actual completed quantity, and form the uncompleted acceptance portion; Based on the uncompleted portion of the demand, a partial demand quote is generated. The available resource-side agents generate partial supply quotes. A two-way bidding match is executed between the partial demand quotes and the partial supply quotes to form a partial bidding acceptance unit. The local bidding acceptance unit is mapped to the operator memory cell and input into the improved neural Turing machine model. The new agent acceptance relationship is determined according to the formed bidding arrangement state. The new agent succession relationship is added to the blockchain as a commitment succession record, and the commitment succession record is associated with the corresponding on-chain orchestration commitment. In the commitment succession record, the unfinished part of the original agent succession relationship is marked as released, and the completed part is retained, forming a dynamic orchestration and scheduling result.
[0016] The beneficial effects of this invention are: This invention generates demand and supply quotations through task-side and resource-side intelligent agents respectively, and forms bidding acceptance units through two-way bidding, so that task requirements, resource capabilities, executable time periods and transaction prices are checked and constrained in the same matching process; the bidding acceptance state sequence is organized through task acceptance relationship and resource occupation relationship to reduce resource duplication and task acceptance conflict.
[0017] This invention replaces the vector memory unit of the neural Turing machine with a variable-rank operator memory cell, and uses rank-one operator update, spectrum conservation splitting and read weight synchronous rearrangement to enable the same bidding acceptance unit to retain multiple valid state directions during continuous state update, reduce the overwriting of previous states by later written states, and improve the accuracy of bidding acceptance state deduction and conflict unit sorting.
[0018] This invention writes the agent's succession relationship, operator memory cell identifier, and execution status into the blockchain. It continuously tracks the succession execution process by freezing the closed state and marking the unfinished state. When resources fail, tasks change, or execution times out, it only performs local bidirectional bidding and re-orchestration on the unfinished part, and writes the commitment succession record into the blockchain, thereby shortening the rescheduling time and maintaining the continuity and traceability of the orchestration process. Attached Figure Description
[0019] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used in conjunction with embodiments of the invention to explain the invention and do not constitute a limitation thereof. In the drawings: Figure 1 This is a structural diagram of the multi-agent dynamic orchestration and scheduling system based on blockchain and two-way bidding proposed in this invention; Figure 2 This is a schematic diagram of the improved neural Turing machine model structure of the multi-agent dynamic orchestration and scheduling system based on blockchain and two-way bidding proposed in this invention. Detailed Implementation
[0020] The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic diagrams, illustrating only the basic structure of the invention, and therefore only show the components relevant to the invention.
[0021] refer to Figures 1-2 A multi-agent dynamic orchestration and scheduling system based on blockchain and two-way bidding, including: The data consolidation module is used to acquire dynamically orchestrated related data and perform align consolidation to form the basic data for dynamic orchestration. The agent construction module is used to build task-side agents and resource-side agents, and generate demand quotations and supply quotations respectively. The bidding organization module is used to perform two-way bidding matching of demand and supply quotations. It assembles the matched task-side and resource-side intelligent agents into bidding acceptance units and arranges them into a bidding acceptance state sequence according to the task acceptance relationship and resource occupation relationship. The memory mapping module is used to write the bid acceptance units in the bid acceptance state sequence into the operator memory cells of the improved neural Turing machine model, and establish the correspondence between the bid acceptance units and the operator memory cells. The state deduction module is used to perform state deduction on the bidding acceptance unit of the written operator memory cell by improving the neural Turing machine model. The improved neural Turing machine model replaces the vector memory cell with a variable rank operator memory cell and outputs the bidding arrangement state. The commitment solidification module is used to determine the agent's acceptance relationship based on the bidding orchestration status, and write the acceptance relationship, correspondence relationship and operator memory cell identifier into the blockchain to form an on-chain orchestration commitment; The execution tracking module is used to track the execution process of the bidding acceptance unit, associate the execution status with the corresponding operator memory cell, freeze the update and read weight rearrangement of the memory operator corresponding to the closed state, and mark the operator memory cell corresponding to the unclosed state. The dynamic scheduling module is used to locate the corresponding bidding unit based on the unresolved status, regenerate the demand price for the uncompleted part and execute local two-way bidding, input the formed local bidding unit into the improved neural Turing machine model for re-orchestration, and connect the new agent acceptance relationship to the corresponding on-chain orchestration commitment, and output the dynamic orchestration and scheduling results.
[0022] In this embodiment, the dynamically orchestrated related data includes task-side orchestration data, resource-side orchestration data, constraint data, orchestration execution data, and blockchain commitment data; The task record, resource record, constraint record, execution record, and on-chain commitment record are separated from the dynamically orchestrated associated data. Write a task identifier to the task record, write a resource identifier to the resource record, and convert the timestamps of each record to the same time base. The task identifiers and resource identifiers in the constraint record, execution record, and on-chain commitment record are compared with the task record and resource record one by one, and the records with matching identifiers are bound to the corresponding task record and resource record; The bound task records and resource records are arranged from earliest to latest according to the record time stamp to form the basic data for dynamic orchestration.
[0023] In the specific implementation process, the task record includes the task identifier, task version number, task requirement, executable time period, execution duration, resource type requirements, resource capacity requirements, and acceptable price; the resource record includes the resource identifier, resource supply, resource type, resource capacity, available time period, minimum acceptable price, resource occupancy status, and resource operation status; the constraint record includes the preceding task identifier, the succeeding task identifier, and resource exclusion relationship; the execution record includes the bidding unit identifier, actual completed quantity, actual completed time, resource occupancy status, and resource operation status; and the on-chain commitment record includes the commitment identifier, bidding unit identifier, task identifier, task version number, resource identifier, block height, and commitment status.
[0024] The task identifier is formed by concatenating the source number, task type code, and original task number; the resource identifier is formed by concatenating the source number, resource type code, and original resource number. All record timestamps are converted to Coordinated Universal Time (UTC) millisecond timestamps; records with missing identifiers or timestamps are not written to the dynamic orchestration base data.
[0025] The task identifiers and resource identifiers in the constraint records, execution records, and on-chain commitment records are compared item by item with the task records and resource records. If the identifiers match, they are written into the associated index of the corresponding record. If the record timestamps are the same, the order is determined by the incremental source sequence number. The dynamic orchestration base data consists of task records, resource records, and corresponding associated indexes.
[0026] In this embodiment, the agent construction module specifically includes: For each task object in the dynamic orchestration base data, a task-side intelligent agent is created; for each resource object, a resource-side intelligent agent is created. Write the task demand, task execution period, task execution duration, resource type requirements, resource capacity requirements, acceptable price, and task acceptance relationship into the corresponding task-side intelligent agent, and write the resource supply, resource type, resource capacity, available period, minimum acceptable price, and resource occupancy status into the corresponding resource-side intelligent agent. The task-side agent encapsulates the task identifier, task demand, task execution period, task execution duration, resource type requirements, resource capacity requirements, and acceptable price into a demand quote. The resource-side agent encapsulates the resource identifier, resource supply, resource type, resource capacity, available period, and minimum acceptable price into a supply quote. The same bidding round identifier is written for both the demand quote and the supply quote in this round.
[0027] In the specific implementation process, the task-side intelligent agent uses the task identifier as its unique number, and the resource-side intelligent agent uses the resource identifier as its unique number. The task-side intelligent agent's state is sequentially written with the task demand, executable start time, executable end time, execution duration, resource type code, resource capacity requirement vector, acceptable price, preceding task identifier, and succeeding task identifier; the resource-side intelligent agent's state is sequentially written with the resource supply, resource type code, resource capacity vector, available start time, available end time, minimum acceptable price, resource occupancy status, and resource operation status.
[0028] Resource types are encoded using integers, and resource capabilities are represented by fixed-length numerical vectors. Quantity, duration, price, and capability values are normalized using the maximum and minimum values of the corresponding fields for the same type of resource in the training dataset, and these maximum and minimum values are fixed along with the model parameters. The maximum and minimum values are used during online simulations; normalization results less than 0 are set to 0, and greater than 1 are set to 1. When the maximum and minimum values of the same field are equal, the normalization result for that field is set to 0. Resource occupancy status is coded as unoccupied, pre-occupied, occupancy in progress, and deactivated, denoted as 0, 1, 2, and 3 respectively; resource operation status is coded as available, degraded, and ineffective, denoted as 0, 1, and 2 respectively.
[0029] Task requirements are expressed as positive integers, representing the number of independent execution units with the same resource type, resource capacity, and execution duration. Each independent execution unit occupies one minimum resource unit and executes continuously for one task execution duration. Quotations can be split into transactions based on independent execution units.
[0030] Each resource-side agent corresponds to a minimum resource unit that cannot be concurrently occupied, and the resource supply quantity for a single supply quotation is set to 1. When the same physical resource can provide multiple independent execution units simultaneously, it is split into multiple resource objects according to the number of concurrent execution units, and resource-side agents are established for each object, with each resource-side agent using a different resource identifier.
[0031] For a resource-side agent with consecutive available time periods, overlapping intervals are calculated for the executable time periods of tasks that are consistent with the resource type requirements of this round and whose resource capacity requirements can be covered. If the duration of the overlapping interval is not less than the execution duration of the corresponding task, the execution duration of the corresponding task is extracted from the beginning of the overlapping interval to form candidate supply time periods, and supply quotations are generated for each. Supply quotations belonging to the same resource-side agent and whose candidate supply time periods overlap are marked as mutually exclusive candidate quotations. Each mutually exclusive candidate quotation participates in bidirectional bidding and matching, and the commitment solidification module retains the bidding unit with the highest acceptance score. When a resource-side agent has multiple discontinuous available time periods, the above processing is performed on each consecutive available time period, and a different quotation number is written for each supply quotation.
[0032] Demand quotes consist of task identifier, task quantity required, available time period, execution duration, resource type requirements, resource capacity requirements, and acceptable price; supply quotes consist of resource identifier, resource supply quantity, resource type, resource capacity, available time period, and minimum acceptable price. The auction round identifier is formed by concatenating the auction start time and the round number, and is included in all demand and supply quotes for this round.
[0033] In this embodiment, the bidding organization module specifically includes: Pair demand and supply bids with consistent bidding round identifiers one by one, and retain bid pairs that have consistent resource type, resource capacity that covers task requirements, and resource availability time that can accommodate task execution time. Calculate the difference between the demand price and the supply price in each price pair, filter out price pairs with a difference less than zero, and sort the remaining price pairs in descending order of the difference; Select the top-ranked price pair, determine the smaller of the remaining demand quantity and the remaining supply quantity as the transaction quantity, determine the transaction price as the arithmetic mean of the demand price and the supply price, extract a period of time equal to the task execution time from the starting position of the overlapping interval between the task execution period and the resource availability period, and deduct the remaining quantities of the corresponding demand price and supply price. Synchronously update the remaining quantities in the other quote pairs that contain demand or supply quotes, remove quote pairs that contain quotes with zero remaining quantities, rearrange the remaining quote pairs and continue to process transactions until there are no more unblocked quote pairs. Each transaction is encapsulated into a bidding acceptance unit, which includes the task-side agent, resource-side agent, transaction quantity, transaction price, execution time period, and bidding round identifier. Bidding acceptance units are connected in series along the task acceptance relationship, and resource occupation pointers are written for bidding acceptance units that occupy the same resource according to the order of their execution start time, forming a bidding acceptance state sequence.
[0034] In practice, within the same bidding round, demand and supply bids are paired. The corresponding bid pairs are retained if the resource type codes are the same, each component of the supply capacity vector is not lower than the corresponding component of the demand capacity vector, and the overlap between the task's executable time period and the resource's available time period is not less than the task's execution time.
[0035] The price difference is calculated by subtracting the supply price from the demand price. Price pairs with a difference less than zero are masked, and the remaining price pairs are arranged in descending order of the difference; if the differences are the same, they are arranged in ascending order of demand price from high to low, supply price from low to high, and resource identifier.
[0036] The transaction quantity of the top-ranked bid pair is the smaller of the remaining demand and supply quantities, and the transaction price is the arithmetic mean of the demand and supply bids. The starting time of the overlapping interval is the later of the task's executable start time and the resource availability start time. The execution time period is obtained by extracting the task execution duration from this starting time.
[0037] After a transaction is completed, the remaining demand and supply quantities are deducted respectively, and other quote pairs containing the same demand or supply quote are simultaneously updated; quotes with zero remaining quantity will no longer participate in matching. The sorting and transaction processing is repeated until there are no more unmasked quote pairs.
[0038] The bidding acceptance unit records the unit identifier, task identifier, resource identifier, transaction quantity, transaction price, execution start time, execution end time, and bidding round identifier. The task acceptance pointer is written with the identifier of the adjacent preceding bidding acceptance unit, and the resource occupancy pointer is written with the identifier of the preceding bidding acceptance unit with the adjacent execution time on the same resource; if there is no corresponding preceding unit, a null value is written.
[0039] In this embodiment, the memory mapping module specifically includes: Write the unit identifier and sequence position for each bidding unit in the bidding acceptance state sequence; The unit identifier, sequence position, task-side agent state, resource-side agent state, transaction quantity, transaction price, execution period, task acceptance pointer, and resource occupation pointer in the bidding unit are concatenated in sequence and then linearly mapped to form a non-zero initial memory vector. Divide the initial memory vector by its L2 norm to obtain the first orthogonal basis vector, and use the square of the L2 norm as the first spectral intensity to form an operator memory cell with an initial rank of one. Write a memory cell identifier to the operator memory cell, and bind the cell identifier, sequence position and memory cell identifier to form a correspondence between the bidding acceptance unit and the operator memory cell.
[0040] In the specific implementation, the initial memory vector is set to 64 dimensions, and the field order remains consistent during model training and operation. Quantity, price, duration, and capability values are normalized to 0 to 1; the identifier, status, and pointer fields are converted to integer codes and then participate in linear mapping.
[0041] When the L2 norm of the initial memory vector is less than 10^-8, its last component is set to 1 before constructing the operator memory cell. The operator memory cell identifier is formed by concatenating the bidding round identifier and the cell identifier, and the initial external storage location number is consistent with the sequence position of the bidding receiving cell.
[0042] In this embodiment, the improved neural Turing machine model includes a controller, external memory, a read head, and a write head; The external memory includes memory locations that carry operator memory cells and reserved memory locations for carrying splitting operator memory cells; The vector memory cells in the external memory are replaced with variable-rank operator memory cells. Each variable-rank operator memory cell is set with the maximum rank to be retained and is composed of an orthogonal basis matrix, a spectral intensity matrix and the transpose of the orthogonal basis matrix. The controller generates query vectors, update vectors, and write weights based on the initial memory vector of the current bidding unit and the read vector from the previous moment. Based on the correspondence between the bidding acceptance unit and the operator memory cell, the write weight of the original memory position corresponding to the current bidding acceptance unit is retained, and the write weight of the remaining memory positions is reset to zero. The read head applies the query vector to each memory operator and generates read weights based on the response strength of each memory operator; The write head multiplies the update vector by its transpose to form a rank-one update operator. The rank-one update operator is multiplied by the retained write weight and then superimposed onto the corresponding memory operator to update the orthogonal basis matrix and spectral intensity matrix. When the actual rank of the updated memory operator exceeds the maximum retained rank, spectral conservation splitting is performed on the corresponding variable-rank operator memory cell, and the read weights are rearranged synchronously. The reading weights of the original memory position and the split memory position corresponding to the same bidding acceptance unit are added together to obtain the acceptance score of the bidding acceptance unit. The acceptance score of each bidding acceptance unit and the weighted reading result are then encapsulated into the bidding arrangement state.
[0043] In this embodiment, when the actual rank of the updated memory operator exceeds the maximum retained rank, spectral conservation splitting is performed on the corresponding variable-rank operator memory cell, and the read weights are rearranged simultaneously, including: Perform eigenvalue decomposition on the updated memory operator, arrange the non-zero eigenvalues in descending order, and bind each non-zero eigenvalue and its corresponding eigenvector into a spectral direction; The spectral directions that are first in order and whose number does not exceed the maximum rank retention are retained in their original memory locations. The remaining spectral directions are grouped into groups that do not exceed the maximum rank retention, and then written into the memory locations in external memory that do not carry memory operators. Write the original operator memory cell identifier to each split memory position and write different split position numbers respectively. Bind the original bidding acceptance unit identifier, sequence position and each split position number, and update the correspondence between the bidding acceptance unit and the operator memory cell. Multiply the eigenvalues in each spectral direction by the outer product of the corresponding eigenvector and its transpose, and sum the resulting multiplications to obtain the original memory position and the memory operators corresponding to each split memory position; The query vector is applied to the memory operators at the original memory location and each split memory location to obtain the corresponding response intensity; Divide each response intensity by the sum of all response intensities to obtain the weight allocation ratio. Multiply the read weights before splitting by each weight allocation ratio and use them as the read weights for the original memory location and each split memory location.
[0044] In the specific implementation, the original neural Turing machine's external memory uses fixed-length vectors as memory units. The write head rewrites the memory content by erasing and adding vectors, and the read head generates read weights based on the similarity between the query vector and the memory vector. This implementation retains the controller, external memory, read head, and write head, replaces the vector memory units with variable-rank operator memory cells, replaces erase-add write with rank-one operator update, and performs spectral conservation splitting when the actual rank of the memory operator exceeds the maximum retained rank.
[0045] Each round of bidding is scheduled using a separate external storage block. The number of memory locations in the external storage block is set to three times the number of units to be received in this round of bidding. The first 1 / 3 of the memory locations hold the initial operator memory cells, and the remaining memory locations are reserved for future use. The vector width of each operator memory cell is set to 64, and the maximum rank to be retained is set to 4. The orthogonal basis matrix retains no more than 4 orthogonal basis vectors, and the spectral intensity matrix uses a non-negative diagonal matrix.
[0046] The controller employs a single-layer Long Short-Term Memory (LSTM) network with a hidden state dimension of 128. At each time step, the controller receives the 64-dimensional initial memory vector corresponding to the current bidding unit and the 64-dimensional read vector from the previous time step. These are then processed through two independent fully connected mappings to generate 64-dimensional query and update vectors, respectively. Finally, a write gate value in the range of 0 to 1 is generated using a single-output fully connected layer and a sigmoid function. Based on the correspondence between the current bidding unit and the operator memory cell, the write gate value is used as the write weight for the corresponding original memory location, while the write weights for other memory locations are reset to 0. The bidding state sequence is scanned continuously for four rounds, maintaining the same bidding unit arrangement order in each round. The last read vector of the previous round becomes the first read vector of the next round.
[0047] During writing, based on the correspondence between the current bidding unit and the operator memory cell, the write weight corresponding to the original memory position is retained, and the write weights of the remaining memory positions are reset to zero. The update vector is multiplied by its transpose to obtain a symmetric rank-one update operator. The rank-one update operator is then multiplied by the retained write weights and superimposed onto the original memory operator. The superimposed memory operator undergoes symmetric eigenvalue decomposition, and the resulting eigenvectors are written into the orthogonal basis matrix, while the corresponding eigenvalues are written into the spectral intensity matrix.
[0048] The read head applies the query vector to each memory operator. The response intensity at each memory location is the quadratic result of the query vector, the memory operator, and the transpose of the query vector. All response intensities are normalized using Softmax to form the read weights. Each memory operator is multiplied by the query vector to obtain the corresponding response vector. These response vectors are then weighted according to their read weights and summed to obtain the read vector at the current time step.
[0049] After eigenvalue decomposition, the largest eigenvalue is taken as one ten-thousandth as the spectral truncation threshold, eigenvalues not greater than the spectral truncation threshold are set to 0, and eigenvalues greater than the spectral truncation threshold are determined as valid eigenvalues; the number of valid eigenvalues is taken as the actual rank of the memory operator.
[0050] The original memory location and each split memory location are reconstructed by the assigned effective spectral directions. The sum of the memory operators of the original memory location and all split memory locations is consistent with the memory operator after spectral truncation, and the sum of all effective eigenvalues remains unchanged before and after splitting.
[0051] The read weight rearrangement and spectral direction grouping are performed synchronously. The current query vector is applied to the memory operators at the original memory location and each split memory location to obtain the response intensity at each location. Each response intensity is divided by the sum of the response intensities to obtain the corresponding allocation ratio. The read weights before splitting are multiplied by each allocation ratio to obtain the new read weights at the original memory location and each split memory location. When the sum of the response intensities is less than 10 to the power of -8, the allocation ratio is calculated using the sum of the eigenvalues contained in each memory operator.
[0052] After four rounds of scanning, the hidden state of the controller at the last moment is input into the scoring query mapping layer to generate a 64-dimensional scoring query vector. The read head applies the scoring query vector to the memory operators of all currently valid memory locations and performs Softmax normalization on the resulting response intensity to obtain the final read weight. The final read weights of the original memory location and the split memory location with the same operator memory cell identifier are added together to obtain the acceptance score of the corresponding bidding acceptance unit; all acceptance scores, final read weights, and scoring query vectors are encapsulated into a bidding orchestration state.
[0053] The model training uses historical bidding rounds to construct sorted samples. Bidding units that have the same resource and overlapping execution periods form a conflict group; bidding units that are finally written into the on-chain orchestration commitment and complete the closure are designated as preferred units, while bidding units that are blocked, unblocked, or fail to fulfill their commitments within the same conflict group are designated as non-preferred units, forming preferred-non-preferred sample pairs respectively.
[0054] Training employs a Logistic pairwise ranking loss. For each preferred-non-preferred sample pair, the difference between the acceptance score of the non-preferred unit and the acceptance score of the preferred unit is calculated, and a Softplus transformation is performed on the difference to obtain the ranking loss for that sample pair. The higher the acceptance score of the preferred unit compared to the acceptance score of the non-preferred unit, the smaller the ranking loss. The training loss for a training batch is the average of the ranking losses for all sample pairs.
[0055] Training, validation, and test data were divided in an 8:1:1 ratio, with a batch size of 16. The Adam optimizer was used, and the initial learning rate was set to 0.001. Training was stopped when the validation set sorting loss did not decrease for 10 consecutive rounds.
[0056] During training, the index formed by effective feature value selection, feature value sorting, and spectral direction grouping is used as the discrete routing result for stopping the gradient; the index does not participate in backpropagation. The gradient is backpropagated through the controller, query vector, update vector, write weights, memory operator response, and weighted read process. Spectral direction sorting, grouping, and split-off position numbering are not set as trainable parameters. After training, the parameters of the controller, query vector mapping layer, update vector mapping layer, write gate mapping layer, score query mapping layer, and initial memory linear mapping layer are fixed. During online inference, only the memory operator in the external memory is updated; the model parameters are not updated.
[0057] The above modifications enable the same bidding unit to retain multiple independent state directions during continuous state updates, preventing the later-written state from directly overwriting the previous state; the total effective spectral intensity before and after spectral splitting remains consistent, and the reading weight also migrates along the same splitting result, so that the identification continuity of the original bidding unit is maintained after the memory content is expanded.
[0058] In this embodiment, the commitment-based solidification module includes: Read the acceptance score corresponding to each bidding acceptance unit in the bidding arrangement status; For bidding units that occupy the same resources and have overlapping execution periods, retain the bidding unit with the highest acceptance score and block the rest. The task-side agents and resource-side agents in the retained bidding acceptance units are identified as agent acceptance relationships; The bidding unit identifier, agent acceptance relationship, transaction quantity, transaction price, execution period, operator memory cell identifier and sequence position are written into the blockchain, and the corresponding task acceptance pointer and resource usage pointer are connected to form an on-chain orchestration commitment.
[0059] In practice, overlapping execution periods are determined using interval intersection: if the later start time of two execution periods is earlier than the earlier end time, they are considered overlapping. When the same resource corresponds to multiple overlapping bidding units, the bidding score is retained to 6 decimal places and arranged from highest to lowest; if the bidding scores are the same, the bidding units with the lower transaction price, earlier execution start time, and smaller unit identifier are retained in that order.
[0060] On-chain orchestration commitments use key-value records. The record key is obtained by hashing the concatenation of the bidding round identifier, the bidding acceptance unit identifier, and the sequence position. The record value is divided into an acceptance relationship segment, a transaction status segment, a memory mapping segment, and a pointer segment. The acceptance relationship segment contains the task identifier, resource identifier, and task version number; the transaction status segment contains the transaction quantity, transaction price, execution start time, execution end time, and commitment status; the memory mapping segment contains the operator memory cell identifier and the sequence position; and the pointer segment contains the task acceptance pointer and the resource occupation pointer. The task acceptance pointer contains the transaction hash of the previous task acceptance record, and the resource occupation pointer contains the transaction hash of the previous occupation record of the same resource; if there is no previous record, a value of zero is written.
[0061] The blockchain is a permissioned chain with four validator nodes. On-chain orchestration commitments become effective after being signed by no fewer than three validator nodes, and the transaction hash and block height are written back to the on-chain commitment record of the corresponding bidding unit.
[0062] In this embodiment, the execution tracking module includes: The bidding unit identifier in the execution record is compared with the bidding unit identifier in the on-chain orchestration commitment item by item, and the actual completed quantity, actual completed time, resource occupancy status and resource operation status that match the identifier are written into the corresponding on-chain orchestration commitment. Locate the corresponding operator memory cell based on the operator memory cell identifier in the on-chain orchestration commitment, and associate the execution record with the corresponding operator memory cell; When the actual completed quantity reaches the transaction quantity and the resource occupation status is released, the corresponding bidding acceptance unit and operator memory cell are marked as closed, and the updating of the corresponding memory operator, spectrum conservation splitting and reading weight rearrangement are stopped. When the actual completed quantity is lower than the transaction quantity and the current time reaches the end time of the execution period in the on-chain orchestration commitment, or when the resource operation status fails or the task requirements change, the corresponding bidding acceptance unit and operator memory cell will be marked as unsettled. The uncompleted quantity is obtained by subtracting the actual completed quantity from the transaction quantity. The remaining execution period is determined from the current time to the end of the task's executable period. The uncompleted quantity and the remaining execution period are written into the corresponding on-chain orchestration commitment.
[0063] In practice, execution records are generated every 60 seconds after the bidding unit begins execution, and are generated immediately when resource occupancy status, resource operation status, or task requirements change. The actual completed quantity is calculated cumulatively, and duplicate records are retained based on the record with the larger sequence number.
[0064] The resource occupancy and operation status in the execution record follow the aforementioned status coding. A version number is appended to the task requirement record; if the current version number differs from the task version number in the on-chain orchestration commitment, it is determined that the task requirement has changed.
[0065] The operator memory cell identifier corresponds to the original memory location and all split memory locations. In the closed state, the update mask at the corresponding location is set to 0; in the open state, the update mask is set to 1.
[0066] The number of uncompleted tasks is calculated by subtracting the cumulative number of completed tasks from the number of completed transactions. If the result is less than 0, it is set to 0. The start time of the remaining execution period is the time when the unfinished state is generated, and the end time is the end time of the task's executable period. If the start time is not earlier than the end time, the remaining execution period is recorded as zero duration and a timeout flag is written.
[0067] In this embodiment, the dynamic scheduling module includes: Based on the operator memory cell identifier corresponding to the unsettled status, locate the bidding acceptance unit, calculate the difference between the transaction quantity and the actual completed quantity, and form the uncompleted acceptance portion; Based on the uncompleted portion of the demand, a partial demand quote is generated. The available resource-side agents generate partial supply quotes. A two-way bidding match is executed between the partial demand quotes and the partial supply quotes to form a partial bidding acceptance unit. The local bidding acceptance unit is mapped to the operator memory cell and input into the improved neural Turing machine model. The new agent acceptance relationship is determined according to the formed bidding arrangement state. The new agent succession relationship is added to the blockchain as a commitment succession record, and the commitment succession record is associated with the corresponding chain to orchestrate commitments. In the commitment succession record, the unfinished part of the original agent succession relationship is marked as released, and the completed part is retained, forming a dynamic orchestration and scheduling result.
[0068] In the specific implementation process, the local demand quotation adopts the resource type requirements, resource capability requirements and acceptable price in the original task-side intelligent agent, rewrites the demand quantity as the unfinished quantity, rewrites the task executable time period as the remaining execution time period, and writes the local bidding round identifier composed of the original bidding round identifier and the re-sorted number.
[0069] Resource occupancy periods are extracted from resource-side agents whose resource status is available and not locked on-chain. Each resource occupancy period is deducted from the remaining execution period to obtain consecutive idle periods. Consecutive idle periods with a duration not less than the task execution duration are retained, and local supply quotes are generated for each. No local supply quotes are generated when the resource status is invalid, still locked on-chain, or when there are no consecutive idle periods that meet the task execution duration. Local demand bids and local supply bids are paired item by item, retaining bid pairs with consistent resource types, resource capacity covering task requirements, and continuous idle periods sufficient to accommodate task execution time. The difference between the local demand bid and the local supply bid is calculated for each bid pair, and bid pairs with a difference less than 0 are masked. The remaining bid pairs are then sorted in descending order of difference. The top-ranked bid pair is selected, and the smaller of the remaining local demand quantity and the remaining local supply quantity is determined as the transaction quantity. The arithmetic mean of the local demand bid and the local supply bid is determined as the transaction price, minus the corresponding remaining quantity. For each transaction, the later start time of the remaining execution period corresponding to the local demand bid and the continuous idle period corresponding to the local supply bid is determined as the local execution start time. The task execution time is extracted from the local execution start time to form the local execution period. The corresponding task-side agent, resource-side agent, transaction quantity, transaction price, local execution period, and local bidding round identifier are encapsulated into a local bidding acceptance unit. Matching stops when the cumulative transaction quantity reaches the uncompleted quantity or when no unmasked bid pair exists.
[0070] The local bidding acceptance units are arranged according to the task acceptance relationship, and the adjacent preceding bidding acceptance unit of the original unfinished bidding acceptance unit is connected in front of them; for each candidate resource, the nearest resource occupying unit of the candidate resource before the remaining execution time period is connected to form a local bidding acceptance state sequence.
[0071] The update mask of the operator memory cell corresponding to the local bidding acceptance unit is set to 1; the update mask of the operator memory cell corresponding to the preceding bidding acceptance unit and resource occupancy unit is set to 0. Operator memory cells with an update mask of 0 participate in read head addressing and weighted reading, but do not perform rank-one update, spectrum conservation splitting, and read weight rearrangement.
[0072] The new agent succession relationship is appended to the blockchain as a commitment continuation record. This record includes the transaction hash of the original on-chain orchestrated commitment, the original bidding unit identifier, the completed quantity, the uncompleted quantity, the new resource identifier, the new transaction price, the new execution period, the new operator memory cell identifier, and the re-orchestrating time. The uncompleted portion of the original agent succession relationship is marked as released in the commitment continuation record. The original on-chain orchestrated commitment remains unchanged, and the completed portion continues to be associated with the original on-chain orchestrated commitment. When the cumulative transaction quantity in a local auction is lower than the uncompleted quantity, the completed portion is written to the commitment continuation record, and the remaining difference continues to be marked as unsettled.
[0073] Example 1: To verify the feasibility of this invention in practice, it was applied to a cloud-edge collaborative computing power scheduling platform of a smart manufacturing enterprise. This platform is configured with 18 GPU servers, forming 72 non-concurrently usable GPU resource units, primarily handling product simulation, model training, and 3D rendering tasks. The original platform used centralized priority scheduling, which resulted in problems such as duplicate resource usage, long recovery times for abnormal tasks, and difficulty in continuously tracing scheduling records when tasks were submitted in a concentrated manner or GPU nodes temporarily failed.
[0074] In this embodiment, each task establishes a task-side intelligent agent, and each GPU resource unit establishes a resource-side intelligent agent. A two-way bidding process starts every 5 minutes, with task execution time ranging from 20 to 180 minutes. The acceptable price is 8.00 to 32.00 yuan / GPU hour, and the minimum acceptable price for resources is 5.00 to 26.00 yuan / GPU hour. The blockchain adopts a 4-node permissioned chain, and on-chain orchestration commitments become effective after being signed by no fewer than 3 nodes.
[0075] The improved neural Turing machine model has an initial memory vector dimension of 64, a controller using a single-layer long short-term memory network with a hidden state dimension of 128, a maximum retention rank of 4 for operator memory cells, and a continuous scanning of the bidding state sequence for 4 rounds. The model is trained using 30 consecutive days of historical scheduling data, containing 18,640 bidding units and 3,240 resource conflict groups.
[0076] During operation, task T20260518-087 requires two L40S resource units, with each unit having an execution time of 90 minutes. The task is available from 10:00 AM to 2:00 PM, and the acceptable price is 18.00 yuan / GPU hour. After two-way bidding, the two resource-side agents won bids at 15.20 yuan / GPU hour and 15.60 yuan / GPU hour respectively, forming corresponding bidding units.
[0077] One resource unit failed at 10:58, leaving one independent execution unit incomplete. The system designated the period from 10:58 to 14:00 as the remaining execution time and regenerated local demand quotes. Resource-side agent R-L40S-044 had continuous idle time from 11:05 to 13:30, with a minimum acceptable price of 12.80 yuan / GPU hour. After local two-way bidding, it was sold at 15.40 yuan / GPU hour, and the new execution time was from 11:05 to 12:35.
[0078] The new local bidding acceptance unit and the preceding bidding acceptance unit corresponding to the original task are jointly input into the improved neural Turing machine model. The update mask of the operator memory cell corresponding to the local bidding acceptance unit is set to 1, participating in querying, reading, and memory updating. The update mask of the operator memory cell corresponding to the preceding acceptance state of the original task is set to 0, only participating in read head addressing and weighted reading as the acceptance context, without performing rank-one updates, spectral conservation splitting, or read weight rearrangement. After the model completes the re-inference, a new resource-side agent is determined based on the acceptance score of the local bidding acceptance unit, forming a new agent acceptance relationship. This acceptance relationship is appended to the blockchain as a commitment continuation record. The commitment continuation record is associated with the transaction hash of the original chain's orchestrated commitment and includes the original bidding acceptance unit identifier, completed quantity, uncompleted quantity, new resource identifier, new transaction price, new execution period, new operator memory cell identifier, and rearrangement time. The original on-chain orchestration commitments remain unchanged. Completed commitments continue to be associated with the original commitment records, while uncompleted commitments are marked as released in the commitment continuation record.
[0079] 2400 tasks from 14 consecutive days were selected for scheduling replay, and 96 resource failures, task changes, or execution timeouts were set up. The system of the present invention was compared with the centralized priority scheduling method and the bidirectional bidding method using the traditional neural Turing machine. The results are shown in Table 1.
[0080] Table 1 Comparison of Dynamic Orchestration and Scheduling Effects
[0081] Among them, the on-time completion rate is the ratio of the number of tasks completed before the end of the task's executable period to the total number of test tasks; the anomaly recovery success rate is the percentage of disturbances that, after a dynamic disturbance occurs, re-establish a valid succession relationship and complete execution within the remaining execution period; and the average rescheduling time starts counting from the moment the unresolved state is generated until the new agent succession relationship is determined.
[0082] Table 1 shows that the system of the present invention achieves an on-time completion rate of 97.13%, an anomaly recovery success rate of 96.88%, and an average rescheduling time reduced to 4.6 seconds. By mapping the bidding acceptance unit to the variable-rank operator memory cell and performing spectral conservation splitting on memory operators whose actual rank exceeds the maximum retained rank, memory overwriting caused by continuous state writes can be reduced. When resources fail or task requirements change, only the incomplete acceptance part is subject to local bidding and rearrangement, thereby improving anomaly recovery efficiency and maintaining the continuity of on-chain commitment records.
[0083] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any equivalent substitutions or modifications made by those skilled in the art within the scope of the technology disclosed in the present invention, based on the technical solution and inventive concept of the present invention, should be covered within the scope of protection of the present invention.
Claims
1. A multi-agent dynamic orchestration and scheduling system based on blockchain and two-way bidding, characterized in that, include: The data consolidation module is used to acquire dynamically orchestrated related data and perform align consolidation to form the basic data for dynamic orchestration. The agent construction module is used to build task-side agents and resource-side agents, and generate demand quotations and supply quotations respectively. The bidding organization module is used to perform two-way bidding matching of demand and supply quotations. It assembles the matched task-side and resource-side intelligent agents into bidding acceptance units and arranges them into a bidding acceptance state sequence according to the task acceptance relationship and resource occupation relationship. The memory mapping module is used to write the bid acceptance units in the bid acceptance state sequence into the operator memory cells of the improved neural Turing machine model, and establish the correspondence between the bid acceptance units and the operator memory cells. The state deduction module is used to perform state deduction on the bidding acceptance unit of the written operator memory cell through an improved neural Turing machine model. The improved neural Turing machine model replaces the vector memory cell with a variable-rank operator memory cell and outputs the bidding arrangement state. The commitment solidification module is used to determine the agent's acceptance relationship based on the bidding orchestration status, and write the acceptance relationship, correspondence relationship and operator memory cell identifier into the blockchain to form an on-chain orchestration commitment; The execution tracking module is used to track the execution process of the bidding acceptance unit, associate the execution status with the corresponding operator memory cell, freeze the update and read weight rearrangement of the memory operator corresponding to the closed state, and mark the operator memory cell corresponding to the unclosed state. The dynamic scheduling module is used to locate the corresponding bidding unit based on the unresolved status, regenerate the demand price for the uncompleted part and execute local two-way bidding, input the formed local bidding unit into the improved neural Turing machine model for re-orchestration, and connect the new agent acceptance relationship to the corresponding on-chain orchestration commitment, and output the dynamic orchestration and scheduling results.
2. The multi-agent dynamic orchestration and scheduling system based on blockchain and two-way bidding according to claim 1, characterized in that, The dynamic orchestration-related data includes task-side orchestration data, resource-side orchestration data, constraint data, orchestration execution data, and blockchain commitment data; The task record, resource record, constraint record, execution record, and on-chain commitment record are separated from the dynamically orchestrated associated data. Write a task identifier to the task record, write a resource identifier to the resource record, and convert the timestamps of each record to the same time base. The task identifiers and resource identifiers in the constraint record, execution record, and on-chain commitment record are compared with the task record and resource record one by one, and the records with matching identifiers are bound to the corresponding task record and resource record; The bound task records and resource records are arranged from earliest to latest according to the record time stamp to form the basic data for dynamic orchestration.
3. The multi-agent dynamic orchestration and scheduling system based on blockchain and two-way bidding according to claim 1, characterized in that, The intelligent agent construction module is specifically as follows: For each task object in the dynamic orchestration base data, a task-side intelligent agent is created; for each resource object, a resource-side intelligent agent is created. Write the task demand, task execution period, task execution duration, resource type requirements, resource capacity requirements, acceptable price, and task acceptance relationship into the corresponding task-side intelligent agent, and write the resource supply, resource type, resource capacity, available period, minimum acceptable price, and resource occupancy status into the corresponding resource-side intelligent agent. The task-side agent encapsulates the task identifier, task demand, task execution period, task execution duration, resource type requirements, resource capacity requirements, and acceptable price into a demand quote. The resource-side agent encapsulates the resource identifier, resource supply, resource type, resource capacity, available period, and minimum acceptable price into a supply quote. The same bidding round identifier is written for both the demand quote and the supply quote in this round.
4. The multi-agent dynamic orchestration and scheduling system based on blockchain and two-way bidding according to claim 1, characterized in that, The bidding organization module is specifically as follows: Pair demand and supply bids with consistent bidding round identifiers one by one, and retain bid pairs that have consistent resource type, resource capacity that covers task requirements, and resource availability time that can accommodate task execution time. Calculate the difference between the demand bid and the supply bid in each bid pair, filter out bid pairs with a difference less than zero, and sort the remaining bid pairs in descending order of the difference. Select the top-ranked price pair, determine the smaller of the remaining demand quantity and the remaining supply quantity as the transaction quantity, determine the transaction price as the arithmetic mean of the demand price and the supply price, extract a period of time equal to the task execution time from the starting position of the overlapping interval between the task execution period and the resource availability period, and deduct the remaining quantities of the corresponding demand price and supply price. The remaining quantities in the other quote pairs containing the demand quote or supply quote are updated synchronously. Quote pairs containing quotes with zero remaining quantities are removed. The remaining quote pairs are rearranged and the transaction processing continues until there are no more unmasked quote pairs. Each transaction is encapsulated into a bidding acceptance unit, which includes the task-side agent, resource-side agent, transaction quantity, transaction price, execution time period, and bidding round identifier. Bidding acceptance units are connected in series along the task acceptance relationship, and resource occupation pointers are written for bidding acceptance units that occupy the same resource according to the order of their execution start time, forming a bidding acceptance state sequence.
5. The multi-agent dynamic orchestration and scheduling system based on blockchain and two-way bidding according to claim 1, characterized in that, The memory mapping module is specifically as follows: Write the unit identifier and sequence position for each bidding unit in the bidding acceptance state sequence; The unit identifier, sequence position, task-side agent state, resource-side agent state, transaction quantity, transaction price, execution period, task acceptance pointer, and resource occupation pointer in the bidding unit are concatenated in sequence and then linearly mapped to form a non-zero initial memory vector. Divide the initial memory vector by its L2 norm to obtain the first orthogonal basis vector, and use the square of the L2 norm as the first spectral intensity to form an operator memory cell with an initial rank of one. Write a memory cell identifier to the operator memory cell, and bind the cell identifier, sequence position and memory cell identifier to form a correspondence between the bidding acceptance unit and the operator memory cell.
6. The multi-agent dynamic orchestration and scheduling system based on blockchain and two-way bidding according to claim 1, characterized in that, The improved neural Turing machine model includes a controller, external memory, a read head, and a write head; The external memory includes memory locations for carrying operator memory cells and reserved memory locations for carrying splitting operator memory cells; The vector memory cells in the external memory are replaced with variable-rank operator memory cells. Each variable-rank operator memory cell is set with a maximum rank retention and is composed of an orthogonal basis matrix, a spectral intensity matrix, and the transpose of the orthogonal basis matrix. The controller generates query vectors, update vectors, and write weights based on the initial memory vector of the current bidding unit and the read vector from the previous moment. Based on the correspondence between the bidding acceptance unit and the operator memory cell, the write weight of the original memory position corresponding to the current bidding acceptance unit is retained, and the write weight of the remaining memory positions is reset to zero. The read head applies the query vector to each memory operator and generates read weights based on the response strength of each memory operator; The write head multiplies the update vector by its transpose to form a rank-one update operator. The rank-one update operator is multiplied by the retained write weight and then superimposed on the corresponding memory operator to update the orthogonal basis matrix and spectral intensity matrix. When the actual rank of the updated memory operator exceeds the maximum retained rank, spectral conservation splitting is performed on the corresponding variable-rank operator memory cell, and the read weights are rearranged synchronously. The reading weights of the original memory position and the split memory position corresponding to the same bidding acceptance unit are added together to obtain the acceptance score of the bidding acceptance unit. The acceptance score of each bidding acceptance unit and the weighted reading result are then encapsulated into a bidding arrangement state.
7. The multi-agent dynamic orchestration and scheduling system based on blockchain and two-way bidding according to claim 6, characterized in that, When the actual rank of the updated memory operator exceeds the maximum retained rank, spectral conservation splitting is performed on the corresponding variable-rank operator memory cell, and the read weights are rearranged synchronously, including: Perform eigenvalue decomposition on the updated memory operator, arrange the non-zero eigenvalues in descending order, and bind each non-zero eigenvalue and its corresponding eigenvector into a spectral direction; The spectral directions that are first in order and whose number does not exceed the maximum rank retention are retained in their original memory locations. The remaining spectral directions are grouped into groups that do not exceed the maximum rank retention, and then written into the memory locations in external memory that do not carry memory operators. Write the original operator memory cell identifier to each split memory position and write different split position numbers respectively. Bind the original bidding acceptance unit identifier, sequence position and each split position number, and update the correspondence between the bidding acceptance unit and the operator memory cell. Multiply the eigenvalues in each spectral direction by the outer product of the corresponding eigenvector and its transpose, and sum the resulting multiplications to obtain the original memory position and the memory operators corresponding to each split memory position; The query vector is applied to the memory operators at the original memory location and each split memory location to obtain the corresponding response intensity; Divide each response intensity by the sum of all response intensities to obtain the weight allocation ratio. Multiply the read weights before splitting by each weight allocation ratio and use them as the read weights for the original memory location and each split memory location.
8. The multi-agent dynamic orchestration and scheduling system based on blockchain and two-way bidding according to claim 1, characterized in that, The commitment solidification module includes: Read the acceptance score corresponding to each bidding acceptance unit in the bidding arrangement status; For bidding units that occupy the same resources and have overlapping execution periods, retain the bidding unit with the highest acceptance score and block the rest. The task-side agents and resource-side agents in the retained bidding acceptance units are identified as agent acceptance relationships; The bidding unit identifier, agent acceptance relationship, transaction quantity, transaction price, execution period, operator memory cell identifier and sequence position are written into the blockchain, and the corresponding task acceptance pointer and resource usage pointer are connected to form an on-chain orchestration commitment.
9. The multi-agent dynamic orchestration and scheduling system based on blockchain and two-way bidding according to claim 1, characterized in that, The execution tracing module includes: The bidding unit identifier in the execution record is compared with the bidding unit identifier in the on-chain orchestration commitment item by item, and the actual completed quantity, actual completed time, resource occupancy status and resource operation status that match the identifier are written into the corresponding on-chain orchestration commitment. Locate the corresponding operator memory cell based on the operator memory cell identifier in the on-chain orchestration commitment, and associate the execution record with the corresponding operator memory cell; When the actual completed quantity reaches the transaction quantity and the resource occupation status is released, the corresponding bidding acceptance unit and operator memory cell are marked as closed, and the updating of the corresponding memory operator, spectrum conservation splitting and reading weight rearrangement are stopped. When the actual completed quantity is lower than the transaction quantity and the current time reaches the end time of the execution period in the on-chain orchestration commitment, or when the resource operation status fails or the task requirements change, the corresponding bidding acceptance unit and operator memory cell will be marked as unsettled. The uncompleted quantity is obtained by subtracting the actual completed quantity from the transaction quantity. The remaining execution period is determined from the current time to the end of the task's executable period. The uncompleted quantity and the remaining execution period are written into the corresponding on-chain orchestration commitment.
10. The multi-agent dynamic orchestration and scheduling system based on blockchain and two-way bidding according to claim 1, characterized in that, The dynamic scheduling module includes: Based on the operator memory cell identifier corresponding to the unsettled status, locate the bidding acceptance unit, calculate the difference between the transaction quantity and the actual completed quantity, and form the uncompleted acceptance portion; Based on the uncompleted portion of the demand, a partial demand quote is generated. The available resource-side agents generate partial supply quotes. A two-way bidding match is executed between the partial demand quotes and the partial supply quotes to form a partial bidding acceptance unit. The local bidding acceptance unit is mapped to the operator memory cell and input into the improved neural Turing machine model. The new agent acceptance relationship is determined according to the formed bidding arrangement state. The new agent succession relationship is added to the blockchain as a commitment succession record, and the commitment succession record is associated with the corresponding on-chain orchestration commitment. In the commitment succession record, the unfinished part of the original agent succession relationship is marked as released, and the completed part is retained, forming a dynamic orchestration and scheduling result.
