WO2022142510A1 - Fc switch scheduling method and apparatus, and electronic device and storage medium - Google Patents

Fc switch scheduling method and apparatus, and electronic device and storage medium Download PDF

Info

Publication number
WO2022142510A1
WO2022142510A1 PCT/CN2021/119672 CN2021119672W WO2022142510A1 WO 2022142510 A1 WO2022142510 A1 WO 2022142510A1 CN 2021119672 W CN2021119672 W CN 2021119672W WO 2022142510 A1 WO2022142510 A1 WO 2022142510A1
Authority
WO
WIPO (PCT)
Prior art keywords
port
forwarding
priority information
source port
destination
Prior art date
Application number
PCT/CN2021/119672
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 WO2022142510A1 publication Critical patent/WO2022142510A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/25Routing or path finding in a switch fabric
    • H04L49/253Routing or path finding in a switch fabric using establishment or release of connections between ports
    • H04L49/254Centralised controller, i.e. arbitration or scheduling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/625Queue scheduling characterised by scheduling criteria for service slots or service orders
    • H04L47/6275Queue scheduling characterised by scheduling criteria for service slots or service orders based on priority

Definitions

  • the common CROSSBAR scheduling algorithm When dealing with forwarding conflicts from multiple source ports to the same destination port, the common CROSSBAR scheduling algorithm generally adopts port polling or arbitration according to port priority. However, whether it adopts port polling or port polling Arbitration by priority will result in too long waiting time for relatively important FC frames to be forwarded on a lower priority port, so that the dissemination of information on the entire network is not real-time, and even affects the dissemination of important information on the entire network.
  • the embodiments of the present application provide an FC switch scheduling method, an apparatus, an electronic device, and a storage medium.
  • FC frame protocol priority information is pre-added in the virtual queue corresponding to each source port.
  • the FC frame data to be forwarded is obtained according to the control right of the source port, the FC frame data is forwarded, and the space is released.
  • the forwarding request matrix can record the link establishment request sent by each ready destination port
  • an FC switch scheduling apparatus including:
  • the receiving module is used to receive the FC frame protocol priority information, port priority information and port sequence information carried by the virtual queue corresponding to each source port;
  • an arbitration module configured to perform arbitration based on the FC frame protocol priority information, port priority information and port sequence information to determine the forwarding sequence of each source port;
  • FC frame protocol priority information is pre-added in the virtual queue corresponding to each source port.
  • embodiments of the present application further provide an electronic device, including a memory, a processor, and a computer program stored in the memory and running on the processor, the processor implements the first above-mentioned program when the processor executes the program The steps of the FC switch scheduling method described in the aspect.
  • an embodiment of the present application further provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method for scheduling an FC switch as described in the first aspect above is implemented. step.
  • the FC switch scheduling method, device, electronic device, and storage medium receive the FC frame protocol priority information, port priority information, and port sequence carried by the virtual queue corresponding to each source port. information; conduct arbitration based on the FC frame protocol priority information, port priority information and port sequence information to determine the forwarding order of each source port; wherein, the FC frame protocol priority information is pre-added in the corresponding source ports. in the virtual queue.
  • FIG. 1 is a schematic flowchart of a method for scheduling an FC switch according to an embodiment of the present application
  • FIG. 3 is a schematic diagram of an arbitration process provided by another embodiment of the present application.
  • FIG. 4 is a schematic diagram of an arbitration process multicast forwarding request matrix provided by another embodiment of the present application.
  • FIG. 6 is a schematic diagram of a physical structure of an electronic device according to an embodiment of the present application.
  • FIG. 1 is a schematic flowchart of a method for scheduling an FC switch according to an embodiment of the present application; as shown in FIG. 1 , the method includes:
  • an 8-port FC switch supports 2-level protocol priority and 2-level port priority; among them, the ports of SP1-SP3 have low priority, SP4-SP8 ports have high priority, and the protocol has priority. Level 1 is higher than protocol priority 0; at a certain arbitration moment, although the port priority of SP2 and SP3 is low, the FC frame protocol priority in the forwarding request at this time is 1, and the FC frame protocol priority of the other ports is 0; therefore, the arbitration result is that SP2 and SP3 win first. Then, since the port priorities of SP2 and SP3 are the same, according to the polling mechanism (for example, set SP8 in sequence from SP1), SP2 finally wins. In this way, the most important information can be guaranteed to be forwarded in a timely manner. It should be noted that in this example, the SP represents the source port.
  • the protocol priority itself is a field in the frame header of the FC frame; when each source port receives the buffered FC frame, the field is extracted and sent to the virtual queue; the virtual queue Queues are divided according to the two-dimensional information of destination port and protocol priority.
  • the forwarding application generated by the virtual queue carries the protocol priority information; the arbitration module can perform arbitration according to the protocol priority information, port priority information and port sequence information.
  • port polling arbitration is performed to determine the third forwarding order of each source port.
  • a forwarding conflict occurs between source ports a, b, c, d, e, f, and g to the same destination port ⁇ . It is identified that the source ports a, c, d, and e have low priority, and the source ports b, f, g The port priority is high; the FC frame protocol priority in the forwarding request of source ports a and d is higher than that of source ports c and e, and the FC frame protocol priority in the forwarding request of source ports c and e is higher than that of source ports b and e. f, g; where the port sequence is source port g, f, e, d, c, b, a.
  • the source port allocates a time slice to the ready destination port according to the arrival sequence of the link establishment request, and obtains the control right of the source port;
  • the FC frame data to be forwarded is obtained according to the control right of the source port, the FC frame data is forwarded, and the space is released.
  • each source port buffers the received multiple FC frames that are not higher than the credit value to the local storage
  • the destination ports of these FC frames may be different.
  • all ready destination ports will trigger the request to establish a link state, because the buffer space of the source port is generally two ports. RAM implementation, one is used for writing when receiving, and the other is used for reading when forwarding; at this time, it is faced with the problem that multiple destination ports need to access the same storage space at the same time.
  • the design uses time slices to establish forwarding links between multiple destination ports and the same source port.
  • a link conflict occurs, according to the data rate and bus bit width of the source port, and the system
  • the relationship between the working clock cycles, the multiple relationship N between the internal processing bandwidth and the data rate can be calculated, and this N is the number of time slices that can be supported by the storage space read port of each source port.
  • the ready destination port is based on On a first-come, first-served basis, the application occupies one of the N time slices to use the control right of the read port of the storage dual-port RAM to obtain the FC frame data to be forwarded for forwarding and release the space.
  • the embodiments of the present application provide a scheduling method for an FC switch, through the time slice mechanism of direct forwarding, according to the data rate and the bus bit width, to determine the number of time slices that can be supported by the storage space of the source port; Allocate time slices to the ready destination ports according to the order in which the request for establishing the link arrives, and obtain the control right of the source port; obtain the FC frame data to be forwarded according to the control right of the source port, forward the FC frame data, and release the space, thereby It avoids that when a link is monopolized, the timely forwarding output of other ready destination ports is affected, that is, time slices are allocated to the ready destination ports in the order in which the request for establishing the link arrives, the FC frame data to be forwarded is obtained, and the forwarding is completed. output, thereby effectively improving the real-time performance and throughput of the switch.
  • the ready destination ports that are not allocated to time slices wait for the source ports to allocate idle time slices in sequence according to the order in which the corresponding link establishment requests arrive;
  • the storage space of the source port can support 10 time slices, the number of ready destination ports that send a link establishment request to the source port is 12, and the 12 destination ports are all ready and press 1, 2 , 3, 4, 5, 6, 7, 8, 9, 10, 12, 11 requests arrive in sequence and wait for the allocation of time slices.
  • the 10 time slices allocated to the first ten destination ports have been occupied, and the remaining Destination ports 11 and 12 wait for the release of time slice resources according to their arrival sequence.
  • destination port 12 is allocated an idle time slice compared to destination port 11 to complete FC frame data forwarding.
  • each destination port that is ready adopts the PK system to select a destination port to apply for a corresponding source port allocation time slice, and obtain FC frame data;
  • an independent working state machine is designed for each destination port.
  • a destination port that is partially ready for a multicast request will queue up first to prepare for transmission.
  • These three destination ports only need to PK out one of the destination ports to apply for the time slice of the receive buffer RAM corresponding to the source port.
  • the PK method is generally used. Sequential selection mechanism, that is, selection is made in the order of port numbers. It can be from large to small, or from small to large, to apply for the corresponding source port to allocate time slices. When it applies for time slice resources, it starts to read FC frame data.
  • the destination ports X, Y, and Z select the destination port Y through the PK system to apply for the corresponding source port allocation time
  • it copies multiple copies of the same data and sends them to destination ports X and Z for simultaneous forwarding, thereby saving time-slice resources.
  • the FC switch scheduling method provided by the embodiment of the present application, when multicast switching and forwarding occurs, on the one hand, it avoids multicast blocking caused by some ports not being ready, on the other hand, it saves time slice resources and improves the performance. Real-time performance and throughput of switches.
  • a forwarding request matrix, a forwarding completion matrix and a destination port matrix are established;
  • the forwarding request matrix can record the link establishment request sent by each ready destination port
  • the forwarding completion matrix can record the state of each destination port that is ready to complete the forwarding of FC data
  • the destination port matrix can record the TDEST signal of the FC frame
  • the forwarding request matrix can record the link establishment request sent by the ready destination ports, that is, it can record the forwarding destination port requests that each source port receives the FC frames stored in each address space in the cache RAM, as shown in Figure 4 ;Used at a certain moment, when the state machine of some destination ports jumps to the multicast PK state, select one of these destination ports as the PK winner and start the application to read the source port to receive the clock slice of the storage RAM operation; wherein, the forwarding completion matrix can record the state of each destination port that is ready to complete the forwarding of FC data, that is, record the destination port forwarding completion state of the FC frame stored in each address space in the receiving buffer RAM of each source port; wherein , the destination port matrix can record the TDEST signal of the FC frame, that is, record the TDEST signal of the FC frame stored in each address
  • a certain destination port corresponding to a certain multicast is abnormal and cannot work normally for a long time, which will cause the multicast to reside in the receiving buffer space of the source port for a long time. Occupy the credit value; when the credit value is full, the source port will be blocked.
  • a timeout mechanism can be designed. When a multicast dwell time expires, choose to discard the multicast to free up space. It can be seen that the method of discarding over time can help to effectively improve the real-time performance and throughput of the switch, and reduce the impact of a certain destination port corresponding to a multicast being abnormal and unable to work normally for a long time.
  • FC switch scheduling apparatus provided in the embodiment of the present application can be specifically used to execute the FC switch scheduling method of the foregoing embodiment, and its technical principle and beneficial effects are similar.
  • an embodiment of the present application provides an electronic device.
  • the electronic device specifically includes the following contents: a processor 301, a communication interface 303, a memory 302, and a communication bus 304;
  • the processor executes the computer program, the following steps are implemented: receiving the FC carried by the virtual queue corresponding to each source port Frame protocol priority information, port priority information and port sequence information; conduct arbitration based on the FC frame protocol priority information, port priority information and port sequence information to determine the forwarding sequence of each source port; wherein, the FC frame Protocol priority information is pre-added in virtual queues corresponding to each source port.
  • another embodiment of the present application further provides a non-transitory computer-readable storage medium, on which a computer program is stored, and the computer program is implemented when executed by a processor to execute the methods provided by the foregoing method embodiments.
  • the method for example, receives the FC frame protocol priority information, port priority information and port sequence information carried by the virtual queue corresponding to each source port; based on the FC frame protocol priority information, port priority information and port sequence information. Arbitration, to determine the forwarding sequence of each source port; wherein, the FC frame protocol priority information is pre-added to the virtual queue corresponding to each source port.
  • relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply the existence between these entities or operations any such actual relationship or sequence.
  • the terms “comprising”, “comprising” or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device that includes a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus.
  • an element qualified by the phrase “comprising a" does not preclude the presence of additional identical elements in the process, method, article, or device that includes the element.

