WO2022033587A1 - Path planning method and apparatus, electronic device, and readable medium - Google Patents

Path planning method and apparatus, electronic device, and readable medium Download PDF

Info

Publication number
WO2022033587A1
WO2022033587A1 PCT/CN2021/112591 CN2021112591W WO2022033587A1 WO 2022033587 A1 WO2022033587 A1 WO 2022033587A1 CN 2021112591 W CN2021112591 W CN 2021112591W WO 2022033587 A1 WO2022033587 A1 WO 2022033587A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
time slot
node
path
routing
Prior art date
Application number
PCT/CN2021/112591
Other languages
French (fr)
Chinese (zh)
Inventor
吴臻志
沈杨书
祝夭龙
Original Assignee
北京灵汐科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京灵汐科技有限公司 filed Critical 北京灵汐科技有限公司
Publication of WO2022033587A1 publication Critical patent/WO2022033587A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/028Dynamic adaptation of the update intervals, e.g. event-triggered updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present invention relates to the field of communication technologies, and in particular, to a path planning method, apparatus, processing core, routing node, many-core chip, electronic device and computer-readable medium.
  • Routing refers to the network-wide process of determining the end-to-end path of a packet from source to destination.
  • local routes are often over-congested, resulting in a long transmission time for some data. Due to the influence of the barrel effect, it is often necessary to wait for all data to be transmitted before the next calculation operation can be performed, thus affecting the network quality.
  • the traditional static routing optimization technology can achieve precise control of routing resources through methods such as pre-compilation, but cannot handle the situation of dynamic data transmission.
  • Most of the dynamic routing technologies adopt the post-scheduling mechanism, that is, the route optimization measures are taken after the route is congested, which will cause the lag of route optimization.
  • Embodiments of the present invention provide a path planning method, apparatus, electronic device, and computer-readable medium.
  • an embodiment of the present invention provides a path planning method.
  • the path planning method includes: acquiring a plurality of timeslot application information, where the timeslot application information includes source node information, target node information, and applied for to be transmitted The transmission timeslots corresponding to the data, the transmission timeslots corresponding to the timeslot application information are the same; plan at least part of the timeslots in turn according to the source node information and target node information in the timeslot application information The target routing paths corresponding to each of the time slot application information in the application information; wherein, the road segments of the target routing paths corresponding to the data to be transmitted in any two of the time slot application information do not overlap, and the target routing paths It is used to transmit the data to be transmitted that needs to be transmitted in the corresponding transmission time slot.
  • an embodiment of the present invention provides a path planning method.
  • the path planning method includes: sending time slot application information to a path planning device, where the time slot application information includes source node information, target node information, and applied for The transmission time slot corresponding to the data to be transmitted, the time slot application information is used to apply for a routing path used for transmitting the data to be transmitted in the transmission time slot; the approval information returned by the path planning device is received, the approval information Including the information indicating that the time slot application failed, or the approval information includes the information indicating that the time slot application has passed and the information of recording the target routing path; wherein, the path planning device is used to plan the time corresponding to the same transmission time slot.
  • the target routing path corresponding to the slot application information is used to plan the time corresponding to the same transmission time slot.
  • an embodiment of the present invention provides a path planning apparatus, where the path planning apparatus includes: an acquisition module configured to acquire multiple timeslot application information, where the timeslot application information includes source node information, target node information, and The transmission timeslots corresponding to the applied data to be transmitted, the transmission timeslots corresponding to the timeslot application information are the same; the path planning module is used for sequentially according to the source node information and the source node information in the timeslot application information.
  • target node information planning at least part of the target routing paths corresponding to each of the time slot application information in the time slot application information; wherein, the target routing paths corresponding to the data to be transmitted in any two of the time slot application information
  • the road segments do not overlap, and the target routing path is used to transmit the data to be transmitted that needs to be transmitted in the corresponding transmission time slot.
  • an embodiment of the present invention provides a processing core, where the processing core includes a sending module and a receiving module, and the sending module is configured to send time slot application information to a path planning device, where the time slot application information includes source node information, target node information and a transmission time slot corresponding to the applied data to be transmitted, the time slot application information is used to apply for a routing path for transmitting the data to be transmitted in the transmission time slot; a receiving module is used to receive the The approval information returned by the path planning device, the approval information includes information indicating that the time slot application fails, or the approval information includes information indicating that the time slot application has passed and the information of recording the target routing path; wherein, the path planning device It is used to plan the target routing path corresponding to the time slot application information corresponding to the same transmission time slot.
  • an embodiment of the present invention provides a processing core, where the processing core includes the path planning apparatus described in any one of the embodiments of the present invention.
  • an embodiment of the present invention provides a routing node, where the routing node includes the path planning apparatus described in any embodiment of the present invention.
  • an embodiment of the present invention provides a many-core chip, the many-core chip includes a plurality of processing cores and an on-chip network, the on-chip network includes a plurality of routing nodes, and the routing nodes and the processing cores are one-to-one Correspondingly connected; the processing core includes the processing core according to the fourth aspect; the many-core chip further includes the path planning device described in any one of the embodiments of the present invention.
  • an embodiment of the present invention provides an electronic device, the electronic device includes: one or more processors; a storage device for storing one or more programs; One or more processors execute, so that the one or more processors implement the path planning method described in any one of the embodiments of the present invention.
  • the implementation of the present invention further provides a computer-readable medium on which a computer program is stored, and when the program is executed by a processor, implements the path planning method provided by any one of the embodiments of the present invention.
  • any device (such as a processing core or a many-core chip) is performing data transmission Before, the time slot application information can be sent to the path planning device to apply to transmit the data to be transmitted from the source node to the target node in the required transmission time slot.
  • path planning is performed in sequence to plan the target routing path corresponding to each time slot application information, and the segments of the target routing path corresponding to any two time slot application information do not overlap.
  • the solution of the embodiment of the present invention can realize dynamic routing path planning, and perform path planning according to data transmission needs in real time; on the other hand, because the solution of the embodiment of the present invention is to perform time slot application and path planning before data transmission Therefore, it can effectively solve the problem in the related art that routing optimization is performed after routing congestion occurs, effectively avoiding the hysteresis of routing optimization, and during path planning, the segments of each target routing path corresponding to the same transmission time slot do not overlap. , thereby effectively avoiding the occurrence of routing congestion when data transmission is performed in the same transmission time slot, and improving the data transmission efficiency.
  • FIG. 1 is a schematic flowchart of a path planning method according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of a many-core chip according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a specific implementation manner of step S120 in FIG. 1 .
  • FIG. 4 is a schematic flowchart of a specific implementation manner of step S330 in FIG. 3 .
  • FIG. 5 is a schematic flowchart of another specific implementation manner of step S330 in FIG. 3 .
  • FIG. 6 is a schematic flowchart of another path planning method provided by an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a scenario of a path planning method provided by an embodiment of the present invention.
  • FIG. 8 is a schematic flowchart of another specific implementation manner of step S120 in FIG. 1 .
  • FIG. 9 is a schematic structural diagram of a path planning apparatus according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a path planning method provided by an embodiment of the present invention.
  • the method is applicable to the situation of performing path planning before excessive congestion occurs in a route during data transmission.
  • the method may be executed by a path planning device, wherein the The apparatus can be implemented by software and/or hardware, and is generally integrated on an electronic device, and the electronic device can be considered as a device capable of implementing dynamic routing planning.
  • a path planning method provided by an embodiment of the present invention includes the following steps: step S110 and step S120.
  • the time slot application information includes source node information, target node information, and the transmission time slot corresponding to the applied data to be transmitted.
  • the transmission time slot corresponding to each time slot application information is the same, and the time slot application information is used to apply for the corresponding
  • the corresponding data to be transmitted is transmitted from the source node to the target node in the corresponding transmission time slot, that is, the routing path used for transmitting the data to be transmitted in the corresponding transmission time slot is applied.
  • FIG. 2 is a schematic structural diagram of a many-core chip in an embodiment of the present invention.
  • a path planning method can be applied to a many-core chip.
  • the many-core chip includes multiple processing cores and an on-chip Network (Network-on-Chip, NoC), the on-chip network contains multiple routing nodes, each processing core is connected to a routing node, and each processing core can transmit data to other processing cores through the corresponding routing nodes in the on-chip network, routing The nodes interact through the on-chip network, and the routing node can be a device for implementing routing, such as a router.
  • NoC Network-on-Chip
  • the one processing core may first send time slot application information to the path planning device to apply for the transmission time of the transmission data. slots and routing paths used to transmit data.
  • the source node is the routing node corresponding to the one processing core
  • the target node is the routing node corresponding to the other processing core
  • the source node information may include but is not limited to: the one
  • the physical location of the processing core, the source address corresponding to the source node, and the target node information may include, but are not limited to: the physical location of the other processing core, and the target address corresponding to the target node.
  • the one many-core chip can first send time slot application information to the path planning device to apply for a transmission time slot for data transmission and the use of The routing path used to transmit data.
  • the source node is the routing node corresponding to the one many-core chip
  • the target node is the routing node corresponding to the other many-core chip.
  • the source node information may include but is not limited to: The physical location of the one many-core chip, the source address corresponding to the source node, and the target node information may include, but are not limited to: the physical location of the other many-core chip, and the target address corresponding to the target node. Both the source address and the target address may be IP address, physical address.
  • the acquired multiple timeslot application information may be timeslot application information sent by one or more processing cores, that is, step S110 may include: receiving time slot application information sent by one or more processing cores slot application information.
  • the transmission timeslots corresponding to the multiple timeslot application information are the same, which means that the one or more processing cores apply for data transmission in the same transmission timeslot.
  • the path planning device obtains the multiple time slot application information, and can perform routing path planning for the routing nodes of the processing cores corresponding to each time slot application information.
  • a transmission time slot is a time slot for data transmission. For example, time is divided into several non-overlapping time slots, and different sub-channels are established in different time slots for data transmission.
  • the routing can be divided into Multiple time slots, corresponding data transmission is performed in each time slot.
  • the routing path is a data transmission path formed by connecting multiple routing nodes, and each time slot application information can be used to apply for planning a routing path for transmitting corresponding data in a corresponding transmission time slot.
  • the road segments of the target routing paths corresponding to any two time slot application information do not overlap, that is, there is no identical road segment between any two target routing paths, and the target routing paths are used for transmission and need to be transmitted in the corresponding transmission time slot. data to be transmitted.
  • the path planning apparatus may perform routing path planning for each timeslot application information corresponding to the same transmission timeslot.
  • a target routing path from the source node in the timeslot application information to the target node in the timeslot application information is planned from the transmission network (such as a network-on-chip) , the target routing path from the source node to the target node includes at least the source node and the target node, and may also include other routing nodes between the source node and the target node.
  • the road segments of each target routing path corresponding to the same transmission time slot do not overlap, that is, there is no same road segment between multiple target routing paths, so that the data transmission in the same transmission time slot can be effectively avoided.
  • any device can send time slot application information to the path planning apparatus before data transmission, so as to apply for the The data to be transmitted is transmitted from the source node to the target node.
  • the path planning device After the path planning device receives the application information of each time slot, it sequentially performs path planning for the time slot application information corresponding to the same transmission time slot, so as to plan out the corresponding time slot application information.
  • target routing path, and the segments of the target routing path corresponding to any two timeslot application information do not overlap.
  • the solution of the embodiment of the present invention can realize dynamic routing path planning, and perform path planning according to data transmission needs in real time; on the other hand, because the solution of the embodiment of the present invention is to perform time slot application and path planning before data transmission Therefore, it can effectively solve the problem in the related art that routing optimization is performed after routing congestion occurs, effectively avoiding the hysteresis of routing optimization, and during path planning, the segments of each target routing path corresponding to the same transmission time slot do not overlap. , thereby effectively avoiding the occurrence of routing congestion when data transmission is performed in the same transmission time slot, and improving the data transmission efficiency.
  • FIG. 3 is a schematic flowchart of a specific implementation manner of step S120 in FIG. 1 .
  • the source node information and the target node in the application information of each time slot are sequentially performed according to the time slot application information.
  • information, and planning the target routing path corresponding to each time slot application information may further include steps S310 to S340.
  • Step S310 for each time slot application information, according to the source node information and target node information in the time slot application information, determine one or more alternative routing paths from the source node to the target node from the transmission network.
  • the candidate routing path includes at least the source node and the target node, and may also include other routing nodes.
  • the alternative routing path from the source node to the target node may include the routing path connected by the source node and the target node, and may also include the source node, multiple
  • the alternative routing path from the source node to the target node may include the source node, one or A path formed by connecting multiple other routing nodes and target nodes in sequence.
  • Step S320 Determine the road segment occupancy state of each road segment of each candidate routing path according to the current path state information corresponding to the transmission time slot.
  • the current path status information is used to record the section occupancy status of the currently planned target routing path in the transmission network.
  • the current path status information can be used to indicate the occupancy status of all target routing paths currently planned in the transmission network.
  • the target routing path can be composed of one or more road segments, and a road segment refers to a path segment formed by connecting two adjacent routing nodes.
  • the road segment occupancy status can indicate whether the corresponding road segment has been planned to be occupied.
  • the road segment occupancy status of a road segment is In the idle state, it means that the road segment is not planned to be occupied. When the road segment occupation state of the road segment is in the busy state, it means that the road segment has been planned to be occupied.
  • the current path state information can be used to determine the currently idle routing path in the transmission network.
  • Step S330 according to the road segment occupation status of the road segments of each candidate routing path, select one candidate routing path from all the candidate routing paths as the target routing path corresponding to the time slot application information.
  • FIG. 4 is a schematic flowchart of a specific implementation manner of step S330 in FIG. 3 . As shown in FIG. 4 , in some embodiments, step S330 may further include steps S410 to S440 .
  • Step S410 From all the candidate routing paths, select the candidate routing path with the smallest number of corresponding road segments as the current routing path.
  • the candidate routing path with the smallest number of corresponding road segments can be understood as the candidate routing path containing the smallest number of routing nodes.
  • Step S420 Check whether there is a road segment in the busy state in each road segment of the current routing path.
  • Step S430 is executed when the road segment occupancy status of one or more road segments of the current routing path is the busy state, and step S440 is performed when the road segment occupancy status of each road segment of the current routing path is in the idle state.
  • Step S430 Remove the current routing path from all the alternative routing paths, and return to the step of selecting the alternative routing path with the smallest number of corresponding road segments from all the alternative routing paths as the current routing path.
  • Step S410 is executed to continue to select the current routing path from all the remaining candidate routing paths and perform subsequent steps.
  • the selection times of the current routing path is recorded as 0, and after each selection of the current routing path, the count value of the selection times is incremented by 1, so as to count the selection times of the current routing path and monitor whether the selection times exceed Set the threshold.
  • the set threshold may be a preset value, which is not specifically limited in this embodiment of the present invention.
  • Step S440 taking the current routing path as the target routing path corresponding to the time slot application information.
  • the current routing path is used as the target routing path corresponding to the time slot application information.
  • the approval information is generated, and the approval information is returned to the processing core that sent the time slot application information.
  • the approval information includes the information used to indicate the failure of the time slot application.
  • the secondary timeslot application and path planning are not approved, and the processing core can continue to apply for data transmission in other transmission timeslots at this time.
  • FIG. 5 is a schematic flowchart of another specific implementation of step S330 in FIG. 3 .
  • step S330 may further include: step S510.
  • Step S510 from all the alternative routing paths in which the occupancy state of each road segment is in the idle state, select an alternative routing path as the target routing path corresponding to the time slot application information.
  • any idle routing path from the source node to the target node can be used as the target routing path.
  • the candidate routing path with the smallest number of corresponding road segments is selected as the target routing path corresponding to the time slot application information.
  • the candidate routing path with the smallest number of corresponding road segments can be understood as the candidate routing path containing the smallest number of routing nodes. Selecting the alternative routing path with the least number of corresponding road segments as the target routing path can effectively improve the data transmission efficiency.
  • the batch reply information may further include routing configuration information that records the target routing path, and the routing configuration information may include but is not limited to: each node in the target routing path The node information (such as the node's address, etc.), the data transmission sequence of each node in the target routing path, and the transmission time slot, etc.
  • the routing configuration information recording the target routing path is sent to the routing node corresponding to the processing core that sent the time slot application information, so as to
  • the routing node (that is, the source node) corresponding to the processing core for sending the time slot application information performs routing configuration according to the routing configuration information, and the routing node (that is, the source node) corresponding to the processing core that sends the time slot application information is configured according to the routing configuration.
  • the information can determine the target routing path of the routing node, so as to perform data transmission in the corresponding transmission time slot.
  • Step S340 Update the current path state information corresponding to the corresponding transmission time slot according to the target routing path corresponding to the time slot application information.
  • step 340 according to the target routing path corresponding to the time slot application information, the road segment occupancy status of each road segment of the target routing path in the transmission network is updated to the busy state, so as to update the corresponding transmission time slot corresponding to current path status information.
  • the path planning is performed according to the updated current path state information.
  • the above-mentioned time slot application information is application information sent by a device (such as a processing core or a many-core chip) to the path planning apparatus in any time slot before the applied transmission time slot.
  • a device such as a processing core or a many-core chip
  • the route is divided into multiple transmission time slots according to time.
  • one device such as a processing core or a many-core chip
  • it can apply to the path planning device for the current transmission time slot. (Denoted as the nth transmission time slot) to perform data transmission, and send time slot application information to the path planning device in T transmission time slots before the nth transmission time slot, and inform the target node information.
  • the network-on-chip can predict how much data all nodes need to transmit in the nth transmission time slot when the data is transmitted in the T transmission time slots before the nth transmission time slot.
  • n and T are both positive integers.
  • the path planning device After the path planning device collects the time slot application information corresponding to the nth transmission time slot, it can calculate the target routing path corresponding to each time slot application information through a network optimization algorithm (such as the water-filling theorem). If the route is too congested, the device can be notified at any stage before the arrival of the nth transmission time slot that the time slot application fails, and the device can continue to apply for data transmission in other transmission time slots.
  • a network optimization algorithm such as the water-filling theorem
  • each routing path of the on-chip network under each transmission time slot can be regarded as a resource pool, and the path status information of each path in the resource pool is used to record the link status of each path in the resource pool.
  • Arranging to send a certain amount of data is equivalent to injecting water into the routing path in the resource pool.
  • the routing path injects more data than other paths, it means that the routing path is occupied.
  • each routing path is occupied.
  • the road segment occupancy status of the road segment is recorded as a busy state, and other data to be transmitted will be planned to other idle routing paths.
  • the final routing optimization result is that the data transmission volume of each routing path is basically balanced and consistent, and there is no overlap between routing paths corresponding to the same transmission time slot.
  • congestion occurs in one or more road sections of the local route, thereby alleviating the local congestion of the route and realizing the global route optimization.
  • FIG. 6 is a schematic flowchart of another path planning method provided by an embodiment of the present invention.
  • the time slot application information corresponding to each processing core can be cached in the routing application list, and the path planning device Read the application information of each time slot in the application list, and perform path planning for each time slot application information corresponding to each transmission time slot through the path planning algorithm. Specifically, according to the time slot application information corresponding to the same transmission time slot and the current path status After planning and determining the target routing path corresponding to each time slot application information, the path status information in the path resource pool is updated according to the target routing path, and the reply information is returned to the corresponding processing core, and the route of the target routing path is recorded at the same time.
  • the configuration information is sent to the routing node corresponding to the corresponding processing core to instruct the routing node to perform routing configuration.
  • FIG. 7 is a schematic diagram of a scenario of a path planning method provided by an embodiment of the present invention.
  • Time slot request information 1 which indicates that the processing core (1, 2) requests to transmit data to the processing core (2, 2) at the transmission time slot n.
  • Time slot request information 2 which indicates that the processing core (0, 2) requests to transmit data to the processing core (3, 2) at the transmission time slot n.
  • Time slot request information 3, which indicates that the processing core (0, 3) requests to transmit data to the processing core (3, 2) at the transmission time slot n.
  • Time slot request information 4 which indicates that the processing core (1, 2) requests to transmit data to the processing core (2, 2) at the transmission time slot n.
  • the amount of data transmitted by each application is the same, that is, the amount of data transmitted by each processing core is the same, and the amount of data transmitted by each processing core can be recorded as a unit data volume.
  • Path planning is performed for time slot application information 1, time slot application information 2, time slot application information 3, and time slot application information 4 in sequence.
  • the routing path (1, 2)-(2, 2) When planning the routing path corresponding to the time slot application information 1, the routing path (1, 2)-(2, 2) is composed of two adjacent routing nodes (1, 2) and (2, 2) in the on-chip network
  • the routing path (1, 2)-(2, 2) occupies a unit amount of data, as shown by the arrow corresponding to the time slot application information 1 in Figure 7, the routing path (1, 2)-(2, Each road section in 2) is not occupied, and the routing path (1, 2)-(2, 2) is determined as the target routing path corresponding to the time slot application information 1.
  • FIG. 8 is a schematic flowchart of another specific implementation of step S120 in FIG. 1 .
  • step S120 may further include: applying for information for each time slot, using the The source node corresponding to the source node information is used as the current node, and the following path planning process is performed: step S810 to step S850.
  • Step S810 Determine the current transmission direction according to the node information of the current node and the target node information.
  • node (0, 2) is the source node
  • node (3, 2) is the target node
  • node (0, 2) is the current node
  • the node information may include the corresponding processing core.
  • the relative position relationship between the target node (3, 2) and the current node (0, 2) can be determined according to the node information of the current node and the target node information, and the current transmission direction can be determined according to the relative position relationship, for example, the target node (3, 2) ) is located directly below the current node (0, 2), then the current transmission direction of the current node (0, 2) may include a downward direction, a left direction, and a right direction.
  • Step S820 Determine the road segment occupancy state corresponding to the road segment between the current node and the adjacent routing nodes along the current transmission direction according to the current path state information corresponding to the transmission time slot.
  • the current path status information is used to record the section occupancy status of the currently planned target routing path in the transmission network.
  • the current transmission direction of the current node (0, 2) may include the downward direction, the left direction, and the right direction.
  • step S820 since only the time slot application information 1 corresponding to the time slot application information 1 was previously planned
  • the target routing path (1, 2)-(2, 2) of The state is the idle state, and the road segment occupancy state of the road segment between the current node (0, 2) and the adjacent node (0, 3) in the right direction is the idle state, and the current node (0, 2) is in the idle state.
  • the road segment occupancy state of the road segment between adjacent nodes (0, 1) in the right direction is the idle state.
  • Step S830 From the adjacent routing nodes along the current transmission direction, select a routing node whose road segment occupation state of the corresponding road segment is an idle state as the next transmission node of the current node.
  • the road segment between the current node (0, 2) and the adjacent node (1, 2) in the downward direction, the current node (0, 2) and the adjacent node in the right direction are all idle, and the node (1, 2) , node (0, 3), and node (0, 1) can all be used as the next transmission node of the current node (0, 2).
  • Step S840 judging whether the next transmission node is the target node.
  • step S850 is executed.
  • the next transmission node is taken as the current node, and the step of determining the current transmission direction according to the node information of the current node and the target node information is returned, that is, returning to step S810 .
  • the next transit node is node (1, 2) as an example. Since node (1, 2) is not the target node (3, 2), the next transit node (1, 2) is used as the current node, and the process of determining the current The step of the current transmission direction of the node, the target node (3, 2) is located below the node (1, 2), so the transmission direction of the node (1, 2) can be downward, left, right direction.
  • node (2, 2) Since the segment between node (2, 2) and node (1, 2) has been occupied by the target routing path corresponding to time slot application information 1, that is, the segment between node (2, 2) and node (1, 2) The occupancy status of the road segment is busy, so node (2, 2) cannot be selected as the next transmission node of node (1, 2), and node (1, 3) or node (1, 1) can be selected as the next transmission node. For example, select node (1, 3) as the next transfer node, continue to use the next transfer node as the current node, and continue to select the next transfer node according to the above method, until the next transfer node is determined as the target node.
  • Step S850 Determine the target routing path according to the source node, the target node, and the transmission node between the source node and the target node.
  • next transfer node of the source node may be the target node
  • the next transfer node of the current node may be one or more
  • step S850 according to the source node, the target node, and the source node
  • One or more available routing paths can be determined between the transit node and the target node, and the road segment occupancy status of each road segment of each available routing path is an idle state.
  • the one available routing path is determined as the target routing path; in the case of multiple available routing paths, the available routing path with the least number of corresponding road segments is selected from the multiple available routing paths as the destination routing path.
  • one of the available routing paths with the least number of corresponding road segments can be selected as the target routing path.
  • the available routing path (0, 2)-(1, 2)-(1, 3)-(2, 3)-(2, 2) is finally determined -(3, 2), available routing paths (0, 2)-(1, 2)-(1, 1)-(2, 1)-(2, 2)-(3, 2), available routing paths ( 0,2)-(0,3)-(1,3)-(2,3)-(3,3)-(3,2), available routing paths (0,2)-(0,1)- (1, 1)-(2, 1)-(3, 1)-(3, 2), the number of road segments corresponding to the multiple available routing paths is 5, then one of the available routing paths can be selected as the target routing path .
  • approval information is generated, and the approval information includes information indicating that the time slot application fails.
  • the embodiment of the present invention also provides a path planning method, which is implemented based on a processing core, and the path planning method includes: sending time slot application information to a path planning device; and receiving approval information returned by the path planning device.
  • the time slot application information includes source node information, target node information and the transmission time slot corresponding to the applied data to be transmitted, and the time slot application information is used to apply for a routing path for transmitting the data to be transmitted in the transmission time slot
  • the path planning device is used to plan the target routing path corresponding to the time slot application information corresponding to the same transmission time slot, and the reply information includes information indicating that the time slot application fails, or the approval information includes the information indicating that the time slot application is passed and records the target routing path Information.
  • FIG. 9 is a schematic structural diagram of a path planning apparatus according to an embodiment of the present invention.
  • the apparatus may be implemented by software and/or hardware, and is generally integrated on an electronic device.
  • the path planning apparatus 900 may include: an acquisition module 910 and a path planning module 920 .
  • the acquisition module 910 is used to acquire multiple timeslot application information
  • the timeslot application information includes source node information, target node information and the transmission timeslot corresponding to the applied data to be transmitted, and the corresponding timeslot application information
  • the transmission time slots are the same.
  • the path planning module 920 is configured to plan a target routing path corresponding to each time slot application information in at least part of the time slot application information according to the source node information and the target node information in each time slot application information in sequence. Wherein, the road segments of the target routing paths corresponding to the data to be transmitted in any two timeslot application information do not overlap, and the target routing paths are used to transmit the to-be-transmitted data that needs to be transmitted in the corresponding transmission timeslots.
  • the path planning module 920 is configured to: apply for information for each time slot, take the source node corresponding to the source node information as the current node, and perform the following path planning process: determine according to the node information and target node information of the current node The current transmission direction; according to the current path state information corresponding to the transmission time slot, determine the road segment occupancy state corresponding to the road segment between the current node and the adjacent routing nodes along the current transmission direction; wherein, the current path state information is used to record in the transmission network The road segment occupancy status of the currently planned target routing path; from the adjacent routing nodes along the current transmission direction, select the route node whose road segment occupancy status is idle as the next transmission node of the current node; When the transit node is the destination node corresponding to the destination node information, the destination routing path is determined according to the source node, the destination node, and the transit node between the source node and the destination node.
  • the path planning module 920 is further configured to, after selecting the next transit node, if the next transit node is not the target node corresponding to the target node information, take the next transit node as the current node, and return the data according to the current The node information and target node information of the node determine the steps of the current transmission direction.
  • the path planning module 920 may further include: an alternative path determination unit, configured to apply for information for each time slot, according to the source node information and target node information in the time slot application information, from the transmission network. Determine one or more alternative routing paths from the source node to the target node; the path state determination unit is used to determine the road segment occupancy state of each road segment of each alternative routing path according to the current path state information corresponding to the transmission time slot A path selection unit, configured to select an alternative routing path from all the alternative routing paths as the target routing path corresponding to the time slot application information according to the section occupancy status of the sections of each alternative routing path.
  • the path selection unit is configured to: from all the candidate routing paths, select the candidate routing path with the smallest number of corresponding road segments as the current routing path; in the road segment occupation status of one or more road segments of the current routing path In the case of a busy state, remove the current routing path from all the alternative routing paths, and return to the step of selecting the alternative routing path with the least number of corresponding road segments as the current routing path from all the alternative routing paths; When the road segment occupation status of each road segment of the current routing path is in the idle state, the current routing path is used as the target routing path corresponding to the time slot application information.
  • the path selection unit is configured to select one candidate routing path as the target routing path corresponding to the time slot application information from all the candidate routing paths in which the occupancy status of each road segment is in the idle state. Specifically, the path selection unit is configured to select the candidate routing path with the smallest number of corresponding road sections from all the alternative routing paths in which the occupancy status of each road section is in the idle state as the target routing path corresponding to the time slot application information .
  • the path planning module 920 may further include: a state update unit, configured to update the current path state information corresponding to the transmission time slot according to the target routing path corresponding to the time slot application information, so as to update all the data in the transmission network.
  • the section occupancy status of each section of the target routing path is updated to the busy status.
  • the path planning module 920 may further include: an information generating unit and an information sending unit.
  • the information generating unit is configured to generate approval information
  • the information sending unit is configured to return the approval information to the processing core that sent the time slot application information.
  • the approval information includes information indicating that the time slot application fails; in the case where the target routing path corresponding to the time slot application information is determined, the approval information Contains information indicating that the time slot application has been passed.
  • the information sending unit is further configured to send the routing configuration information recording the target routing path to the processing core that sends the time slot application information the corresponding routing node.
  • the above path planning apparatus can execute the path planning method provided by any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.
  • the embodiment of the present invention also provides a processing core, including: a sending module and a receiving module.
  • the sending module is used to send time slot application information to the path planning device, the time slot application information includes source node information, target node information and the transmission time slot corresponding to the applied data to be transmitted, and the time slot application information is used to apply for the transmission time slot
  • the slot is used to transmit the routing path of the data to be transmitted.
  • the receiving module is configured to receive the reply information returned by the path planning device, where the reply information includes information indicating that the time slot application fails, or the approval information includes information indicating that the time slot application has passed and the information of recording the target routing path.
  • the path planning device is used for planning the target routing path corresponding to the time slot application information corresponding to the same transmission time slot.
  • An embodiment of the present invention further provides a processing core, where the processing core may be any processing core in a many-core chip, and the processing core may include the path planning apparatus described in any embodiment of the present invention.
  • An embodiment of the present invention further provides a processing core, and the routing node may be any routing node in a network-on-chip of a many-core chip, and the routing node may include the path planning apparatus described in any embodiment of the present invention.
  • An embodiment of the present invention further provides a many-core chip, the many-core chip includes a plurality of processing cores, an on-chip network, and the path planning apparatus described in any one of the embodiments of the present invention, the on-chip network includes a plurality of routing nodes, and the routing nodes One-to-one correspondence with the processing cores.
  • FIG. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • an electronic device provided in an embodiment of the present invention includes: one or more processors 101 and a storage device 102 ; the number of processors 101 in the control device may be one or more, and in FIG. 10 , one processor is used 101 is taken as an example; the storage device 102 is used to store one or more programs; the one or more programs are executed by the one or more processors 101, so that the one or more processors 101 are implemented as implemented in the present invention The path planning method described in any one of the examples.
  • the electronic device may further include: an input device 103 and an output device 104 .
  • the processor 101 , the storage device 102 , the input device 93 , and the output device 104 in the electronic device may be connected by a bus or in other ways, and the connection by a bus is taken as an example in FIG. 10 .
  • the storage device 102 in the electronic device can be used to store one or more programs, and the programs can be software programs, computer-executable programs, and modules, such as the paths provided in the embodiments of the present invention.
  • Program instructions/modules corresponding to the planning method include: an acquisition module 910 and a path planning module 920 ).
  • the processor 101 executes various functional applications and data processing of the electronic device by running the software programs, instructions and modules stored in the storage device 102, ie, implements the path planning method in the above method embodiments.
  • the storage device 102 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the electronic device, and the like. Additionally, storage device 102 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some instances, storage device 102 may further include memory located remotely relative to processor 101, which may be connected to the device through a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • the input device 103 can be used to receive input numerical or character information, and generate key signal input related to user setting and function control of the electronic device.
  • the output device 104 may include a display device such as a display screen.
  • the program when one or more programs included in the above electronic device are executed by the one or more processors 101, the program performs the path planning method provided by any one of the above embodiments.
  • an embodiment of the present invention provides a computer-readable medium on which a computer program is stored, and when the program is executed by a processor, is used to execute the path planning method provided by any of the foregoing embodiments.
  • the computer-readable medium of the embodiments of the present invention may adopt any combination of one or more computer-readable mediums.
  • the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium.
  • the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above.
  • Computer readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (Read Only Memory, ROM), Erasable Programmable Read Only Memory (EPROM), flash memory, optical fiber, portable CD-ROM, optical storage device, magnetic storage device, or any suitable combination of the above .
  • a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a propagated data signal in baseband or as part of a carrier wave, with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .
  • Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
  • suitable medium including but not limited to: wireless, wire, optical fiber cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
  • Computer program code for carrying out operations of the present invention may be written in one or more programming languages, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional A procedural programming language, such as the "C" language or similar programming language.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server.
  • the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or wide area network (WAN), or may be connected to an external computer (eg, through the Internet using an Internet service provider) connect).
  • LAN local area network
  • WAN wide area network
  • Internet service provider an external computer

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Disclosed are a path planning method and apparatus, a processing core, a routing node, a many-core chip, an electronic device, and a readable medium. The path planning method comprises: obtaining a plurality of pieces of time slot application information, each piece of time slot application information comprising source node information, target node information, and a requested transmission time slot corresponding to data to be transmitted; transmission time slots corresponding to the time slot application information being identical; and according to the source node information and the target node information in each piece of time slot application information, sequentially planning target routing paths corresponding to at least part of the time slot application information, wherein segments of target routing paths corresponding to any two pieces of time slot application information do not overlap; the target routing paths are used for transmitting said data that is required to be transmitted on a corresponding transmission time slot.

