Dynamic bandwidth adaptive control routing system and dynamic bandwidth adaptive adjustment method

Through the dynamic bandwidth adaptive control routing system, the bandwidth level of the target node is monitored and adjusted, the access request timeout problem caused by the bandwidth fluctuations of the target node in the system on chip is solved, and the optimization utilization and stability of system bandwidth resources are achieved.

CN119299394AActive Publication Date: 2025-01-10WUXI STARS MICRO SYSTEM TECHNOLOGIES CO LTD

Patent Information

Application Number
CN202411435719.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-14
Publication Date
2025-01-10
Estimated Expiration
2044-10-14

AI Technical Summary

Technical Problem

In a system on chip, the access request response of the source node is timed out due to the significant reduction in the bandwidth of the target node, causing the system failure.

Method used

Adoptional control routing system for dynamic bandwidth, including bandwidth control mechanism, routing switching mechanism and target bandwidth level monitoring mechanism, to generate bandwidth adjustment messages by monitoring the difference between the actual bandwidth of the target node and the maximum transmission bandwidth, and dynamically adjust the source node to the target. The access of the node configures bandwidth to match the bandwidth level and avoids routing node congestion and timeout requests.

Benefits of technology

The optimization utilization of system bandwidth resources is realized, system stability is enhanced, system crashes and data loss caused by insufficient bandwidth are avoided, and system response efficiency and reliability are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119299394A_ABST
    Figure CN119299394A_ABST
Patent Text Reader

Abstract

The invention provides a dynamic bandwidth adaptive control routing system and a dynamic bandwidth adaptive adjustment method. The system comprises a bandwidth control mechanism, a routing switching mechanism and a target bandwidth level monitoring mechanism, the bandwidth control mechanism is used for receiving an access request of accessing a target node by a source node and releasing the access request according to a passing rate corresponding to a configured bandwidth; the routing exchange mechanism forwards the access request to the target bandwidth level monitoring mechanism; the target bandwidth level monitoring mechanism monitors the actual bandwidth of the target node; the target bandwidth level monitoring mechanism also generates a bandwidth adjustment message of the target node by comparing the actual bandwidth with the maximum transmission bandwidth of the target node, and transmits the bandwidth adjustment message to the bandwidth control mechanism corresponding to the source node through the routing switching mechanism; and adjusting the configuration bandwidth for the source node to access the target node.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of processor technology, and in particular relates to a dynamic bandwidth adaptive control routing system and a dynamic bandwidth adaptive adjustment method. Background Art

[0002] With the advancement of semiconductor manufacturing technology, SoC (System on Chop) integrates more functions and higher computing power, resulting in a growing demand for data interaction. High bandwidth is the key to data transmission rate and quality. High bandwidth means that data can be transmitted in a shorter time, thereby improving the operating speed and responsiveness of the entire system.

[0003] Multitasking capability: SoC systems usually need to handle multiple tasks or processes simultaneously. High-bandwidth resources can ensure that these tasks or processes can efficiently share and access data, avoiding performance degradation caused by bandwidth bottlenecks.

[0004] Data consistency: In a multi-core or multi-processor system, maintaining data consistency is critical. High bandwidth can reduce data transmission delays and ensure data synchronization between processors or cores.

[0005] Real-time: For audio / video / sensor data processing, high bandwidth can ensure that data is processed and responded to within the specified time to meet real-time requirements; for SoC systems with high-speed network communications, such as 5G devices and IoT devices, high bandwidth is the basis for achieving fast data exchange and low-latency communication.

[0006] Energy efficiency: Effective management of bandwidth resources can reduce energy consumption during data transmission. By optimizing bandwidth usage, the energy efficiency of the SoC system can be improved and power consumption can be reduced.

[0007] Scalability: As demand grows, SoC systems may need to expand more functions or processing capabilities. High-bandwidth resources provide the basis for system expansion, ensuring that newly added components can be seamlessly integrated and operate efficiently.

[0008] Reliability: With the support of high bandwidth, SoC systems can handle data transmission and processing tasks more reliably, reducing the risk of system crashes or data loss due to insufficient bandwidth.

[0009] In summary, the allocation and management of bandwidth resources is an important design in the SoC system. Reasonable bandwidth allocation can optimize the overall performance of the system and directly affect the system's performance, reliability, energy efficiency and user experience. Summary of the invention

[0010] The purpose of the present application is to provide a dynamic bandwidth adaptive control routing system and a dynamic bandwidth adaptive adjustment method, aiming to solve the technical problem that in the shared bandwidth design of the on-chip system, due to the phased and substantial reduction of the bandwidth of the target node, a large number of access requests from the source node cause serious response timeouts, thereby causing product failures.

