CN112380038A - Communication equipment control plane and data plane separation method based on shared physical channel - Google Patents

Communication equipment control plane and data plane separation method based on shared physical channel Download PDF

Info

Publication number
CN112380038A
CN112380038A CN202011585986.5A CN202011585986A CN112380038A CN 112380038 A CN112380038 A CN 112380038A CN 202011585986 A CN202011585986 A CN 202011585986A CN 112380038 A CN112380038 A CN 112380038A
Authority
CN
China
Prior art keywords
control plane
physical channel
plane
data
software
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN202011585986.5A
Other languages
Chinese (zh)
Other versions
CN112380038B (en
Inventor
连小刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anhui Wantong Post And Telecommunications Co ltd
Original Assignee
Anhui Wantong Post And Telecommunications Co ltd
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 Anhui Wantong Post And Telecommunications Co ltd filed Critical Anhui Wantong Post And Telecommunications Co ltd
Priority to CN202011585986.5A priority Critical patent/CN112380038B/en
Publication of CN112380038A publication Critical patent/CN112380038A/en
Application granted granted Critical
Publication of CN112380038B publication Critical patent/CN112380038B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method for separating a control plane and a data plane of communication equipment based on a shared physical channel, which is realized by separating the control plane and the data plane into software and hardware separation configuration activities. The invention starts from the design source of the communication equipment, can dynamically allocate the number of the special data channels and the number of the shared channels according to the performance requirement, and realizes the data plane and the control plane of the communication equipment by adopting the special logic channels and the software flow, thereby achieving the decoupling with the hardware physical channel. For the data plane and control plane messages of the shared physical channel, software realizes an independent adaptation layer, completes the identification and sorting of the messages in the shared physical channel in the adaptation layer, and is linked to the corresponding forwarding logic channel, the messages in the logic channel continue to complete the corresponding service processing, and the messages needing to be forwarded continue are transmitted according to the bound physical channel.

Description

Communication equipment control plane and data plane separation method based on shared physical channel
Technical Field
The invention relates to the technical field of software, in particular to a method for separating a control plane and a data plane of communication equipment based on a shared physical channel.
Background
The communication equipment is used as an important carrier of current human communication activities, the stability and the reliability of the communication equipment are directly related to the daily life of people, and along with the switching of the communication activities into the production field, intelligent manufacturing and intelligent factories increasingly become common production modes, and the performance requirements on high bandwidth and low time delay of the communication equipment are higher and higher under the trend. In order to solve the problems of bandwidth, time delay performance, equipment stability and reliability, the communication field can logically divide the equipment into two large communication planes of control and data, so that the separation of equipment control and data transmission is realized.
Specifically, the control plane mainly completes data interaction related to stable and reliable operation of the equipment, such as equipment starting, operation monitoring and the like; the data plane mainly realizes the service data forwarding of the communication equipment. Through the separation of the two planes, on one hand, the design and the realization of the communication equipment are simplified; on the other hand, the control plane and the data plane are separated, no control plane message occupies the bandwidth when the data is forwarded, so that the physical bandwidth performance of the equipment can be fully exerted, the forwarding performance of the equipment is improved, and the control plane can greatly improve the safety of the control plane of the equipment because the interference of various messages of the data plane is reduced.
In specific implementation, the control and data planes at the present stage are implemented by separating software and hardware. On the basis of hardware separation, software adopts different logic channels corresponding to the physical channels. The existing separation scheme completely depends on the separation of control and data on a hardware physical channel, when the communication equipment is designed and realized, the hardware must reserve and allocate the corresponding control and data physical channel, and simultaneously, software binds the control and data channel in the logic sense with the real physical channel.
The existing scheme has high requirements on hardware resources of the communication equipment depending on a hardware physical channel, so that cost pressure exists on communication equipment manufacturers, and correspondingly, pressure exists on chip type selection because the communication equipment is often integrated by a plurality of chips, which is not beneficial to the development of the equipment manufacturers and the upstream and downstream. If a scheme of control and data separation is not adopted, the stability and the reliability of the equipment and the performance cannot be ensured.
Disclosure of Invention
The present invention is directed to provide a method for separating a control plane and a data plane of a communication device based on a shared physical channel to solve the above problems.
In order to achieve the purpose, the invention is realized by the following technical scheme: a method for separating a control plane and a data plane of communication equipment based on a shared physical channel is realized by separating the control plane and the data plane into software and hardware separation configuration activities, and comprises the following steps:
(1) designing the number of channels of a special data plane, the number of shared channels and the transmission index of each channel according to the performance requirement and the optional chip range of the communication equipment, and determining the hardware implementation mode of each channel;
(2) software designs and realizes a special data forwarding logic and a special control plane forwarding logic which are separated from a physical channel according to service requirements, and virtualizes a corresponding logic channel number;
(3) the software is realized according to hardware design, and the corresponding relation between the special data forwarding physical channel and the software logic channel is determined and bound;
(4) the software realizes the uniform sending and receiving of the data plane and control plane messages on the shared physical channel according to the number of the shared physical channels realized by the hardware design and the selected chips;
(5) corresponding and binding a part of channel numbers of the special data forwarding logic and a special control plane forwarding logic channel number with a specific shared physical channel;
(6) the software realizes the identification and sorting of the messages on the shared physical channel and links the messages to the special data forwarding logic and the special control plane forwarding logic;
(7) and the message which is linked to the corresponding forwarding logic is continuously subjected to corresponding processing flow according to the special data forwarding logic and the special control plane forwarding logic, and the message which needs to be continuously forwarded is forwarded on the bound physical channel.
Further, the hardware configuration activity of the method for separating the control plane and the data plane of the communication device based on the shared physical channel includes: according to the performance requirement of the communication equipment, the number of dedicated data plane channels, the number of data plane and control plane shared channels, the hardware implementation mode of the control plane shared channels and the mapping mode of the logical channels of software are determined.
Still further, the software separation configuration activity of the method for separating the control plane and the data plane of the communication device based on the shared physical channel includes: the method realizes the forwarding flow of the data plane and the control plane of the software logic level, realizes the sorting flow of the shared channel of the data plane and the control plane, realizes the forwarding flow of the inserted data plane and the control plane after sorting, and realizes the binding with the hardware physical channel.
The method for separating the control plane and the data plane of the communication equipment sharing the physical channel, provided by the invention, has the advantages of multiplexing the physical channel, saving hardware resources and relieving the pressure of designing upstream and downstream chips to realize. The virtual data plane and control plane logic channel adopts software design to realize the data plane and control plane logic of the communication equipment, decouples the hardware channel and realizes the separation of data and control on the software logic level. Meanwhile, the method can realize the synchronous design and development of the software and the hardware due to the decoupling of the software and the hardware, improve the reusability of the software, and finish the separation of data and control physics by binding corresponding physical channels when the hardware design is finished. The software is independently designed and realizes the adaptation layer to finish the identification and sorting of the messages sharing the physical channel, the hanging process and the message processing process, and when the messages are received and sent, the messages are forwarded from the physical channel corresponding to the hanging logical channel, so that the sharing and re-separation operation of the physical channel is realized, and the stable and reliable target of the equipment is realized.
Drawings
Fig. 1 is a flow chart of the control plane and data plane logic processing based on shared physical channels in the present invention.
Detailed Description
The invention will be further described in detail with reference to examples of embodiments shown in the drawings to which, however, the invention is not restricted.
The method for separating the control plane and the data plane of the communication equipment sharing the physical channel provided by the invention can dynamically distribute the number of the special data channels and the number of the sharing channels according to the performance requirement from the design source of the communication equipment, and realizes the decoupling of the data plane and the control plane of the communication equipment by adopting the special logic channel and the software flow, thereby achieving the decoupling with the hardware physical channel. For the data plane and control plane messages of the shared physical channel, software realizes an independent adaptation layer, completes the identification and sorting of the messages in the shared physical channel in the adaptation layer, and is linked to the corresponding forwarding logic channel, the messages in the logic channel continue to complete the corresponding service processing, and the messages needing to be forwarded continue are transmitted according to the bound physical channel.
As shown in fig. 1, a method for separating a control plane and a data plane of a communication device based on a shared physical channel is implemented by separating the control plane and the data plane into software and hardware separation configuration activities, and includes the following steps:
(1) designing the number of channels of a special data plane, the number of shared channels and the transmission index of each channel according to the performance requirement and the optional chip range of the communication equipment, and determining the hardware implementation mode of each channel; and determining a shared physical channel by adopting a CPU (Central processing Unit) processor and a switching chip according to the type selection requirement and performance evaluation: 0 to (n-1), wherein n represents the maximum number of shared physical channels. Dedicated data physical channel: n to (m-1), wherein m represents the maximum physical channel number on the CPU side;
(2) software designs and realizes a special data forwarding logic and a special control plane forwarding logic which are separated from a physical channel according to service requirements, and virtualizes a corresponding logic channel number; in order to improve the performance of software, data plane transceiving logic adopts a DMA mode, a data plane transceiving queue, namely a data plane logic channel, is constructed through a memory obtained by DMA, and different service processing flows of data plane messages are constructed in a user mode of Linux on the basis of the logic channel; meanwhile, in order to improve the reliability and stability of the software, the control plane transceiving logic adopts the traditional socket transceiving packet based on the Linux protocol. Thus realizing the inconsistency of the software processing logic channels and achieving the separation of the data and control plane software logic channels;
(3) the software is realized according to hardware design, and the corresponding relation between the special data forwarding physical channel and the software logic channel is determined and bound; combining the data plane logical channels and the dedicated data physical channels in step 1) according to the performance requirements: n to (m-1) are bound;
(4) the software realizes the uniform sending and receiving of the data plane and control plane messages on the shared physical channel according to the number of the shared physical channels realized by the hardware design and the selected chips; constructing an independent software adaptation layer, using data plane transceiving logic for message software processing logic of a shared channel to improve performance, processing in a user mode of Linux in a DMA mode, and entering a queue created by DMA to realize uniform sending and receiving of messages;
(5) corresponding and binding a part of channel numbers of the special data forwarding logic and a special control plane forwarding logic channel number with a specific shared physical channel; binding a data logic channel, a control channel and a shared physical channel by 0 to (n-1) aiming at the shared physical channel;
(6) the software identifies the messages of the DMA queue, and directly extracts the messages of which the target channel is a data channel to a data plane logic channel;
for the message of which the target channel is the control channel in the message, the adaptation layer constructs a special character driving device TAP, simulates a socket receiving and sending packet of a Linux protocol, and links the received and sent message to special control surface forwarding logic through the simulated Linux protocol socket.
(7) And the message which is identified as the data channel is distributed to different service processing flows by the data plane logic. On the contrary, the messages which need to be sent through the shared channel after the data plane logic processing directly enter the queue created by the shared channel DMA for sending.
For the control surface message sent through the shared channel, the control surface transceiving logic SENDs a packet through a TAP character driving device through a SEND function of the socket, and the adaptation layer reads data from the TAP character and then inserts the data into a DMA queue of the shared channel for sending.
For the control surface message received by the shared channel, the adaptation layer extracts the message from the DMA queue, writes data by the TAP character driving equipment, and the control surface transceiving logic receives the packet from the TAP equipment by the RECV function of the socket and then processes the packet by the control logic.
The above-mentioned embodiments are only for convenience of description, and are not intended to limit the present invention in any way, and those skilled in the art will understand that the technical features of the present invention can be modified or changed by other equivalent embodiments without departing from the scope of the present invention.

