CN116614445B - Data transmission method and related device thereof - Google Patents

Data transmission method and related device thereof Download PDF

Info

Publication number
CN116614445B
CN116614445B CN202310891324.8A CN202310891324A CN116614445B CN 116614445 B CN116614445 B CN 116614445B CN 202310891324 A CN202310891324 A CN 202310891324A CN 116614445 B CN116614445 B CN 116614445B
Authority
CN
China
Prior art keywords
data
current
credit token
target
storage space
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
CN202310891324.8A
Other languages
Chinese (zh)
Other versions
CN116614445A (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.)
Suzhou Yangsiping Semiconductor Co ltd
Original Assignee
Suzhou Yangsiping Semiconductor 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 Suzhou Yangsiping Semiconductor Co ltd filed Critical Suzhou Yangsiping Semiconductor Co ltd
Priority to CN202310891324.8A priority Critical patent/CN116614445B/en
Publication of CN116614445A publication Critical patent/CN116614445A/en
Application granted granted Critical
Publication of CN116614445B publication Critical patent/CN116614445B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/215Flow control; Congestion control using token-bucket
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses a data transmission method and a related device thereof, and relates to the technical field of data transmission. The data transmission method comprises the following steps: receiving first target data; the first target data is obtained by the data receiving device based on at least the first credit token data; the first credit token data are used for the data transmitting device to acquire the first credit token data based on the first target data by acquiring the data output quantity of the data storage space of the data receiving device meeting a first preset condition; current first count data is obtained based on the first credit token data. The method or the device provided by the application is suitable for application scenes of two-way data transmission, can effectively reduce credit token data generated in the data transmission process, and has less quantity of credit token data which is not easy to cause channel blocking, thereby reducing the probability of occurrence of problems such as data packet damage or loss caused by channel blocking in the data transmission process.

Description