[0011] According to the first aspect of the present application, a dynamic bandwidth adaptive control routing system is provided, comprising: a bandwidth control mechanism, a routing switching mechanism and a target bandwidth level monitoring mechanism; wherein,

[0012] The bandwidth control mechanism is used to receive an access request from a source node to a target node, and to release the access request according to a throughput rate corresponding to a configured bandwidth pre-configured for the target node corresponding to the access request;

[0013] The routing switching mechanism is used to forward the access request to the target bandwidth level monitoring mechanism corresponding to the target node;

[0014] The target bandwidth level monitoring mechanism is used to send the access request to the target node and monitor the actual bandwidth of the target node;

[0015] Among them, the target bandwidth level monitoring mechanism also generates a bandwidth adjustment message of the target node by comparing the actual bandwidth with the maximum transmission bandwidth of the target node, and transmits the bandwidth adjustment message to the bandwidth control mechanism corresponding to the source node through the routing switching mechanism, so as to adjust the configured bandwidth of the source node to access the target node.

[0016] In an optional implementation, the routing switch mechanism is a single-stage or multi-stage switching route;

[0017] The routing switching mechanism can also access the lower-level routing switching mechanism of the target node and / or the bandwidth control mechanism corresponding to the source node through a reverse lookup in the routing table based on the bandwidth adjustment message of the target node received from the target bandwidth level monitoring mechanism, and transmit the bandwidth adjustment message to the lower-level routing switching mechanism and / or the bandwidth control mechanism corresponding to the source node found through the reverse lookup.

[0018] In an optional implementation, the target bandwidth level monitoring mechanism compares the actual bandwidth with the maximum transmission bandwidth of the target node to determine whether the difference between the actual bandwidth and the maximum transmission bandwidth satisfies a preset bandwidth level adjustment condition; if so, generates the bandwidth adjustment message, which carries at least the bandwidth level to which the target node needs to be adjusted.

[0019] In an optional implementation, the bandwidth control mechanism corresponds one-to-one to the source node; after receiving the bandwidth adjustment message, the bandwidth control mechanism dynamically adjusts the passage rate of the source node's access request to the target node according to the bandwidth level in the bandwidth adjustment message; the bandwidth control mechanism also transmits the bandwidth adjustment message to the source node.

[0020] In an optional implementation, after receiving the bandwidth adjustment message, the source node adjusts the configured bandwidth for the source node to access the target node based on the bandwidth level in the bandwidth adjustment message.

[0021] According to a second aspect of the present application, a dynamic bandwidth adaptive adjustment method is provided, the method being performed by the dynamic bandwidth adaptive control routing system according to the first aspect, the method comprising:

[0022] The bandwidth control mechanism receives an access request from a source node to a target node, and releases the access request according to a throughput rate corresponding to a configured bandwidth pre-configured for the target node corresponding to the access request;

[0023] The routing switching mechanism forwards the access request to a target bandwidth level monitoring mechanism corresponding to the target node;

[0024] The target bandwidth level monitoring mechanism sends the access request to the target node and monitors the actual bandwidth of the target node;

[0025] The target bandwidth level monitoring mechanism generates a bandwidth adjustment message for the target node by comparing the actual bandwidth with the maximum transmission bandwidth of the target node;

[0026] The target bandwidth level monitoring mechanism sends the bandwidth adjustment message to the bandwidth control mechanism corresponding to the source node through the routing switching mechanism, so as to adjust the configured bandwidth for the source node to access the target node.

[0027] In an optional implementation manner, the routing switching mechanism is a single-stage or multi-stage switching routing; the method further includes:

[0028] The routing switching mechanism, according to the bandwidth adjustment message of the target node received from the target bandwidth level monitoring mechanism, searches the lower-level routing switching mechanism and / or the bandwidth control mechanism corresponding to the source node through the routing table to access the target node;

[0029] The routing switch mechanism transmits the bandwidth adjustment message to the lower-level routing switch mechanism and / or the bandwidth control mechanism corresponding to the source node found through reverse query.

[0030] In an optional implementation manner, the target bandwidth level monitoring mechanism generates a bandwidth adjustment message of the target node by comparing the actual bandwidth with the maximum transmission bandwidth of the target node, including:

[0031] The target bandwidth level monitoring mechanism compares the actual bandwidth with the maximum transmission bandwidth of the target node to determine whether the difference between the actual bandwidth and the maximum transmission bandwidth meets a preset bandwidth level adjustment condition;

[0032] If the bandwidth level adjustment condition is met, the bandwidth adjustment message is generated, and the bandwidth adjustment message carries at least the bandwidth level to which the target node needs to be adjusted.