Claims (3)

1. A method for separating a control plane and a data plane of communication equipment based on a shared physical channel is realized by separating the control plane and the data plane into software and hardware separation configuration activities, and is characterized by comprising the following steps:
designing the number of channels of a special data plane, the number of shared channels and the transmission index of each channel according to the performance requirement and the optional chip range of the communication equipment, and determining the hardware implementation mode of each channel;
software designs and realizes a special data forwarding logic and a special control plane forwarding logic which are separated from a physical channel according to service requirements, and virtualizes a corresponding logic channel number;
the software is realized according to hardware design, and the corresponding relation between the special data forwarding physical channel and the software logic channel is determined and bound;
the software realizes the uniform sending and receiving of the data plane and control plane messages on the shared physical channel according to the number of the shared physical channels realized by the hardware design and the selected chips;
corresponding and binding a part of channel numbers of the special data forwarding logic and a special control plane forwarding logic channel number with a specific shared physical channel;
the software realizes the identification and sorting of the messages on the shared physical channel and links the messages to the special data forwarding logic and the special control plane forwarding logic;
and the message which is linked to the corresponding forwarding logic is continuously subjected to corresponding processing flow according to the special data forwarding logic and the special control plane forwarding logic, and the message which needs to be continuously forwarded is forwarded on the bound physical channel.
2. The method as claimed in claim 1, wherein the method for separating the control plane and the data plane of the communication device based on the shared physical channel comprises: the hardware configuration activity of the communication equipment control plane and data plane separation method based on the shared physical channel comprises the following steps: according to the performance requirement of the communication equipment, the number of dedicated data plane channels, the number of data plane and control plane shared channels, the hardware implementation mode of the control plane shared channels and the mapping mode of the logical channels of software are determined.
3. The method as claimed in claim 2, wherein the method for separating the control plane and the data plane of the communication device based on the shared physical channel comprises: the software separation configuration activity of the communication equipment control plane and data plane separation method based on the shared physical channel comprises the following steps: the method realizes the forwarding flow of the data plane and the control plane of the software logic level, realizes the sorting flow of the shared channel of the data plane and the control plane, realizes the forwarding flow of the inserted data plane and the control plane after sorting, and realizes the binding with the hardware physical channel.
CN202011585986.5A 2020-12-29 2020-12-29 Communication equipment control plane and data plane separation method based on shared physical channel Active CN112380038B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011585986.5A CN112380038B (en) 2020-12-29 2020-12-29 Communication equipment control plane and data plane separation method based on shared physical channel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011585986.5A CN112380038B (en) 2020-12-29 2020-12-29 Communication equipment control plane and data plane separation method based on shared physical channel

