Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for establishing virtual channel, method of data transmission and line card

A virtual channel and line card technology, applied in the field of communications, can solve the problems of PCIE channel blocking, damage forwarding performance, channel performance degradation, etc., to reduce delay, achieve high performance, and achieve the effect of data forwarding

Active Publication Date: 2014-01-22
RUIJIE NETWORKS CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the case of large-traffic service forwarding, using the PCIE memory read bus transaction for memory application will cause the PCIE channel to be blocked for a long time, resulting in a sharp decline in channel performance; at the same time, the interactive process of message sending-message confirmation will also cause huge transmission delay, impairment forwarding performance

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for establishing virtual channel, method of data transmission and line card
  • Method for establishing virtual channel, method of data transmission and line card
  • Method for establishing virtual channel, method of data transmission and line card

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0048] Embodiment 1 of the present invention provides a method for establishing a virtual channel, and the steps of the method are as follows figure 1 As shown, it specifically includes the following steps:

[0049] Step 001. Determine the keepalive message sent by the peer line card.

[0050] Step 002: Determine a control virtual channel and a service virtual channel to be established with the peer line card.

[0051] This step includes: from the determined keepalive message, query the setting field of the keepalive message sent by the peer line card at the current moment, and determine the control virtual device to be established with the peer line card according to the keepalive message. channels and business virtual channels.

[0052] Step 003, establishing a control virtual channel and a service virtual channel.

[0053] This step includes: establishing a control virtual channel and a service virtual channel according to the determined control virtual channel and servi...

Embodiment 2

[0056] Embodiment 2 of the present invention provides a method for establishing a virtual channel, and the steps of the method are as follows figure 2 As shown, it specifically includes the following steps:

[0057] Step 101, memory is mapped to PCIE space by configuring registers.

[0058] The line card of the distributed system establishes a virtual channel based on the keepalive message sent by the peer line card. Each line card will open a reserved area in the fixed memory domain of the local line card to store the keepalive message of the peer line card. The reserved area can be divided according to the number of line cards in the distributed system, an independent memory space for each line card in the distributed system is set in the reserved area, and an independent memory space for each line card in the reserved area Spaces can be identified by a device identification number (ID number) for each line card.

[0059] In this embodiment, a line card in a distributed s...

Embodiment 3

[0087] Embodiment 3 of the present invention provides a method for data transmission based on the virtual channel (service virtual channel or control virtual channel) established by the methods provided in Embodiment 1 and Embodiment 2 of the present invention. Each time line card B and line card After the virtual channel between A is established and before it is revoked, take line card B (sending line card) and line card A (destination line card) for data transmission as an example. The steps of this method are as follows Figure 4 As shown, it specifically includes the following steps:

[0088] Step 201, line card A allocates an independent receiving RX queue for the established control virtual channel or service virtual channel with line card B, and determines the credit pool of line card B according to the keepalive message sent by line card B base address.

[0089] The RX queue may be used to receive data sent by the peer line card (line card B). The RX queue allocated ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a method for establishing a virtual channel, a method of data transmission and a line card. The method for establishing the virtual channel is characterized by comprising: establishing a virtual channel which bears data transmission of a control channel and a service channel among line cards in a distributed system, and uniformly using the virtual channel to bear the control channel and the service channel so as to simplify the channel management of the line cards. Meanwhile, the invention provides an efficient scheme of data transmission among line cards based on the virtual channel. In the scheme, each line card maps partial memory to a uniform PCIE (peripheral component interface express) space, data transmission among the line cards can be completed through PCIE memory writing bus transaction; and as the PCIE memory writing bus transaction adopts a Post mode, so that compared with the traditional PCIE channel, the virtual channel provided by the invention has the advantages that the data transmission delay can be reduced and high-performance data forwarding can be realized.

Description

technical field [0001] The invention relates to the communication field, in particular to a virtual channel establishment method, a data transmission method and a line card. Background technique [0002] Traditional distributed systems usually include various line cards, such as main control cards, service cards, and carrier cards. In a distributed system, there are usually two types of channels: a control channel and a service channel. Among them, the control channel is generally the data channel between the main control card and the service card, or the carrier board card and the service card. The control channel mainly completes the distribution of control information and configuration information; the service channel is generally the data channel between the service cards. Service channels are generally used for forwarding service packets. In the channel implementation form of the distributed system, since the control channel has fewer messages and uses less bandwidth,...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/931H04L12/70H04L29/08
Inventor 邱磊
Owner RUIJIE NETWORKS CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products