Q-learning optical network-on-chip adaptive routing planning method based on Dijkstra algorithm

An optical-on-chip network and self-adaptive technology, which is applied in data switching networks, multiplexing system selection devices, digital transmission systems, etc., can solve problems such as low convergence speed, high time complexity, and inability to provide the shortest path. Achieve fast speed, expand the scope of application, and have universal effects

Active Publication Date: 2020-10-13
XIDIAN UNIV
View PDF7 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Dijkstra's algorithm is a well-known algorithm for finding the shortest path. It can quickly give the shortest path, but it can only provide one shortest path for each target point, and cannot provide other alternative shortest paths, and it is only applicable to non-negative weight planning
Compared with the Dijkstra algorithm, the Bellman-Ford algorithm supports the presence of negative weights, and the code implementation is relatively simple, but the Bellman-Ford algorithm has a high time complexity, the convergence speed is lower than the Dijkstra algorithm, and the Bellman-Ford algorithm requires a lot of information Passing, especially when negative weights are encountered, requires multiple iterations

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Q-learning optical network-on-chip adaptive routing planning method based on Dijkstra algorithm
  • Q-learning optical network-on-chip adaptive routing planning method based on Dijkstra algorithm
  • Q-learning optical network-on-chip adaptive routing planning method based on Dijkstra algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] Based on the N×N mesh network and the Cygnus router, the Q-learning optical on-chip network adaptive routing planning method based on the Dijkstra algorithm in this embodiment is specifically described. Please refer to figure 1 , figure 1 It is a flowchart of a Q-learning optical on-chip network adaptive routing planning method based on the Dijkstra algorithm provided by an embodiment of the present invention. As shown in the figure, the method of the present invention includes:

[0053] S1: Construct a network model and define network model parameters;

[0054] Specifically, in this embodiment, the network is represented by a weighted directed graph G(V, E), where V represents a router node set, and E represents a router node bidirectional data link set. Based on the N×N mesh network to construct a coordinate system and a Cygnus router with five inputs and five outputs, each node can be identified by coordinates (x, y). A path is defined as an ordered set of points ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a Q-learning optical network-on-chip adaptive routing planning method based on a Dijkstra algorithm, and the method comprises the steps: S1, constructing a network model, anddefining the parameters of the network model; S2, constructing a shortest path tree from each node to other nodes according to a Dijkstra algorithm and a network model, storing a plurality of shortestpaths from the node to a target node vd in each node according to a preset value, and obtaining a routing hop count h (vs, vd) of the shortest path from a source node vs to the target node vd; S3, according to a Q-learning algorithm, performing path planning by adopting a link selection mechanism based on an epsilon-greedy strategy to obtain a plurality of planned paths from the source node vs tothe target node vd, and obtaining reward values of the planned paths, the routing hop count of the planned paths not exceeding the routing hop count h (vs, vd) of the shortest path; and S4, obtainingan optimal path according to the reward value of the planned path. According to the method, the defect that each target point of the Dijkstra algorithm can only generate one shortest path is overcome.

Description

technical field [0001] The invention belongs to the technical field of dynamic routing planning, and in particular relates to a Q-learning optical chip network self-adaptive routing planning method based on Dijkstra algorithm. Background technique [0002] With the exponential growth of data traffic and the rapid development of smart devices, networks are becoming more and more complex and diverse, and more factors need to be considered, including stability, security, bandwidth, delay, load, etc. Now that the multi-processor capability of the chip is constantly increasing, the efficiency of on-chip communication is critical to the overall performance. During the entire information transmission process, the intermediate router needs to select the next-hop router according to the current state. However, in the overall and long-term perspective, the lack of global information makes the selected next-hop forwarding node often not necessarily the best, so people pay more attenti...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/721H04L12/733H04L12/751H04Q11/00H04L12/24H04L45/02H04L45/122
CPCH04L45/02H04Q11/0005H04L45/12H04L45/122H04L41/12
Inventor 李慧陈燕怡顾华玺杨银堂王琨
Owner XIDIAN UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products