Publications (2)

Publication Number Publication Date
CN112380038A true CN112380038A (en) 2021-02-19
CN112380038B CN112380038B (en) 2022-09-02

Family

ID=74590938

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011585986.5A Active CN112380038B (en) 2020-12-29 2020-12-29 Communication equipment control plane and data plane separation method based on shared physical channel

Country Status (1)

Country Link
CN (1) CN112380038B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113923173A (en) * 2021-10-22 2022-01-11 深圳市风云实业有限公司 Method for quickly starting and recovering data plane of network switching equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7245629B1 (en) * 2002-05-21 2007-07-17 Extreme Networks Method and apparatus for a control communication channel in a packet-forwarding device
CN102255799A (en) * 2011-06-23 2011-11-23 中国人民解放军国防科学技术大学 Internal network interface mapping method and device supporting separation of forwarding and control
CN102316044A (en) * 2011-09-29 2012-01-11 迈普通信技术股份有限公司 Method for realizing mutual separation of control and forwarding and device
CN105721355A (en) * 2016-01-29 2016-06-29 浪潮(北京)电子信息产业有限公司 Method for transmitting message through network-on-chip route and network-on-chip route
US20200014576A1 (en) * 2018-07-05 2020-01-09 Qualcomm Incorporated Data channel and control/management channel separation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7245629B1 (en) * 2002-05-21 2007-07-17 Extreme Networks Method and apparatus for a control communication channel in a packet-forwarding device
CN102255799A (en) * 2011-06-23 2011-11-23 中国人民解放军国防科学技术大学 Internal network interface mapping method and device supporting separation of forwarding and control
CN102316044A (en) * 2011-09-29 2012-01-11 迈普通信技术股份有限公司 Method for realizing mutual separation of control and forwarding and device
CN105721355A (en) * 2016-01-29 2016-06-29 浪潮(北京)电子信息产业有限公司 Method for transmitting message through network-on-chip route and network-on-chip route
US20200014576A1 (en) * 2018-07-05 2020-01-09 Qualcomm Incorporated Data channel and control/management channel separation

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
GAO XIANMING: "A high-elasticity router architecture with software data plane and flow switching plane separation", 《CHINA COMMUNICATIONS》 *
奎丽萍等: "软件定义网络发展现状与分析", 《实验科学与技术》 *
郑凌: "高性能SDN数据面若干关键技术研究", 《中国优秀博硕士学位论文全文数据库(博士)信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113923173A (en) * 2021-10-22 2022-01-11 深圳市风云实业有限公司 Method for quickly starting and recovering data plane of network switching equipment
CN113923173B (en) * 2021-10-22 2023-12-15 深圳市风云实业有限公司 Quick starting recovery method for data surface of network switching equipment