[0033] In an optional implementation manner, the bandwidth control mechanism corresponds to the source node one by one; and the method further includes:

[0034] After receiving the bandwidth adjustment message, the bandwidth control mechanism dynamically adjusts the passing rate of the access request of the source node to the target node according to the bandwidth level in the bandwidth adjustment message;

[0035] The bandwidth control mechanism transmits the bandwidth adjustment message to the source node.

[0036] In an optional embodiment, the method further comprises:

[0037] After receiving the bandwidth adjustment message, the source node adjusts the configured bandwidth for the source node to access the target node based on the bandwidth level in the bandwidth adjustment message.

[0038] Compared with the related art, the technical solution of the present application has at least the following advantages:

[0039] The present application can realize adaptive bandwidth adjustment of source nodes in a dynamic bandwidth adaptive control routing system, achieve optimal utilization of system bandwidth resources, and enhance system stability.

[0040] On the one hand, when the bandwidth level of the target node changes, the present application adaptively controls the routing of bandwidth to dynamically adjust the efficiency of requests sent by the source node with which there is a routing relationship through message passing, so that it matches the bandwidth level of the target node, avoiding congestion of one or more routing nodes in the network, thereby ensuring that the bandwidth utilization of other target nodes in the SoC system is not affected.

[0041] On the other hand, when the bandwidth level of the target node changes, the source node dynamically adjusts the bandwidth upper limit of the target node with which it has a routing relationship through message transmission, thereby avoiding a backlog of requests from the source node in the transmission routing layer and avoiding product failure upgrades that cause user losses when the system detects too many timed requests.

[0042] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained through the structures and processes indicated in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. It is obvious that the drawings described below are certain embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0044] Figure 1 is a schematic diagram of the architecture of a dynamic bandwidth adaptive control routing system according to an exemplary embodiment of the present application.

[0045] Figure 2 It is a flowchart of a dynamic bandwidth adaptive adjustment method according to an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0047] In the design of multi-node shared bandwidth in a general SoC system, the bandwidth allocation of each source node is designed based on the nominal maximum bandwidth of the target node. However, the transmission bandwidth of the target node may experience different degrees of bandwidth fluctuations in special circumstances. In extreme cases, the bandwidth may drop sharply. When the transmission bandwidth drops sharply, the data transmission rate of the source node decreases, the delay increases, and the packet loss rate increases. With the above problems, a large number of transmission timeouts will occur at the source node. When the product system finds that a small number of source nodes have transmission timeouts, a timed-out source node may be kicked out of the system to prevent the timed-out source node from affecting the use of the entire product system. As timed-out access requests accumulate, the number of timed-out nodes increases sharply, and the product system failure escalates, which may cause the entire SoC system to be kicked out. From the product perspective, the above situation may occur very quickly. If the system cannot respond in time and take effective measures, it will cause user data loss and even serious economic losses.

[0048] The use of on-chip network interconnection can effectively realize the reasonable allocation and utilization of bandwidth between multiple nodes in the SoC system, provide scalable low-latency and energy-efficient transmission, reduce transmission bottlenecks, and improve system performance. The on-chip network interconnection in related technologies can largely adapt to the increasing complexity of SoC systems. Its main features are: 1) Setting the bandwidth allocation strategy between each source node during the initialization phase of the SoC system to maximize the utilization of the bandwidth of the target node; 2) The bandwidth allocation ratio of each node set during the initialization phase of the SoC system takes into account the business ratio relationship of the node.

[0049] When the actual working node topology of the system is consistent with the allocation in the initialization phase, the node bandwidth allocation strategy set in the initialization phase can achieve the expected bandwidth balance goal, maximize the use of the target node bandwidth, and achieve the best overall system performance; however, in actual system operation, due to the dynamic fluctuation of the target node bandwidth, such as the phased significant reduction of the target node bandwidth, a large number of source node access requests slow down and time out, which may further lead to source node failure or even failure of the entire SoC system. The on-chip network interconnection cannot dynamically perceive the actual operation of the system, cannot adjust the bandwidth limit of the source node initialization allocation well, and cannot dynamically adapt.

[0050] Therefore, see Figure 1 As shown, the present application exemplarily proposes a dynamic bandwidth adaptive control routing system, which includes: a bandwidth control mechanism, a routing switching mechanism and a target bandwidth level monitoring mechanism; wherein,

[0051] The bandwidth control mechanism is used to receive an access request from a source node to a target node, and to release the access request according to a throughput rate corresponding to a configured bandwidth pre-configured for the target node corresponding to the access request;

[0052] The routing switching mechanism is used to forward the access request to the target bandwidth level monitoring mechanism corresponding to the target node;