Data transmission method and related device thereof
Technical Field
The application relates to the technical field of data transmission, in particular to a data transmission method and a related device thereof.
Background
In data transmission, a data packet loss phenomenon often occurs due to transmission blocking, and the situation of data packet loss cannot be tolerated generally, so if the data storage space of a downstream node is fully loaded and backlog with the data packet to cause transmission blocking, that is, the data storage space of the downstream node cannot continue to accommodate new data packets, a certain back pressure mechanism is needed to prompt an upstream node for data packet transmission to stop transmitting data, and when the data storage space of the downstream node has enough storage margin, the data packet is continuously transmitted again.
In the prior art, the backpressure mechanism comprises a buffer backpressure mechanism based on credit token data. The back pressure mechanism mainly records the allowance information of the data storage space of the upstream node by setting a data counter. Under the mechanism, if the data storage space of the downstream node has data packet output, the downstream node sends credit token data to the upstream node, and after the upstream node receives the credit token data, the data counter is updated based on the credit token data; if the upstream node transmits the data packet to the downstream node, the upstream node updates the data counter based on the data packet, so that the upstream node can know the storage margin of the data storage space of the downstream node at any time. However, such back pressure mechanisms have drawbacks, such as: if the upstream node and the downstream node need to perform bidirectional data transmission, that is, if the downstream node also has a data packet to transmit to the upstream node, a large amount of credit token data will be generated during the transmission process, and these credit token data will cause channel blocking.
Disclosure of Invention
The application aims to provide a data transmission method and a related device thereof, which are used for solving the technical problem that the existing buffer back pressure mechanism can generate a large amount of credit token data to cause channel blocking.
In order to achieve the above purpose, the present application provides the following technical solutions:
in a first aspect, the present application proposes a data transmission apparatus, the apparatus comprising:
the first data receiving and transmitting module is used for receiving first target data; the first target data is obtained by the data receiving device based on at least the first credit token data; the first credit token data is used for the data transmitting device to acquire the data output quantity of the data storage space, which satisfies a first preset condition, of the data receiving device;
the first data processing module is used for acquiring first credit token data based on the first target data; the method comprises the steps of,
for obtaining current first count data based on the first credit token data; the current first count data is obtained based on the first credit token data and historical first count data; the current first count data is used for representing current allowance information of a data storage space of the data receiving device.
In a second aspect, the present application proposes a data receiving apparatus comprising:
the first data acquisition module is used for acquiring first credit token data and current second count data; the first credit token data is used for a data sending device to acquire the data output quantity of the data storage space, which satisfies a first preset condition, of the data receiving device; the current second count data is used for representing current allowance information of the data storage space of the data sending device;
the second data processing module is used for acquiring first target data based on the first credit token data;
and the second data receiving and transmitting module is used for transmitting the first target data to the data transmitting device if the storage allowance of the data storage space of the current data transmitting device is larger than the storage space occupation amount of the first target data.
As an implementation manner in this embodiment, the first data obtaining module is further configured to obtain current third count data, where the current third count data is obtained by updating historical third count data;
the second data processing module is further configured to determine that a first preset condition is met if the current third count data reaches a first preset threshold; the method comprises the steps of,
And if the first preset condition is met, resetting the current third counting data.
In a third aspect, the present application proposes a data transmission apparatus, comprising:
the first data receiving and transmitting module is used for receiving first target data; the first target data is obtained by the data receiving device at least based on the first credit token data and the first data to be transmitted; the first credit token data is used for the data transmitting device to acquire the data output quantity of the data storage space, which satisfies a first preset condition, of the data receiving device;
the first data processing module is used for acquiring first credit token data based on the first target data; the method comprises the steps of,
for obtaining current first count data based on the first credit token data; the current first count data is obtained based on the first credit token data and historical first count data; the current first count data is used for representing current allowance information of a data storage space of the data receiving device.
In a fourth aspect, the present application proposes a data receiving apparatus comprising:
the first data acquisition module is used for acquiring first credit token data, first data to be sent and current second count data; the first credit token data is used for a data sending device to acquire the data output quantity of the data storage space, which satisfies a first preset condition, of the data receiving device; the current second count data is used for representing the allowance information of the current data storage space of the data sending device;
The second data processing module is used for acquiring first target data and second credit token data based on the first credit token data and the first data to be transmitted;
the second data transceiver module is used for transmitting the first target data to the data transmitting device if the storage allowance of the data storage space of the current data transmitting device is larger than the storage space occupation amount of the first target data;
the second data processing module is further configured to update the current second count data based on the second credit token data.
As an implementation manner in this embodiment, the first data obtaining module is further configured to obtain current third count data, where the current third count data is obtained by updating historical third count data;
the second data processing module is further configured to determine that a first preset condition is met if the current third count data reaches a first preset threshold; the method comprises the steps of,
and if the first preset condition is met, resetting the current third counting data.
In a fifth aspect, the present application proposes a data transmission method, applied to a data transmission device, the method comprising:
receiving first target data; the first target data is obtained by the data receiving device based on at least the first credit token data; the first credit token data is used for the data transmitting device to acquire the data output quantity of the data storage space, which satisfies a first preset condition, of the data receiving device;
Acquiring first credit token data based on the first target data;
acquiring current first count data based on the first credit token data; the current first count data is obtained based on the first credit token data and historical first count data; the current first count data is used for representing current allowance information of a data storage space of the data receiving device.
In a sixth aspect, the present application proposes a data transmission method, applied to a data receiving device, the method comprising:
acquiring first credit token data and current second count data; the first credit token data is used for a data sending device to acquire the data output quantity of the data storage space, which satisfies a first preset condition, of the data receiving device; the current second count data is used for representing current allowance information of the data storage space of the data sending device;
acquiring first target data based on the first credit token data;
and if the storage allowance of the data storage space of the current data transmitting device is larger than the storage space occupation amount of the first target data, transmitting the first target data to the data transmitting device.
As one implementation of this embodiment, before the obtaining the first credit token data and the current second count data, the method further includes:
Acquiring current third counting data, wherein the current third counting data is updated by historical third counting data;
if the current third counting data reaches a first preset threshold value, judging that a first preset condition is met;
and if the first preset condition is met, resetting the current third counting data.
In a seventh aspect, the present application proposes a data transmission method, applied to a data transmission device, the method comprising:
receiving first target data; the first target data is obtained by the data receiving device at least based on the first credit token data and the first data to be transmitted; the first credit token data is used for the data transmitting device to acquire the data output quantity of the data storage space, which satisfies a first preset condition, of the data receiving device;
acquiring first credit token data based on the first target data;
acquiring current first count data based on the first credit token data; the current first count data is obtained based on the first credit token data and historical first count data; the current first count data is used for representing current allowance information of a data storage space of the data receiving device.
In an eighth aspect, the present application proposes a data transmission method, applied to a data receiving device, the method comprising:
acquiring first credit token data, first data to be sent and current second count data; the first credit token data is used for a data sending device to acquire the data output quantity of the data storage space, which satisfies a first preset condition, of the data receiving device; the current second count data is used for representing the allowance information of the current data storage space of the data sending device;
acquiring first target data and second credit token data based on the first credit token data and the first data to be transmitted;
if the storage allowance of the data storage space of the current data transmission device is larger than the storage space occupation amount of the first target data, the first target data is transmitted to the data transmission device;
updating the current second count data based on the second credit token data.
As one implementation manner in this embodiment, before the obtaining the first credit token data, the first data to be sent, and the current second count data, the method further includes:
acquiring current third counting data, wherein the current third counting data is updated by historical third counting data;
If the current third counting data reaches a first preset threshold value, judging that a first preset condition is met;
and if the first preset condition is met, resetting the current third counting data.
In a ninth aspect, the present application proposes a data transmission device, comprising:
a data transmitting device for receiving first target data; the first target data is obtained by the data receiving device based on at least the first credit token data; the first credit token data is used for the data transmitting device to acquire the data output quantity of the data storage space, which satisfies a first preset condition, of the data receiving device; the method comprises the steps of,
for obtaining first credit token data based on the first target data; the method comprises the steps of,
for obtaining current first count data based on the first credit token data; the current first count data is obtained based on the first credit token data and historical first count data; the current first count data is used for representing current allowance information of a data storage space of the data receiving device;
the data receiving device is used for acquiring the first credit token data and the current second count data; the first credit token data is used for a data sending device to acquire the data output quantity of the data storage space, which satisfies a first preset condition, of the data receiving device; the current second count data is used for representing current allowance information of the data storage space of the data sending device; the method comprises the steps of,
For obtaining first target data based on the first credit token data; the method comprises the steps of,
and if the storage margin of the data storage space of the current data transmitting device is larger than the storage space occupation amount of the first target data, transmitting the first target data to the data transmitting device.
As one implementation manner in this embodiment, the data receiving device is further configured to obtain current third count data, where the current third count data is updated by historical third count data; the method comprises the steps of,
if the current third counting data reach a first preset threshold value, judging that a first preset condition is met; the method comprises the steps of,
and if the first preset condition is met, resetting the current third counting data.
In a tenth aspect, the present application proposes a data transmission device comprising:
a data transmitting device for receiving first target data; the first target data is obtained by the data receiving device at least based on the first credit token data and the first data to be transmitted; the first credit token data is used for the data transmitting device to acquire the data output quantity of the data storage space, which satisfies a first preset condition, of the data receiving device; the method comprises the steps of,
For obtaining first credit token data based on the first target data; the method comprises the steps of,
for obtaining current first count data based on the first credit token data; the current first count data is obtained based on the first credit token data and historical first count data; the current first count data is used for representing current allowance information of a data storage space of the data receiving device;
the data receiving device is used for acquiring first credit token data, first data to be sent and current second count data; the first credit token data is used for a data sending device to acquire the data output quantity of the data storage space, which satisfies a first preset condition, of the data receiving device; the current second count data is used for representing the allowance information of the current data storage space of the data sending device; the method comprises the steps of,
for obtaining first target data and second credit token data based on the first credit token data and the first data to be transmitted; the method comprises the steps of,
the method comprises the steps of sending first target data to a data sending device if the storage allowance of the data storage space of the current data sending device is larger than the storage space occupation amount of the first target data; the method comprises the steps of,
For updating the current second count data based on the second credit token data.
As one implementation manner in this embodiment, the data receiving device is further configured to obtain current third count data, where the current third count data is updated by historical third count data; the method comprises the steps of,
if the current third counting data reach a first preset threshold value, judging that a first preset condition is met; the method comprises the steps of,
and if the first preset condition is met, resetting the current third counting data.
In an eleventh aspect, the present application proposes a computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes or a set of instructions, the at least one instruction, the at least one program, the set of codes or the set of instructions being loaded and executed by a processor to implement the data transmission method of any one of the fifth, sixth, seventh or eighth aspects.
Compared with the prior art, the application has the beneficial effects that:
the method is suitable for application scenes of two-way data transmission, credit token data generated in the data transmission process can be effectively reduced, channel blocking is not easy to be caused by the credit token data with small quantity, and the probability of occurrence of problems such as data packet damage or loss and the like caused by the channel blocking in the data transmission process is further reduced.
Drawings
Fig. 1 is a schematic flow chart of a data transmission method according to an embodiment of the present application;
fig. 2 is a flow chart of another data transmission method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a data transmitting device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a data receiving device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a data transmission device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms first, second and the like in the description and in the claims of the embodiments of the application and in the above-described figures are used for distinguishing between similar objects (e.g. the first and second count data are each represented by a different count data, and other similar data) and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments described herein may be implemented in other sequences than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or modules is not necessarily limited to those explicitly listed but may include other steps or modules not expressly listed or inherent to such process, method, article, or apparatus, such that the partitioning of modules by embodiments of the application is only one logical partitioning, may be implemented with additional partitioning, such as a plurality of modules may be combined or integrated in another system, or some features may be omitted, or not implemented, and further, such that the coupling or direct coupling or communication connection between modules may be via some interfaces, indirect coupling or communication connection between modules may be electrical or otherwise similar, none of which are limited in embodiments of the application. The modules or sub-modules described as separate components may or may not be physically separate, may or may not be physical modules, or may be distributed in a plurality of circuit modules, and some or all of the modules may be selected according to actual needs to achieve the purposes of the embodiment of the present application.
Before understanding the technical solution of the present application, it should be clear that the buffer backpressure mechanism designed based on credit token data in the prior art is mainly aimed at an application scenario of unidirectional data transmission, in which only the data transmitting device transmits data packets to the data receiving device, but the data receiving device does not transmit data packets to the data transmitting device, as the name implies. In this application scenario, the buffer backpressure mechanism of the prior art is: and immediately feeding back credit token data to the data sending device every time the data receiving device outputs a data packet so as to enable the data sending device to clear the storage allowance of the data storage space of the data receiving device.
It should be clear that the buffer counter-pressure mechanism described above is not suitable for use in a bidirectional data transmission application scenario, where, as the name implies, the data transmitting device needs to transmit data packets to the data receiving device, and the data receiving device needs to transmit data packets to the data transmitting device. In the application scenario of bidirectional data transmission, if the number of data packets to be transmitted is numerous, a large amount of credit token data generated based on a buffer back pressure mechanism in the prior art is easy to cause channel blocking, the data transmission is delayed due to light weight, and the data is backlogged and lost due to heavy weight.
After understanding the buffer backpressure mechanism and the drawbacks of the prior art, the following describes a data transmission method and related apparatus according to the present application.
An exemplary flow of a data transmission method provided by the present application is described below. Fig. 1 is a schematic flow chart of a data transmission method according to an embodiment of the present application, where the method or the operational steps of the flow chart shown in the example or the flow chart are provided, but more or fewer operational steps may be included based on conventional or non-inventive labor. The sequence of steps recited in the embodiments is only one way of a plurality of execution sequences, and does not represent a unique execution sequence, and when actually executed, may be executed in parallel or in accordance with the method or flow sequence shown in the embodiments or the drawings (e.g., a parallel processor or a multi-threaded processing environment). As shown in fig. 1, the execution subject data transmission device of the exemplary flow refers to any device capable of data transmission, and the data reception device refers to any device capable of data reception, for example: the data transmitting means may be a chip capable of data transmission, and the data receiving means may be a chip capable of data reception. Of course, in some cases, the data receiving apparatus may be a data transmitting apparatus having a data receiving function, and the data transmitting apparatus may also be a data receiving apparatus having a data receiving function.
As shown in fig. 1, the method includes:
step S100: the data receiving device obtains the first credit token data and the current second count data.
Specifically, in this embodiment, the first credit token data is used for the data sending device to obtain the data output quantity of the data storage space that the data receiving device meets the first preset condition, that is, the first credit token data may include the data output quantity of the data storage space that the data receiving device meets the first preset condition.
It should be clear that the first preset condition in this embodiment may be any preset condition capable of reducing the amount of acquired credit token data, for example: in one implementation of this embodiment, the first preset condition may be that if the data receiving apparatus outputs n data packets, one credit token data is fed back to the data sending apparatus, where n is a positive integer greater than or equal to 2. In a specific implementation manner of this embodiment, assuming that n=2 and the data receiving apparatus outputs 1000 data packets per second, the data receiving apparatus needs to acquire 500 credit token data per second, that is, the data receiving apparatus needs to sequentially transmit 500 credit token data per second to the data transmitting apparatus according to the acquired timing. It is easy to think that when n=500, the data receiving apparatus only needs to sequentially transmit 2 pieces of credit token data to the data transmitting apparatus per second in accordance with the acquired timing. It is easily understood that, in other implementations of the present embodiment, the first preset condition may be that if the size of the data packets continuously output by the data receiving apparatus reaches z megabytes in a cumulative manner, the data transmitting apparatus is fed back with a credit token data, where z is any value greater than 0.
In another implementation manner of this embodiment, the first preset condition may be that if the time of continuously outputting the data packets by the data receiving apparatus reaches m milliseconds, a credit token data is fed back to the data sending apparatus, where m is a positive integer greater than or equal to 1. In a specific implementation manner of this embodiment, assuming that m=100, the data receiving apparatus outputs 1000 data packets per second, the data receiving apparatus needs to acquire 10 pieces of credit token data per second, that is, the data receiving apparatus needs to sequentially transmit 10 pieces of credit token data to the data transmitting apparatus according to the acquired timing.
It should be clear that the above embodiments of the present embodiment can greatly reduce the amount of acquired credit token data compared with the prior art, thereby reducing the risk of blocking channels due to excessive credit token data.
The first preset condition is the time when the data receiving device obtains the first credit token data, and in a specific embodiment of the present application, the first preset condition may be that each time the data receiving device sends one target data, one first credit token data is obtained.
In another embodiment of the present application, at step S100: before acquiring the first credit token data and the current second count data, the method further comprises:
and S000, acquiring current third counting data, wherein the current third counting data is updated by historical third counting data.
Specifically, as can be seen from the foregoing, the current third counting data may be any data for metering, for example: time, number of data packets, or size of data packets.
Step S010: and if the current third counting data reaches a first preset threshold value, judging that a first preset condition is met.
Specifically, the first preset threshold may be designed according to requirements, for example: n, z and m in the foregoing embodiments are the first preset threshold in each embodiment.
It is clear that when the first preset threshold is set, it is necessary to match the first preset threshold with the data transmission speed between the data receiving apparatus and the data transmitting apparatus, for example: in a specific embodiment, the data transmitting device needs to transmit 1000 data packets to the data receiving device every second; the data receiving device needs to send 1000 data packets to the data sending device every second; the storage maximum capacity of the data storage space of the data sending device and the data receiving device is 1000 data packets, and the third counting data is the number of the data packets; if the first preset threshold is set to 2 data packets, the data receiving device needs to send 500 credit token data to the data sending device every second, which affects the speed of sending the data packets to the data sending device by the data receiving device; if the first preset threshold is set to 1000 data packets, the data receiving device needs to send 1 credit token data to the data sending device every second, and the speed of sending the data packets to the data sending device by the data receiving device is not affected, but the data sending device considers that the data storage space of the data receiving device is full and stops sending the data packets because the data sending device does not receive the credit token data fed back by the data receiving device for a long time, so that the speed of sending the data packets to the data receiving device by the data sending device is affected.
Step S020: and if the first preset condition is met, resetting the current third counting data.
Specifically, as can be seen from the above, when the first preset condition is met, the data receiving device feeds back a credit token data to the data sending device, so that the data sending device knows the current allowance information of the data storage space of the data receiving device. Therefore, each time the current third count data satisfies the first preset condition, the current third count data needs to be reset to make a next determination that the first preset condition is satisfied.
It should be clear that there are numerous methods for resetting the current third count data, for example: in one embodiment of the present application, resetting the current third count data may be directly zeroing the value of the current third count data.
Specifically, in an embodiment of the present application, the current second count data is used to represent current remaining information of the data storage space of the data transmission device. It should be clear that the maximum storage capacity of the data storage space of the data transmission device can be represented in any way, for example: in an application scenario where the sizes of the data packets transmitted between the data transmission device and the data receiving device are consistent, the storage maximum capacity of the data storage space of the data transmission device may be represented by the number of data packets, and assuming that the storage maximum capacity of the data storage space of the data transmission device is 100 megabytes and the size of each data packet is 1 megabyte, the storage maximum capacity of the data storage space of the data transmission device may be represented as 100 data packets; in an application scenario where the sizes of the data packets transmitted between the data transmission device and the data reception device are not uniform, the maximum byte capacity can be directly used to represent the storage maximum capacity of the data storage space of the data transmission device.
Step S200: the data receiving device obtains first target data based on the first credit token data.
It should be clear that, in some data transmission processes, based on the requirements of hardware or software, the size or format of each data packet used for transmission needs to be consistent, and if the size or format of the first credit token data is inconsistent with that of the data packet, the first credit token data needs to be processed to obtain first target data consistent with that of the data packet used for transmission.
It is to be understood that if the size or format of the first credit token data acquired in step S100 matches the requirement of hardware or software, step S200 is not required, that is, the first credit token data at this time may be regarded as the first target data. Of course, it is easily conceivable that in one embodiment of the present application, if there is no requirement for the size or format of each data packet for transmission during the transmission of data, step S200 need not be performed either.
Step S300: the data receiving device determines that the first target data is transmitted to the data transmitting device if the storage margin of the data storage space of the current data transmitting device is larger than the storage space occupation amount of the first target data.
Specifically, as can be seen from the foregoing, before the data receiving apparatus transmits any data to the data transmitting apparatus, the data receiving apparatus needs to determine whether the storage margin of the storage space of the data transmitting apparatus can accommodate the data, so as to prevent the data stored in the data transmitting apparatus from being lost or damaged.
It should be clear from the foregoing that, in this embodiment, the storage margin of the data storage space of the current data transmission apparatus may be represented as the number of data packets, or may be represented as byte capacity, for example: in a specific implementation manner of this embodiment, if the storage margin of the data storage space of the current data transmission device is 3 data packets and the storage space of the first target data occupies 1 data packet, it is indicated that the first target data may be transmitted to the data transmission device; if the storage margin of the data storage space of the current data transmission device is 3 data packets and the storage space occupation amount of the first target data is 4 data packets, the first target data cannot be transmitted to the data transmission device; in another specific implementation manner of this embodiment, if the storage margin of the data storage space of the current data transmission device is 1 megabyte and the storage space occupation amount of the first target data is 0.5 megabyte, it is indicated that the first target data can be transmitted to the data transmission device; if the storage margin of the data storage space of the current data transmission apparatus is 1 megabyte and the storage space occupation amount of the first target data is 2 megabytes, it is indicated that the first target data cannot be transmitted to the data transmission apparatus.
Step S400: the data transmitting device receives first target data.
Specifically, in this embodiment, the first target data is obtained by the data receiving device based on at least the first credit token data; the first credit token data is used for the data sending device to acquire the data output quantity of the data storage space, which satisfies a first preset condition, of the data receiving device.
Step S500: the data transmitting means acquires first credit token data based on the first target data.
As can be seen from the foregoing, the first credit token data at least includes the data output of the data storage space that the data receiving device meets the first preset condition, and it is easy to understand that the first credit token data may be any form of data, for example: the first credit token data may be some fixed bytes in the first target data, or the first credit token data may be a separate piece of data, without any limitation.
Step S600: the data transmitting device acquires current first count data based on the first credit token data.
It should be clear that the current first count data is used to indicate the current margin information of the data storage space of the data receiving apparatus, that is, the data transmitting apparatus knows the margin information of the data storage space of the data receiving apparatus through the first count data during bidirectional data transmission.
It is easy to understand that the current first count data needs to be updated so that the data transmitting device knows the remaining information of the data storage space of the data receiving device in real time. Specifically, the current first count data is obtained based on the first credit token data and the historical first count data. In this embodiment, the historical first count data refers to count data before the first credit token data is received, and the current first count data refers to count data after the first credit token data is received. For example: in a specific embodiment of the present application, the information carried by the first credit token data outputs 20 data packets from the data storage space of the data receiving device, the first count data (i.e. the historical first count data) before the first credit token data is not received is 80 data packets, and the first count data (i.e. the current first count data) after the first credit token data is received is updated to 100 data packets.
The data transmission method is suitable for application scenes of bidirectional data transmission, credit token data generated in the data transmission process can be effectively reduced, channel blocking is not easy to be caused by the credit token data with a small quantity, and the probability of occurrence of problems such as data packet damage or loss caused by the channel blocking in the data transmission process is further reduced.
In order to further reduce the occupation of the channel by the credit token data during the data transmission, in another embodiment of the present application, as shown in fig. 2, the data transmission method includes:
step S100: the data receiving device acquires first credit token data, first data to be transmitted and current second count data.
Specifically, the first credit token data is used for the data sending device to acquire the data output quantity of the data storage space, which satisfies the first preset condition, of the data receiving device; the current second count data is used for representing the allowance information of the current data storage space of the data sending device; and the first data to be transmitted refers to any data that is required to be transmitted to the data transmitting apparatus by the data receiving apparatus.
Step S200: the data receiving device acquires first target data and second credit token data based on the first credit token data and the first data to be transmitted.
Specifically, the second credit token data is used for representing the storage space occupation amount of the first data to be sent. In this embodiment, the first target data is composed of the first credit token data and the first data to be transmitted, that is, the information including the data output quantity of the data storage space of the data receiving device meeting the first preset condition is encoded into the first data to be transmitted, so that the data receiving device does not need to directly transmit the first credit token data to the data transmitting device, and occupation of the channel by the credit token data is further reduced.
Step S300: the data receiving device determines that the first target data is transmitted to the data transmitting device if the storage margin of the data storage space of the current data transmitting device is larger than the storage space occupation amount of the first target data.
Specifically, in this embodiment, the determination manner that the storage margin of the data storage space of the current data transmitting apparatus is larger than the storage space occupation amount of the first target data is the same as that in the previous embodiment.
Step S400: the data transmitting device receives first target data.
Specifically, the first target data is obtained by the data receiving device based on at least the first credit token data and the first data to be sent; the first credit token data is used for the data sending device to acquire the data output quantity of the data storage space, which satisfies a first preset condition, of the data receiving device.
Step S500: the data transmitting means acquires first credit token data based on the first target data.
It should be clear that any prior art may be used to program the first credit token data into the first data to be transmitted to form the first target data, so that the data transmitting apparatus can extract, from the first target data, information contained in the first credit token data, for example: a string of a fixed length may be encoded in the beginning or end of the first data to be transmitted.
Step S600: the data transmitting device acquires current first count data based on the first credit token data.
Specifically, the current first count data is obtained based on the first credit token data and historical first count data; the current first count data is used for representing current allowance information of a data storage space of the data receiving device.
Step S700: the data receiving means updates the current second count data based on the second credit token data.
Specifically, the current second count data is derived based on the second credit token data and the historical second count data. It should be clear that the second count data is the margin information for indicating the current data storage space of the data transmission device, and therefore, the second count data is similar to the first count data, and the current second count data needs to be updated so that the data reception device knows the margin information of the data storage space of the data transmission device in real time. In the present embodiment, the history second count data is count data before the data receiving apparatus transmits the first target data, and the current second count data is count data after the data receiving apparatus transmits the first target data. For example: in a specific embodiment of the present application, the information carried by the second credit token data is that the storage space occupied by the first data to be sent is 3 data packets, the second count data (i.e. the historical second count data) before the data receiving device sends the first target data is 80 data packets, and the second count data (i.e. the current second count data) after the data receiving device sends the first target data is updated to 77 data packets.
It should be clear that the present embodiment is mainly directed to an application scenario of bidirectional data transmission with a large amount of transmission between a data receiving device and a data transmitting device, and is directed to an application scenario of unidirectional data transmission or an application scenario of bidirectional data transmission with a small amount of transmission between a data receiving device and a data transmitting device, because it is difficult to acquire first data to be transmitted, that is, there is no or only a small amount of first data to be transmitted in the data receiving device that needs to be transmitted to the data transmitting device, the data transmitting device cannot acquire the first data to be transmitted for a long time to form first target data. To solve the technical problem, in another embodiment of the present application, before the first credit token data, the first data to be transmitted, and the current second count data are acquired in step S100, the method further includes:
and S000, acquiring current third counting data, wherein the current third counting data is updated by historical third counting data.
Specifically, as can be seen from the foregoing, the current third counting data may be any data for metering, for example: time, number of data packets, or size of data packets. In this embodiment, the third count data requires a time.
Step S010: and if the current third counting data reaches a first preset threshold value, judging that a first preset condition is met.
Specifically, the first preset threshold may be designed according to the requirements described above.
Step S020: and if the first preset condition is met, resetting the current third counting data.
Specifically, the current third count data may be reset as described above.
In this embodiment, if the current third count data reaches the first preset threshold and there is no first data to be sent to the data sending device in the data receiving device, the first data to be sent may be defaulted to be absent, and the first credit token data may be separately formed into the first target data and sent to the data sending device.
The data transmission method is suitable for application scenes of bidirectional data transmission, credit token data generated in the data transmission process can be effectively reduced, channel blocking is not easy to be caused by the credit token data with a small quantity, and the probability of occurrence of problems such as data packet damage or loss caused by the channel blocking in the data transmission process is further reduced. In the data transmission method, the credit token data and the data to be transmitted are combined and then transmitted, so that the number of the credit token data to be transmitted is further reduced.
After describing the embodiment of the data transmission method according to the present application, the embodiment of the data transmission device according to the present application is described below.
Specifically, as shown in fig. 3, in one embodiment of the present application, the data transmission apparatus 110 includes:
a first data transceiver module 111 for receiving first target data; the first target data is obtained by the data receiving device based on at least the first credit token data; the first credit token data is used for the data transmitting device 110 to acquire the data output quantity of the data storage space of the data receiving device meeting a first preset condition;
a first data processing module 112, configured to obtain first credit token data based on the first target data; the method comprises the steps of,
for obtaining current first count data based on the first credit token data; the current first count data is obtained based on the first credit token data and historical first count data; the current first count data is used for representing current allowance information of a data storage space of the data receiving device.
In another embodiment of the present application, as shown in fig. 3, the data transmission apparatus 110 includes:
A first data transceiver module 111 for receiving first target data; the first target data is obtained by the data receiving device at least based on the first credit token data and the first data to be transmitted; the first credit token data is used for the data transmitting device 110 to acquire the data output quantity of the data storage space of the data receiving device meeting a first preset condition;
a first data processing module 112, configured to obtain first credit token data based on the first target data; the method comprises the steps of,
for obtaining current first count data based on the first credit token data; the current first count data is obtained based on the first credit token data and historical first count data; the current first count data is used for representing current allowance information of a data storage space of the data receiving device.
The data transmitting device is suitable for application scenes of two-way data transmission, credit token data generated in the data transmission process can be effectively reduced, channel blocking is not easy to be caused by the credit token data with small quantity, and further the probability of occurrence of problems such as data packet damage or loss caused by the channel blocking in the data transmission process is reduced.
After describing the embodiments of the data transmission device according to the present application, the embodiments of the data reception device according to the present application are described below.
Specifically, as shown in fig. 4, in one embodiment of the present application, the data receiving apparatus 120 includes:
a first data acquisition module 121, configured to acquire first credit token data and current second count data; the first credit token data is used for the data transmitting device 110 to acquire the data output quantity of the data storage space of the data receiving device 120 meeting the first preset condition; the current second count data is used to represent current margin information of the data storage space of the data transmitting device 110;
a second data processing module 122, configured to obtain first target data based on the first credit token data;
and a second data transceiver module 123, configured to send the first target data to the data sending device 110 if the storage margin of the data storage space of the current data sending device 110 is greater than the storage space occupation amount of the first target data.
In another embodiment of the present application, as shown in fig. 4, the data receiving apparatus 120 includes:
a first data acquisition module 121, configured to acquire first credit token data, first data to be transmitted, and current second count data; the first credit token data is used for the data transmitting device 110 to acquire the data output quantity of the data storage space of the data receiving device 120 meeting the first preset condition; the current second count data is used to represent the remaining information of the current data storage space of the data transmitting device 110;
A second data processing module 122, configured to obtain first target data and second credit token data based on the first credit token data and the first data to be sent;
a second data transceiver module 123, configured to send the first target data to the data sending device 110 if the storage margin of the data storage space of the current data sending device 110 is greater than the storage space occupation amount of the first target data;
the second data processing module 122 is further configured to update the current second count data based on the second credit token data.
In another embodiment of the present application, the first data obtaining module 121 is further configured to obtain current third count data, where the current third count data is updated by historical third count data;
the second data processing module 122 is further configured to determine that a first preset condition is satisfied if the current third count data reaches a first preset threshold; the method comprises the steps of,
and if the first preset condition is met, resetting the current third counting data.
The data receiving device is suitable for application scenes of two-way data transmission, credit token data generated in the data transmission process can be effectively reduced, channel blocking is not easy to be caused by the credit token data with small quantity, and further the probability of occurrence of problems such as data packet damage or loss caused by the channel blocking in the data transmission process is reduced.
After describing the embodiments of the data receiving apparatus according to the present application, the embodiments of the data transmission device according to the present application are described below.
Specifically, in one embodiment of the present application, as shown in fig. 5, the data transmission apparatus 100 includes: the data transmitting apparatus 110 and the data receiving apparatus 120. It should be clear that the data transmission device 100 may perform data transmission not only based on the data transmitting means 110 and the data receiving means 120, but also based on other devices having the same structure as the data transmission device 100, as is easily understood, in other application scenarios, the data transmission device 100 may perform data transmission based on the data transmitting means 110 and the data receiving means 120.
Data transmitting means 110 for receiving first target data; the first target data is derived by the data receiving means 120 based at least on the first credit token data; the first credit token data is used for the data transmitting device 110 to acquire the data output quantity of the data storage space of the data receiving device 120 meeting the first preset condition; the method comprises the steps of,
for obtaining first credit token data based on the first target data; the method comprises the steps of,
For obtaining current first count data based on the first credit token data; the current first count data is obtained based on the first credit token data and historical first count data; the current first count data is used to represent current margin information of the data storage space of the data receiving apparatus 120;
data receiving means 120 for acquiring first credit token data and current second count data; the first credit token data is used for the data transmitting device 110 to acquire the data output quantity of the data storage space of the data receiving device 120 meeting the first preset condition; the current second count data is used to represent current margin information of the data storage space of the data transmitting device 110; the method comprises the steps of,
for obtaining first target data based on the first credit token data; the method comprises the steps of,
for transmitting the first target data to the data transmitting apparatus 110 if the storage margin of the data storage space of the current data transmitting apparatus 110 is greater than the storage space occupation amount of the first target data.
In another embodiment of the present application, the data transmitting device 110 is configured to receive first target data; the first target data is obtained by the data receiving device 120 based on at least the first credit token data and the first data to be transmitted; the first credit token data is used for the data transmitting device 110 to acquire the data output quantity of the data storage space of the data receiving device 120 meeting the first preset condition; the method comprises the steps of,
For obtaining first credit token data based on the first target data; the method comprises the steps of,
for obtaining current first count data based on the first credit token data; the current first count data is obtained based on the first credit token data and historical first count data; the current first count data is used to represent current margin information of the data storage space of the data receiving apparatus 120;
data receiving means 120 for acquiring first credit token data, first data to be transmitted and current second count data; the first credit token data is used for the data transmitting device 110 to acquire the data output quantity of the data storage space of the data receiving device 120 meeting the first preset condition; the current second count data is used to represent the remaining information of the current data storage space of the data transmitting device 110; the method comprises the steps of,
for obtaining first target data and second credit token data based on the first credit token data and the first data to be transmitted; the method comprises the steps of,
for transmitting the first target data to the data transmitting device 110 if the storage margin of the data storage space of the current data transmitting device 110 is greater than the storage space occupation amount of the first target data; the method comprises the steps of,
For updating the current second count data based on the second credit token data.
In another embodiment of the present application, the data receiving device 120 is further configured to obtain current third count data, where the current third count data is updated by the historical third count data; the method comprises the steps of,
if the current third counting data reach a first preset threshold value, judging that a first preset condition is met; the method comprises the steps of,
and if the first preset condition is met, resetting the current third counting data.
The data transmission equipment is suitable for application scenes of bidirectional data transmission, credit token data generated in the data transmission process can be effectively reduced, channel blocking is not easy to be caused by the credit token data with a small quantity, and the probability of occurrence of problems such as data packet damage or loss caused by the channel blocking in the data transmission process is further reduced.
Having described embodiments of the data receiving apparatus according to the present application, embodiments of the computer-readable storage medium according to the present application are described below.
Specifically, the computer readable storage medium stores at least one instruction, at least one program, a code set, or an instruction set, where the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement a data transmission method according to any one of the above.
It should be apparent that computer-readable storage media of the present application, including both permanent and non-permanent, removable and non-removable media, may be used to implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described method, apparatus and device may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus, device and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical modules, i.e., may be located in one place, or may be distributed over a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated modules, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When the computer program is loaded and executed on a computer, the flow or functions according to the embodiments of the present application are fully or partially produced. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be stored by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), etc.
Although embodiments of the present application have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made therein without departing from the principles and spirit of the application, the scope of which is defined in the appended claims and their equivalents.