Landscapes

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

Abstract

Provided are an FC switch scheduling method and apparatus, and an electronic device and a storage medium. The method comprises: receiving FC frame protocol priority information, port priority information and port sequence information that are carried by a virtual queue corresponding to each source port; and performing arbitration on the basis of the FC frame protocol priority information, the port priority information and the port sequence information, and determining the forwarding sequence of each source port, wherein the FC frame protocol priority information is added in advance to the virtual queue corresponding to each source port. In the embodiments of the present application, FC frame protocol priority information is added in advance, such that a protocol priority field can be determined; and by means of an arbitration mechanism that performs arbitration in combination with the FC frame protocol priority information, port priority information and port sequence information, when a certain low-priority port forwards important FC frame data, the important FC frame data can be forwarded in a preferential manner, such that the information dissemination of network important information dissemination is performed more in real-time.

Description

FC交换机调度方法、装置、电子设备及存储介质FC switch scheduling method, device, electronic device and storage medium
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求于2020年12月31日提交的申请号为202011599550.1,发明名称为“FC交换机调度方法、装置、电子设备及存储介质”的中国专利申请的优先权,其通过引用方式全部并入本文。This application claims the priority of the Chinese patent application with the application number 202011599550.1 filed on December 31, 2020 and the invention title is "FC switch scheduling method, device, electronic device and storage medium", which is fully incorporated herein by reference .
技术领域technical field
本申请涉及通信技术领域,尤其涉及一种FC交换机调度方法、装置、电子设备及存储介质。The present application relates to the field of communication technologies, and in particular, to an FC switch scheduling method, apparatus, electronic device, and storage medium.
背景技术Background technique
目前常见的CROSSBAR调度算法在处理多个源端口至同一个目的端口的转发冲突时,一般采用端口轮询的方式,或者按照端口优先级进行仲裁,然而无论是采用端口轮询的方式还是按照端口优先级进行仲裁,都会造成当某个较低优先级端口的待转发的相对重要FC帧等待时间过长,从而使整个网络信息的传播不具备实时性,甚至影响整个网络的重要信息传播。When dealing with forwarding conflicts from multiple source ports to the same destination port, the common CROSSBAR scheduling algorithm generally adopts port polling or arbitration according to port priority. However, whether it adopts port polling or port polling Arbitration by priority will result in too long waiting time for relatively important FC frames to be forwarded on a lower priority port, so that the dissemination of information on the entire network is not real-time, and even affects the dissemination of important information on the entire network.
发明内容SUMMARY OF THE INVENTION
针对现有技术中存在的问题,本申请实施例提供一种FC交换机调度方法、装置、电子设备及存储介质。In view of the problems existing in the prior art, the embodiments of the present application provide an FC switch scheduling method, an apparatus, an electronic device, and a storage medium.
第一方面,本申请实施例提供一种FC交换机调度方法,包括:In a first aspect, an embodiment of the present application provides an FC switch scheduling method, including:
接收各源端口对应的虚拟队列所携带的FC帧协议优先级信息、端口优先级信息及端口顺序信息;Receive the FC frame protocol priority information, port priority information and port sequence information carried by the virtual queue corresponding to each source port;
基于所述FC帧协议优先级信息、端口优先级信息及端口顺序信息进行仲裁,确定各源端口的转发顺序;Perform arbitration based on the FC frame protocol priority information, port priority information and port sequence information to determine the forwarding sequence of each source port;
其中,所述FC帧协议优先级信息预先被添加在与各源端口对应的虚拟队列中。Wherein, the FC frame protocol priority information is pre-added in the virtual queue corresponding to each source port.
进一步地,所述基于所述FC协议优先级信息、端口优先级信息及端 口顺序信息进行仲裁,确定各源端口的转发顺序,包括:Further, arbitrate based on the FC protocol priority information, port priority information and port sequence information, determine the forwarding sequence of each source port, including:
基于所述FC协议优先级信息进行协议优先级仲裁,确定各源端口的第一转发顺序;Perform protocol priority arbitration based on the FC protocol priority information, and determine the first forwarding order of each source port;
基于所述第一转发顺序的排序结果,及所述端口优先级信息进行端口优先级仲裁,确定各源端口的第二转发顺序;Perform port priority arbitration based on the sorting result of the first forwarding order and the port priority information, and determine the second forwarding order of each source port;
基于所述第二转发顺序的排序结果,及所述端口顺序信息进行端口轮询仲裁,确定各源端口的第三转发顺序。Based on the sorting result of the second forwarding order and the port order information, port polling arbitration is performed to determine the third forwarding order of each source port.
进一步地,还包括:Further, it also includes:
基于就绪的各目的端口发送的建立链路请求,判断是否会发生两个或两个以上目的端口至同一源端口的建立链路冲突;Based on the link establishment requests sent by the ready destination ports, determine whether there will be a link conflict between two or more destination ports to the same source port;
当发生建立链路冲突时,获取所述源端口的数据速率和总线位宽;When a conflict of establishing a link occurs, obtain the data rate and bus bit width of the source port;
根据所述数据速率和所述总线位宽,确定所述源端口的存储空间可支持的时间片个数;According to the data rate and the bus bit width, determine the number of time slices that the storage space of the source port can support;
所述源端口根据所述建立链路请求到达的顺序向所述就绪的目的端口分配时间片,获得所述源端口的控制权;The source port allocates a time slice to the ready destination port according to the arrival sequence of the link establishment request, and obtains the control right of the source port;
根据所述源端口的控制权获得待转发的FC帧数据,进行FC帧数据的转发,并释放空间。The FC frame data to be forwarded is obtained according to the control right of the source port, the FC frame data is forwarded, and the space is released.
进一步地,还包括:Further, it also includes:
当所述源端口的存储空间可支持的时间片个数小于发送建立链路请求的就绪目的端口个数,且所述时间片均已被分配时,未分配到时间片的所述就绪的目的端口按照对应的建立链路请求到达的顺序等待所述源端口依次分配空闲时间片;When the number of time slices that can be supported by the storage space of the source port is less than the number of ready destination ports for sending the link establishment request, and the time slices have all been allocated, the ready destination that is not allocated to the time slice The port waits for the source port to allocate idle time slices in sequence according to the order in which the corresponding link establishment requests arrive;
其中,所述空闲时间片为完成FC帧数据转发的已释放空间的时间片。Wherein, the idle time slice is the time slice of the released space after completing the FC frame data forwarding.
进一步地,还包括:Further, it also includes:
当发生多播交换转发时,就绪的各目的端口采用PK制选择一个目的端口申请对应的源端口分配时间片,并获取FC帧数据;When multicast switching and forwarding occurs, each destination port that is ready uses the PK system to select a destination port to apply for the corresponding source port to allocate time slices, and obtain FC frame data;
复制所述FC数据,并将所述FC数据分别发送给PK制未选择的其余就绪的各目的端口,进行FC帧数据的同时转发,并释放空间。Copy the FC data, and send the FC data to the remaining ready destination ports that are not selected by the PK system respectively, perform simultaneous forwarding of the FC frame data, and release space.
进一步地,还包括:Further, it also includes:
建立转发请求矩阵、转发完成矩阵和目的端口矩阵;Establish forwarding request matrix, forwarding completion matrix and destination port matrix;
其中,所述转发请求矩阵能够记录就绪的各目的端口发送的建立链路请求;Wherein, the forwarding request matrix can record the link establishment request sent by each ready destination port;
所述转发完成矩阵能够记录就绪的各目的端口完成转发FC数据的状态;The forwarding completion matrix can record the state of each destination port that is ready to complete the forwarding of FC data;
所述目的端口矩阵能够记录FC帧的TDEST信号;The destination port matrix can record the TDEST signal of the FC frame;
每个目的端口完成FC帧数据转发后,在所述转发完成矩阵进行打卡;After each destination port completes the FC frame data forwarding, punch in the forwarding completion matrix;
当打卡记录与所述目的端口矩阵中的TDEST信号完全一致时,确定多播转发完成,并释放空间。When the punch-in record is completely consistent with the TDEST signal in the destination port matrix, it is determined that the multicast forwarding is completed and the space is released.
进一步地,还包括:Further, it also includes:
建立超时机制,设置预设多播驻留时间,当多播转发完成时间超过预设多播多播驻留时间时,丢弃对应的多播并释放空间。A timeout mechanism is established, and the preset multicast dwell time is set. When the multicast forwarding completion time exceeds the preset multicast multicast dwell time, the corresponding multicast is discarded and the space is released.
第二方面,本申请实施例提供一种FC交换机调度装置,包括:In a second aspect, an embodiment of the present application provides an FC switch scheduling apparatus, including:
接收模块,用于接收各源端口对应的虚拟队列所携带的FC帧协议优先级信息、端口优先级信息及端口顺序信息;The receiving module is used to receive the FC frame protocol priority information, port priority information and port sequence information carried by the virtual queue corresponding to each source port;
仲裁模块,用于基于所述FC帧协议优先级信息、端口优先级信息及端口顺序信息进行仲裁,确定各源端口的转发顺序;an arbitration module, configured to perform arbitration based on the FC frame protocol priority information, port priority information and port sequence information to determine the forwarding sequence of each source port;
其中,所述FC帧协议优先级信息预先被添加在与各源端口对应的虚拟队列中。Wherein, the FC frame protocol priority information is pre-added in the virtual queue corresponding to each source port.
第三方面,本申请实施例还提供了一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如上第一方面所述的FC交换机调度方法的步骤。In a third aspect, embodiments of the present application further provide an electronic device, including a memory, a processor, and a computer program stored in the memory and running on the processor, the processor implements the first above-mentioned program when the processor executes the program The steps of the FC switch scheduling method described in the aspect.
第四方面,本申请实施例还提供了一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如上第一方面所述的FC交换机调度方法的步骤。In a fourth aspect, an embodiment of the present application further provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method for scheduling an FC switch as described in the first aspect above is implemented. step.
由上述技术方案可知,本申请实施例提供的FC交换机调度方法、装置、电子设备及存储介质,接收各源端口对应的虚拟队列所携带的FC帧协议优先级信息、端口优先级信息及端口顺序信息;基于所述FC帧协议优先级信息、端口优先级信息及端口顺序信息进行仲裁,确定各源端口的转发顺序;其中,所述FC帧协议优先级信息预先被添加在与各源端口对应的虚拟队列中。本申请实施例通过预先添加FC帧协议优先级信息,从 而能够对协议优先级字段进行判断,结合FC帧协议优先级信息、端口优先级信息及端口顺序信息进行仲裁的仲裁机制,可以在某个低优先级端口转发重要FC帧数据时,进行优先转发,从而使得网络重要信息传播的信息传播更具实时性。It can be seen from the above technical solutions that the FC switch scheduling method, device, electronic device, and storage medium provided by the embodiments of the present application receive the FC frame protocol priority information, port priority information, and port sequence carried by the virtual queue corresponding to each source port. information; conduct arbitration based on the FC frame protocol priority information, port priority information and port sequence information to determine the forwarding order of each source port; wherein, the FC frame protocol priority information is pre-added in the corresponding source ports. in the virtual queue. In this embodiment of the present application, by pre-adding the FC frame protocol priority information, the protocol priority field can be judged, and the arbitration mechanism for arbitration in combination with the FC frame protocol priority information, port priority information, and port sequence information can be used in a certain When the low-priority port forwards important FC frame data, it performs preferential forwarding, thereby making the information dissemination of important network information more real-time.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are For some embodiments of the present application, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort.
图1为本申请一实施例提供的FC交换机调度方法的流程示意图;FIG. 1 is a schematic flowchart of a method for scheduling an FC switch according to an embodiment of the present application;
图2为本申请另一实施例提供的CROSSBAR组成架构框图;2 is a block diagram of a CROSSBAR composition structure provided by another embodiment of the present application;
图3为本申请另一实施例提供的仲裁流程示意图;FIG. 3 is a schematic diagram of an arbitration process provided by another embodiment of the present application;
图4为本申请另一实施例提供的仲裁流程多播转发请求矩阵示意图;4 is a schematic diagram of an arbitration process multicast forwarding request matrix provided by another embodiment of the present application;
图5为本申请一实施例提供的FC交换机调度装置的结构示意图;FIG. 5 is a schematic structural diagram of an FC switch scheduling apparatus provided by an embodiment of the present application;
图6为本申请一实施例中电子设备的实体结构示意图。FIG. 6 is a schematic diagram of a physical structure of an electronic device according to an embodiment of the present application.
具体实施方式Detailed ways
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。下面将通过具体实施例对本申请提供的FC交换机调度方法进行详细解释和说明。In order to make the purposes, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application. Some embodiments are claimed, but not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application. The FC switch scheduling method provided by the present application will be explained and described in detail below through specific embodiments.
图1为本申请一实施例提供的FC交换机调度方法的流程示意图;如图1所示,该方法包括:FIG. 1 is a schematic flowchart of a method for scheduling an FC switch according to an embodiment of the present application; as shown in FIG. 1 , the method includes:
步骤101:接收各源端口对应的虚拟队列所携带的FC帧协议优先级信息、端口优先级信息及端口顺序信息。Step 101: Receive FC frame protocol priority information, port priority information, and port sequence information carried by virtual queues corresponding to each source port.
步骤102:基于所述FC帧协议优先级信息、端口优先级信息及端口顺序信息进行仲裁,确定各源端口的转发顺序。Step 102: Perform arbitration based on the FC frame protocol priority information, port priority information and port sequence information to determine the forwarding sequence of each source port.
其中,所述FC帧协议优先级信息预先被添加在与各源端口对应的虚拟队列中。Wherein, the FC frame protocol priority information is pre-added in the virtual queue corresponding to each source port.
在本实施例中,需要说明的是,FC帧协议优先级信息预先被添加在与各源端口对应的虚拟队列中,从而能够对FC帧帧头中的协议优先级字段进行判定,区分协议优先级,然后根据不同的协议优先级分别建立源端口至目的端口的虚拟队列。In this embodiment, it should be noted that the protocol priority information of the FC frame is pre-added in the virtual queue corresponding to each source port, so that the protocol priority field in the frame header of the FC frame can be determined, and the protocol priority can be distinguished. and then establish virtual queues from source port to destination port according to different protocol priorities.
在本实施例中,CROSSBAR组成架构框图如图2所示,调度算法主要体现在“虚拟队列”、“仲裁”和“发送处理”三部分。In this embodiment, the block diagram of the composition structure of CROSSBAR is shown in Fig. 2, and the scheduling algorithm is mainly embodied in three parts: "virtual queue", "arbitration" and "transmission processing".
在本实施例中,在某时刻当出现多个源端口至同一个目的端口的转发冲突时,根据本实施例提出的仲裁机制,即基于所述FC帧协议优先级信息、端口优先级信息及端口顺序信息,对来自各个源端口的转发请求进行仲裁,首先根据协议优先级进行仲裁,然后根据端口优先级进行仲裁,最后采用端口轮询(即端口顺序)进行仲裁。In this embodiment, when there is a forwarding conflict from multiple source ports to the same destination port at a certain moment, the arbitration mechanism proposed in this embodiment is based on the FC frame protocol priority information, port priority information and Port sequence information, to arbitrate forwarding requests from each source port, first to arbitrate based on protocol priority, then to arbitrate based on port priority, and finally to use port polling (ie port order) to arbitrate.
举例来说,参见图3,比如一个8端口的FC交换机,支持2级协议优先级和2级端口优先级;其中,SP1~SP3的端口优先级低,SP4~SP8端口优先级高,协议优先级1高于协议优先级0;在某个仲裁时刻,SP2和SP3虽然端口优先级低,但此时其转发请求中的FC帧协议优先级为1,其余端口中的FC帧协议优先级为0;因此,仲裁结果首先是SP2和SP3胜出。然后,由于SP2和SP3的端口优先级相同,所以根据轮询机制(比如从SP1顺次置SP8),则SP2最终胜出。这样就能保证最重要的信息在第一时间获得及时转发,需要说明的是在本示例中SP表示源端口。For example, referring to Figure 3, for example, an 8-port FC switch supports 2-level protocol priority and 2-level port priority; among them, the ports of SP1-SP3 have low priority, SP4-SP8 ports have high priority, and the protocol has priority. Level 1 is higher than protocol priority 0; at a certain arbitration moment, although the port priority of SP2 and SP3 is low, the FC frame protocol priority in the forwarding request at this time is 1, and the FC frame protocol priority of the other ports is 0; therefore, the arbitration result is that SP2 and SP3 win first. Then, since the port priorities of SP2 and SP3 are the same, according to the polling mechanism (for example, set SP8 in sequence from SP1), SP2 finally wins. In this way, the most important information can be guaranteed to be forwarded in a timely manner. It should be noted that in this example, the SP represents the source port.
在本实施例中,需要说明的是,协议优先级本身是FC帧帧头中的某个字段;在各源端口接收缓存FC帧时,就对该字段进行提取并送给虚拟队列;虚拟队列根据目的端口和协议优先级的二维信息进行队列划分。这样,虚拟队列产生的转发申请就携带了协议优先级信息;在仲裁模块中就能根据协议优先级信息、端口优先级信息及端口顺序信息进行仲裁。In this embodiment, it should be noted that the protocol priority itself is a field in the frame header of the FC frame; when each source port receives the buffered FC frame, the field is extracted and sent to the virtual queue; the virtual queue Queues are divided according to the two-dimensional information of destination port and protocol priority. In this way, the forwarding application generated by the virtual queue carries the protocol priority information; the arbitration module can perform arbitration according to the protocol priority information, port priority information and port sequence information.
由此可见,本申请实施例提供的FC交换机调度方法,通过预先添加FC帧协议优先级信息,从而能够对协议优先级字段进行判断,结合FC帧协议优先级信息、端口优先级信息及端口顺序信息进行仲裁的仲裁机制,可以在某个低优先级端口转发重要FC帧数据时,进行优先转发,从而使 得网络重要信息传播的信息传播更具实时性。It can be seen that, in the FC switch scheduling method provided by the embodiment of the present application, by adding the FC frame protocol priority information in advance, the protocol priority field can be judged, and the FC frame protocol priority information, port priority information and port sequence can be combined. The arbitration mechanism of information arbitration can give priority to forwarding important FC frame data when a low-priority port forwards data, thereby making the information dissemination of important network information more real-time.
在上述实施例基础上,在本实施例中,所述基于所述FC协议优先级信息、端口优先级信息及端口顺序信息进行仲裁,确定各源端口的转发顺序,包括:On the basis of the above embodiment, in this embodiment, performing arbitration based on the FC protocol priority information, port priority information and port sequence information to determine the forwarding sequence of each source port includes:
基于所述FC协议优先级信息进行协议优先级仲裁,确定各源端口的第一转发顺序;Perform protocol priority arbitration based on the FC protocol priority information, and determine the first forwarding order of each source port;
基于所述第一转发顺序的排序结果,及所述端口优先级信息进行端口优先级仲裁,确定各源端口的第二转发顺序;Perform port priority arbitration based on the sorting result of the first forwarding order and the port priority information, and determine the second forwarding order of each source port;
基于所述第二转发顺序的排序结果,及所述端口顺序信息进行端口轮询仲裁,确定各源端口的第三转发顺序。Based on the sorting result of the second forwarding order and the port order information, port polling arbitration is performed to determine the third forwarding order of each source port.
为了更好的理解本实施例,举例来说:In order to better understand this embodiment, for example:
某时刻源端口a、b、c、d、e、f、g至同一目的端口α发生转发冲突,经识别其中源端口a、c、d、e端口优先级低,源端口b、f、g端口优先级高;其中源端口a、d其转发请求中的FC帧协议优先级高于源端口c、e,而源端口c、e转发请求中的FC帧协议优先级高于源端口b、f、g;其中端口顺序为源端口g、f、e、d、c、b、a。根据本申请实施例的仲裁机制,基于所述FC协议优先级信息进行协议优先级仲裁,确定各源端口的第一转发顺序为a和d再c和e再b、f、g,基于第一转发顺序的排序结果及端口优先级信息进行端口优先级仲裁,确定各源端口的第二转发顺序为a和d再c和e再b、f、g,基于所述第二转发顺序的排序结果,及端口顺序信息进行端口轮询仲裁,确定各源端口的第三转发顺序为d、a、e、c、g、f、b。可见,采用本申请实施例提供的FC交换机调度方法在一些场景中不会出现某个低优先级端口的待转发相对重要FC帧等待时间过长的情况,从而提升实时性,保证整个网络重要信息在第一时间获得及时转发。At a certain time, a forwarding conflict occurs between source ports a, b, c, d, e, f, and g to the same destination port α. It is identified that the source ports a, c, d, and e have low priority, and the source ports b, f, g The port priority is high; the FC frame protocol priority in the forwarding request of source ports a and d is higher than that of source ports c and e, and the FC frame protocol priority in the forwarding request of source ports c and e is higher than that of source ports b and e. f, g; where the port sequence is source port g, f, e, d, c, b, a. According to the arbitration mechanism of this embodiment of the present application, protocol priority arbitration is performed based on the FC protocol priority information, and the first forwarding sequence of each source port is determined to be a and d followed by c and e followed by b, f, and g. The sorting result of the forwarding order and the port priority information are used for port priority arbitration, and the second forwarding order of each source port is determined to be a and d and then c and e and then b, f, and g. Based on the sorting result of the second forwarding order , and the port sequence information to perform port polling arbitration, and determine that the third forwarding sequence of each source port is d, a, e, c, g, f, b. It can be seen that in some scenarios, the FC switch scheduling method provided by the embodiments of the present application will not cause a relatively long waiting time for an important FC frame to be forwarded on a low-priority port, thereby improving real-time performance and ensuring important information of the entire network. Get timely forwarding in the first time.
在上述实施例基础上,在本实施例中,基于就绪的各目的端口发送的建立链路请求,判断是否会发生两个或两个以上目的端口至同一源端口的建立链路冲突;On the basis of the above embodiment, in this embodiment, based on the link establishment request sent by each destination port that is ready, it is judged whether there will be a conflict of establishing links between two or more destination ports to the same source port;
当发生建立链路冲突时,获取所述源端口的数据速率和总线位宽;When a conflict of establishing a link occurs, obtain the data rate and bus bit width of the source port;
根据所述数据速率和所述总线位宽,确定所述源端口的存储空间可支持的时间片个数;According to the data rate and the bus bit width, determine the number of time slices that the storage space of the source port can support;
所述源端口根据所述建立链路请求到达的顺序向所述就绪的目的端口分配时间片,获得所述源端口的控制权;The source port allocates a time slice to the ready destination port according to the arrival sequence of the link establishment request, and obtains the control right of the source port;
根据所述源端口的控制权获得待转发的FC帧数据,进行FC帧数据的转发,并释放空间。The FC frame data to be forwarded is obtained according to the control right of the source port, the FC frame data is forwarded, and the space is released.
在本实施例中,需要说明的是,数据速率和总线位宽在设计是就固定已知。存储空间可支持的时间片个数是设定的固定值。In this embodiment, it should be noted that the data rate and the bus bit width are fixed and known in the design. The number of time slices that the storage space can support is a fixed value.
在本实施例中,需要说明的是,当出现目的端口至源端口的建链冲突时,如果仅按照端口轮询的方式进行仲裁和调度,则会因为某个链路的独占性,而影响其它就绪目的端口的及时转发输出,从而降低了交换机的实时吞吐量,具体的,在直接转发式交换机中,每个源端口将接收到的不高于信用值的多个FC帧缓存到本地存储空间,这些FC帧的目的端口可能各不相同,当这些FC帧的转发请求映射到各个目的端口时,所有就绪的目的端口就会触发请求建链状态,由于源端口的缓存空间一般为双口RAM实现,一个用于接收时的写入,一个用于转发时的读出;此时,就面临多个目的端口需要同时访问同一个存储空间的问题。In this embodiment, it should be noted that when there is a link conflict between the destination port and the source port, if the arbitration and scheduling are only performed in the manner of port polling, the exclusiveness of a certain link will affect the Timely forwarding and output of other ready destination ports, thereby reducing the real-time throughput of the switch. Specifically, in a direct-forwarding switch, each source port buffers the received multiple FC frames that are not higher than the credit value to the local storage The destination ports of these FC frames may be different. When the forwarding requests of these FC frames are mapped to each destination port, all ready destination ports will trigger the request to establish a link state, because the buffer space of the source port is generally two ports. RAM implementation, one is used for writing when receiving, and the other is used for reading when forwarding; at this time, it is faced with the problem that multiple destination ports need to access the same storage space at the same time.
在本实施例中,设计采用时间片的方式建立多个目的端口与同一个源端口之间的转发链路,当发生建立链路冲突时,根据源端口的数据速率和总线位宽,以及系统工作时钟周期之间的关系,可以计算出内部处理带宽与数据速率之间的倍数关系N,而这个N就是每个源端口的存储空间读出口可支持的时间片个数,就绪的目的端口根据先到先得的原则,申请占用N个时间片中的一个时间片来使用存储双口RAM读出口的控制权以获得待转发的FC帧数据进行转发,并释放空间。In this embodiment, the design uses time slices to establish forwarding links between multiple destination ports and the same source port. When a link conflict occurs, according to the data rate and bus bit width of the source port, and the system The relationship between the working clock cycles, the multiple relationship N between the internal processing bandwidth and the data rate can be calculated, and this N is the number of time slices that can be supported by the storage space read port of each source port. The ready destination port is based on On a first-come, first-served basis, the application occupies one of the N time slices to use the control right of the read port of the storage dual-port RAM to obtain the FC frame data to be forwarded for forwarding and release the space.
由上面技术方案可知,本申请实施例提供FC交换机调度方法,通过直接转发的时间片机制,根据数据速率和所述总线位宽,确定源端口的存储空间可支持的时间片个数;源端口根据建立链路请求到达的顺序向就绪的目的端口分配时间片,获得源端口的控制权;根据源端口的控制权获得待转发的FC帧数据,进行FC帧数据的转发,并释放空间,从而避免了当某条链路被独占时,而影响其它就绪目的端口的及时转发输出,即按建立链路请求到达的顺序向就绪的目的端口分配时间片,获得待转发的FC帧数据,完成转发输出,从而有效的提高了交换机的实时性和吞吐量。It can be seen from the above technical solutions that the embodiments of the present application provide a scheduling method for an FC switch, through the time slice mechanism of direct forwarding, according to the data rate and the bus bit width, to determine the number of time slices that can be supported by the storage space of the source port; Allocate time slices to the ready destination ports according to the order in which the request for establishing the link arrives, and obtain the control right of the source port; obtain the FC frame data to be forwarded according to the control right of the source port, forward the FC frame data, and release the space, thereby It avoids that when a link is monopolized, the timely forwarding output of other ready destination ports is affected, that is, time slices are allocated to the ready destination ports in the order in which the request for establishing the link arrives, the FC frame data to be forwarded is obtained, and the forwarding is completed. output, thereby effectively improving the real-time performance and throughput of the switch.
在上述实施例基础上,在本实施例中,当所述源端口的存储空间可支持的时间片个数小于发送建立链路请求的就绪目的端口个数,且所述时间片均已被分配时,未分配到时间片的所述就绪的目的端口按照对应的建立链路请求到达的顺序等待所述源端口依次分配空闲时间片;Based on the above embodiment, in this embodiment, when the number of time slices that can be supported by the storage space of the source port is less than the number of ready destination ports for sending the link establishment request, and the time slices have been allocated , the ready destination ports that are not allocated to time slices wait for the source ports to allocate idle time slices in sequence according to the order in which the corresponding link establishment requests arrive;
其中,所述空闲时间片为完成FC帧数据转发的已释放空间的时间片。Wherein, the idle time slice is the time slice of the released space after completing the FC frame data forwarding.
在本实施例中,需要说明的是空闲时间片为结束上一次时间片资源释放的时间片,该空闲时间片完成上一次FC帧数据转发,已释放空间,将其再分配给新就绪且还未分到时间片的目的端口。In this embodiment, it should be noted that the idle time slice is the time slice that ends the last time slice resource release, the idle time slice completes the last FC frame data forwarding, and the space has been released, and it is reassigned to the newly ready and still The destination port that has not been allocated a time slice.
举例来说,源端口的存储空间可支持的时间片个数为10个,向该源端口发送建立链路请求的就绪目的端口个数为12个,12个目的端口均就绪并按1、2、3、4、5、6、7、8、9、10、12、11的请求顺序到达等待分配时间片,10个时间片分配给前十个到达的目的端口均已被占用,剩下的目的端口11和12,按照其到达顺序,等待时间片资源释放,释放后由目的端口12相比于目的端口11先被分配到空闲时间片,完成FC帧数据转发。For example, the storage space of the source port can support 10 time slices, the number of ready destination ports that send a link establishment request to the source port is 12, and the 12 destination ports are all ready and press 1, 2 , 3, 4, 5, 6, 7, 8, 9, 10, 12, 11 requests arrive in sequence and wait for the allocation of time slices. The 10 time slices allocated to the first ten destination ports have been occupied, and the remaining Destination ports 11 and 12 wait for the release of time slice resources according to their arrival sequence. After release, destination port 12 is allocated an idle time slice compared to destination port 11 to complete FC frame data forwarding.
由上面技术方案可知,本申请实施例提供的FC交换机调度方法,当所述源端口的存储空间可支持的时间片个数小于发送建立链路请求的就绪目的端口个数时,每释放一个时间片资源就会再次分配给新到的就绪目的端口,完成FC帧数据转发,从而进一步提高交换机的实时性和吞吐量。It can be seen from the above technical solutions that, in the FC switch scheduling method provided by the embodiment of the present application, when the number of time slices that can be supported by the storage space of the source port is less than the number of ready destination ports for sending the link establishment request, each time a time is released. The slice resource will be re-assigned to the newly arrived ready destination port to complete the FC frame data forwarding, thereby further improving the real-time performance and throughput of the switch.
在上述实施例基础上,在本实施例中,当发生多播交换转发时,就绪的各目的端口采用PK制选择一个目的端口申请对应的源端口分配时间片,并获取FC帧数据;On the basis of the above embodiment, in this embodiment, when multicast switching and forwarding occurs, each destination port that is ready adopts the PK system to select a destination port to apply for a corresponding source port allocation time slice, and obtain FC frame data;
复制所述FC数据,并将所述FC数据分别发送给PK制未选择的其余就绪的各目的端口,进行FC帧数据的同时转发,并释放空间。Copy the FC data, and send the FC data to the remaining ready destination ports that are not selected by the PK system respectively, perform simultaneous forwarding of the FC frame data, and release space.
在本实施例中,需要说明的是,当进行多播交换转发时,如果等待所有目的端口均就绪后才进行多播转发,则会出现某些目的端口未就绪而导致多播阻塞。In this embodiment, it should be noted that, when multicast switching and forwarding is performed, if multicast forwarding is performed after all destination ports are ready, some destination ports are not ready, resulting in multicast blocking.
在本实施例中,针对每个目的端口设计各自独立的工作状态机,当发生多播交换转发时,某个多播请求部分就绪的目的端口,先就绪的先站队准备准发,如第一批先站队的就绪目的端口有三个,分别是目的端口X、 Y、Z,这三个目的端口仅需PK出其中一个目的端口去申请对应源端口的接收缓存RAM的时间片,PK方式一般采用顺序选择机制,即按端口号顺序进行选择,可以为从大到小,或者从小到大的方式,去申请对应的源端口分配时间片,当其申请到时间片资源开始读取FC帧数据时,复制多份相同的数据发送给PK制未选择的其余就绪的各目的端口以同时转发,举例来说,目的端口X、Y、Z经过PK制选择目的端口Y去申请对应的源端口分配时间片,当其申请到时间片资源开始读取FC帧数据时,复制多份相同的数据发送给目的端口X和Z以同时转发,从而节省时间片资源。In this embodiment, an independent working state machine is designed for each destination port. When multicast switching and forwarding occurs, a destination port that is partially ready for a multicast request will queue up first to prepare for transmission. There are three ready destination ports for batch first, namely destination ports X, Y, and Z. These three destination ports only need to PK out one of the destination ports to apply for the time slice of the receive buffer RAM corresponding to the source port. The PK method is generally used. Sequential selection mechanism, that is, selection is made in the order of port numbers. It can be from large to small, or from small to large, to apply for the corresponding source port to allocate time slices. When it applies for time slice resources, it starts to read FC frame data. , copy multiple copies of the same data and send them to the remaining ready destination ports that are not selected by the PK system for simultaneous forwarding. For example, the destination ports X, Y, and Z select the destination port Y through the PK system to apply for the corresponding source port allocation time When it applies for time-slice resources and starts to read FC frame data, it copies multiple copies of the same data and sends them to destination ports X and Z for simultaneous forwarding, thereby saving time-slice resources.
由上面技术方案可知,本申请实施例提供的FC交换机调度方法,当发生多播交换转发时,一方面避免某些端口未就绪而导致的多播阻塞,另一方面节省时间片资源的同时提高交换机的实时性和吞吐量。As can be seen from the above technical solutions, the FC switch scheduling method provided by the embodiment of the present application, when multicast switching and forwarding occurs, on the one hand, it avoids multicast blocking caused by some ports not being ready, on the other hand, it saves time slice resources and improves the performance. Real-time performance and throughput of switches.
在上述实施例基础上,在本实施例中,建立转发请求矩阵、转发完成矩阵和目的端口矩阵;On the basis of the above embodiment, in this embodiment, a forwarding request matrix, a forwarding completion matrix and a destination port matrix are established;
其中,所述转发请求矩阵能够记录就绪的各目的端口发送的建立链路请求;Wherein, the forwarding request matrix can record the link establishment request sent by each ready destination port;
所述转发完成矩阵能够记录就绪的各目的端口完成转发FC数据的状态;The forwarding completion matrix can record the state of each destination port that is ready to complete the forwarding of FC data;
所述目的端口矩阵能够记录FC帧的TDEST信号;The destination port matrix can record the TDEST signal of the FC frame;
每个目的端口完成FC帧数据转发后,在所述转发完成矩阵进行打卡;After each destination port completes the FC frame data forwarding, punch in the forwarding completion matrix;
当打卡记录与所述目的端口矩阵中的TDEST信号完全一致时,确定多播转发完成,并释放空间。When the punch-in record is completely consistent with the TDEST signal in the destination port matrix, it is determined that the multicast forwarding is completed and the space is released.
在本实施例中,需要说明的是,设计维护三个矩阵,分别是转发请求矩阵、转发完成矩阵和目的端口矩阵。其中,转发请求矩阵能够记录就绪的各目的端口发送的建立链路请求,即能够记录每个源端口接收缓存RAM中每个地址空间内存放的FC帧的转发目的端口请求,如图4所示;用于在某一时刻,当某些目的端口的状态机跳转到了多播PK状态时,在这些目的端口中选出一个作为PK胜出者而启动申请读取源端口接收存储RAM的时钟片的操作;其中,转发完成矩阵能够记录就绪的各目的端口完成转发FC数据的状态,即记录每个源端口的接收缓存RAM中每个地址空间内存放的FC帧的目的端口转发完成状态;其中,目的端口矩阵能 够记录FC帧的TDEST信号,即记录每个源端口的接收缓存RAM中每个地址空间内存放的FC帧的TDEST信号;用于和转发完成矩阵进行对比判断是否完成FC帧的转发;当TDEST指向的所有DP均完成了转发,就视为该FC帧转发完成,则其所在的接收缓存RAM的空间可以被释放。In this embodiment, it should be noted that three matrices are designed and maintained, namely, a forwarding request matrix, a forwarding completion matrix, and a destination port matrix. Among them, the forwarding request matrix can record the link establishment request sent by the ready destination ports, that is, it can record the forwarding destination port requests that each source port receives the FC frames stored in each address space in the cache RAM, as shown in Figure 4 ;Used at a certain moment, when the state machine of some destination ports jumps to the multicast PK state, select one of these destination ports as the PK winner and start the application to read the source port to receive the clock slice of the storage RAM operation; wherein, the forwarding completion matrix can record the state of each destination port that is ready to complete the forwarding of FC data, that is, record the destination port forwarding completion state of the FC frame stored in each address space in the receiving buffer RAM of each source port; wherein , the destination port matrix can record the TDEST signal of the FC frame, that is, record the TDEST signal of the FC frame stored in each address space in the receiving buffer RAM of each source port; it is used to compare with the forwarding completion matrix to determine whether the FC frame is completed. Forwarding; when all DPs pointed to by TDEST have completed forwarding, it is considered that the FC frame forwarding is completed, and the space of the receiving buffer RAM where it is located can be released.
在本实施例中,转发请求矩阵中标记的目的端口信息,对应某个多播请求的部分就绪的目的端口信息,即先就绪的就先站队准备转发;并且多个目的端口之间仅需PK(可简单采用顺次选择机制)选出其中一个目的端口去申请对应源端口的接收缓存RAM的时钟片,以节省时钟片资源;当其申请到时钟片资源开始读取FC帧数据时,复制多分相同的数据发送给其它PK未胜出的目的端口以同时进行转发。所有目的DP在完成多播转发后,需要在转发完成矩阵内进行“打卡”;当且仅当某个多播对应的打卡记录与目的端口矩阵中的TEDST一致后,就判定本条多播转发完成,可释放其缓存空间资源。In this embodiment, the destination port information marked in the forwarding request matrix corresponds to the partially ready destination port information of a certain multicast request, that is, the one that is ready first is lined up to be forwarded; and only PK is required between multiple destination ports. (The sequential selection mechanism can be simply used) Select one of the destination ports to apply for the clock slice of the receive buffer RAM corresponding to the source port to save the clock slice resources; when it applies for the clock slice resources and starts to read the FC frame data, copy the Multiple identical data are sent to other destination ports whose PKs do not win for simultaneous forwarding. After completing the multicast forwarding, all destination DPs need to "check in" in the forwarding completion matrix; if and only if the punch-in record corresponding to a multicast is consistent with the TEDST in the destination port matrix, it is determined that this multicast forwarding is completed. , which can release its cache space resources.
由上面技术方案可知,本申请实施例提供的FC交换机调度方法,可有效防止多播阻塞,同样有效提高交换机的实时性和吞吐量。It can be seen from the above technical solutions that the FC switch scheduling method provided by the embodiments of the present application can effectively prevent multicast blocking, and also effectively improve the real-time performance and throughput of the switch.
在上述实施例基础上,在本实施例中,建立超时机制,设置预设多播驻留时间,当多播转发完成时间超过预设多播多播驻留时间时,丢弃对应的多播并释放空间。On the basis of the above embodiment, in this embodiment, a timeout mechanism is established, a preset multicast dwell time is set, and when the multicast forwarding completion time exceeds the preset multicast multicast dwell time, the corresponding multicast is discarded and the preset multicast dwell time is set. Free up space.
在本实施例中,可以理解的是,不排除出现某个多播对应的某个目的端口异常而长时间无法正常工作,则会导致该条多播长时间驻留在源端口的接收缓存空间占用信用值;当信用值满后,该源端口就会出现阻塞,针对这个可能出现的问题,可以设计超时机制,当某个多播驻留时间超时后,选择丢弃此多播释放空间。由此可见通过超时丢弃的方式,有助于有效提高交换机的实时性和吞吐量,减少某个多播对应的某个目的端口异常而长时间无法正常工作造成的影响。In this embodiment, it can be understood that it is not excluded that a certain destination port corresponding to a certain multicast is abnormal and cannot work normally for a long time, which will cause the multicast to reside in the receiving buffer space of the source port for a long time. Occupy the credit value; when the credit value is full, the source port will be blocked. For this possible problem, a timeout mechanism can be designed. When a multicast dwell time expires, choose to discard the multicast to free up space. It can be seen that the method of discarding over time can help to effectively improve the real-time performance and throughput of the switch, and reduce the impact of a certain destination port corresponding to a multicast being abnormal and unable to work normally for a long time.
图5为本申请一实施例提供的FC交换机调度装置的结构示意图,如图5所示,该装置包括:接收模块模块201和仲裁模块202,其中:FIG. 5 is a schematic structural diagram of an FC switch scheduling apparatus provided by an embodiment of the application. As shown in FIG. 5 , the apparatus includes: a receiving module module 201 and an arbitration module 202, wherein:
其中,接收模块201,用于接收各源端口对应的虚拟队列所携带的FC帧协议优先级信息、端口优先级信息及端口顺序信息;The receiving module 201 is configured to receive the FC frame protocol priority information, port priority information and port sequence information carried by the virtual queue corresponding to each source port;
仲裁模块202,用于基于所述FC帧协议优先级信息、端口优先级信 息及端口顺序信息进行仲裁,确定各源端口的转发顺序; Arbitration module 202, for arbitrating based on the FC frame protocol priority information, port priority information and port sequence information, to determine the forwarding sequence of each source port;
其中,所述FC帧协议优先级信息预先被添加在与各源端口对应的虚拟队列中。Wherein, the FC frame protocol priority information is pre-added in the virtual queue corresponding to each source port.
本申请实施例提供的FC交换机调度装置具体可以用于执行上述实施例的FC交换机调度方法,其技术原理和有益效果类似,具体可参见上述实施例,此处不再赘述。The FC switch scheduling apparatus provided in the embodiment of the present application can be specifically used to execute the FC switch scheduling method of the foregoing embodiment, and its technical principle and beneficial effects are similar.
基于相同的发明构思,本申请实施例提供一种电子设备,参见图6,电子设备具体包括如下内容:处理器301、通信接口303、存储器302和通信总线304;Based on the same inventive concept, an embodiment of the present application provides an electronic device. Referring to FIG. 6 , the electronic device specifically includes the following contents: a processor 301, a communication interface 303, a memory 302, and a communication bus 304;
其中,处理器301、通信接口303、存储器302通过总线304完成相互间的通信;通信接口303用于实现各建模软件及智能制造装备模块库等相关设备之间的信息传输;处理301用于调用存储器302中的计算机程序,处理器执行计算机程序时实现上述各方法实施例所提供的方法,例如,处理器执行计算机程序时实现下述步骤:接收各源端口对应的虚拟队列所携带的FC帧协议优先级信息、端口优先级信息及端口顺序信息;基于所述FC帧协议优先级信息、端口优先级信息及端口顺序信息进行仲裁,确定各源端口的转发顺序;其中,所述FC帧协议优先级信息预先被添加在与各源端口对应的虚拟队列中。Among them, the processor 301, the communication interface 303, and the memory 302 complete the communication with each other through the bus 304; the communication interface 303 is used to realize the information transmission between various modeling software and the intelligent manufacturing equipment module library and other related equipment; the processing 301 is used for The computer program in the memory 302 is called, and when the processor executes the computer program, the methods provided by the above method embodiments are implemented. For example, when the processor executes the computer program, the following steps are implemented: receiving the FC carried by the virtual queue corresponding to each source port Frame protocol priority information, port priority information and port sequence information; conduct arbitration based on the FC frame protocol priority information, port priority information and port sequence information to determine the forwarding sequence of each source port; wherein, the FC frame Protocol priority information is pre-added in virtual queues corresponding to each source port.
基于相同的发明构思,本申请又一实施例还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现以执行上述各方法实施例提供的方法,例如,接收各源端口对应的虚拟队列所携带的FC帧协议优先级信息、端口优先级信息及端口顺序信息;基于所述FC帧协议优先级信息、端口优先级信息及端口顺序信息进行仲裁,确定各源端口的转发顺序;其中,所述FC帧协议优先级信息预先被添加在与各源端口对应的虚拟队列中。Based on the same inventive concept, another embodiment of the present application further provides a non-transitory computer-readable storage medium, on which a computer program is stored, and the computer program is implemented when executed by a processor to execute the methods provided by the foregoing method embodiments. The method, for example, receives the FC frame protocol priority information, port priority information and port sequence information carried by the virtual queue corresponding to each source port; based on the FC frame protocol priority information, port priority information and port sequence information. Arbitration, to determine the forwarding sequence of each source port; wherein, the FC frame protocol priority information is pre-added to the virtual queue corresponding to each source port.
以上所描述的装置实施例仅仅是示意性的,其中作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下, 即可以理解并实施。The device embodiments described above are only illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place , or distributed to multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment. Those of ordinary skill in the art can understand and implement it without creative effort.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分的方法。From the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and certainly can also be implemented by hardware. Based on this understanding, the above-mentioned technical solutions can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic Disks, optical discs, etc., include instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods of various embodiments or portions of embodiments.
此外,在本申请中,诸如“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, in this application, such as "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature delimited with "first", "second" may expressly or implicitly include at least one of that feature. In the description of the present application, "plurality" means at least two, such as two, three, etc., unless expressly and specifically defined otherwise.
此外,在本申请中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括要素的过程、方法、物品或者设备中还存在另外的相同要素。Furthermore, in this application, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply the existence between these entities or operations any such actual relationship or sequence. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device that includes a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article, or device that includes the element.
此外,在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In addition, in the description of this specification, reference to the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples" and the like means description in conjunction with the embodiment or example. A particular feature, structure, material or characteristic is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, those skilled in the art may combine and combine the different embodiments or examples described in this specification, as well as the features of the different embodiments or examples, without conflicting each other.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be The technical solutions described in the foregoing embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions in the embodiments of the present application.

