CN112448852B - Method and device for process configuration based on retransmission data block - Google Patents

Method and device for process configuration based on retransmission data block Download PDF

Info

Publication number
CN112448852B
CN112448852B CN202011316225.XA CN202011316225A CN112448852B CN 112448852 B CN112448852 B CN 112448852B CN 202011316225 A CN202011316225 A CN 202011316225A CN 112448852 B CN112448852 B CN 112448852B
Authority
CN
China
Prior art keywords
data
retransmission
transmission process
transmission
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
CN202011316225.XA
Other languages
Chinese (zh)
Other versions
CN112448852A (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 CN202011316225.XA priority Critical patent/CN112448852B/en
Publication of CN112448852A publication Critical patent/CN112448852A/en
Application granted granted Critical
Publication of CN112448852B publication Critical patent/CN112448852B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • 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/1829Arrangements specially adapted for the receiver end
    • H04L1/1835Buffer management
    • 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/1829Arrangements specially adapted for the receiver end
    • H04L1/1848Time-out mechanisms
    • 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/1874Buffer management
    • 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/188Time-out mechanisms

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a method and a device for process configuration based on retransmission data blocks, wherein the method comprises the steps of monitoring each transmission process configured by a retransmission mechanism in the data transmission process, wherein the transmission process is used for transmitting the data blocks; 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 first transmission process for retransmitting the associated data; and if the retransmission times are greater than second preset times, establishing a second transmission process for sending normal data, wherein the second preset times are greater than the first preset times and less than the default retransmission times configured by the retransmission mechanism. The scheme obviously improves the data transmission efficiency and optimizes the data transmission mechanism.

Description

Method and device for process configuration based on retransmission data block
Technical Field
The embodiment of the application relates to the technical field of data transmission, in particular to a method and a device for process configuration based on retransmitted data blocks.
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 process configuration based on a retransmission data block, which can efficiently and accurately check illegal signals and locate an interference source.
In a first aspect, an embodiment of the present invention provides a method for performing process configuration based on a retransmitted data block, where the method includes:
in the data transmission process, monitoring each transmission process configured by a retransmission mechanism, wherein the transmission process is used for transmitting data blocks;
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 first transmission process for retransmitting the associated data;
and if the retransmission times are greater than second preset times, establishing a second transmission process for sending normal data, wherein the second preset times are greater than the first preset times and less than the default retransmission times configured by the retransmission mechanism.
In a second aspect, an embodiment of the present invention further provides an apparatus for performing process configuration based on a retransmitted data block, where the apparatus includes:
a retransmission data monitoring module, configured to monitor each transmission process configured by a retransmission mechanism in a data transmission process, where the transmission process is used to transmit a data block;
a first process creating module, configured to determine, when a data retransmission instruction corresponding to a certain transmission process is detected, retransmission times of data associated with the retransmission instruction, and if the retransmission times are greater than a first preset time, create a first transmission process for retransmitting the associated data;
and a second process creation module, configured to create a second transmission process for sending normal data if the retransmission times are greater than a second preset time, where the second preset time is greater than the first preset time and is less than a default retransmission time configured by the retransmission mechanism.
In a third aspect, an embodiment of the present invention further provides an apparatus for performing process configuration based on a retransmitted data block, 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 process configuration based on retransmitted data blocks 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 process configuration based on retransmitted data blocks 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 transmission process is used for transmitting data blocks; 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 first transmission process for retransmitting the associated data; and if the retransmission times are greater than second preset times, establishing a second transmission process for sending normal data, wherein the second preset times are greater than the first preset times and less than the default retransmission times configured by the retransmission mechanism, so that the data transmission efficiency is obviously improved, and the data transmission mechanism is optimized.
Drawings
Fig. 1 is a flowchart of a method for performing process configuration based on a retransmitted data block according to an embodiment of the present invention;
fig. 1a is a schematic diagram of an exemplary data transmission performed by a transmission process according to an embodiment of the present invention;
fig. 1b is a schematic diagram of another exemplary data transmission performed by a transmission process according to an embodiment of the present invention;
fig. 2 is a flowchart of another method for process configuration based on retransmitted data blocks according to an embodiment of the present invention;
fig. 3 is a flowchart of another method for process configuration based on retransmitted data blocks according to an embodiment of the present invention;
fig. 4 is a flowchart of another method for process configuration based on retransmitted data blocks according to an embodiment of the present invention;
fig. 5 is a flowchart of another method for process configuration based on retransmitted data blocks according to an embodiment of the present invention;
fig. 6 is a block diagram of a device for performing process configuration based on retransmitted data blocks according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a device for performing process configuration based on a retransmitted data block 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 performing process configuration based on a retransmitted data block according to an embodiment of the present invention, where this embodiment is applicable to a data transmission process, and the method may be executed by a sending-end computing device, and specifically includes the following steps:
step S101, in the data transmission process, monitoring each transmission process configured by a retransmission mechanism, wherein the transmission process is used for transmitting data blocks.
In one embodiment, to improve the throughput of data transmission, a plurality of transmission processes are configured for transmitting data. When data retransmission is performed by using the transmission processes, each transmission process is monitored, for example, whether specific transmitted data needs to be retransmitted or not, and a corresponding retransmission instruction needs to be executed to perform data retransmission.
Step S102, 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.
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 step S103, judging whether the retransmission times are greater than a first preset time, and if so, executing step S104.
When it is determined that the retransmission number of a certain data block is greater than the first preset number (e.g., 2), step S104 is executed to perform process creation to perform retransmission of the data block. If the retransmission times is less than or equal to the first preset times, the retransmission instruction is transmitted according to the originally sent transmission, that is, step S107 is executed.
Step S104, a first transmission process is established for retransmitting the associated data.
The first transmission process is a process dedicated to sending retransmission data, and fig. 1a is a schematic diagram of an exemplary data transmission performed through the transmission process according to an embodiment of the present invention. As shown in fig. 1a, an original process 1 and an original process 2 perform data transmission in parallel, when the original process 1 is transmitting data 5, a retransmission instruction is received to retransmit the data 5, and when the retransmission is completed for the second time and the retransmission still fails, a first transmission process is created, and the retransmission of the data 5 is performed through the first transmission process.
And step S105, judging whether the retransmission times are greater than a second preset time, and if so, executing step S106.
In an embodiment, when the retransmission number of the data block is greater than the first preset number, it is further determined whether it is greater than a second preset number (e.g. 4), and if so, step S106 is executed to create a second transmission process for normal transmission of new data block data. The second preset number is greater than the first preset number and smaller than a default retransmission number (for example, 6 times) configured by the retransmission mechanism.
And step S106, creating a second transmission process for sending the normal data.
In one embodiment, the second 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 a new second process to perform parallel data sending.
Fig. 1b is a schematic diagram of another exemplary data transmission performed through a transmission process according to an embodiment of the present invention. As shown in fig. 1b, when the retransmission number of the data block 5 is 5, a second transmission process is created for transmitting normal data.
And step S107, the retransmission data is transmitted by using the original transmission process.
According to the scheme, in the data transmission process, each transmission process configured by a retransmission mechanism is monitored, the transmission processes are used for transmitting data blocks, when a retransmission data instruction corresponding to a certain transmission process is detected, the retransmission times of retransmission data associated with the retransmission instruction are determined, if the retransmission times are larger than a first preset time, a first transmission process is created for retransmitting 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 second transmission process is created for transmitting the normal data, and therefore when the retransmission data quantity is increased, the quantity of the transmission processes is increased adaptively, and the data transmission efficiency is guaranteed.
Fig. 2 is a flowchart of another method for process configuration based on retransmitted data blocks according to an embodiment of the present invention, which shows a specific method for original process allocation. As shown in fig. 2, the technical solution is as follows:
step S201, 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 an original sending process with the same data check type for the data block to be transmitted.
In one embodiment, when the configuration of the original sending process is performed, the original sending process which allocates the same data check type to the current data to be transmitted according to the frame number information is adopted. Specifically, 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 distributing original sending processes with the same data verification type for the data block to be transmitted in a verification mode that different original sending processes respectively correspond to one data frame.
Step S202, in the data transmission process, monitoring each transmission process configured by the retransmission mechanism, wherein the transmission process is used for transmitting the data block.
Step S203, when a data retransmission command corresponding to a certain transmission process is detected, determining the retransmission times of data associated with the data retransmission command.
And step S204, judging whether the retransmission times is greater than a first preset time, if so, executing step S205, otherwise, executing step S208.
Step S205, a first transmission process is created for retransmission of the associated data.
Step S206, judging whether the retransmission times is larger than a second preset time, if so, executing step S207.
And step S207, creating a second transmission process for sending the normal data.
And step S208, transmitting the retransmission data by using the original transmission process.
According to the scheme, 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, and the original sending process with the same data check type is distributed to the data block to be transmitted, so that the cross processing of a plurality of different processes aiming at different data types is avoided, and the data sending efficiency is improved.
Fig. 3 is a flowchart of another method for process configuration based on a retransmitted data block according to an embodiment of the present invention, which provides a specific method for caching a retransmitted data instruction. As shown in fig. 3, the technical solution is as follows:
step S301, 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 an original sending process with the same data check type to the data block to be transmitted.
Step S302, in the data transmission process, monitoring each transmission process configured by the retransmission mechanism, where the transmission process is used to transmit the data block.
Step S303, when a data retransmission instruction corresponding to a certain transmission process is detected, determining the retransmission times of the data associated with the data retransmission instruction.
Step S304, determining whether the retransmission number is greater than a second preset number, if so, executing step S305, otherwise, executing step S306.
Step S305, determining whether the number of the current first transmission processes reaches an upper limit value, if so, caching the retransmission data instruction, monitoring the number of the first transmission processes, and creating a second transmission process for sending normal data.
Illustratively, the upper limit value may be 10. In one embodiment, if the current first number of processes has reached an upper limit, the retransmit instruction is buffered, such as added to a retransmit instruction queue. In the scheme, when a retransmission instruction is detected, that is, a data block needing to be retransmitted is determined, a new process different from the original process for transmitting the data block is created for the data block for retransmission, when the number of the processes in the system is limited, whether the upper limit of the transmission process is reached is judged, and if the upper limit of the transmission process is not reached, a new transmission process is correspondingly created, that is, each newly created transmission process can be specially used for transmitting a single data block.
Step S306, judging whether the retransmission times is larger than a first preset time, if so, executing step S307, otherwise, executing step S308.
Step S307, a first transmission process is created for retransmission of the associated data.
And step S308, transmitting the retransmission data by using an original transmission process.
According to the scheme, whether the number of the current first transmission processes reaches the upper limit value is determined, if yes, the data retransmission instruction is cached, the number of the first transmission processes is monitored, and the second transmission processes are established and used for sending normal data, so that the problem that the system resources are excessively occupied and the efficiency is reduced due to the fact that too many transmission processes are established is solved, and a data transmission mechanism is further optimized.
Fig. 4 is a flowchart of another method for process configuration based on a retransmitted data block according to an embodiment of the present invention, which provides a specific method for caching a retransmitted data instruction. As shown in fig. 4, the technical solution is as follows:
step S401, 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 an original sending process with the same data check type for the data block to be transmitted.
Step S402, in the data transmission process, monitoring each transmission process configured by the retransmission mechanism, wherein the transmission process is used for transmitting the data block.
Step S403, when a data retransmission command corresponding to a certain transmission process is detected, determining the retransmission times of data associated with the data retransmission command.
And S404, judging whether the retransmission times are larger than a second preset time, if so, executing the S405, otherwise, executing the S408.
Step S405, determining whether the number of the current first transmission processes reaches an upper limit value, if so, creating a second transmission process for sending normal data.
Step S406, adding the retransmission data instruction into a cache queue, and adjusting a queue position of the retransmission instruction according to data block information corresponding to the retransmission data instruction in the cache queue, where the data block information includes an original sending process for sending the data block.
In one embodiment, when the retransmission data instruction is buffered, the process of cycle queue adjustment is further included. Specifically, if the queue length is greater than 40, the queue position of the retransmission instruction is adjusted according to the data block information corresponding to the retransmission instruction in the cache queue, where the data block information includes an original sending process and/or a second transmission process for sending the data block. Illustratively, the retransmission instructions of the same sending process in the data block information are adjusted to adjacent positions.
Step S407, when the data block needing to be retransmitted is not detected within the preset time, determining the idle time of each first transmission process for sequencing, and releasing the first transmission process with the longest idle time.
In an embodiment, the instruction of the retransmitted data block is detected, and if the data block to be retransmitted is not detected within a preset time (e.g. 1 minute), that is, when there is no need for retransmitting data, the idle times of the first transmission processes are determined to be sorted, and the first transmission process with the longest idle time is released. Exemplary as determined: process ID001, idle time 30 s; process ID021, idle time 0 s; process ID035, idle time 18s, process ID042, idle time 25 s. The process ID001 is released according to the idle time ordering result.
Step S408, determining whether the retransmission number is greater than a first preset number, if so, executing step S409, otherwise, executing step S410.
Step S409, a first transmission process is created for retransmission of the associated data.
And step S410, the retransmission data is sent by using the original sending process.
According to the scheme, the retransmission data instruction is added into the cache queue, the queue position of the retransmission instruction is adjusted according to the data block information corresponding to the retransmission data instruction in the cache queue, the data block information comprises the original sending process of sending the data block, and the cache queue is adjusted regularly, so that when the retransmission instruction is processed to distribute the processes, the distribution efficiency is improved, the process that each instruction is separately judged and distributed is avoided, and the data transmission efficiency is improved. Meanwhile, when the data block needing to be retransmitted is not detected within the preset time, determining the idle time of each first transmission process for sequencing, and releasing the first transmission process with the longest idle time, so that self-adaption and timely dynamic process management is realized, and the data processing efficiency is improved.
Fig. 5 is a flowchart of another method for performing process configuration based on a retransmitted data block according to an embodiment of the present invention, and provides a specific method for adjusting a first preset number of times and a second preset number of times associated with a retransmitted data instruction. As shown in fig. 5, the technical solution is as follows:
step S501, 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 an original sending process with the same data check type for the data block to be transmitted.
Step S502, in the data transmission process, monitoring each transmission process configured by the retransmission mechanism, wherein the transmission process is used for transmitting the data block.
Step S503, when a data retransmission command corresponding to a certain transmission process is detected, determining the retransmission times of the data associated with the data retransmission command.
And step S504, judging whether the retransmission times is greater than a second preset time, if so, executing step S505, otherwise, executing step S508.
And step S505, determining whether the number of the current first transmission processes reaches an upper limit value, and if so, creating a second transmission process for sending normal data.
Step S506, adding the retransmission data instruction to a buffer queue, and adjusting a queue position of the retransmission instruction according to data block information corresponding to the retransmission data instruction in the buffer queue, where the data block information includes an original sending process for sending the data block.
Step S507, when the data block to be retransmitted is not detected within the preset time, determining the idle time of each first transmission process for sorting, and releasing the first transmission process with the longest idle time.
Step S508, determining whether the retransmission number is greater than a first preset number, if so, performing step S509, otherwise, performing step S510.
Step S509, a first transmission process is created for retransmission of the associated data.
Step S510, the original sending process is used to send the retransmission data.
Step S511, initializing quality change parameters of the communication channel, sending an individual data frame to a plurality of terminal devices, and being in a waiting state, and sending the next data frame according to the feedback information after receiving the feedback information of the plurality of terminal devices.
In one embodiment, when information is transmitted, first, a quality variation parameter is initialized, wherein the quality variation parameter characterizes the quality variation condition of the channel in the current data transmission process, such as the channel quality changes from good to poor or from poor to good. Specifically, the quality change parameter can be represented by a channel quality parameter value, wherein the value range of the channel quality parameter value is 0-31. The initial value of the quality variation parameter may illustratively be a default value 18.
In one embodiment, after the initialization of the quality change parameter is completed, the data frame is sent to a plurality of terminal devices, and after feedback information of the plurality of terminal devices is received, the next data frame is sent according to the feedback information. Taking a base station as an example, the base station may issue various data to a terminal device, and a currently adopted transmission mode is that the base station is in a waiting state after sending a data frame to the terminal device, the terminal device sends feedback information of a data frame receiving condition, such as information integrity or information loss, and the base station determines whether to retransmit the data frame or send a new data frame according to the received feedback information.
In another embodiment, the manner of initializing the quality variation parameter of the communication channel may be:
and determining the current system time, and determining a corresponding quality change parameter value according to the system time. Different time points (24 hours per day, each hour corresponds to one time point) and corresponding initial values of the quality change parameters are pre-established and regularly maintained, and when the quality change parameters are initialized, the current time can be inquired, and the initial values of the quality change parameters in corresponding time periods are determined according to the time. As shown in the following table:
8 points 9 o' clock 10 o' clock 11 point 12 points 13 o' clock 14 points 15 points ......
18 15 17 16 15 16 18 19 ......
Illustratively, when the query time is 11 points, the corresponding channel quality parameter value 16 is determined as an initial value of the quality variation parameter.
In another embodiment, the manner of initializing the quality variation parameter of the communication channel may be further:
determining the access quantity of the current terminal equipment, and determining the corresponding quality change parameter value for initialization according to the access quantity. Optionally, the device stores a mapping relation table of quality change parameter values corresponding to different terminal quantities, for example, the quality change parameter value corresponding to a terminal quantity of 500 may be 25.
In the scheme, when the quality change parameter value is initialized, the dynamic determination can be carried out according to the number of the time nodes or the access terminal equipment, so that the initialized value is closer to the actual channel condition, and a better reference premise is provided for the accuracy of the subsequent mode switching.
Step S512, receiving a first communication signal sent by a first device, determining a first communication quality parameter, receiving a second communication signal sent by a second device after a preset time interval, and determining a second communication quality parameter, wherein the first device and the second device are different terminal devices with the same application type.
In one embodiment, a base station triggers a first device to report communication quality data, the first device sends a first communication signal containing the communication quality data, and the base station analyzes the first communication signal to obtain a first communication quality parameter.
In another embodiment, the quality parameter is determined by means of pre-coding. Specifically, a precoding matrix is randomly changed at a transmitting end of a base station, a set of codebooks containing a plurality of precoding matrices are stored in both the base station and terminal equipment, the terminal equipment selects one precoding matrix according to an estimated channel matrix and a certain criterion, an index value and quantized channel state information of the precoding matrix are fed back to a transmitting end of the base station in a form of transmitting a first communication signal, and the base station determines a channel quality parameter according to the channel state information contained in the first communication signal.
In the present scheme, in the determination process of the first communication quality parameter and the second communication quality parameter, the first communication signal and the second communication signal are separated by a preset time, illustratively, the preset time is 10 seconds, thereby avoiding the disturbance problem caused by short-time strong interference of a channel. In this scheme, the first device and the second device are different terminal devices with the same application type. The terminal equipment can be divided according to different application types, such as small-sized Internet of things fixed terminal equipment, handheld mobile terminal equipment and the like, when the mode is switched, different terminal equipment types are divided in the process of condition judgment, namely in the acquired signals, the first equipment and the second equipment are the same equipment in the application types, and therefore the problem that quality change parameter errors caused by equipment type differences are large is solved.
Step S513, modify the quality variation parameter according to the first communication quality parameter and the second communication quality parameter, and determine a first preset number of times and a second preset number of times according to the quality variation 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 a first preset time and a second preset time based on the corrected quality change parameter. For example, when the mass change parameter is 35, the first preset number may be 2, and the second preset number may be 4; when the mass variation parameter is 30, the first preset number may be 3, and the second preset number may be 5.
According to the scheme, the values of the first preset times and the second preset times are adaptively adjusted according to the quality change parameters, so that the method for carrying out process configuration based on the retransmission data block can adaptively adjust the configuration of the process according to the link condition.
Fig. 6 is a block diagram of a device for performing process configuration based on a retransmitted data block according to an embodiment of the present invention, where the device is configured to execute the method for performing process configuration based on a retransmitted data block according to the foregoing embodiment, and has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 6, the apparatus specifically includes: a retransmission data monitoring module 101, a first process creation module 102, and a second process creation module 103, wherein,
a retransmission data monitoring module 101, configured to monitor each transmission process configured by a retransmission mechanism in a data transmission process, where the transmission process is used to transmit a data block;
a first process creation module 102, configured to determine, when a data retransmission instruction corresponding to a certain transmission process is detected, retransmission times of data associated with the retransmission instruction, and if the retransmission times are greater than a first preset time, create a first transmission process for retransmitting the associated data;
a second process creating module 103, configured to create a second transmission process for sending normal data if the retransmission times are greater than a second preset time, where the second preset time is greater than the first preset time and is less than a default retransmission time configured by the retransmission mechanism.
According to the scheme, each transmission process configured by a retransmission mechanism is monitored in the data transmission process, and the transmission process is used for transmitting the data block; 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 first transmission process for retransmitting the associated data; and if the retransmission times are greater than second preset times, establishing a second transmission process for sending normal data, wherein the second preset times are greater than the first preset times and less than the default retransmission times configured by the retransmission mechanism, so that the data transmission efficiency is obviously improved, and the data transmission mechanism is optimized.
In a possible embodiment, the retransmission data monitoring module 101 is specifically configured to:
and monitoring the original data sending process configured in the retransmission mechanism and/or the created first transmission process and the created second transmission process.
In one possible embodiment, the system further comprises an original process allocation module 104, configured to:
before monitoring an original data sending process configured in a retransmission mechanism, determining frame number information of a data block to be transmitted, determining a corresponding data verification type according to the frame number information, and distributing the original sending process with the same data verification type for the data block to be transmitted.
In a possible embodiment, the first process creation module 102 is specifically configured to:
and if the retransmission times are not more than the first preset times, using the original sending process to send the retransmission data.
In a possible embodiment, the first process creation module 102 is specifically configured to:
and if the retransmission times are larger than the second preset times, determining whether the number of the current first transmission processes reaches an upper limit value, if so, caching the retransmission data instruction, and monitoring the number of the first transmission processes.
In one possible embodiment, the system further comprises a process monitoring module 105, configured to:
adding the retransmission data instruction into a cache queue, and adjusting the queue position of the retransmission instruction according to data block information corresponding to the retransmission data instruction in the cache queue, wherein the data block information comprises an original sending process for sending the data block;
and when the data block needing to be retransmitted is not detected within the preset time, determining the idle time of each first transmission process for sequencing, and releasing the first transmission process with the longest idle time.
In a possible embodiment, the method further includes a parameter adjusting module 106, configured to adjust the first preset number of times and the second preset number of times, where the parameter adjusting module is specifically configured to:
initializing quality change parameters of a communication channel, sending an individual data frame to a plurality of terminal devices, and 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 a first preset time and a second preset time according to the quality change parameter.
Fig. 7 is a schematic structural diagram of an apparatus for performing process configuration based on retransmitted data blocks according to an embodiment of the present invention, as shown in fig. 7, 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. 7; 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. 7 illustrates the example of connection by a bus.
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 performing process configuration based on retransmitted data blocks 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 performing process configuration based on retransmitted data blocks.
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 process configuration based on retransmission of data blocks, the method comprising:
in the data transmission process, monitoring each transmission process configured by a retransmission mechanism, wherein the transmission process is used for transmitting data blocks;
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 first transmission process for retransmitting the associated data;
and if the retransmission times are greater than second preset times, establishing a second transmission process for sending normal data, wherein the second preset times are greater than the first preset times and less than the default retransmission times configured by the retransmission mechanism.
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 enable a computer device (which may be a personal computer, a server, or a network device) to execute the methods described in the embodiments of the present invention.
It should be noted that, in the embodiment of the apparatus for performing process configuration based on retransmitted data blocks, each included unit and module are only divided according to functional logic, but are not limited to the above division, as long as corresponding functions can be implemented; 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. The method for process configuration based on the retransmission data block is characterized by comprising the following steps:
in the data transmission process, monitoring each transmission process configured by a retransmission mechanism, wherein the transmission process is used for transmitting data blocks;
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 first transmission process for retransmitting the associated data;
and if the retransmission times are greater than second preset times, establishing a second transmission process for sending normal data, wherein the second preset times are greater than the first preset times and less than the default retransmission times configured by the retransmission mechanism.
2. The method of claim 1, wherein the monitoring of the transmission processes configured by the retransmission mechanism comprises:
and monitoring the original data sending process configured in the retransmission mechanism and/or the created first transmission process and the created second transmission process.
3. The method of claim 2, further comprising, before monitoring the original data sending process configured in the retransmission mechanism:
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 an original sending process with the same data check type for the data block to be transmitted.
4. The method according to any of claims 1-3, wherein if the number of retransmissions is not greater than a first preset number, the transmission of the retransmitted data is performed using an original transmission process.
5. The method according to claim 4, wherein if the retransmission number is greater than a second predetermined number, determining whether the current number of first transmission processes reaches an upper limit value, and if so, caching the retransmission data command and monitoring the number of first transmission processes.
6. The method of claim 5, wherein buffering the retransmission data instructions and monitoring the number of first transmission processes comprises:
adding the retransmission data instruction into a cache queue, and adjusting the queue position of the retransmission instruction according to data block information corresponding to the retransmission data instruction in the cache queue, wherein the data block information comprises an original sending process for sending the data block;
and when the data block needing to be retransmitted is not detected within the preset time, determining the idle time of each first transmission process for sequencing, and releasing the first transmission process with the longest idle time.
7. The method according to claim 4, further comprising the step of adjusting the first preset number of times and the second preset number of times, specifically as follows:
initializing quality change parameters of a communication channel, sending an individual data frame to a plurality of terminal devices, and 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 a first preset time and a second preset time according to the quality change parameter.
8. An apparatus for process configuration based on retransmitted data blocks, comprising:
a retransmission data monitoring module, configured to monitor each transmission process configured by a retransmission mechanism in a data transmission process, where the transmission process is used to transmit a data block;
a first process creating module, configured to determine, when a data retransmission instruction corresponding to a certain transmission process is detected, retransmission times of data associated with the retransmission instruction, and if the retransmission times are greater than a first preset time, create a first transmission process for retransmitting the associated data;
and a second process creation module, configured to create a second transmission process for sending normal data if the retransmission times are greater than a second preset time, where the second preset time is greater than the first preset time and is less than a default retransmission time configured by the retransmission mechanism.
9. An apparatus for process configuration based on retransmission of data blocks, 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 process configuration based on retransmitted data blocks as claimed in any of claims 1-7.
10. A storage medium containing computer executable instructions for performing a method of process configuration based on retransmitted data blocks as claimed in any of claims 1-7 when executed by a computer processor.
CN202011316225.XA 2020-11-22 2020-11-22 Method and device for process configuration based on retransmission data block Active CN112448852B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011316225.XA CN112448852B (en) 2020-11-22 2020-11-22 Method and device for process configuration based on retransmission data block

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011316225.XA CN112448852B (en) 2020-11-22 2020-11-22 Method and device for process configuration based on retransmission data block

Publications (2)

Publication Number Publication Date
CN112448852A CN112448852A (en) 2021-03-05
CN112448852B true CN112448852B (en) 2021-06-22

Family

ID=74738374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011316225.XA Active CN112448852B (en) 2020-11-22 2020-11-22 Method and device for process configuration based on retransmission data block

Country Status (1)

Country Link
CN (1) CN112448852B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110943998A (en) * 2019-12-04 2020-03-31 腾讯科技(深圳)有限公司 Signal transmission method, device, equipment and medium
CN111294166A (en) * 2019-03-22 2020-06-16 展讯通信(上海)有限公司 Service transmission and service configuration sending method and device, storage medium, terminal and base station
CN111342939A (en) * 2020-03-02 2020-06-26 惠州Tcl移动通信有限公司 Data blind retransmission method and device, storage medium and terminal equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8700965B2 (en) * 2011-03-16 2014-04-15 Clearwire Ip Holdings Llc Apparatus and method for determining number of retransmissions in a wireless system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111294166A (en) * 2019-03-22 2020-06-16 展讯通信(上海)有限公司 Service transmission and service configuration sending method and device, storage medium, terminal and base station
CN110943998A (en) * 2019-12-04 2020-03-31 腾讯科技(深圳)有限公司 Signal transmission method, device, equipment and medium
CN111342939A (en) * 2020-03-02 2020-06-26 惠州Tcl移动通信有限公司 Data blind retransmission method and device, storage medium and terminal equipment

Also Published As

Publication number Publication date
CN112448852A (en) 2021-03-05

Similar Documents

Publication Publication Date Title
US10631276B2 (en) Data transmission method, base station, and terminal device
US20080049617A1 (en) System for fine grained flow-control concurrency to prevent excessive packet loss
CN108718347B (en) Domain name resolution method, system, device and storage medium
CN110312283B (en) Information processing method and device
JP2020533902A5 (en)
CN111865828A (en) Data transmission method, system, electronic device and storage medium
CN112422243B (en) Data transmission method and device based on process optimization
CN108243146A (en) A kind of efficient information submits method
CN112422645B (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
JP2021517432A (en) Physical uplink control channel resource determination method and communication device
CN113992600A (en) Multi-rate mode data transmission control method and device based on cache queue
CN111786901B (en) Transmission parameter self-adaptive adjustment method and acceleration service system
CN112532358B (en) Method and device for changing data transmission content according to feedback waiting time
CN106453613B (en) Message retransmission method and device
CN107231567B (en) Message transmission method, device and system
CN112770358A (en) Multi-rate mode data transmission control method and device based on service data
WO2023222036A1 (en) Scheduling request method and apparatus, electronic device, and readable storage medium
CN116094815B (en) Data encryption processing method and device based on flow self-adaptive control adjustment
CN109586931B (en) Multicast method and terminal equipment
CN112230880A (en) Data transmission control method and device, FPGA (field programmable Gate array) and medium
CN109605383A (en) Information communication method, robot and storage medium
EP4016887A1 (en) Method and device for scheduling transmission
CN114489730A (en) Remote upgrading method, terminal equipment and computer readable storage medium
CN103685071A (en) Network source distributing method and device

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