Description

路径规划方法、装置、电子设备和可读介质Path planning method, apparatus, electronic device and readable medium 技术领域technical field
本发明涉及通信技术领域,尤其涉及一种路径规划方法、装置、处理核、路由节点、众核芯片、电子设备和计算机可读介质。The present invention relates to the field of communication technologies, and in particular, to a path planning method, apparatus, processing core, routing node, many-core chip, electronic device and computer-readable medium.
背景技术Background technique
在当今高性能的网络中,为了提升网络质量,需要对路由进行优化。路由是指分组从源到目的地时,决定端到端路径的网络范围的进程。在网络传输数据时,经常会发生局部路由过度拥堵,导致部分数据传输时间长,由于木桶效应影响,往往需要等待所有数据传输完毕才可进行下一步的计算操作,从而影响了网络质量。In today's high-performance networks, routing optimization is required to improve network quality. Routing refers to the network-wide process of determining the end-to-end path of a packet from source to destination. When transmitting data over the network, local routes are often over-congested, resulting in a long transmission time for some data. Due to the influence of the barrel effect, it is often necessary to wait for all data to be transmitted before the next calculation operation can be performed, thus affecting the network quality.
传统的静态路由优化技术可以通过预编译等方法实现路由资源的精确控制,但无法处理动态数据传输的情形。动态路由技术大多采用的是后调度机制,即路由拥堵后才采取路由优化措施,因此会造成路由优化存在滞后性。The traditional static routing optimization technology can achieve precise control of routing resources through methods such as pre-compilation, but cannot handle the situation of dynamic data transmission. Most of the dynamic routing technologies adopt the post-scheduling mechanism, that is, the route optimization measures are taken after the route is congested, which will cause the lag of route optimization.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供了一种路径规划方法、装置、电子设备和计算机可读介质。Embodiments of the present invention provide a path planning method, apparatus, electronic device, and computer-readable medium.
第一方面,本发明实施例提供了一种路径规划方法,该路径规划方法包括:获取多个时隙申请信息,所述时隙申请信息包括源节点信息、目标节点信息以及所申请的待传输数据所对应的传输时隙,各所述时隙申请信息对应的所述传输时隙相同;依次根据各所述时隙申请信息中的源节点信息和目标节点信息,规划至少部分所述时隙申请信息中的各所述时隙申请信息所对应的目标路由路径;其中,任意两个所述时隙申请信息中待传输数据所对应的目标路由路径的路段不交叠,所述目标路由路径用于传输需在对应的所述传输时隙传输的待传输数据。In a first aspect, an embodiment of the present invention provides a path planning method. The path planning method includes: acquiring a plurality of timeslot application information, where the timeslot application information includes source node information, target node information, and applied for to be transmitted The transmission timeslots corresponding to the data, the transmission timeslots corresponding to the timeslot application information are the same; plan at least part of the timeslots in turn according to the source node information and target node information in the timeslot application information The target routing paths corresponding to each of the time slot application information in the application information; wherein, the road segments of the target routing paths corresponding to the data to be transmitted in any two of the time slot application information do not overlap, and the target routing paths It is used to transmit the data to be transmitted that needs to be transmitted in the corresponding transmission time slot.
第二方面,本发明实施例提供了一种路径规划方法,该路径规划方法包括:向路径规划装置发送时隙申请信息,所述时隙申请信息包括源节点信息、目标节点信息以及所申请的待传输数据所对应的传输时隙,所述时隙申请信息用于申请在所述传输时隙用于传输待传输数据的路由路径;接收所述路径规划装置返回的批复信息,所述批复信息包括指示时隙申请失败的信息,或者,所述批复信息包括指示时隙申请通过的信息以及记录目标路由路径的信息;其中,所述路径规划装置用于规划对应相同所述传输时隙的时隙申请信息所对应的目标路由路径。In a second aspect, an embodiment of the present invention provides a path planning method. The path planning method includes: sending time slot application information to a path planning device, where the time slot application information includes source node information, target node information, and applied for The transmission time slot corresponding to the data to be transmitted, the time slot application information is used to apply for a routing path used for transmitting the data to be transmitted in the transmission time slot; the approval information returned by the path planning device is received, the approval information Including the information indicating that the time slot application failed, or the approval information includes the information indicating that the time slot application has passed and the information of recording the target routing path; wherein, the path planning device is used to plan the time corresponding to the same transmission time slot. The target routing path corresponding to the slot application information.
第三方面,本发明实施例提供了一种路径规划装置,该路径规划装置包括:获取模块, 用于获取多个时隙申请信息,所述时隙申请信息包括源节点信息、目标节点信息以及所申请的待传输数据所对应的传输时隙,各所述时隙申请信息对应的所述传输时隙相同;路径规划模块,用于依次根据各所述时隙申请信息中的源节点信息和目标节点信息,规划至少部分所述时隙申请信息中的各所述时隙申请信息所对应的目标路由路径;其中,任意两个所述时隙申请信息中待传输数据所对应的目标路由路径的路段不交叠,所述目标路由路径用于传输需在对应的所述传输时隙传输的待传输数据。In a third aspect, an embodiment of the present invention provides a path planning apparatus, where the path planning apparatus includes: an acquisition module configured to acquire multiple timeslot application information, where the timeslot application information includes source node information, target node information, and The transmission timeslots corresponding to the applied data to be transmitted, the transmission timeslots corresponding to the timeslot application information are the same; the path planning module is used for sequentially according to the source node information and the source node information in the timeslot application information. target node information, planning at least part of the target routing paths corresponding to each of the time slot application information in the time slot application information; wherein, the target routing paths corresponding to the data to be transmitted in any two of the time slot application information The road segments do not overlap, and the target routing path is used to transmit the data to be transmitted that needs to be transmitted in the corresponding transmission time slot.
第四方面,本发明实施例提供了一种处理核,该处理核包括发送模块和接收模块,发送模块用于向路径规划装置发送时隙申请信息,所述时隙申请信息包括源节点信息、目标节点信息以及所申请的待传输数据所对应的传输时隙,所述时隙申请信息用于申请在所述传输时隙用于传输待传输数据的路由路径;接收模块,用于接收所述路径规划装置返回的批复信息,所述批复信息包括指示时隙申请失败的信息,或者,所述批复信息包括指示时隙申请通过的信息以及记录目标路由路径的信息;其中,所述路径规划装置用于规划对应相同所述传输时隙的时隙申请信息所对应的目标路由路径。In a fourth aspect, an embodiment of the present invention provides a processing core, where the processing core includes a sending module and a receiving module, and the sending module is configured to send time slot application information to a path planning device, where the time slot application information includes source node information, target node information and a transmission time slot corresponding to the applied data to be transmitted, the time slot application information is used to apply for a routing path for transmitting the data to be transmitted in the transmission time slot; a receiving module is used to receive the The approval information returned by the path planning device, the approval information includes information indicating that the time slot application fails, or the approval information includes information indicating that the time slot application has passed and the information of recording the target routing path; wherein, the path planning device It is used to plan the target routing path corresponding to the time slot application information corresponding to the same transmission time slot.
第五方面,本发明实施例提供了一种处理核,该处理核包括本发明任意一个实施例中所述的路径规划装置。In a fifth aspect, an embodiment of the present invention provides a processing core, where the processing core includes the path planning apparatus described in any one of the embodiments of the present invention.
第六方面,本发明实施例提供了一种路由节点,该路由节点包括本发明任意一个实施例中所述的路径规划装置。In a sixth aspect, an embodiment of the present invention provides a routing node, where the routing node includes the path planning apparatus described in any embodiment of the present invention.
第七方面,本发明实施例提供了一种众核芯片,该众核芯片包括多个处理核和片上网络,所述片上网络包括多个路由节点,所述路由节点与所述处理核一一对应连接;所述处理核包括如第四方面所述的处理核;所述众核芯片还包括本发明任意一个实施例中所述的路径规划装置。In a seventh aspect, an embodiment of the present invention provides a many-core chip, the many-core chip includes a plurality of processing cores and an on-chip network, the on-chip network includes a plurality of routing nodes, and the routing nodes and the processing cores are one-to-one Correspondingly connected; the processing core includes the processing core according to the fourth aspect; the many-core chip further includes the path planning device described in any one of the embodiments of the present invention.
第八方面,本发明实施例提供了一种电子设备,该电子设备包括:一个或多个处理器;存储装置,用于存储一个或多个程序;当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现本发明任意一个实施例中所述的路径规划方法。In an eighth aspect, an embodiment of the present invention provides an electronic device, the electronic device includes: one or more processors; a storage device for storing one or more programs; One or more processors execute, so that the one or more processors implement the path planning method described in any one of the embodiments of the present invention.
第九方面,本发明实施还提供了一种计算机可读介质,其上存储有计算机程序,该程序被处理器执行时实现如本发明任意一个实施例所提供的路径规划方法。In a ninth aspect, the implementation of the present invention further provides a computer-readable medium on which a computer program is stored, and when the program is executed by a processor, implements the path planning method provided by any one of the embodiments of the present invention.
根据本发明实施例所提供的路径规划方法、装置、处理核、路由节点、众核芯片、电子设备及可读介质的技术方案,任一设备(如处理核或众核芯片)在进行数据传输之前,可以向路径规划装置发送时隙申请信息,以申请在所需的传输时隙将待传输数据从源节点传输至目标节点,路径规划装置收到各时隙申请信息之后,对于对应相同传输时隙的时隙申请信息,依次进行路径规划,以规划出各时隙申请信息所对应的目标路由路径,且任意两个时隙申请信息所对应的目标路由路径的路段不交叠。在一方面,本发明实施例的方案可以实现动态路由路径规划,实时根据数据传输需要进行路径规划;在另一方面,由于本 发明实施例的方案是在数据传输之前进行时隙申请和路径规划,因此可以有效解决相关技术中在路由出现拥堵后才进行路由优化的问题,有效避免了路由优化的滞后性,且在路径规划时,对应相同传输时隙的各目标路由路径的路段不交叠,从而有效避免了在相同传输时隙进行数据传输时造成路由拥堵现象的发生,提高了数据传输效率。According to the technical solutions of the path planning method, device, processing core, routing node, many-core chip, electronic device, and readable medium provided by the embodiments of the present invention, any device (such as a processing core or a many-core chip) is performing data transmission Before, the time slot application information can be sent to the path planning device to apply to transmit the data to be transmitted from the source node to the target node in the required transmission time slot. For the time slot application information of the time slot, path planning is performed in sequence to plan the target routing path corresponding to each time slot application information, and the segments of the target routing path corresponding to any two time slot application information do not overlap. On the one hand, the solution of the embodiment of the present invention can realize dynamic routing path planning, and perform path planning according to data transmission needs in real time; on the other hand, because the solution of the embodiment of the present invention is to perform time slot application and path planning before data transmission Therefore, it can effectively solve the problem in the related art that routing optimization is performed after routing congestion occurs, effectively avoiding the hysteresis of routing optimization, and during path planning, the segments of each target routing path corresponding to the same transmission time slot do not overlap. , thereby effectively avoiding the occurrence of routing congestion when data transmission is performed in the same transmission time slot, and improving the data transmission efficiency.
附图说明Description of drawings
图1为本发明实施例提供的一种路径规划方法的流程示意图;1 is a schematic flowchart of a path planning method according to an embodiment of the present invention;
图2为本发明实施例中一种众核芯片的结构示意图。FIG. 2 is a schematic structural diagram of a many-core chip according to an embodiment of the present invention.
图3为图1中步骤S120的一种具体实现方式的流程示意图。FIG. 3 is a schematic flowchart of a specific implementation manner of step S120 in FIG. 1 .
图4为图3中步骤S330的一种具体实现方式的流程示意图。FIG. 4 is a schematic flowchart of a specific implementation manner of step S330 in FIG. 3 .
图5为图3中步骤S330的另一种具体实现方式的流程示意图。FIG. 5 is a schematic flowchart of another specific implementation manner of step S330 in FIG. 3 .
图6为本发明实施例提供的另一种路径规划方法的流程示意图。FIG. 6 is a schematic flowchart of another path planning method provided by an embodiment of the present invention.
图7为本发明实施例提供的一种路径规划方法的场景示意图。FIG. 7 is a schematic diagram of a scenario of a path planning method provided by an embodiment of the present invention.
图8为图1中步骤S120的另一种具体实施方式的流程示意图。FIG. 8 is a schematic flowchart of another specific implementation manner of step S120 in FIG. 1 .
图9为本发明实施例提供的一种路径规划装置的结构示意图。FIG. 9 is a schematic structural diagram of a path planning apparatus according to an embodiment of the present invention.
图10为本发明实施例提供的一种电子设备的结构示意图。FIG. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
具体实施方式detailed description
下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, the drawings only show some but not all structures related to the present invention.
在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项操作(或步骤)描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。此外,在不冲突的情况下,本发明中的实施例及实施例中的特征可以相互组合。Before discussing the exemplary embodiments in greater detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart depicts various operations (or steps) as a sequential process, many of the operations may be performed in parallel, concurrently, or concurrently. Additionally, the order of operations can be rearranged. The process may be terminated when its operation is complete, but may also have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, subroutines, and the like. Furthermore, the embodiments of the invention and the features of the embodiments may be combined with each other without conflict.
本发明使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”。The term "including" and its variants used in the present invention are open to include, ie, "including but not limited to". The term "based on" is "based at least in part on." The term "one embodiment" means "at least one embodiment."
图1为本发明实施例提供的一种路径规划方法的流程示意图,该方法可适用于数据传输过程中路由发生过度拥堵前进行路径规划的情况,该方法可以由路径规划装置来执行,其中该装置可由软件和/或硬件实现,并一般集成在电子设备上,电子设备可以认为是能够实现动态路由规划的设备。如图1所示,本发明实施例提供的一种路径规划方法,包括 如下步骤:步骤S110和步骤S120。FIG. 1 is a schematic flowchart of a path planning method provided by an embodiment of the present invention. The method is applicable to the situation of performing path planning before excessive congestion occurs in a route during data transmission. The method may be executed by a path planning device, wherein the The apparatus can be implemented by software and/or hardware, and is generally integrated on an electronic device, and the electronic device can be considered as a device capable of implementing dynamic routing planning. As shown in FIG. 1 , a path planning method provided by an embodiment of the present invention includes the following steps: step S110 and step S120.
S110、获取多个时隙申请信息。S110. Acquire multiple timeslot application information.
其中,时隙申请信息包括源节点信息、目标节点信息以及所申请的待传输数据所对应的传输时隙,各时隙申请信息所对应的传输时隙相同,时隙申请信息用于申请在对应的传输时隙内将相应的待传输数据从源节点传输至目标节点,即申请在对应的传输时隙用于传输待传输数据的路由路径。The time slot application information includes source node information, target node information, and the transmission time slot corresponding to the applied data to be transmitted. The transmission time slot corresponding to each time slot application information is the same, and the time slot application information is used to apply for the corresponding The corresponding data to be transmitted is transmitted from the source node to the target node in the corresponding transmission time slot, that is, the routing path used for transmitting the data to be transmitted in the corresponding transmission time slot is applied.
图2为本发明实施例中一种众核芯片的结构示意图,如图2所示,在本发明实施例中,路径规划方法可以应用于众核芯片,众核芯片包括多个处理核和片上网络(Network-on-Chip,NoC),片上网络包含多个路由节点,每个处理核对应连接一个路由节点,每个处理核可以通过片上网络中对应的路由节点向其他处理核传输数据,路由节点之间通过片上网络进行交互,路由节点可以是用于实现路由的设备,如路由器等。FIG. 2 is a schematic structural diagram of a many-core chip in an embodiment of the present invention. As shown in FIG. 2 , in the embodiment of the present invention, a path planning method can be applied to a many-core chip. The many-core chip includes multiple processing cores and an on-chip Network (Network-on-Chip, NoC), the on-chip network contains multiple routing nodes, each processing core is connected to a routing node, and each processing core can transmit data to other processing cores through the corresponding routing nodes in the on-chip network, routing The nodes interact through the on-chip network, and the routing node can be a device for implementing routing, such as a router.
在一种应用场景中,如图2所示,在一个处理核需向另一个处理核传输数据之前,该一个处理核可以先向路径规划装置发送时隙申请信息,以申请传输数据的传输时隙以及用于传输数据的路由路径。此种情况下,在时隙申请信息中,源节点是该一个处理核所对应的路由节点,目标节点是该另一个处理核所对应的路由节点,源节点信息可以包括但不限于:该一个处理核的物理位置、源节点对应的源地址,目标节点信息可以包括但不限于:该另一个处理核的物理位置、目标节点对应的目标地址。In an application scenario, as shown in FIG. 2 , before one processing core needs to transmit data to another processing core, the one processing core may first send time slot application information to the path planning device to apply for the transmission time of the transmission data. slots and routing paths used to transmit data. In this case, in the time slot application information, the source node is the routing node corresponding to the one processing core, the target node is the routing node corresponding to the other processing core, and the source node information may include but is not limited to: the one The physical location of the processing core, the source address corresponding to the source node, and the target node information may include, but are not limited to: the physical location of the other processing core, and the target address corresponding to the target node.
在一种应用场景中,在一个众核芯片需向另一个众核芯片传输数据之前,该一个众核芯片可以先向路径规划装置发送时隙申请信息,以申请传输数据的传输时隙以及用于传输数据的路由路径。此种情况下,在时隙申请信息中,源节点是该一个众核芯片所对应的路由节点,目标节点是该另一个众核芯片所对应的路由节点,源节点信息可以包括但不限于:该一个众核芯片的物理位置、源节点对应的源地址,目标节点信息可以包括但不限于:该另一个众核芯片的物理位置、目标节点对应的目标地址,源地址和目标地址均可以是IP地址、物理地址。In an application scenario, before one many-core chip needs to transmit data to another many-core chip, the one many-core chip can first send time slot application information to the path planning device to apply for a transmission time slot for data transmission and the use of The routing path used to transmit data. In this case, in the time slot application information, the source node is the routing node corresponding to the one many-core chip, and the target node is the routing node corresponding to the other many-core chip. The source node information may include but is not limited to: The physical location of the one many-core chip, the source address corresponding to the source node, and the target node information may include, but are not limited to: the physical location of the other many-core chip, and the target address corresponding to the target node. Both the source address and the target address may be IP address, physical address.
在一些实施例中,在步骤S110中,获取的多个时隙申请信息可以是一个或多个处理核发送的时隙申请信息,即步骤S110可以包括:接收一个或多个处理核发送的时隙申请信息。该多个时隙申请信息对应的传输时隙相同,即表示该一个或多个处理核申请于同一传输时隙进行数据传输。为有效防止在相同的传输时隙传输数据时造成的路由拥堵,路径规划装置获取到该多个时隙申请信息,可以为各时隙申请信息对应的处理核的路由节点进行路由路径规划。In some embodiments, in step S110, the acquired multiple timeslot application information may be timeslot application information sent by one or more processing cores, that is, step S110 may include: receiving time slot application information sent by one or more processing cores slot application information. The transmission timeslots corresponding to the multiple timeslot application information are the same, which means that the one or more processing cores apply for data transmission in the same transmission timeslot. In order to effectively prevent routing congestion caused when data is transmitted in the same transmission time slot, the path planning device obtains the multiple time slot application information, and can perform routing path planning for the routing nodes of the processing cores corresponding to each time slot application information.
在本发明实施例中,传输时隙为传输数据的时间间隙,例如,把时间划分为若干个互不重叠的时隙,在不同的时隙建立不同的子信道进行数据传输,路由可以划分为多个时隙,在每个时隙里进行相应的数据传输。In this embodiment of the present invention, a transmission time slot is a time slot for data transmission. For example, time is divided into several non-overlapping time slots, and different sub-channels are established in different time slots for data transmission. The routing can be divided into Multiple time slots, corresponding data transmission is performed in each time slot.
路由路径为由多个路由节点连接而成的数据传输路径,每个时隙申请信息可以用于申请规划一条用于在相应的传输时隙传输相应的数据的路由路径。The routing path is a data transmission path formed by connecting multiple routing nodes, and each time slot application information can be used to apply for planning a routing path for transmitting corresponding data in a corresponding transmission time slot.
S120、依次根据各时隙申请信息中的源节点信息和目标节点信息,规划至少部分时隙申请信息中的各时隙申请信息所对应的目标路由路径,任意两个时隙申请信息所对应的目标路由路径的路段不交叠。S120. According to the source node information and the target node information in the time slot application information in turn, plan at least a part of the target routing paths corresponding to the time slot application information in the time slot application information. The segments of the destination routing path do not overlap.
其中,任意两个时隙申请信息所对应的目标路由路径的路段不交叠,即任意两条目标路由路径之间不存在相同的路段,目标路由路径用于传输需在对应的传输时隙传输的待传输数据。Among them, the road segments of the target routing paths corresponding to any two time slot application information do not overlap, that is, there is no identical road segment between any two target routing paths, and the target routing paths are used for transmission and need to be transmitted in the corresponding transmission time slot. data to be transmitted.
在本发明实施例中,路径规划装置获取到该多个时隙申请信息后,可以针对对应相同传输时隙的各时隙申请信息进行路由路径规划。In the embodiment of the present invention, after acquiring the multiple timeslot application information, the path planning apparatus may perform routing path planning for each timeslot application information corresponding to the same transmission timeslot.
在本发明实施例中,针对每个时隙申请信息,从传输网络(如片上网络)中规划出从该时隙申请信息中的源节点至该时隙申请信息中的目标节点的目标路由路径,从源节点至目标节点的目标路由路径至少包括源节点和目标节点,还可以包括源节点和目标节点之间的其他路由节点。In the embodiment of the present invention, for each timeslot application information, a target routing path from the source node in the timeslot application information to the target node in the timeslot application information is planned from the transmission network (such as a network-on-chip) , the target routing path from the source node to the target node includes at least the source node and the target node, and may also include other routing nodes between the source node and the target node.
在本发明实施例中,对应相同传输时隙的各目标路由路径的路段不交叠,即多个目标路由路径之间不存在相同的路段,从而可以有效避免在相同传输时隙进行数据传输时造成路由拥堵现象的发生,提高数据传输效率。In the embodiment of the present invention, the road segments of each target routing path corresponding to the same transmission time slot do not overlap, that is, there is no same road segment between multiple target routing paths, so that the data transmission in the same transmission time slot can be effectively avoided. Causes the occurrence of routing congestion and improves the efficiency of data transmission.
本发明实施例所提供的路径规划方法,任一设备(如处理核或众核芯片)在进行数据传输之前,可以向路径规划装置发送时隙申请信息,以申请在所需的传输时隙将待传输数据从源节点传输至目标节点,路径规划装置收到各时隙申请信息之后,对于对应相同传输时隙的时隙申请信息,依次进行路径规划,以规划出各时隙申请信息所对应的目标路由路径,且任意两个时隙申请信息所对应的目标路由路径的路段不交叠。在一方面,本发明实施例的方案可以实现动态路由路径规划,实时根据数据传输需要进行路径规划;在另一方面,由于本发明实施例的方案是在数据传输之前进行时隙申请和路径规划,因此可以有效解决相关技术中在路由出现拥堵后才进行路由优化的问题,有效避免了路由优化的滞后性,且在路径规划时,对应相同传输时隙的各目标路由路径的路段不交叠,从而有效避免了在相同传输时隙进行数据传输时造成路由拥堵现象的发生,提高了数据传输效率。In the path planning method provided by the embodiment of the present invention, any device (such as a processing core or a many-core chip) can send time slot application information to the path planning apparatus before data transmission, so as to apply for the The data to be transmitted is transmitted from the source node to the target node. After the path planning device receives the application information of each time slot, it sequentially performs path planning for the time slot application information corresponding to the same transmission time slot, so as to plan out the corresponding time slot application information. target routing path, and the segments of the target routing path corresponding to any two timeslot application information do not overlap. On the one hand, the solution of the embodiment of the present invention can realize dynamic routing path planning, and perform path planning according to data transmission needs in real time; on the other hand, because the solution of the embodiment of the present invention is to perform time slot application and path planning before data transmission Therefore, it can effectively solve the problem in the related art that routing optimization is performed after routing congestion occurs, effectively avoiding the hysteresis of routing optimization, and during path planning, the segments of each target routing path corresponding to the same transmission time slot do not overlap. , thereby effectively avoiding the occurrence of routing congestion when data transmission is performed in the same transmission time slot, and improving the data transmission efficiency.
图3为图1中步骤S120的一种具体实现方式的流程示意图,如图3所示,在一些实施例中,在步骤S120中,依次根据各时隙申请信息中的源节点信息和目标节点信息,规划各时隙申请信息所对应的目标路由路径,可以进一步包括步骤S310~步骤S340。FIG. 3 is a schematic flowchart of a specific implementation manner of step S120 in FIG. 1 . As shown in FIG. 3 , in some embodiments, in step S120 , the source node information and the target node in the application information of each time slot are sequentially performed according to the time slot application information. information, and planning the target routing path corresponding to each time slot application information may further include steps S310 to S340.
步骤S310、针对每个时隙申请信息,根据该时隙申请信息中的源节点信息、目标节点信息,从传输网络中确定出一条或多条从源节点至目标节点的备选路由路径。Step S310 , for each time slot application information, according to the source node information and target node information in the time slot application information, determine one or more alternative routing paths from the source node to the target node from the transmission network.
其中,备选路由路径至少包括源节点核目标节点,还可以包括其他路由节点。在传输 网络中,当源节点与目标节点相邻时,则从源节点至目标节点的备选路由路径可以包括由源节点和目标节点连接而成的路由路径,还可以包括由源节点、多个其他路由节点以及目标节点依次连接而成的路径;在传输网络中,当源节点与目标节点不相邻时,则从源节点至目标节点的备选路由路径可以包括由源节点、一个或多个其他路由节点以及目标节点依次连接而成的路径。Wherein, the candidate routing path includes at least the source node and the target node, and may also include other routing nodes. In the transmission network, when the source node is adjacent to the target node, the alternative routing path from the source node to the target node may include the routing path connected by the source node and the target node, and may also include the source node, multiple In the transmission network, when the source node is not adjacent to the target node, the alternative routing path from the source node to the target node may include the source node, one or A path formed by connecting multiple other routing nodes and target nodes in sequence.
步骤S320、根据传输时隙对应的当前路径状态信息,确定每条备选路由路径的各路段的路段占用状态。Step S320: Determine the road segment occupancy state of each road segment of each candidate routing path according to the current path state information corresponding to the transmission time slot.
其中,当前路径状态信息用于记录传输网络中当前已规划的目标路由路径的路段占用状态。当前路径状态信息可以用于指示传输网络内当前已规划好的所有目标路由路径的路段占用情况。其中,目标路由路径可以由一个或多个路段构成,路段是指相邻两个路由节点连接而成的路径路段,路段占用状态可以指示对应的路段是否已被规划占用,路段的路段占用状态为空闲状态时表示该路段未被规划占用,路段的路段占用状态为繁忙状态时表示该路段已被规划占用,当前路径状态信息可以用于确定传输网络中当前空闲的路由路径。Wherein, the current path status information is used to record the section occupancy status of the currently planned target routing path in the transmission network. The current path status information can be used to indicate the occupancy status of all target routing paths currently planned in the transmission network. The target routing path can be composed of one or more road segments, and a road segment refers to a path segment formed by connecting two adjacent routing nodes. The road segment occupancy status can indicate whether the corresponding road segment has been planned to be occupied. The road segment occupancy status of a road segment is In the idle state, it means that the road segment is not planned to be occupied. When the road segment occupation state of the road segment is in the busy state, it means that the road segment has been planned to be occupied. The current path state information can be used to determine the currently idle routing path in the transmission network.
步骤S330、根据各备选路由路径的路段的路段占用状态,从所有备选路由路径中,选取一条备选路由路径作为该时隙申请信息对应的目标路由路径。Step S330 , according to the road segment occupation status of the road segments of each candidate routing path, select one candidate routing path from all the candidate routing paths as the target routing path corresponding to the time slot application information.
图4为图3中步骤S330的一种具体实现方式的流程示意图,如图4所示,在一些实施例中,步骤S330可以进一步包括步骤S410~步骤S440。FIG. 4 is a schematic flowchart of a specific implementation manner of step S330 in FIG. 3 . As shown in FIG. 4 , in some embodiments, step S330 may further include steps S410 to S440 .
步骤S410、从所有备选路由路径中,选取对应的路段数量最少的备选路由路径作为当前路由路径。Step S410: From all the candidate routing paths, select the candidate routing path with the smallest number of corresponding road segments as the current routing path.
其中,对应的路段(也称为跳数)数量最少的备选路由路径可以理解为是所包含的路由节点数量最少的备选路由路径。The candidate routing path with the smallest number of corresponding road segments (also referred to as the number of hops) can be understood as the candidate routing path containing the smallest number of routing nodes.
步骤S420、检查当前路由路径的各路段中是否存在路段占用状态为繁忙状态的路段。Step S420: Check whether there is a road segment in the busy state in each road segment of the current routing path.
在当前路由路径的一个或多个路段的路段占用状态为繁忙状态的情况下,执行步骤S430,在当前路由路径的各路段的路段占用状态均为空闲状态的情况下,执行步骤S440。Step S430 is executed when the road segment occupancy status of one or more road segments of the current routing path is the busy state, and step S440 is performed when the road segment occupancy status of each road segment of the current routing path is in the idle state.
步骤S430、将当前路由路径从所有备选路由路径中移除,并返回从所有备选路由路径中,选取对应的路段数量最少的备选路由路径作为当前路由路径的步骤。Step S430: Remove the current routing path from all the alternative routing paths, and return to the step of selecting the alternative routing path with the smallest number of corresponding road segments from all the alternative routing paths as the current routing path.
在当前路由路径的一个或多个路段的路段占用状态为繁忙状态的情况下,将当前路由路径从所有备选路由路径中移除,此时所有备选路由路径中不包含当前路由路径,返回执行步骤S410,以继续从剩余的所有备选路由路径中选取当前路由路径并进行后续步骤。In the case that the occupancy status of one or more road segments of the current routing path is busy, remove the current routing path from all the alternative routing paths. At this time, all the alternative routing paths do not contain the current routing path, and return Step S410 is executed to continue to select the current routing path from all the remaining candidate routing paths and perform subsequent steps.
其中,初始时,当前路由路径的选取次数记为0,在每次选取出当前路由路径后将选取次数的计数值进行加1处理,以便统计当前路由路径的选取次数并监控该选取次数是否超出设定阈值。其中,设定阈值可以是预先设定的数值,本发明实施例对此不作具体限定。Among them, initially, the selection times of the current routing path is recorded as 0, and after each selection of the current routing path, the count value of the selection times is incremented by 1, so as to count the selection times of the current routing path and monitor whether the selection times exceed Set the threshold. The set threshold may be a preset value, which is not specifically limited in this embodiment of the present invention.
步骤S440、将当前路由路径作为该时隙申请信息对应的目标路由路径。Step S440, taking the current routing path as the target routing path corresponding to the time slot application information.
在当前路由路径的各路段的路段占用状态均为空闲状态的情况下,将当前路由路径作为该时隙申请信息对应的目标路由路径。In the case that the road segment occupation status of each road segment of the current routing path is in the idle state, the current routing path is used as the target routing path corresponding to the time slot application information.
在一些实施例中,针对每个时隙申请信息,在确定出的每条备选路由路径中均存在至少一个路段的路段占用状态为繁忙状态的情况下,或者在当前路由路径的选取次数大于设定阈值的情况下,生成批复信息,并向发送该时隙申请信息的处理核返回该批复信息,该批复信息包括用于指示时隙申请失败的信息,指示时隙申请失败的信息表示本次时隙申请和路径规划未被批准,此时该处理核可以继续申请在其他传输时隙进行数据传输。In some embodiments, for each time slot application information, in the case where the road segment occupation status of at least one road segment in each determined alternative routing path is a busy state, or when the number of times of selection of the current routing path is greater than In the case of setting the threshold, the approval information is generated, and the approval information is returned to the processing core that sent the time slot application information. The approval information includes the information used to indicate the failure of the time slot application. The secondary timeslot application and path planning are not approved, and the processing core can continue to apply for data transmission in other transmission timeslots at this time.
图5为图3中步骤S330的另一种具体实现方式的流程示意图,在一些实施例中,如图5所示,针对每个时隙申请信息,在确定出的所有备选路由路径中,当存在至少一条备选路由路径的各路段的路段占用状态均为空闲状态时,步骤S330可以进一步包括:步骤S510。FIG. 5 is a schematic flowchart of another specific implementation of step S330 in FIG. 3 . In some embodiments, as shown in FIG. 5 , for each time slot application information, among all the determined alternative routing paths, When the road segment occupation state of each road segment with at least one alternative routing path is in the idle state, step S330 may further include: step S510.
步骤S510、从各路段的路段占用状态均为空闲状态的所有备选路由路径中,选择一条备选路由路径作为该时隙申请信息所对应的目标路由路径。Step S510 , from all the alternative routing paths in which the occupancy state of each road segment is in the idle state, select an alternative routing path as the target routing path corresponding to the time slot application information.
当备选路由路径的各路段的路段占用状态均为空闲状态时,表示该备选路由路径为空闲的路由路径。在一些实施例中,可以将任意一条从源节点至目标节点的空闲的路由路径作为目标路由路径。When the road segment occupation status of each road segment of the candidate routing path is in the idle state, it indicates that the candidate routing path is an idle routing path. In some embodiments, any idle routing path from the source node to the target node can be used as the target routing path.
在一些实施例中,从各路段的路段占用状态均为空闲状态的所有备选路由路径中,选择对应的路段数量最少的备选路由路径作为该时隙申请信息所对应的目标路由路径。其中,对应的路段(也称为跳数)数量最少的备选路由路径可以理解为是所包含的路由节点数量最少的备选路由路径。选择对应的路段数量最少的备选路由路径作为目标路由路径,可以有效提高数据传输效率。In some embodiments, from all the candidate routing paths in which the occupancy status of each road segment is in the idle state, the candidate routing path with the smallest number of corresponding road segments is selected as the target routing path corresponding to the time slot application information. The candidate routing path with the smallest number of corresponding road segments (also referred to as the number of hops) can be understood as the candidate routing path containing the smallest number of routing nodes. Selecting the alternative routing path with the least number of corresponding road segments as the target routing path can effectively improve the data transmission efficiency.
在一些实施例中,在确定出该时隙申请信息所对应的目标路由路径之后,生成批复信息,并向发送该时隙申请信息的处理核返回批复信息,该批复信息包括指示时隙申请通过的信息,指示时隙申请通过的信息表示本次时隙申请和路径规划已被批准。在一些实施例中,在确定出目标路由路径的情况下,该批复信息还可以进一步包括记录该目标路由路径的路由配置信息,该路由配置信息可以包括但不限于:该目标路由路径中各节点的节点信息(如节点的地址等)、该目标路由路径中各节点的数据传输顺序、传输时隙等。In some embodiments, after the target routing path corresponding to the time slot application information is determined, an approval information is generated, and the approval information is returned to the processing core that sent the time slot application information, where the approval information includes an indication that the time slot application is approved The information indicating that the time slot application is passed indicates that the current time slot application and path planning have been approved. In some embodiments, when the target routing path is determined, the batch reply information may further include routing configuration information that records the target routing path, and the routing configuration information may include but is not limited to: each node in the target routing path The node information (such as the node's address, etc.), the data transmission sequence of each node in the target routing path, and the transmission time slot, etc.
在一些实施例中,在确定出该时隙申请信息所对应的目标路由路径之后,将记录该目标路由路径的路由配置信息发送至发送该时隙申请信息的处理核所对应的路由节点,以供发送该时隙申请信息的处理核所对应的路由节点(即源节点)根据路由配置信息进行路由配置,发送该时隙申请信息的处理核所对应的路由节点(即源节点)根据路由配置信息可以确定该路由节点的目标路由路径,从而在相应的传输时隙进行数据传输。In some embodiments, after the target routing path corresponding to the time slot application information is determined, the routing configuration information recording the target routing path is sent to the routing node corresponding to the processing core that sent the time slot application information, so as to The routing node (that is, the source node) corresponding to the processing core for sending the time slot application information performs routing configuration according to the routing configuration information, and the routing node (that is, the source node) corresponding to the processing core that sends the time slot application information is configured according to the routing configuration. The information can determine the target routing path of the routing node, so as to perform data transmission in the corresponding transmission time slot.
步骤S340、根据该时隙申请信息所对应的目标路由路径,更新相应传输时隙所对应的当前路径状态信息。Step S340: Update the current path state information corresponding to the corresponding transmission time slot according to the target routing path corresponding to the time slot application information.
具体地,在步骤340中,根据该时隙申请信息所对应的目标路由路径,将传输网络中该目标路由路径的各路段的路段占用状态更新为繁忙状态,以更新对应的传输时隙所对应的当前路径状态信息。Specifically, in step 340, according to the target routing path corresponding to the time slot application information, the road segment occupancy status of each road segment of the target routing path in the transmission network is updated to the busy state, so as to update the corresponding transmission time slot corresponding to current path status information.
需要说明的是,在依次规划各时隙申请信息对应的目标路由路径的过程中,在根据当前的时隙申请信息对应的目标路由路径更新当前路径状态信息后,在规划下一个时隙申请信息对应的目标路由路径时,根据更新后的当前路径状态信息进行路径规划。It should be noted that, in the process of sequentially planning the target routing paths corresponding to each time slot application information, after updating the current path state information according to the target routing paths corresponding to the current time slot application information, the next time slot application information is planned. When there is a corresponding target routing path, the path planning is performed according to the updated current path state information.
在一些实施例中,上述时隙申请信息是设备(如处理核或众核芯片)在所申请的传输时隙之前的任意一个时隙发送给路径规划装置的申请信息。In some embodiments, the above-mentioned time slot application information is application information sent by a device (such as a processing core or a many-core chip) to the path planning apparatus in any time slot before the applied transmission time slot.
在一些应用场景中,将路由按照时间划分成多个传输时隙,在一个设备(如处理核或众核芯片)需要向另一个设备传输数据之前,可以向路径规划装置申请在当前传输时隙(记作第n个传输时隙)进行数据传输,并在第n个传输时隙之前的T个传输时隙向路径规划装置发送时隙申请信息,并告知目标节点信息。此时,片上网络可以在第n个传输时隙之前的T个传输时隙传输数据时就预知所有节点在第n个传输时隙内有多少需要传输的数据。其中,n和T均是正整数。In some application scenarios, the route is divided into multiple transmission time slots according to time. Before one device (such as a processing core or a many-core chip) needs to transmit data to another device, it can apply to the path planning device for the current transmission time slot. (Denoted as the nth transmission time slot) to perform data transmission, and send time slot application information to the path planning device in T transmission time slots before the nth transmission time slot, and inform the target node information. At this time, the network-on-chip can predict how much data all nodes need to transmit in the nth transmission time slot when the data is transmitted in the T transmission time slots before the nth transmission time slot. where n and T are both positive integers.
路径规划装置在收集到对应第n个传输时隙的时隙申请信息之后,可以通过网络优化算法(如注水定理)计算出每个时隙申请信息对应的目标路由路径,如果有不可解的路径或路由过度拥堵,则可在第n个传输时隙到来之前的任意阶段通知设备该时隙申请失败,此时设备可以继续申请在其他传输时隙进行数据传输。After the path planning device collects the time slot application information corresponding to the nth transmission time slot, it can calculate the target routing path corresponding to each time slot application information through a network optimization algorithm (such as the water-filling theorem). If the route is too congested, the device can be notified at any stage before the arrival of the nth transmission time slot that the time slot application fails, and the device can continue to apply for data transmission in other transmission time slots.
在一些应用场景中,每个传输时隙下片上网络的每条路由路径可以看作一个资源池,采用路径状态信息记录该资源池中各路径的路段状态,当资源池中某一路由路径被安排发送一定量的数据时,相当于在此资源池中的该路由路径中注水,当此路由路径注入的数据多于其它路径时即表示此路由路径被占用,相应的,此路由路径的各路段的路段占用状态均被记录为繁忙状态,其他待传输数据将被规划至其他空闲的路由路径。最后的路由优化结果为各个路由路径的数据传输量基本均衡一致,且同一传输时隙对应的各路由路径之间无交叠,不同数据在同一传输时隙通过不同路由路径进行传输时,有效避免了数据传输过程中在路由局部的一个或多个路段产生拥堵现象,从而缓解路由局部拥堵,实现全局路由优化。In some application scenarios, each routing path of the on-chip network under each transmission time slot can be regarded as a resource pool, and the path status information of each path in the resource pool is used to record the link status of each path in the resource pool. Arranging to send a certain amount of data is equivalent to injecting water into the routing path in the resource pool. When the routing path injects more data than other paths, it means that the routing path is occupied. Correspondingly, each routing path is occupied. The road segment occupancy status of the road segment is recorded as a busy state, and other data to be transmitted will be planned to other idle routing paths. The final routing optimization result is that the data transmission volume of each routing path is basically balanced and consistent, and there is no overlap between routing paths corresponding to the same transmission time slot. When different data are transmitted through different routing paths in the same transmission time slot, it can effectively avoid During the data transmission process, congestion occurs in one or more road sections of the local route, thereby alleviating the local congestion of the route and realizing the global route optimization.
图6为本发明实施例提供的另一种路径规划方法的流程示意图,如图6所示,每个处理核对应的时隙申请信息可以被缓存至路由申请列表中,路径规划装置可以从路由申请列表中读取各时隙申请信息,并通过路径规划算法对每个传输时隙对应的各时隙申请信息进行路径规划,具体根据对应相同传输时隙的各时隙申请信息和当前路径状态信息,规划确 定各时隙申请信息对应的目标路由路径,规划后根据目标路由路径更新路径资源池中的路径状态信息,并将批复信息返回给相应的处理核,同时将记录目标路由路径的路由配置信息发送给相应处理核所对应的路由节点,以指示路由节点进行路由配置。FIG. 6 is a schematic flowchart of another path planning method provided by an embodiment of the present invention. As shown in FIG. 6 , the time slot application information corresponding to each processing core can be cached in the routing application list, and the path planning device Read the application information of each time slot in the application list, and perform path planning for each time slot application information corresponding to each transmission time slot through the path planning algorithm. Specifically, according to the time slot application information corresponding to the same transmission time slot and the current path status After planning and determining the target routing path corresponding to each time slot application information, the path status information in the path resource pool is updated according to the target routing path, and the reply information is returned to the corresponding processing core, and the route of the target routing path is recorded at the same time. The configuration information is sent to the routing node corresponding to the corresponding processing core to instruct the routing node to perform routing configuration.
图7为本发明实施例提供的一种路径规划方法的场景示意图,如图7所示,假设共有四个对应相同传输时隙的时隙申请信息。时隙申请信息1,其表示处理核(1,2)申请在传输时隙n传输数据到处理核(2,2)。时隙申请信息2,其表示处理核(0,2)申请在传输时隙n传输数据到处理核(3,2)。时隙申请信息3,其表示处理核(0,3)申请在传输时隙n传输数据到处理核(3,2)。时隙申请信息4,其表示处理核(1,2)申请在传输时隙n传输数据到处理核(2,2)。其中,假设每个申请传输的数据量一致,即每个处理核申请传输的数据量一致,每个处理核申请传输的数据量可以记为单位数据量。FIG. 7 is a schematic diagram of a scenario of a path planning method provided by an embodiment of the present invention. As shown in FIG. 7 , it is assumed that there are four timeslot application information corresponding to the same transmission timeslot. Time slot request information 1, which indicates that the processing core (1, 2) requests to transmit data to the processing core (2, 2) at the transmission time slot n. Time slot request information 2, which indicates that the processing core (0, 2) requests to transmit data to the processing core (3, 2) at the transmission time slot n. Time slot request information 3, which indicates that the processing core (0, 3) requests to transmit data to the processing core (3, 2) at the transmission time slot n. Time slot request information 4, which indicates that the processing core (1, 2) requests to transmit data to the processing core (2, 2) at the transmission time slot n. Wherein, it is assumed that the amount of data transmitted by each application is the same, that is, the amount of data transmitted by each processing core is the same, and the amount of data transmitted by each processing core can be recorded as a unit data volume.
依次针对时隙申请信息1、时隙申请信息2、时隙申请信息3、时隙申请信息4进行路径规划。Path planning is performed for time slot application information 1, time slot application information 2, time slot application information 3, and time slot application information 4 in sequence.
在规划时隙申请信息1对应的路由路径时,路由路径(1,2)-(2,2)是由片上网络内相邻的两个路由节点(1,2)和(2,2)组成的路由路径,该路由路径(1,2)-(2,2)占用一个单位数据量,如图7中时隙申请信息1对应的箭头所示,路由路径(1,2)-(2,2)中各路段没有被占用,将路由路径(1,2)-(2,2)确定为时隙申请信息1对应的目标路由路径。When planning the routing path corresponding to the time slot application information 1, the routing path (1, 2)-(2, 2) is composed of two adjacent routing nodes (1, 2) and (2, 2) in the on-chip network The routing path (1, 2)-(2, 2) occupies a unit amount of data, as shown by the arrow corresponding to the time slot application information 1 in Figure 7, the routing path (1, 2)-(2, Each road section in 2) is not occupied, and the routing path (1, 2)-(2, 2) is determined as the target routing path corresponding to the time slot application information 1.
在规划时隙申请信息2对应的路由路径时,虽然路由路径(0,2)-(1,2)-(2,2)-(3,2)的传输距离最短,但由于路段(1,2)-(2,2)已被占用,因此采用如图7中时隙申请信息2对应的箭头所示的路由路径(0,2)-(1,2)-(1,3)-(2,3)-(2,2)-(3,2),该路由路径(0,2)-(1,2)-(1,3)-(2,3)-(2,2)-(3,2)中各路段均没有被占用,所以将路由路径(0,2)-(1,2)-(1,3)-(2,3)-(2,2)-(3,2)确定为时隙申请信息2对应的目标路由路径。When planning the routing path corresponding to the time slot application information 2, although the transmission distance of the routing path (0, 2)-(1, 2)-(2, 2)-(3, 2) is the shortest, because the road segment (1, 2) has the shortest transmission distance, 2)-(2, 2) are already occupied, so the routing path (0, 2)-(1, 2)-(1, 3)-( as shown by the arrow corresponding to the time slot application information 2 in Figure 7 is adopted 2,3)-(2,2)-(3,2), the routing path (0,2)-(1,2)-(1,3)-(2,3)-(2,2)- Each road segment in (3, 2) is not occupied, so the routing path (0, 2)-(1, 2)-(1, 3)-(2, 3)-(2, 2)-(3, 2) Determine the target routing path corresponding to the time slot application information 2.
在规划时隙申请信息3对应的路由路径时,虽然通过从节点(1,3)至节点(2,3)的路段或从节点(1,2)至节点(2,2)的路段所在路由路径的传输距离最短,但由于从节点(1,3)至节点(2,3)的路段或从节点(1,2)至节点(2,2)的路段均已被占用,因此选择如图7所示时隙申请信息3对应的箭头所示的路由路径(0,3)-(0,2)-(0,1)-(1,1)-(2,1)-(3,1)-(3,2),所以将路由路径(0,3)-(0,2)-(0,1)-(1,1)-(2,1)-(3,1)-(3,2)确定为时隙申请信息3对应的目标路由路径。When planning the routing path corresponding to the time slot application information 3, although the route from the node (1, 3) to the node (2, 3) or the route from the node (1, 2) to the node (2, 2) is located The transmission distance of the path is the shortest, but since the road segment from node (1, 3) to node (2, 3) or the road segment from node (1, 2) to node (2, 2) is already occupied, the selection as shown in Fig. The routing path (0, 3)-(0, 2)-(0, 1)-(1, 1)-(2, 1)-(3, 1) indicated by the arrow corresponding to the time slot application information 3 shown in 7 )-(3, 2), so will route the path (0, 3)-(0, 2)-(0, 1)-(1, 1)-(2, 1)-(3, 1)-(3 , 2) It is determined as the target routing path corresponding to the time slot application information 3.
在规划时隙申请信息4对应的路由路径时,由于路段(1,2)-(2,2)、路段(1,1)-(2,2)以及路段(1,3)-(2,3)都已被占用,从节点(1,2)至(2,2)不存在各路段均空闲的路由路径,故时隙申请失败。When planning the routing path corresponding to the time slot application information 4, due to the section (1, 2)-(2, 2), the section (1, 1)-(2, 2) and the section (1, 3)-(2, 3) All have been occupied, and there is no free routing path for each road segment from nodes (1, 2) to (2, 2), so the time slot application fails.
图8为图1中步骤S120的另一种具体实施方式的流程示意图,如图8所示,在一些 实施例中,步骤S120可以进一步包括:针对每个所述时隙申请信息,以所述源节点信息对应的源节点作为当前节点,进行以下路径规划过程:步骤S810~步骤S850。FIG. 8 is a schematic flowchart of another specific implementation of step S120 in FIG. 1 . As shown in FIG. 8 , in some embodiments, step S120 may further include: applying for information for each time slot, using the The source node corresponding to the source node information is used as the current node, and the following path planning process is performed: step S810 to step S850.
步骤S810、根据当前节点的节点信息和目标节点信息确定当前传输方向。Step S810: Determine the current transmission direction according to the node information of the current node and the target node information.
以图7为例,针对时隙申请信息2,节点(0,2)为源节点,节点(3,2)目标节点,假设节点(0,2)当前节点,节点信息可以包括对应的处理核的物理位置、节点对应的地址(如物理地址、IP地址)等。根据当前节点的节点信息和目标节点信息可以确定目标节点(3,2)与当前节点(0,2)的相对位置关系,根据相对位置关系可以确定出当前传输方向,例如目标节点(3,2)位于当前节点(0,2)的正下方,则当前节点(0,2)的当前传输方向可以包括向下的方向、向左的方向、向右的方向。Taking FIG. 7 as an example, for time slot application information 2, node (0, 2) is the source node, node (3, 2) is the target node, assuming node (0, 2) is the current node, the node information may include the corresponding processing core. The physical location of the node, the address corresponding to the node (such as physical address, IP address), etc. The relative position relationship between the target node (3, 2) and the current node (0, 2) can be determined according to the node information of the current node and the target node information, and the current transmission direction can be determined according to the relative position relationship, for example, the target node (3, 2) ) is located directly below the current node (0, 2), then the current transmission direction of the current node (0, 2) may include a downward direction, a left direction, and a right direction.
步骤S820、根据传输时隙对应的当前路径状态信息,确定当前节点与沿当前传输方向相邻的路由节点之间的路段对应的路段占用状态。Step S820: Determine the road segment occupancy state corresponding to the road segment between the current node and the adjacent routing nodes along the current transmission direction according to the current path state information corresponding to the transmission time slot.
其中,当前路径状态信息用于记录传输网络中当前已规划的目标路由路径的路段占用状态。Wherein, the current path status information is used to record the section occupancy status of the currently planned target routing path in the transmission network.
如图7所示,当前节点(0,2)的当前传输方向可以包括向下的方向、向左的方向、向右的方向,在步骤S820中,由于此前仅规划了时隙申请信息1对应的目标路由路径(1,2)-(2,2),因此可以确定出当前节点(0,2)与沿向下的方向上相邻的节点(1,2)之间的路段的路段占用状态为空闲状态,当前节点(0,2)与沿向右的方向上相邻的节点(0,3)之间的路段的路段占用状态为空闲状态,当前节点(0,2)与沿向右的方向上相邻的节点(0,1)之间的路段的路段占用状态为空闲状态。As shown in FIG. 7 , the current transmission direction of the current node (0, 2) may include the downward direction, the left direction, and the right direction. In step S820, since only the time slot application information 1 corresponding to the time slot application information 1 was previously planned The target routing path (1, 2)-(2, 2) of The state is the idle state, and the road segment occupancy state of the road segment between the current node (0, 2) and the adjacent node (0, 3) in the right direction is the idle state, and the current node (0, 2) is in the idle state. The road segment occupancy state of the road segment between adjacent nodes (0, 1) in the right direction is the idle state.
步骤S830、从沿当前传输方向上相邻的路由节点中,选择对应的路段的路段占用状态为空闲状态的路由节点作为当前节点的下一个传输节点。Step S830: From the adjacent routing nodes along the current transmission direction, select a routing node whose road segment occupation state of the corresponding road segment is an idle state as the next transmission node of the current node.
以图7为例,当前节点(0,2)与沿向下的方向上相邻的节点(1,2)之间的路段、当前节点(0,2)与沿向右的方向上相邻的节点(0,3)之间的路段、当前节点(0,2)与沿向右的方向上相邻的节点(0,1)之间的路段均为空闲状态,节点(1,2)、节点(0,3)、节点(0,1)均可以作为当前节点(0,2)的下一个传输节点。Taking Figure 7 as an example, the road segment between the current node (0, 2) and the adjacent node (1, 2) in the downward direction, the current node (0, 2) and the adjacent node in the right direction The road segment between the nodes (0, 3) of , the road segment between the current node (0, 2) and the adjacent node (0, 1) in the right direction are all idle, and the node (1, 2) , node (0, 3), and node (0, 1) can all be used as the next transmission node of the current node (0, 2).
步骤S840、判断下一个传输节点是否为目标节点。Step S840, judging whether the next transmission node is the target node.
在下一个传输节点是目标节点信息对应的目标节点的情况下,执行步骤S850。在下一个传输节点不是目标节点信息对应的目标节点的情况下,将下一个传输节点作为当前节点,并返回所述根据当前节点的节点信息和目标节点信息确定当前传输方向的步骤,即返回步骤S810。If the next transmission node is the target node corresponding to the target node information, step S850 is executed. In the case that the next transmission node is not the target node corresponding to the target node information, the next transmission node is taken as the current node, and the step of determining the current transmission direction according to the node information of the current node and the target node information is returned, that is, returning to step S810 .
以下一个传输节点为节点(1,2)为例,由于节点(1,2)不是目标节点(3,2),因此将该下一个传输节点(1,2)作为当前节点,继续进行确定当前节点的当前传输方向的步骤,目标节点(3,2)位于节点(1,2)的下方,因此节点(1,2)的传输方向可以 为向下的方向、向左的方向、向右的方向。The next transit node is node (1, 2) as an example. Since node (1, 2) is not the target node (3, 2), the next transit node (1, 2) is used as the current node, and the process of determining the current The step of the current transmission direction of the node, the target node (3, 2) is located below the node (1, 2), so the transmission direction of the node (1, 2) can be downward, left, right direction.
由于节点(2,2)与节点(1,2)之间的路段已被时隙申请信息1对应的目标路由路径占用,即节点(2,2)与节点(1,2)之间的路段的路段占用状态为繁忙状态,因此不能选择节点(2,2)作为节点(1,2)的下一个传输节点,可选择节点(1,3)或节点(1,1)作为下一个传输节点,例如选择节点(1,3)作为下一个传输节点,继续将下一个传输节点作为当前节点,并继续按照上述方式选取下一个传输节点,直至确定下一个传输节点为目标节点。Since the segment between node (2, 2) and node (1, 2) has been occupied by the target routing path corresponding to time slot application information 1, that is, the segment between node (2, 2) and node (1, 2) The occupancy status of the road segment is busy, so node (2, 2) cannot be selected as the next transmission node of node (1, 2), and node (1, 3) or node (1, 1) can be selected as the next transmission node. For example, select node (1, 3) as the next transfer node, continue to use the next transfer node as the current node, and continue to select the next transfer node according to the above method, until the next transfer node is determined as the target node.
步骤S850、根据源节点、目标节点、以及源节点和目标节点之间的传输节点,确定出目标路由路径。Step S850: Determine the target routing path according to the source node, the target node, and the transmission node between the source node and the target node.
在一些实施例中,由于源节点的下一个传输节点可能是目标节点,且当前节点的下一个传输节点可能为一个或多个,因此在步骤S850中,根据源节点、目标节点、以及源节点和目标节点之间的传输节点,可以确定出一条或多条可用路由路径,且每条可用路由路径的各路段的路段占用状态均为空闲状态。In some embodiments, since the next transfer node of the source node may be the target node, and the next transfer node of the current node may be one or more, in step S850, according to the source node, the target node, and the source node One or more available routing paths can be determined between the transit node and the target node, and the road segment occupancy status of each road segment of each available routing path is an idle state.
在只有一条可用路由路径的情况下,将该一条可用路由路径确定为目标路由路径;在存在多条可用路由路径的情况下,从多条可用路由路径中选取对应的路段数量最少的可用路由路径作为目标路由路径。In the case of only one available routing path, the one available routing path is determined as the target routing path; in the case of multiple available routing paths, the available routing path with the least number of corresponding road segments is selected from the multiple available routing paths as the destination routing path.
当对应的路段数量最少的可用路由路径为多条时,则可以任选一条对应的路段数量最少的可用路由路径作为目标路由路径。When there are multiple available routing paths with the least number of corresponding road segments, one of the available routing paths with the least number of corresponding road segments can be selected as the target routing path.
例如,如图7所示,针对时隙申请信息2,最终确定出可用路由路径(0,2)-(1,2)-(1,3)-(2,3)-(2,2)-(3,2)、可用路由路径(0,2)-(1,2)-(1,1)-(2,1)-(2,2)-(3,2)、可用路由路径(0,2)-(0,3)-(1,3)-(2,3)-(3,3)-(3,2)、可用路由路径(0,2)-(0,1)-(1,1)-(2,1)-(3,1)-(3,2),该多条可用路由路径对应的路段数量均为5,则可以任选一条可用路由路径作为目标路由路径。For example, as shown in FIG. 7, for the time slot application information 2, the available routing path (0, 2)-(1, 2)-(1, 3)-(2, 3)-(2, 2) is finally determined -(3, 2), available routing paths (0, 2)-(1, 2)-(1, 1)-(2, 1)-(2, 2)-(3, 2), available routing paths ( 0,2)-(0,3)-(1,3)-(2,3)-(3,3)-(3,2), available routing paths (0,2)-(0,1)- (1, 1)-(2, 1)-(3, 1)-(3, 2), the number of road segments corresponding to the multiple available routing paths is 5, then one of the available routing paths can be selected as the target routing path .
在一些实施例中,当当前节点与当前传输方向上相邻的所有路由节点之间的路段的路段占用状态均为繁忙状态,则生成批复信息,该批复信息包括指示时隙申请失败的信息。In some embodiments, when the road segment occupancy status of the road segment between the current node and all adjacent routing nodes in the current transmission direction is in the busy state, approval information is generated, and the approval information includes information indicating that the time slot application fails.
本发明实施例还提供了一种路径规划方法,该路径规划方法基于处理核实现,该路径规划方法包括:向路径规划装置发送时隙申请信息;接收路径规划装置返回的批复信息。The embodiment of the present invention also provides a path planning method, which is implemented based on a processing core, and the path planning method includes: sending time slot application information to a path planning device; and receiving approval information returned by the path planning device.
其中,时隙申请信息包括源节点信息、目标节点信息以及所申请的待传输数据所对应的传输时隙,时隙申请信息用于申请在该传输时隙用于传输待传输数据的路由路径,路径规划装置用于规划对应相同传输时隙的时隙申请信息所对应的目标路由路径,批复信息包括指示时隙申请失败的信息,或者批复信息包括指示时隙申请通过的信息以及记录目标路由路径的信息。Wherein, the time slot application information includes source node information, target node information and the transmission time slot corresponding to the applied data to be transmitted, and the time slot application information is used to apply for a routing path for transmitting the data to be transmitted in the transmission time slot, The path planning device is used to plan the target routing path corresponding to the time slot application information corresponding to the same transmission time slot, and the reply information includes information indicating that the time slot application fails, or the approval information includes the information indicating that the time slot application is passed and records the target routing path Information.
关于路径规划装置规划目标路由路径的方式可参见如图1-8所示的实施例中的相关描述,此处不再赘述。For the manner in which the path planning apparatus plans the target routing path, reference may be made to the relevant descriptions in the embodiments shown in FIGS. 1-8 , and details are not repeated here.
图9为本发明实施例提供的一种路径规划装置的结构示意图,该装置可由软件和/或硬件实现,并一般集成在电子设备上。FIG. 9 is a schematic structural diagram of a path planning apparatus according to an embodiment of the present invention. The apparatus may be implemented by software and/or hardware, and is generally integrated on an electronic device.
如图9所示,该路径规划装置900可以包括:获取模块910和路径规划模块920。其中,获取模块910,用于获取多个时隙申请信息,时隙申请信息包括源节点信息、目标节点信息以及所申请的待传输数据所对应的传输时隙,各时隙申请信息所对应的传输时隙相同。As shown in FIG. 9 , the path planning apparatus 900 may include: an acquisition module 910 and a path planning module 920 . Wherein, the acquisition module 910 is used to acquire multiple timeslot application information, the timeslot application information includes source node information, target node information and the transmission timeslot corresponding to the applied data to be transmitted, and the corresponding timeslot application information The transmission time slots are the same.
路径规划模块920,用于依次根据各时隙申请信息中的源节点信息和目标节点信息,规划至少部分时隙申请信息中的各时隙申请信息所对应的目标路由路径。其中,任意两个时隙申请信息中待传输数据所对应的目标路由路径的路段不交叠,目标路由路径用于传输需在对应的传输时隙传输的待传输数据。The path planning module 920 is configured to plan a target routing path corresponding to each time slot application information in at least part of the time slot application information according to the source node information and the target node information in each time slot application information in sequence. Wherein, the road segments of the target routing paths corresponding to the data to be transmitted in any two timeslot application information do not overlap, and the target routing paths are used to transmit the to-be-transmitted data that needs to be transmitted in the corresponding transmission timeslots.
在一些实施例中,路径规划模块920用于:针对每个时隙申请信息,以源节点信息对应的源节点作为当前节点,进行以下路径规划过程:根据当前节点的节点信息和目标节点信息确定当前传输方向;根据传输时隙对应的当前路径状态信息,确定当前节点与沿当前传输方向相邻的路由节点之间的路段对应的路段占用状态;其中,当前路径状态信息用于记录传输网络中当前已规划的目标路由路径的路段占用状态;从沿当前传输方向上相邻的路由节点中,选择对应的路段的路段占用状态为空闲状态的路由节点作为当前节点的下一个传输节点;在下一个传输节点是所述目标节点信息对应的目标节点的情况下,根据源节点、目标节点、以及源节点和目标节点之间的传输节点,确定出目标路由路径。In some embodiments, the path planning module 920 is configured to: apply for information for each time slot, take the source node corresponding to the source node information as the current node, and perform the following path planning process: determine according to the node information and target node information of the current node The current transmission direction; according to the current path state information corresponding to the transmission time slot, determine the road segment occupancy state corresponding to the road segment between the current node and the adjacent routing nodes along the current transmission direction; wherein, the current path state information is used to record in the transmission network The road segment occupancy status of the currently planned target routing path; from the adjacent routing nodes along the current transmission direction, select the route node whose road segment occupancy status is idle as the next transmission node of the current node; When the transit node is the destination node corresponding to the destination node information, the destination routing path is determined according to the source node, the destination node, and the transit node between the source node and the destination node.
在一些实施例中,路径规划模块920还用于在选择下一个传输节点之后,在下一个传输节点不是目标节点信息对应的目标节点的情况下,以下一个传输节点作为当前节点,返回根据所述当前节点的节点信息和目标节点信息确定当前传输方向的步骤。In some embodiments, the path planning module 920 is further configured to, after selecting the next transit node, if the next transit node is not the target node corresponding to the target node information, take the next transit node as the current node, and return the data according to the current The node information and target node information of the node determine the steps of the current transmission direction.
在一些实施例中,路径规划模块920可以进一步包括:备选路径确定单元,用于针对每个时隙申请信息,根据该时隙申请信息中的源节点信息、目标节点信息,从传输网络中确定出一条或多条从源节点至目标节点的备选路由路径;路径状态确定单元,用于根据传输时隙对应的当前路径状态信息,确定每条备选路由路径的各路段的路段占用状态;路径选取单元,用于根据各备选路由路径的路段的路段占用状态,从所有备选路由路径中,选取一条备选路由路径作为该时隙申请信息对应的所述目标路由路径。In some embodiments, the path planning module 920 may further include: an alternative path determination unit, configured to apply for information for each time slot, according to the source node information and target node information in the time slot application information, from the transmission network. Determine one or more alternative routing paths from the source node to the target node; the path state determination unit is used to determine the road segment occupancy state of each road segment of each alternative routing path according to the current path state information corresponding to the transmission time slot A path selection unit, configured to select an alternative routing path from all the alternative routing paths as the target routing path corresponding to the time slot application information according to the section occupancy status of the sections of each alternative routing path.
在一些实施例中,路径选取单元用于:从所有备选路由路径中,选取对应的路段数量最少的备选路由路径作为当前路由路径;在当前路由路径的一个或多个路段的路段占用状态为繁忙状态的情况下,从所有备选路由路径中将当前路由路径移除,并返回从所有备选路由路径中,选取对应的路段数量最少的备选路由路径作为当前路由路径的步骤;在当前 路由路径的各路段的路段占用状态均为空闲状态的情况下,将当前路由路径作为该时隙申请信息对应的目标路由路径。In some embodiments, the path selection unit is configured to: from all the candidate routing paths, select the candidate routing path with the smallest number of corresponding road segments as the current routing path; in the road segment occupation status of one or more road segments of the current routing path In the case of a busy state, remove the current routing path from all the alternative routing paths, and return to the step of selecting the alternative routing path with the least number of corresponding road segments as the current routing path from all the alternative routing paths; When the road segment occupation status of each road segment of the current routing path is in the idle state, the current routing path is used as the target routing path corresponding to the time slot application information.
在一些实施例中,路径选取单元用于从各路段的路段占用状态均为空闲状态的所有备选路由路径中,选择一条备选路由路径作为该时隙申请信息所对应的目标路由路径。具体地,路径选取单元用于从各路段的路段占用状态均为空闲状态的所有备选路由路径中,选择对应的路段数量最少的备选路由路径作为该时隙申请信息所对应的目标路由路径。In some embodiments, the path selection unit is configured to select one candidate routing path as the target routing path corresponding to the time slot application information from all the candidate routing paths in which the occupancy status of each road segment is in the idle state. Specifically, the path selection unit is configured to select the candidate routing path with the smallest number of corresponding road sections from all the alternative routing paths in which the occupancy status of each road section is in the idle state as the target routing path corresponding to the time slot application information .
在一些实施例中,路径规划模块920可以进一步包括:状态更新单元,用于根据该时隙申请信息所对应的目标路由路径,更新传输时隙对应的当前路径状态信息,以将传输网络中所述目标路由路径的各路段的路段占用状态更新为繁忙状态。In some embodiments, the path planning module 920 may further include: a state update unit, configured to update the current path state information corresponding to the transmission time slot according to the target routing path corresponding to the time slot application information, so as to update all the data in the transmission network. The section occupancy status of each section of the target routing path is updated to the busy status.
在一些实施例中,路径规划模块920可以进一步包括:信息生成单元以及信息发送单元。In some embodiments, the path planning module 920 may further include: an information generating unit and an information sending unit.
其中,信息生成单元用于生成批复信息,信息发送单元用于向发送该时隙申请信息的处理核返回批复信息。在每条备选路由路径中均存在至少一个路段的路段占用状态为繁忙状态的情况下,或者在当前路由路径的选取次数大于设定阈值的情况下,或者在当前节点与沿当前传输方向上相邻的所有节点之间的路段均为繁忙状态的情况下,该批复信息包括指示时隙申请失败的信息;在确定出该时隙申请信息所对应的目标路由路径的情形下,该批复信息包括指示时隙申请通过的信息。The information generating unit is configured to generate approval information, and the information sending unit is configured to return the approval information to the processing core that sent the time slot application information. In the case where there is at least one road segment in each candidate routing path and the road segment occupancy status is busy, or when the number of times of selection of the current routing path is greater than the set threshold, or when the current node and along the current transmission direction When the road sections between all adjacent nodes are in a busy state, the approval information includes information indicating that the time slot application fails; in the case where the target routing path corresponding to the time slot application information is determined, the approval information Contains information indicating that the time slot application has been passed.
在一些实施例中,在确定出该时隙申请信息所对应的目标路由路径的情况下,信息发送单元还用于将记录目标路由路径的路由配置信息发送至发送该时隙申请信息的处理核所对应的路由节点。In some embodiments, when the target routing path corresponding to the time slot application information is determined, the information sending unit is further configured to send the routing configuration information recording the target routing path to the processing core that sends the time slot application information the corresponding routing node.
上述路径规划装置可执行本发明任意实施例所提供的路径规划方法,具备执行方法相应的功能模块和有益效果。The above path planning apparatus can execute the path planning method provided by any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.
本发明实施例还提供了一种处理核,包括:发送模块和接收模块。发送模块用于向路径规划装置发送时隙申请信息,时隙申请信息包括源节点信息、目标节点信息以及所申请的待传输数据所对应的传输时隙,时隙申请信息用于申请在传输时隙用于传输待传输数据的路由路径。接收模块用于接收路径规划装置返回的批复信息,批复信息包括指示时隙申请失败的信息,或者,批复信息包括指示时隙申请通过的信息以及记录目标路由路径的信息。其中,路径规划装置用于规划对应相同传输时隙的时隙申请信息所对应的目标路由路径。The embodiment of the present invention also provides a processing core, including: a sending module and a receiving module. The sending module is used to send time slot application information to the path planning device, the time slot application information includes source node information, target node information and the transmission time slot corresponding to the applied data to be transmitted, and the time slot application information is used to apply for the transmission time slot The slot is used to transmit the routing path of the data to be transmitted. The receiving module is configured to receive the reply information returned by the path planning device, where the reply information includes information indicating that the time slot application fails, or the approval information includes information indicating that the time slot application has passed and the information of recording the target routing path. Wherein, the path planning device is used for planning the target routing path corresponding to the time slot application information corresponding to the same transmission time slot.
本发明实施例还提供了一种处理核,该处理核可以是众核芯片中的任意一个处理核,该处理核可以包括本发明任意一个实施例中所述的路径规划装置。An embodiment of the present invention further provides a processing core, where the processing core may be any processing core in a many-core chip, and the processing core may include the path planning apparatus described in any embodiment of the present invention.
本发明实施例还提供了一种处理核,该路由节点可以是众核芯片的片上网络中的任意一个路由节点,该路由节点可以包括本发明任意一个实施例中所述的路径规划装置。An embodiment of the present invention further provides a processing core, and the routing node may be any routing node in a network-on-chip of a many-core chip, and the routing node may include the path planning apparatus described in any embodiment of the present invention.
本发明实施例还提供了一种众核芯片,该众核芯片包括多个处理核、片上网络以及本发明任意一个实施例中所述的路径规划装置,片上网络包括多个路由节点,路由节点与处理核一一对应连接。An embodiment of the present invention further provides a many-core chip, the many-core chip includes a plurality of processing cores, an on-chip network, and the path planning apparatus described in any one of the embodiments of the present invention, the on-chip network includes a plurality of routing nodes, and the routing nodes One-to-one correspondence with the processing cores.
图10为本发明实施例提供的一种电子设备的结构示意图。如图10所示,本发明实施例提供的电子设备包括:一个或多个处理器101和存储装置102;该控制设备中的处理器101可以是一个或多个,图10中以一个处理器101为例;存储装置102用于存储一个或多个程序;所述一个或多个程序被所述一个或多个处理器101执行,使得所述一个或多个处理器101实现如本发明实施例中任一项所述的路径规划方法。FIG. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. As shown in FIG. 10 , an electronic device provided in an embodiment of the present invention includes: one or more processors 101 and a storage device 102 ; the number of processors 101 in the control device may be one or more, and in FIG. 10 , one processor is used 101 is taken as an example; the storage device 102 is used to store one or more programs; the one or more programs are executed by the one or more processors 101, so that the one or more processors 101 are implemented as implemented in the present invention The path planning method described in any one of the examples.
所述电子设备还可以包括:输入装置103和输出装置104。The electronic device may further include: an input device 103 and an output device 104 .
电子设备中的处理器101、存储装置102、输入装置93和输出装置104可以通过总线或其他方式连接,图10中以通过总线连接为例。The processor 101 , the storage device 102 , the input device 93 , and the output device 104 in the electronic device may be connected by a bus or in other ways, and the connection by a bus is taken as an example in FIG. 10 .
该电子设备中的存储装置102作为一种计算机可读存储介质,可用于存储一个或多个程序,所述程序可以是软件程序、计算机可执行程序以及模块,如本发明实施例所提供的路径规划方法对应的程序指令/模块(例如,附图9所示的路径规划装置中的模块,包括:获取模块910、路径规划模块920)。处理器101通过运行存储在存储装置102中的软件程序、指令以及模块,从而执行电子设备的各种功能应用以及数据处理,即实现上述方法实施例中路径规划方法。As a computer-readable storage medium, the storage device 102 in the electronic device can be used to store one or more programs, and the programs can be software programs, computer-executable programs, and modules, such as the paths provided in the embodiments of the present invention. Program instructions/modules corresponding to the planning method (for example, the modules in the path planning apparatus shown in FIG. 9 include: an acquisition module 910 and a path planning module 920 ). The processor 101 executes various functional applications and data processing of the electronic device by running the software programs, instructions and modules stored in the storage device 102, ie, implements the path planning method in the above method embodiments.
存储装置102可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据电子设备的使用所创建的数据等。此外,存储装置102可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储装置102可进一步包括相对于处理器101远程设置的存储器,这些远程存储器可以通过网络连接至设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The storage device 102 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the electronic device, and the like. Additionally, storage device 102 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some instances, storage device 102 may further include memory located remotely relative to processor 101, which may be connected to the device through a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
输入装置103可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。输出装置104可包括显示屏等显示设备。The input device 103 can be used to receive input numerical or character information, and generate key signal input related to user setting and function control of the electronic device. The output device 104 may include a display device such as a display screen.
并且,当上述电子设备所包括一个或者多个程序被所述一个或者多个处理器101执行时,程序进行上述任一个实施例所提供的路径规划方法。Moreover, when one or more programs included in the above electronic device are executed by the one or more processors 101, the program performs the path planning method provided by any one of the above embodiments.
此外,本发明实施例提供了一种计算机可读介质,其上存储有计算机程序,该程序被处理器执行时用于执行上述任一实施例所提供的路径规划方法。In addition, an embodiment of the present invention provides a computer-readable medium on which a computer program is stored, and when the program is executed by a processor, is used to execute the path planning method provided by any of the foregoing embodiments.
本发明实施例的计算机可读介质,可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是,但不限于:电、磁、光、电磁、红外线、或半导体的系统、装置或器 件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(Random Access Memory,RAM)、只读存储器(Read Only Memory,ROM)、可擦式可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、闪存、光纤、便携式CD-ROM、光存储器件、磁存储器件、或者上述的任意合适的组合。计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The computer-readable medium of the embodiments of the present invention may adopt any combination of one or more computer-readable mediums. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples (non-exhaustive list) of computer readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (Read Only Memory, ROM), Erasable Programmable Read Only Memory (EPROM), flash memory, optical fiber, portable CD-ROM, optical storage device, magnetic storage device, or any suitable combination of the above . A computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus, or device.
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于:电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer-readable signal medium may include a propagated data signal in baseband or as part of a carrier wave, with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、无线电频率(Radio Frequency,RF)等等,或者上述的任意合适的组合。Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言或其组合来编写用于执行本发明操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言,诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言,诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out operations of the present invention may be written in one or more programming languages, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional A procedural programming language, such as the "C" language or similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or wide area network (WAN), or may be connected to an external computer (eg, through the Internet using an Internet service provider) connect).
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention. The scope is determined by the scope of the appended claims.

Claims (30)

  1. 一种路径规划方法,其特征在于,所述方法包括:A path planning method, characterized in that the method comprises:
    获取多个时隙申请信息,所述时隙申请信息包括源节点信息、目标节点信息以及所申请的待传输数据所对应的传输时隙,各所述时隙申请信息对应的所述传输时隙相同;Obtain multiple timeslot application information, the timeslot application information includes source node information, target node information and the transmission timeslot corresponding to the applied data to be transmitted, and the transmission timeslot corresponding to each of the timeslot application information same;
    依次根据各所述时隙申请信息中的源节点信息和目标节点信息,规划至少部分所述时隙申请信息中的各所述时隙申请信息所对应的目标路由路径;According to the source node information and the target node information in each of the time slot application information in turn, plan at least a part of the target routing path corresponding to each of the time slot application information in the time slot application information;
    其中,任意两个所述时隙申请信息所对应的目标路由路径的路段不交叠,所述目标路由路径用于传输需在对应的所述传输时隙传输的待传输数据。Wherein, the road segments of the target routing paths corresponding to any two of the timeslot application information do not overlap, and the target routing paths are used to transmit data to be transmitted that needs to be transmitted in the corresponding transmission timeslots.
  2. 根据权利要求1所述的方法,其特征在于,所述依次根据各所述时隙申请信息中的源节点信息和目标节点信息,规划至少部分所述时隙申请信息中的各所述时隙申请信息所对应的目标路由路径,包括:The method according to claim 1, wherein the time slots in at least part of the time slot application information are planned according to the source node information and the target node information in the time slot application information in sequence. The target routing path corresponding to the application information, including:
    针对每个所述时隙申请信息,以所述源节点信息对应的源节点作为当前节点,进行以下路径规划过程:For each time slot application information, take the source node corresponding to the source node information as the current node, and perform the following path planning process:
    根据所述当前节点的节点信息和所述目标节点信息确定当前传输方向;Determine the current transmission direction according to the node information of the current node and the target node information;
    根据所述传输时隙对应的当前路径状态信息,确定所述当前节点与沿当前传输方向相邻的路由节点之间的路段对应的路段占用状态;其中,所述当前路径状态信息用于记录所述传输网络中当前已规划的目标路由路径的路段占用状态;According to the current path state information corresponding to the transmission time slot, determine the road segment occupancy state corresponding to the road segment between the current node and the adjacent routing nodes along the current transmission direction; wherein the current path state information is used to record all Describe the road segment occupancy status of the currently planned target routing path in the transmission network;
    从沿当前传输方向上相邻的路由节点中,选择对应的路段的路段占用状态为空闲状态的路由节点作为当前节点的下一个传输节点;From the adjacent routing nodes along the current transmission direction, select the routing node whose road segment occupation state of the corresponding road segment is the idle state as the next transmission node of the current node;
    在下一个传输节点是所述目标节点信息对应的目标节点的情况下,根据所述源节点、所述目标节点、以及所述源节点和所述目标节点之间的传输节点,确定出所述目标路由路径。In the case where the next transfer node is the target node corresponding to the target node information, the target node is determined according to the source node, the target node, and the transfer node between the source node and the target node routing path.
  3. 根据权利要求2所述的方法,其特征在于,在选择下一个传输节点之后,所述路径规划方法还包括:在下一个传输节点不是所述目标节点信息对应的目标节点的情况下,将下一个传输节点作为当前节点,返回所述根据所述当前节点的节点信息和所述目标节点信息确定当前传输方向的步骤。The method according to claim 2, wherein after selecting the next transit node, the path planning method further comprises: in the case that the next transit node is not the target node corresponding to the target node information, assigning the next transit node As the current node, the transmission node returns to the step of determining the current transmission direction according to the node information of the current node and the target node information.
  4. 根据权利要求2所述的方法,其特征在于,所述根据所述源节点、所述目标节点、以及所述源节点和所述目标节点之间的传输节点,确定出所述目标路由路径,包括:The method according to claim 2, wherein the target routing path is determined according to the source node, the target node, and a transmission node between the source node and the target node, include:
    根据所述源节点、所述目标节点、以及所述源节点和所述目标节点之间的传输节点,确定出一条或多条可用路由路径,所述可用路由路径的各路段的路段占用状态均为空闲状态;According to the source node, the target node, and the transmission node between the source node and the target node, one or more available routing paths are determined, and the road segment occupancy status of each road segment of the available routing paths is is idle;
    在存在多条可用路由路径的情况下,从多条可用路由路径中选取对应的路段数量最少的可用路由路径作为所述目标路由路径。When there are multiple available routing paths, the available routing path with the smallest number of corresponding road segments is selected from the multiple available routing paths as the target routing path.
  5. 根据权利要求1所述的方法,其特征在于,所述依次根据各所述时隙申请信息中的源节点信息和目标节点信息,规划至少部分所述时隙申请信息中的各所述时隙申请信息所对应的目标路由路径,包括:The method according to claim 1, wherein the time slots in at least part of the time slot application information are planned according to the source node information and the target node information in the time slot application information in sequence. The target routing path corresponding to the application information, including:
    针对每个所述时隙申请信息,根据该时隙申请信息中的源节点信息、目标节点信息,从传输网络中确定出一条或多条从源节点至目标节点的备选路由路径;For each time slot application information, according to the source node information and target node information in the time slot application information, determine one or more alternative routing paths from the source node to the target node from the transmission network;
    根据所述传输时隙对应的当前路径状态信息,确定每条所述备选路由路径的各路段的路段占用状态;其中,所述当前路径状态信息用于记录所述传输网络中当前已规划的目标路由路径的路段占用状态;Determine the road segment occupancy state of each road segment of each of the alternative routing paths according to the current path state information corresponding to the transmission time slot; wherein, the current path state information is used to record the currently planned plans in the transmission network. The road segment occupancy status of the target routing path;
    根据各备选路由路径的路段的路段占用状态,从所有备选路由路径中,选取一条备选路由路径作为所述时隙申请信息对应的所述目标路由路径。According to the road segment occupation status of the road segments of each candidate routing path, one candidate routing path is selected from all the candidate routing paths as the target routing path corresponding to the time slot application information.
  6. 根据权利要求5所述的方法,其特征在于,所述根据各备选路由路径的路段的路段占用状态,从所有备选路由路径中,选取一条备选路由路径作为所述时隙申请信息对应的所述目标路由路径,包括:The method according to claim 5, wherein, according to the road segment occupancy status of the road segments of each alternate routing path, selecting an alternate routing path from all the alternate routing paths as the corresponding time slot application information The target routing path of , including:
    从所有备选路由路径中,选取对应的路段数量最少的备选路由路径作为当前路由路径;From all the alternative routing paths, select the alternative routing path with the least number of corresponding road segments as the current routing path;
    在当前路由路径的一个或多个路段的路段占用状态为繁忙状态的情况下,从所有备选路由路径中将当前路由路径移除,并返回所述从所有备选路由路径中,选取对应的路段数量最少的备选路由路径作为当前路由路径的步骤;In the case that the occupancy status of one or more road segments of the current routing path is busy, remove the current routing path from all the alternative routing paths, and return the selected corresponding routing paths from all alternative routing paths. The alternative routing path with the least number of road segments is used as the step of the current routing path;
    在当前路由路径的各路段的路段占用状态均为空闲状态的情况下,将当前路由路径作为所述时隙申请信息对应的所述目标路由路径。In the case that the road segment occupancy status of each road segment of the current routing path is in the idle state, the current routing path is used as the target routing path corresponding to the time slot application information.
  7. 根据权利要求5所述的方法,其特征在于,所述根据各备选路由路径的路段的路段占用状态,从所有备选路由路径中,选取一条备选路由路径作为所述时隙申请信息对应的所述目标路由路径,包括:The method according to claim 5, wherein, according to the road segment occupancy status of the road segments of each alternate routing path, selecting an alternate routing path from all the alternate routing paths as the corresponding time slot application information The target routing path of , including:
    从各路段的路段占用状态均为空闲状态的所有备选路由路径中,选择一条备选路由路径作为该时隙申请信息所对应的目标路由路径。From all the alternative routing paths in which the occupancy state of each road segment is in the idle state, an alternative routing path is selected as the target routing path corresponding to the time slot application information.
  8. 根据权利要求7所述的方法,其特征在于,所述从各路段的路段占用状态均为空闲状态的所有备选路由路径中,选择一条备选路由路径作为该时隙申请信息所对应的目标路由路径,包括:The method according to claim 7, wherein the selecting an alternative routing path as the target corresponding to the time slot application information from all the alternative routing paths in which the road segment occupancy status of each road segment is an idle state Routing paths, including:
    从各路段的路段占用状态均为空闲状态的所有备选路由路径中,选择对应的路段数量最少的备选路由路径作为该时隙申请信息所对应的目标路由路径。From all the candidate routing paths in which the occupancy status of each road segment is in the idle state, the candidate routing path with the smallest number of corresponding road segments is selected as the target routing path corresponding to the time slot application information.
  9. 根据权利要求2-5中任一项所述的方法,其特征在于,在确定出该时隙申请信息所对应的目标路由路径之后,所述方法还包括:The method according to any one of claims 2-5, wherein after determining the target routing path corresponding to the time slot application information, the method further comprises:
    根据该时隙申请信息所对应的目标路由路径,更新所述传输时隙对应的当前路径状态信息,以将所述传输网络中所述目标路由路径的各路段的路段占用状态更新为繁忙状 态。According to the target routing path corresponding to the time slot application information, the current path state information corresponding to the transmission time slot is updated to update the road segment occupancy status of each road segment of the target routing path in the transmission network to a busy state.
  10. 根据权利要求1所述的方法,其特征在于,所述获取多个时隙申请信息,包括:The method according to claim 1, wherein the acquiring multiple timeslot application information comprises:
    接收一个或多个处理核发送的所述时隙申请信息。The time slot application information sent by one or more processing cores is received.
  11. 根据权利要求6所述的方法,其特征在于,在每条所述备选路由路径中均存在至少一个路段的路段占用状态为繁忙状态的情况下,或者在当前路由路径的选取次数大于设定阈值的情况下,The method according to claim 6, characterized in that, in the case that each of the alternative routing paths has at least one road segment in a busy state, or when the number of times of selection of the current routing path is greater than a set value In the case of the threshold,
    生成批复信息,所述批复信息包括指示时隙申请失败的信息;以及generating approval information, the approval information including information indicating that the time slot application failed; and
    向发送该时隙申请信息的处理核返回所述批复信息。The approval information is returned to the processing core that sent the time slot application information.
  12. 根据权利要求2-5中任一项所述的方法,其特征在于,在确定出该时隙申请信息所对应的目标路由路径之后,所述方法还包括:The method according to any one of claims 2-5, wherein after determining the target routing path corresponding to the time slot application information, the method further comprises:
    生成批复信息,所述批复信息包括指示时隙申请通过的信息;Generating approval information, the approval information includes information indicating that the time slot application is passed;
    向发送该时隙申请信息的处理核返回批复信息。The approval information is returned to the processing core that sent the time slot application information.
  13. 根据权利要求12所述的方法,其特征在于,在确定出该时隙申请信息所对应的目标路由路径之后,所述方法还包括:The method according to claim 12, wherein after determining the target routing path corresponding to the time slot application information, the method further comprises:
    将记录所述目标路由路径的路由配置信息发送至发送该时隙申请信息的处理核所对应的路由节点。The routing configuration information recording the target routing path is sent to the routing node corresponding to the processing core that sends the time slot application information.
  14. 一种路径规划方法,其特征在于,包括:A path planning method, comprising:
    向路径规划装置发送时隙申请信息,所述时隙申请信息包括源节点信息、目标节点信息以及所申请的待传输数据所对应的传输时隙,所述时隙申请信息用于申请在所述传输时隙用于传输待传输数据的路由路径;Send time slot application information to the path planning device, the time slot application information includes source node information, target node information and the transmission time slot corresponding to the applied data to be transmitted, and the time slot application information is used to apply for the The transmission time slot is used to transmit the routing path of the data to be transmitted;
    接收所述路径规划装置返回的批复信息,所述批复信息包括指示时隙申请失败的信息,或者,所述批复信息包括指示时隙申请通过的信息以及记录目标路由路径的信息;Receive the approval information returned by the path planning device, where the approval information includes information indicating that the time slot application fails, or the approval information includes information indicating that the time slot application has passed and the information of recording the target routing path;
    其中,所述路径规划装置用于规划对应相同所述传输时隙的时隙申请信息所对应的目标路由路径。Wherein, the path planning device is configured to plan the target routing path corresponding to the time slot application information corresponding to the same transmission time slot.
  15. 一种路径规划装置,其特征在于,所述装置包括:A path planning device, characterized in that the device comprises:
    获取模块,用于获取多个时隙申请信息,所述时隙申请信息包括源节点信息、目标节点信息以及所申请的待传输数据所对应的传输时隙,各所述时隙申请信息对应的所述传输时隙相同;The acquisition module is used to acquire a plurality of time slot application information, the time slot application information includes source node information, target node information and the transmission time slot corresponding to the applied data to be transmitted, and the corresponding time slot application information the transmission time slots are the same;
    路径规划模块,用于依次根据各所述时隙申请信息中的源节点信息和目标节点信息,规划至少部分所述时隙申请信息中的各所述时隙申请信息所对应的目标路由路径;A path planning module, configured to plan the target routing path corresponding to each of the time slot application information in at least part of the time slot application information according to the source node information and the target node information in each of the time slot application information in turn;
    其中,任意两个所述时隙申请信息中待传输数据所对应的目标路由路径的路段不交叠,所述目标路由路径用于传输需在对应的所述传输时隙传输的待传输数据。Wherein, the road segments of the target routing paths corresponding to the data to be transmitted in any two of the timeslot application information do not overlap, and the target routing paths are used to transmit the to-be-transmitted data that needs to be transmitted in the corresponding transmission timeslots.
  16. 根据权利要求15所述的装置,其特征在于,所述路径规划模块用于:针对每个所述时隙申请信息,以所述源节点信息对应的源节点作为当前节点,进行以下路径规划 过程:根据所述当前节点的节点信息和所述目标节点信息确定当前传输方向;根据所述传输时隙对应的当前路径状态信息,确定所述当前节点与沿当前传输方向相邻的路由节点之间的路段对应的路段占用状态;其中,所述当前路径状态信息用于记录所述传输网络中当前已规划的目标路由路径的路段占用状态;从沿当前传输方向上相邻的路由节点中,选择对应的路段的路段占用状态为空闲状态的路由节点作为当前节点的下一个传输节点;在下一个传输节点是所述目标节点信息对应的目标节点的情况下,根据所述源节点、所述目标节点、以及所述源节点和所述目标节点之间的传输节点,确定出所述目标路由路径。The device according to claim 15, wherein the path planning module is configured to: for each time slot application information, use the source node corresponding to the source node information as the current node, and perform the following path planning process : determine the current transmission direction according to the node information of the current node and the target node information; according to the current path state information corresponding to the transmission time slot, determine the distance between the current node and the adjacent routing nodes along the current transmission direction The occupancy status of the road section corresponding to the road section; wherein the current path status information is used to record the road section occupancy status of the currently planned target routing path in the transmission network; The routing node whose road segment occupancy state of the corresponding road segment is in the idle state is used as the next transmission node of the current node; in the case where the next transmission node is the target node corresponding to the target node information, according to the source node, the target node , and a transmission node between the source node and the target node, to determine the target routing path.
  17. 根据权利要求16所述的装置,其特征在于,所述路径规划模块还用于在选择下一个传输节点之后,在下一个传输节点不是所述目标节点信息对应的目标节点的情况下,以下一个传输节点作为当前节点,返回所述根据所述当前节点的节点信息和所述目标节点信息确定当前传输方向的步骤。The device according to claim 16, wherein the path planning module is further configured to, after selecting the next transfer node, in the case that the next transfer node is not the target node corresponding to the target node information, the next transfer node As the current node, the node returns to the step of determining the current transmission direction according to the node information of the current node and the target node information.
  18. 根据权利要求15所述的装置,其特征在于,所述路径规划模块包括:The apparatus according to claim 15, wherein the path planning module comprises:
    备选路径确定单元,用于针对每个所述时隙申请信息,根据该时隙申请信息中的源节点信息、目标节点信息,从传输网络中确定出一条或多条从源节点至目标节点的备选路由路径;The alternative path determination unit is used for each time slot application information, according to the source node information and target node information in the time slot application information, from the transmission network to determine one or more from the source node to the target node. alternative routing paths;
    路径状态确定单元,用于根据所述传输时隙对应的当前路径状态信息,确定每条所述备选路由路径的各路段的路段占用状态;其中,所述当前路径状态信息用于记录所述传输网络中当前已规划的目标路由路径的路段占用状态;a path state determination unit, configured to determine the road segment occupancy state of each road segment of each of the alternative routing paths according to the current path state information corresponding to the transmission time slot; wherein the current path state information is used to record the The road segment occupancy status of the currently planned target routing path in the transmission network;
    路径选取单元,用于根据各备选路由路径的路段的路段占用状态,从所有备选路由路径中,选取一条备选路由路径作为所述时隙申请信息对应的所述目标路由路径。The path selection unit is configured to select an alternative routing path from all the alternative routing paths as the target routing path corresponding to the time slot application information according to the section occupancy status of the sections of each alternative routing path.
  19. 根据权利要求18所述的装置,其特征在于,所述备选路径确定单元用于:从所有备选路由路径中,选取对应的路段数量最少的备选路由路径作为当前路由路径;在当前路由路径的一个或多个路段的路段占用状态为繁忙状态的情况下,从所有备选路由路径中将当前路由路径移除,并返回所述从所有备选路由路径中,选取对应的路段数量最少的备选路由路径作为当前路由路径的步骤;在当前路由路径的各路段的路段占用状态均为空闲状态的情况下,将当前路由路径作为所述时隙申请信息对应的所述目标路由路径。The device according to claim 18, wherein the alternative path determining unit is configured to: select an alternative routing path with the least number of corresponding road segments from all the alternative routing paths as the current routing path; When the road segment occupancy status of one or more road segments of the path is busy, remove the current routing path from all the alternative routing paths, and return to the selection of the minimum number of corresponding road segments from all the alternative routing paths. The step of using the alternative routing path as the current routing path; in the case that the road segment occupancy status of each road segment of the current routing path is in the idle state, the current routing path is used as the target routing path corresponding to the time slot application information.
  20. 根据权利要求18所述的装置,其特征在于,所述备选路径确定单元用于从各路段的路段占用状态均为空闲状态的所有备选路由路径中,选择一条备选路由路径作为该时隙申请信息所对应的目标路由路径。The device according to claim 18, wherein the alternative path determination unit is configured to select an alternative routing path as the time The target routing path corresponding to the slot application information.
  21. 根据权利要求20所述的装置,其特征在于,所述备选路径确定单元用于从各路段的路段占用状态均为空闲状态的所有备选路由路径中,选择对应的路段数量最少的备选路由路径作为该时隙申请信息所对应的目标路由路径。The device according to claim 20, wherein the alternative route determination unit is configured to select an alternative route with the smallest number of corresponding sections from all alternative routing routes in which the section occupancy status of each section is in an idle state The routing path is used as the target routing path corresponding to the time slot application information.
  22. 根据权利要求16-18中任一项所述的装置,其特征在于,所述路径规划模块还包括:状态更新单元;The device according to any one of claims 16-18, wherein the path planning module further comprises: a state update unit;
    所述状态更新单元用于根据该时隙申请信息所对应的目标路由路径,更新所述传输时隙对应的当前路径状态信息,以将所述传输网络中所述目标路由路径的各路段的路段占用状态更新为繁忙状态。The state update unit is configured to update the current path state information corresponding to the transmission time slot according to the target routing path corresponding to the time slot application information, so as to update the road segments of each road segment of the target routing path in the transmission network. Occupancy status is updated to busy status.
  23. 根据权利要求19所述的装置,其特征在于,所述路径规划模块还包括:信息生成单元及信息发送单元;The device according to claim 19, wherein the path planning module further comprises: an information generating unit and an information sending unit;
    所述信息生成单元用于生成批复信息;所述信息发送单元用于向发送该时隙申请信息的处理核返回所述批复信息;The information generating unit is used to generate approval information; the information sending unit is used to return the approval information to the processing core that sends the time slot application information;
    其中,在每条所述备选路由路径中均存在至少一个路段的路段占用状态为繁忙状态的情况下,或者在当前路由路径的选取次数大于设定阈值的情况下,所述批复信息包括指示时隙申请失败的信息;在确定出该时隙申请信息所对应的目标路由路径的情况下,所述批复信息包括指示时隙申请通过的信息。Wherein, when there is at least one road segment in each of the alternative routing paths and the road segment occupancy status is busy, or when the number of times of selection of the current routing path is greater than the set threshold, the approval information includes an indication of The information that the time slot application fails; in the case that the target routing path corresponding to the time slot application information is determined, the approval information includes information indicating that the time slot application is passed.
  24. 根据权利要求23所述的装置,其特征在于,在确定出该时隙申请信息所对应的目标路由路径的情况下,所述信息发送单元还用于将记录所述目标路由路径的路由配置信息发送至发送该时隙申请信息的处理核所对应的路由节点。The device according to claim 23, wherein, in the case that the target routing path corresponding to the time slot application information is determined, the information sending unit is further configured to record the routing configuration information of the target routing path It is sent to the routing node corresponding to the processing core that sends the time slot application information.
  25. 一种处理核,其特征在于,包括:A processing core, characterized in that it includes:
    发送模块,用于向路径规划装置发送时隙申请信息,所述时隙申请信息包括源节点信息、目标节点信息以及所申请的待传输数据所对应的传输时隙,所述时隙申请信息用于申请在所述传输时隙用于传输待传输数据的路由路径;The sending module is used to send time slot application information to the path planning device, the time slot application information includes source node information, target node information and the transmission time slot corresponding to the applied data to be transmitted, and the time slot application information is used to apply for a routing path for transmitting the data to be transmitted in the transmission time slot;
    接收模块,用于接收所述路径规划装置返回的批复信息,所述批复信息包括指示时隙申请失败的信息,或者,所述批复信息包括指示时隙申请通过的信息以及记录目标路由路径的信息;A receiving module, configured to receive the reply information returned by the path planning device, where the reply information includes information indicating that the time slot application fails, or the approval information includes information indicating that the time slot application has passed and the information of recording the target routing path ;
    其中,所述路径规划装置用于规划对应相同所述传输时隙的时隙申请信息所对应的目标路由路径。Wherein, the path planning device is configured to plan the target routing path corresponding to the time slot application information corresponding to the same transmission time slot.
  26. 一种处理核,其特征在于,包括如权利要求15-24中任一项所述的路径规划装置。A processing core, characterized by comprising the path planning device according to any one of claims 15-24.
  27. 一种路由节点,其特征在于,包括如权利要求15-24中任一项所述的路径规划装置。A routing node, characterized by comprising the path planning device according to any one of claims 15-24.
  28. 一种众核芯片,其特征在于,包括多个处理核和片上网络,所述片上网络包括多个路由节点,所述路由节点与所述处理核一一对应连接;A many-core chip, characterized in that it includes a plurality of processing cores and an on-chip network, the on-chip network includes a plurality of routing nodes, and the routing nodes are connected to the processing cores in one-to-one correspondence;
    所述处理核包括如权利要求25所述的处理核;the processing core comprises the processing core of claim 25;
    所述众核芯片还包括如权利要求15-24中任一项所述的路径规划装置。The many-core chip further includes the path planning device according to any one of claims 15-24.
  29. 一种电子设备,其特征在于,包括:An electronic device, comprising:
    一个或多个处理器;one or more processors;
    存储装置,用于存储一个或多个程序;a storage device for storing one or more programs;
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-14中任一所述的路径规划方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the path planning method according to any one of claims 1-14.
  30. 一种计算机可读介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-14中任一所述的路径规划方法。A computer-readable medium on which a computer program is stored, characterized in that, when the program is executed by a processor, the path planning method according to any one of claims 1-14 is implemented.
PCT/CN2021/112591 2020-08-14 2021-08-13 Path planning method and apparatus, electronic device, and readable medium WO2022033587A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010820916.7 2020-08-14
CN202010820916.7A CN112003787B (en) 2020-08-14 2020-08-14 Routing path determining method, device, control equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2022033587A1 true WO2022033587A1 (en) 2022-02-17

Family

ID=73472422

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/112591 WO2022033587A1 (en) 2020-08-14 2021-08-13 Path planning method and apparatus, electronic device, and readable medium

Country Status (2)

Country Link
CN (1) CN112003787B (en)
WO (1) WO2022033587A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114612049A (en) * 2022-05-11 2022-06-10 弥费实业(上海)有限公司 Path generation method and device, computer equipment and storage medium
CN115883447A (en) * 2023-02-06 2023-03-31 极芯通讯技术(南京)有限公司 Temporary on-circuit data transmission method and system established based on packet routing

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112003787B (en) * 2020-08-14 2022-09-09 北京灵汐科技有限公司 Routing path determining method, device, control equipment and storage medium
CN114697249B (en) * 2020-12-31 2023-07-04 Oppo广东移动通信有限公司 Chip, control method thereof, computer-readable storage medium, and electronic device
CN114996199A (en) * 2021-03-01 2022-09-02 北京灵汐科技有限公司 Many-core route mapping method, device, equipment and medium
CN113111029B (en) * 2021-04-14 2024-03-26 广州希姆半导体科技有限公司 Method, chip and storage medium for determining data transmission path
CN115250251B (en) * 2021-04-26 2023-07-28 北京希姆计算科技有限公司 Transmission path planning method and device in network-on-chip simulation, electronic equipment and computer readable storage medium
CN113141305B (en) * 2021-05-31 2021-11-23 深圳华云信息系统有限公司 Communication method, communication device, electronic equipment and computer-readable storage medium
CN115987918A (en) * 2023-02-06 2023-04-18 极芯通讯技术(南京)有限公司 Method and system for establishing temporary circuit based on packet-switched route
CN118170326A (en) * 2024-05-13 2024-06-11 中移(苏州)软件技术有限公司 Storage route determining method, device, electronic equipment, storage medium and product

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110317691A1 (en) * 2009-03-09 2011-12-29 Nec Corporation Interprocessor communication system and communication method, network switch, and parallel calculation system
CN107395503A (en) * 2017-08-25 2017-11-24 东南大学 A kind of network-on-chip method for routing based on linear programming
CN112003787A (en) * 2020-08-14 2020-11-27 北京灵汐科技有限公司 Routing path determining method, device, control equipment and storage medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7639663B1 (en) * 2005-03-04 2009-12-29 Itt Manufacturing Enterprises, Inc. Method and apparatus for dynamic channel access within wireless networks
CN101035013A (en) * 2006-03-08 2007-09-12 中兴通讯股份有限公司 Resource receiving control method and system
CN101227248B (en) * 2008-01-29 2011-05-25 中兴通讯股份有限公司 Method for establishing business path
JP2009246500A (en) * 2008-03-28 2009-10-22 Fujitsu Ltd Route simulation method and route simulation system in ip network
CN101895931B (en) * 2009-05-20 2013-01-02 中国科学院沈阳自动化研究所 Searching and balance idea based industrial wireless network communication resource distributing method
CN103052127B (en) * 2012-12-28 2015-05-13 浙江中控技术股份有限公司 Dispatching communication method and device in industrial wireless sensing network
WO2016089944A1 (en) * 2014-12-03 2016-06-09 Convida Wireless, Llc Efficient hybrid resource and schedule management in time slotted channel hopping networks
CN107846706B (en) * 2017-12-14 2021-02-05 重庆邮电大学 Congestion-avoiding code-aware wireless mesh network multi-path routing method
WO2019119346A1 (en) * 2017-12-21 2019-06-27 华为技术有限公司 Method and network device for determining communication path
CN110875886B (en) * 2018-08-31 2022-11-01 阿里巴巴集团控股有限公司 Data transmission method, device and system for transmission network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110317691A1 (en) * 2009-03-09 2011-12-29 Nec Corporation Interprocessor communication system and communication method, network switch, and parallel calculation system
CN107395503A (en) * 2017-08-25 2017-11-24 东南大学 A kind of network-on-chip method for routing based on linear programming
CN112003787A (en) * 2020-08-14 2020-11-27 北京灵汐科技有限公司 Routing path determining method, device, control equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
XIA XIAOMEI, ZHOU GAN-MIN: "NoC Routing Path Allocation based on the Directed Ford-Fulkerson Algorithm", HE FEI GONG YE DA XUE XUE BAO = JOURNAL OF HEFEI UNIVERSITY OF TECHNOLOGY // ZI RAN KE XUE BAN = NATURAL SCIENCE EDITION, HE FEI GONG YE DA XUE XUE BAO ZA ZHI SHE, CN, vol. 29, no. 3, 31 March 2006 (2006-03-31), CN , pages 316 - 321, XP055900067, ISSN: 1003-5060 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114612049A (en) * 2022-05-11 2022-06-10 弥费实业(上海)有限公司 Path generation method and device, computer equipment and storage medium
CN114612049B (en) * 2022-05-11 2022-08-05 弥费实业(上海)有限公司 Path generation method and device, computer equipment and storage medium
CN115883447A (en) * 2023-02-06 2023-03-31 极芯通讯技术(南京)有限公司 Temporary on-circuit data transmission method and system established based on packet routing

Also Published As

Publication number Publication date
CN112003787B (en) 2022-09-09
CN112003787A (en) 2020-11-27

Similar Documents

Publication Publication Date Title
WO2022033587A1 (en) Path planning method and apparatus, electronic device, and readable medium
CN109981765B (en) Method and apparatus for determining access path of content distribution network
US20240022650A1 (en) Computing power application traffic forwarding method and apparatus
US10749780B2 (en) Systems and methods for management of cloud exchanges
JP7345059B2 (en) Routing control method, device, program and computer device
JP2018515974A (en) System and method for providing virtual interfaces and advanced smart routing in a global virtual network (GVN)
CN109088820B (en) Cross-device link aggregation method and device, computing device and storage medium
JP2001298475A (en) Path-setting device in label switching network and method
CN108199925A (en) A kind of data transmission method for uplink, method of reseptance and device
CN111382115B (en) Path creating method and device for network on chip and electronic equipment
CN114500354B (en) Switch control method, device, control equipment and storage medium
Cho et al. Surviving Congestion in {Geo-Distributed} Storage Systems
US20200186463A1 (en) Method and system for name-based in-networking processing
Oh et al. RT-SDN: adaptive routing and priority ordering for software-defined real-time networking
US9001692B2 (en) Route calculation apparatus and route calculation method
EP3020163B1 (en) Interworking between first protocol entity of stream reservation protocol and second protocol entity of routing protocol
CN110875886B (en) Data transmission method, device and system for transmission network
JP2002359634A (en) Method and device for designing communication path and program
US11522809B2 (en) Optimized transport resource allocation using centralized control policy
JP7453394B2 (en) Communication methods, devices and systems
KR20190114126A (en) Software-defined network controller for controlling message transmission to switch based on processing completion delay time of message and method thereof
Orzen et al. Markov chains state transitions for reliable persistent routing
WO2022110384A1 (en) Routing control method and apparatus, and routing device and storage medium
CN110389785B (en) Big data processing system and method, electronic equipment and storage medium
CN113973086B (en) Data transmission method, device and storage medium

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21855637

Country of ref document: EP

Kind code of ref document: A1