Claims (10)

  1. 一种FC交换机调度方法,其特征在于,包括:An FC switch scheduling method, comprising:
    接收各源端口对应的虚拟队列所携带的FC帧协议优先级信息、端口优先级信息及端口顺序信息;Receive the FC frame protocol priority information, port priority information and port sequence information carried by the virtual queue corresponding to each source port;
    基于所述FC帧协议优先级信息、端口优先级信息及端口顺序信息进行仲裁,确定各源端口的转发顺序;Perform arbitration based on the FC frame protocol priority information, port priority information and port sequence information to determine the forwarding sequence of each source port;
    其中,所述FC帧协议优先级信息预先被添加在与各源端口对应的虚拟队列中。Wherein, the FC frame protocol priority information is pre-added in the virtual queue corresponding to each source port.
  2. 根据权利要求1所述的FC交换机调度方法,其特征在于,所述基于所述FC协议优先级信息、端口优先级信息及端口顺序信息进行仲裁,确定各源端口的转发顺序,包括:The FC switch scheduling method according to claim 1, wherein the performing arbitration based on the FC protocol priority information, port priority information and port sequence information to determine the forwarding sequence of each source port, comprising:
    基于所述FC协议优先级信息进行协议优先级仲裁,确定各源端口的第一转发顺序;Perform protocol priority arbitration based on the FC protocol priority information, and determine the first forwarding order of each source port;
    基于所述第一转发顺序的排序结果,及所述端口优先级信息进行端口优先级仲裁,确定各源端口的第二转发顺序;Perform port priority arbitration based on the sorting result of the first forwarding order and the port priority information, and determine the second forwarding order of each source port;
    基于所述第二转发顺序的排序结果,及所述端口顺序信息进行端口轮询仲裁,确定各源端口的第三转发顺序。Based on the sorting result of the second forwarding order and the port order information, port polling arbitration is performed to determine the third forwarding order of each source port.
  3. 根据权利要求1所述的FC交换机调度方法,其特征在于,还包括:The FC switch scheduling method according to claim 1, further comprising:
    基于就绪的各目的端口发送的建立链路请求,判断是否会发生两个或两个以上目的端口至同一源端口的建立链路冲突;Based on the link establishment requests sent by the ready destination ports, determine whether there will be a link conflict between two or more destination ports to the same source port;
    当发生建立链路冲突时,获取所述源端口的数据速率和总线位宽;When a conflict of establishing a link occurs, obtain the data rate and bus bit width of the source port;
    根据所述数据速率和所述总线位宽,确定所述源端口的存储空间可支持的时间片个数;According to the data rate and the bus bit width, determine the number of time slices that the storage space of the source port can support;
    所述源端口根据所述建立链路请求到达的顺序向所述就绪的目的端口分配时间片,获得所述源端口的控制权;The source port allocates a time slice to the ready destination port according to the arrival sequence of the link establishment request, and obtains the control right of the source port;
    根据所述源端口的控制权获得待转发的FC帧数据,进行FC帧数据的转发,并释放空间。The FC frame data to be forwarded is obtained according to the control right of the source port, the FC frame data is forwarded, and the space is released.
  4. 根据权利要求3所述的FC交换机调度方法,其特征在于,所述方法,还包括:The FC switch scheduling method according to claim 3, wherein the method further comprises:
    当所述源端口的存储空间可支持的时间片个数小于发送建立链路请 求的就绪目的端口个数,且所述时间片均已被分配时,未分配到时间片的所述就绪的目的端口按照对应的建立链路请求到达的顺序等待所述源端口依次分配空闲时间片;When the number of time slices that can be supported by the storage space of the source port is less than the number of ready destination ports for sending the link establishment request, and the time slices have all been allocated, the ready destination that is not allocated to the time slice The port waits for the source port to allocate idle time slices in sequence according to the order in which the corresponding link establishment requests arrive;
    其中,所述空闲时间片为完成FC帧数据转发的已释放空间的时间片。Wherein, the idle time slice is the time slice of the released space after completing the forwarding of the FC frame data.
  5. 根据权利要求3所述的FC交换机调度方法,其特征在于,还包括:The FC switch scheduling method according to claim 3, further comprising:
    当发生多播交换转发时,就绪的各目的端口采用PK制选择一个目的端口申请对应的源端口分配时间片,并获取FC帧数据;When multicast switching and forwarding occurs, each destination port that is ready uses the PK system to select a destination port to apply for the corresponding source port to allocate time slices, and obtain FC frame data;
    复制所述FC数据,并将所述FC数据分别发送给PK制未选择的其余就绪的各目的端口,进行FC帧数据的同时转发,并释放空间。The FC data is copied, and the FC data is sent to the remaining ready destination ports not selected by the PK system respectively, and the FC frame data is forwarded at the same time, and the space is released.
  6. 根据权利要求5所述的FC交换机调度方法,其特征在于,还包括:The FC switch scheduling method according to claim 5, further comprising:
    建立转发请求矩阵、转发完成矩阵和目的端口矩阵;Establish forwarding request matrix, forwarding completion matrix and destination port matrix;
    其中,所述转发请求矩阵能够记录就绪的各目的端口发送的建立链路请求;Wherein, the forwarding request matrix can record the link establishment request sent by each ready destination port;
    所述转发完成矩阵能够记录就绪的各目的端口完成转发FC数据的状态;The forwarding completion matrix can record the state of each destination port that is ready to complete the forwarding of FC data;
    所述目的端口矩阵能够记录FC帧的TDEST信号;The destination port matrix can record the TDEST signal of the FC frame;
    每个目的端口完成FC帧数据转发后,在所述转发完成矩阵进行打卡;After each destination port completes the FC frame data forwarding, punch in the forwarding completion matrix;
    当打卡记录与所述目的端口矩阵中的TDEST信号完全一致时,确定多播转发完成,并释放空间。When the punch record is completely consistent with the TDEST signal in the destination port matrix, it is determined that the multicast forwarding is completed and the space is released.
  7. 根据权利要求6所述的FC交换机调度方法,其特征在于,还包括:The FC switch scheduling method according to claim 6, further comprising:
    建立超时机制,设置预设多播驻留时间,当多播转发完成时间超过预设多播多播驻留时间时,丢弃对应的多播并释放空间。A timeout mechanism is established, and the preset multicast dwell time is set. When the multicast forwarding completion time exceeds the preset multicast multicast dwell time, the corresponding multicast is discarded and the space is released.
  8. 一种FC交换机调度装置,其特征在于,包括:An FC switch scheduling device, comprising:
    接收模块,用于接收各源端口对应的虚拟队列所携带的FC帧协议优先级信息、端口优先级信息及端口顺序信息;The receiving module is used to receive the FC frame protocol priority information, port priority information and port sequence information carried by the virtual queue corresponding to each source port;
    仲裁模块,用于基于所述FC帧协议优先级信息、端口优先级信息及端口顺序信息进行仲裁,确定各源端口的转发顺序;an arbitration module, configured to perform arbitration based on the FC frame protocol priority information, port priority information and port sequence information to determine the forwarding sequence of each source port;
    其中,所述FC帧协议优先级信息预先被添加在与各源端口对应的虚拟队列中。Wherein, the FC frame protocol priority information is pre-added in the virtual queue corresponding to each source port.
  9. 一种电子设备,包括存储器、处理器及存储在存储器上并可在处 理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现如权利要求1~7任一项所述的FC交换机调度方法。An electronic device, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, when the processor executes the program, the program as claimed in any one of claims 1 to 7 is implemented. The FC switch scheduling method described above.
  10. 一种非暂态计算机可读存储介质,其上存储有计算机程序,其特征在于,该计算机程序被处理器执行时实现如权利要求1~7任一项所述的FC交换机调度方法。A non-transitory computer-readable storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the FC switch scheduling method according to any one of claims 1 to 7 is implemented.