Claims (6)

1. A data transmission apparatus, comprising:
the first data receiving and transmitting module is used for receiving first target data; the first target data is obtained by the data receiving device based on at least the first credit token data; the first credit token data is used for the data transmitting device to acquire the data output quantity of the data storage space, which satisfies a first preset condition, of the data receiving device;
the first data processing module is used for acquiring first credit token data based on the first target data; the method comprises the steps of,
for obtaining current first count data based on the first credit token data; the current first count data is obtained based on the first credit token data and historical first count data; the current first count data is used for representing current allowance information of a data storage space of the data receiving device;
The first target data is obtained based on the following manner: if the storage allowance of the data storage space of the data transmitting device is larger than the storage space occupation amount of the first target data, the data receiving device transmits the first target data to the data transmitting device;
if the current third counting data reaches a first preset threshold value, judging that a first preset condition is met; the current third counting data is updated by the data receiving device based on historical third counting data; resetting the current third counting data if the first preset condition is met;
the first target data is derived by the data receiving means based at least on first credit token data by:
the first target data consists of the first credit token data and first data to be sent; the first data to be transmitted is the data which the data receiving device needs to transmit to the data transmitting device; and if the third counting data reach a first preset threshold value and the data receiving device does not have the first data to be sent, the first credit token data are singly formed into first target data, and the first preset threshold value is preset.
2. A data receiving apparatus, comprising:
the first data acquisition module is used for acquiring first credit token data and current second count data; the first credit token data is used for a data sending device to acquire the data output quantity of the data storage space, which satisfies a first preset condition, of the data receiving device; the current second count data is used for representing current allowance information of the data storage space of the data sending device;
the second data processing module is used for acquiring first target data based on the first credit token data;
the second data transceiver module is used for transmitting the first target data to the data transmitting device if the storage allowance of the data storage space of the current data transmitting device is larger than the storage space occupation amount of the first target data;
the first data acquisition module is further used for acquiring current third counting data, and the current third counting data is updated by historical third counting data;
the second data processing module is further configured to determine that a first preset condition is met if the current third count data reaches a first preset threshold; the method comprises the steps of,
if the first preset condition is met, resetting the current third counting data;
The first target data is derived based on the first credit token data by:
the first target data consists of the first credit token data and first data to be sent; the first data to be transmitted is the data which the data receiving device needs to transmit to the data transmitting device; and if the third counting data reach a first preset threshold value and the data receiving device does not have the first data to be sent, the first credit token data are singly formed into first target data, and the first preset threshold value is preset.
3. A data transmission method applied to a data transmission device, the method comprising:
receiving first target data; the first target data is obtained by the data receiving device based on at least the first credit token data; the first credit token data is used for the data transmitting device to acquire the data output quantity of the data storage space, which satisfies a first preset condition, of the data receiving device;
acquiring first credit token data based on the first target data;
acquiring current first count data based on the first credit token data; the current first count data is obtained based on the first credit token data and historical first count data; the current first count data is used for representing current allowance information of a data storage space of the data receiving device;
The first target data is obtained based on the following manner: if the storage allowance of the data storage space of the data transmitting device is larger than the storage space occupation amount of the first target data, the data receiving device transmits the first target data to the data transmitting device;
if the current third counting data reaches a first preset threshold value, judging that a first preset condition is met; the current third counting data is updated by the data receiving device based on historical third counting data; resetting the current third counting data if the first preset condition is met;
the first target data is derived by the data receiving means based at least on first credit token data by:
the first target data consists of the first credit token data and first data to be sent; the first data to be transmitted is the data which the data receiving device needs to transmit to the data transmitting device; and if the third counting data reach a first preset threshold value and the data receiving device does not have the first data to be sent, the first credit token data are singly formed into first target data, and the first preset threshold value is preset.
4. A data transmission method applied to a data receiving device, the method comprising:
acquiring first credit token data and current second count data; the first credit token data is used for a data sending device to acquire the data output quantity of the data storage space, which satisfies a first preset condition, of the data receiving device; the current second count data is used for representing current allowance information of the data storage space of the data sending device;
acquiring first target data based on the first credit token data;
if the storage allowance of the data storage space of the current data transmission device is larger than the storage space occupation amount of the first target data, the first target data is transmitted to the data transmission device;
before the acquiring the first credit token data and the current second count data, the method further includes:
acquiring current third counting data, wherein the current third counting data is updated by historical third counting data;
if the current third counting data reaches a first preset threshold value, judging that a first preset condition is met;
if the first preset condition is met, resetting the current third counting data;
The first target data is derived based on the first credit token data by:
the first target data consists of the first credit token data and first data to be sent; the first data to be transmitted is the data which the data receiving device needs to transmit to the data transmitting device; and if the third counting data reach a first preset threshold value and the data receiving device does not have the first data to be sent, the first credit token data are singly formed into first target data, and the first preset threshold value is preset.
5. A data transmission apparatus, comprising:
a data transmitting device for receiving first target data; the first target data is obtained by the data receiving device based on at least the first credit token data; the first credit token data is used for the data transmitting device to acquire the data output quantity of the data storage space, which satisfies a first preset condition, of the data receiving device; the method comprises the steps of,
for obtaining first credit token data based on the first target data; the method comprises the steps of,
for obtaining current first count data based on the first credit token data; the current first count data is obtained based on the first credit token data and historical first count data; the current first count data is used for representing current allowance information of a data storage space of the data receiving device;
The data receiving device is used for acquiring the first credit token data and the current second count data; the first credit token data is used for a data sending device to acquire the data output quantity of the data storage space, which satisfies a first preset condition, of the data receiving device; the current second count data is used for representing current allowance information of the data storage space of the data sending device; the method comprises the steps of,
for obtaining first target data based on the first credit token data; the method comprises the steps of,
the method comprises the steps of sending first target data to a data sending device if the storage allowance of the data storage space of the current data sending device is larger than the storage space occupation amount of the first target data;
the data receiving device is further used for acquiring current third counting data, and the current third counting data is updated by historical third counting data; the method comprises the steps of,
if the current third counting data reach a first preset threshold value, judging that a first preset condition is met; the method comprises the steps of,
if the first preset condition is met, resetting the current third counting data;
the first target data is derived based on the first credit token data by:
The first target data consists of the first credit token data and first data to be sent; the first data to be transmitted is the data which the data receiving device needs to transmit to the data transmitting device; and if the third counting data reach a first preset threshold value and the data receiving device does not have the first data to be sent, the first credit token data are singly formed into first target data, and the first preset threshold value is preset.
6. A computer readable storage medium having stored therein at least one instruction, at least one program, code set, or instruction set, the at least one instruction, the at least one program, the code set, or instruction set being loaded and executed by a processor to implement the data transmission method of claim 3 or 4.
CN202310891324.8A 2023-07-20 2023-07-20 Data transmission method and related device thereof Active CN116614445B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310891324.8A CN116614445B (en) 2023-07-20 2023-07-20 Data transmission method and related device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310891324.8A CN116614445B (en) 2023-07-20 2023-07-20 Data transmission method and related device thereof

