CN112242962B - Message buffer cutting processing method, device, equipment and storage medium - Google Patents

Message buffer cutting processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN112242962B
CN112242962B CN201910642559.7A CN201910642559A CN112242962B CN 112242962 B CN112242962 B CN 112242962B CN 201910642559 A CN201910642559 A CN 201910642559A CN 112242962 B CN112242962 B CN 112242962B
Authority
CN
China
Prior art keywords
message
editing
cutting
cell
description information
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.)
Active
Application number
CN201910642559.7A
Other languages
Chinese (zh)
Other versions
CN112242962A (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.)
Beijing Wuxin Technology Co ltd
Original Assignee
Beijing Wuxin Technology 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 Beijing Wuxin Technology Co ltd filed Critical Beijing Wuxin Technology Co ltd
Priority to CN201910642559.7A priority Critical patent/CN112242962B/en
Publication of CN112242962A publication Critical patent/CN112242962A/en
Application granted granted Critical
Publication of CN112242962B publication Critical patent/CN112242962B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements
    • H04L49/9057Arrangements for supporting packet reassembly or resequencing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements

Abstract

The invention discloses a message cache cutting processing method, device, equipment and storage medium. The method comprises the following steps: reading the editing message and the message description information matched with the editing message from the first buffer area according to the forwarding scheduling instruction; judging whether the editing message meets the cutting processing condition according to the editing message, the message description information and the storage state of the historical cutting message in the second buffer area; if yes, acquiring a processing message matched with the editing message, and performing cutting processing to obtain a first cutting message and a second cutting message, wherein the length of the first cutting message is smaller than or equal to that of the cell message; forwarding the first cut message and the message description information, and storing the second cut message in a second buffer area. The technical scheme of the embodiment of the invention realizes the transmission of the editing message in the original data path and simultaneously avoids the loss of the message.

Description

