CN112532358B - Method and device for changing data transmission content according to feedback waiting time - Google Patents

Method and device for changing data transmission content according to feedback waiting time Download PDF

Info

Publication number
CN112532358B
CN112532358B CN202011288535.5A CN202011288535A CN112532358B CN 112532358 B CN112532358 B CN 112532358B CN 202011288535 A CN202011288535 A CN 202011288535A CN 112532358 B CN112532358 B CN 112532358B
Authority
CN
China
Prior art keywords
data
transmission process
data block
feedback
sending
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
CN202011288535.5A
Other languages
Chinese (zh)
Other versions
CN112532358A (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.)
Guangzhou Jixiang Technology Co Ltd
Original Assignee
Guangzhou Jixiang Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Jixiang Technology Co Ltd filed Critical Guangzhou Jixiang Technology Co Ltd
Priority to CN202011288535.5A priority Critical patent/CN112532358B/en
Publication of CN112532358A publication Critical patent/CN112532358A/en
Application granted granted Critical
Publication of CN112532358B publication Critical patent/CN112532358B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1867Arrangements specially adapted for the transmitter end
    • H04L1/189Transmission or retransmission of more than one copy of a message
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal

Abstract

The embodiment of the invention discloses a method and a device for changing data transmission content according to feedback waiting time, wherein the method comprises the steps of monitoring each transmission process configured by a retransmission mechanism in the data transmission process, and determining the feedback waiting time of each transmission process; when detecting that the feedback waiting time in a certain transmission process is longer than the data block sending processing time, adding a new data block to the transmission process, and grouping the data blocks; and sequentially sending the grouped data blocks according to the grouping condition, wherein the sending time interval of each group of data blocks is greater than the set time slot duration. According to the scheme, the data transmission efficiency is obviously improved, and a data transmission mechanism is optimized.

Description