Publications (2)

Publication Number Publication Date
CN116614445A CN116614445A (en) 2023-08-18
CN116614445B true CN116614445B (en) 2023-10-20

Family

ID=87685763

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310891324.8A Active CN116614445B (en) 2023-07-20 2023-07-20 Data transmission method and related device thereof

Country Status (1)

Country Link
CN (1) CN116614445B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117041186B (en) * 2023-10-07 2024-01-30 苏州仰思坪半导体有限公司 Data transmission method, chip system, computing device and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102084627A (en) * 2008-06-27 2011-06-01 格诺多有限公司 Method of data delivery across a network
CN103297350A (en) * 2013-05-24 2013-09-11 华为技术有限公司 Implementing method and switching equipment of cell switching system
CN107592208A (en) * 2016-07-08 2018-01-16 中兴通讯股份有限公司 Flow managing method and device
CN108092888A (en) * 2017-10-31 2018-05-29 华为技术有限公司 A kind of transmission method based on Overlay networks, gateway and Transmission system
CN109347757A (en) * 2018-11-09 2019-02-15 锐捷网络股份有限公司 Message congestion control method, system, equipment and storage medium
CN111355669A (en) * 2018-12-20 2020-06-30 华为技术有限公司 Method, device and system for controlling network congestion
CN111917664A (en) * 2020-06-30 2020-11-10 北京瀚诺半导体科技有限公司 Queue management method and system
CN112737970A (en) * 2019-10-28 2021-04-30 华为技术有限公司 Data transmission method and related equipment
CN113541997A (en) * 2020-04-17 2021-10-22 安全物品有限公司 Configuration control device, system and method
CN113569196A (en) * 2021-07-15 2021-10-29 苏州仰思坪半导体有限公司 Data processing method, device, medium and equipment
CN115622945A (en) * 2022-09-15 2023-01-17 新华三信息安全技术有限公司 Message processing method and device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102084627A (en) * 2008-06-27 2011-06-01 格诺多有限公司 Method of data delivery across a network
CN103297350A (en) * 2013-05-24 2013-09-11 华为技术有限公司 Implementing method and switching equipment of cell switching system
CN107592208A (en) * 2016-07-08 2018-01-16 中兴通讯股份有限公司 Flow managing method and device
CN108092888A (en) * 2017-10-31 2018-05-29 华为技术有限公司 A kind of transmission method based on Overlay networks, gateway and Transmission system
CN109347757A (en) * 2018-11-09 2019-02-15 锐捷网络股份有限公司 Message congestion control method, system, equipment and storage medium
CN111355669A (en) * 2018-12-20 2020-06-30 华为技术有限公司 Method, device and system for controlling network congestion
CN112737970A (en) * 2019-10-28 2021-04-30 华为技术有限公司 Data transmission method and related equipment
CN113541997A (en) * 2020-04-17 2021-10-22 安全物品有限公司 Configuration control device, system and method
CN111917664A (en) * 2020-06-30 2020-11-10 北京瀚诺半导体科技有限公司 Queue management method and system
CN113569196A (en) * 2021-07-15 2021-10-29 苏州仰思坪半导体有限公司 Data processing method, device, medium and equipment
CN115622945A (en) * 2022-09-15 2023-01-17 新华三信息安全技术有限公司 Message processing method and device