Message buffer cutting processing method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of internet communication, in particular to a method, a device, equipment and a storage medium for cutting and processing a message cache.
Background
With the continuous development of network communication technology, network speed is greatly improved, and requirements on network equipment performance are also continuously improved.
In the prior art, in order to increase the processing speed of a message, a network device generally edits the message according to a fixed data cell, but after the editing, the length of the data cell is changed, if the length is increased and exceeds the message length of one data cell, the edited cell message cannot be transmitted by using an original data channel; in addition, when the post-assembly module assembles the cell message subjected to editing processing, data overflow may occur due to the increase of the message length, so that the message is lost; and, the network speed is also seriously affected.
Disclosure of Invention
The embodiment of the invention provides a message buffer cutting processing method, device, equipment and storage medium, which are used for transmitting an edited message in an original data path and avoiding message loss.
In a first aspect, an embodiment of the present invention provides a method for processing buffer cutting of a packet, including:
reading an editing message and message description information matched with the editing message from a first buffer area according to a forwarding scheduling instruction, wherein the editing message is obtained by editing a cell message obtained by cutting an original message; the message description information comprises first cell message identification information, last cell message identification information, unused byte number and offset value of the cell message;
Judging whether the editing message meets the cutting processing condition according to the editing message, the message description information and the storage state of the historical cutting message in the second buffer area;
if yes, acquiring a processing message matched with the editing message, and performing cutting processing to obtain a first cutting message and a second cutting message, wherein the length of the first cutting message is smaller than or equal to that of the cell message;
forwarding the first cut message and the message description information, and storing a second cut message in the second buffer area.
Optionally, according to the editing message, the message description information and the storage state of the history cutting message in the second buffer area, the judging whether the editing message meets the cutting processing condition includes:
if the editing message is determined to be a first cell message or a non-last cell message according to the message description information, and the second buffer area does not store the history cutting message, judging whether the editing message meets the cutting processing condition according to the offset value of the cell message in the message description information; or alternatively
If the editing message is determined to be a first cell message and a last cell message at the same time according to the message description information, and the history cutting message is not stored in the second buffer area, judging whether the editing message meets the cutting processing condition according to the offset value and the unused byte number of the cell message in the message description information;
Before the processing message matched with the editing message is acquired for cutting processing, the method further comprises the following steps:
and directly determining the editing message as the processing message.
Optionally, determining whether the editing message meets the cutting processing condition according to the offset value of the cell message in the message description information includes:
judging whether the offset value of the cell message in the message description information is smaller than a preset length threshold value; the preset length threshold value is the maximum message length difference value between the editing message and the cell message;
if yes, determining that the editing message meets the cutting processing condition;
judging whether the editing message meets the cutting processing condition according to the offset value and the unused byte number of the cell message in the message description information, comprising:
judging whether the offset value of the cell message in the message description information is smaller than a preset length threshold value; the preset length threshold value is the maximum message length difference value between the editing message and the cell message;
if yes, continuing to judge whether the number of unused bytes in the message description information is smaller than the offset value of the cell message;
if yes, determining that the editing message meets the cutting processing condition.
Optionally, according to the editing message, the message description information and the storage state of the history cutting message in the second buffer area, the judging whether the editing message meets the cutting processing condition includes:
if the editing message is determined to be an intermediate cell message according to the message description information and the history cutting message is stored in the second buffer area, judging whether the editing message meets a cutting processing condition according to the offset value of the cell message in the message description information; or alternatively
If the editing message is determined to be a tail cell message according to the message description information and the history cutting message is stored in the second buffer area, judging whether the editing message meets the cutting processing condition according to the offset value and the unused byte number of the cell message in the message description information;
before the processing message matched with the editing message is acquired for cutting processing, the method further comprises the following steps:
and assembling the history cutting message on the head of the editing message to obtain the processing message.
Optionally, determining whether the editing message meets the cutting processing condition according to the offset value of the cell message in the message description information includes:
Judging whether the offset value of the cell message in the message description information is smaller than a preset length threshold value; the preset length threshold value is the maximum message length difference value between the editing message and the cell message;
if yes, determining that the editing message meets the cutting processing condition;
judging whether the editing message meets the cutting processing condition according to the offset value and the unused byte number of the cell message in the message description information, comprising:
judging whether the number of unused bytes in the message description information is smaller than the offset value of the cell message;
if yes, determining that the editing message meets the cutting processing condition.
Optionally, after reading an editing message and message description information matched with the editing message from the first buffer area according to the forwarding scheduling instruction, the editing message is a message obtained by editing a cell message obtained by cutting an original message, and the method further includes:
if the editing message is determined to be a first cell message according to the message description information, and the history cutting message is stored in the second buffer area, the history cutting message is directly forwarded.
Optionally, before reading an editing message and message description information matched with the editing message from the first buffer area according to the forwarding scheduling instruction, the editing message is a message obtained by editing a cell message obtained by cutting an original message, and the method further includes:
Calculating the maximum message length difference between the editing message and the cell message and an information length threshold corresponding to the message description information;
obtaining the width of the first buffer area by summing the maximum message length difference value, the information length threshold value and the cell message length;
and setting the information length threshold value to be the width of the second buffer area.
In a second aspect, an embodiment of the present invention further provides a packet buffer cutting processing device, including:
the reading module is used for reading an editing message and message description information matched with the editing message from the first buffer area according to the forwarding scheduling instruction, wherein the editing message is a message obtained by editing a cell message obtained by cutting an original message; the message description information comprises first cell message identification information, last cell message identification information, unused byte number and offset value of the cell message;
the judging module is used for judging whether the editing message meets the cutting processing condition according to the editing message, the message description information and the storage state of the historical cutting message in the second buffer area;
the cutting module is used for obtaining a processing message matched with the editing message to carry out cutting processing after determining that the editing message meets the cutting processing condition, so as to obtain a first cutting message and a second cutting message, wherein the length of the first cutting message is smaller than or equal to that of the cell message;
And the forwarding module is used for forwarding the first cutting message and the message description information and storing a second cutting message in the second buffer area.
In a third aspect, an embodiment of the present invention further provides a network device, including:
one or more processors;
a storage means for storing one or more programs;
the dual-port random access memory RAM is used for providing a first buffer area and a second buffer area, wherein the first buffer area is used for writing in and reading out editing messages and message description information matched with the editing messages; the second buffer area is used for writing in and reading a second cutting message;
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for processing packet cache cutting provided by any embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer readable storage medium, where a computer program is stored, where the program when executed by a processor implements the method for packet buffer cutting provided by any embodiment of the present invention.
According to the technical scheme, the editing message and the message description information matched with the editing message are read from the first buffer area according to the forwarding scheduling instruction, whether the length of the editing message exceeds the length of the cell message is judged by combining the storage state of the history cutting message in the second buffer area, if so, the processing message matched with the editing message is obtained for carrying out cutting processing, the first cutting message of which the message length does not exceed the length of the cell message and the second cutting message remained after cutting are obtained, the first cutting message and the message description information are forwarded, the second cutting message is stored in the second buffer area, and the next message forwarding scheduling is waited, so that the problems that the original data path cannot be used for transmission and data overflow possibly occurs during message assembly in the prior art are solved, the editing message is transmitted through the original data path, and meanwhile, the message integrity is ensured during message assembly, and the message loss is avoided.
Drawings
FIG. 1 is a flowchart of a method for processing buffer memory cutting of a message according to a first embodiment of the present invention;
FIG. 2a is a flowchart of a method for processing a buffer memory of a message according to a second embodiment of the present invention;
FIG. 2b is a diagram illustrating a message buffer cutting process according to a second embodiment of the present invention;
FIG. 2c is a diagram illustrating a message structure according to a first embodiment of the present invention;
fig. 3 is a schematic structural diagram of a buffer cutting processing device for a message in the third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a network device in a fourth embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Example 1
Fig. 1 is a flowchart of a method for processing a buffer memory cut of a message in a first embodiment of the present invention, where the present embodiment is applicable to a case of performing a buffer memory cut processing on an edited message, the method may be performed by a device for processing a buffer memory cut of a message, and the device may be implemented by hardware and/or software and may be generally integrated in a network device that provides a buffer memory cut service. As shown in fig. 1, the method includes:
Step 110, reading an editing message and message description information matched with the editing message from a first buffer area according to a forwarding scheduling instruction, wherein the editing message is a message obtained by editing a cell message obtained by cutting an original message; the message description information comprises first cell message identification information, last cell message identification information, unused byte number and offset value of the cell message.
In order to realize the transmission of the message on the network, the content of the message is required to be edited according to a network protocol, in order to improve the speed of the editing process, the original message to be edited is cut into a plurality of cell messages with fixed lengths, and the complete original message after the editing process is obtained by respectively editing the cell messages and assembling the edited messages.
In this embodiment, a message obtained by editing a cell message is referred to as an editing message, and compared with the cell message, a new VLAN (Virtual Local Area Network ) and MPLS (Multiprotocol Label Switching, multiprotocol label switching) label are modified or added in the editing message, resulting in a change in the message length. The message description information matched with the editing message can comprise: the method comprises the steps of first cell message identification information, last cell message identification information, unused byte numbers and offset values of cell messages, wherein the first cell message identification information is used for identifying whether a current editing message is a first cell message of an original complete message, the last cell message identification information is used for identifying whether the current editing message is a last cell message of the original complete message, the unused byte numbers represent the number of idle bytes in the current editing message, the offset values of the cell messages represent the offset values of the cell messages corresponding to the current editing message relative to the complete original message, or the offset values of the cell messages corresponding to the current editing message relative to the complete original message header.
In this embodiment, the first buffer area is provided by a dual-port random access memory (Random Access Memory, RAM) and is used for writing and reading the editing message and the message description information matched with the editing message, and in fact, after the cell message is edited, the obtained editing message and the message description information matched with the editing message are directly stored in the first buffer area and waiting to be scheduled. And after receiving the forwarding scheduling instruction, reading the editing message and the message description information matched with the editing message from the first buffer area according to the instruction so as to judge whether the editing message needs to be cut or not.
Optionally, before reading the editing message and the message description information matched with the editing message from the first buffer area according to the forwarding scheduling instruction, the editing message is a message obtained by editing a cell message obtained by cutting an original message, and the method further includes: calculating the maximum message length difference between the editing message and the cell message and the information length threshold corresponding to the message description information; obtaining the width of the first buffer area by summing the maximum message length difference value, the information length threshold value and the cell message length; the information length threshold is set to the width of the second buffer.
In this embodiment, the second buffer area is provided by a dual-port RAM, and is used for writing and reading the remaining editing messages after the cutting process. When the cell message is edited according to different network protocols, the obtained edited message has different message lengths, so that in order to ensure that the first buffer area can store the edited message and the message description information matched with the edited message, the second buffer area can store the rest edited message which is cut, the specification of the dual-port RAM needs to be determined first, and the overflow of the buffer area is avoided.
Alternatively, the maximum message length difference between the edit message and the cell message, that is, the maximum byte number N that can be increased after the cell message is subjected to the message editing process, and the information length threshold corresponding to the message description information, that is, the byte number M required by the message description information, may be calculated first, and the width of the first buffer area may be w=n+m+c by summing the maximum message length difference N, the information length threshold M, and the cell message length C. Because the cell messages are transmitted according to the port numbers, the editing messages need to be cached according to the port numbers, the number of the editing messages cached in the cache area corresponding to each port is determined by the number of the editing messages on the streaming water, and the depth of the first cache area is D under the assumption that each port can cache D editing messages. The second buffer area is used for storing the cut residual editing messages, and only one cut residual editing message of the editing messages can be stored at a time, so that the depth is 1, and the width is N.
Optionally, a message back pressure mechanism can be set to prevent overflow during message assembly, thereby preventing message loss. The back pressure mechanism can configure a back pressure value through a register, so that after the number of messages stored in a buffer area for message assembly reaches the back pressure value, a message assembly module sends back pressure signals to a message buffer cutting processing device, and the message assembly module pauses the forwarding of the edited messages in a first buffer area.
And step 120, judging whether the edited message meets the cutting processing condition according to the edited message, the message description information and the storage state of the historical cutting message in the second buffer area.
In this embodiment, whether the editing message satisfies the cutting processing condition is related to the type of the editing message, the storage state of the history cutting message, and the difference between the length of the editing message and the length of the cell message, so after the editing message and the message description information matched with the editing message are read from the first buffer area, it is necessary to continuously obtain the storage state of the history cutting message from the second buffer area, so as to determine whether the editing message satisfies the cutting processing condition.
In this embodiment, the type of the editing message may be determined according to the first cell message identifier information and the last cell message identifier information in the message description information, for example, when the first cell message identifier information is 1, the editing message is indicated as the first cell message, and when the first cell message identifier information is 0, the editing message is indicated as the non-first cell message, and the mode of judging whether the editing message is the last cell message through the last cell message identifier information may be consistent with the judging mode of the first cell message. After determining the message type, determining whether the editing message meets the cutting processing condition according to the storage state of the historical cutting message and the difference value between the length of the editing message and the length of the cell message. The difference between the length of the edit message and the length of the cell message may be determined according to the type of the edit message, and the number of unused bytes in the message description information and/or the offset value of the cell message.
And 130, if so, acquiring a processing message matched with the editing message, and performing cutting processing to obtain a first cutting message and a second cutting message, wherein the length of the first cutting message is smaller than or equal to that of the cell message.
In this embodiment, if it is determined that the editing message meets the cutting processing condition, a processing message matched with the editing message is obtained and subjected to cutting processing, so as to obtain a first cutting message, which has a message length smaller than or equal to that of the cell message and can be transmitted in the original data path, and a second cutting message remaining after cutting processing.
The determination of the processing message is related to the message type to which the editing message belongs and whether a history cutting message exists in the second buffer area. When the editing message is an intermediate cell message or a tail cell message and the second buffer area stores the history cutting message, the history cutting message is assembled in the head of the editing message to obtain a processing message; when the editing message is a first cell message and the history cutting message is not stored in the second buffer area, the editing message is directly determined to be a processing message.
And 140, forwarding the first cut message and the message description information, and storing the second cut message in the second buffer area.
After cutting the editing message, forwarding the first cutting message and the message description information which can be transmitted in the original data path, so that the first cutting message and the message description information participate in message assembly, storing the second cutting message which is remained after cutting in a second buffer area, and splicing the second cutting message and the message description information into the head of the next editing message when waiting for next message scheduling, thereby forwarding and assembling.
Optionally, before forwarding the first cut message and the message description information and storing the second cut message in the second buffer area, the method further includes: if the editing message is determined to be the tail cell message according to the message description information, the message description information is updated according to the first cutting message.
In this embodiment, there are unused bytes in the tail cell message, after the history cut message is spliced on the header of the tail cell message, the unused bytes are partially occupied or fully occupied, so that the number of unused bytes in the message description information of the tail cell message needs to be updated according to the first cut message, on the other hand, when the tail cell message needs to be cut, the first cut message obtained after cutting becomes the last but one message, and the remaining second cut message is cut to become the tail cell message, so that the tail cell message identification information in the message description information needs to be updated according to the first cut message.
According to the technical scheme, the editing message and the message description information matched with the editing message are read from the first buffer area according to the forwarding scheduling instruction, whether the length of the editing message exceeds the length of the cell message is judged by combining the storage state of the history cutting message in the second buffer area, if so, the processing message matched with the editing message is obtained for carrying out cutting processing, the first cutting message of which the message length does not exceed the length of the cell message and the second cutting message remained after cutting are obtained, the first cutting message and the message description information are forwarded, the second cutting message is stored in the second buffer area, and the next message forwarding scheduling is waited, so that the problems that the original data path cannot be used for transmission and data overflow possibly occurs during message assembly in the prior art are solved, the editing message is transmitted through the original data path, and meanwhile, the message integrity is ensured during message assembly, and the message loss is avoided.
Example two
Based on the above embodiments, the present embodiment describes in detail a process of judging whether the editing message satisfies the cutting processing condition according to the editing message, the message description information, and the storage state of the history cutting message in the second buffer area, and a determination mode of the processing message matched with the editing message. The judgment of the cutting processing conditions can be classified into two cases in the following description according to whether the processing message is obtained by assembling the editing message, and the judgment process of the cutting processing conditions of the editing message is described in detail in the following cases.
The first type of case: the processing message is obtained without assembling the editing message. In this case, determining whether the editing message meets the cutting processing condition according to the editing message, the message description information, and the storage state of the history cutting message in the second buffer area may include: if the editing message is determined to be a first cell message or a non-tail cell message according to the message description information, and the history cutting message is not stored in the second buffer area, judging whether the editing message meets the cutting processing condition according to the offset value of the cell message in the message description information; or if the editing message is determined to be the first cell message and the last cell message at the same time according to the message description information and the history cutting message is not stored in the second buffer area, judging whether the editing message meets the cutting processing condition according to the offset value and the unused byte number of the cell message in the message description information. Before the processing message matched with the editing message is acquired for cutting processing, the method further comprises the following steps: and directly determining the edited message as a processing message.
Optionally, determining whether the editing message meets the cutting processing condition according to the offset value of the cell message in the message description information includes: judging whether the offset value of the cell message in the message description information is smaller than a preset length threshold value; the preset length threshold value is the maximum message length difference value between the editing message and the cell message; if yes, determining that the editing message meets the cutting processing conditions; judging whether the editing message meets the cutting processing condition according to the offset value and the unused byte number of the cell message in the message description information, comprising: judging whether the offset value of the cell message in the message description information is smaller than a preset length threshold value; the preset length threshold value is the maximum message length difference value between the editing message and the cell message; if yes, continuing to judge whether the number of unused bytes in the message description information is smaller than the offset value of the cell message; if yes, determining that the editing message meets the cutting processing condition.
In this case, as shown in fig. 2a, if it is determined that the editing message is the first cell message and is not the last cell message according to the message description information, judging whether the history cutting message is stored in the second buffer area, if the history cutting message is stored in the second buffer area, it is determined that the message is the last cell message of the last message, so that the history cutting message is directly forwarded; if the second buffer area has no history cutting message, judging whether the offset value of the cell message in the message description information is smaller than a preset length threshold value, if the offset value of the cell message is larger than or equal to the preset length threshold value, the length of the editing message does not exceed the fixed length of the cell message, the editing message does not meet the cutting processing condition, and the editing message can be directly forwarded; if the offset value of the cell message is smaller than a preset length threshold, that is, the length of the editing message exceeds the fixed length of the cell message, the editing message meets the cutting processing condition, at the moment, the editing message can be directly determined to be a processing message, and the processing message is cut, so that the length of the first cut message after cutting does not exceed the fixed length of the cell message.
In this case, as shown in fig. 2a, if it is determined that the editing message is both the first cell message and the last cell message according to the message description information, judging whether the history cutting message is stored in the second buffer area, and if so, determining that the message is the last cell message of the last message, thereby directly forwarding the history cutting message; if the second buffer area has no history cutting message, judging whether the offset value of the cell message is smaller than a preset length threshold value, if so, continuing judging whether the number of unused bytes in the message description information is smaller than the offset value of the cell message, if so, determining that the editing message meets the cutting processing condition, and at the moment, directly determining the editing message as a processing message and cutting the processing message. Considering that the editing message is a tail cell message, the first cut message after cutting becomes an intermediate cell message, and the second cut message remaining after cutting becomes a new tail cell message, so that the message description information of the first cut message needs to be updated, and the second cut message is written into the second buffer area, so that the second cut message is directly sent out when the port message is scheduled next time.
The second category of cases: the processing message is obtained by assembling the editing message. In this case, determining whether the editing message satisfies the cutting processing condition according to the editing message, the message description information, and the storage state of the history cutting message in the second buffer area includes: if the editing message is determined to be the middle cell message according to the message description information and the history cutting message is stored in the second buffer area, judging whether the editing message meets the cutting processing condition according to the offset value of the cell message in the message description information; or if the editing message is determined to be a tail cell message according to the message description information and the history cutting message is stored in the second buffer area, judging whether the editing message meets the cutting processing condition according to the offset value and the unused byte number of the cell message in the message description information; before the processing message matched with the editing message is acquired for cutting processing, the method further comprises the following steps: and assembling the history cutting message to the head of the editing message to obtain the processing message.
Optionally, determining whether the editing message meets the cutting processing condition according to the offset value of the cell message in the message description information includes: judging whether the offset value of the cell message in the message description information is smaller than a preset length threshold value; the preset length threshold value is the maximum message length difference value between the editing message and the cell message; if yes, determining that the editing message meets the cutting processing conditions; judging whether the editing message meets the cutting processing condition according to the offset value and the unused byte number of the cell message in the message description information, comprising: judging whether the number of unused bytes in the message description information is smaller than the offset value of the cell message; if yes, determining that the editing message meets the cutting processing condition.
In this case, as shown in fig. 2a, if the editing message is determined to be an intermediate cell message according to the message description information, and the second buffer area stores the history cutting message, comparing the offset value of the cell message with a preset length threshold, if the offset value of the cell message is greater than or equal to the preset length threshold, the length of the editing message does not exceed the fixed length of the cell message, directly assembling the history cutting message to the header of the editing message, and forwarding without cutting; if the length of the edit message is smaller than the preset length threshold, the length of the edit message exceeds the fixed length of the cell message, namely, the edit message is determined to meet the cutting processing condition, at the moment, the history cutting message is assembled at the head of the edit message to obtain the processing message, and the processing message is cut.
In this case, as shown in fig. 2a, if it is determined that the editing message is a tail cell message according to the message description information and the second buffer area stores the history cutting message, it is determined whether the number of unused bytes in the message description information is smaller than the offset value of the cell message, if the number of unused bytes is greater than or equal to the offset value of the cell message, the cutting processing condition is not satisfied, and only the history cutting message is assembled in the header of the editing message and the message description information can be forwarded after updating the message description information; if the number of unused bytes is smaller than the offset value of the cell message, determining that the editing message meets the cutting processing condition, and assembling the history cutting message to the head of the editing message, after the processing message is obtained, cutting the processing message, updating the message description information corresponding to the first cutting message after cutting, writing the remaining second cutting message after cutting into a second buffer area, and directly sending the second cutting message when the port message is scheduled next time.
Next, a specific application scenario is used to describe the process of judging whether the editing message meets the cutting processing condition according to the editing message, the message description information and the storage state of the history cutting message in the second buffer.
As shown in fig. 2b, it is assumed that the packet buffer cutting processing device is connected to the packet editing module and the packet scheduling assembly module, respectively, and includes: the system comprises a message buffer module, a message cutting processing module, a cut message buffer module and a RAM read-write control module; the message buffer module (namely a first buffer area) is used for writing in and reading the editing message and the message description information matched with the editing message; the cutting message buffer module (namely a second buffer area) is used for writing and reading the remained editing messages after cutting treatment; the message cutting processing module is used for cutting the editing message with a fixed length exceeding the cell message according to the message description information, and storing the cut second cutting message into the message cutting cache module; the RAM read-write control module is used for managing write address pointers, read address pointers and cell storage number information corresponding to the first buffer area and the second buffer area.
For the application scenario shown in fig. 2b, a method for processing the buffer cutting of the message is described according to the message structure shown in fig. 2 c.
(1) The first cell message passes through a message editing module to obtain an editing message, the length of the editing message is increased by N compared with the length of the cell message, and the editing message and the message description information matched with the editing message are written into a first buffer area;
(2) According to the received forwarding scheduling instruction, the message cutting processing module reads the edited message and the message description information in the first buffer area and the data in the second buffer area (the assumption is that the second buffer area has no buffer data at this time);
(3) Judging that the second buffer area does not store the historical cutting message according to the read information, and the length of the editing message in the first buffer area is more than the fixed length of the cell message by N bytes, cutting the N bytes at the tail of the editing message and storing the N bytes into the second buffer area, and sending the editing message and the message description information which finish the cutting treatment to a message scheduling assembly module;
(4) After the intermediate cell message passes through the message editing module, the length of the message is the same as that of the cell message, and the message description information are written into the first buffer area.
(5) According to the received forwarding scheduling instruction, the message cutting processing module reads the intermediate cell message and the message description information in the first buffer area and the history cutting message in the second buffer area;
(6) Because the second buffer area stores the history cutting message cut by the editing message of the first cell message, the history cutting message is spliced at the head of the middle cell message, the tail of the middle cell message is cut off by N bytes and stored in the second buffer area, and the middle cell message after cutting and the message description information are sent to the message scheduling assembly module;
(7) After the tail cell message passes through the message editing module, the length of the message is the same as that of the cell message, and the message description information are written into the first buffer area;
(8) According to the received forwarding scheduling instruction, the message cutting processing module reads the tail cell message and the message description information in the first buffer area and the history cutting message in the second buffer area;
(9) If the number of unused bytes in the message description information is greater than or equal to the offset value of the cell message, the tail cell message does not need to be cut, and only the history cut message cut by the middle cell message in the second buffer area is spliced at the head of the tail cell message, the number of unused bytes in the message description information is updated to be the difference value between the number of unused bytes and the offset value of the cell message, and the spliced tail cell message and the updated message description information are sent to the message scheduling assembly module;
(10) If the unused byte number is smaller than the offset value of the cell message, splicing the history cutting message at the head of the tail cell message, cutting off N bytes at the tail of the tail cell message, storing the tail of the tail cell message in a second buffer area, updating the message description information of the tail cell message, and sending the tail cell message after cutting and the message description information to a message scheduling assembly module; according to the received forwarding scheduling instruction, the message cutting processing module reads the history cutting message cut by the tail cell message stored in the second buffer area and sends the history cutting message to the message scheduling assembly module.
According to the technical scheme, the editing message and the message description information matched with the editing message are read from the first buffer area according to the forwarding scheduling instruction, whether the length of the editing message exceeds the length of the cell message is judged by combining the storage state of the history cutting message in the second buffer area, if so, the processing message matched with the editing message is obtained for carrying out cutting processing, the first cutting message of which the message length does not exceed the length of the cell message and the second cutting message remained after cutting are obtained, the first cutting message and the message description information are forwarded, the second cutting message is stored in the second buffer area, and the next message forwarding scheduling is waited, so that the problems that the original data path cannot be used for transmission and data overflow possibly occurs during message assembly in the prior art are solved, the editing message is transmitted through the original data path, and meanwhile, the message integrity is ensured during message assembly, and the message loss is avoided.
Example III
Fig. 3 is a schematic structural diagram of a device for processing buffer memory cutting of a packet in the third embodiment of the present invention. The embodiment is applicable to a case of performing buffer cutting processing on an edited message, as shown in fig. 3, where the buffer cutting processing device of the message is applied to a network device that provides a buffer cutting service of the message, and includes: a reading module 310, a judging module 320, a cutting module 330 and a forwarding module 340;
the reading module 310 is configured to read an editing message and message description information matched with the editing message from the first buffer area according to the forwarding scheduling instruction, where the editing message is a message obtained by editing a cell message obtained by cutting an original message; the message description information comprises first cell message identification information, last cell message identification information, unused byte number and offset value of the cell message;
the judging module 320 is configured to judge whether the editing message meets the cutting processing condition according to the editing message, the message description information, and the storage state of the history cutting message in the second buffer area;
the cutting module 330 is configured to obtain a processing message matched with the editing message for performing cutting processing after determining that the editing message meets a cutting processing condition, so as to obtain a first cutting message and a second cutting message, where the length of the first cutting message is less than or equal to that of the cell message;
And the forwarding module 340 is configured to forward the first cut message and the message description information, and store the second cut message in the second buffer.
According to the technical scheme, the editing message and the message description information matched with the editing message are read from the first buffer area according to the forwarding scheduling instruction, whether the length of the editing message exceeds the length of the cell message is judged by combining the storage state of the history cutting message in the second buffer area, if so, the processing message matched with the editing message is obtained for carrying out cutting processing, the first cutting message of which the message length does not exceed the length of the cell message and the second cutting message remained after cutting are obtained, the first cutting message and the message description information are forwarded, the second cutting message is stored in the second buffer area, and the next message forwarding scheduling is waited, so that the problems that the original data path cannot be used for transmission and data overflow possibly occurs during message assembly in the prior art are solved, the editing message is transmitted through the original data path, and meanwhile, the message integrity is ensured during message assembly, and the message loss is avoided.
Optionally, the judging module 320 includes: the first judging unit is used for judging whether the editing message meets the cutting processing condition according to the offset value of the cell message in the message description information if the editing message is determined to be a first cell message and not to be a last cell message according to the message description information and the history cutting message is not stored in the second buffer area; the second judging unit is used for judging whether the editing message meets the cutting processing condition according to the offset value and the unused byte number of the cell message in the message description information if the editing message is determined to be the first cell message and the last cell message according to the message description information and the history cutting message is not stored in the second buffer area;
the cutting module 330 further includes: the first processing message determining unit is used for directly determining the editing message as the processing message before the processing message matched with the editing message is acquired and cut.
Optionally, the first judging unit is specifically configured to judge whether an offset value of the cell message in the message description information is smaller than a preset length threshold; the preset length threshold value is the maximum message length difference value between the editing message and the cell message; if yes, determining that the editing message meets the cutting processing conditions; the second judging unit is specifically configured to judge whether the offset value of the cell message in the message description information is smaller than a preset length threshold; the preset length threshold value is the maximum message length difference value between the editing message and the cell message; if yes, continuing to judge whether the number of unused bytes in the message description information is smaller than the offset value of the cell message; if yes, determining that the editing message meets the cutting processing condition.
Optionally, the judging module 320 includes: a third judging unit, configured to judge whether the editing message meets the cutting processing condition according to the offset value of the cell message in the message description information if the editing message is determined to be an intermediate cell message according to the message description information and the history cutting message is stored in the second buffer area; a fourth judging unit, configured to judge whether the editing message meets the cutting processing condition according to the offset value and the unused byte number of the cell message in the message description information if the editing message is determined to be a tail cell message according to the message description information and the history cutting message is stored in the second buffer area;
the cutting module 330 further includes: and the second processing message determining unit is used for assembling the history cutting message to the head of the editing message before the processing message matched with the editing message is obtained for cutting processing, so as to obtain the processing message.
Optionally, the third judging unit is specifically configured to judge whether an offset value of the cell message in the message description information is smaller than a preset length threshold; the preset length threshold value is the maximum message length difference value between the editing message and the cell message; if yes, determining that the editing message meets the cutting processing conditions; a fourth judging unit, configured to judge whether the number of unused bytes in the packet description information is smaller than an offset value of the cell packet; if yes, determining that the editing message meets the cutting processing condition.
Optionally, the reading module 310 is further configured to: and reading an editing message and message description information matched with the editing message from the first buffer area according to the forwarding scheduling instruction, wherein the editing message is obtained by editing a cell message obtained by cutting an original message, and if the editing message is determined to be a first cell message according to the message description information and a history cutting message is stored in the second buffer area, forwarding the history cutting message directly.
Optionally, the reading module 310 is further configured to: before reading an editing message and message description information matched with the editing message from a first cache region according to a forwarding scheduling instruction, wherein the editing message is a message obtained by editing a cell message obtained by cutting an original message, calculating the maximum message length difference value between the editing message and the cell message and an information length threshold corresponding to the message description information; obtaining the width of the first buffer area by summing the maximum message length difference value, the information length threshold value and the cell message length; the information length threshold is set to the width of the second buffer.
The message buffer cutting processing device provided by the embodiment of the invention can execute the message buffer cutting processing method applied to the network equipment providing the message buffer cutting service provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example IV
Referring to fig. 4, fig. 4 is a schematic structural diagram of a network device according to a fourth embodiment of the present invention, and as shown in fig. 4, the network device includes a processor 410, a storage device 420, an input device 430, an output device 440, and a dual port RAM450; the number of processors 410 in the network device may be one or more, one processor 410 being taken as an example in fig. 4; the processor 410, storage 420, input 430, output 440, and dual port RAM450 in the network device may be connected by a bus or other means, for example in fig. 4. The dual-port RAM450 is configured to provide a first buffer and a second buffer, where the first buffer is used to write and read an edit message and message description information corresponding to the edit message; the second buffer area is used for writing in and reading a second cutting message;
optionally, the network device may further include: the RAM read-write control module is used for managing the write address pointer, the read address pointer and the cell storage number information corresponding to the first buffer area and the second buffer area, and can be realized by software or hardware.
The storage device 420 is used as a computer readable storage medium, and can be used to store a software program, a computer executable program, and modules, such as program instructions/modules corresponding to the packet buffer cutting processing method in the embodiment of the present invention (for example, the reading module 310, the judging module 320, the cutting module 330, and the forwarding module 340 in the packet buffer cutting processing device). The processor 410 executes various functional applications and data processing of the network device by running software programs, instructions and modules stored in the storage 420, i.e. implements the above-described packet buffer cutting processing method.
The storage device 420 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one application program required for functions; the storage data area may store data created according to the use of the terminal, etc. In addition, the storage 420 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some examples, the storage 420 may further include memory remotely located with respect to the processor 410, which may be connected to a network device through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 430 may be used to receive input edit messages and message description information and to generate key signal inputs related to user settings and function control of the network device. The output device 440 may include an output interface or the like for outputting the cut editing message and the message description information.
Example five
The fifth embodiment of the present invention provides a computer readable storage medium having stored thereon computer instructions which, when executed by a processor, implement a method for processing packet buffer memory cutting, the method for processing packet buffer memory cutting comprising:
Reading an editing message and message description information matched with the editing message from a first buffer area according to a forwarding scheduling instruction, wherein the editing message is obtained by editing a cell message obtained by cutting an original message; the message description information comprises first cell message identification information, last cell message identification information, unused byte number and offset value of the cell message;
judging whether the editing message meets the cutting processing condition according to the editing message, the message description information and the storage state of the historical cutting message in the second buffer area;
if yes, acquiring a processing message matched with the editing message, and performing cutting processing to obtain a first cutting message and a second cutting message, wherein the length of the first cutting message is smaller than or equal to that of the cell message;
forwarding the first cut message and the message description information, and storing a second cut message in the second buffer area.
Of course, the computer readable storage medium provided by the embodiments of the present invention may perform the related operations in the method for processing the buffer memory of the packet provided by any embodiment of the present invention, where the computer instructions are not limited to the above method operations.
From the above description of embodiments, it will be clear to a person skilled in the art that the present invention may be implemented by means of software and necessary general purpose hardware, but of course also by means of hardware, although in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, etc., including several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to execute the method of the embodiments of the present invention.
It should be noted that, in the embodiment of the buffer cutting processing device for a packet, each unit and module included in the buffer cutting processing device are only divided according to the functional logic, but are not limited to the above-mentioned division, so long as the corresponding functions can be realized; in addition, the specific names of the functional units are also only for distinguishing from each other, and are not used to limit the protection scope of the present invention.
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (10)