[0053] The target bandwidth level monitoring mechanism is used to send the access request to the target node and monitor the actual bandwidth of the target node;

[0054] The same source node can send access requests to different target nodes, different configured bandwidths can be pre-configured for different target nodes, and the bandwidth control mechanism can pre-configure different throughput rates for different target nodes. Therefore, the throughput rate corresponding to the configured bandwidth pre-configured for the target node corresponding to the access request can be understood as the throughput rate corresponding to the target node to be accessed by the current access request.

[0055] Among them, the target bandwidth level monitoring mechanism also generates a bandwidth adjustment message of the target node by comparing the actual bandwidth with the maximum transmission bandwidth of the target node, and transmits the bandwidth adjustment message to the bandwidth control mechanism corresponding to the source node through the routing switching mechanism, so as to adjust the configured bandwidth of the source node to access the target node.

[0056] Exemplarily, the maximum bandwidth of the target node can be pre-proportionally divided into different bandwidth levels, such as high, medium and low bandwidth levels. The source node and the target node are nodes in the SoC system, such as computing nodes (ie, IP cores) and storage nodes (such as ROM, RAM, etc.).

[0057] Exemplarily, during the initialization phase of the SoC system, the configured bandwidth for accessing the target node is allocated to the source node according to the proportion of system services carried by each source node and the maximum transmission bandwidth of the target node. For the same source node, the configured bandwidths of different target nodes may be the same or different. For the current source node, the initialized configured bandwidth of the target node is pre-configured based on the maximum transmission bandwidth of the target node, and the configured bandwidth is not equal to the maximum transmission bandwidth of the target node. For the same target node, the configured bandwidths may be different or the same for different source nodes.

[0058] Exemplarily, the target bandwidth level monitoring mechanism also caches the above-mentioned access request of the source node to the target node, and also transmits the target node's response to the access request, such as data back to the routing switching mechanism, and also performs non-temporal and spatial statistics of the target node's response to the source node's access request, such as the amount of data, for the internally cached access request, to complete the actual bandwidth monitoring of the target node. In the actual bandwidth monitoring process, the target bandwidth level monitoring mechanism will compare the actual bandwidth obtained by monitoring with the maximum transmission bandwidth of the target node, determine whether the difference between the actual bandwidth and the maximum transmission bandwidth meets the preset bandwidth level adjustment condition, and if so, generate the bandwidth adjustment message, which carries at least the bandwidth level to which the target node needs to be adjusted.

[0059] Among them, the target bandwidth level monitoring mechanism corresponds to the target node one by one, and it can count the amount of data transmitted by the target node per unit time, obtain the actual bandwidth of the target node, compare the counted actual bandwidth with the maximum transmission bandwidth of the target node, and then determine the current bandwidth level of the target node. When the target bandwidth level monitoring mechanism monitors and finds that the bandwidth level of the target node has dropped or increased periodically, the target bandwidth level monitoring mechanism generates a bandwidth adjustment message carrying the identifier and bandwidth level of the target node, and transmits the bandwidth adjustment message to the routing switching mechanism. It can be understood that the above-mentioned actual transmission bandwidth can be periodic, rather than a short-term fluctuation in bandwidth. For example, the actual transmission bandwidth within a set time period can be compared with the maximum transmission bandwidth.

[0060] In this optional implementation, the maximum transmission bandwidth of the target node may be related to the current bandwidth level of the target node, and the maximum transmission bandwidths of different bandwidth levels may be different, such as the maximum transmission bandwidth corresponding to the high-level bandwidth level is the largest, the maximum transmission bandwidth corresponding to the low-level bandwidth level is the smallest, and the maximum transmission bandwidth corresponding to the medium-level bandwidth level is between the two. Meeting the bandwidth level adjustment condition can be understood as the difference between the actual bandwidth and the maximum transmission bandwidth of the current bandwidth level exceeds the set value, such as the current bandwidth level is high, the actual bandwidth is less than the maximum transmission bandwidth, and the difference between the maximum transmission bandwidth and the actual bandwidth exceeds the difference between the maximum transmission bandwidth of the high-level bandwidth level and the maximum transmission bandwidth of the medium level, but does not exceed the difference between the maximum transmission bandwidth of the high-level bandwidth level and the maximum transmission bandwidth of the low level. At this time, it can be considered that the bandwidth level adjustment condition is met, thereby adjusting the bandwidth level of the target node from a high level to a medium level. For example, if the current bandwidth level is low, and the target bandwidth monitoring agency has no access request cache waiting for response within a period of time, it can be considered that the bandwidth level adjustment condition is met, thereby adjusting the bandwidth level of the target node from a low level to a high level.

