WO2012155777A1 - Virtual switch cluster data transmission method, device and equipment - Google Patents

Virtual switch cluster data transmission method, device and equipment Download PDF

Info

Publication number
WO2012155777A1
WO2012155777A1 PCT/CN2012/074687 CN2012074687W WO2012155777A1 WO 2012155777 A1 WO2012155777 A1 WO 2012155777A1 CN 2012074687 W CN2012074687 W CN 2012074687W WO 2012155777 A1 WO2012155777 A1 WO 2012155777A1
Authority
WO
WIPO (PCT)
Prior art keywords
seq
vsc
data frame
value
receiving
Prior art date
Application number
PCT/CN2012/074687
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 WO2012155777A1 publication Critical patent/WO2012155777A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/324Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the data link layer [OSI layer 2], e.g. HDLC

Landscapes

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

Abstract

Disclosed is a VSC data transmission method, comprising: a VSC data forwarding module at a sending end receiving an Ethernet data frame; calculating a Seq value of the Ethernet data frame; embedding the Seq value into the Ethernet data frame to form a VSC data frame, and sending the VSC data frame to a receiving end; a VSC data receiving module at the receiving end parsing the received VSC data frame to obtain the Seq value therein; and when determining that the extracted Seq value = (Seq the value of a receiving register +1) mod Seq the maximum value of the receiving register, unpacking the VSC data frame into the Ethernet data frame and sending the Ethernet data frame to a Layer 2 protocol stack. The present invention further provides a corresponding device. The VSC data transmission device and equipment provided in the present invention improve the reliability of stack cable transmission while ensuring high-speed transmission of VSC data.

Description