1. The method for processing the buffer memory cutting of the message is characterized by comprising the following steps:
reading an editing message and message description information matched with the editing message from a first buffer area according to a forwarding scheduling instruction, wherein the editing message is obtained by editing a cell message obtained by cutting an original message; the message description information comprises first cell message identification information, last cell message identification information, unused byte number and offset value of the cell message;
judging whether the editing message meets the cutting processing condition according to the editing message, the message description information and the storage state of the historical cutting message in the second buffer area;
If yes, acquiring a processing message matched with the editing message, and performing cutting processing to obtain a first cutting message and a second cutting message, wherein the length of the first cutting message is smaller than or equal to that of the cell message;
forwarding the first cut message and the message description information, and storing a second cut message in the second buffer area.
2. The method of claim 1, wherein based on the edit message, the message description information, and the storage status of the history cut message in the second buffer, judging whether the editing message meets the cutting processing conditions or not comprises the following steps:
if the editing message is determined to be a first cell message or a non-last cell message according to the message description information, and the second buffer area does not store the history cutting message, judging whether the editing message meets the cutting processing condition according to the offset value of the cell message in the message description information; or alternatively
If the editing message is determined to be a first cell message and a last cell message at the same time according to the message description information, and the history cutting message is not stored in the second buffer area, judging whether the editing message meets the cutting processing condition according to the offset value and the unused byte number of the cell message in the message description information;
Before the processing message matched with the editing message is acquired for cutting processing, the method further comprises the following steps:
and directly determining the editing message as the processing message.
3. The method according to claim 2, wherein determining whether the editing message satisfies a cutting process condition according to an offset value of a cell message in the message description information comprises:
judging whether the offset value of the cell message in the message description information is smaller than a preset length threshold value; the preset length threshold value is the maximum message length difference value between the editing message and the cell message;
if yes, determining that the editing message meets the cutting processing condition;
judging whether the editing message meets the cutting processing condition according to the offset value and the unused byte number of the cell message in the message description information, comprising:
judging whether the offset value of the cell message in the message description information is smaller than a preset length threshold value; the preset length threshold value is the maximum message length difference value between the editing message and the cell message;
if yes, continuing to judge whether the number of unused bytes in the message description information is smaller than the offset value of the cell message;
If yes, determining that the editing message meets the cutting processing condition.
4. The method of claim 1, wherein determining whether the edit message meets a cut processing condition according to the edit message, the message description information, and a storage state of a history cut message in a second buffer area, comprises:
if the editing message is determined to be an intermediate cell message according to the message description information and the history cutting message is stored in the second buffer area, judging whether the editing message meets a cutting processing condition according to the offset value of the cell message in the message description information; or alternatively
If the editing message is determined to be a tail cell message according to the message description information and the history cutting message is stored in the second buffer area, judging whether the editing message meets the cutting processing condition according to the offset value and the unused byte number of the cell message in the message description information;
before the processing message matched with the editing message is acquired for cutting processing, the method further comprises the following steps:
and assembling the history cutting message on the head of the editing message to obtain the processing message.
5. The method of claim 4, wherein determining whether the edit message satisfies a cut processing condition according to an offset value of a cell message in the message description information comprises:
judging whether the offset value of the cell message in the message description information is smaller than a preset length threshold value; the preset length threshold value is the maximum message length difference value between the editing message and the cell message;
if yes, determining that the editing message meets the cutting processing condition;
judging whether the editing message meets the cutting processing condition according to the offset value and the unused byte number of the cell message in the message description information, comprising:
judging whether the number of unused bytes in the message description information is smaller than the offset value of the cell message;
if yes, determining that the editing message meets the cutting processing condition.
6. The method according to claim 1, wherein after reading an edit message and message description information matched with the edit message from the first buffer according to the forwarding scheduling instruction, the edit message is a message obtained by editing a cell message obtained by cutting an original message, and further comprising:
If the editing message is determined to be a first cell message according to the message description information, and the history cutting message is stored in the second buffer area, the history cutting message is directly forwarded.
7. The method according to claim 1, wherein before reading an edit message and message description information matched with the edit message from the first buffer according to the forwarding scheduling instruction, the edit message is a message obtained by editing a cell message obtained by cutting an original message, and the method further comprises:
calculating the maximum message length difference between the editing message and the cell message and an information length threshold corresponding to the message description information;
obtaining the width of the first buffer area by summing the maximum message length difference value, the information length threshold value and the cell message length;
and setting the information length threshold value to be the width of the second buffer area.
8. The utility model provides a message buffer memory cutting processing apparatus which characterized in that includes:
the reading module is used for reading an editing message and message description information matched with the editing message from the first buffer area according to the forwarding scheduling instruction, wherein the editing message is a message obtained by editing a cell message obtained by cutting an original message; the message description information comprises first cell message identification information, last cell message identification information, unused byte number and offset value of the cell message;
The judging module is used for judging whether the editing message meets the cutting processing condition according to the editing message, the message description information and the storage state of the historical cutting message in the second buffer area;
the cutting module is used for obtaining a processing message matched with the editing message to carry out cutting processing after determining that the editing message meets the cutting processing condition, so as to obtain a first cutting message and a second cutting message, wherein the length of the first cutting message is smaller than or equal to that of the cell message;
and the forwarding module is used for forwarding the first cutting message and the message description information and storing a second cutting message in the second buffer area.
9. A network device, comprising:
one or more processors;
a storage means for storing one or more programs;
the dual-port random access memory RAM is used for providing a first buffer area and a second buffer area, wherein the first buffer area is used for writing in and reading out editing messages and message description information matched with the editing messages; the second buffer area is used for writing in and reading a second cutting message;
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method for processing cache cutting of a packet according to any one of claims 1 to 7.
10. A computer readable storage medium having stored thereon a computer program, which when executed by a processor implements a method of cache cutting processing of a message according to any of claims 1-7.
CN201910642559.7A 2019-07-16 2019-07-16 Message buffer cutting processing method, device, equipment and storage medium Active CN112242962B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910642559.7A CN112242962B (en) 2019-07-16 2019-07-16 Message buffer cutting processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910642559.7A CN112242962B (en) 2019-07-16 2019-07-16 Message buffer cutting processing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112242962A CN112242962A (en) 2021-01-19
CN112242962B true CN112242962B (en) 2023-06-23

Family

ID=74167261

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910642559.7A Active CN112242962B (en) 2019-07-16 2019-07-16 Message buffer cutting processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112242962B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039170A (en) * 2006-03-15 2007-09-19 华为技术有限公司 Method for supporting packet retransmission division cascade
CN101447928A (en) * 2008-12-31 2009-06-03 华为技术有限公司 Method and device for processing fragment information
CN103685343A (en) * 2012-09-03 2014-03-26 腾讯科技(深圳)有限公司 File transfer method and file transfer system
CN105591976A (en) * 2014-10-24 2016-05-18 中兴通讯股份有限公司 Message processing method, apparatus, and system
CN109525518A (en) * 2018-12-25 2019-03-26 北京物芯科技有限责任公司 A kind of IP packet method for network address translation and device based on FPGA

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10735459B2 (en) * 2017-11-02 2020-08-04 International Business Machines Corporation Service overload attack protection based on selective packet transmission

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039170A (en) * 2006-03-15 2007-09-19 华为技术有限公司 Method for supporting packet retransmission division cascade
CN101447928A (en) * 2008-12-31 2009-06-03 华为技术有限公司 Method and device for processing fragment information
CN103685343A (en) * 2012-09-03 2014-03-26 腾讯科技(深圳)有限公司 File transfer method and file transfer system
CN105591976A (en) * 2014-10-24 2016-05-18 中兴通讯股份有限公司 Message processing method, apparatus, and system
CN109525518A (en) * 2018-12-25 2019-03-26 北京物芯科技有限责任公司 A kind of IP packet method for network address translation and device based on FPGA

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
超长UDP数据包预分片与重组技术研究;赵景磊;李康;叶勇;邱炜;;遥测遥控(第02期);第67-74页 *

