Dynamic Bandwidth Adaptive Control Routing System and Dynamic Bandwidth Adaptive Adjustment Method
Through the dynamic bandwidth adaptive control routing system, the bandwidth of the target node in the SoC system is monitored and adjusted in real time, the source node response timeout caused by the fluctuation of the target node bandwidth is solved, and the system stability and response efficiency are improved.
Patent Information
- Application Number
- CN202411435719.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-14
- Publication Date
- 2025-07-11
- Estimated Expiration
- 2044-10-14
AI Technical Summary
In the prior art, when the bandwidth of the target node is greatly reduced in stages, the SoC system causes the access request response of the source node to time out, resulting in system failure and user data loss.
The dynamic bandwidth adaptive control routing system is adopted, and the bandwidth control mechanism, routing switching mechanism and target bandwidth level monitoring mechanism are used to monitor the bandwidth of the target node in real time and generate bandwidth adjustment messages, and dynamically adjust the access request rate of the source node to match the bandwidth level of the target node.
The optimization utilization of bandwidth resources in the SoC system is realized, the stability of the system is enhanced, the congestion and system failure of routing nodes are avoided, and the response efficiency and reliability of the system are improved.
Smart Images

Figure CN119299394B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the technical field of processors, and particularly relates to a dynamic bandwidth adaptive control routing system and a dynamic bandwidth adaptive adjustment method. Background Art
[0002] With the progress of semiconductor manufacturing technology, System on Chip (SoC) integrates more functions and higher computing power, leading to an increasing 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 response ability of the entire system.
[0003] Multitasking ability: An SoC system usually needs to process 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 crucial. High bandwidth can reduce data transmission latency and ensure data synchronization between processors or cores.
[0005] Real-time performance: For audio / video / sensor data processing, etc., high bandwidth can ensure that data is processed and responded within a specified time to meet real-time requirements; for SoC systems with high-speed network communication, such as 5G devices, Internet of Things devices, etc., high bandwidth is the basis for achieving fast data exchange and low-latency communication.
[0006] Energy efficiency ratio: Effective management of bandwidth resources can reduce energy consumption during data transmission. By optimizing bandwidth usage, the energy efficiency ratio of the SoC system can be improved and power consumption can be reduced.
[0007] Scalability: As the demand grows, an SoC system 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, an SoC system can more reliably process data transmission and processing tasks, reducing the risk of system crashes or data loss caused by insufficient bandwidth.
[0009] In summary, the allocation and management of bandwidth resources is an important design in an SoC system. Reasonable bandwidth allocation can optimize the overall performance of the system and directly affect the performance, reliability, energy efficiency, and user experience of the system. Summary of the Invention
[0010] The purpose of this 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 a system on a chip, due to the significant reduction of the bandwidth of the target node in stages, the response timeouts of a large number of access requests from the source node are serious, resulting in product failures.
[0011] According to the first aspect of this application, a dynamic bandwidth adaptive control routing system is provided, including: a bandwidth control mechanism, a routing and switching mechanism, and a target bandwidth level monitoring mechanism; wherein,
[0012] The bandwidth control mechanism is configured to receive an access request from a source node to a target node, and release the access request according to the passing rate corresponding to the configured bandwidth pre-configured for the target node corresponding to the access request;
[0013] The routing and switching mechanism is configured 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 configured to send the access request to the target node and monitor the actual bandwidth of the target node;
[0015] Wherein, the target bandwidth level monitoring mechanism further generates a bandwidth adjustment message for 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 and switching mechanism, so as to adjust the configured bandwidth for the source node to access the target node.
[0016] In an optional embodiment, the routing and switching mechanism is a single-level or multi-level switching router;
[0017] The routing and switching mechanism further, according to the bandwidth adjustment message of the target node received from the target bandwidth level monitoring mechanism, reversely looks up through the routing table the lower-level routing and switching mechanism and / or the bandwidth control mechanism corresponding to the source node that can access the target node, and transmits the bandwidth adjustment message to the reverse-looked-up lower-level routing and switching mechanism and / or the bandwidth control mechanism corresponding to the source node.
[0018] In an optional embodiment, 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 a preset bandwidth level adjustment condition, and if so, generates the bandwidth adjustment message, and at least the bandwidth level to which the target node needs to be adjusted is carried in the bandwidth adjustment message.
[0019] In an alternative embodiment, 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 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 also passes the bandwidth adjustment message to the source node.
[0020] In an alternative embodiment, 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, there is provided a dynamic bandwidth adaptive adjustment method, which is executed by the dynamic bandwidth adaptive control routing system described in the first aspect. The method includes:
[0022] The bandwidth control mechanism receives an access request from a source node to access a target node, and releases the access request at a passing rate corresponding to the configured bandwidth pre-configured for the target node corresponding to the access request.
[0023] The routing and switching mechanism forwards the access request to the 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 and switching mechanism, so as to adjust the configured bandwidth for the source node to access the target node.
[0027] In an alternative embodiment, the routing and switching mechanism is a single-level or multi-level switching router; the method further includes:
[0028] The routing and switching mechanism, according to the bandwidth adjustment message of the target node received from the target bandwidth level monitoring mechanism, reversely looks up the lower-level routing and switching mechanism and / or the bandwidth control mechanism corresponding to the source node that can access the target node through the routing table.
[0029] The routing and switching mechanism passes the bandwidth adjustment message to the lower-level routing and switching mechanism and / or the bandwidth control mechanism corresponding to the source node found by the reverse lookup.
[0030] In an alternative embodiment, 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, 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 at least the bandwidth level to which the target node needs to be adjusted is carried in the bandwidth adjustment message.
[0033] In an alternative embodiment, the bandwidth control mechanism corresponds to the source node one by one; 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 passes the bandwidth adjustment message to the source node.
[0036] In an alternative embodiment, the method further includes:
[0037] After receiving the bandwidth adjustment message, the source node adjusts the configured bandwidth for accessing 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 the adaptive bandwidth adjustment of the source node in the dynamic bandwidth adaptive control routing system, realize the optimal utilization of the system bandwidth resources, and enhance the stability of the system.
[0040] On the one hand, when the bandwidth level of the target node changes, the present application adaptively adjusts the request efficiency sent by the source node having a routing relationship with it in the form of message passing through the dynamic bandwidth control routing, 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 rate 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 present application dynamically adjusts the bandwidth upper limit of the target node having a routing relationship with it in the form of message passing through the source node, avoiding the backlog of requests from the source node at the transmission routing layer, and avoiding user losses caused by product failure escalation when the system detects too many timeout requests.
[0042] Other features and advantages of the present application will be described in the subsequent specification, and will be partially obvious from the specification, or will be understood by implementing the present application. The objectives and other advantages of the present application can be achieved and obtained through the structures and processes pointed out in the specification and the drawings. Description of the Drawings
[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following will briefly introduce the drawings required for use in the description of the embodiments or related technologies. Obviously, the drawings in the following description are certain embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0044] Figure 1 It 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 schematic flowchart of a dynamic bandwidth adaptive adjustment method according to an exemplary embodiment of the present application. Detailed Embodiments
[0046] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present 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 fluctuate to varying degrees under 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 becomes higher. Along with the above problems, a large number of transmission timeouts will occur at the source node. When the product system detects that a small number of source nodes have transmission timeouts, it may kick out a certain timeout source node from the system to avoid the timeout source node affecting the use of the entire product system. However, with the accumulation of timeout access requests, the number of timeout nodes increases sharply, and the product system failure escalates, which may cause the entire SoC system to be kicked out. From the perspective of the product, the above situation may occur very quickly. When the system cannot respond in time and take effective measures, it may lead to the loss of user data and even cause serious economic losses.
[0048] Using on-chip network interconnection can effectively achieve reasonable allocation and utilization of bandwidth among multiple nodes in an 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 in the SoC system, and its characteristics are mainly as follows: 1) Set the bandwidth allocation strategy among source nodes during the initialization stage of the SoC system to maximize the utilization of the bandwidth of the target node; 2) Consider the traffic ratio relationship of nodes when setting the bandwidth allocation ratio of each node during the initialization stage of the SoC system.
[0049] When the actual working node topology of the system is consistent with the allocation during the initialization stage, the expected bandwidth balance goal can be achieved according to the established node bandwidth allocation strategy during the initialization stage, the bandwidth of the target node can be maximally utilized, and the overall system performance reaches the optimal; however, during the actual system operation, due to the dynamic fluctuation of the target node bandwidth, such as a significant reduction in the target node bandwidth in stages, the response of a large number of source node access requests becomes slow and times out, which may further lead to source node failures and even failures of the entire SoC system. The on-chip network interconnection cannot dynamically sense the actual operation situation of the system, cannot well adjust the bandwidth limit initially allocated to the source node, and cannot be dynamically adapted.
[0050] Therefore, as shown in Figure 1 this application exemplarily proposes a dynamic bandwidth adaptive control routing system, which includes: a bandwidth control mechanism, a routing and switching mechanism, and a target bandwidth level monitoring mechanism; among them,
[0051] The bandwidth control mechanism is used to receive the access request from the source node to the target node, and release the access request according to the passing rate corresponding to the configured bandwidth pre-configured for the target node corresponding to the access request;
[0052] The routing and 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] Among them, the same source node can send access requests to different target nodes, different configured bandwidths can be pre-configured for different target nodes, and different passing rates can be pre-configured by the bandwidth control mechanism for different target nodes. Therefore, the passing rate corresponding to the configured bandwidth pre-configured for the target node corresponding to the access request can be understood as the passing 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 for 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 and switching mechanism, so as to adjust the configured bandwidth for the source node to access the target node.
[0056] Exemplarily, the maximum bandwidth of the target node can be divided into different bandwidth levels in proportion in advance, such as high, medium, and low bandwidth levels. The source node and the target node are nodes in the SoC system, such as a computing node (i.e., an IP core) and a storage node (such as ROM, RAM, etc.).
[0057] Exemplarily, in the initialization stage of the SoC system, the configured bandwidth for the source node to access the target node is allocated according to the system service ratio borne by each source node and the maximum transmission bandwidth of the target node. For the same source node, the configured bandwidths for different target nodes can be the same or different. For the current source node, the initialized configured bandwidth for the target node is preconfigured based on the maximum transmission bandwidth of the target node, and this configured bandwidth is not equal to the maximum transmission bandwidth of the target node. For the same target node, for different source nodes, its configured bandwidth can be different or the same.
[0058] Exemplarily, the target bandwidth level monitoring mechanism also caches the above access requests for the source node to access the target node, and also transmits the response of the target node to the access request, such as data transmission, back to the routing and switching mechanism. It also non-spatially and non-temporally statistically counts the amount of data in the response of the target node to the access request of the source node for the internally cached access requests, and completes the actual bandwidth monitoring of the target node. During the actual bandwidth monitoring process, the target bandwidth level monitoring mechanism will compare the monitored actual bandwidth with the maximum transmission bandwidth of the target node, and determine whether the difference between the actual bandwidth and the maximum transmission bandwidth meets the preset bandwidth level adjustment condition. If it meets, the bandwidth adjustment message is generated, and at least the bandwidth level to which the target node needs to be adjusted is carried in the bandwidth adjustment message.
[0059] Among them, the target bandwidth level monitoring mechanism corresponds to each target node one by one. It can count the amount of transmitted data of the target node within a unit time to obtain the actual bandwidth of the target node, compare the statistically obtained 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 discovers that the bandwidth level of the target node has decreased 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 and switching mechanism. It can be understood that the above actual transmission bandwidth can be periodic rather than short-term fluctuations 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 can be related to the current bandwidth level of the target node. The maximum transmission bandwidths of different bandwidth levels can be different. For example, the maximum transmission bandwidth corresponding to a high-level bandwidth level is the largest, the maximum transmission bandwidth corresponding to a low-level bandwidth level is the smallest, and the maximum transmission bandwidth corresponding to a medium-level bandwidth level is between the two. Meeting the bandwidth level adjustment condition can be understood as that the difference between the actual bandwidth and the maximum transmission bandwidth of the current bandwidth level exceeds a set value. For example, when 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 bandwidth 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 bandwidth level. At this time, it can be considered that the bandwidth level adjustment condition is met, and thus the bandwidth level of the target node is adjusted from the high level to the medium level. For example, when the current bandwidth level is the low level and the target bandwidth monitoring mechanism 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, and thus the bandwidth level of the target node is adjusted from the low level to the high level.
[0061] Exemplarily, the routing and switching mechanism is a first-level or multi-level switching router.
[0062] The routing and switching mechanism also, according to the bandwidth adjustment message of the target node received from the target bandwidth level monitoring mechanism, can, through reverse lookup in the routing table, access the lower-level routing and switching mechanism and / or the bandwidth control mechanism corresponding to the source node that can access the target node, and transmit the bandwidth adjustment message to the reverse-looked-up lower-level routing and switching mechanism and / or the bandwidth control mechanism corresponding to the source node.
[0063] It can be understood that, on the one hand, the routing and switching mechanism is responsible for the transmission of service access requests and response data of the source node: according to the initialized bandwidth allocation, it realizes the interactive transmission between the service requests or response data of multiple nodes and the target node. On the other hand, the routing and 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 by the message, and inversely looking up the lower-level route or source node that can access the target node according to the routing table, and delivering the message to the bandwidth control mechanism of the inversely looked-up lower-level route or source node.
[0064] Exemplarily, 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 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 also delivers 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 and switching mechanism. On the one hand, the bandwidth control mechanism identifies the identifier and bandwidth level of the target node carried by the bandwidth adjustment message, and dynamically adjusts the passing rate of the access request of the source node to access the target node according to the bandwidth level of the target node. The passing rate matches the maximum transmission bandwidth corresponding to the bandwidth level of the target node, while the passing rate of the access request of the source node to access other target nodes remains unchanged. On the other hand, the bandwidth control mechanism delivers the bandwidth adjustment message of the target node to the source node, so that the source node can adjust the number of access requests sent, avoiding the increase in the response time of the access request of the corresponding source node when the bandwidth of the target node drops, resulting in the backlog of the access request at the bandwidth control mechanism, and further possibly causing the monitoring timeout of the access request at the source node.
[0066] Exemplarily, according to the above passing rate, the bandwidth control mechanism can uniformly release the access requests sent by the source node to the target node. 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 evenly distributes the 10 requests within 1 second, that is, releases 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 accessing the target node based on the bandwidth level in the bandwidth adjustment message. For example, in the system initialization phase, for the high-level bandwidth of the target node, a certain source node is allowed to access the target node and send outstanding access requests corresponding to a data volume of up to 16 GBps continuously. When receiving a bandwidth adjustment message for medium-level bandwidth, after the source node adjusts the access bandwidth, it can send outstanding access requests corresponding to a data volume of up to 12 GBps continuously at most.
[0068] Exemplarily, after the source node receives the bandwidth adjustment message from the target node, the following operations are performed:
[0069] a. Identify the identifier and bandwidth level of the target node carried in the bandwidth adjustment message, and adjust the configured bandwidth for accessing the target node, such as lowering or raising the bandwidth upper limit for accessing the target node;
[0070] 1) When the bandwidth level of the target node drops, lower the bandwidth upper limit for the source node to access the target node, so as to avoid the backlog of requests from the source node in the routing and switching mechanisms at all levels within the network of the SoC system, avoid blocking the access efficiency of other source nodes, avoid an increase in the request response delay of all target nodes in the network, and avoid the system detecting too many service timeouts and starting fault escalation processing.
[0071] 2) When the bandwidth level of the target node rises, raise the bandwidth upper limit for the source node to access it, so as to avoid insufficient bandwidth utilization of the source node for 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, without adjusting the bandwidth upper limit from the source node to other target nodes.
[0073] In summary, the present application can achieve adaptive bandwidth adjustment of the source node in a dynamic bandwidth adaptive control routing system, realize the optimal utilization of system bandwidth resources, and increase system stability.
[0074] On the one hand, when the bandwidth level of the target node changes in the present application, through the form of message passing, the adaptive bandwidth control routing dynamically adjusts the request efficiency sent by the source node having a routing relationship with it to match the bandwidth level of the target node, avoiding congestion of one or more routing nodes in the network, so as to ensure 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 in this application, the source node dynamically adjusts the bandwidth upper limit of the target node with which it has a routing relationship in the form of message passing, avoiding the backlog of requests from the source node at the transmission routing layer and preventing user losses caused by product fault escalation when the system detects too many timeout requests.
[0076] Correspondingly, as shown in Figure 2 this application exemplarily provides a dynamic bandwidth adaptive adjustment method, which is executed by the above-mentioned dynamic bandwidth adaptive control routing system and includes:
[0077] Step S201: The bandwidth control mechanism receives an access request from the source node to access the target node, and releases the access request according to the passing rate corresponding to the configured bandwidth pre-configured for the target node corresponding to the access request;
[0078] Step S202: The routing and 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 for 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 and switching mechanism, so as to adjust the configured bandwidth for the source node to access the target node.
[0082] Among them, the same source node can send access requests to different target nodes, different configured bandwidths can be pre-configured for different target nodes, and different passing rates can be pre-configured for different target nodes by the bandwidth control mechanism. Therefore, the passing rate corresponding to the configured bandwidth pre-configured for the target node corresponding to the access request can be understood as the passing rate corresponding to the target node to be accessed by the current access request.
[0083] Exemplarily, the routing and switching mechanism is a first-level or multi-level switching route; the method further includes:
[0084] The routing and switching mechanism, according to the bandwidth adjustment message of the target node received from the target bandwidth level monitoring mechanism, can reverse-lookup the lower-level routing and switching mechanism and / or the bandwidth control mechanism corresponding to the source node that can access the target node through the routing table;
[0085] The routing and switching mechanism delivers the bandwidth adjustment message to the found lower-level routing and switching mechanism and / or the bandwidth control mechanism corresponding to the source node.
[0086] Exemplarily, in step S204, that is, the target bandwidth level monitoring mechanism generates the bandwidth adjustment message of the target node by comparing the actual bandwidth with the maximum transmission bandwidth of the target node, including:
[0087] The target bandwidth level monitoring mechanism compares the actual bandwidth with the maximum transmission bandwidth of the target node, and determines whether the difference between the actual bandwidth and the maximum transmission bandwidth meets the preset bandwidth level adjustment condition;
[0088] If the bandwidth level adjustment condition is met, the bandwidth adjustment message is generated, and at least the bandwidth level to which the target node needs to be adjusted is carried in the bandwidth adjustment message.
[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 delivers 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 the specific implementation manner, reference can be made to the description of the dynamic bandwidth adaptive control routing system in the above embodiment, which will not be elaborated here.
[0095] The following illustrates the implementation steps of the dynamic bandwidth adaptive adjustment method provided by the exemplary embodiment of the present application:
[0096] Step 1. In the system initialization stage, according to the routing forwarding relationship from the source node to the target node, complete the initialization configuration of the routing forwarding table of the routing and switching mechanism; according to the system service ratio carried by the source node and the maximum transmission bandwidth of the target node, complete the initialization operation of the bandwidth allocation for the source node, complete the division configuration of the bandwidth interval of the target node, and complete the configuration of the unit time interval for real-time monitoring of the target node;
[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 at the passing rate that meets the bandwidth configuration requirements according to the initialized configured bandwidth.
[0098] Step 3: The routing and switching mechanism, upon receiving the request from the bandwidth control mechanism, 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 and switching mechanism, sends the request to the target node, and when the target node returns a response, completes the statistics of the data volume transmitted by the target node per unit time, monitors the actual bandwidth of the target node, and compares the statistically obtained actual bandwidth with its maximum transmission bandwidth to monitor the bandwidth level of the target node in real time. When the target bandwidth level monitoring mechanism monitors that the bandwidth level of the target node has decreased or increased periodically, the target bandwidth level monitoring mechanism is responsible for generating a bandwidth adjustment message carrying the identifier and bandwidth level of the target node and delivering the message to the routing and switching mechanism.
[0100] Step 5: The routing and switching 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, and reversely looks up according to the routing table to obtain the downstream route or source node that can access the target node, and delivers the message to the bandwidth control mechanism of the reversely looked-up downstream route or source node.
[0101] The bandwidth control mechanism corresponds to the source node one by one. When the bandwidth control mechanism receives the bandwidth adjustment message of the target node delivered by the routing and 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 passing rate of the access request of the source node to the target node according to the bandwidth level of the target node to match the bandwidth level of the target node, while the passing rate of the access request of the source node to other target nodes remains unchanged; on the other hand, it delivers the bandwidth adjustment message of the target node and the target node identifier to the source node.
[0102] Step 7: The source node receives the bandwidth adjustment message:
[0103] a. Identify the identifier and bandwidth level of the target node carried in the message, and lower or raise the bandwidth upper limit for accessing the target node.
[0104] 1) When the bandwidth level of the target node decreases, lower the bandwidth upper limit for the source node to access the target node, avoid the backlog of the requests of the source node in the routing and switching mechanisms at all levels in the network of the SoC system, avoid affecting the access efficiency of other source nodes, avoid the increase in the request response delay of all target nodes in the network, and avoid the system detecting too many service timeout start-up fault escalation processes.
[0105] 2) When the bandwidth level of the target node increases, the upper limit of the access bandwidth of the source node is raised to avoid insufficient bandwidth utilization of the source node for the target node and prevent bandwidth waste.
[0106] b. The source node only dynamically adjusts the upper limit of the bandwidth of the target node specified in the bandwidth level message to match the bandwidth level of the target node, without adjusting the upper limit of the bandwidth from the source node to other target nodes.
[0107] It can be 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 multiple embodiments according to the usage requirements, and should not limit the concept of this application to the specific details of the above examples.
[0108] Although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements 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, Including: A bandwidth control mechanism, a routing and switching mechanism, and a target bandwidth level monitoring mechanism; wherein, The bandwidth control mechanism is configured to receive an access request from a source node to a target node, and release the access request according to a passing rate corresponding to a configured bandwidth pre-configured for the target node corresponding to the access request; wherein, the source node and the target node are nodes in a Soc system; The routing and switching mechanism is configured to forward the access request to the target bandwidth level monitoring mechanism corresponding to the target node; The target bandwidth level monitoring mechanism is configured to send the access request to the target node and monitor the actual bandwidth of the target node; Wherein, the target bandwidth level monitoring mechanism further generates a bandwidth adjustment message for 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 and switching mechanism, so as to adjust the configured bandwidth for the source node to access the target node; after receiving the bandwidth adjustment message, the bandwidth control mechanism dynamically adjusts the passing rate of the access request from 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, and 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.
2. The dynamic bandwidth adaptive control routing system according to claim 1, characterized in that The routing and switching mechanism is a single-level or multi-level switching and routing; The routing and switching mechanism further, according to the bandwidth adjustment message of the target node received from the target bandwidth level monitoring mechanism, reversely looks up through a routing table the lower-level routing and switching mechanism and / or the bandwidth control mechanism corresponding to the source node that can access the target node, and transmits the bandwidth adjustment message to the reverse-looked-up lower-level routing and switching mechanism and / or the bandwidth control mechanism corresponding to the source node.
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 a preset bandwidth level adjustment condition, and if so, generates the bandwidth adjustment message, and the bandwidth adjustment message 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, wherein The bandwidth control mechanism corresponds to the source node one by one.
5. The method for dynamically adapting and adjusting bandwidth, characterized in that The method is executed by the dynamic bandwidth adaptive control routing system according to any one of claims 1-4, and the method includes: The bandwidth control mechanism receives an access request from a source node to a target node, and releases the access request according to a passing rate corresponding to a configured bandwidth pre-configured for the target node corresponding to the access request; wherein, the source node and the target node are nodes in a Soc system; The routing and switching mechanism forwards the access request to the 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 and switching mechanism, so as to adjust the configured bandwidth for the source node to access the target node; 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 passes the bandwidth adjustment message to the source node; 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. The dynamic bandwidth adaptive adjustment method according to claim 5, wherein The routing and switching mechanism is a first-level or multi-level switching route; the method further includes: According to the bandwidth adjustment message of the target node received from the target bandwidth level monitoring mechanism, the routing and switching mechanism reversely looks up the lower-level routing and switching mechanism and / or the bandwidth control mechanism corresponding to the source node that can access the target node through the routing table; The routing and switching mechanism passes the bandwidth adjustment message to the lower-level routing and switching mechanism and / or the bandwidth control mechanism corresponding to the source node found by the reverse lookup.
7. The dynamic bandwidth adaptive adjustment method according to claim 5 or 6, characterized in that 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, 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, a bandwidth adjustment message is generated, and at least the bandwidth level to which the target node needs to be adjusted is carried in the bandwidth adjustment message.
8. The dynamic bandwidth adaptive adjustment method according to claim 7, wherein The bandwidth control mechanism corresponds to the source node one by one.
Citation Information
Patent Citations
Information transmission control method, data processing method and device and data processing system
CN118018490A