The invention discloses a
relay method and device for centralized
quantum network key resource management, and the method comprises the steps: building an undirected
topological graph of a
quantum network based on the local
relay node information of the
quantum network, enabling the nodes of the undirected
topological graph to be local
relay nodes, enabling the edges of the undirected
topological graph to be the incidence relation between the local relay nodes, and enabling the edges of the undirected topological graph to be the incidence relation between the local relay nodes; the degree of the node is the number of edges having an association relationship with the current node; three types of centralized
quantum network topology models of I-type topology, II-type topology and III-type topology are provided around key consumption; the I-type structure adopts a non-conflict node to upload a key exclusive-or value, the II-type structure adopts a tolerance mechanism to allow uploading of key exclusive-or values of part of nodes, and the III-type structure adopts a shortest path mechanism to select a key relay
route for the
system; according to the method, the
exclusive or value strategy of the key node is selected through the strategy, so that the uploading of
exclusive or value strategies of all nodes is avoided, and the time
delay that a user requests the response of a key
system at one point is sacrificed, so that the waste of centralized routing key resources is reduced.