Method and device for changing data transmission content according to feedback waiting time
Technical Field
The embodiment of the application relates to the technical field of data transmission, in particular to a method and a device for changing data transmission content according to feedback waiting time.
Background
In the data transmission process in the stop-wait mode, the sending end stops waiting for the feedback message of the other party after sending one data block, and sends the next data block if the feedback message is data reception complete, and resends the current data block if the feedback message is data loss.
In the prior art, in order to improve throughput of data transmission, a sending end may create multiple sending processes, for example, when one sending process waits for a feedback message, another sending process may send a data block. However, this method can only alleviate the situation of low data transmission efficiency to some extent, and new improvements are needed.
Disclosure of Invention
The embodiment of the invention provides a method and a device for changing data transmission contents according to feedback waiting time, which obviously improve the data transmission efficiency and optimize a data transmission mechanism.
In a first aspect, an embodiment of the present invention provides a method for changing data transmission contents according to a feedback latency, where the method includes:
in the data transmission process, monitoring each transmission process configured by a retransmission mechanism, and determining the feedback waiting time of each transmission process;
when detecting that the feedback waiting time in a certain transmission process is longer than the data block sending processing time, adding a new data block to the transmission process, and grouping the data blocks;
and sequentially sending the grouped data blocks according to the grouping condition, wherein the sending time interval of each group of data blocks is greater than the set time slot duration.
In a second aspect, an embodiment of the present invention further provides an apparatus for changing data transmission content according to a feedback waiting time, where the apparatus includes:
the process monitoring module is used for monitoring each transmission process configured by the retransmission mechanism in the data transmission process and determining the feedback waiting time of each transmission process;
the data block processing module is used for detecting that the feedback waiting time in a certain transmission process is longer than the data block sending processing time;
the data adding module is used for adding a new data block to the transmission process and grouping the data blocks;
and the data sending module is used for sending the grouped data blocks in sequence according to the grouping condition, and the sending time interval of each group of data blocks is greater than the set time slot duration.
In a third aspect, an embodiment of the present invention further provides an apparatus for changing data transmission content according to a feedback waiting time, where the apparatus includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for changing the data transmission content according to the feedback waiting time according to the embodiment of the present invention.
In a fourth aspect, the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the method for data transmission content modification according to the feedback latency according to the present invention.
In the embodiment of the invention, each transmission process configured by a retransmission mechanism is monitored in the data transmission process, and the feedback waiting time of each transmission process is determined; when detecting that the feedback waiting time in a certain transmission process is longer than the data block sending processing time, adding a new data block to the transmission process, and grouping the data blocks; and sequentially sending the grouped data blocks according to the grouping condition, wherein the sending time interval of each group of data blocks is greater than the set time slot duration. According to the scheme, the data transmission efficiency is obviously improved, and a data transmission mechanism is optimized.
Drawings
Fig. 1 is a flowchart of a method for changing data transmission contents according to a feedback waiting time according to an embodiment of the present invention;
fig. 1a is a schematic diagram of a process of grouping and sending data blocks according to an embodiment of the present invention;
fig. 2 is a flowchart of another method for changing data transmission contents according to a feedback waiting time according to an embodiment of the present invention;
fig. 3 is a flowchart of another method for changing data transmission contents according to a feedback waiting time according to an embodiment of the present invention;
fig. 4 is a flowchart of another method for changing data transmission contents according to a feedback waiting time according to an embodiment of the present invention;
fig. 5 is a flowchart of another method for changing data transmission contents according to a feedback waiting time according to an embodiment of the present invention;
fig. 6 is a flowchart of another method for changing data transmission contents according to a feedback waiting time according to an embodiment of the present invention;
fig. 7 is a block diagram illustrating an apparatus for modifying data transmission content according to a feedback waiting time according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an apparatus for modifying data transmission content according to a feedback waiting time according to an embodiment of the present invention.
Detailed Description
The embodiments of the present invention will be described in further detail with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad invention. It should be further noted that, for convenience of description, only some structures, not all structures, relating to the embodiments of the present invention are shown in the drawings.
Fig. 1 is a flowchart of a method for changing data transmission content according to a feedback waiting time according to an embodiment of the present invention, where this embodiment is applicable to a data transmission process, and specifically includes the following steps:
step S101, in the data transmission process, monitoring each transmission process configured by a retransmission mechanism, and determining the feedback waiting time of each transmission process.
In the data transmission process, a sending end sends data to a receiving end, the receiving end carries out data verification to determine the accuracy and the integrity of the data, if the data is wrong or missing, a retransmission instruction is sent to the data sending end, the sending end carries out retransmission of corresponding associated data blocks after receiving the retransmission instruction until the receiving end correctly receives the data, and therefore the accuracy of data link transmission is guaranteed.
Generally, after a transmitting end transmits data, a command waiting for backtransmission needs to be performed to determine whether to retransmit the data or transmit new data, and in order to improve data transmission throughput, a plurality of processes for data transmission are created and configured. In one embodiment, different transmission processes are provided with corresponding feedback waiting time for transmitting data, and in the data transmission process, each transmission process configured by a retransmission mechanism is monitored to determine the feedback waiting time of each transmission process.
And step S102, when the feedback waiting time in a certain transmission process is detected to be larger than the data block sending processing time, adding a new data block to the transmission process, and grouping the data blocks.
In one embodiment, the configuration is created with 8 processes, process 1, process 2, process 3, process 4, process 5, process 6, process 7, and process 8. Each process corresponds to a feedback waiting time, and if the feedback waiting time of the process 4 is detected to be n (exemplary n is 3 seconds) which is greater than the sending processing time s of the current data block (exemplary s is 2 seconds), a new data block is added to the transmission process, and the grouping of the data blocks is performed.
In one embodiment, the grouping manner may be divided according to the data parameter type of the data block itself. Illustratively, the frame format of each data block is illustratively as follows:
frame header IP address TCP head Data of Frame end CRC Group identification
The data parameter type of the data block may be recorded in the packet identification field. In this embodiment, data blocks with the same data parameter type are divided into the same group.
And step S103, sending the grouped data blocks in sequence according to the grouping condition, wherein the sending time interval of each group of data blocks is greater than the set time slot duration.
Fig. 1a is a schematic diagram of a process of grouping and sending data blocks according to an embodiment of the present invention. Illustratively, the number of data blocks to be sent added to the current process 4 is 7, the grouping identifier corresponding to each data block is as shown in fig. 1a, and the sequence of the grouped data blocks is data 1, data 3, data 2, data 6, data 7, data 4, and data 5. That is, the grouped data is sent in sequence through the process 4, wherein a certain time interval exists between each group of data blocks during sending, and the time interval is greater than the set time slot duration. For example, the set time slot may be a current feedback latency value of the process.
According to the scheme, the corresponding feedback waiting time is configured for different transmission processes, the data block is configured according to different feedback waiting times, and the data block is transmitted in a grouping transmission mode in the transmission process, so that the transmission waiting time gap can be efficiently utilized, and the data transmission efficiency is improved.
Fig. 2 is a flowchart of another method for changing data transmission content according to feedback waiting time according to an embodiment of the present invention, which provides a specific method for monitoring a transmission process. As shown in fig. 2, the technical solution is as follows:
step S201, in the data transmission process, monitoring a transmission process created according to the data verification type of a data block to be transmitted; and/or monitoring the transmission processes created according to the data retransmission times, and determining the feedback waiting time of each transmission process.
In one embodiment, the creation of the transport process is further defined. The method comprises the steps of monitoring a transmission process created according to the data verification type of a data block to be transmitted and monitoring a transmission process created according to the data retransmission times in the data transmission process. The process in the scheme is not created in advance or directly created by a system, but is created according to the data check type in the data transmission process, meanwhile, the retransmission times of the data are counted, the transmission process is created according to different specific situations of the retransmission times, and monitoring is carried out based on the created transmission process.
Step S202, when detecting that the feedback waiting time in a certain transmission process is longer than the data block sending processing time, adding a new data block to the transmission process, and grouping the data blocks.
And step S203, the grouped data blocks are sequentially sent according to the grouping condition, and the sending time interval of each group of data blocks is greater than the set time slot duration.
According to the scheme, in the data transmission process, the transmission process created according to the data verification type of the data block to be transmitted is monitored; and/or, the transmission process created according to the data retransmission times is monitored, and the distribution and creation mechanism of the transmission process is optimized, so that the subsequent data transmission content modification based on the feedback waiting time is more efficient.
Fig. 3 is a flowchart of another method for changing data transmission content according to feedback waiting time according to an embodiment of the present invention, which provides a specific method for creating a transmission process according to a data verification type of a data block to be transmitted. As shown in fig. 3, the technical solution is as follows:
step S301, in the data transmission process, determining frame number information of a data block to be transmitted, determining a corresponding data check type according to the frame number information, and allocating a transmission process with the same data check type to the data block to be transmitted.
Different transmission data adopt different verification modes due to different characteristics of the transmission data so as to ensure the accuracy of the transmission data. Exemplary check methods include parity check, CRC check, hamming code check, or the like. And analyzing the check field in the frame number information to obtain a corresponding check mode of the data frame. And different transmission processes respectively correspond to a data frame verification mode, and first transmission processes with the same data verification type are distributed to the data block to be transmitted.
Step S302, monitoring each transmission process configured by the retransmission mechanism, and determining the feedback waiting time of each transmission process.
Step S303, when detecting that the feedback waiting time in a certain transmission process is longer than the data block sending processing time, adding a new data block to the transmission process, and grouping the data blocks.
And step S304, the grouped data blocks are sequentially sent according to the grouping condition, and the sending time interval of each group of data blocks is greater than the set time slot duration.
According to the scheme, in the data transmission process, the frame number information of the data block to be transmitted is determined, the corresponding data check type is determined according to the frame number information, the transmission processes with the same data check type are distributed to the data block to be transmitted, the cross processing of a plurality of different processes for different data types is avoided, and the data transmission efficiency is improved.
Fig. 4 is a flowchart of another method for changing data transmission content according to feedback latency according to an embodiment of the present invention, which provides a specific method for creating a transmission process according to the number of data retransmissions. As shown in fig. 4, the technical solution is as follows:
step S401, in the data transmission process, when a retransmission data instruction corresponding to a certain transmission process is detected, determining the retransmission times of the retransmission instruction associated data, and if the retransmission times is greater than a first preset time, creating a new transmission process for retransmitting the associated data.
In one embodiment, when the data received by the receiving end is incomplete or missing, a retransmission instruction is sent to the sending end, and the retransmission instruction records the data to be retransmitted and the corresponding sending process. When a retransmission data instruction corresponding to a certain transmission process is detected, determining the retransmission times of the retransmission data associated with the retransmission instruction. Illustratively, the unified data block has 1 added to its retransmission times per retransmission. And when judging that the retransmission times of a certain data block is greater than a first preset time (such as 2 times), performing process creation to retransmit the data.
Further, whether the retransmission times is greater than a second preset time (for example, 4 times) is judged, and if so, a new transmission process is created for sending normal data. In one embodiment, the newly created transmission process has the same property as the original transmission process, and is a process for sending original data content, and more processes capable of sending original data are added through the creation of the new process to perform parallel data sending.
Step S402, monitoring each transmission process configured by the retransmission mechanism, and determining the feedback waiting time of each transmission process.
Step S403, when it is detected that the feedback waiting time in a certain transmission process is longer than the data block sending processing time, adding a new data block to the transmission process, and performing grouping of the data blocks.
And S404, sequentially sending the grouped data blocks according to the grouping condition, wherein the sending time interval of each group of data blocks is greater than the set time slot duration.
According to the scheme, in the data transmission process, when a retransmission data instruction corresponding to a certain transmission process is detected, the retransmission times of the retransmission instruction associated data are determined, if the retransmission times are larger than a first preset time, a new transmission process is created for retransmission of the associated data, so that the problem that the transmission process cannot transmit normal data due to repeated retransmission of the same data block is solved, if the retransmission times are larger than a second preset time, a new transmission process is created for transmission of the normal data, and therefore when the retransmission data amount is increased, the number of the transmission processes is increased adaptively, and the data transmission efficiency is guaranteed.
Fig. 5 is a flowchart of another method for changing data transmission content according to feedback latency according to an embodiment of the present invention, and a specific caching mechanism is provided. As shown in fig. 5, the technical solution is as follows:
step S501, determining the data application type of the currently sent data block, wherein the data application type corresponds to different application functions in the same application program of the corresponding terminal equipment.
In one embodiment, for the same application program, different application functions correspond to different data types, which are divided in the present scheme, and corresponding data transmission mechanisms are allocated based on the divided data types. Illustratively, the base station sends the data block to the terminal device, so that the terminal device executes a corresponding function according to the content of the data block after receiving the data block, and illustratively, the terminal device app1 corresponds to the function module 1, the function module 2, and the function module 3, where the function module 1 is an update of a user data information form, the function module 2 is a corresponding update of an interface value, and the function module 3 is a corresponding display animation display. In this step, the data application type of the sent data block is determined, specifically, the data application type may be determined according to the specific data content of the data block, for example, the update content of the information form is data type 1, the interface numerical value update data is data type 2, and the animation display data is application type 3. The specific identification process may also be that when the terminal device interacts with the base station, corresponding data type information, such as data type 1, data type 2, or data type 3, is appended when sending the data block of the same function module, and when the base station performs a data response, the data type of the data block that needs to be responded currently is determined according to the data type of the previously received data record.
Step S502, determining corresponding identification information according to the data application type, and adding the identification information to the data block.
In one embodiment, after the data type of the data block is determined, the corresponding data transmission identifier is determined according to the data application type. Illustratively, data type 1 corresponds to identification information 1, and data type 2 corresponds to identification information 2. Specifically, the data transmission identifier is added to the data block, the Sub Type content of the field is assigned when the data block is generated, the assignment of the identifier information 1 is 0100, and the assignment of the identifier information 2 is 0101.
Step S503, in the data transmission process, determining frame number information of a data block to be transmitted, determining a corresponding data check type according to the frame number information, and allocating a transmission process with the same data check type to the data block to be transmitted.
Step S504, in the data transmission process, when a retransmission data instruction corresponding to a certain transmission process is detected, the retransmission times of the retransmission instruction associated data are determined, and if the retransmission times are larger than a first preset time, a new transmission process is created for retransmitting the associated data.
And step S505, monitoring each transmission process configured by the retransmission mechanism, and determining the feedback waiting time of each transmission process.
Step S506, when the transmission progress which is created currently is detected to reach the upper limit, caching the data block to be transmitted, and meanwhile, periodically adjusting the position of the data block to be transmitted in the cache queue.
Illustratively, the upper limit value may be 10. In one embodiment, if the number of current transmission processes has reached the upper limit, the data to be transmitted is buffered, such as added to a queue of data to be transmitted. In the scheme, when the number of processes in the system is limited, whether the upper limit of the transmission process is reached is judged, if not, a new transmission process is correspondingly created, namely, each newly created transmission process can be specially used for sending a single data block.
In one embodiment, the process of cycle queue adjustment is further included when buffering the data block. Specifically, if the queue length is greater than 40, the queue position is adjusted according to data block information corresponding to the data block in the buffer queue, where the data block information includes an original sending process for sending the data block. Illustratively, the data blocks in the data block information for the same sending process are adjusted to adjacent positions.
Step S507, when it is detected that the feedback waiting time in a certain transmission process is greater than the data block sending processing time, the data block to be transmitted is retrieved from the buffer queue, and grouping of the data block is performed according to the identification information of the data block to be transmitted.
And step S508, sending the grouped data blocks in sequence according to the grouping condition, wherein the sending time interval of each group of data blocks is greater than the set time slot duration.
According to the scheme, the data application type of the currently sent data block is determined, the data application type corresponds to different application functions in the same application program of the corresponding terminal equipment, the corresponding identification information is determined according to the data application type, the identification information is added into the data block, the subsequent data block grouping is facilitated, the identification information determining mode is determined according to the data application type, and the grouping mode is better in basis. Meanwhile, when the transmission process established currently reaches the upper limit, the data blocks to be transmitted are cached, and the position of the data blocks to be transmitted in the cache queue is adjusted periodically, so that the distribution efficiency is improved, the process of independently judging and distributing each data block is avoided, and the data transmission efficiency is improved.
Fig. 6 is a flowchart of another method for changing data transmission content according to feedback waiting time according to an embodiment of the present invention, which provides a specific method for sequentially transmitting grouped data blocks according to grouping situations. As shown in fig. 6, the technical solution is as follows:
step S601, determining a data application type of the currently sent data block, wherein the data application type corresponds to different application functions in the same application program of the corresponding terminal equipment.
Step S602, determining corresponding identification information according to the data application type, and adding the identification information to the data block.
Step S603, in the data transmission process, determining frame number information of a data block to be transmitted, determining a corresponding data check type according to the frame number information, and distributing a transmission process with the same data check type for the data block to be transmitted.
Step S604, in the data transmission process, when a retransmission data instruction corresponding to a certain transmission process is detected, determining the retransmission times of the retransmission instruction associated data, and if the retransmission times is greater than a first preset time, creating a new transmission process for retransmitting the associated data.
Step S605, monitoring each transmission process configured by the retransmission mechanism, and determining the feedback waiting time of each transmission process.
Step S606, when the transmission progress which is created currently is detected to reach the upper limit, caching the data block to be transmitted, and meanwhile, periodically adjusting the position of the data block to be transmitted in the cache queue.
Step S607, when it is detected that the feedback waiting time in a certain transmission process is greater than the data block sending processing time, the data block to be transmitted is retrieved from the buffer queue, and the data block is grouped according to the identification information of the data block to be transmitted.
Step S608, determining the association degree of each grouped data block, and sorting according to the association degree; and sequentially transmitting each group of data blocks according to the sequencing result.
In one embodiment, the data blocks are grouped according to different data information types, and the association degree of each grouped data block can be further determined after grouping is finished. Specifically, the association degree of the data blocks for the same application is set as association, and the data blocks for different applications are set as non-association. Illustratively, there are a total of 10 data block packets, packet 1, packet 2, packet 3, packet 4, packet 5, packet 6, packet 7, packet 8, packet 9, and packet 10, respectively. The respective corresponding applications are as follows:
group 1 Group 2 Group 3 Group 4 Group 5 Group 6 Group 7 Packet 8 Packet 9 Packet 10
Procedure a Procedure b Procedure c Procedure b Procedure c Procedure a Procedure a Procedure b Procedure b Procedure c
After sorting by relevance, the grouping is as follows:
group 1 Group 6 Group 7 Group 4 Group 2 Packet 8 Packet 9 Group 3 Group 5 Packet 10
Procedure a Procedure a Procedure a Procedure b Procedure b Procedure b Procedure c Procedure c Procedure c Procedure c
In performing the data block transmission, the transmission is performed in the order of packet 1, packet 6, packet 7, packet 4, packet 2, packet 8, packet 9, packet 3, packet 5, and packet 10.
According to the scheme, the relevance of each grouped data block is determined, and sequencing is carried out according to the relevance; and sequentially transmitting each group of data blocks according to the sequencing result, so that the transmission process continuously or parallelly processes the associated data blocks, and a data transmission mechanism is further optimized.
On the basis of the technical scheme, the feedback waiting time is adaptively adjusted according to the complexity of the link, and the adjusting step comprises the following steps: initializing quality change parameters of a communication channel, sending an individual data frame to a plurality of terminal devices through a current transmission process, and keeping the individual data frame in a waiting state, and sending a next data frame according to feedback information of the plurality of terminal devices after receiving the feedback information; receiving a first communication signal sent by first equipment, determining a first communication quality parameter, receiving a second communication signal sent by second equipment after a preset time interval, and determining a second communication quality parameter, wherein the first equipment and the second equipment are different terminal equipment with the same application type; and correcting the quality change parameter according to the first communication quality parameter and the second communication quality parameter, and determining the feedback waiting time according to the quality change parameter.
In one embodiment, after the first communication quality parameter and the second communication quality parameter are determined, the quality variation parameter is corrected according to the first communication quality parameter and the second communication quality parameter. Specifically, the method comprises the following steps: and multiplying the ratio of the second communication quality parameter to the first communication quality parameter by the quality change parameter obtained after initialization, and updating the quality change parameter according to the obtained result. By correcting the quality variation parameter, the transmission mode is not changed based on the actual condition of a single channel, but data is updated based on the variation trend of the channel. And after the quality change parameter is corrected, correspondingly determining the feedback waiting time based on the corrected quality change parameter. For example, when the quality variation parameter is 35, the feedback waiting time may be 8 s; when the mass variation parameter is 30, the first preset number may be 10 s.
According to the scheme, the value of the feedback waiting time is adaptively adjusted according to the quality change parameter, so that the method for changing the data transmission content according to the feedback waiting time can adaptively adjust the feedback waiting time according to the link condition, and the change and adjustment of the transmission content can be accurately and flexibly carried out subsequently.
Fig. 7 is a block diagram of a device for changing data transmission content according to feedback latency according to an embodiment of the present invention, where the device is configured to execute the method for changing data transmission content according to feedback latency provided in the foregoing embodiment, and has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 7, the apparatus specifically includes: a process monitoring module 101, a data block processing module 102, a data adding module 103, and a data sending module 104, wherein,
a process monitoring module 101, configured to monitor each transmission process configured by a retransmission mechanism in a data transmission process, and determine a feedback waiting time of each transmission process;
a data block processing module 102, configured to detect that a feedback waiting time in a certain transmission process is greater than a data block sending processing time;
a data adding module 103, configured to add a new data block to the transmission process, and perform grouping of the data blocks;
and the data sending module 104 is configured to send the grouped data blocks in sequence according to the grouping condition, where a sending time interval of each group of data blocks is greater than a set time slot duration.
According to the scheme, in the data transmission process, each transmission process configured by a retransmission mechanism is monitored, and the feedback waiting time of each transmission process is determined; when detecting that the feedback waiting time in a certain transmission process is longer than the data block sending processing time, adding a new data block to the transmission process, and grouping the data blocks; and sequentially sending the grouped data blocks according to the grouping condition, wherein the sending time interval of each group of data blocks is greater than the set time slot duration. According to the scheme, the data transmission efficiency is obviously improved, and a data transmission mechanism is optimized.
In a possible embodiment, the process monitoring module 101 is specifically configured to:
monitoring a transmission process created according to the data verification type of the data block to be transmitted; and/or
And monitoring the transmission process established according to the data retransmission times.
In a possible embodiment, the system further includes a process creating module 105, specifically configured to:
determining frame number information of a data block to be transmitted, determining a corresponding data check type according to the frame number information, and distributing transmission processes with the same data check type for the data block to be transmitted.
In a possible embodiment, the process creation module 105 is specifically configured to:
when a retransmission data instruction corresponding to a certain transmission process is detected, determining the retransmission times of the retransmission instruction associated data, and if the retransmission times is greater than a first preset time, creating a new transmission process for retransmitting the associated data.
In one possible embodiment, the data block processing module 102 is further configured to:
before adding a new data block to the transmission process, when detecting that the currently created transmission process reaches the upper limit, caching the data block to be transmitted, and meanwhile, periodically adjusting the position of the data block to be transmitted in the cache queue;
the data adding module 103 is specifically configured to:
the data blocks to be transmitted are called from the buffer queue, and grouping of the data blocks is carried out according to the identification information of the data blocks to be transmitted;
correspondingly, the system further includes an identifier adding module 106, specifically configured to:
determining a data application type of a currently transmitted data block, wherein the data application type is a type corresponding to different application functions in the same application program of corresponding terminal equipment;
and determining corresponding identification information according to the data application type, and adding the identification information to the data block.
In a possible embodiment, the data sending module 104 is specifically configured to:
determining the association degree of each grouped data block, and sequencing according to the association degree; and sequentially transmitting each group of data blocks according to the sequencing result.
In a possible embodiment, the apparatus further includes an adaptive adjustment module 107, specifically configured to:
initializing quality change parameters of a communication channel, sending an individual data frame to a plurality of terminal devices through a current transmission process, and keeping the individual data frame in a waiting state, and sending a next data frame according to feedback information of the plurality of terminal devices after receiving the feedback information;
receiving a first communication signal sent by first equipment, determining a first communication quality parameter, receiving a second communication signal sent by second equipment after a preset time interval, and determining a second communication quality parameter, wherein the first equipment and the second equipment are different terminal equipment with the same application type;
and correcting the quality change parameter according to the first communication quality parameter and the second communication quality parameter, and determining the feedback waiting time according to the quality change parameter.
Fig. 8 is a schematic structural diagram of an apparatus for modifying data transmission content according to feedback latency according to an embodiment of the present invention, as shown in fig. 8, the apparatus includes a processor 201, a memory 202, an input device 203, and an output device 204; the number of the processors 201 in the device may be one or more, and one processor 201 is taken as an example in fig. 8; the processor 201, the memory 202, the input device 203 and the output device 204 in the apparatus may be connected by a bus or other means, and fig. 8 illustrates the connection by a bus as an example.
The memory 202 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the method for changing data transmission contents according to the feedback waiting time in the embodiment of the present invention. The processor 201 executes various functional applications of the device and data processing by running software programs, instructions and modules stored in the memory 202, that is, implements the above-described method for changing data transmission contents according to the feedback latency.
The memory 202 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 202 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 202 may further include memory located remotely from the processor 201, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 203 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function controls of the apparatus. The output device 204 may include a display device such as a display screen.
Embodiments of the present invention also provide a storage medium containing computer-executable instructions which, when executed by a computer processor, perform a method for data transmission content modification based on feedback latency, the method comprising:
in the data transmission process, monitoring each transmission process configured by a retransmission mechanism, and determining the feedback waiting time of each transmission process;
when detecting that the feedback waiting time in a certain transmission process is longer than the data block sending processing time, adding a new data block to the transmission process, and grouping the data blocks;
and sequentially sending the grouped data blocks according to the grouping condition, wherein the sending time interval of each group of data blocks is greater than the set time slot duration.
From the above description of the embodiments, it is obvious for those skilled in the art that the embodiments of the present invention can be implemented by software and necessary general hardware, and certainly can be implemented by hardware, but the former is a better implementation in many cases. Based on such understanding, the technical solutions of the embodiments of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions to make a computer device (which may be a personal computer, a server, or a network device) perform the methods described in the embodiments of the present invention.
It should be noted that, in the embodiment of the apparatus for changing data transmission content according to feedback latency, the included units and modules are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the embodiment of the invention.
It should be noted that the foregoing is only a preferred embodiment of the present invention and the technical principles applied. Those skilled in the art will appreciate that the embodiments of the present invention are not limited to the specific embodiments described herein, and that various obvious changes, adaptations, and substitutions are possible, without departing from the scope of the embodiments of the present invention. Therefore, although the embodiments of the present invention have been described in more detail through the above embodiments, the embodiments of the present invention are not limited to the above embodiments, and many other equivalent embodiments may be included without departing from the concept of the embodiments of the present invention, and the scope of the embodiments of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A method for data transmission content modification based on feedback latency, comprising:
in the data transmission process, monitoring each transmission process configured by a retransmission mechanism, and determining the feedback waiting time of each transmission process;
when detecting that the feedback waiting time in a certain transmission process is longer than the data block sending processing time, adding a new data block to the transmission process, and grouping the data blocks;
and sequentially sending the grouped data blocks according to the grouping condition, wherein the sending time interval of each group of data blocks is greater than the set time slot duration, and the set time slot duration is the feedback waiting time of the corresponding transmission process.
2. The method of claim 1, wherein the monitoring of the transmission processes configured by the retransmission mechanism comprises:
monitoring a transmission process created according to the data verification type of the data block to be transmitted; and/or
And monitoring the transmission process established according to the data retransmission times.
3. The method according to claim 2, wherein the transmission process created according to the data check type of the data block to be transmitted comprises:
determining frame number information of a data block to be transmitted, determining a corresponding data check type according to the frame number information, and distributing transmission processes with the same data check type for the data block to be transmitted.
4. The method according to claim 2, wherein the transmission process created according to the number of data retransmissions comprises:
when a retransmission data instruction corresponding to a certain transmission process is detected, determining the retransmission times of the retransmission instruction associated data, and if the retransmission times is greater than a first preset time, creating a new transmission process for retransmitting the associated data.
5. The method according to any of claims 1-4, further comprising, before adding a new data block to the transmission process:
when detecting that the currently created transmission process reaches the upper limit, caching a data block to be transmitted, and meanwhile, periodically adjusting the position of the data block to be transmitted in the cache queue;
correspondingly, adding a new data block to the transmission process, and grouping the data blocks, including:
the data blocks to be transmitted are called from the buffer queue, and grouping of the data blocks is carried out according to the identification information of the data blocks to be transmitted;
correspondingly, the method further comprises the step of adding identification information in the data block, and specifically comprises the following steps:
determining a data application type of a currently transmitted data block, wherein the data application type is a type corresponding to different application functions in the same application program of corresponding terminal equipment;
and determining corresponding identification information according to the data application type, and adding the identification information to the data block.
6. The method of claim 5, wherein the sequentially transmitting the grouped data blocks according to the grouping condition comprises:
determining the association degree of each grouped data block, and sequencing according to the association degree; and sequentially transmitting each group of data blocks according to the sequencing result.
7. The method of claim 5, wherein the feedback latency is adaptively adjusted according to a complexity of a link, and the adjusting step comprises:
initializing quality change parameters of a communication channel, sending an individual data frame to a plurality of terminal devices through a current transmission process, and keeping the individual data frame in a waiting state, and sending a next data frame according to feedback information of the plurality of terminal devices after receiving the feedback information;
receiving a first communication signal sent by first equipment, determining a first communication quality parameter, receiving a second communication signal sent by second equipment after a preset time interval, and determining a second communication quality parameter, wherein the first equipment and the second equipment are different terminal equipment with the same application type;
and correcting the quality change parameter according to the first communication quality parameter and the second communication quality parameter, and determining the feedback waiting time according to the quality change parameter.
8. An apparatus for data transmission content modification based on feedback latency, comprising:
the process monitoring module is used for monitoring each transmission process configured by the retransmission mechanism in the data transmission process and determining the feedback waiting time of each transmission process;
the data block processing module is used for adding a new data block to a transmission process and grouping the data blocks when detecting that the feedback waiting time in a certain transmission process is longer than the data block sending processing time;
and the data sending module is used for sending the grouped data blocks in sequence according to the grouping condition, the sending time interval of each group of data blocks is greater than the set time slot duration, and the set time slot duration is the feedback waiting time of the corresponding transmission process.
9. An apparatus for data transmission content modification based on feedback latency, the apparatus comprising: one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the method for data transmission content modification in accordance with feedback latency of any one of claims 1-7.
10. A storage medium containing computer executable instructions for performing the method of data transmission content modification according to feedback latency of any one of claims 1-7 when executed by a computer processor.
CN202011288535.5A 2020-11-17 2020-11-17 Method and device for changing data transmission content according to feedback waiting time Active CN112532358B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011288535.5A CN112532358B (en) 2020-11-17 2020-11-17 Method and device for changing data transmission content according to feedback waiting time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011288535.5A CN112532358B (en) 2020-11-17 2020-11-17 Method and device for changing data transmission content according to feedback waiting time