[0061] Exemplarily, the routing switching mechanism is a single-stage or multi-stage switching routing.

[0062] The routing switching mechanism can also access the lower-level routing switching mechanism of the target node and / or the bandwidth control mechanism corresponding to the source node through a reverse lookup in the routing table based on the bandwidth adjustment message of the target node received from the target bandwidth level monitoring mechanism, and transmit the bandwidth adjustment message to the lower-level routing switching mechanism and / or the bandwidth control mechanism corresponding to the source node found through the reverse lookup.

[0063] It can be understood that, on the one hand, the routing switching mechanism is responsible for the transmission of the service access request and response data of the source node: according to the initialized bandwidth allocation, the interactive transmission between the service request or response data of multiple nodes and the target node is realized; on the other hand, the routing switching mechanism is responsible for receiving the bandwidth adjustment message generated by the target bandwidth level monitoring mechanism, identifying the identifier of the target node carried in the message, and obtaining the lower-level route or source node that can access the target node according to the reverse query of the routing table, and passing the message to the bandwidth control mechanism of the lower-level route or source node found out.

[0064] Exemplarily, the bandwidth control mechanism corresponds one-to-one to the source node; after receiving the bandwidth adjustment message, the bandwidth control mechanism dynamically adjusts the passage rate of the source node's access request to the target node according to the bandwidth level in the bandwidth adjustment message; the bandwidth control mechanism also transmits the bandwidth adjustment message to the source node.

[0065] Exemplarily, the bandwidth control mechanism receives the bandwidth adjustment message of the target node and the identifier of the target node delivered by the routing switching mechanism. On the one hand, the bandwidth control mechanism identifies the identifier of the target node and the bandwidth level carried in the bandwidth adjustment message, and dynamically adjusts the pass rate of the access request of the source node to the target node according to the bandwidth level of the target node. The pass rate matches the maximum transmission bandwidth corresponding to the bandwidth level of the target node, while the pass rate of the access request of the source node to other target nodes remains unchanged. On the other hand, the bandwidth control mechanism transmits the bandwidth adjustment message of the target node to the source node so that the source node adjusts the number of access requests issued to avoid an increase in the response time of the access request of the corresponding source node when the bandwidth of the target node decreases, resulting in a backlog of access requests in the bandwidth control mechanism, which may further cause the access request monitoring at the source node to time out.

[0066] Exemplarily, the bandwidth control mechanism can evenly release the access requests sent by the source node to the target node according to the above-mentioned passing rate. For example, if the upper limit of the configured bandwidth for the source node to access the target node is 10 times per second, and the source node sends 10 access requests to the target node within 0.1 seconds, after receiving the 10 access requests, the bandwidth control mechanism will evenly distribute the 10 requests into 1 second, that is, release one access request every 0.1 seconds, and the 10 access requests will be evenly sent to the target node within 1 second.

[0067] Exemplarily, after receiving the bandwidth adjustment message, the source node adjusts the configured bandwidth for the source node to access the target node based on the bandwidth level in the bandwidth adjustment message. For example, in the system initialization phase, corresponding to the high-level bandwidth of the target node, a source node is allowed to continuously send outstanding access requests corresponding to a data volume of up to 16GBps to access the target node. When the bandwidth adjustment message received is a medium-level bandwidth, after the source node adjusts the access bandwidth, it can continuously send outstanding access requests corresponding to a data volume of up to 12GBps.

[0068] Exemplarily, after receiving the bandwidth adjustment message of the target node, the source node performs the following operations:

[0069] a. Identify the target node identifier and bandwidth level carried in the bandwidth adjustment message, and adjust the configured bandwidth for accessing the target node, such as lowering or raising the bandwidth limit for accessing the target node;

[0070] 1) When the bandwidth level of the target node decreases, the bandwidth limit of the source node accessing the target node is lowered to avoid the backlog of the source node's requests in the routing and switching mechanisms at all levels in the SoC system network, to avoid blocking the access efficiency of other source nodes, to avoid increasing the request response delay of all target nodes in the network, and to avoid the system detecting too many business timeouts and initiating fault upgrade processing.

[0071] 2) When the bandwidth level of the target node increases, the upper limit of the source node's access bandwidth is adjusted upward to avoid insufficient bandwidth utilization of the source node to the target node and avoid bandwidth waste.

[0072] b. The source node only dynamically adjusts the bandwidth upper limit of the target node specified by the bandwidth level message to match the bandwidth level of the target node, and does not adjust the bandwidth upper limit from the source node to other target nodes.