Also Published As

Publication number Publication date
CN116614445A (en) 2023-08-18

Similar Documents

Publication Publication Date Title
CN116614445B (en) Data transmission method and related device thereof
CN107508719B (en) Method and device for measuring network time delay and network node
CN112260889B (en) Linux-based process flow monitoring method, system and equipment
CN109194706B (en) Network resource dial testing method and terminal
CN103312540A (en) User service requirement parameter determining method and device
US9985874B2 (en) Network traffic split among multiple paths
CN111628902B (en) Rate testing method and apparatus, electronic device, and computer-readable storage medium
CN110460486B (en) Service node monitoring method and system
CN112637151B (en) Data message transmission method, terminal device, server and storage medium
CN113300910B (en) Method and system for acquiring use rate, terminal, access point and MEC server
CN114710426A (en) Method, device, system and related equipment for determining round-trip delay of read operation
CN111417920A (en) Data processing method and device
CN110474894B (en) Data transmitting and receiving method, system, storage medium and terminal
CN111077531B (en) UWB communication method, medium, terminal and device based on time division multiple access
CN115333917A (en) CDN anomaly detection method and device
CN112132583A (en) Transaction processing method and device of block chain, electronic equipment and readable storage medium
CN113726691B (en) Bandwidth reservation method, device, equipment and storage medium
US9942895B2 (en) Burst grouping with reduced overhead
CN116226027B (en) Data transmission system, method, device, communication equipment and storage medium
CN117785815A (en) Log collection method, device, equipment and storage medium
CN117499980B (en) Data communication method, electronic equipment and storage medium
CN113162990B (en) Message sending method, device, equipment and storage medium
CN116488778A (en) Data communication method and device and terminal equipment
CN116055418B (en) Method and device for transmitting Ethernet data, electronic equipment and storage medium
CN110417889B (en) Data transmission method and device based on IPFS

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