Publications (2)

Publication Number Publication Date
CN112532358A CN112532358A (en) 2021-03-19
CN112532358B true CN112532358B (en) 2021-12-10

Family

ID=74980792

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011288535.5A Active CN112532358B (en) 2020-11-17 2020-11-17 Method and device for changing data transmission content according to feedback waiting time

Country Status (1)

Country Link
CN (1) CN112532358B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115174490B (en) * 2022-06-16 2023-10-17 浙江华睿科技股份有限公司 Data transmission method and network application terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101527622A (en) * 2008-03-07 2009-09-09 富士通株式会社 MIMO-HARQ communication system and communication method
CN104796238A (en) * 2015-04-28 2015-07-22 电子科技大学 Retransmission resource allocation method based on adaptive HARQ (hybrid automatic repeat request)
CN106559187A (en) * 2015-09-25 2017-04-05 北京三星通信技术研究有限公司 The feedback and method of reseptance of HARQ-ACK information and equipment
CN109690993A (en) * 2016-07-28 2019-04-26 阿尔卡特朗讯 Method, equipment and computer program for the wireless data transmission in radio circuit
CN110291732A (en) * 2016-12-21 2019-09-27 诺基亚技术有限公司 The autonomous retransmission of damage data in wireless network

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3000911B2 (en) * 1996-01-10 2000-01-17 日本電気株式会社 Automatic setting of optimal number of frames waiting for retransmission of automatic retransmission protocol in mobile facsimile communication
CN103338097B (en) * 2013-07-23 2016-05-25 北京中科晶上科技有限公司 The method and system of HARQ data processing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101527622A (en) * 2008-03-07 2009-09-09 富士通株式会社 MIMO-HARQ communication system and communication method
CN104796238A (en) * 2015-04-28 2015-07-22 电子科技大学 Retransmission resource allocation method based on adaptive HARQ (hybrid automatic repeat request)
CN106559187A (en) * 2015-09-25 2017-04-05 北京三星通信技术研究有限公司 The feedback and method of reseptance of HARQ-ACK information and equipment
CN109690993A (en) * 2016-07-28 2019-04-26 阿尔卡特朗讯 Method, equipment and computer program for the wireless data transmission in radio circuit
CN110291732A (en) * 2016-12-21 2019-09-27 诺基亚技术有限公司 The autonomous retransmission of damage data in wireless network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
On scheduling, HARQ, and DRX for NTN;Ericsson;《3GPP TSG-RAN WG2 #112,R2-2010168》;20201023;全文 *