[0073] In summary, the present application can realize adaptive bandwidth adjustment of source nodes in a dynamic bandwidth adaptive control routing system, achieve optimal utilization of system bandwidth resources, and increase system stability.

[0074] On the one hand, when the bandwidth level of the target node changes, the present application adaptively controls the routing of bandwidth to dynamically adjust the efficiency of requests sent by the source node with which there is a routing relationship through message passing, so that it matches the bandwidth level of the target node, avoiding congestion of one or more routing nodes in the network, thereby ensuring that the bandwidth utilization of other target nodes in the SoC system is not affected.

[0075] On the other hand, when the bandwidth level of the target node changes, the source node dynamically adjusts the bandwidth upper limit of the target node with which it has a routing relationship through message transmission, thereby avoiding a backlog of requests from the source node in the transmission routing layer and avoiding product failure upgrades that cause user losses when the system detects too many timed requests.

[0076] Accordingly, see Figure 2 As shown, the present application exemplarily provides a dynamic bandwidth adaptive adjustment method, which is performed by the above-mentioned dynamic bandwidth adaptive control routing system, including:

[0077] Step S201: The bandwidth control mechanism receives an access request from a source node to a target node, and releases the access request according to a throughput rate corresponding to a configured bandwidth pre-configured for the target node corresponding to the access request;

[0078] Step S202: the routing switching mechanism forwards the access request to the target bandwidth level monitoring mechanism corresponding to the target node;

[0079] Step S203: the target bandwidth level monitoring mechanism sends the access request to the target node and monitors the actual bandwidth of the target node;

[0080] Step S204: the target bandwidth level monitoring mechanism generates a bandwidth adjustment message of the target node by comparing the actual bandwidth with the maximum transmission bandwidth of the target node;

[0081] Step S205: the target bandwidth level monitoring mechanism sends the bandwidth adjustment message to the bandwidth control mechanism corresponding to the source node through the routing switching mechanism, so as to adjust the configured bandwidth for the source node to access the target node.

[0082] The same source node can send access requests to different target nodes, different configured bandwidths can be pre-configured for different target nodes, and the bandwidth control mechanism can pre-configure different throughput rates for different target nodes. Therefore, the throughput rate corresponding to the configured bandwidth pre-configured for the target node corresponding to the access request can be understood as the throughput rate corresponding to the target node to be accessed by the current access request.

[0083] Exemplarily, the routing switch mechanism is a single-stage or multi-stage switching route; the method further includes:

[0084] The routing switching mechanism, according to the bandwidth adjustment message of the target node received from the target bandwidth level monitoring mechanism, searches the lower-level routing switching mechanism and / or the bandwidth control mechanism corresponding to the source node through the routing table to access the target node;

[0085] The routing switch mechanism transmits the bandwidth adjustment message to the lower-level routing switch mechanism and / or the bandwidth control mechanism corresponding to the source node found through reverse query.

[0086] Exemplarily, step S204, i.e. the target bandwidth level monitoring mechanism generates a bandwidth adjustment message of the target node by comparing the actual bandwidth with the maximum transmission bandwidth of the target node, includes:

[0087] The target bandwidth level monitoring mechanism compares the actual bandwidth with the maximum transmission bandwidth of the target node to determine whether the difference between the actual bandwidth and the maximum transmission bandwidth meets a preset bandwidth level adjustment condition;

[0088] If the bandwidth level adjustment condition is met, the bandwidth adjustment message is generated, and the bandwidth adjustment message carries at least the bandwidth level to which the target node needs to be adjusted.

[0089] Exemplarily, the bandwidth control mechanism corresponds to the source node one by one; the method further includes:

[0090] After receiving the bandwidth adjustment message, the bandwidth control mechanism dynamically adjusts the passing rate of the access request of the source node to the target node according to the bandwidth level in the bandwidth adjustment message;

[0091] The bandwidth control mechanism transmits the bandwidth adjustment message to the source node.

[0092] Exemplarily, the method further includes:

[0093] After receiving the bandwidth adjustment message, the source node adjusts the configured bandwidth for the source node to access the target node based on the bandwidth level in the bandwidth adjustment message.

[0094] The above method can be implemented on the dynamic bandwidth adaptive control routing system in the above embodiment. For specific implementation, please refer to the description of the dynamic bandwidth adaptive control routing system in the above embodiment, which will not be described in detail here.

[0095] The following examples illustrate the implementation steps of the dynamic bandwidth adaptive adjustment method provided by the exemplary embodiment of the present application:

[0096] Step 1: System initialization phase: According to the routing forwarding relationship from the source node to the target node, the routing switching mechanism's routing forwarding table is initialized and configured; according to the system service ratio carried by the source node and the maximum transmission bandwidth of the target node, the bandwidth allocation of the source node is initialized, the bandwidth interval of the target node is divided and configured, and the unit time interval configuration for real-time monitoring of the target node is completed;