Also Published As

Publication number Publication date
CN112380038B (en) 2022-09-02

Similar Documents

Publication Publication Date Title
EP2597842B1 (en) Providing network capability over a converged interconnect fabric
CN106411740B (en) Network port extended method based on ethernet controller
CN104317765B (en) A kind of one-to-many communication system and implementation method based on serial communication
US10248599B2 (en) USB connections
CN116501681B (en) CXL data transmission board card and method for controlling data transmission
CN202535384U (en) Network equipment expansion connection and virtual machine interconnection optimization system based on PCIe bus
CN107819659B (en) Intelligent cascade communication network based on SPI
WO2021217540A1 (en) Detection method, device, and system for communication link, and mobile platform
KR101679333B1 (en) Method, apparatus and system for single-ended communication of transaction layer packets
CN112380038B (en) Communication equipment control plane and data plane separation method based on shared physical channel
CN108768667B (en) Method for inter-chip network communication of multi-core processor
CN107622032B (en) Three-wire expansion method and circuit of I2C bus
US9203895B1 (en) System and method for lateral connection between interface devices with bypass of external network
JP2019525566A (en) Multi-network convergence method and apparatus
CN113553137B (en) DPDK-based access capability network element high-speed data processing method under NFV architecture
CN112202600B (en) Multi-node single-host and multi-host communication automatic switching device and method
CN102308538B (en) Message processing method and device
CN112148663A (en) Data exchange chip and server
CN109600457B (en) PHY-MAC interface control device and method with one mapping at most
US7426596B2 (en) Integrated circuit with a scalable high-bandwidth architecture
US20110090924A1 (en) System to connect a serial scsi array controller to a storage area network
CN108712242B (en) System and method for improving signaling processing capacity in packet equipment
EP1179785A1 (en) Bus interconnect system
CN207037638U (en) A kind of multi node server expansion card dynamically distributes device
CN206741479U (en) A kind of serial communication protocol converter

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant