CN114827047A - Data transmission method and device, computer equipment and storage medium - Google Patents
Data transmission method and device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN114827047A CN114827047A CN202210720973.7A CN202210720973A CN114827047A CN 114827047 A CN114827047 A CN 114827047A CN 202210720973 A CN202210720973 A CN 202210720973A CN 114827047 A CN114827047 A CN 114827047A
- Authority
- CN
- China
- Prior art keywords
- communication data
- cache
- data
- forwarding
- destination port
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/30—Flow control; Congestion control in combination with information about buffer occupancy at either end or at transit nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/32—Flow control; Congestion control by discarding or delaying data units, e.g. packets or frames
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The application relates to a data transmission method, a data transmission device, computer equipment and a storage medium. The method comprises the following steps: receiving and caching communication data sent by a sending end; judging whether the communication data meets forwarding conditions or not according to the forwarding information of the communication data; under the condition that the communication data do not meet the forwarding condition, judging whether the cache state of a destination port corresponding to the communication data is an unavailable cache or not; and if the cache state of the destination port is no available cache, returning the forwarding information according to the communication data after waiting for a preset rechecking waiting time, and judging whether the communication data meets the forwarding condition. By adopting the method, the data discarding rate can be reduced, and the possibility of abnormal data receiving and transmitting can be reduced.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for controlling data transmission, a computer device, and a storage medium.
Background
Fc (fiber channel) is a high-speed serial transmission bus proposed by American National Standards Institute (ANSI), and has advantages of dual channel and network, high bandwidth, high reliability, resistance to electromagnetic interference, and the like, and can provide a very stable and reliable optical fiber connection, and easily construct a large-scale data transmission and communication network. The FC-AE (Fibre Channel avenics Environment) standard is a group of protocol families applied to an Avionics Environment, and is mainly used for data communication among various devices under Avionics, and transmitting data such as video, command, instruments and meters, sensors and the like.
The FC switch, as a core device in the FC network, plays a decisive role in data exchange of the entire FC network. In the data transmission process, the FC switch forwards data among the ports. However, in the process of data forwarding by the FC switch, a situation that data cannot be forwarded is often encountered. The existing data transmission method of the FC switch is to directly discard the data which cannot be forwarded. Therefore, the data discarding rate of the data transmission method of the current FC switch is high, and data transceiving is easily abnormal.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a data transmission method, an apparatus, a computer device, and a computer-readable storage medium, which can reduce the data discarding rate.
In a first aspect, the present application provides a data transmission method. The method comprises the following steps:
receiving and caching communication data sent by a sending end;
judging whether the communication data meets forwarding conditions or not according to the forwarding information of the communication data;
judging whether the cache state of a destination port corresponding to the communication data is an unavailable cache or not under the condition that the communication data does not meet the forwarding condition;
and if the cache state of the destination port is no available cache, returning the forwarding information according to the communication data after waiting for a preset rechecking waiting time, and judging whether the communication data meets the forwarding condition.
In one embodiment, if the cache state of the destination port is no available cache, after waiting for a preset recheck waiting time, returning the forwarding information according to the communication data, and determining whether the communication data meets the forwarding condition includes:
if the cache state of the destination port is no available cache, comparing the query times of the communication data with preset overtime rechecking times;
waiting for preset recheck waiting time under the condition that the query times are less than the preset overtime recheck times;
and after waiting for the preset rechecking waiting time, returning the forwarding information according to the communication data and judging whether the communication data meets the forwarding condition.
In one embodiment, the method further comprises:
the method comprises the steps of obtaining a cache state of an input data storage space for storing communication data, and judging whether the cache state is a full state;
when the cache state is a full state, generating a backpressure signal; the backpressure signal is used for stopping the sending end from sending data.
In one embodiment, the method further comprises:
stopping sending a ready primitive signal to the sending end in response to the backpressure signal; the ready primitive signal is used for indicating the sending end to send data.
In one embodiment, the determining whether the cache state of the destination port corresponding to the communication data is an unavailable cache when the communication data does not satisfy the forwarding condition includes:
under the condition that the communication data do not meet the forwarding condition, analyzing the communication data to obtain a destination address identifier of the communication data;
determining a destination port corresponding to the communication data according to the destination address identifier and a preset port corresponding relation;
and determining the cache state of the destination port corresponding to the communication data, and judging whether the cache state of the destination port corresponding to the communication data is unavailable.
In one embodiment, the method further comprises:
and if the cache state of the destination port is not the unavailable cache, discarding the communication data.
In one embodiment, if the cache state of the destination port is no available cache, comparing the number of queries of the communication data with a preset number of timeout rechecks includes:
and if the cache state of the destination port is no available cache, updating the query times of the communication data, and comparing the updated query times with the preset overtime rechecking times.
In a second aspect, the present application further provides a data transmission apparatus. The device comprises:
the receiving module is used for receiving and caching the communication data sent by the sending end;
the first judgment module is used for judging whether the communication data meets the forwarding condition or not according to the forwarding information of the communication data;
the second judging module is used for judging whether the cache state of the destination port corresponding to the communication data is an unavailable cache or not under the condition that the communication data does not meet the forwarding condition;
and the rechecking module is used for returning the forwarding information according to the communication data after waiting for preset rechecking waiting time and judging whether the communication data meets the forwarding condition step or not if the cache state of the destination port is no available cache.
In one embodiment, the rechecking module is specifically configured to:
if the cache state of the destination port is no available cache, comparing the query times of the communication data with preset overtime rechecking times;
waiting for preset recheck waiting time under the condition that the query times are less than the preset overtime recheck times;
and after waiting for the preset rechecking waiting time, returning the forwarding information according to the communication data and judging whether the communication data meets the forwarding condition.
In one embodiment, the apparatus further comprises:
the third judging module is used for acquiring the cache state of an input data storage space for storing communication data and judging whether the cache state is a full state;
the generating module is used for generating a backpressure signal when the cache state is a full state; the backpressure signal is used for stopping the sending end from sending data.
In one embodiment, the apparatus further comprises:
the response module is used for responding to the backpressure signal and stopping sending a ready primitive signal to the sending end; the ready primitive signal is used for indicating the sending end to send data.
In one embodiment, the second determining module is specifically configured to:
under the condition that the communication data do not meet the forwarding condition, analyzing the communication data to obtain a destination address identifier of the communication data;
determining a destination port corresponding to the communication data according to the destination address identifier and a preset port corresponding relation;
and determining the cache state of the destination port corresponding to the communication data, and judging whether the cache state of the destination port corresponding to the communication data is unavailable.
In one embodiment, the apparatus further comprises:
and the discarding module is used for discarding the communication data if the cache state of the destination port is not the unavailable cache.
In one embodiment, the rechecking module is specifically configured to:
and if the cache state of the destination port is no available cache, updating the query times of the communication data, and comparing the updated query times with the preset overtime rechecking times.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor implementing the steps of the first aspect when executing the computer program.
In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the first aspect described above.
In a fifth aspect, the present application further provides a computer program product. The computer program product comprising a computer program that when executed by a processor performs the steps of the first aspect described above.
The data transmission method, the data transmission device, the computer equipment and the storage medium receive and cache the communication data sent by the sending end; judging whether the communication data meets forwarding conditions or not according to the forwarding information of the communication data; under the condition that the communication data do not meet the forwarding condition, judging whether the cache state of a destination port corresponding to the communication data is an unavailable cache or not; and if the cache state of the destination port is no available cache, returning the forwarding information according to the communication data after waiting for a preset rechecking waiting time, and judging whether the communication data meets the forwarding condition. Therefore, when the terminal detects that a certain forwarding port cannot forward the communication data, the terminal does not directly discard the communication data, but judges whether the cache state of the forwarding port is an unavailable cache or not, waits for a preset rechecking waiting interval time under the condition that the cache state of the forwarding port is the unavailable cache, inquires whether the communication data can be forwarded or not again after waiting, and repeats the process, so that the probability of forwarding the communication data can be increased, the phenomenon that the data are discarded temporarily due to insufficient cache space of the forwarding port is avoided, the data discarding rate is reduced, and the possibility of abnormal data receiving and transmitting is reduced.
Drawings
FIG. 1 is a flow diagram illustrating a data transmission method according to one embodiment;
FIG. 2 is a flowchart illustrating the detailed implementation of step 104 in one embodiment;
FIG. 3 is a flow chart illustrating a data transmission method according to another embodiment;
fig. 4 is a flowchart illustrating a step of determining whether a cache state of a destination port corresponding to communication data is unavailable in one embodiment;
FIG. 5 is a block diagram showing the structure of a data transmission apparatus according to an embodiment;
FIG. 6 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In one embodiment, as shown in fig. 1, a data transmission method is provided, and this embodiment is illustrated by applying the method to a terminal. The terminal may be various switches, or may be other network devices with a data transmission function. In this embodiment, the method includes the steps of:
step 101, receiving and caching communication data sent by a sending end.
In this embodiment, the terminal may receive communication data sent by the sending end. Meanwhile, the terminal may buffer the communication data in the input data storage space. Specifically, the terminal may buffer the communication data in an input data storage space corresponding to a receiving port that receives the communication data.
The sending end is a device for sending data to the terminal. The communication data sent by the sending end is data which needs to be forwarded by the terminal. The input data storage space is a storage space in which the terminal caches data input to the terminal. The receiving port is a port used by the terminal for receiving the communication data sent by the sending end. The terminal includes a plurality of receiving ports and a plurality of forwarding ports. The forwarding port is a port used by the terminal for forwarding communication data.
And 102, judging whether the communication data meets the forwarding condition or not according to the forwarding information of the communication data.
In this embodiment, the terminal may first analyze the communication data to obtain forwarding information of the communication data. Then, the terminal can search the forwarding information to obtain the forwarding information of the terminal. Then, the terminal can determine whether the communication data satisfies the forwarding condition according to the forwarding information of the terminal and the forwarding information of the communication data.
In one example, the terminal may compare forwarding information of the communication data with forwarding information of the terminal. And if the forwarding information of the communication data is contained in the forwarding information of the terminal, the terminal determines that the communication data meets the forwarding condition. And if the forwarding information of the communication data is not contained in the forwarding information of the terminal, the terminal determines that the communication data does not meet the forwarding condition.
In one example, the terminal may look up forwarding information of the communication data in the forwarding information of the terminal. If the forwarding information of the terminal comprises the forwarding information of the communication data, the terminal determines that the communication data meets the forwarding condition. If the forwarding information of the communication data is not contained in the forwarding information of the terminal, the terminal determines that the communication data does not meet the forwarding condition.
And 103, judging whether the cache state of the destination port corresponding to the communication data is no available cache or not under the condition that the communication data does not meet the forwarding condition.
In the embodiment of the application, under the condition that the communication data does not meet the forwarding condition, the terminal determines a destination port corresponding to the communication data according to the communication data. Then, the terminal may determine, according to the destination port corresponding to the communication data, a cache state of the destination port corresponding to the communication data. Then, the terminal judges whether the buffer state of the destination port corresponding to the communication data is no available buffer. The destination port corresponding to the communication data is a port for forwarding the communication data.
And in the case that the communication data meets the forwarding condition, the terminal forwards the communication data.
And 104, if the cache state of the destination port is no available cache, returning to the step of judging whether the communication data meets the forwarding condition according to the forwarding information of the communication data after waiting for the preset rechecking waiting time.
In this embodiment, if the cache state of the destination port is no available cache, the terminal waits for a predetermined recheck waiting time. Wherein, the rechecking waiting time is a time interval for repeatedly inquiring whether certain communication data meets the forwarding condition. Then, after waiting for the preset recheck waiting time, the terminal returns to the step of judging whether the communication data meets the forwarding condition according to the forwarding information of the communication data, namely, returns to the step 102.
In the data transmission method, a terminal receives and caches communication data sent by a sending end; judging whether the communication data meets forwarding conditions or not according to the forwarding information of the communication data; under the condition that the communication data does not meet the forwarding condition, judging whether the cache state of the destination port corresponding to the communication data is unavailable; and if the cache state of the destination port is no available cache, returning to the step of judging whether the communication data meets the forwarding condition according to the forwarding information of the communication data after waiting for the preset rechecking waiting time. Therefore, when the terminal detects that the forwarding port cannot forward the communication data, the terminal does not directly discard the communication data, but judges whether the cache state of the forwarding port is an unavailable cache or not, waits for a preset recheck waiting interval time under the condition that the cache state of the forwarding port is the unavailable cache, rechecks the communication data after waiting to be forwarded, and repeats the process, so that the probability of forwarding the communication data can be increased, the phenomenon that the data are discarded due to the temporary insufficient cache space of the forwarding port is avoided, the data discarding rate is reduced, and the possibility of abnormal data receiving and transmitting is reduced. Furthermore, the ultra-bandwidth problem caused by data burst transmission can cause temporary insufficient buffer space of the forwarding port, so that the method can also solve the data discarding caused by the ultra-bandwidth problem. In addition, the method does not need to increase the memory of the existing terminal, and can avoid the cost increase.
In an embodiment, as shown in fig. 2, if the cache state of the destination port is no available cache, after waiting for a preset recheck waiting time, returning the forwarding information according to the communication data, and determining whether the communication data meets the forwarding condition step specifically includes the following steps:
step 201, if the cache state of the destination port is no available cache, comparing the query times of the communication data with the preset overtime rechecking times.
In the embodiment of the application, the terminal can preset the number of the overtime rechecks. The number of the overtime rechecks is the number of times that whether a certain communication data meets the forwarding condition can be repeatedly inquired. Specifically, the terminal may configure the register in advance, and perform parameter configuration on the number of times that the terminal can repeatedly query whether a certain communication data meets the forwarding condition, that is, complete the setting of the number of times of the timeout review.
In one example, for each receiving port of the terminal, the terminal may configure a register of the receiving port in advance according to design parameters of the receiving port, and perform parameter configuration for the number of times that the terminal can repeatedly query whether a certain communication data stored in an input data storage space of the receiving port satisfies a forwarding condition. Therefore, different overtime rechecking times can be flexibly configured for different receiving ports of the terminal according to different ports of the terminal through the register corresponding to each receiving port, so that each receiving port can be ensured to stop rechecking in time according to the self condition, the unrepeatable data can be discarded in time, the data discarding rate of each receiving port can be reduced to the maximum extent, the possibility of data receiving and sending abnormity is further reduced, the timeliness of discarding the unrepeatable data of each receiving port can be improved to the maximum extent, and the efficiency of data transmission is improved.
If the cache state of the destination port is no available cache, the terminal firstly determines the query times of the communication data. The terminal may then compare the number of queries for the communication data to a preset number of timeout rechecks.
Step 202, waiting for a preset recheck waiting time under the condition that the query times are less than the preset overtime recheck times.
In the embodiment of the application, the terminal can preset the rechecking waiting time. Specifically, the terminal may pre-configure the register, and perform parameter configuration on the time interval at which the terminal repeatedly inquires whether a certain communication data meets the forwarding condition, that is, complete the setting of the rechecking waiting time.
In one example, for each receiving port of the terminal, the terminal may configure a register of the receiving port in advance according to design parameters of the receiving port, and perform parameter configuration for a time interval at which the terminal repeatedly inquires whether a certain communication data stored in an input data storage space of the receiving port satisfies a forwarding condition. Therefore, different rechecking waiting times can be flexibly configured for different receiving ports of the terminal according to different ports of the terminal through the register corresponding to each receiving port, each receiving port can be ensured to be rechecked in time according to the self condition, waste caused by port idling is avoided, the time of the whole process that the communication data of each receiving port is forwarded is shortened, and the data transmission efficiency is further improved. In addition, the discarding time of the communication data which cannot be forwarded is shortened, and the phenomenon that the forwarding of other communication data is blocked due to the fact that the buffer space is occupied by the communication data which cannot be forwarded for a long time is avoided, so that the possibility of data receiving and sending abnormity is further reduced, and the data transmission efficiency is further improved.
And under the condition that the query times are less than the preset overtime rechecking times, the terminal waits for the preset rechecking waiting time aiming at the communication data.
And under the condition that the query times are equal to the preset overtime rechecking times, the terminal discards the communication data.
And step 203, after waiting for the preset rechecking waiting time, returning to the step of judging whether the communication data meets the forwarding condition according to the forwarding information of the communication data.
In the embodiment of the present application, after waiting for the preset recheck waiting time for the communication data, the terminal returns to the forwarding information according to the communication data, and determines whether the communication data meets the forwarding condition, that is, returns to step 102.
In the data transmission method, if the cache state of the destination port is no available cache, the query times of the communication data are compared with the preset overtime rechecking times, the preset rechecking waiting time is waited under the condition that the query times are less than the preset overtime rechecking times, and after the preset rechecking waiting time is waited, forwarding information according to the communication data is returned to judge whether the communication data meets the forwarding condition step. Therefore, when the terminal detects that the forwarding port cannot forward the communication data and the cache state of the forwarding port is no available cache, whether the query frequency of the communication data reaches the preset overtime rechecking frequency is judged. When the query frequency of the communication data does not reach the preset overtime rechecking frequency, waiting for a preset rechecking waiting interval time, querying again that the communication data can be forwarded after waiting, and repeating the process; and if the query times of the communication data reach the preset overtime rechecking times, discarding the communication data if necessary. Therefore, the probability of the forwarded communication data can be increased, the data discarding caused by the temporary insufficient buffer space of the forwarding port is avoided, the data discarding rate is reduced, the possibility of data receiving and sending abnormity is reduced, the rechecking can be stopped in time, the unrepeatable data can be discarded in time, the phenomenon that the forwarding of other communication data is blocked due to the fact that the buffer space is occupied by the unrepeatable communication data for a long time is avoided, the possibility of data receiving and sending abnormity is further reduced, and the efficiency of data transmission is ensured while the possibility of data receiving and sending abnormity is reduced.
In one embodiment, as shown in fig. 3, the specific process of the data transmission method further includes the following steps:
step 301, obtaining a buffer status of an input data storage space for storing communication data, and determining whether the buffer status is a full status.
In this embodiment of the application, while the terminal receives and caches the communication data sent by the sending end, the terminal may obtain the cache state of the input data storage space corresponding to each receiving port for storing the communication data.
In one example, the terminal may obtain, in real time, a buffer status of an input data storage space corresponding to each receiving port for storing communication data.
In one example, the terminal may periodically acquire a buffer status of an input data storage space corresponding to each receiving port for storing communication data.
In an example, for each receiving port, the terminal may obtain, after buffering the communication data sent by the sending end each time, a buffer status of an input data storage space for storing the receiving port corresponding to the communication data.
Then, the terminal may set the first buffer status threshold in advance. The terminal may then compare the buffer status of the input data storage space for storing communication data to a first buffer status threshold. And if the cache state of the input data storage space for storing the communication data is equal to or greater than the first cache state threshold value, the terminal determines that the cache state of the input data storage space for storing the communication data is a full state. And if the cache state of the input data storage space for storing the communication data is smaller than the first cache state threshold value, the terminal determines that the cache state of the input data storage space for storing the communication data is not in a full state.
In one example, for each receiving port, the terminal may preset a first buffer status threshold corresponding to the receiving port according to a design parameter of the receiving port. Then, the terminal may compare the buffer status of the input data storage space corresponding to the receiving port with the first buffer status threshold corresponding to the receiving port. And if the cache state of the input data storage space corresponding to the receiving port is equal to or greater than the first cache state threshold corresponding to the receiving port, the terminal determines that the cache state of the input data storage space corresponding to the receiving port is a full state. And if the cache state of the input data storage space corresponding to the receiving port is smaller than the first cache state threshold corresponding to the receiving port, the terminal determines that the cache state of the input data storage space corresponding to the receiving port is not in a full state. Therefore, different first cache state thresholds are flexibly set for different receiving ports of the terminal according to different receiving ports of the terminal, so that the receiving ports can control data input of the receiving ports in time according to self conditions, double waste of space and time caused by idle input data storage space of the receiving ports is avoided to the maximum extent, the data discarding rate is reduced, and meanwhile, the efficiency of data transmission is further improved.
In step 302, a backpressure signal is generated when the buffer status is full.
The backpressure signal is used for stopping the sending end from sending data.
In this embodiment, when the buffer status of the input data storage space corresponding to a certain receiving port for storing communication data is a full status, the terminal generates a backpressure signal corresponding to the receiving port. The backpressure signal is used for stopping the sending end from sending data to the receiving port of the terminal.
In the data transmission method, the terminal acquires the buffer state of the input data storage space for storing the communication data, judges whether the buffer state is the full state, and generates the backpressure signal when the buffer state is the full state. Therefore, when the buffer memory state of the input data storage space of a certain receiving port is a full state, the terminal generates a backpressure signal to enable the sending end to stop sending data to the receiving port, and through realizing the flow control of the receiving port, the phenomenon that the data are discarded because the input data storage space of the receiving port is limited and redundant data cannot be stored can be avoided, namely, the phenomenon that the data are discarded because the buffer memory space of the receiving port is temporarily insufficient is avoided, the data discarding rate is further reduced, and the possibility of data receiving and sending abnormity is further reduced.
In one embodiment, the specific process of the data transmission method further includes the following steps: and stopping sending the ready primitive signal to the sending end in response to the backpressure signal.
The ready primitive signal is used to instruct the sending end to send data.
In this embodiment, the terminal controls the receiving port to stop sending the ready primitive signal to the sending end in response to the backpressure signal corresponding to the receiving port.
In the above data transmission method, the terminal stops sending the ready primitive signal to the sending end in response to the backpressure signal. Therefore, when the buffer memory state of the input data storage space of a certain receiving port is a full state, the terminal stops sending the ready primitive signal to the sending end by responding to the backpressure signal, the sending end does not receive the ready primitive signal and stops sending data to the receiving port, flow control of the receiving port is achieved, data discarding caused by the fact that redundant data cannot be stored due to the fact that the input data storage space of the receiving port is limited can be avoided, namely data discarding caused by the fact that the buffer memory space of the receiving port is temporarily insufficient is avoided, the data discarding rate is further reduced, and therefore the possibility of data receiving and sending abnormity is further reduced.
In an embodiment, as shown in fig. 4, when the communication data does not satisfy the forwarding condition, a specific process of determining whether a cache state of a destination port corresponding to the communication data is an unavailable cache includes the following steps:
step 401, under the condition that the communication data does not satisfy the forwarding condition, analyzing the communication data to obtain the destination address identifier of the communication data.
In the embodiment of the present application, when the communication data does not satisfy the forwarding condition, the terminal parses the communication data to obtain a destination address identifier (also referred to as a destination ID) of the communication data.
Step 402, determining a destination port corresponding to the communication data according to the destination address identifier and a preset port corresponding relation.
In this embodiment, the terminal may preset a port correspondence relationship. Then, the terminal determines the destination port corresponding to the communication data according to the destination address identifier of the communication data and the port corresponding relation.
Step 403, determining the cache state of the destination port corresponding to the communication data, and determining whether the cache state of the destination port corresponding to the communication data is an unavailable cache.
In this embodiment of the present application, the terminal may preset the second buffer status threshold. Then, the terminal may determine a buffer status of a destination port corresponding to the communication data. Then, the terminal may compare the buffer status of the destination port corresponding to the communication data with the second buffer status threshold. And if the cache state of the destination port corresponding to the communication data is greater than or equal to the second cache state threshold, the terminal determines that the cache state of the destination port corresponding to the communication data is an unavailable cache. And if the cache state of the destination port corresponding to the communication data is smaller than the second cache state threshold, the terminal determines that the cache state of the destination port corresponding to the communication data is not the unavailable cache.
In the data transmission method, the terminal analyzes the communication data to obtain the destination address identifier of the communication data under the condition that the communication data does not meet the forwarding condition; determining a destination port corresponding to the communication data according to the destination address identifier and a preset port corresponding relation; and then determining the cache state of the destination port corresponding to the communication data, and judging whether the cache state of the destination port corresponding to the communication data is unavailable cache. Therefore, the destination port of the communication data is determined through the destination address identifier of the communication data, whether the cache state of the destination port corresponding to the communication data is an unavailable cache is judged according to the cache state of the destination port, a preset recheck waiting interval time is waited under the condition that the cache state of the forwarding port is the unavailable cache, the communication data can be retransmitted after waiting, and the process is repeated.
In one embodiment, the specific process of the data transmission method further includes the following steps: and if the cache state of the destination port is not the unavailable cache, discarding the communication data.
In the embodiment of the application, when the communication data does not meet the forwarding condition, the terminal determines whether the cache state of the destination port corresponding to the communication data is an unavailable cache. And if the cache state of the destination port is not the unavailable cache, the terminal discards the communication data.
In the above data transmission method, if the buffer status of the destination port is not the no-available buffer, the communication data is discarded. Therefore, under the condition that the data cannot be forwarded due to temporary insufficient buffer space of the non-forwarding port, namely, under the condition that the data cannot be forwarded due to invalidation of the destination port, the non-forwarding data can be discarded in time, time waste caused by frequent rechecking of the communication data invalid of the destination port is avoided, and the problem that the forwarding of other communication data is blocked due to the fact that the buffer space is occupied by the communication data which cannot be forwarded is also avoided, so that the possibility of data receiving and sending abnormity is further reduced, and the efficiency of data transmission is improved while the possibility of data receiving and sending abnormity is reduced.
In one embodiment, if the cache state of the destination port is no available cache, the specific process of comparing the number of queries of the communication data with the preset number of timeout rechecks includes the following steps: and if the cache state of the destination port is no available cache, updating the query times of the communication data, and comparing the updated query times with the preset overtime rechecking times.
In the embodiment of the application, the terminal can preset the number of the overtime rechecks. And if the cache state of the destination port is no available cache, the terminal adds 1 to the query times of the communication data to obtain the updated query times of the communication data. And then, the terminal compares the updated inquiry times with the preset overtime rechecking times.
In the data transmission method, if the cache state of the destination port is no available cache, the query times of the communication data are updated, and the updated query times are compared with the preset overtime recheck times. Therefore, the data which can not be forwarded can be discarded in time, and the phenomenon that the forwarding of other communication data is blocked due to the fact that the cache space is occupied by the communication data which can not be forwarded is avoided, so that the possibility of data receiving and sending abnormity is further reduced, and the efficiency of data transmission is ensured while the possibility of data receiving and sending abnormity is reduced.
It should be understood that, although the steps in the flowcharts related to the embodiments as described above are sequentially displayed as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be rotated or alternated with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the present application further provides a data transmission apparatus for implementing the above-mentioned data transmission method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, so specific limitations in one or more embodiments of the data transmission device provided below can be referred to the limitations of the data transmission method in the foregoing, and details are not described herein again.
In one embodiment, as shown in fig. 5, there is provided a data transmission apparatus 500, including: a receiving module 510, a first determining module 520, a second determining module 530, and a rechecking module 540, wherein:
a receiving module 510, configured to receive and cache communication data sent by a sending end;
a first judging module 520, configured to judge whether the communication data meets a forwarding condition according to forwarding information of the communication data;
a second determining module 530, configured to determine, when the communication data does not satisfy the forwarding condition, whether a cache state of a destination port corresponding to the communication data is an unavailable cache;
and a rechecking module 540, configured to, if the cache state of the destination port is no available cache, return the forwarding information according to the communication data after waiting for a preset rechecking waiting time, and determine whether the communication data meets the step of a forwarding condition.
Optionally, the rechecking module 540 is specifically configured to:
if the cache state of the destination port is no available cache, comparing the query times of the communication data with preset overtime rechecking times;
waiting for preset recheck waiting time under the condition that the query times are less than the preset overtime recheck times;
and after waiting for the preset rechecking waiting time, returning the forwarding information according to the communication data and judging whether the communication data meets the forwarding condition.
Optionally, the apparatus 500 further includes:
the third judging module is used for acquiring the cache state of an input data storage space for storing communication data and judging whether the cache state is a full state;
the generating module is used for generating a backpressure signal when the cache state is a full state; the backpressure signal is used for stopping the sending end from sending data.
Optionally, the apparatus 500 further includes:
a response module, configured to stop sending a ready primitive signal to the sending end in response to the backpressure signal; the ready primitive signal is used for indicating the sending end to send data.
Optionally, the second determining module 530 is specifically configured to:
under the condition that the communication data do not meet the forwarding condition, analyzing the communication data to obtain a destination address identifier of the communication data;
determining a destination port corresponding to the communication data according to the destination address identifier and a preset port corresponding relation;
and determining the cache state of the destination port corresponding to the communication data, and judging whether the cache state of the destination port corresponding to the communication data is unavailable.
Optionally, the apparatus 500 further includes:
and the discarding module is used for discarding the communication data if the cache state of the destination port is not the unavailable cache.
Optionally, the rechecking module 540 is specifically configured to:
and if the cache state of the destination port is no available cache, updating the query times of the communication data, and comparing the updated query times with the preset overtime rechecking times.
The modules in the data transmission device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a data transmission method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory having a computer program stored therein and a processor that when executing the computer program performs the steps of:
receiving and caching communication data sent by a sending end;
judging whether the communication data meet forwarding conditions or not according to the forwarding information of the communication data;
under the condition that the communication data do not meet the forwarding condition, judging whether the cache state of a destination port corresponding to the communication data is an unavailable cache or not;
and if the cache state of the destination port is no available cache, returning the forwarding information according to the communication data after waiting for a preset rechecking waiting time, and judging whether the communication data meets the forwarding condition.
In one embodiment, the processor, when executing the computer program, further performs the steps of: if the cache state of the destination port is no available cache, comparing the query times of the communication data with preset overtime rechecking times; waiting for preset recheck waiting time under the condition that the query times are less than the preset overtime recheck times; and after waiting for the preset rechecking waiting time, returning the forwarding information according to the communication data and judging whether the communication data meets the forwarding condition.
In one embodiment, the processor, when executing the computer program, further performs the steps of: the method comprises the steps of obtaining a cache state of an input data storage space for storing communication data, and judging whether the cache state is a full state; when the cache state is a full state, generating a backpressure signal; the backpressure signal is used for stopping the sending end from sending data.
In one embodiment, the processor, when executing the computer program, further performs the steps of: stopping sending a ready primitive signal to the sending end in response to the backpressure signal; the ready primitive signal is used for indicating the sending end to send data.
In one embodiment, the processor, when executing the computer program, further performs the steps of: under the condition that the communication data do not meet the forwarding condition, analyzing the communication data to obtain a destination address identifier of the communication data; determining a destination port corresponding to the communication data according to the destination address identifier and a preset port corresponding relation; and determining the cache state of the destination port corresponding to the communication data, and judging whether the cache state of the destination port corresponding to the communication data is unavailable.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and if the cache state of the destination port is not the unavailable cache, discarding the communication data.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and if the cache state of the destination port is no available cache, updating the query times of the communication data, and comparing the updated query times with the preset overtime rechecking times.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
receiving and caching communication data sent by a sending end;
judging whether the communication data meets forwarding conditions or not according to the forwarding information of the communication data;
under the condition that the communication data do not meet the forwarding condition, judging whether the cache state of a destination port corresponding to the communication data is an unavailable cache or not;
and if the cache state of the destination port is no available cache, returning the forwarding information according to the communication data after waiting for a preset rechecking waiting time, and judging whether the communication data meets the forwarding condition.
In one embodiment, the computer program when executed by the processor further performs the steps of: if the cache state of the destination port is no available cache, comparing the query times of the communication data with preset overtime rechecking times; waiting for preset recheck waiting time under the condition that the query times are less than the preset overtime recheck times; and after waiting for the preset recheck waiting time, returning the forwarding information according to the communication data and judging whether the communication data meets the forwarding condition.
In one embodiment, the computer program when executed by the processor further performs the steps of: the method comprises the steps of obtaining a cache state of an input data storage space for storing communication data, and judging whether the cache state is a full state; when the cache state is a full state, generating a backpressure signal; the backpressure signal is used for stopping the sending end from sending data.
In one embodiment, the computer program when executed by the processor further performs the steps of: stopping sending a ready primitive signal to the sending end in response to the backpressure signal; the ready primitive signal is used for indicating the sending end to send data.
In one embodiment, the computer program when executed by the processor further performs the steps of: under the condition that the communication data do not meet the forwarding condition, analyzing the communication data to obtain a destination address identifier of the communication data; determining a destination port corresponding to the communication data according to the destination address identifier and a preset port corresponding relation; and determining the cache state of the destination port corresponding to the communication data, and judging whether the cache state of the destination port corresponding to the communication data is unavailable.
In one embodiment, the computer program when executed by the processor further performs the steps of: and if the cache state of the destination port is not the unavailable cache, discarding the communication data.
In one embodiment, the computer program when executed by the processor further performs the steps of: and if the cache state of the destination port is no available cache, updating the query times of the communication data, and comparing the updated query times with the preset overtime rechecking times.
In one embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, performs the steps of:
receiving and caching communication data sent by a sending end;
judging whether the communication data meets forwarding conditions or not according to the forwarding information of the communication data;
under the condition that the communication data do not meet the forwarding condition, judging whether the cache state of a destination port corresponding to the communication data is an unavailable cache or not;
and if the cache state of the destination port is no available cache, returning the forwarding information according to the communication data after waiting for a preset rechecking waiting time, and judging whether the communication data meets the forwarding condition.
In one embodiment, the computer program when executed by the processor further performs the steps of: if the cache state of the destination port is no available cache, comparing the query times of the communication data with preset overtime rechecking times; waiting for preset recheck waiting time under the condition that the query times are less than the preset overtime recheck times; and after waiting for the preset rechecking waiting time, returning the forwarding information according to the communication data and judging whether the communication data meets the forwarding condition.
In one embodiment, the computer program when executed by the processor further performs the steps of: the method comprises the steps of obtaining a cache state of an input data storage space for storing communication data, and judging whether the cache state is a full state; when the cache state is a full state, generating a backpressure signal; the backpressure signal is used for stopping the sending end from sending data.
In one embodiment, the computer program when executed by the processor further performs the steps of: stopping sending a ready primitive signal to the sending end in response to the backpressure signal; the ready primitive signal is used for indicating the sending end to send data.
In one embodiment, the computer program when executed by the processor further performs the steps of: under the condition that the communication data do not meet the forwarding condition, analyzing the communication data to obtain a destination address identifier of the communication data; determining a destination port corresponding to the communication data according to the destination address identifier and a preset port corresponding relation; and determining the cache state of the destination port corresponding to the communication data, and judging whether the cache state of the destination port corresponding to the communication data is unavailable.
In one embodiment, the computer program when executed by the processor further performs the steps of: and if the cache state of the destination port is not the unavailable cache, discarding the communication data.
In one embodiment, the computer program when executed by the processor further performs the steps of: and if the cache state of the destination port is no available cache, updating the query times of the communication data, and comparing the updated query times with the preset overtime rechecking times.
It should be noted that, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high-density embedded nonvolatile Memory, resistive Random Access Memory (ReRAM), Magnetic Random Access Memory (MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing based data processing logic devices, etc., without limitation.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.
Claims (10)
1. A method of data transmission, the method comprising:
receiving and caching communication data sent by a sending end;
judging whether the communication data meets forwarding conditions or not according to the forwarding information of the communication data;
under the condition that the communication data do not meet the forwarding condition, judging whether the cache state of a destination port corresponding to the communication data is an unavailable cache or not;
and if the cache state of the destination port is no available cache, returning the forwarding information according to the communication data after waiting for a preset rechecking waiting time, and judging whether the communication data meets the forwarding condition.
2. The method according to claim 1, wherein the step of returning the forwarding information according to the communication data after waiting for a preset rechecking waiting time and determining whether the communication data meets the forwarding condition if the cache status of the destination port is no available cache comprises:
if the cache state of the destination port is no available cache, comparing the query times of the communication data with preset overtime rechecking times;
waiting for preset recheck waiting time under the condition that the query times are less than the preset overtime recheck times;
and after waiting for the preset rechecking waiting time, returning the forwarding information according to the communication data and judging whether the communication data meets the forwarding condition.
3. The method of claim 1, further comprising:
the method comprises the steps of obtaining a cache state of an input data storage space for storing communication data, and judging whether the cache state is a full state;
when the cache state is a full state, generating a backpressure signal; the backpressure signal is used for stopping the sending end from sending data.
4. The method of claim 3, further comprising:
stopping sending a ready primitive signal to the sending end in response to the backpressure signal; the ready primitive signal is used for indicating the sending end to send data.
5. The method according to claim 1, wherein the determining whether the buffer status of the destination port corresponding to the communication data is an unavailable buffer if the communication data does not satisfy the forwarding condition includes:
under the condition that the communication data do not meet the forwarding condition, analyzing the communication data to obtain a destination address identifier of the communication data;
determining a destination port corresponding to the communication data according to the destination address identifier and a preset port corresponding relation;
and determining the cache state of the destination port corresponding to the communication data, and judging whether the cache state of the destination port corresponding to the communication data is unavailable.
6. The method of claim 1, further comprising:
and if the cache state of the destination port is not the unavailable cache, discarding the communication data.
7. The method of claim 2, wherein if the cache status of the destination port is no available cache, the comparing the number of queries of the communication data with a preset number of timeout rechecks comprises:
and if the cache state of the destination port is no available cache, updating the query times of the communication data, and comparing the updated query times with the preset overtime rechecking times.
8. A data transmission apparatus, characterized in that the apparatus comprises:
the receiving module is used for receiving and caching the communication data sent by the sending end;
the first judgment module is used for judging whether the communication data meets the forwarding condition or not according to the forwarding information of the communication data;
the second judging module is used for judging whether the cache state of the destination port corresponding to the communication data is an unavailable cache or not under the condition that the communication data does not meet the forwarding condition;
and the rechecking module is used for returning the forwarding information according to the communication data after waiting for preset rechecking waiting time and judging whether the communication data meets the forwarding condition step or not if the cache state of the destination port is no available cache.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210720973.7A CN114827047B (en) | 2022-06-24 | 2022-06-24 | Data transmission method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210720973.7A CN114827047B (en) | 2022-06-24 | 2022-06-24 | Data transmission method and device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114827047A true CN114827047A (en) | 2022-07-29 |
CN114827047B CN114827047B (en) | 2022-10-04 |
Family
ID=82522221
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210720973.7A Active CN114827047B (en) | 2022-06-24 | 2022-06-24 | Data transmission method and device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114827047B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116795066A (en) * | 2023-08-16 | 2023-09-22 | 南京德克威尔自动化有限公司 | Communication data processing method, system, server and medium of remote IO module |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1630290A (en) * | 2003-12-19 | 2005-06-22 | 联想(北京)有限公司 | A data transmission method with bandwidth prediction |
CN1996799A (en) * | 2006-11-30 | 2007-07-11 | 上海交通大学 | Optical packet access method based on the optical and electrical mixed cache structure |
US20070274215A1 (en) * | 2006-05-23 | 2007-11-29 | International Business Machines Corporation | Method and a system for flow control in a communication network |
CN101778047A (en) * | 2010-02-09 | 2010-07-14 | 重庆邮电大学 | Method for resolving optical switching grouping competition and photoelectric hybrid cache device |
CN110213168A (en) * | 2018-02-28 | 2019-09-06 | 中航光电科技股份有限公司 | A kind of FC turns the data conversion flow control methods and device of Ethernet |
CN111107017A (en) * | 2019-12-06 | 2020-05-05 | 苏州浪潮智能科技有限公司 | Method, equipment and storage medium for processing switch message congestion |
-
2022
- 2022-06-24 CN CN202210720973.7A patent/CN114827047B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1630290A (en) * | 2003-12-19 | 2005-06-22 | 联想(北京)有限公司 | A data transmission method with bandwidth prediction |
US20070274215A1 (en) * | 2006-05-23 | 2007-11-29 | International Business Machines Corporation | Method and a system for flow control in a communication network |
CN1996799A (en) * | 2006-11-30 | 2007-07-11 | 上海交通大学 | Optical packet access method based on the optical and electrical mixed cache structure |
CN101778047A (en) * | 2010-02-09 | 2010-07-14 | 重庆邮电大学 | Method for resolving optical switching grouping competition and photoelectric hybrid cache device |
CN110213168A (en) * | 2018-02-28 | 2019-09-06 | 中航光电科技股份有限公司 | A kind of FC turns the data conversion flow control methods and device of Ethernet |
CN111107017A (en) * | 2019-12-06 | 2020-05-05 | 苏州浪潮智能科技有限公司 | Method, equipment and storage medium for processing switch message congestion |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116795066A (en) * | 2023-08-16 | 2023-09-22 | 南京德克威尔自动化有限公司 | Communication data processing method, system, server and medium of remote IO module |
CN116795066B (en) * | 2023-08-16 | 2023-10-27 | 南京德克威尔自动化有限公司 | Communication data processing method, system, server and medium of remote IO module |
Also Published As
Publication number | Publication date |
---|---|
CN114827047B (en) | 2022-10-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110191428B (en) | Data distribution method based on intelligent cloud platform | |
CN108924274B (en) | Domain name system DNS processing method and device, storage medium and electronic equipment | |
US20070124437A1 (en) | Method and system for real-time collection of log data from distributed network components | |
WO2018107681A1 (en) | Processing method, device, and computer storage medium for queue operation | |
CN111107176B (en) | Data transmission method and device, computer equipment and storage medium | |
CN111159233B (en) | Distributed caching method, system, computer equipment and storage medium | |
CN114827047B (en) | Data transmission method and device, computer equipment and storage medium | |
CN113645140B (en) | Message statistical method, device, storage medium and network equipment | |
CN107172601A (en) | A kind of application message management platform and method | |
US6285686B1 (en) | Using page registers for efficient communication | |
WO2022057131A1 (en) | Data congestion processing method and apparatus, computer device, and storage medium | |
CN113014510A (en) | Data caching method and device in distributed test of inertial navigation system | |
WO2021237431A1 (en) | Data processing method and apparatus, processing device, and data storage system | |
US20140136647A1 (en) | Router and operating method thereof | |
JP2007221522A (en) | Polling device, terminal device, polling method and program | |
CN113760799B (en) | Scalable communication method, device, computer equipment and storage medium of UPP interface | |
CN110719225B (en) | Method, device and storage medium for controlling stream media path based on IP network | |
CN114338529A (en) | Quintuple rule matching method and device | |
JPH11113066A (en) | Data communication method, portable data communication equipment and storage medium | |
US9729445B2 (en) | Communication device and communication control method | |
CN112713939A (en) | Data transmission method and device | |
WO2015165229A1 (en) | Method, device, and system for identifying abnormal ip data stream | |
CN116708532B (en) | Local area network connection method, device, computer equipment and readable storage medium | |
CN112383480B (en) | Flow table processing method and device, monitoring device and storage medium | |
US12079136B1 (en) | Cache look up during packet processing by uniformly caching non-uniform lengths of payload data in a dual-stage cache of packet processors |
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 | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 701, 7th Floor, Building 6, Courtyard 8, Kegu 1st Street, Beijing Economic and Technological Development Zone, Daxing District, Beijing, 100176 Patentee after: Beijing Tasson Technology Ltd. Address before: Room 701, 7 / F, building 6, courtyard 8, KEGU 1st Street, Beijing Economic and Technological Development Zone, Daxing District, Beijing 100176 Patentee before: BEIJING TASSON TECHNOLOGY Ltd. |