[0097] Step 2: The bandwidth control mechanism receives the request sent by the source node and is responsible for releasing the access request of the source node to the target node according to the bandwidth configured initially and the throughput rate that meets the bandwidth configuration requirements;

[0098] Step 3: The routing switching mechanism receives the request from the bandwidth control mechanism and sends the access request to the target node according to the routing forwarding relationship;

[0099] Step 4: The target bandwidth level monitoring mechanism receives the request from the routing switching mechanism, sends the request to the target node, and when the target node returns a response, completes the statistics of the target node's data transmission volume per unit time, monitors the target node's actual bandwidth, and compares the actual bandwidth with its maximum transmission bandwidth to monitor the target node's bandwidth level in real time. When the target bandwidth level monitoring mechanism finds that the target node's bandwidth level has dropped or increased periodically, the target bandwidth level monitoring mechanism is responsible for generating a bandwidth adjustment message carrying the target node's identifier and bandwidth level, and passing the message to the routing switching mechanism.

[0100] Step 5: The routing exchange mechanism receives the bandwidth adjustment message generated by the target bandwidth level monitoring mechanism, identifies the identifier of the target node carried in the bandwidth adjustment message, obtains the lower-level routing or source node that can access the target node based on the reverse query of the routing table, and transmits the message to the bandwidth control mechanism of the lower-level routing or source node found out.

[0101] Step 6. The bandwidth control mechanism corresponds to the source node one-to-one. When the bandwidth control mechanism receives the bandwidth adjustment message of the target node delivered by the routing switching mechanism, on the one hand, it identifies the identifier and bandwidth level of the target node carried in the message, and dynamically adjusts the throughput rate of the source node's request to access the target node according to the bandwidth level of the target node to match the bandwidth level of the target node, while the throughput rate of the source node's request to access other target nodes remains unchanged; on the other hand, it transmits the bandwidth adjustment message and the target node identifier of the target node to the source node.

[0102] Step 7: The source node receives the bandwidth adjustment message:

[0103] a. Identify the target node ID and bandwidth level carried in the message, and lower or increase the bandwidth limit for accessing the target node;

[0104] 1) When the bandwidth level of the target node decreases, the bandwidth limit of the source node accessing the target node is lowered to avoid the source node's requests being piled up in the routing and switching organizations at all levels in the SoC system network, to avoid affecting the access efficiency of other source nodes, to avoid increasing the request response delay of all target nodes in the network, and to avoid the system detecting too many business timeouts and initiating fault upgrade processing.

[0105] 2) When the bandwidth level of the target node increases, the upper limit of the source node's access bandwidth is adjusted upward to avoid insufficient bandwidth utilization of the source node to the target node and avoid bandwidth waste.

[0106] b. The source node only dynamically adjusts the bandwidth upper limit of the target node specified by the bandwidth level message to match the bandwidth level of the target node, and does not adjust the bandwidth upper limit from the source node to other target nodes.

[0107] It is understood that the circuit structures, names and parameters described in the above embodiments are only examples. Those skilled in the art can also easily combine and adjust the structural features of the above embodiments according to the use requirements, and should not limit the concept of the present application to the specific details of the above examples.

[0108] Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that he or she may still modify the technical solutions described in the aforementioned embodiments, or make equivalent substitutions for some of the technical features therein; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A dynamic bandwidth adaptive control routing system, characterized in that: include: Bandwidth control mechanism, routing switching mechanism and target bandwidth level monitoring mechanism; wherein, The bandwidth control mechanism is used to receive an access request from a source node to a target node, and to release the access request according to a throughput rate corresponding to a configured bandwidth pre-configured for the target node corresponding to the access request; The routing switching mechanism is used to forward the access request to the target bandwidth level monitoring mechanism corresponding to the target node; The target bandwidth level monitoring mechanism is used to send the access request to the target node and monitor the actual bandwidth of the target node; Among them, the target bandwidth level monitoring mechanism also generates a bandwidth adjustment message of the target node by comparing the actual bandwidth with the maximum transmission bandwidth of the target node, and transmits the bandwidth adjustment message to the bandwidth control mechanism corresponding to the source node through the routing switching mechanism, so as to adjust the configured bandwidth of the source node to access the target node.

2. The dynamic bandwidth adaptive control routing system according to claim 1, characterized in that: The routing switching mechanism is a single-stage or multi-stage switching routing; The routing switching mechanism can also access the lower-level routing switching mechanism of the target node and / or the bandwidth control mechanism corresponding to the source node through a reverse lookup in the routing table based on the bandwidth adjustment message of the target node received from the target bandwidth level monitoring mechanism, and transmit the bandwidth adjustment message to the lower-level routing switching mechanism and / or the bandwidth control mechanism corresponding to the source node found through the reverse lookup.

