The invention relates to the technical field of communication, in particular to an adjacent node sensing type network-on-
chip hybrid routing implementation method and device, an input module comprises five input ports including an east input port, a south input port, a west input port, a north input port and a local input port, each port is integrated with a routing direction calculation module, the routing direction calculation module generates two candidate routing directions based on a dimension order XY
algorithm and a dimension order YX
algorithm, and the two candidate routing directions are integrated with a network-on-
chip hybrid routing module; the method comprises the following steps that: firstly, a cross switch is connected with an input module and an output module, real-time sensing of the congestion state of an adjacent node is realized by combining a congestion
signal fed back by an adjacent
router, the cross switch is connected with the input module and the output module, a
data stream corresponding to a routing direction selected by an input port is forwarded to a matched output port, and meanwhile, the congestion state of the cross switch and a residual flit numerical value are transferred to the matched input port; the output module comprises an east output port, a south output port, a west output port, a north output port and a local output port, a function of
synchronizing self congestion states and residual flit values to adjacent routers is added, and finally, the routing direction calculation module screens out the routing direction with the lowest congestion degree to complete output. Compared with the prior art, the influence of NoC congestion on the transmission efficiency can be relieved, and the overall performance of the network-on-
chip is optimized.