虚拟交换机集群数据传输的方法、 装置和设备 技术领域  Method, device and device for virtual switch cluster data transmission
本发明涉及到通信领域, 特别涉及到一种 VSC ( Virtual Switch Cluster, 虚拟交换机集群)数据传输的方法、 装置和设备。 背景技术  The present invention relates to the field of communications, and in particular, to a method, device and device for data transmission of a VSC (Virtual Switch Cluster). Background technique
VSC 系统是一种网络虚拟化技术, 将多个可以单独运行的物理设备组 合成一个虚拟设备, 这些单独的物理设备通过堆叠单板链接在一起, 彼此 之间通过拓朴发现协议发现对方, 并通过一定的机制选择一台主设备, 其 它设备担任转发角色。  The VSC system is a network virtualization technology that combines multiple physical devices that can be run separately into one virtual device. These separate physical devices are linked together by stacking boards and discover each other through a topology discovery protocol. A master device is selected through a certain mechanism, and other devices serve as forwarding roles.
VSC 形成之后,用户通过任意成员均可以登录 VSC 系统,对 VSC 内 所有成员设备进行统一管理, 而不用物理连接到每台成员设备上分别对它 们进行配置和管理, 这样有效做到了简化管理。 同时, VSC形成的虚拟设 备中运行的各种控制协议也是作为单一设备统一运行的, 简化了网络, 另 外, 通过支持跨设备的链路聚合, 可以实现协议级和设备级的跨设备的热 备份。 当 VSC系统中一台设备发生故障时, 可以很快地把业务切换到另一 台设备上, 速度快于 VRRP ( Virtual Router Redundancy Protocol, 虚拟路由 器冗余协议), 整个系统的可靠性得到进一步提高, 最后, 由于 VSC 系统 是由多个设备虚拟化而成的, VSC系统的交换容量和端口数量就是 VSC内 部所有单机设备交换容量和端口数量的总和, 从而大幅度提高了设备的性 能。  After the VSC is formed, any member can log in to the VSC system to manage all the member devices in the VSC. Instead of physically configuring and managing each member device, the management is simplified. At the same time, various control protocols running in the virtual device formed by the VSC are also uniformly operated as a single device, which simplifies the network. In addition, by supporting link aggregation across devices, protocol-level and device-level hot backup across devices can be implemented. . When a device in a VSC system fails, the service can be quickly switched to another device, which is faster than VRRP (Virtual Router Redundancy Protocol). The reliability of the entire system is further improved. Finally, since the VSC system is virtualized by multiple devices, the switching capacity and the number of ports of the VSC system are the sum of the switching capacity and the number of ports of all the single-device devices in the VSC, thereby greatly improving the performance of the device.
所述 VSC由多台堆叠交换机组成, VSC中的各个堆叠交换机是通过堆 叠线缆连接的, VSC中的各个堆叠交换机通过所述堆叠线缆进行信息传输。  The VSC is composed of a plurality of stacking switches, and each stacking switch in the VSC is connected by a stacking cable, and each stacking switch in the VSC performs information transmission through the stacking cable.
现有的堆叠线缆通信策略通常采用常规的 TCP/IP( Transmission Control Protocol/Internet Protocol , 传输控制协议 /因特网互联协议 )协议, 当数据包 在堆叠线缆传输过程中发生丟包或者损坏时, 直接丟弃, 由 TCP/IP中的上 层十办议 ICMP ( Internet Control Message Protocol, 互联网控制才艮文十办议)通 知发送端重新发包, 在堆叠链路状况不好的情况下, 会有大量报文重传, 给堆叠链路造成负担的同时还降低了堆叠线缆传输的可靠性。 发明内容 Existing stack cable communication strategies usually use conventional TCP/IP (Transmission Control) Protocol/Internet Protocol, Protocol Control Protocol/Internet Protocol, when the packet is lost or damaged during the transmission of the stack cable, it is directly discarded. The upper layer of TCP/IP negotiates ICMP (Internet Control). The Message Protocol, the Internet Control Protocol, informs the sender to re-send the packet. If the stack link is in poor condition, a large number of packets will be retransmitted, which will burden the stack link and reduce the stacking line. The reliability of cable transmission. Summary of the invention
本发明的主要目的为提供一种 VSC数据传输的方法、 装置和设备, 在 保证 VSC数据高速传输的同时, 提高堆叠线缆传输的可靠性。  The main object of the present invention is to provide a method, device and device for VSC data transmission, which can improve the reliability of stack cable transmission while ensuring high-speed transmission of VSC data.
本发明提出一种 VSC数据传输的方法, 所述方法包括:  The present invention provides a method for VSC data transmission, the method comprising:
发送端的 VSC数据转发模块接收以太网数据帧;  The VSC data forwarding module at the transmitting end receives the Ethernet data frame;
计算以太网数据帧的 Seq值;  Calculate the Seq value of the Ethernet data frame;
将所述 Seq值嵌入以太网数据帧,形成 VSC数据帧,并发送至接收端; 所述接收端的 VSC数据接收模块解析收到的所述 VSC数据帧得到其中 的 Seq值;  The Seq value is embedded in the Ethernet data frame to form a VSC data frame, and is sent to the receiving end; the VSC data receiving module of the receiving end parses the received VSC data frame to obtain a Seq value therein;
当判定提取的所述 86 值= ( Seq接收寄存器值 +1 ) mod Seq接收寄存 器最大值时, 将所述 VSC数据帧解包为以太网数据帧并将其发送给二层协 议栈。  When it is determined that the extracted 86 value = (Seq Receive Register Value +1) mod Seq receives the register maximum value, the VSC data frame is unpacked into an Ethernet data frame and transmitted to the Layer 2 protocol stack.
优选地, 所述计算以太网数据帧的 Seq值, 为通过公式 Seq= ( Seq发 送寄存器值 +1 ) mod Seq发送寄存器最大值, 计算以太网数据帧的 Seq值。  Preferably, the calculating the Seq value of the Ethernet data frame is to calculate the Seq value of the Ethernet data frame by transmitting the register maximum value by the formula Seq = (Seq transmission register value +1) mod Seq.
优选地, 所述将 Seq值嵌入以太网数据帧, 形成 VSC数据帧, 包括: 将 VSC数据帧格式类型标识 TPID和 Seq值组合成 VSC标识字段; 将所述 VSC标识字段添加至以太网数据帧中。  Preferably, the embedding the Seq value into the Ethernet data frame to form the VSC data frame comprises: combining the VSC data frame format type identifier TPID and the Seq value into a VSC identification field; adding the VSC identification field to the Ethernet data frame in.
优选地, 所述方法包括:  Preferably, the method comprises:
当判定提取的所述 Seq值不等于( Seq接收寄存器值 +1 ) mod Seq接收 寄存器最大值时, 将所述 VSC数据帧丟弃。 本发明还提出一种 VSC数据转发装置, 所述装置包括: The VSC data frame is discarded when it is determined that the extracted Seq value is not equal to (Seq Receive Register Value + 1) mod Seq Receive Register Maximum. The present invention also provides a VSC data forwarding device, the device comprising:
接收模块, 用于接收以太网数据帧;  a receiving module, configured to receive an Ethernet data frame;
计算模块, 用于计算以太网数据帧的 Seq值;  a calculation module, configured to calculate a Seq value of the Ethernet data frame;
转换模块, 用于将所述 Seq值嵌入以太网数据帧, 形成 VSC数据帧, 并发送至接收端。  And a conversion module, configured to embed the Seq value into an Ethernet data frame, form a VSC data frame, and send the data to the receiving end.
优选地, 所述计算模块, 用于通过公式 Seq= ( Seq发送寄存器值 +1 ) mod Seq发送寄存器最大值计算以太网数据帧的 Seq值。  Preferably, the calculation module is configured to calculate a Seq value of the Ethernet data frame by using a formula Seq=(Seq transmission register value +1) mod Seq transmission register maximum value.
优选地, 所述转换模块包括:  Preferably, the conversion module comprises:
组合单元,用于将 VSC数据帧格式类型标识 TPID和 Seq值组合成 VSC 标识字段;  a combining unit, configured to combine the VSC data frame format type identifier TPID and the Seq value into a VSC identifier field;
添加单元, 用于将所述 VSC标识字段添加至以太网数据帧中。  And adding a unit, configured to add the VSC identity field to an Ethernet data frame.
本发明还提出一种 VSC数据接收装置, 所述装置包括:  The present invention also provides a VSC data receiving apparatus, the apparatus comprising:
接收模块, 用于接收发送端的 VSC数据转发装置发送的 VSC数据帧; 解析模块, 用于解析所述 VSC数据帧;  a receiving module, configured to receive a VSC data frame sent by the VSC data forwarding device at the transmitting end, and a parsing module, configured to parse the VSC data frame;
发送模块,用于当判定提取的所述 Seq值= ( Seq接收寄存器值 +1 ) mod Seq接收寄存器最大值时, 将所述 VSC数据帧解包为以太网数据帧并将其 发送给二层协议栈。  a sending module, configured to unpack the VSC data frame into an Ethernet data frame and send it to the second layer when determining that the extracted Seq value = (Seq receiving register value +1) mod Seq receiving register maximum value Protocol stack.
优选地, 所述解析模块包括:  Preferably, the parsing module comprises:
所述发送模块,还用于当判定提取的所述 Seq值不等于( Seq接收寄存 器值 +1 ) mod Seq接收寄存器最大值时, 将所述 VSC数据帧丟弃。  The sending module is further configured to discard the VSC data frame when it is determined that the extracted Seq value is not equal to (Seq Receive Register Value +1) mod Seq Receive Register Maximum Value.
本发明还提出一种 VSC数据传输的设备,包括 VSC数据转发装置和至 少一个 VSC数据接收装置, 其中,  The present invention also provides an apparatus for VSC data transmission, including a VSC data forwarding device and at least one VSC data receiving device, wherein
所述 VSC数据转发装置, 用于接收以太网数据帧; 计算以太网数据帧 的 Seq值; 以及将所述 Seq值嵌入以太网数据帧, 形成 VSC数据帧, 并发 送至所述 VSC数据接收装置; 所述 VSC数据接收装置 ,用于接收所述 VSC数据转发装置发送的 VSC 数据帧; 解析所述 VSC数据帧; 以及当判定提取的所述 86 值= ( Seq接收 寄存器值 +1 ) mod Seq接收寄存器最大值时, 将所述 VSC数据帧解包为以 太网数据帧并将其发送给二层协议栈。 The VSC data forwarding device is configured to receive an Ethernet data frame; calculate a Seq value of the Ethernet data frame; and embed the Seq value into the Ethernet data frame to form a VSC data frame, and send the signal to the VSC data receiving device ; The VSC data receiving apparatus is configured to receive a VSC data frame sent by the VSC data forwarding device; parse the VSC data frame; and when determining the extracted 86 value = (Seq receiving register value +1) mod Seq receiving When the register is at a maximum, the VSC data frame is unpacked into an Ethernet data frame and sent to the Layer 2 protocol stack.
所述 VSC数据接收装置,还用于当判定提取的所述 Seq值不等于( Seq 接收寄存器值 +1 ) mod Seq接收寄存器最大值时,将所述 VSC数据帧丟弃。  The VSC data receiving apparatus is further configured to discard the VSC data frame when it is determined that the extracted Seq value is not equal to (Seq Receive Register Value +1) mod Seq Receive Register Maximum Value.
本发明提出的一种 VSC数据传输的方法、 装置和设备, 对常规 TCP/IP 协议进行扩展,将以太网数据帧转换为 VSC数据帧,通过 VSC数据帧的冗 余发送, 降低了报文重发的可能性, 大大提升以太网层传输的可靠性。 附图说明  The method, device and device for transmitting VSC data according to the present invention extend the conventional TCP/IP protocol, convert the Ethernet data frame into a VSC data frame, and reduce the weight of the message by redundantly transmitting the VSC data frame. The possibility of transmission greatly improves the reliability of Ethernet layer transmission. DRAWINGS
图 1 为本发明 VSC数据传输的方法一实施例的流程示意图;  1 is a schematic flowchart of a method for transmitting VSC data according to an embodiment of the present invention;
图 2 为本发明 VSC数据传输的方法一实施例中 VSC数据帧的格式; 图 3 为本发明 VSC数据转发装置一实施例的结构示意图;  2 is a format of a VSC data frame in an embodiment of a VSC data transmission method according to the present invention; FIG. 3 is a schematic structural diagram of an embodiment of a VSC data forwarding device according to the present invention;
图 4 为本发明 VSC数据转发装置一实施例中转换模块的结构示意图; 图 5 为本发明 VSC数据接收装置一实施例的结构示意图;  4 is a schematic structural diagram of a conversion module in an embodiment of a VSC data forwarding device according to the present invention; FIG. 5 is a schematic structural diagram of an embodiment of a VSC data receiving device according to the present invention;
图 6 为本发明 VSC数据接收设备一实施例的结构示意图。 具体实施方式  FIG. 6 is a schematic structural diagram of an embodiment of a VSC data receiving device according to the present invention. detailed description
应当理解, 此处所描述的具体实施例仅仅用以解释本发明, 并不用于 限定本发明。  It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
下面参照图 1所示,介绍 VSC数据传输的方法一实施例。本实施例中, 堆叠交换机之间通过两条或者多条堆叠线缆互连, 堆叠线缆可采用光纤。 在需要转发以太网数据帧的堆叠交换机上设置 VSC数据转发模块, 在需要 接收以太网数据帧的堆叠交换机上设置 VSC数据接收模块。 实践中, 也可 以将 VSC数据转发模块和 VSC数据接收模块设置于同一堆叠交换机内。 VSC数据转发模块和 VSC数据接收模块的实现均可采用 ASIC电路。 Referring now to Figure 1, an embodiment of a method of VSC data transmission is described. In this embodiment, the stacking switches are interconnected by two or more stacking cables, and the stacking cables may be optical fibers. Set the VSC data forwarding module on the stack switch that needs to forward Ethernet data frames, and set the VSC data receiving module on the stack switch that needs to receive Ethernet data frames. In practice, the VSC data forwarding module and the VSC data receiving module may also be disposed in the same stacking switch. Both the VSC data forwarding module and the VSC data receiving module can be implemented using an ASIC circuit.
VSC数据转发模块的功能包括: 接收以太网数据帧, 实现以太网数据 帧和 VSC数据帧的转化 ,所述 VSC数据转发模块可以采用 Seq发送寄存器 , 上述 Seq发送寄存器用于暂存上次发送 VSC转发帧的 Seq值。 也就是说, seq寄存器的作用是暂时记录和保存发送 vsc报文的序列号, 就是已经使用 的序列号。  The functions of the VSC data forwarding module include: receiving an Ethernet data frame, converting an Ethernet data frame and a VSC data frame, the VSC data forwarding module may adopt a Seq transmission register, and the Seq transmission register is used for temporarily storing the last transmitted VSC. The Seq value of the forwarded frame. That is to say, the role of the seq register is to temporarily record and save the serial number of the sent vsc message, which is the serial number already used.
VSC数据接收模块的功能包括: 解析 VSC数据帧, 以及将以太网数据 帧传递给二层协议栈, 所述二层协议栈是指交换机内部的报文转发, 所述 The function of the VSC data receiving module includes: parsing the VSC data frame, and transmitting the Ethernet data frame to the Layer 2 protocol stack, where the Layer 2 protocol stack refers to the packet forwarding inside the switch,
VSC数据转发模块可以采用 Seq接收寄存器, 所述 Seq接收寄存器用于暂 存上次接收 VSC转发帧的 Seq值。 The VSC data forwarding module may employ a Seq receive register for suspending the Seq value of the last received VSC forwarded frame.
上述 Seq发送寄存器和 Seq接收寄存器的长度应当相同, 通常设置为 The above Seq Transmit Register and Seq Receive Register should be the same length, usually set to
16位, 或根据需要设置适合的长度。 16 bits, or set the appropriate length as needed.
如图 1所示, 本实施例的 VSC数据传输的方法如下:  As shown in FIG. 1, the method for VSC data transmission in this embodiment is as follows:
步驟 S101、转发以太网数据帧的堆叠交换机的 VSC数据转发模块接收 以太网数据帧;  Step S101: The VSC data forwarding module of the stacking switch that forwards the Ethernet data frame receives the Ethernet data frame.
步驟 S102、计算 Seq的值,所述 Seq =( Seq发送寄存器值 + 1 )mod Seq 发送寄存器最大值, 当 Seq发送寄存器长度为 16位时, Seq发送寄存器最 大值为 65535;  Step S102, calculating the value of Seq, the Seq = (Seq transmission register value + 1) mod Seq transmission register maximum value, when the Seq transmission register length is 16 bits, the Seq transmission register maximum value is 65535;
步驟 S103、 将以太网数据帧封装成 VSC数据帧, 并填入 Seq值。  Step S103: Encapsulate the Ethernet data frame into a VSC data frame, and fill in a Seq value.
如图 2所示, 在以太网数据帧的源地址 SA后增加 4个字节的 VSC标 识字段, 该 VSC标识字段包括两个域, 每个域占 2个字节, 一个域用于存 储 VSC数据帧的 TPID ( Tag Protocol Identifier,格式类型标识), 所述 TPID 用于表示 VSC数据帧的格式类型, 其值为固定大小 0x8101 (也可设置为其 它固定的值, 但需注意与其它数据格式区分); 另一个域存储 Seq值, 所述 Seq值用于保存本次发送的 VSC数据帧的序列号。将 个字节的 TPID和 到以太网数据帧的源地址As shown in FIG. 2, a 4-byte VSC identification field is added after the source address SA of the Ethernet data frame. The VSC identification field includes two domains, each domain occupies 2 bytes, and one domain is used to store the VSC. TPID (Tag Protocol Identifier) of the data frame, the TPID is used to indicate the format type of the VSC data frame, and its value is a fixed size of 0x8101 (can also be set to other fixed values, but need to pay attention to other data formats. Another domain stores a Seq value, which is used to store the sequence number of the VSC data frame transmitted this time. Put a byte of TPID and Source address to the Ethernet data frame
SA之后, 形成 VSC转发帧。 上述两个域的大小可以根据实际应用需要改 变, 不限于本实施例, 如可以将存储 TPID的域设置为 1个字节, 相应的, 可以将存储 Seq值的域设置为 3个字节。 After the SA, a VSC forwarding frame is formed. The size of the above two fields may be changed according to actual application requirements, and is not limited to this embodiment. For example, the domain in which the TPID is stored may be set to 1 byte, and correspondingly, the field in which the Seq value is stored may be set to 3 bytes.
步驟 S104、将 VSC数据帧复制多份, 并发送到所有与该堆叠交换机保 持持连连接接的的堆堆叠叠线线缆缆上上,, 一一条条线线缆缆上上发发送送一一份份;;  Step S104: Copy the VSC data frame into multiple copies, and send it to all the stacking and stacking cable cables that are connected and connected to the stacking switch, and send and send the one cable cable. One copy;
步步驟驟 SS110055、、 VVSSCC数数据据接接收收模模块块收收到到 VVSSCC数数据据帧帧后后,, 获获取取 VVSSCC数数据据帧帧 中中的的 TTPPIIDD和和 SSeeqq值值,,根根据据 TTPPIIDD确确认认 VVSSCC数数据据帧帧的的格格式式类类型型,,并并将将获获取取的的 所所述述 SSeeqq值值与与 SSeeqq接接收收寄寄存存器器值值进进行行比比较较,, 若若 SSeeqq值值等等于于 SSeeqq接接收收寄寄存存器器 Step SS110055, the VVSSCC data is received after the receiving module module receives the VVSSCC data frame frame, and obtains the values of the TTPPIIDD and SSeeqq values in the VVSSCC data frame frame. According to the TTPPIIDD, the root format type of the VVSSCC number data frame frame is confirmed, and the SSeeqq value value to be obtained and the SSeeqq value is received and received. The value of the value of the device is compared with the comparison of the row, if the value of SSeeqq is equal to the receiving and receiving register of SSeeqq
1100 值值,, 表表示示已已经经接接收收过过所所述述 VVSSCC数数据据帧帧无无需需重重复复接接收收,, 丟丟弃弃该该 VVSSCC数数据据帧帧;; 若若 SSeeqq值值== (( SSeeqq接接收收寄寄存存器器值值 ++ 11 )) mmoodd SSeeqq接接收收寄寄存存器器最最大大值值 ((当当 SSeeqq接接 收收寄寄存存器器长长度度为为 1166位位时时,, 该该值值为为 6655553355 )),, 则则从从 VVSSCC数数据据帧帧中中去去除除 44字字节节 的的 VVSSCC标标识识字字段段,, 将将 VVSSCC数数据据帧帧解解包包为为以以太太网网数数据据帧帧。。 1100 value,, the table indicates that the VVSSCC number data frame has been received and received, and there is no need to repeat the repeated receiving and receiving, and the VVSSCC data frame frame is discarded. If SSeeqq value == ((SSeeqq receives the receiving register value ++ 11)) mmoodd SSeeqq receives the maximum value of the receiving and registering register (when SSeeqq receives the receiving and receiving When the length of the register is 1166 bits, the value is 6555553355)), then the VVSSCC flag of the 44-byte byte is removed from the VVSSCC data frame frame. The literacy field segment, will decompress the VVSSCC number data according to the frame frame as the frame number of the data network. .
步步驟驟 SS110066、、 将将得得到到的的以以太太网网数数据据帧帧发发送送给给二二层层协协议议栈栈处处理理,, 完完成成 VVSSCC Step SS110066, sending the obtained data of the Ethernet network number according to the frame frame to the Layer 2 layer protocol protocol stack, and completing the process into VVSSCC
1155 数数据据的的传传输输。。 1155 The transmission of data data. .
本本实实施施例例中中,, 对对常常规规 TTCCPP//IIPP协协议议进进行行扩扩展展,, 将将以以太太网网数数据据帧帧转转换换为为 VVSSCC数数据据帧帧,, 通通过过 VVSSCC数数据据帧帧的的冗冗余余发发送送,, 降降低低了了报报文文重重发发的的可可能能性性,, 能能 减减少少堆堆叠叠链链路路的的传传输输负负担担,, 大大大大提提升升以以太太网网层层传传输输的的可可靠靠性性。。  In the example of the implementation of the present embodiment, the expansion and expansion of the conventional TTCCPP//IIPP agreement will be converted to the VVSSCC data by the frame data of the Ethernet network. According to the frame frame, the VVSSCC data is transmitted and sent according to the redundant redundant transmission of the frame frame, and the drop is reduced, and the possibility of re-issuing the message is reduced, and the reduction can be reduced. The burden of transmission and transmission of the stack of stacked link links is greatly reduced, and the reliability and reliability of the transmission and transmission of the Ethernet network are greatly improved. .
参参照照图图 33,, 提提出出本本发发明明 VVSSCC数数据据转转发发装装置置 1100——实实施施例例,, 包包括括:: Referring to FIG. 33, the present invention provides a VVSSCC data data transfer forwarding device set 1100, which is an example of implementation. The package includes:
2200 接接收收模模块块 1111 ,, 用用于于接接收收以以太太网网数数据据帧帧;; 2200 is connected to the receiving and receiving module block 1111, and is used for receiving and receiving the data frame frame of the Ethernet network;
计计算算模模块块 1122,, 用用于于计计算算以以太太网网数数据据帧帧的的 SSeeqq值值;;  Calculating the modulo module block 1122, using the SSeeqq value for calculating the number of data frames of the Ethernet network;
转转换换模模块块 1133,,用用于于将将所所述述 SSeeqq值值嵌嵌入入以以太太网网数数据据帧帧 ,,形形成成 VVSSCC数数据据帧帧 ,, 并并发发送送至至多多个个接接收收端端的的 VVSSCC数数据据接接收收装装置置。。 所所述述接接收收端端指指需需要要接接收收以以太太网网 数数据据帧帧的的堆堆叠叠交交换换机机。。  The conversion conversion module module 1133 is configured to embed the SSeeqq value into the frame frame, and form a VVSSCC data frame frame, and concurrently The VVSSCC number data sent to at most a plurality of receiving and receiving ends is received by the receiving device. . The said receiving and receiving end refers to a stacking stack exchange switching machine that needs to receive and receive the data frame frame of the Ethernet network. .
2255 * 组合单元 131 , 用于将 VSC数据帧的 TPID和 Seq值组合成 VSC标识 字段; 2255 * a combining unit 131, configured to combine the TPID and Seq values of the VSC data frame into a VSC identification field;
添加单元 132, 用于将所述 VSC标识字段添加至以太网数据帧中。 本实施例中, 在需要转发以太网数据帧的堆叠交换机上设置 VSC数据 转发装置 10,在需要接收以太网数据帧的堆叠交换机上设置 VSC数据接收 装置, 实践中, 也可以将 VSC数据转发装置 10和 VSC数据接收装置也可 设置于同一堆叠交换机内。 VSC数据转发装置 10和 VSC数据接收装置的 实现均可采用 ASIC电路。  The adding unit 132 is configured to add the VSC identity field to an Ethernet data frame. In this embodiment, the VSC data forwarding device 10 is set on the stack switch that needs to forward the Ethernet data frame, and the VSC data receiving device is set on the stack switch that needs to receive the Ethernet data frame. In practice, the VSC data forwarding device can also be used. The 10 and VSC data receiving devices can also be placed in the same stacking switch. Both the VSC data forwarding device 10 and the VSC data receiving device can be implemented using an ASIC circuit.
VSC数据转发装置 10的功能包括: 接收以太网数据帧, 实现以太网数 据帧和 VSC数据帧的转化, 包括 Seq发送寄存器。  The functions of the VSC data forwarding device 10 include: receiving Ethernet data frames, converting Ethernet data frames and VSC data frames, including Seq transmission registers.
VSC数据接收装置的功能包括: 解析 VSC数据帧, 以及将以太网数据 帧传递给二层协议栈, 包括 Seq接收寄存器。  The functions of the VSC data receiving device include: parsing the VSC data frame, and passing the Ethernet data frame to the Layer 2 protocol stack, including the Seq receiving register.
上述 Seq发送寄存器和 Seq接收寄存器用于暂存上次发送和接收 VSC 转发帧的 Seq值, Seq发送寄存器和 Seq接收寄存器的长度应当相同,通常 设置为 16位, 或根据需要设置适合的长度。  The above Seq transmit register and Seq receive register are used to temporarily store the Seq value of the last transmit and receive VSC forwarded frame. The length of the Seq transmit register and the Seq receive register should be the same, usually set to 16 bits, or set the appropriate length as needed.
转发以太网数据帧的堆叠交换机的 VSC数据转发模块的接收模块 11 用于接收以太网数据帧。  The receiving module 11 of the VSC data forwarding module of the stacking switch that forwards the Ethernet data frame is configured to receive Ethernet data frames.
计算模块 12计算 Seq的值, 所述 Seq = ( Seq发送寄存器值 + 1 ) mod Seq发送寄存器最大值, 当 Seq发送寄存器长度为 16位时, Seq发送寄存 器最大值为 65535。  The calculation module 12 calculates the value of Seq, the Seq = (Seq transmission register value + 1) mod Seq transmission register maximum value, and when the Seq transmission register length is 16 bits, the Seq transmission register maximum value is 65535.
转换模块 13将以太网数据帧封装成 VSC数据帧, 并填入 Seq值。 如图 2所示, 在以太网数据帧的源地址 SA后增加 4个字节的 VSC标 识字段, 该标识字段包括两个域, 一个为 VSC数据帧的 TPID域, 包括 2 个字节, 用于表示 VSC数据帧格式类型, 其值为固定大小 0x8101 (也可设 置为其它固定的值, 但需注意与其它数据格式区分); 另一个为 Seq域, 也 为 2个字节, 用于保存本次发送的 VSC数据帧的序列号。 The conversion module 13 encapsulates the Ethernet data frame into a VSC data frame and fills in the Seq value. As shown in FIG. 2, a 4-byte VSC identifier field is added after the source address SA of the Ethernet data frame, where the identifier field includes two fields, and one is a TPID field of the VSC data frame, including 2 bytes. Indicates the VSC data frame format type, which has a fixed size of 0x8101 (can also be set to other fixed values, but needs to be distinguished from other data formats); the other is the Seq field, also It is 2 bytes and is used to save the serial number of the VSC data frame sent this time.
组合单元 131将 2个字节的 TPID和 2个字节的 Seq值组合成共 4个字 节的 VSC标识字段, 由添加单元 132嵌入到以太网数据帧的源地址 SA之 后, 形成 VSC转发帧。 上述 TPID和 Seq值的长度可以根据实际应用需要 改变, 如 TPID值设置为 1个字节, 而 Seq值设置为 3个字节, 不仅限于本 实施例。  The combining unit 131 combines the 2-byte TPID and the 2-byte Seq value into a total of 4 bytes of VSC identification field, and the adding unit 132 embeds the source address SA of the Ethernet data frame to form a VSC forwarding frame. . The lengths of the above TPID and Seq values may be changed according to actual application requirements, such as setting the TPID value to 1 byte and the Seq value to 3 bytes, which is not limited to this embodiment.
转换模块 13将 VSC数据帧复制多份, 并发送到所有与该堆叠交换机 保持连接的堆叠线缆上, 一条线缆上发送一份。  The conversion module 13 copies the VSC data frames into multiple copies and sends them to all the stacking cables that are connected to the stacking switch, and sends one copy on one cable.
VSC数据接收装置收到 VSC数据帧后, 获取 VSC数据帧中的 Seq值, 并与 Seq接收寄存器值进行比较, 若 Seq值等于 Seq接收寄存器值, 丟弃 该 VSC数据帧; 若 Seq值= ( Seq接收寄存器值 + 1 ) mod Seq接收寄存器最 大值 (当 Seq接收寄存器长度为 16位时, 则该值为 65535 ), 则从 VSC数 据帧中去除 4字节的 VSC标识字段, 将 VSC数据帧解包为以太网数据帧。 VSC 数据接收装置将得到的以太网数据帧发送给二层协议栈处理, 完成 VSC数据的传输。  After receiving the VSC data frame, the VSC data receiving device acquires the Seq value in the VSC data frame and compares it with the Seq receiving register value. If the Seq value is equal to the Seq receiving register value, the VSC data frame is discarded; if the Seq value = ( Seq receive register value + 1) mod Seq Receive register maximum value (when the Seq receive register length is 16 bits, the value is 65535), then remove the 4-byte VSC identification field from the VSC data frame, and set the VSC data frame. Unpacked into an Ethernet data frame. The VSC data receiving device sends the obtained Ethernet data frame to the Layer 2 protocol stack for processing, and completes the transmission of the VSC data.
本实施例中, 对常规 TCP/IP协议进行扩展, 将以太网数据帧转换为 VSC数据帧, 通过 VSC数据帧的冗余发送, 降低了报文重发的可能性, 大 大提升以太网层传输的可靠性。  In this embodiment, the conventional TCP/IP protocol is extended to convert the Ethernet data frame into a VSC data frame, and the redundant transmission of the VSC data frame reduces the possibility of message retransmission and greatly improves the Ethernet layer transmission. Reliability.
参照图 5 , 提出本发明 VSC数据接收装置 20—实施例, 包括: 接收模块 21 , 用于接收发送端的 VSC数据转发装置发送的 VSC数据 帧;  Referring to FIG. 5, an embodiment of the present invention provides a VSC data receiving apparatus 20, which includes: a receiving module 21, configured to receive a VSC data frame sent by a VSC data forwarding device at a transmitting end;
解析模块 22, 用于解析所述 VSC数据帧;  The parsing module 22 is configured to parse the VSC data frame;
发送模块 23, 用于当判定提取的所述 86 值= ( Seq接收寄存器值 +1 ) mod Seq接收寄存器最大值时, 将所述 VSC数据帧解包为以太网数据帧并 将其发送给二层协议栈。 所述发送模块 23 , 还用于当判定提取的所述 Seq值不等于 ( Seq接收 寄存器值 +1 ) mod Seq接收寄存器最大值时, 将所述 VSC数据帧丟弃。 The sending module 23 is configured to, when determining the extracted 86 value = (Seq receiving register value +1) mod Seq receiving register maximum value, unpacking the VSC data frame into an Ethernet data frame and sending it to the second Layer protocol stack. The sending module 23 is further configured to discard the VSC data frame when it is determined that the extracted Seq value is not equal to (Seq receiving register value +1) mod Seq receiving register maximum value.
本实施例中, 在需要转发以太网数据帧的堆叠交换机上设置 VSC数据 转发装置, 在需要接收以太网数据帧的堆叠交换机上设置 VSC数据接收装 置 20, VSC数据转发装置和 VSC数据接收装置 20也可设置于同一堆叠交 换机内。 VSC数据转发装置或 VSC数据接收装置 20的实现可采用 ASIC 电路。  In this embodiment, a VSC data forwarding device is set on a stack switch that needs to forward an Ethernet data frame, and a VSC data receiving device 20, a VSC data forwarding device, and a VSC data receiving device 20 are disposed on a stack switch that needs to receive an Ethernet data frame. It can also be set in the same stacking switch. The implementation of the VSC data forwarding device or the VSC data receiving device 20 may employ an ASIC circuit.
VSC数据转发装置的功能包括: 接收以太网数据帧, 实现以太网数据 帧和 VSC数据帧的转化, 包括 Seq发送寄存器。  The functions of the VSC data forwarding device include: receiving Ethernet data frames, converting Ethernet data frames and VSC data frames, including Seq transmission registers.
VSC数据接收装置 20的功能包括: 解析 VSC数据帧, 以及将以太网 数据帧传递给二层协议栈, 包括 Seq接收寄存器。  The functions of VSC data receiving device 20 include: parsing VSC data frames, and passing Ethernet data frames to a Layer 2 protocol stack, including Seq receive registers.
上述 Seq发送寄存器和 Seq接收寄存器用于暂存上次发送和接收 VSC 转发帧的 Seq值, Seq发送寄存器和 Seq接收寄存器的长度应当相同,通常 设置为 16位, 或根据需要设置适合的长度。  The above Seq transmit register and Seq receive register are used to temporarily store the Seq value of the last transmit and receive VSC forwarded frame. The length of the Seq transmit register and the Seq receive register should be the same, usually set to 16 bits, or set the appropriate length as needed.
转发以太网数据帧的堆叠交换机的 VSC数据转发装置接收到以太网数 据帧, 并计算 Seq的值, 所述 Seq等于 (Seq发送寄存器值 + 1 ) mod Seq 发送寄存器最大值, 当 Seq发送寄存器长度为 16位时, Seq发送寄存器最 大值为 65535。  The VSC data forwarding device of the stack switch forwarding the Ethernet data frame receives the Ethernet data frame and calculates the value of Seq, which is equal to (Seq transmission register value + 1) mod Seq transmission register maximum value, when Seq transmission register length When it is 16 bits, the Seq transmit register has a maximum value of 65535.
VSC数据转发装置将以太网数据帧封装成 VSC数据帧 ,并填入 Seq值。 如图 2所示, 在以太网数据帧的源地址 SA后增加 4个字节的 VSC标 识字段, 该标识字段包括两个域, 一个为 VSC数据帧的 TPID域, 包括 2 个字节, 用于表示 VSC数据帧格式类型, 其值为固定大小 0x8101 (也可设 置为其它固定的值, 但需注意与其它数据格式区分); 另一个为 Seq域, 也 为 2个字节, 用于保存本次发送的 VSC数据帧的序列号。  The VSC data forwarding device encapsulates the Ethernet data frame into a VSC data frame and fills in the Seq value. As shown in FIG. 2, a 4-byte VSC identifier field is added after the source address SA of the Ethernet data frame, where the identifier field includes two fields, and one is a TPID field of the VSC data frame, including 2 bytes. Indicates the VSC data frame format type, which has a fixed size of 0x8101 (can also be set to other fixed values, but need to be distinguished from other data formats); the other is Seq field, also 2 bytes, for saving The serial number of the VSC data frame sent this time.
将 2个字节的 TPID和 2个字节的 Seq值共 4个字节的 VSC标识字段 嵌入到以太网数据帧的源地址 SA之后, 形成 VSC转发帧。 上述 TPID和 Seq值的长度可以根据实际应用需要改变, 如 TPID值设置为 1个字节, 而 Seq值设置为 3个字节, 不仅限于本实施例。 VSC ID field with 2 bytes of TPID and 2 bytes of Seq value for 4 bytes After being embedded in the source address SA of the Ethernet data frame, a VSC forwarding frame is formed. The lengths of the above TPID and Seq values may be changed according to actual application requirements, such as setting the TPID value to 1 byte and the Seq value to 3 bytes, which is not limited to this embodiment.
VSC数据转发装置将 VSC数据帧复制多份,并发送到所有与该堆叠交 换机保持连接的堆叠线缆上, 一条线缆上发送一份。  The VSC data forwarding device copies the VSC data frames in multiple copies and sends them to all the stacking cables that are connected to the stacking switch, and sends one copy on one cable.
VSC数据接收装置 20的接收模块 21收到 VSC数据帧后,解析模块 22 解析所述 VSC数据帧从中获取 VSC数据帧中的 Seq值, 发送模块 23将所 述 Seq值与 Seq接收寄存器值进行比较, 若 Seq值等于 Seq接收寄存器值, 则丟弃该 VSC数据帧; 若 Seq值等于 ( Seq接收寄存器值 + 1 ) mod Seq接 收寄存器最大值 ( Seq接收寄存器长度为 16位时, 该值为 65535 ), 则从 VSC数据帧中去除 4字节的 VSC标识字段, 将 VSC数据帧解包为以太网 数据帧并将其发送给二层协议栈处理, 完成 VSC数据的传输。  After receiving the VSC data frame by the receiving module 21 of the VSC data receiving device 20, the parsing module 22 parses the VSC data frame to obtain the Seq value in the VSC data frame, and the transmitting module 23 compares the Seq value with the Seq receiving register value. If the Seq value is equal to the Seq receive register value, discard the VSC data frame; if the Seq value is equal to (Seq receive register value + 1) mod Seq receive register maximum value (Seq receive register length is 16 bits, the value is 65535 Then, the 4-byte VSC identification field is removed from the VSC data frame, the VSC data frame is unpacked into an Ethernet data frame and sent to the Layer 2 protocol stack for processing, and the VSC data transmission is completed.
本实施例中, 对常规 TCP/IP协议进行扩展, 将以太网数据帧转换为 VSC数据帧, 通过 VSC数据帧的冗余发送, 降低了报文重发的可能性, 大 大提升以太网层传输的可靠性。  In this embodiment, the conventional TCP/IP protocol is extended to convert the Ethernet data frame into a VSC data frame, and the redundant transmission of the VSC data frame reduces the possibility of message retransmission and greatly improves the Ethernet layer transmission. Reliability.
参照图 7 , 提出本发明 VSC数据传输的设备, 包括 VSC数据转发装置 10和多个 VSC数据接收装置 20, 其中,  Referring to FIG. 7, an apparatus for transmitting VSC data of the present invention is provided, which includes a VSC data forwarding device 10 and a plurality of VSC data receiving devices 20, wherein
VSC数据转发装置 10, 用于接收以太网数据帧; 计算以太网数据帧的 Seq值; 以及将所述 Seq值嵌入以太网数据帧, 形成 VSC数据帧, 并发送 至所述 VSC数据接收装置 20;  The VSC data forwarding device 10 is configured to receive an Ethernet data frame; calculate a Seq value of the Ethernet data frame; and embed the Seq value into the Ethernet data frame to form a VSC data frame, and send the VSC data frame to the VSC data receiving device 20 ;
VSC数据接收装置 20, 用于接收所述 VSC数据转发装置发送的 VSC 数据帧; 解析所述 VSC数据帧; 以及当判定提取的所述 Seq值= ( Seq接收 寄存器值 +1 ) mod Seq接收寄存器最大值时, 将所述 VSC数据帧解包为以 太网数据帧并将其发送给二层协议栈。  a VSC data receiving device 20, configured to receive a VSC data frame sent by the VSC data forwarding device; parse the VSC data frame; and when determining the extracted Seq value = (Seq receiving register value +1) mod Seq receiving register At the maximum value, the VSC data frame is unpacked into an Ethernet data frame and sent to the Layer 2 protocol stack.
所述 VSC数据接收装置,还用于当判定提取的所述 Seq值不等于( Seq 接收寄存器值 +1 ) mod Seq接收寄存器最大值时,将所述 VSC数据帧丟弃。 上述 VSC数据转发装置 10的结构和工作原理同图 3或图 4之 VSC数 据转发装置 10, 上述 VSC数据接收装置 20的结构和工作原理同图 5或图 6之 VSC数据接收装置 20, 此处不再赘述。 The VSC data receiving apparatus is further configured to: when determining that the extracted Seq value is not equal to (Seq Receive Register Value +1) When the mod Seq receives the register maximum, the VSC data frame is discarded. The structure and working principle of the VSC data forwarding device 10 are the same as those of the VSC data forwarding device 10 of FIG. 3 or FIG. 4, and the structure and working principle of the VSC data receiving device 20 are the same as those of the VSC data receiving device 20 of FIG. 5 or FIG. No longer.
本实施例中, 对常规 TCP/IP协议进行扩展, 将以太网数据帧转换为 In this embodiment, the conventional TCP/IP protocol is extended to convert an Ethernet data frame into
VSC数据帧, 通过 VSC数据帧的冗余发送, 降低了报文重发的可能性, 大 大提升以太网层传输的可靠性。 VSC data frames, through redundant transmission of VSC data frames, reduce the possibility of message retransmission and greatly improve the reliability of Ethernet layer transmission.
以上所述仅为本发明的优选实施例, 并非因此限制本发明的专利范围 , 凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换, 或直 接或间接运用在其他相关的技术领域, 均同理包括在本发明的专利保护范 围内。  The above description is only the preferred embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent flow transformation made by the specification and the drawings of the present invention may be directly or indirectly applied to other related The technical field is equally included in the scope of patent protection of the present invention.

Claims

权利要求书 Claim
1、 一种 VSC数据传输的方法, 其特征在于, 所述方法包括: 发送端接收以太网数据帧, 计算以太网数据帧的 Seq值;  A method for transmitting VSC data, the method comprising: receiving, by a transmitting end, an Ethernet data frame, and calculating a Seq value of the Ethernet data frame;
将所述 Seq值嵌入以太网数据帧,形成 VSC数据帧,并发送至接收端; 所述接收端解析收到的所述 VSC数据帧得到其中的 Seq值;  The Seq value is embedded in the Ethernet data frame to form a VSC data frame, and is sent to the receiving end; the receiving end parses the received VSC data frame to obtain a Seq value therein;
当判定提取的所述 Seq值等于(Seq接收寄存器值 +1 ) mod Seq接收寄 存器最大值时, 将所述 VSC数据帧解包为以太网数据帧, 并将解包的以太 网数据帧发送给二层协议栈。  When it is determined that the extracted Seq value is equal to (Seq receiving register value +1) mod Seq receiving register maximum value, the VSC data frame is unpacked into an Ethernet data frame, and the unwrapped Ethernet data frame is sent to Layer 2 protocol stack.
2、 如权利要求 1所述的方法, 其特征在于, 所述计算以太网数据帧的 Seq值为:  2. The method according to claim 1, wherein the calculating the Seq value of the Ethernet data frame is:
通过 Seq等于( Seq发送寄存器值 +1 ) mod Seq发送寄存器最大值, 计 算以太网数据帧的 Seq值。  The Seq value of the Ethernet data frame is calculated by Seq equals (Seq Transmit Register Value +1) mod Seq Transmit Register Max.
3、 如权利要求 1或 2所述的方法, 其特征在于, 所述将 Seq值嵌入以 太网数据帧, 形成 VSC数据帧, 包括:  The method according to claim 1 or 2, wherein the embedding the Seq value into the Ethernet data frame to form the VSC data frame comprises:
将 VSC数据帧格式类型标识 TPID和 Seq值组合成 VSC标识字段; 将所述 VSC标识字段添加至以太网数据帧中。  The VSC data frame format type identification TPID and Seq values are combined into a VSC identification field; the VSC identification field is added to the Ethernet data frame.
4、 如权利要求 1或 2所述的方法, 其特征在于, 所述方法还包括: 当判定提取的所述 Seq值不等于( Seq接收寄存器值 +1 ) mod Seq接收 寄存器最大值时, 将所述 VSC数据帧丟弃。  The method according to claim 1 or 2, wherein the method further comprises: when it is determined that the extracted Seq value is not equal to (Seq receiving register value +1) mod Seq receiving register maximum value, The VSC data frame is discarded.
5、 一种 VSC数据转发装置, 其特征在于, 所述装置包括:  5. A VSC data forwarding device, the device comprising:
接收模块, 用于接收以太网数据帧;  a receiving module, configured to receive an Ethernet data frame;
计算模块, 用于计算以太网数据帧的 Seq值;  a calculation module, configured to calculate a Seq value of the Ethernet data frame;
转换模块, 用于将所述 Seq值嵌入以太网数据帧, 形成 VSC数据帧, 并发送至接收端。  And a conversion module, configured to embed the Seq value into an Ethernet data frame, form a VSC data frame, and send the data to the receiving end.
6、 如权利要求 5所述的装置, 其特征在于, 所述计算模块, 用于通过 Seq等于 (Seq发送寄存器值 +1 ) mod Seq发送寄存器最大值计算以太网数 据帧的 Seq值。 The device according to claim 5, wherein the calculation module is configured to pass Seq is equal to (Seq Transmit Register Value +1) mod Seq Transmit Register Max calculates the Seq value of the Ethernet data frame.
7、 如权利要求 5或 6所述的装置, 其特征在于, 所述转换模块包括: 组合单元,用于将 VSC数据帧格式类型标识 TPID和 Seq值组合成 VSC 标识字段;  The apparatus according to claim 5 or 6, wherein the conversion module comprises: a combining unit, configured to combine the VSC data frame format type identifier TPID and the Seq value into a VSC identification field;
添加单元, 用于将所述 VSC标识字段添加至以太网数据帧中。  And adding a unit, configured to add the VSC identity field to an Ethernet data frame.
8、 一种 VSC数据接收装置, 其特征在于, 所述装置包括:  8. A VSC data receiving device, the device comprising:
接收模块, 用于接收发送端的 VSC数据转发装置发送的 VSC数据帧; 解析模块, 用于解析所述 VSC数据帧;  a receiving module, configured to receive a VSC data frame sent by the VSC data forwarding device at the transmitting end, and a parsing module, configured to parse the VSC data frame;
发送模块, 用于当判定提取的所述 Seq值等于 (Seq接收寄存器值 +1 ) mod Seq接收寄存器最大值时, 将所述 VSC数据帧解包为以太网数据帧, 并将解包的以太网数据镇发送给二层协议栈。  a sending module, configured to, when determining that the extracted Seq value is equal to (Seq receiving register value +1) mod Seq receiving register maximum value, unpacking the VSC data frame into an Ethernet data frame, and unpacking the Ethernet The network data town is sent to the Layer 2 protocol stack.
9、 如权利要求 8所述的装置, 其特征在于, 所述发送模块, 还用于当 判定提取的所述 Seq值不等于( Seq接收寄存器值 +1 ) mod Seq接收寄存器 最大值时, 将所述 VSC数据帧丟弃。  The device according to claim 8, wherein the sending module is further configured to: when determining that the extracted Seq value is not equal to (Seq receiving register value +1) mod Seq receiving register maximum value, The VSC data frame is discarded.
10、 一种 VSC数据传输的设备, 其特征在于, 包括 VSC数据转发装置 和至少一个 vsc数据接收装置, 其中,  A VSC data transmission device, comprising: a VSC data forwarding device and at least one vsc data receiving device, wherein
所述 VSC数据转发装置, 用于接收以太网数据帧; 计算以太网数据帧 的 Seq值; 以及将所述 Seq值嵌入以太网数据帧, 形成 VSC数据帧, 并发 送至所述 VSC数据接收装置;  The VSC data forwarding device is configured to receive an Ethernet data frame; calculate a Seq value of the Ethernet data frame; and embed the Seq value into the Ethernet data frame to form a VSC data frame, and send the signal to the VSC data receiving device ;
所述 VSC数据接收装置 ,用于接收所述 VSC数据转发装置发送的 VSC 数据帧; 解析所述 VSC数据帧; 以及当判定提取的所述 Seq值等于 (Seq 接收寄存器值 +1 ) mod Seq接收寄存器最大值时, 将所述 VSC数据帧解包 为以太网数据帧并将其发送给二层协议栈。  The VSC data receiving apparatus is configured to receive a VSC data frame sent by the VSC data forwarding device; parse the VSC data frame; and when determining that the extracted Seq value is equal to (Seq receiving register value +1) mod Seq receiving When the register is at a maximum, the VSC data frame is unpacked into an Ethernet data frame and sent to the Layer 2 protocol stack.
11、 如权利要求 10所述的设备, 其特征在于, 所述 VSC数据接收装 置,还用于当判定提取的所述 Seq值不等于(Seq接收寄存器值 +1 ) mod Seq 接收寄存器最大值时, 将所述 VSC数据帧丟弃。 The device according to claim 10, wherein said VSC data receiving device And is further configured to discard the VSC data frame when it is determined that the extracted Seq value is not equal to (Seq receiving register value +1) mod Seq receiving register maximum value.
PCT/CN2012/074687 2011-08-15 2012-04-25 Virtual switch cluster data transmission method, device and equipment WO2012155777A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110233224.3 2011-08-15
CN2011102332243A CN102291304A (en) 2011-08-15 2011-08-15 Method, device and equipment for VSC data transmission

Publications (1)

Publication Number Publication Date
WO2012155777A1 true WO2012155777A1 (en) 2012-11-22

Family

ID=45337422

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/074687 WO2012155777A1 (en) 2011-08-15 2012-04-25 Virtual switch cluster data transmission method, device and equipment

Country Status (2)

Country Link
CN (1) CN102291304A (en)
WO (1) WO2012155777A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291304A (en) * 2011-08-15 2011-12-21 中兴通讯股份有限公司 Method, device and equipment for VSC data transmission

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1764180A (en) * 2004-10-19 2006-04-26 华为技术有限公司 System and method for finishing service transmission in virtual switching system
CN101075841A (en) * 2007-07-06 2007-11-21 中兴通讯股份有限公司 Reliable telecommunication for baseband pool unit and remote radio-frequency unit
CN102291304A (en) * 2011-08-15 2011-12-21 中兴通讯股份有限公司 Method, device and equipment for VSC data transmission

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1764180A (en) * 2004-10-19 2006-04-26 华为技术有限公司 System and method for finishing service transmission in virtual switching system
CN101075841A (en) * 2007-07-06 2007-11-21 中兴通讯股份有限公司 Reliable telecommunication for baseband pool unit and remote radio-frequency unit
CN102291304A (en) * 2011-08-15 2011-12-21 中兴通讯股份有限公司 Method, device and equipment for VSC data transmission

Also Published As

Publication number Publication date
CN102291304A (en) 2011-12-21

Similar Documents

Publication Publication Date Title
JP6666051B2 (en) Data transmission method, device and system
US9380134B2 (en) RoCE packet sequence acceleration
US9590923B2 (en) Reliable link layer for control links between network controllers and switches
TWI339055B (en) Apparatus and methods for a high performance hardware network protocol processing engine
JP2009065429A (en) Packet transfer apparatus
KR20150128795A (en) Enhanced acknowledgement and retransmission mechanism
US11627077B2 (en) Reliable overlay based on reliable transport layer
CN104104609B (en) For providing the method and system of fiduciary flow control in network
WO2007085198A1 (en) A data transmission method and a system thereof
WO2008049341A1 (en) Message processing method, message transmitting device and message receiving device
JP5861772B2 (en) Network appliance redundancy system, control device, network appliance redundancy method and program
JP5911108B2 (en) Computer system, server, open flow controller and communication method
WO2007028295A1 (en) A management method for binding link state
US7346058B1 (en) Multiprotocol encapsulation system and method
WO2012159461A1 (en) Layer-2 path maximum transmission unit discovery method and node
JP5672836B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM
WO2008028383A1 (en) Method for identifying the layer 3 protocol in l2vpn heterogeneous medium interconnection and the apparatus and system thereof
WO2019179161A1 (en) Data traffic processing method, device and system
WO2015176257A1 (en) Openflow device and ip network device communication method, device and system
US20090248978A1 (en) Usb data striping
WO2012155777A1 (en) Virtual switch cluster data transmission method, device and equipment
WO2011143938A1 (en) Method and system for managing user ports in aggregation links
WO2015010514A1 (en) Signal conversion method, apparatus and system
US11362958B2 (en) Device and method for transferring identification and/or data flow control information between devices
KR101200875B1 (en) Method and system for light-weight soap transport for web services based management

Legal Events

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

Ref document number: 12786146

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12786146

Country of ref document: EP

Kind code of ref document: A1