3. The dynamic bandwidth adaptive control routing system according to claim 1 or 2, characterized in that: The target bandwidth level monitoring mechanism compares the actual bandwidth with the maximum transmission bandwidth of the target node, determines whether the difference between the actual bandwidth and the maximum transmission bandwidth meets the preset bandwidth level adjustment condition, and if so, generates the bandwidth adjustment message, which carries at least the bandwidth level to which the target node needs to be adjusted.

4. The dynamic bandwidth adaptive control routing system according to claim 3, characterized in that: The bandwidth control mechanism corresponds to the source node one by one; after receiving the bandwidth adjustment message, the bandwidth control mechanism dynamically adjusts the access rate of the source node to the target node according to the bandwidth level in the bandwidth adjustment message; the bandwidth control mechanism also transmits the bandwidth adjustment message to the source node.

5. The dynamic bandwidth adaptive control routing system according to claim 4, characterized in that: After receiving the bandwidth adjustment message, the source node adjusts the configured bandwidth for the source node to access the target node based on the bandwidth level in the bandwidth adjustment message.

6. A method for adaptively adjusting dynamic bandwidth, characterized in that: The method is performed by the dynamic bandwidth adaptive control routing system according to any one of claims 1 to 5, and the method comprises: The bandwidth control mechanism receives an access request from a source node to a target node, and releases the access request according to a throughput rate corresponding to a configured bandwidth pre-configured for the target node corresponding to the access request; The routing switching mechanism forwards the access request to a target bandwidth level monitoring mechanism corresponding to the target node; The target bandwidth level monitoring mechanism sends the access request to the target node and monitors the actual bandwidth of the target node; The target bandwidth level monitoring mechanism generates a bandwidth adjustment message for the target node by comparing the actual bandwidth with the maximum transmission bandwidth of the target node; The target bandwidth level monitoring mechanism sends the bandwidth adjustment message to the bandwidth control mechanism corresponding to the source node through the routing switching mechanism, so as to adjust the configured bandwidth for the source node to access the target node.

7. The method for dynamic bandwidth adaptive adjustment according to claim 6, characterized in that: The routing switching mechanism is a single-stage or multi-stage switching routing; the method further comprises: The routing switching mechanism, according to the bandwidth adjustment message of the target node received from the target bandwidth level monitoring mechanism, searches the lower-level routing switching mechanism and / or the bandwidth control mechanism corresponding to the source node through the routing table to access the target node; The routing switch mechanism transmits the bandwidth adjustment message to the lower-level routing switch mechanism and / or the bandwidth control mechanism corresponding to the source node found through reverse query.

8. The method for dynamic bandwidth adaptive adjustment according to claim 6 or 7, characterized in that: The target bandwidth level monitoring mechanism generates a bandwidth adjustment message of the target node by comparing the actual bandwidth with the maximum transmission bandwidth of the target node, including: The target bandwidth level monitoring mechanism compares the actual bandwidth with the maximum transmission bandwidth of the target node to determine whether the difference between the actual bandwidth and the maximum transmission bandwidth meets a preset bandwidth level adjustment condition; If the bandwidth level adjustment condition is met, the bandwidth adjustment message is generated, and the bandwidth adjustment message carries at least the bandwidth level to which the target node needs to be adjusted.

9. The method for dynamic bandwidth adaptive adjustment according to claim 8, characterized in that: The bandwidth control mechanism corresponds to the source node one by one; the method further includes: After receiving the bandwidth adjustment message, the bandwidth control mechanism dynamically adjusts the passing rate of the access request of the source node to the target node according to the bandwidth level in the bandwidth adjustment message; The bandwidth control mechanism transmits the bandwidth adjustment message to the source node.

10. The method for dynamic bandwidth adaptive adjustment according to claim 9, characterized in that: The method further comprises: After receiving the bandwidth adjustment message, the source node adjusts the configured bandwidth for the source node to access the target node based on the bandwidth level in the bandwidth adjustment message.

Citation Information

Patent Citations

  • Network-on-chip congestion control method, system and device and storage medium

    CN114866475A

  • Multi-user-oriented dynamic bandwidth management system and method thereof

    CN117294656A

  • Information transmission control method, data processing method and device and data processing system

    CN118018490A

  • Traffic control on an on-chip network

    US20140010079A1

Cited By

  • Container plan scheduling data sharing method and system based on big data

    CN121052543A