Also Published As

Publication number Publication date
CN112242962A (en) 2021-01-19

Similar Documents

Publication Publication Date Title
EP3840311B1 (en) Traffic scheduling method, device, and system
CN109088820B (en) Cross-device link aggregation method and device, computing device and storage medium
US20150304124A1 (en) Message Processing Method and Device
CN113196705B (en) In-path telemetry of multicast traffic
WO2021128927A1 (en) Message processing method and apparatus, storage medium, and electronic apparatus
CN104468401A (en) Message processing method and device
WO2014135038A1 (en) Packet transmission method and device based on pcie bus
EP4044529A1 (en) Detnet data packet processing method and apparatus
CN103986585A (en) Message preprocessing method and device
CN107294856B (en) Method, equipment and system for determining topology change
CN105635000A (en) Message storing and forwarding method, circuit and device
WO2022121808A1 (en) Direct forwarding mode scheduling method and device, and storage medium
CN112866139A (en) Method, equipment and storage medium for realizing multi-rule flow classification
CN112242962B (en) Message buffer cutting processing method, device, equipment and storage medium
WO2024021801A1 (en) Packet forwarding apparatus and method, communication chip, and network device
WO2024082804A1 (en) Node mode setting method and apparatus for wireless low-power-consumption lossy network
CN103685062A (en) Cache management method and device
CN111181874A (en) Message processing method, device and storage medium
CN116032837A (en) Flow table unloading method and device
CN115914130A (en) Data traffic processing method and device of intelligent network card
CN115695588A (en) Hardware acceleration method for network message editing
CN112003800B (en) Method and device for exchanging and transmitting messages of ports with different bandwidths
CN114079634A (en) Message forwarding method and device and computer readable storage medium
CN109308180B (en) Processing method and processing device for cache congestion
CN110865887A (en) Method for saving and outputting direct output short message

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