Also Published As

Publication number Publication date
CN112532358A (en) 2021-03-19

Similar Documents

Publication Publication Date Title
US7355971B2 (en) Determining packet size in networking
CN111740939B (en) Message transmission device, message transmission equipment, message transmission method and storage medium
US11888960B2 (en) Packet processing method and apparatus
EP3905616B1 (en) Congestion control method, apparatus, and system, and computer storage medium
CN104980257B (en) Internet of things communication method and device
WO2013159516A1 (en) Wireless side tcp data retransmission method and device
CN109450606B (en) Data transmission control method and device
WO2023185353A1 (en) Data transmission method, electronic device, and storage medium
CN112532358B (en) Method and device for changing data transmission content according to feedback waiting time
CN111131179B (en) Service processing method, device, network equipment and storage medium
CN114124940A (en) Data customization transmission method based on UDP protocol
JP2019106697A (en) Method for dynamically managing message retransmission delay in interconnection network and device
CN112422243B (en) Data transmission method and device based on process optimization
CN109120385B (en) Data transmission method, device and system based on data transmission system
CN111404872A (en) Message processing method, device and system
CN112532359A (en) Method and device for content merging at receiving end based on data retransmission data
CN106453613B (en) Message retransmission method and device
JP7210867B2 (en) Acknowledgment packet transmission method and communication device
EP3672189B1 (en) Data transmission method, device and system
CN107231567B (en) Message transmission method, device and system
JP7123194B2 (en) Data transmission method, transmission device, data reception method, and reception device
CN112422645A (en) Data transmission method and device determined according to transmission data identification
CN112448852B (en) Method and device for process configuration based on retransmission data block
CN114489730A (en) Remote upgrading method, terminal equipment and computer readable storage medium
EP2023522A2 (en) Method and device for counting transmission times of data unit, transmission device and computer program

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