PCT/CN2021/119672 2020-12-30 2021-09-22 Fc switch scheduling method and apparatus, and electronic device and storage medium WO2022142510A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011599550.1 2020-12-30
CN202011599550.1A CN112311702B (en) 2020-12-30 2020-12-30 FC switch scheduling method and device, electronic equipment and storage medium

Publications (1)

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

Family

ID=74487635

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/119672 WO2022142510A1 (en) 2020-12-30 2021-09-22 Fc switch scheduling method and apparatus, and electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN112311702B (en)
WO (1) WO2022142510A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112311702B (en) * 2020-12-30 2021-04-06 北京国科天迅科技有限公司 FC switch scheduling method and device, electronic equipment and storage medium
CN113490084B (en) * 2021-07-14 2024-04-26 合肥华控天芯科技有限公司 FC-AE exchanger ultra-bandwidth transmission method supporting priority scheduling
CN116346953B (en) * 2023-03-02 2024-02-13 杭州又拍云科技有限公司 Acceleration method and device for real-time data transmission
CN116074265B (en) * 2023-04-06 2023-07-14 苏州浪潮智能科技有限公司 Switch port state configuration method, device, equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000064109A1 (en) * 1999-04-20 2000-10-26 Cisco Technology, Inc. Crosspoint switch with independent schedulers
US20030021239A1 (en) * 2001-07-26 2003-01-30 Mullendore Rodney N. Method and apparatus for scheduling packet flow on a fibre channel arbitrated loop
CN101729373A (en) * 2008-10-29 2010-06-09 阿尔卡特朗讯 Method and device for dispatching multipriority traffic
CN102223304A (en) * 2011-06-16 2011-10-19 杭州华三通信技术有限公司 Method and device for continuously forwarding after main/standby switch
CN103023669A (en) * 2012-12-28 2013-04-03 中国航空工业集团公司第六三一研究所 Switching network based broadcast scheduling method
CN104717159A (en) * 2013-12-14 2015-06-17 中国航空工业集团公司第六三一研究所 Scheduling method based on store-and-forward switching structure
CN107483405A (en) * 2017-07-17 2017-12-15 中国科学院空间应用工程与技术中心 A kind of dispatching method for supporting elongated cell and scheduling system
CN112311702A (en) * 2020-12-30 2021-02-02 北京国科天迅科技有限公司 FC switch scheduling method and device, electronic equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8811399B2 (en) * 2011-01-07 2014-08-19 Jeda Networks, Inc. Methods, systems and apparatus for the interconnection of fibre channel over ethernet devices using a fibre channel over ethernet interconnection apparatus controller
CN102523437B (en) * 2011-12-07 2014-05-07 中国航空无线电电子研究所 Scheduling switching method for FC-AV (Fiber Channel-Audio Video) data
CN104717160A (en) * 2013-12-17 2015-06-17 华为技术有限公司 Interchanger and scheduling algorithm
CN103888293B (en) * 2014-02-25 2017-01-18 电子科技大学 Data channel scheduling method of multichannel FC network data simulation system
CN105530207A (en) * 2015-12-11 2016-04-27 中国航空工业集团公司西安航空计算技术研究所 Switch port arbitration circuit and method in support of multi-type data frames
CN108173787B (en) * 2017-11-30 2020-12-18 成都成电光信科技股份有限公司 Data transmission path selection method, parallel scheduling method and device for FC switch

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000064109A1 (en) * 1999-04-20 2000-10-26 Cisco Technology, Inc. Crosspoint switch with independent schedulers
US20030021239A1 (en) * 2001-07-26 2003-01-30 Mullendore Rodney N. Method and apparatus for scheduling packet flow on a fibre channel arbitrated loop
CN101729373A (en) * 2008-10-29 2010-06-09 阿尔卡特朗讯 Method and device for dispatching multipriority traffic
CN102223304A (en) * 2011-06-16 2011-10-19 杭州华三通信技术有限公司 Method and device for continuously forwarding after main/standby switch
CN103023669A (en) * 2012-12-28 2013-04-03 中国航空工业集团公司第六三一研究所 Switching network based broadcast scheduling method
CN104717159A (en) * 2013-12-14 2015-06-17 中国航空工业集团公司第六三一研究所 Scheduling method based on store-and-forward switching structure
CN107483405A (en) * 2017-07-17 2017-12-15 中国科学院空间应用工程与技术中心 A kind of dispatching method for supporting elongated cell and scheduling system
CN112311702A (en) * 2020-12-30 2021-02-02 北京国科天迅科技有限公司 FC switch scheduling method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112311702A (en) 2021-02-02
CN112311702B (en) 2021-04-06

