WO2022143020A1 - Chip and control method therefor, and computer-readable storage medium and electronic device - Google Patents

Chip and control method therefor, and computer-readable storage medium and electronic device Download PDF

Info

Publication number
WO2022143020A1
WO2022143020A1 PCT/CN2021/135799 CN2021135799W WO2022143020A1 WO 2022143020 A1 WO2022143020 A1 WO 2022143020A1 CN 2021135799 W CN2021135799 W CN 2021135799W WO 2022143020 A1 WO2022143020 A1 WO 2022143020A1
Authority
WO
WIPO (PCT)
Prior art keywords
routing
transmitted
chip
dynamic information
path
Prior art date
Application number
PCT/CN2021/135799
Other languages
French (fr)
Chinese (zh)
Inventor
吴斯奇
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2022143020A1 publication Critical patent/WO2022143020A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/70Routing based on monitoring results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • G06F15/173Interprocessor communication using an interconnection network, e.g. matrix, shuffle, pyramid, star, snowflake
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/302Route determination based on requested QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction
    • H04L49/109Integrated on microchip, e.g. switch-on-chip
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Definitions

  • the present application relates to the technical field of integrated circuits, and in particular, to a chip and a control method thereof, a computer-readable storage medium, and an electronic device.
  • Figure 1 is a general network topology proposed in the related art.
  • routing nodes are connected through local interconnection lines, each routing node is connected to a local IP core through a network interface, and data packets are Each routing node transmits data packets from the source IP core to the destination IP core, but in the process of data packet transmission, the next routing node for data packet transmission only depends on whether the next routing node is idle, which is easy to cause. The transmission line is blocked, and the overall utilization rate of the transmission line is not high.
  • Figure 2 is a system-level customized network topology proposed in the related art, which customizes certain routing rules according to specific system architecture and scene requirements. Incoming data packets can only be transmitted up and down, or given different rules according to the parity column, etc. Since the customization method will limit the flexibility of the bus application, it cannot be directly used between various projects, and once the topology structure is determined, the data flow direction is determined and cannot be dynamically adjusted, which limits the data to some extent. The selectivity of the stream affects the transmission efficiency.
  • the routing monitoring module is used to obtain the data transmission request and dynamic information of each routing node
  • the central processing module is used to determine the routing path according to the data transmission request and dynamic information, and configure the corresponding routing node based on the routing path, so as to perform data transmission through the corresponding routing node.
  • a chip control method comprising the following steps:
  • the routing path is determined according to the data transmission request and the dynamic information, and the corresponding routing node is configured based on the routing path to perform data transmission through the corresponding routing node.
  • An electronic device includes the above-mentioned chip.
  • the above-mentioned chip and its control method, computer-readable storage medium and electronic device by acquiring the data transmission request and dynamic information of each routing node, and determining the routing path according to the data transmission request and the dynamic information, and configuring the corresponding routing node based on the routing path , for data transmission through the corresponding routing node.
  • optimal routing suggestions are made for the data transmission of each routing node from the global perspective of the bus, which can effectively reduce network congestion, improve bandwidth utilization, and improve the flexibility and reusability of network topology.
  • Fig. 1 is a kind of general network topology structure proposed in the related art
  • Fig. 2 is a system-level customized network topology proposed in the related art
  • FIG. 3 is a schematic diagram of a chip in one embodiment
  • FIG. 4 is a schematic diagram of path planning of a chip in one embodiment
  • FIG. 5 is a schematic diagram of dynamic adjustment of the path of a chip in one embodiment
  • FIG. 6 is a schematic diagram of the security control of a chip in one embodiment
  • FIG. 7 is a flowchart of a control method of a chip in one embodiment.
  • a chip is provided, and the chip includes: a routing monitoring module 10 and a central processing module 20 .
  • the routing monitoring module 10 is used to obtain the data transmission request and dynamic information of each routing node R; the central processing module 20 is used to determine the routing path according to the data transmission request and the dynamic information, and configure the corresponding routing node R based on the routing path, to The data transmission takes place via the corresponding routing node R.
  • the chip may include multiple routing nodes R, each routing node R is connected by a local interconnection line (solid line in the figure), and some routing nodes R are connected through a network interface unit NIU ( Network Interface Unit) is connected with one or more local components to form a mesh on-chip network bus, where the local components can be CPU (Central Processing Unit, central processing unit), DMA (Direct Memory Access, direct memory access), APB (Advanced Peripheral Bus, peripheral bus), AHB (Advanced High Performance Bus, advanced high-performance bus), etc. There are no specific restrictions here.
  • CPU Central Processing Unit, central processing unit
  • DMA Direct Memory Access, direct memory access
  • APB Advanced Peripheral Bus, peripheral bus
  • AHB Advanced High Performance Bus, advanced high-performance bus
  • the local component at the source end can package the data to be transmitted to generate a data packet, and inject the data packet into the routing node R connected to it through the network interface component NIU, and then pass through the on-chip network bus.
  • the other routing node R transmits, and finally reaches the local component of the destination.
  • a routing monitoring module 10 as a routing monitoring and control center, responsible for collecting and monitoring the information of each routing node R in the on-chip network bus, including data transmission requests and dynamic information, wherein, data transmission requests include but not limited to is the source end, destination end, data packet size, priority information and transmission delay tolerance time of the data packet to be transmitted; dynamic information includes the information of the data packet to be transmitted and the quality of service (QoS) information of the routing node,
  • the information of the data packet to be transmitted includes but is not limited to the source end, destination end, data packet size, priority information, information of the previous routing node and the next routing node R of the data packet to be transmitted.
  • routing monitoring module 10 After the routing monitoring module 10 obtains the data transmission request and dynamic information of each routing node R, it directly sends the data transmission request to the central processing module 20 located on the on-chip network bus, and collects the dynamic information of each routing node R. The time stamp is appended and the packet is sent to the central processing module 20 located on the on-chip network bus.
  • the central processing module 20 may be a local component with data processing capability, such as a CPU, etc., which is newly added to the on-chip network bus, or may be a local component with data processing capability, such as a CPU, on the original on-chip network bus, which is not specifically limited here. .
  • the central processing module 20 selects different transmission rules and algorithms from the global perspective of the current bus, makes optimized routing suggestions for the data packets of each routing node R, and distributes the optimized routing suggestions to each.
  • the routing node R is used to achieve the purpose of centrally managing and controlling each routing node R in the on-chip network bus.
  • the central processing module 20 determines the routing path according to the data transmission request and dynamic information, distributes the routing path to the corresponding routing node R through the routing monitoring module 10, and configures the corresponding routing node R to pass the corresponding routing node R data transfer.
  • the management and control of routing can be improved from the local to the system level, which can effectively reduce the network congestion, improve bandwidth utilization, and increase flexibility and reuse of network topologies.
  • the path planning is implemented by the central processing module located on the on-chip network bus, the hardware resource occupation of the routing monitoring module located in the on-chip network bus can be effectively reduced, and the impact of the routing monitoring module on the area and power consumption of the on-chip network bus can be reduced.
  • the central processing module 20 when determining the routing path according to the data transmission request and the dynamic information, is specifically configured to: obtain the source end and the destination end of the data packet to be transmitted according to the data transmission request; The dynamic information of the routing nodes between them determines a routing path that satisfies a preset condition, and generates a routing path according to the routing path that satisfies the preset condition.
  • the local component at the source first packages the data to be transmitted into a data packet and injects it into the routing node R connected to it through the network interface component NIU, and then the routing node R receives the data packet to be transmitted. Then, the data transmission request is sent to the routing monitoring module 10 . After receiving the data transmission request, the routing monitoring module 10 sends the data transmission request and the real-time acquired dynamic information of each routing node R to the central processing module 20 .
  • the central processing module 20 After receiving the data transmission request, the central processing module 20 obtains the source end and the destination end of the data packet to be transmitted from the data transmission request, and performs path planning according to the dynamic information of the routing node R between the source end and the destination end, so as to Obtain a routing path that satisfies the preset condition, and generate a routing path according to the routing path that satisfies the preset condition.
  • the preset conditions include, but are not limited to, the shortest transmission time, the fewest routing nodes, and the best transmission signal.
  • routing node Router1 to routing node Router6 is used for routing path planning.
  • the shortest routing path between routing node Router1 and routing node Router3 can be obtained first (the direct path shown by R1 in the figure) , and determine whether the routing path is used, if not, use the path as the current shortest routing path; if it is used, obtain the shortest routing path other than this path (R2 or R3 in the figure), and Determine if the path is used, if not, use the path as the current shortest routing path.
  • the central processing module 20 generates a routing path according to the current shortest routing path, including the identification information of each routing node on the current shortest routing path, etc., and sends the routing path to the routing monitoring module 10, and the routing monitoring module 10 distributes it to the corresponding routing Node R, to transmit the data packet to be transmitted through the corresponding routing node R.
  • routing path planning is performed from the global perspective of the system according to the dynamic information of the source end, the destination end and all routing nodes between the data packets to be transmitted, rather than the routing path planning from the routing perspective or the bus perspective. , which can effectively reduce network congestion and improve bandwidth utilization.
  • the central processing module 20 is further configured to dynamically adjust the routing path according to the dynamic information during the data transmission process.
  • the central processing module 20 dynamically adjusts the routing path according to the dynamic information
  • it is specifically configured to: determine, according to the dynamic information, the usage of the path between the routing node where the data packet to be transmitted is currently located to the next routing node; is used, the unused routing path between the routing node where the data packet to be transmitted is currently located to the next routing node is obtained according to the dynamic information; the routing path is adjusted according to the unused routing path.
  • the routing node where the data packet to be transmitted is currently located is re-acquired according to the dynamic information. to an unused routing path between the next routing node, and data transmission is performed based on the unused routing path, so as to ensure that the data packets to be transmitted can be transmitted in time.
  • the central processing module 20 calculates a recommended path, such as R2, according to the QoS information of the data packets to be transmitted, combined with the current data packet transmission conditions on the routing nodes Router1, Router2 and Router6 and the priorities of these data packets as path planning conditions.
  • the network utilization rate and the transmission bandwidth can be effectively improved.
  • the central processing module 20 dynamically adjusts the routing path according to the dynamic information
  • it is specifically configured to: determine according to the dynamic information that there are multiple data packets to be transmitted within one processing cycle of the routing node and need to be transmitted through the same routing path , obtain the priority of each data packet to be transmitted according to the dynamic information; clear the same routing path in advance according to the priority of each data packet to be transmitted.
  • the central processing module 20 clears the same routing path in advance according to the priority of each to-be-transmitted data packet, it is specifically configured to: prohibit in advance the transmission of the low-priority to-be-transmitted data packets through the same routing path.
  • the routing node Router1 if there are multiple data packets to be transmitted that need to be transmitted through the same routing path, for example, the data packets to be transmitted from the routing node Router1 are transmitted to the routing node through the path R1.
  • Router3 the data packets to be transmitted of the routing node Router2 are transmitted to the routing node Router3 via the path R2 and the path R1
  • the data packets to be transmitted of the routing node Router6 are transmitted to the routing node Router3 via the path R3 and the path R1, and each to-be-transmitted data packet is obtained at this time.
  • the priority of the data packets is obtained at this time.
  • the data packets to be transmitted of the routing node Router2 and the data packets to be transmitted of the routing node Router6 will be regulated to other routing paths in advance.
  • the path R1 is locked to ensure that the data packets with the highest priority to be transmitted are transmitted to the routing node Router3 via the path R1.
  • the central processing module 20 will clear the path R1 in advance, for example, the data packets to be transmitted with lower priority will be transmitted in advance Control to other routing paths (the data packets that are being transmitted will continue to be transmitted), clear and lock the path R1 in advance to ensure that the subsequent data packets with higher priority and higher real-time performance can be transmitted with low delay.
  • dynamic transmission control is performed according to the priority of the data packets to be transmitted, so as to ensure that subsequent data packets with higher priority and higher real-time performance can be transmitted with low delay.
  • the central processing module 20 is further configured to perform security management and control on the routing node corresponding to the routing path during the data transmission process.
  • the central processing module 20 performs security management and control on the routing node corresponding to the routing path, it is specifically used for: when the running time or running state of the chip satisfies the preset condition, controlling the routing node in the security management and control state to control the non-secure data. Package is prohibited.
  • the running status includes but is not limited to the safe startup running status and the unauthorized safe access status.
  • the central processing module 20 also obtains the running time or running state of the entire chip, and then performs dynamic security management and control on each routing node based on the running time or running state. For example, in certain time periods or operating states, it is possible to flexibly restrict the access rights of some local components (such as master GPU, etc.) to other local components (such as slave SRAM, DDR, etc.), such as restricting blacklisting access from the master device to the slave device.
  • some local components such as master GPU, etc.
  • other local components such as slave SRAM, DDR, etc.
  • the routing node Router3 when the local component E needs to access the local component C, within a period of initialization after the security startup phase, the routing node Router3 will start the security control mechanism through the authorization of the central processing module 20, such as The access restriction is implemented through the SWTICH (switch) in the routing node Router3, and the local component E in the blacklist is prohibited from accessing it from various paths until after initialization or after the signature of the local component E is verified, through the central processing module 20. Once authorized again, the routing node Router3 lifts the access restriction to the local component E in the blacklist, thereby restricting the access of the master device in the blacklist to the slave device and ensuring the security of data transmission.
  • SWTICH switch
  • the central processing module can perform more cross-condition operations, such as superimposing factors such as the security and power supply of the entire network into the dynamic control of routing nodes, so as to control the routing nodes from a system perspective rather than a routing perspective or a bus perspective.
  • On-chip network bus for scheduling and security control.
  • the information of each routing node in the on-chip network bus is obtained through the routing monitoring module, and the routing path is determined and dynamically adjusted based on the information of each routing node from the system global perspective through the central processing module,
  • the management and control of routing is improved from local to system level, which can effectively reduce network congestion, improve bandwidth utilization, and improve the flexibility and reusability of network topology.
  • the central processing module on the on-chip network bus for global traffic control it is possible to use the computing power of the central processing module such as CPU without the cost of large hardware cost and complexity, through the combination of software and hardware, and according to more crossovers
  • the condition performs dynamic traffic control, security control, and power consumption control on data packets from a system-wide perspective.
  • a method for controlling a chip includes the following steps:
  • Step S702 acquiring the data transmission request and dynamic information of each routing node.
  • the data transmission request includes but is not limited to the source end, destination end, data packet size, priority information and transmission delay tolerance time of the data packet to be transmitted; dynamic information includes the information of the data packet to be transmitted and the service quality of the routing node information, wherein the data packet information to be transmitted includes but is not limited to the source end, destination end, data packet size, priority information and identification information of the next routing node of the data packet to be transmitted.
  • Step S704 Determine a routing path according to the data transmission request and the dynamic information, and configure a corresponding routing node based on the routing path, so as to perform data transmission through the corresponding routing node.
  • determining the routing path according to the data transmission request and dynamic information includes: acquiring the source and destination of the data packet to be transmitted according to the data transmission request; determining according to dynamic information of routing nodes between the source and the destination The routing paths that satisfy the preset conditions are generated, and the routing paths are generated according to the routing paths that satisfy the preset conditions.
  • control method for a chip further includes: during data transmission, dynamically adjusting the routing path according to dynamic information.
  • dynamically adjusting the routing path according to the dynamic information includes: determining, according to the dynamic information, the usage of the path between the routing node where the data packet to be transmitted is currently located to the next routing node; Obtain the unused routing path between the routing node where the data packet to be transmitted currently resides and the next routing node; adjust the routing path according to the unused routing path.
  • dynamically adjusting the routing path according to the dynamic information includes: when it is determined according to the dynamic information that there are multiple data packets to be transmitted that need to be transmitted through the same routing path within one processing cycle of the routing node, obtaining each data packet according to the dynamic information. The priority of each data packet to be transmitted; the same routing path is cleared in advance according to the priority of each data packet to be transmitted.
  • clearing the same routing path in advance according to the priority of each data packet to be transmitted includes: prohibiting in advance the transmission of data packets to be transmitted with a low priority through the same routing path.
  • control method for a chip further includes: during the data transmission process, performing security management and control on the routing node corresponding to the routing path.
  • performing security management and control on the routing node corresponding to the routing path includes: controlling the routing node in the security management and control state to prohibit non-secure data packets when the running time or running state of the chip satisfies a preset condition.
  • the running status includes but is not limited to the safe startup running status and the unauthorized safe access status.
  • a computer-readable storage medium on which a control program of a chip is stored, and when the control program is executed by a processor, the steps of the above-mentioned control method for a chip are implemented.
  • an electronic device including the above-mentioned chip.
  • the above-mentioned chip and its control method, computer-readable storage medium and electronic device by acquiring the data transmission request and dynamic information of each routing node, and determining the routing path according to the data transmission request and the dynamic information, and configuring the corresponding routing node based on the routing path , for data transmission through the corresponding routing node. Therefore, from the bus global perspective, optimal routing suggestions are made to the data packets of each routing node, which can effectively reduce network congestion, improve bandwidth utilization, and improve the flexibility and reusability of network topology.
  • Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Road (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDRSDRAM double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM synchronous chain Road (Synchlink) DRAM
  • SLDRAM synchronous chain Road (Synchlink) DRAM
  • Rambus direct RAM
  • DRAM direct memory bus dynamic RAM
  • RDRAM memory bus dynamic RAM

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A chip and a control method therefor, and a computer-readable storage medium and an electronic device. The chip comprises: a routing monitoring module, which is used for acquiring a data transmission request and dynamic information of each routing node; and a central processing module, which is used for determining a routing path according to the data transmission request and the dynamic information, and for configuring a corresponding routing node on the basis of the routing path, so as to perform data transmission by means of the corresponding routing node. Therefore, network jamming can be effectively reduced, the bandwidth utilization rate can be improved, and the flexibility and reusability of a network topological structure can be improved.

Description

芯片及其控制方法、计算机可读存储介质和电子设备Chip and control method thereof, computer-readable storage medium and electronic device
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本公开要求于2020年12月31日提交的申请号为202011621973.9,名称为“芯片及其控制方法、计算机可读存储介质和电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。The present disclosure claims the priority of the Chinese Patent Application No. 202011621973.9, filed on December 31, 2020, and entitled "Chip and Control Method, Computer-readable Storage Medium, and Electronic Device", the entire contents of which are incorporated by reference in in this disclosure.
技术领域technical field
本申请涉及集成电路技术领域,特别是涉及一种芯片及其控制方法、计算机可读存储介质和电子设备。The present application relates to the technical field of integrated circuits, and in particular, to a chip and a control method thereof, a computer-readable storage medium, and an electronic device.
背景技术Background technique
随着片上系统SOC(System On Chip)的应用需求越来越丰富、越来越复杂,片上多核MPSOC(Multi-processor System On Chip)已经成为发展的必然趋势,并且随着系统性能需求越来越高,处理器核之间的互连架构必须能够提供具有较低延迟和高吞吐率的服务,同时具有良好的可扩展性。传统的基于总线的集中式互连架构已经难以满足现今系统性能需求,而基于报文交换的片上网络NOC(Network On Chip)逐渐成为处理器核之间通信的首选互连架构,并且随着NOC技术的不断发展,相关技术中提出了多种NOC的网络拓扑结构,主要包括通用网络拓扑结构和定制化网络拓扑结构。As the application requirements of system-on-chip SOC (System On Chip) become richer and more complex, multi-core MPSOC (Multi-processor System On Chip) on chip has become an inevitable trend of development, and with the increasing demand for system performance High, the interconnect architecture between processor cores must be able to provide services with low latency and high throughput while being well scalable. The traditional bus-based centralized interconnection architecture has been difficult to meet the performance requirements of today's systems, and the network on chip NOC (Network On Chip) based on message switching has gradually become the preferred interconnection architecture for communication between processor cores. With the continuous development of technology, a variety of NOC network topologies have been proposed in related technologies, mainly including general network topologies and customized network topologies.
图1为相关技术中提出的一种通用网络拓扑结构,在该结构中,路由节点之间通过局部互连线相连接,每个路由节点通过网络接口与一个本地IP核相连接,数据包在各个路由节点中传输,以将数据包从源IP核传输至目的IP核,但在数据包传输过程中,数据包传输的下一个路由节点仅依赖于下一个路由节点是否空闲,这样很容易造成传输路线堵塞,传输线路的整体利用率不高。Figure 1 is a general network topology proposed in the related art. In this structure, routing nodes are connected through local interconnection lines, each routing node is connected to a local IP core through a network interface, and data packets are Each routing node transmits data packets from the source IP core to the destination IP core, but in the process of data packet transmission, the next routing node for data packet transmission only depends on whether the next routing node is idle, which is easy to cause. The transmission line is blocked, and the overall utilization rate of the transmission line is not high.
图2为相关技术中提出的一种系统级定制化网络拓扑结构,其根据具体的系统架构和场景需求定制一定的路由规则,例如路由节点对上下流入数据包仅能向左右传输流出,对左右流入数据包仅能向上下传输流出,或者根据奇偶列给出不同的规则等。由于定制方式会对总线应用的灵活性做出一定的限制,也无法在各个项目之间直接沿用,并且一旦拓扑结构确定,数据流向就确定,无法动态调整,这样在某种程度上限制了数据流的选择性,影响了传输效率。Figure 2 is a system-level customized network topology proposed in the related art, which customizes certain routing rules according to specific system architecture and scene requirements. Incoming data packets can only be transmitted up and down, or given different rules according to the parity column, etc. Since the customization method will limit the flexibility of the bus application, it cannot be directly used between various projects, and once the topology structure is determined, the data flow direction is determined and cannot be dynamically adjusted, which limits the data to some extent. The selectivity of the stream affects the transmission efficiency.
公开内容public content
基于此,有必要针对上述技术问题,提供一种能够降低网络堵塞,提高带宽利用率,以及提高网络拓扑结构的灵活性和重用性的芯片及其控制方法、计算机可读存储介质和电子设备。Based on this, it is necessary to provide a chip and its control method, computer-readable storage medium and electronic device that can reduce network congestion, improve bandwidth utilization, and improve the flexibility and reusability of network topology.
一种芯片,包括:A chip that includes:
路由监控模块,用于获取各个路由节点的数据传输请求和动态信息;The routing monitoring module is used to obtain the data transmission request and dynamic information of each routing node;
中央处理模块,用于根据数据传输请求和动态信息确定路由路径,并基于路由路径配置相应的路由节点,以通过相应的路由节点进行数据传输。The central processing module is used to determine the routing path according to the data transmission request and dynamic information, and configure the corresponding routing node based on the routing path, so as to perform data transmission through the corresponding routing node.
一种芯片的控制方法,包括以下步骤:A chip control method, comprising the following steps:
获取各个路由节点的数据传输请求和动态信息;Obtain the data transmission request and dynamic information of each routing node;
根据数据传输请求和动态信息确定路由路径,并基于路由路径配置相应的路由节点,以通过相应的路由节点进行数据传输。The routing path is determined according to the data transmission request and the dynamic information, and the corresponding routing node is configured based on the routing path to perform data transmission through the corresponding routing node.
一种计算机可读存储介质,其上存储有芯片的控制程序,控制程序被处理器执行时实现上述的芯片的控制方法的步骤。A computer-readable storage medium on which a control program of a chip is stored, and when the control program is executed by a processor, realizes the steps of the above-mentioned control method for a chip.
一种电子设备,包括上述的芯片。An electronic device includes the above-mentioned chip.
上述芯片及其控制方法、计算机可读存储介质和电子设备,通过获取各个路由节点的数据传输请求和动态信息,并根据数据传输请求和动态信息确定路由路径,以及基于路由路径配置相应的路由节点,以通过相应的路由节点进行数据传输。由此,从总线全局的角度对各个路由节点的数据传输做出优化路由建议,能够有效降低网络堵塞,提高带宽利用率,以及提高网络拓扑结构的灵活性和重用性。The above-mentioned chip and its control method, computer-readable storage medium and electronic device, by acquiring the data transmission request and dynamic information of each routing node, and determining the routing path according to the data transmission request and the dynamic information, and configuring the corresponding routing node based on the routing path , for data transmission through the corresponding routing node. As a result, optimal routing suggestions are made for the data transmission of each routing node from the global perspective of the bus, which can effectively reduce network congestion, improve bandwidth utilization, and improve the flexibility and reusability of network topology.
附图说明Description of drawings
图1为相关技术中提出的一种通用网络拓扑结构;Fig. 1 is a kind of general network topology structure proposed in the related art;
图2为相关技术中提出的一种系统级定制化网络拓扑结构;Fig. 2 is a system-level customized network topology proposed in the related art;
图3为一个实施例中芯片的示意图;3 is a schematic diagram of a chip in one embodiment;
图4为一个实施例中芯片的路径规划示意图;4 is a schematic diagram of path planning of a chip in one embodiment;
图5为一个实施例中芯片的路径动态调整示意图;5 is a schematic diagram of dynamic adjustment of the path of a chip in one embodiment;
图6为一个实施例中芯片的安全管制示意图;6 is a schematic diagram of the security control of a chip in one embodiment;
图7为一个实施例中芯片的控制方法的流程图。FIG. 7 is a flowchart of a control method of a chip in one embodiment.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对 本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the objectives, technical solutions and advantages of the present application more clear, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
在一个实施例中,参考图3所示,提供了一种芯片,该芯片包括:路由监控模块10和中央处理模块20。In one embodiment, referring to FIG. 3 , a chip is provided, and the chip includes: a routing monitoring module 10 and a central processing module 20 .
其中,路由监控模块10用于获取各个路由节点R的数据传输请求和动态信息;中央处理模块20用于根据数据传输请求和动态信息确定路由路径,并基于路由路径配置相应的路由节点R,以通过相应的路由节点R进行数据传输。Wherein, the routing monitoring module 10 is used to obtain the data transmission request and dynamic information of each routing node R; the central processing module 20 is used to determine the routing path according to the data transmission request and the dynamic information, and configure the corresponding routing node R based on the routing path, to The data transmission takes place via the corresponding routing node R.
具体来说,参考图3所示,芯片内部可包括多个路由节点R,各个路由节点R之间通过局部互连线(图中实线)相连接,部分路由节点R通过网络接口部件NIU(Network Interface Unit)与一个或多个本地部件相连接,以形成网状片上网络总线,其中本地部件可以是CPU(Central Processing Unit,中央处理器)、DMA(Direct Memory Access,直接存储器访问)、APB(Advanced Peripheral Bus,外围总线)、AHB(Advanced High Performance Bus,高级高性能总线)等,具体这里不做限制。当不同本地部件之间进行数据传输时,可由源端的本地部件将待传输数据打包生成数据包,并将数据包通过网络接口部件NIU注入至与之相连的路由节点R,然后通过片上网络总线内的其它路由节点R进行传输,并最终到达目的端的本地部件。Specifically, as shown in FIG. 3 , the chip may include multiple routing nodes R, each routing node R is connected by a local interconnection line (solid line in the figure), and some routing nodes R are connected through a network interface unit NIU ( Network Interface Unit) is connected with one or more local components to form a mesh on-chip network bus, where the local components can be CPU (Central Processing Unit, central processing unit), DMA (Direct Memory Access, direct memory access), APB (Advanced Peripheral Bus, peripheral bus), AHB (Advanced High Performance Bus, advanced high-performance bus), etc. There are no specific restrictions here. When data transmission is performed between different local components, the local component at the source end can package the data to be transmitted to generate a data packet, and inject the data packet into the routing node R connected to it through the network interface component NIU, and then pass through the on-chip network bus. The other routing node R transmits, and finally reaches the local component of the destination.
为了实现数据包在各个路由节点R之间的有序传输,避免造成网络堵塞,同时提高网络带宽利用率、网络结构的灵活性以及重用性等,可在片上网络总线内(如片上网络总线的中心位置等)设置一个路由监控模块10作为路由监控和控制中心,负责收集和监控片上网络总线内的各个路由节点R的信息,包括数据传输请求和动态信息,其中,数据传输请求包括但不限于是待传输数据包的源端、目的端、数据包大小、优先级信息和传输延时忍耐时间;动态信息包括待传输数据包的信息和路由节点的服务质量(Quality of Service,QoS)信息,其中待传输数据包的信息包括但不限于是待传输数据包的源端、目的端、数据包大小、优先级信息、上一路由节点和下一路由节点R的信息。路由监控模块10在获得各个路由节点R的数据传输请求和动态信息后,将数据传输请求直接发送给位于片上网络总线上的中央处理模块20,并将收集的各个路由节点R的动态信息汇总并附加上时间戳打包发送给位于片上网络总线上的中央处理模块20。In order to realize the orderly transmission of data packets between each routing node R, avoid network congestion, and at the same time improve network bandwidth utilization, flexibility and reusability of network structure, etc. Central location, etc.) set up a routing monitoring module 10 as a routing monitoring and control center, responsible for collecting and monitoring the information of each routing node R in the on-chip network bus, including data transmission requests and dynamic information, wherein, data transmission requests include but not limited to is the source end, destination end, data packet size, priority information and transmission delay tolerance time of the data packet to be transmitted; dynamic information includes the information of the data packet to be transmitted and the quality of service (QoS) information of the routing node, The information of the data packet to be transmitted includes but is not limited to the source end, destination end, data packet size, priority information, information of the previous routing node and the next routing node R of the data packet to be transmitted. After the routing monitoring module 10 obtains the data transmission request and dynamic information of each routing node R, it directly sends the data transmission request to the central processing module 20 located on the on-chip network bus, and collects the dynamic information of each routing node R. The time stamp is appended and the packet is sent to the central processing module 20 located on the on-chip network bus.
中央处理模块20可以是新增至片上网络总线上的具有数据处理能力的本地部件如CPU等,也可以是原片上网络总线上的具有数据处理能力的本地部件如CPU等,具体这里不做限制。中央处理模块20在接收到各个路由节点R的信息后,从当前总线全局角 度选择不同的传输规则和算法,对各个路由节点R的数据包做出优化路由建议,并将优化路由建议分发至各个路由节点R,以达到对片上网络总线内的各个路由节点R中央管控的目的。具体地,中央处理模块20根据数据传输请求和动态信息确定路由路径,并将路由路径通过路由监控模块10分发至相应的路由节点R,对相应路由节点R进行配置,以通过相应的路由节点R进行数据传输。The central processing module 20 may be a local component with data processing capability, such as a CPU, etc., which is newly added to the on-chip network bus, or may be a local component with data processing capability, such as a CPU, on the original on-chip network bus, which is not specifically limited here. . After receiving the information of each routing node R, the central processing module 20 selects different transmission rules and algorithms from the global perspective of the current bus, makes optimized routing suggestions for the data packets of each routing node R, and distributes the optimized routing suggestions to each. The routing node R is used to achieve the purpose of centrally managing and controlling each routing node R in the on-chip network bus. Specifically, the central processing module 20 determines the routing path according to the data transmission request and dynamic information, distributes the routing path to the corresponding routing node R through the routing monitoring module 10, and configures the corresponding routing node R to pass the corresponding routing node R data transfer.
在该示例中,通过获取片上网络总线内各个路由节点的信息,并基于各个路由节点的信息从系统全局角度进行路由路径规划,使得对路由的管控从局部提高至系统级,从而能够有效降低网络堵塞,提高带宽利用率,以及提高网络拓扑结构的灵活性和重用性。同时,由于路径规划由设于片上网络总线上的中央处理模块实现,因而可以有效降低设于片上网络总线内的路由监控模块的硬件资源占用,降低路由监控模块对片上网络总线面积以及功耗的影响,并且当中央处理模块采用原片上网络总线上的具有数据处理能力的本地部件如CPU时,不会引入额外的硬件成本,而且中央处理模块可以根据自身的负载,做更复杂、更灵活的运行,而硬件一旦设计好,很难改动,缺乏灵活性。In this example, by acquiring the information of each routing node in the on-chip network bus, and planning the routing path from a global perspective of the system based on the information of each routing node, the management and control of routing can be improved from the local to the system level, which can effectively reduce the network congestion, improve bandwidth utilization, and increase flexibility and reuse of network topologies. At the same time, since the path planning is implemented by the central processing module located on the on-chip network bus, the hardware resource occupation of the routing monitoring module located in the on-chip network bus can be effectively reduced, and the impact of the routing monitoring module on the area and power consumption of the on-chip network bus can be reduced. Influence, and when the central processing module uses the local components with data processing capabilities such as CPU on the original on-chip network bus, no additional hardware cost will be introduced, and the central processing module can be based on its own load. More complex and flexible run, and once the hardware is designed, it is difficult to change and lacks flexibility.
在一个实施例中,中央处理模块20在根据数据传输请求和动态信息确定路由路径时,具体用于:根据数据传输请求获取待传输数据包的源端和目的端;根据源端与目的端之间的路由节点的动态信息确定满足预设条件的路由路径,并根据满足预设条件的路由路径生成路由路径。In one embodiment, when determining the routing path according to the data transmission request and the dynamic information, the central processing module 20 is specifically configured to: obtain the source end and the destination end of the data packet to be transmitted according to the data transmission request; The dynamic information of the routing nodes between them determines a routing path that satisfies a preset condition, and generates a routing path according to the routing path that satisfies the preset condition.
具体来说,在进行数据传输之前,源端的本地部件先将待传输数据打包形成数据包后通过网络接口部件NIU注入至与之相连的路由节点R,然后路由节点R在接收到待传输数据包后,发送数据传输请求给路由监控模块10,路由监控模块10在接收到数据传输请求后,将数据传输请求以及实时获取的各个路由节点R的动态信息发送给中央处理模块20。中央处理模块20在接收到数据传输请求后,从数据传输请求中获取待传输数据包的源端和目的端,并根据源端与目的端之间的路由节点R的动态信息进行路径规划,以获得满足预设条件的路由路径,并根据满足预设条件的路由路径生成路由路径。其中,预设条件包括但不限于是传输时间最短、路由节点最少以及传输信号最好。Specifically, before data transmission, the local component at the source first packages the data to be transmitted into a data packet and injects it into the routing node R connected to it through the network interface component NIU, and then the routing node R receives the data packet to be transmitted. Then, the data transmission request is sent to the routing monitoring module 10 . After receiving the data transmission request, the routing monitoring module 10 sends the data transmission request and the real-time acquired dynamic information of each routing node R to the central processing module 20 . After receiving the data transmission request, the central processing module 20 obtains the source end and the destination end of the data packet to be transmitted from the data transmission request, and performs path planning according to the dynamic information of the routing node R between the source end and the destination end, so as to Obtain a routing path that satisfies the preset condition, and generate a routing path according to the routing path that satisfies the preset condition. The preset conditions include, but are not limited to, the shortest transmission time, the fewest routing nodes, and the best transmission signal.
例如,参考图4所示,假设本地部件A为源端,本地部件C为目的端,在将源端的数据包传输至目的端时,在数据包传输之前,可先根据源端与目的端之间的路由节点如路由节点Router1至路由节点Router6的动态信息进行路由路径规划,在规划时,可先获取路由节点Router1至路由节点Router3之间的最短路由路径(图中R1所示直连路径),并确定该路由路径是否被使用,如果未被使用,则将该路径作为当前最短路由路径;如果被使用,则获取除该路径之外的最短路由路径(如图中R2或R3),并确定该 路径是否被使用,如果未被使用,则将该路径作为当前最短路由路径。然后,中央处理模块20根据当前最短路由路径生成路由路径,包括当前最短路由路径上各个路由节点的标识信息等,并将路由路径发送至路由监控模块10,由路由监控模块10分发至相应的路由节点R,以通过相应的路由节点R对待传输数据包进行传输。For example, referring to Figure 4, assuming that the local component A is the source end and the local component C is the destination end, when transmitting data packets from the source end to the destination end, before the data packets are transmitted, the For example, the dynamic information of routing node Router1 to routing node Router6 is used for routing path planning. During planning, the shortest routing path between routing node Router1 and routing node Router3 can be obtained first (the direct path shown by R1 in the figure) , and determine whether the routing path is used, if not, use the path as the current shortest routing path; if it is used, obtain the shortest routing path other than this path (R2 or R3 in the figure), and Determine if the path is used, if not, use the path as the current shortest routing path. Then, the central processing module 20 generates a routing path according to the current shortest routing path, including the identification information of each routing node on the current shortest routing path, etc., and sends the routing path to the routing monitoring module 10, and the routing monitoring module 10 distributes it to the corresponding routing Node R, to transmit the data packet to be transmitted through the corresponding routing node R.
本实施例中,通过根据待传输数据包的源端、目的端以及两者之间的所有路由节点的动态信息从系统全局角度进行路由路径规划,而不是从路由角度或总线角度进行路由路径规划,因而能有效降低网络堵塞,提高带宽利用率。In this embodiment, routing path planning is performed from the global perspective of the system according to the dynamic information of the source end, the destination end and all routing nodes between the data packets to be transmitted, rather than the routing path planning from the routing perspective or the bus perspective. , which can effectively reduce network congestion and improve bandwidth utilization.
在一个实施例中,中央处理模块20还用于在数据传输过程中,根据动态信息对路由路径动态调整。In one embodiment, the central processing module 20 is further configured to dynamically adjust the routing path according to the dynamic information during the data transmission process.
作为一种示例,中央处理模块20在根据动态信息对路由路径动态调整时,具体用于:根据动态信息确定待传输数据包当前所在路由节点至下一路由节点之间的路径使用情况;如果路径被使用,则根据动态信息获取待传输数据包当前所在路由节点至下一路由节点之间未被使用的路由路径;根据未被使用的路由路径对路由路径进行调整。As an example, when the central processing module 20 dynamically adjusts the routing path according to the dynamic information, it is specifically configured to: determine, according to the dynamic information, the usage of the path between the routing node where the data packet to be transmitted is currently located to the next routing node; is used, the unused routing path between the routing node where the data packet to be transmitted is currently located to the next routing node is obtained according to the dynamic information; the routing path is adjusted according to the unused routing path.
也就是说,在数据传输过程中,如果根据动态信息确定出待传输数据包当前所在路由节点至下一路由节点之间的路径被使用,则根据动态信息重新获取待传输数据包当前所在路由节点至下一路由节点之间未被使用的路由路径,并基于未被使用的路由路径进行数据传输,以保证待传输数据包能够被及时传输。That is to say, during the data transmission process, if it is determined according to the dynamic information that the path between the routing node where the data packet to be transmitted is currently located to the next routing node is used, then the routing node where the data packet to be transmitted is currently located is re-acquired according to the dynamic information. to an unused routing path between the next routing node, and data transmission is performed based on the unused routing path, so as to ensure that the data packets to be transmitted can be transmitted in time.
例如,参考图4所示,假设待传输数据包当前所在路由节点为Router1,并且基于数据包传输之前确定的下一路由节点为Router3且路由路径为R1,那么在数据包传输过程中,如果路径R1被使用,中央处理模块20将根据路由节点的动态信息重新规划路径。作为一个示例,中央处理模块20根据待传输数据包的QoS信息,结合路由节点Router1、Router2和Router6上当前数据包的传输情况以及这些数据包的优先级作为路径规划条件,计算出推荐路径如R2或R3,这样可以使得路由节点Router1处的待传输数据包无需在路径R1等待,可以立即开始在路径R2或R3上传输,有效提高了网络利用率和传输带宽。当然,也可以基于其它动态信息进行路由路径的动态灵活调整,具体这里不做限制。For example, referring to FIG. 4 , assuming that the routing node where the data packet to be transmitted is currently located is Router1, and the next routing node determined before the data packet is transmitted is Router3 and the routing path is R1, then during the data packet transmission process, if the path R1 is used, and the central processing module 20 will re-plan the route according to the dynamic information of the routing node. As an example, the central processing module 20 calculates a recommended path, such as R2, according to the QoS information of the data packets to be transmitted, combined with the current data packet transmission conditions on the routing nodes Router1, Router2 and Router6 and the priorities of these data packets as path planning conditions. Or R3, so that the data packets to be transmitted at the routing node Router1 do not need to wait on the path R1, and can immediately start to transmit on the path R2 or R3, which effectively improves the network utilization rate and transmission bandwidth. Of course, dynamic and flexible adjustment of the routing path may also be performed based on other dynamic information, which is not specifically limited here.
本实施例中,在数据传输过程中,通过根据路由节点的动态信息从系统全局角度以及当前网络的拥挤程度对路由路径进行动态灵活的规划,可有效提高网络利用率和传输带宽。In this embodiment, in the process of data transmission, by dynamically and flexibly planning the routing path from the global perspective of the system and the current congestion degree of the network according to the dynamic information of the routing node, the network utilization rate and the transmission bandwidth can be effectively improved.
作为另一种示例,中央处理模块20在根据动态信息对路由路径动态调整时,具体用于:根据动态信息确定在路由节点的一个处理周期内存在多个待传输数据包需要通过 同一路由路径传输时,根据动态信息获取每个待传输数据包的优先级;根据每个待传输数据包的优先级对同一路由路径提前清场。As another example, when the central processing module 20 dynamically adjusts the routing path according to the dynamic information, it is specifically configured to: determine according to the dynamic information that there are multiple data packets to be transmitted within one processing cycle of the routing node and need to be transmitted through the same routing path , obtain the priority of each data packet to be transmitted according to the dynamic information; clear the same routing path in advance according to the priority of each data packet to be transmitted.
进一步地,中央处理模块20在根据每个待传输数据包的优先级对同一路由路径提前清场时,具体用于:提前禁止优先级低的待传输数据包通过同一路由路径进行传输。Further, when the central processing module 20 clears the same routing path in advance according to the priority of each to-be-transmitted data packet, it is specifically configured to: prohibit in advance the transmission of the low-priority to-be-transmitted data packets through the same routing path.
举例来说,参考图5所示,在路由节点的一个处理周期内,如果有多个待传输数据包需要通过同一路由路径传输,如路由节点Router1的待传输数据包经由路径R1传输至路由节点Router3,路由节点Router2的待传输数据包经由路径R2和路径R1传输至路由节点Router3,以及路由节点Router6的待传输数据包经由路径R3和路径R1传输至路由节点Router3,此时获取每个待传输数据包的优先级,假设路由节点Router1的待传输数据包的优先级最高,那么路由节点Router2的待传输数据包以及路由节点Router6的待传输数据包将被提前管制到其它路由路径,提前清空并锁定路径R1,以保证优先级最高的待传输数据包经由路径R1传输至路由节点Router3。For example, referring to FIG. 5 , in one processing cycle of the routing node, if there are multiple data packets to be transmitted that need to be transmitted through the same routing path, for example, the data packets to be transmitted from the routing node Router1 are transmitted to the routing node through the path R1. Router3, the data packets to be transmitted of the routing node Router2 are transmitted to the routing node Router3 via the path R2 and the path R1, and the data packets to be transmitted of the routing node Router6 are transmitted to the routing node Router3 via the path R3 and the path R1, and each to-be-transmitted data packet is obtained at this time. The priority of the data packets. Assuming that the priority of the data packets to be transmitted of the routing node Router1 is the highest, then the data packets to be transmitted of the routing node Router2 and the data packets to be transmitted of the routing node Router6 will be regulated to other routing paths in advance. The path R1 is locked to ensure that the data packets with the highest priority to be transmitted are transmitted to the routing node Router3 via the path R1.
换句话说,如果有优先级更高、实时性更高的待传输数据包需要在路径R1上传输,那么中央处理模块20将提前清空该路径R1,如将优先级低的待传输数据包提前管制到其它路由路径(正在传输的数据包将继续传输),提前清空并锁定路径R1,以保证后续优先级更高、实时性更高的数据包能够低延时传输。In other words, if there are data packets to be transmitted with higher priority and higher real-time performance that need to be transmitted on the path R1, the central processing module 20 will clear the path R1 in advance, for example, the data packets to be transmitted with lower priority will be transmitted in advance Control to other routing paths (the data packets that are being transmitted will continue to be transmitted), clear and lock the path R1 in advance to ensure that the subsequent data packets with higher priority and higher real-time performance can be transmitted with low delay.
本实施例中,通过根据待传输数据包的优先级来进行动态传输管制,以保证后续优先级更高、实时性更高的数据包能够低延时传输。In this embodiment, dynamic transmission control is performed according to the priority of the data packets to be transmitted, so as to ensure that subsequent data packets with higher priority and higher real-time performance can be transmitted with low delay.
在一个实施例中,中央处理模块20还用于在数据传输过程中,对路由路径对应的路由节点进行安全管控。In one embodiment, the central processing module 20 is further configured to perform security management and control on the routing node corresponding to the routing path during the data transmission process.
进一步地,中央处理模块20在对路由路径对应的路由节点进行安全管控时,具体用于:在芯片的运行时刻或运行状态满足预设条件时,控制处于安全管控状态的路由节点对非安全数据包禁行。其中,运行状态包括但不限于是安全启动运行状态和非授权安全访问状态。Further, when the central processing module 20 performs security management and control on the routing node corresponding to the routing path, it is specifically used for: when the running time or running state of the chip satisfies the preset condition, controlling the routing node in the security management and control state to control the non-secure data. Package is prohibited. Wherein, the running status includes but is not limited to the safe startup running status and the unauthorized safe access status.
也就是说,在数据传输过程中,中央处理模块20还获取整个芯片的运行时刻或运行状态,然后基于运行时刻或运行状态对各个路由节点进行动态安全管控。例如,在某些时间段或运行状态里,可以灵活限制某些本地部件(如主设备GPU等)对另一些本地部件(如从设备SRAM、DDR等)的访问权限,例如限制列入黑名单里的主设备对从设备的访问。That is to say, during the data transmission process, the central processing module 20 also obtains the running time or running state of the entire chip, and then performs dynamic security management and control on each routing node based on the running time or running state. For example, in certain time periods or operating states, it is possible to flexibly restrict the access rights of some local components (such as master GPU, etc.) to other local components (such as slave SRAM, DDR, etc.), such as restricting blacklisting access from the master device to the slave device.
作为一个示例,参考图6所示,当本地部件E需要访问本地部件C时,在安全启动阶段后的一段初始化时间内,经由中央处理模块20的授权,路由节点Router3将启动 安全管控机制,如通过路由节点Router3里的SWTICH(开关)实施访问限制,禁止其黑名单里的本地部件E从各种路径对其进行访问,直至初始化之后或者对本地部件E验签之后,经由中央处理模块20的再次授权,路由节点Router3解除对黑名单里本地部件E的访问限制,由此可限制列入黑名单里的主设备对从设备的访问,保证数据传输的安全性。As an example, referring to FIG. 6 , when the local component E needs to access the local component C, within a period of initialization after the security startup phase, the routing node Router3 will start the security control mechanism through the authorization of the central processing module 20, such as The access restriction is implemented through the SWTICH (switch) in the routing node Router3, and the local component E in the blacklist is prohibited from accessing it from various paths until after initialization or after the signature of the local component E is verified, through the central processing module 20. Once authorized again, the routing node Router3 lifts the access restriction to the local component E in the blacklist, thereby restricting the access of the master device in the blacklist to the slave device and ensuring the security of data transmission.
作为另一示例,参考图6所示,在系统运行过程中,如果发现某些本地部件(如主设备GPU)对某些非授权安全地址访问报警后,禁止本地部件(如主设备GPU)对总线内某些本地部件(如从设备SRAM等)的访问。As another example, referring to FIG. 6 , during system operation, if it is found that some local components (such as the main device GPU) access an alarm to some unauthorized security addresses, the local components (such as the main device GPU) are prohibited from accessing certain unauthorized security addresses. Access to certain local components within the bus (eg slave SRAM, etc.).
本实施例中,通过根据芯片的运行时刻或运行状态来进行动态安全管控,可保证整个片上网络总线的安全性。也就是说,中央处理模块可以做更多交叉条件的运算,如将整个网络的安全、电源等因素叠加至对路由节点的动态控制中,做到从系统角度而不是路由角度或总线角度来对片上网络总线进行调度和安全控制。In this embodiment, by performing dynamic security management and control according to the running time or running state of the chip, the security of the entire on-chip network bus can be guaranteed. That is to say, the central processing module can perform more cross-condition operations, such as superimposing factors such as the security and power supply of the entire network into the dynamic control of routing nodes, so as to control the routing nodes from a system perspective rather than a routing perspective or a bus perspective. On-chip network bus for scheduling and security control.
综上,本发明实施例的芯片,通过路由监控模块获取片上网络总线内各个路由节点的信息,并通过中央处理模块基于各个路由节点的信息从系统全局角度确定路由路径以及对路由路径动态调整,使得对路由的管控从局部提高至系统级,从而能够有效降低网络堵塞,提高带宽利用率,以及提高网络拓扑结构的灵活性和重用性。同时,通过片上网络总线上的中央处理模块进行全局流量管控,能够在没有较大硬件成本和复杂度的代价下,借助中央处理模块如CPU的运算能力,通过软硬结合,以及根据更多交叉条件从系统全局角度对数据包进行动态流量管控、安全控制以及功耗控制等。To sum up, in the chip of the embodiment of the present invention, the information of each routing node in the on-chip network bus is obtained through the routing monitoring module, and the routing path is determined and dynamically adjusted based on the information of each routing node from the system global perspective through the central processing module, The management and control of routing is improved from local to system level, which can effectively reduce network congestion, improve bandwidth utilization, and improve the flexibility and reusability of network topology. At the same time, through the central processing module on the on-chip network bus for global traffic control, it is possible to use the computing power of the central processing module such as CPU without the cost of large hardware cost and complexity, through the combination of software and hardware, and according to more crossovers The condition performs dynamic traffic control, security control, and power consumption control on data packets from a system-wide perspective.
在一个实施例中,提供一种芯片的控制方法,参考图7所示,芯片的控制方法包括以下步骤:In one embodiment, a method for controlling a chip is provided. Referring to FIG. 7 , the method for controlling a chip includes the following steps:
步骤S702,获取各个路由节点的数据传输请求和动态信息。其中,数据传输请求包括但不限于是待传输数据包的源端、目的端、数据包大小、优先级信息和传输延时忍耐时间;动态信息包括待传输数据包的信息和路由节点的服务质量信息,其中待传输数据包信息包括但不限于是待传输数据包的源端、目的端、数据包大小、优先级信息和下一路由节点的标识信息。Step S702, acquiring the data transmission request and dynamic information of each routing node. Among them, the data transmission request includes but is not limited to the source end, destination end, data packet size, priority information and transmission delay tolerance time of the data packet to be transmitted; dynamic information includes the information of the data packet to be transmitted and the service quality of the routing node information, wherein the data packet information to be transmitted includes but is not limited to the source end, destination end, data packet size, priority information and identification information of the next routing node of the data packet to be transmitted.
步骤S704,根据数据传输请求和动态信息确定路由路径,并基于路由路径配置相应的路由节点,以通过相应的路由节点进行数据传输。Step S704: Determine a routing path according to the data transmission request and the dynamic information, and configure a corresponding routing node based on the routing path, so as to perform data transmission through the corresponding routing node.
在一个实施例中,根据数据传输请求和动态信息确定路由路径,包括:根据数据传输请求获取待传输数据包的源端和目的端;根据源端与目的端之间的路由节点的动态信息确定满足预设条件的路由路径,并根据满足预设条件的路由路径生成路由路径。In one embodiment, determining the routing path according to the data transmission request and dynamic information includes: acquiring the source and destination of the data packet to be transmitted according to the data transmission request; determining according to dynamic information of routing nodes between the source and the destination The routing paths that satisfy the preset conditions are generated, and the routing paths are generated according to the routing paths that satisfy the preset conditions.
在一个实施例中,上述的芯片的控制方法,还包括:在数据传输过程中,根据动态信息对路由路径动态调整。In one embodiment, the above-mentioned control method for a chip further includes: during data transmission, dynamically adjusting the routing path according to dynamic information.
在一个实施例中,根据动态信息对路由路径动态调整,包括:根据动态信息确定待传输数据包当前所在路由节点至下一路由节点之间的路径使用情况;如果路径被使用,则根据动态信息获取待传输数据包当前所在路由节点至下一路由节点之间未被使用的路由路径;根据未被使用的路由路径对路由路径进行调整。In one embodiment, dynamically adjusting the routing path according to the dynamic information includes: determining, according to the dynamic information, the usage of the path between the routing node where the data packet to be transmitted is currently located to the next routing node; Obtain the unused routing path between the routing node where the data packet to be transmitted currently resides and the next routing node; adjust the routing path according to the unused routing path.
在另一个实施例中,根据动态信息对路由路径动态调整,包括:根据动态信息确定在路由节点的一个处理周期内存在多个待传输数据包需要通过同一路由路径传输时,根据动态信息获取每个待传输数据包的优先级;根据每个待传输数据包的优先级对同一路由路径提前清场。In another embodiment, dynamically adjusting the routing path according to the dynamic information includes: when it is determined according to the dynamic information that there are multiple data packets to be transmitted that need to be transmitted through the same routing path within one processing cycle of the routing node, obtaining each data packet according to the dynamic information. The priority of each data packet to be transmitted; the same routing path is cleared in advance according to the priority of each data packet to be transmitted.
在一个实施例中,根据每个待传输数据包的优先级对同一路由路径提前清场,包括:提前禁止优先级低的待传输数据包通过同一路由路径进行传输。In one embodiment, clearing the same routing path in advance according to the priority of each data packet to be transmitted includes: prohibiting in advance the transmission of data packets to be transmitted with a low priority through the same routing path.
在一个实施例中,上述的芯片的控制方法,还包括:在数据传输过程中,对路由路径对应的路由节点进行安全管控。In one embodiment, the above-mentioned control method for a chip further includes: during the data transmission process, performing security management and control on the routing node corresponding to the routing path.
在一个实施例中,对路由路径对应的路由节点进行安全管控,包括:在芯片的运行时刻或运行状态满足预设条件时,控制处于安全管控状态的路由节点对非安全数据包禁行。其中,运行状态包括但不限于是安全启动运行状态和非授权安全访问状态。In one embodiment, performing security management and control on the routing node corresponding to the routing path includes: controlling the routing node in the security management and control state to prohibit non-secure data packets when the running time or running state of the chip satisfies a preset condition. Wherein, the running status includes but is not limited to the safe startup running status and the unauthorized safe access status.
关于芯片的控制方法的具体限定可以参见上文中对于芯片的限定,在此不再赘述。For the specific limitation of the control method of the chip, reference may be made to the limitation of the chip above, which will not be repeated here.
在一个实施例中,提供一种计算机可读存储介质,其上存储有芯片的控制程序,控制程序被处理器执行时实现上述的芯片的控制方法的步骤。In one embodiment, a computer-readable storage medium is provided, on which a control program of a chip is stored, and when the control program is executed by a processor, the steps of the above-mentioned control method for a chip are implemented.
在一个实施例中,提供一种电子设备,包括上述的芯片。In one embodiment, an electronic device is provided, including the above-mentioned chip.
上述芯片及其控制方法、计算机可读存储介质和电子设备,通过获取各个路由节点的数据传输请求和动态信息,并根据数据传输请求和动态信息确定路由路径,以及基于路由路径配置相应的路由节点,以通过相应的路由节点进行数据传输。由此,从总线全局的角度对各个路由节点的数据包做出优化路由建议,能够有效降低网络堵塞,提高带宽利用率,以及提高网络拓扑结构的灵活性和重用性。The above-mentioned chip and its control method, computer-readable storage medium and electronic device, by acquiring the data transmission request and dynamic information of each routing node, and determining the routing path according to the data transmission request and the dynamic information, and configuring the corresponding routing node based on the routing path , for data transmission through the corresponding routing node. Therefore, from the bus global perspective, optimal routing suggestions are made to the data packets of each routing node, which can effectively reduce network congestion, improve bandwidth utilization, and improve the flexibility and reusability of network topology.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、 可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage In the medium, when the computer program is executed, it may include the processes of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other medium used in the various embodiments provided in this application may include non-volatile and/or volatile memory. Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Road (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features It is considered to be the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present application, and the descriptions thereof are specific and detailed, but should not be construed as a limitation on the scope of the invention patent. It should be pointed out that for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of the present application shall be subject to the appended claims.

Claims (23)

  1. 一种芯片,其特征在于,包括:A chip, characterized in that it includes:
    路由监控模块,用于获取各个路由节点的数据传输请求和动态信息,其中,所述动态信息包括待传输数据包的信息和路由节点的服务质量信息;a routing monitoring module, configured to acquire data transmission requests and dynamic information of each routing node, wherein the dynamic information includes information of data packets to be transmitted and service quality information of routing nodes;
    中央处理模块,用于根据所述数据传输请求和所述动态信息确定路由路径,并基于所述路由路径配置相应的路由节点,以通过所述相应的路由节点进行数据传输。The central processing module is configured to determine a routing path according to the data transmission request and the dynamic information, and configure a corresponding routing node based on the routing path, so as to perform data transmission through the corresponding routing node.
  2. 根据权利要求1所述的芯片,其特征在于,所述中央处理模块具体用于:通过所述路由监控模块将所述路由路径分发至相应的路由节点。The chip according to claim 1, wherein the central processing module is specifically configured to: distribute the routing paths to corresponding routing nodes through the routing monitoring module.
  3. 根据权利要求1所述的芯片,其特征在于,所述中央处理模块在根据所述数据传输请求和所述动态信息确定路由路径时,具体用于:The chip according to claim 1, wherein when the central processing module determines the routing path according to the data transmission request and the dynamic information, the central processing module is specifically configured to:
    根据所述数据传输请求获取待传输数据包的源端和目的端;Obtain the source and destination of the data packet to be transmitted according to the data transmission request;
    根据所述源端与所述目的端之间的路由节点的动态信息确定满足预设条件的路由路径,并根据所述满足预设条件的路由路径生成所述路由路径。A routing path satisfying a preset condition is determined according to dynamic information of a routing node between the source end and the destination end, and the routing path is generated according to the routing path satisfying the preset condition.
  4. 根据权利要求1-3中任一项所述的芯片,其特征在于,所述中央处理模块还用于:The chip according to any one of claims 1-3, wherein the central processing module is further used for:
    在数据传输过程中,根据所述动态信息对所述路由路径动态调整。During the data transmission process, the routing path is dynamically adjusted according to the dynamic information.
  5. 根据权利要求4所述的芯片,其特征在于,所述中央处理模块在根据所述动态信息对所述路由路径动态调整时,具体用于:The chip according to claim 4, wherein when the central processing module dynamically adjusts the routing path according to the dynamic information, it is specifically used for:
    根据所述动态信息确定待传输数据包当前所在路由节点至下一路由节点之间的路径使用情况;Determine, according to the dynamic information, the usage of the path between the routing node where the data packet to be transmitted is currently located to the next routing node;
    如果所述路径被使用,则根据所述动态信息获取所述待传输数据包当前所在路由节点至下一路由节点之间未被使用的路由路径;If the path is used, obtain an unused routing path between the routing node where the data packet to be transmitted currently resides and the next routing node according to the dynamic information;
    根据所述未被使用的路由路径对所述路由路径进行调整。The routing paths are adjusted according to the unused routing paths.
  6. 根据权利要求4所述的芯片,其特征在于,所述中央处理模块在根据所述动态信息对所述路由路径动态调整时,具体用于:The chip according to claim 4, wherein when the central processing module dynamically adjusts the routing path according to the dynamic information, it is specifically used for:
    根据所述动态信息确定在路由节点的一个处理周期内存在多个待传输数据包需要通过同一路由路径传输时,根据所述动态信息获取每个待传输数据包的优先级;When it is determined according to the dynamic information that there are multiple data packets to be transmitted that need to be transmitted through the same routing path within one processing cycle of the routing node, the priority of each data packet to be transmitted is obtained according to the dynamic information;
    根据所述每个待传输数据包的优先级对所述同一路由路径提前清场。The same routing path is cleared in advance according to the priority of each data packet to be transmitted.
  7. 根据权利要求6所述的芯片,其特征在于,所述中央处理模块在根据所述每个待传输数据包的优先级对所述同一路由路径提前清场时,具体用于:The chip according to claim 6, wherein, when the central processing module clears the same routing path in advance according to the priority of each data packet to be transmitted, it is specifically used for:
    提前禁止优先级低的待传输数据包通过所述同一路由路径进行传输。The transmission of data packets with low priority to be transmitted through the same routing path is prohibited in advance.
  8. 根据权利要求1-3中任一项所述的芯片,其特征在于,所述中央处理模块还用于:The chip according to any one of claims 1-3, wherein the central processing module is further used for:
    在数据传输过程中,对所述路由路径对应的路由节点进行安全管控。During the data transmission process, security management and control is performed on the routing node corresponding to the routing path.
  9. 根据权利要求8所述的芯片,其特征在于,所述中央处理模块在对所述路由路径对应的路由节点进行安全管控时,具体用于:The chip according to claim 8, wherein when the central processing module performs security management and control on the routing node corresponding to the routing path, it is specifically used for:
    在所述芯片的运行时刻或运行状态满足预设条件时,控制处于安全管控状态的路由节点对非安全数据包禁行。When the running time or running state of the chip satisfies the preset condition, the routing node in the security management and control state is controlled to forbid the non-secure data packets.
  10. 根据权利要求9所述的芯片,其特征在于,所述运行状态包括安全启动运行状态和非授权安全访问状态中的至少一种。The chip according to claim 9, wherein the operating state includes at least one of a secure startup operating state and an unauthorized secure access state.
  11. 根据权利要求1所述的芯片,其特征在于,所述数据传输请求包括待传输数据包的源端、目的端、数据包大小、优先级信息和传输延时忍耐时间。The chip according to claim 1, wherein the data transmission request includes the source end, destination end, data packet size, priority information and transmission delay tolerance time of the data packet to be transmitted.
  12. 一种芯片的控制方法,其特征在于,包括以下步骤:A method for controlling a chip, comprising the following steps:
    获取各个路由节点的数据传输请求和动态信息;Obtain the data transmission request and dynamic information of each routing node;
    根据所述数据传输请求和所述动态信息确定路由路径,并基于所述路由路径配置相应的路由节点,以通过所述相应的路由节点进行数据传输。A routing path is determined according to the data transmission request and the dynamic information, and a corresponding routing node is configured based on the routing path, so as to perform data transmission through the corresponding routing node.
  13. 根据权利要求12所述的芯片的控制方法,其特征在于,所述根据所述数据传输请求和所述动态信息确定路由路径,包括:The chip control method according to claim 12, wherein the determining a routing path according to the data transmission request and the dynamic information comprises:
    根据所述数据传输请求获取待传输数据包的源端和目的端;Obtain the source and destination of the data packet to be transmitted according to the data transmission request;
    根据所述源端与所述目的端之间的路由节点的动态信息确定满足预设条件的路由路径,并根据所述满足预设条件的路由路径生成所述路由路径。A routing path satisfying a preset condition is determined according to dynamic information of a routing node between the source end and the destination end, and the routing path is generated according to the routing path satisfying the preset condition.
  14. 根据权利要求12或13所述的芯片的控制方法,其特征在于,还包括:The method for controlling a chip according to claim 12 or 13, further comprising:
    在数据传输过程中,根据所述动态信息对所述路由路径动态调整。During the data transmission process, the routing path is dynamically adjusted according to the dynamic information.
  15. 根据权利要求14所述的芯片的控制方法,其特征在于,所述根据所述动态信息对所述路由路径动态调整,包括:The method for controlling a chip according to claim 14, wherein the dynamically adjusting the routing path according to the dynamic information comprises:
    根据所述动态信息确定待传输数据包当前所在路由节点至下一路由节点之间的路径使用情况;Determine the path usage between the routing node where the data packet to be transmitted is currently located to the next routing node according to the dynamic information;
    如果所述路径被使用,则根据所述动态信息获取所述待传输数据包当前所在路由节点至下一路由节点之间未被使用的路由路径;If the path is used, obtain an unused routing path between the routing node where the data packet to be transmitted currently resides and the next routing node according to the dynamic information;
    根据所述未被使用的路由路径对所述路由路进行调整。The routing paths are adjusted according to the unused routing paths.
  16. 根据权利要求14所述的芯片的控制方法,其特征在于,所述根据所述动态信 息对所述路由路径动态调整,包括:The control method of chip according to claim 14, is characterized in that, the described routing path is dynamically adjusted according to described dynamic information, comprising:
    根据所述动态信息确定在路由节点的一个处理周期内存在多个待传输数据包需要通过同一路由路径传输时,根据所述动态信息获取每个待传输数据包的优先级;When it is determined according to the dynamic information that there are multiple data packets to be transmitted that need to be transmitted through the same routing path within one processing cycle of the routing node, the priority of each data packet to be transmitted is obtained according to the dynamic information;
    根据所述每个待传输数据包的优先级对所述同一路由路径提前清场。The same routing path is cleared in advance according to the priority of each data packet to be transmitted.
  17. 根据权利要求16所述的芯片的控制方法,其特征在于,所述根据所述每个待传输数据包的优先级对所述同一路由路径提前清场,包括:The chip control method according to claim 16, wherein the clearing the same routing path in advance according to the priority of each data packet to be transmitted comprises:
    提前禁止优先级低的待传输数据包通过所述同一路由路径进行传输。The transmission of data packets with low priority to be transmitted through the same routing path is prohibited in advance.
  18. 根据权利要求12或13所述的芯片的控制方法,其特征在于,还包括:The method for controlling a chip according to claim 12 or 13, further comprising:
    在数据传输过程中,对所述路由路径对应的路由节点进行安全管控。During the data transmission process, security management and control is performed on the routing node corresponding to the routing path.
  19. 根据权利要求18所述的芯片的控制方法,其特征在于,所述对所述路由路径对应的路由节点进行安全管控,包括:The chip control method according to claim 18, wherein the performing security management and control on the routing node corresponding to the routing path comprises:
    在所述芯片的运行时刻或运行状态满足预设条件时,控制处于安全管控状态的路由节点对非安全数据包禁行。When the running time or running state of the chip satisfies the preset condition, the routing node in the security management and control state is controlled to forbid the non-secure data packets.
  20. 根据权利要求19所述的芯片的控制方法,其特征在于,所述运行状态包括安全启动运行状态和非授权安全访问状态中的至少一种。The method for controlling a chip according to claim 19, wherein the operating state includes at least one of a secure startup operating state and an unauthorized secure access state.
  21. 根据权利要求12所述的芯片的控制方法,其特征在于,所述数据传输请求包括待传输数据包的源端、目的端、数据包大小、优先级信息和传输延时忍耐时间。The chip control method according to claim 12, wherein the data transmission request includes the source end, destination end, data packet size, priority information and transmission delay tolerance time of the data packet to be transmitted.
  22. 一种计算机可读存储介质,其上存储有芯片的控制程序,其特征在于,所述控制程序被处理器执行时实现权利要求12至21中任一项所述的芯片的控制方法的步骤。A computer-readable storage medium on which a control program of a chip is stored, characterized in that, when the control program is executed by a processor, the steps of the control method for a chip according to any one of claims 12 to 21 are implemented.
  23. 一种电子设备,其特征在于,包括如权利要求1-11中任一项所述的芯片。An electronic device, characterized by comprising the chip according to any one of claims 1-11.
PCT/CN2021/135799 2020-12-31 2021-12-06 Chip and control method therefor, and computer-readable storage medium and electronic device WO2022143020A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011621973.9A CN114697249B (en) 2020-12-31 2020-12-31 Chip, control method thereof, computer-readable storage medium, and electronic device
CN202011621973.9 2020-12-31

Publications (1)

Publication Number Publication Date
WO2022143020A1 true WO2022143020A1 (en) 2022-07-07

Family

ID=82134288

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/135799 WO2022143020A1 (en) 2020-12-31 2021-12-06 Chip and control method therefor, and computer-readable storage medium and electronic device

Country Status (2)

Country Link
CN (1) CN114697249B (en)
WO (1) WO2022143020A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115883022A (en) * 2023-01-06 2023-03-31 北京象帝先计算技术有限公司 DMA (direct memory access) transmission control method and device, electronic equipment and readable storage medium
CN116192733A (en) * 2023-02-06 2023-05-30 极芯通讯技术(南京)有限公司 Data transmission method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546406A (en) * 2011-12-28 2012-07-04 龙芯中科技术有限公司 Network-on-chip routing centralized control system and device and adaptive routing control method
CN103973482A (en) * 2014-04-22 2014-08-06 南京航空航天大学 Fault-tolerant on-chip network system with global communication service management capability and method
CN107395503A (en) * 2017-08-25 2017-11-24 东南大学 A kind of network-on-chip method for routing based on linear programming
US20200153757A1 (en) * 2018-11-13 2020-05-14 Advanced Micro Devices, Inc. Routing Flits in a Network-on-Chip Based on Operating States of Routers
CN111475457A (en) * 2020-04-08 2020-07-31 苏州浪潮智能科技有限公司 Method, device and storage medium for determining data transmission path of network on chip
CN112003787A (en) * 2020-08-14 2020-11-27 北京灵汐科技有限公司 Routing path determining method, device, control equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015133950A1 (en) * 2014-03-06 2015-09-11 Telefonaktiebolaget L M Ericsson (Publ) Routing path selection based on dynamical metric values
CN110505168B (en) * 2019-08-22 2020-12-29 合肥工业大学 NI interface controller and data transmission method
CN111522775B (en) * 2020-04-22 2023-05-16 合肥工业大学 Network-on-chip routing device and control method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546406A (en) * 2011-12-28 2012-07-04 龙芯中科技术有限公司 Network-on-chip routing centralized control system and device and adaptive routing control method
CN103973482A (en) * 2014-04-22 2014-08-06 南京航空航天大学 Fault-tolerant on-chip network system with global communication service management capability and method
CN107395503A (en) * 2017-08-25 2017-11-24 东南大学 A kind of network-on-chip method for routing based on linear programming
US20200153757A1 (en) * 2018-11-13 2020-05-14 Advanced Micro Devices, Inc. Routing Flits in a Network-on-Chip Based on Operating States of Routers
CN111475457A (en) * 2020-04-08 2020-07-31 苏州浪潮智能科技有限公司 Method, device and storage medium for determining data transmission path of network on chip
CN112003787A (en) * 2020-08-14 2020-11-27 北京灵汐科技有限公司 Routing path determining method, device, control equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115883022A (en) * 2023-01-06 2023-03-31 北京象帝先计算技术有限公司 DMA (direct memory access) transmission control method and device, electronic equipment and readable storage medium
CN115883022B (en) * 2023-01-06 2023-05-12 北京象帝先计算技术有限公司 DMA transmission control method, apparatus, electronic device and readable storage medium
CN116192733A (en) * 2023-02-06 2023-05-30 极芯通讯技术(南京)有限公司 Data transmission method and system

Also Published As

Publication number Publication date
CN114697249A (en) 2022-07-01
CN114697249B (en) 2023-07-04

Similar Documents

Publication Publication Date Title
WO2022143020A1 (en) Chip and control method therefor, and computer-readable storage medium and electronic device
Feliciian et al. An asynchronous on-chip network router with quality-of-service (QoS) support
Grot et al. Preemptive virtual clock: A flexible, efficient, and cost-effective qos scheme for networks-on-chip
CN100367250C (en) Integrated circuit and method for establishing affair
JP4740234B2 (en) Integrated circuit and transaction transmission method
Mello et al. Virtual channels in networks on chip: implementation and evaluation on hermes NoC
US9075747B2 (en) Bus controller and control unit that outputs instruction to the bus controller
Heisswolf et al. Providing multiple hard latency and throughput guarantees for packet switching networks on chip
JP2007529808A (en) Integrated circuit and communication service mapping method
EP1911218A2 (en) Electronic device and method of communication resource allocation
US20150010005A1 (en) Bus interface apparatus, router, and bus system including them
US20140365703A1 (en) Bus system for semiconductor circuit
US20200183745A1 (en) Method, device and computer program for dynamically allocating resources in a multi-processor computer system
Lu et al. Feasibility analysis of messages for on-chip networks using wormhole routing
Marescaux et al. Introducing the supergt network-on-chip: Supergt qos: more than just gt
Kostrzewa et al. Achieving safety and performance with reconfiguration protocol for ethernet TSN in automotive systems
US20080123666A1 (en) Electronic Device And Method Of Communication Resource Allocation
Ruaro et al. Runtime adaptive circuit switching and flow priority in NoC-Based MPSoCs
JP2009080853A (en) Packet exchange for controlling system power modes
Stefan et al. An improved algorithm for slot selection in the æthereal network-on-chip
Monemi et al. An enhanced dynamic weighted incremental technique for QoS support in NoC
Han et al. Distributed memory access architecture and control for fully disaggregated datacenter network
Kostrzewa et al. Adaptive load distribution in mixed-critical Networks-on-Chip
Lee et al. Adaptive routing scheme for NoC communication architecture
Samman et al. Planar adaptive router microarchitecture for tree-based multicast network-on-chip

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21913761

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21913761

Country of ref document: EP

Kind code of ref document: A1