Unlock instant, AI-driven research and patent intelligence for your innovation.

Message receiving and transmitting implementation method of switch management network port

A technology for managing network ports and implementing methods, which is applied in the direction of data exchange network, data exchange through path configuration, network interconnection, etc. It can solve the problems of data transmission and reception line speed impact, reduce message copying, and improve data processing performance , strong portability

Pending Publication Date: 2022-02-18
武汉神州数码云科网络技术有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The data of the management port goes through the kernel protocol stack, and some functions (such as current limiting, packet priority control, etc.) need to be implemented in the kernel, so that if the product is upgraded, the kernel needs to be modified or patched; in addition, the packets in the kernel are sent to the user Multiple packet copies are performed in the state, and the line speed of data sending and receiving is also affected.

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
  • Message receiving and transmitting implementation method of switch management network port
  • Message receiving and transmitting implementation method of switch management network port
  • Message receiving and transmitting implementation method of switch management network port

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0044] In specific applications, the device often upgrades software through the management port, remote control, etc.; when upgrading, transmits data to the device through protocols such as ftp / tftp, and sends the data packet to the upgrade module through the above packet receiving process, and the upgrade module parses the report file and write the data to the storage medium.

[0045] This application uses its own protocol stack to facilitate data management and monitoring. The actual data is the one mentioned below that can reduce CPU usage during high loads.

[0046] This application has been applied to many products of the main control switch of our driver rack. In the actual test process, when the management port has a large flow of messages, the CPU usage rate of the improved solution is 10%-20% lower than the original solution with the same flow rate. .

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 invention discloses a message receiving and transmitting implementation method of a switch management network port. The method comprises the following step that a data queue is shared between a network card driver and an own protocol stack, wherein the queue is a lock-free circular queue and is shared in a user mode application program and a kernel mode message processing task, and a management port data processing module and an own protocol stack are original realized modules. The message receiving and transmitting implementation method utilizes an own protocol stack and does not use a kernel protocol stack any more, when messages are sent, data are sent to a queue through the own protocol stack, a network card driver reads the messages from the queue and sends the messages out through a network card, when the messages are received, the network card driver stores received messages in the data queue, and the user mode application program obtains the messages from the queue and sends the messages to a protocol stack for processing.

Description

technical field [0001] The invention relates to the technical field of communication equipment, in particular to a method for realizing sending and receiving messages of a switch management network port. Background technique [0002] The switch generally provides a management port in addition to the service port. This network port is isolated from the data of the service port. The administrator can log in to the switch through this network port to perform related configurations. [0003] At present, switch products mainly run in the linux environment. Most of the implementation methods are to send the received packets on the network card to the kernel tcp / ip protocol stack through the network card driver when receiving the packets, and the application state obtains the packets through the socket system call. Text; when sending a message, the processing flow is reversed, the application state sends the message to the kernel protocol stack through the socket system, and the pr...

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 Applications(China)
IPC IPC(8): H04L49/90H04L67/06H04L12/46H04L69/22
CPCH04L49/90H04L67/06H04L12/4633H04L69/22
Inventor 张汇陈超
Owner 武汉神州数码云科网络技术有限公司