Similar Documents

Publication Publication Date Title
WO2022142510A1 (en) Fc switch scheduling method and apparatus, and electronic device and storage medium
US10740034B2 (en) Front-end quality of service differentiation in data systems
Tamir et al. High-performance multi-queue buffers for VLSI communications switches
CN113711551A (en) System and method for facilitating dynamic command management in a Network Interface Controller (NIC)
US8051212B2 (en) Network interface adapter with shared data send resources
US9380007B2 (en) Method, apparatus and system for packet reassembly and reordering
KR101006260B1 (en) Apparatus and method for supporting memory management in an offload of network protocol processing
KR102082020B1 (en) Method and apparatus for using multiple linked memory lists
JP4696024B2 (en) Interconnect logic for data processing equipment
US20050235072A1 (en) Data storage controller
JP2008086027A (en) Method and device for processing remote request
US8606975B2 (en) Managing interrupts in a virtualized input/output device supporting multiple hosts and functions
KR20160040439A (en) Scheduling and traffic management with offload processors
KR20070042152A (en) Apparatus and method for supporting connection establishment in an offload of network protocol processing
US10721302B2 (en) Network storage protocol and adaptive batching apparatuses, methods, and systems
US10742560B2 (en) Intelligent network resource manager
US7783805B2 (en) Interlocking input/outputs on a virtual logic unit number
US7433364B2 (en) Method for optimizing queuing performance
WO2009098216A2 (en) Scalable sockets
WO2024082747A1 (en) Router having cache, routing and switching network system, chip, and routing method
US20040240459A1 (en) Method and apparatus for avoiding collisions during packet enqueue and dequeue
CN104104617B (en) A kind of message referee method and device
US8976802B2 (en) Prediction-based switch allocator
US20200356497A1 (en) Device supporting ordered and unordered transaction classes
CN108063737B (en) FCoE storage area network read request processing method and system

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: 21913255

Country of ref document: EP

Kind code of ref document: A1