Node matching method and apparatus, device, and medium
AssigneeSuzhou Metabrain Intelligent Technology Co., Ltd.
InventorsLei ZHANG, Tao YUAN, Yongzhe WEI, Lin WANG
Life of this patent
Estimating the term…
Abstract
Provided are a node matching method and apparatus, a device and a medium. The method includes: acquiring real-time state parameters of a plurality of allowed input ports and a plurality of allowed output ports of a target node; according to the real-time state parameters and a preset calculation rule, determining serial numbers of all the allowed input ports in an idle state, and determining serial numbers of all the allowed output ports in an idle state; matching the allowed input ports and the allowed output ports, which have corresponding serial numbers, to obtain matching relationships; and performing data transmission according to the matching relationships.
Claims22
A node matching method, applied to a target node in a multi-stage switching network, the target node comprising a plurality of allowed input ports and a plurality of allowed output ports, the node matching method comprising:
- acquiring real-time state parameters of the plurality of allowed input ports and the plurality of allowed output ports of the target node;
- wherein the real-time state parameters comprise:
- state information indicating whether each of the allowed input ports and each of the allowed output ports are idle, a dynamic priority serial number of each allowed input port among all the allowed input ports, and a dynamic priority serial number of each allowed output port among all the allowed output ports;
- determining serial numbers of all the allowed input ports in an idle state and serial numbers of all the allowed output ports in an idle state according to the real-time state parameters and a preset calculation rule;
- matching the allowed input ports with the allowed output ports, which have corresponding serial numbers, to obtain a matching relationship;
- and
- performing data transmission according to the matching relationship.
A node matching apparatus, applied to a target node in a multi-stage switching network, the target node comprising a plurality of allowed input ports and a plurality of allowed output ports, the node matching apparatus comprising:
- an acquisition module, configured to acquire real-time state parameters of the plurality of allowed input ports and the plurality of allowed output ports of the target node;
- wherein the real-time state parameters comprise:
- state information indicating whether each of the allowed input ports and each of the allowed output ports are idle, a dynamic priority serial number of each allowed input port among all the allowed input ports, and a dynamic priority serial number of each allowed output port among all the allowed output ports;
- a determination module, configured to according to the real-time state parameters and a preset calculation rule, determine serial numbers of all the allowed input ports in an idle state, and determine serial numbers of all the allowed output ports in an idle state;
- a matching module, configured to match the allowed input ports with the allowed output ports, which have corresponding serial numbers, to obtain matching relationships;
- and
- a transmission module, configured to perform data transmission according to the matching relationships.
(canceled)
(canceled)
A computer device, located in a target node in a multi-stage switching network, the target node comprising a plurality of allowed input ports and a plurality of allowed output ports, the computer device comprising:
- at least one processor;
- and
- a memory, which stores a computer program that can run on the processor, wherein the at least one processor is configured to:
- acquire real-time state parameters of the plurality of allowed input ports and the plurality of allowed output ports of the target node;
- wherein the real-time state parameters comprise:
- state information indicating whether each of the allowed input ports and each of the allowed output ports are idle, a dynamic priority serial number of each allowed input port among all the allowed input ports, and a dynamic priority serial number of each allowed output port among all the allowed output ports;
- determine serial numbers of all the allowed input ports in an idle state and serial numbers of all the allowed output ports in an idle state according to the real-time state parameters and a preset calculation rule;
- match the allowed input ports with the allowed output ports, which have corresponding serial numbers, to obtain a matching relationship;
- and
- perform data transmission according to the matching relationship.
Dependencies are inferred from the claim text.