CN103873189A - Data transmission method and device - Google Patents
Data transmission method and device Download PDFInfo
- Publication number
- CN103873189A CN103873189A CN201210540227.6A CN201210540227A CN103873189A CN 103873189 A CN103873189 A CN 103873189A CN 201210540227 A CN201210540227 A CN 201210540227A CN 103873189 A CN103873189 A CN 103873189A
- Authority
- CN
- China
- Prior art keywords
- transmission window
- business
- size
- predetermined
- data
- 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.)
- Pending
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a data transmission method and device, belonging to the wireless communication field. The method comprises the steps of: monitoring the status information of data transmission business to detect whether the status information meets predetermined conditions; obtaining adjusting instructions if the status information is detected to meet predetermined conditions; adjusting the size of the transmission window of the data transmission business in dependence on the adjusting instructions; and successively transmitting the protocol data units in the transmission window. According to the invention, the status information of data transmission business is monitored; when the status information meets predetermined conditions, adjusting instructions are obtained to adjust the size of the transmission window in dependence on the adjusting instructions, thereby solving the problem that the transmission window of prior arts has a low use ratio, and reaching the purpose of saving wireless hollow resources.
Description
Technical field
The present invention relates to wireless communication field, particularly a kind of data transmission method for uplink and equipment.
Background technology
Affirmation mode is RLC(Radio Link Control, radio link control) in a kind of transmission mode, by adopting ARQ(Automatic Repeat-reQuest, HARQ) mechanism realizes the control to the wireless link of eating dishes without rice or wine.In WiMAX mobile communication, the data transmission method for uplink based on affirmation mode can effectively ensure the reliable and high efficiency of transmission of data.
Existing data transmission method for uplink, the data to be sent that data are sent business by transmitting apparatus generate multiple PDU(Protocol Data Unit according to sending order, protocol Data Unit), and be that each PDU distributes SN(Serial Number, sequence number according to the sequencing generating).Meanwhile, transmitting apparatus generates transmit queue according to No. SN ascending order, and the send window of a fixed size is set in transmit queue, sends successively the PDU not sending in send window No. SN.Confirm while receiving a PDU, can return to the reception success response for this PDU to transmitting apparatus when receiving equipment, transmitting apparatus receives after this reception success response, excludes transmission window by No. SN of this PDU, and this PDU is sent completely; In the time that receiving equipment receives a PDU failure, can return to the response that takes defeat for this PDU to transmitting apparatus, transmitting apparatus receives this and takes defeat after response, resends this PDU.
Concrete, send window schematic diagram shown in Figure 1, wherein, the maximum sequence number that MAX_SN is transmit queue; A is acknowledgement state variable, is also to send the lower boundary of window, and its numerical value is that transmitting apparatus receives recently, No. SN of the corresponding PDU of reception success response that receiving equipment returns; S is send state variable, and its numerical value is to distribute to No. SN of next newly-generated PDU; MS is the coboundary that sends window; Difference Size between MS and A is the size that sends window.Wherein, 3GPP(The 3rdGeneration Partnership Project, third generation partner program) to define MAX_SN in 36.322 agreements be that 1023, Size is 512.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem:
In WiMAX mobile communication, exist multiple different data to send business, such as low speed interaction service, content service (Email, web page browsing etc.), media content download business etc., and these business are had nothing in common with each other to the demand of bandwidth, but send window size corresponding to each business is identical, the business that some bandwidth demand is less, its utilance that sends window is not high, wastes valuable radio open resource.
Summary of the invention
In order to solve the problem of the radio open wasting of resources in prior art, the embodiment of the present invention provides a kind of data transmission method for uplink and equipment.Described technical scheme is as follows:
On the one hand, provide a kind of data transmission method for uplink, described method comprises:
Monitoring Data sends the state information of business, detects described state information and whether meets predetermined condition;
Meet predetermined condition if detect described state information, obtain adjustment instruction;
Adjust the size of the transmission window of described data transmission business according to described adjustment instruction;
Send successively the protocol Data Unit in described transmission window.
Described state information is: whether initiate described data and send business;
Whether the described state information of described detection meets predetermined condition, comprise: whether detect described state information is to initiate described data to send business, send business if detect described state information for initiating described data, confirm that described state information meets predetermined condition;
Describedly obtain adjustment instruction, comprising: the business demand speed that sends business according to described data is determined the size of described transmission window, and the size of described transmission window is added in described adjustment instruction;
The described size of adjusting the transmission window of described data transmission business according to described adjustment instruction, comprising: according to the size of the transmission window adding in described adjustment instruction, described transmission window is set.
The described business demand speed according to described data transmission business is determined the size of described transmission window, comprising:
Obtain the business demand speed that described data send business, determine the size of described transmission window in conjunction with default business demand speed and the big or small corresponding relation that sends window;
Or,
Obtain the business demand speed that described data send business, determine that in conjunction with the corresponding relation of default business demand speed and demand rate grade described data send the demand rate grade of business; Determine again the size of described transmission window in conjunction with default demand rate grade and the big or small corresponding relation that sends window.
Described state information is: described data send the packet loss of business in predetermined period;
Whether the described state information of described detection meets predetermined condition, comprise: detect the packet loss of described data transmission business in predetermined period and whether be less than default packet loss lower limit, or, described data send the packet loss of business in predetermined period and whether are less than default packet loss lower limit, be less than default packet loss lower limit if detect described packet loss, or, detect described packet loss and be greater than the default packet loss upper limit, confirm that described state information meets predetermined condition;
Describedly obtain adjustment instruction, comprising:
If detect, described packet loss is less than default packet loss lower limit, and the adjustment mode of carrying in described adjustment instruction is set to: increase according to predetermined increase value;
If detect, described packet loss is greater than the default packet loss upper limit, and the adjustment mode of carrying in described adjustment instruction is set to: dwindle according to predetermined reduction value;
The described size of adjusting the transmission window of described data transmission business according to described adjustment instruction, comprising: the size of adjusting described transmission window according to the adjustment mode of carrying in described adjustment instruction.
The adjustment mode of carrying in described adjustment instruction is set to: before increasing according to predetermined increase value, described method also comprises:
After judging that described transmission window increases according to predetermined increase value, whether the size of described transmission window is greater than preset maximum value;
If after judging described transmission window and increasing according to predetermined increase value, the size of described transmission window is not more than preset maximum value, carries out the adjustment mode of carrying in described adjustment instruction and is set to: the step increasing according to predetermined increase value.
The adjustment mode of carrying in described adjustment instruction is set to: before dwindling according to predetermined reduction value, described method also comprises:
After judging that described transmission window dwindles according to predetermined reduction value, whether the size of described transmission window is less than predetermined minimum;
If after judging described transmission window and dwindling according to predetermined reduction value, the size of described transmission window is not less than predetermined minimum, carries out the adjustment mode of carrying in described adjustment instruction and is set to: the step of dwindling according to predetermined reduction value.
After the described transmission window of described judgement dwindles according to predetermined reduction value, before whether the size of described transmission window is less than predetermined minimum, described method also comprises:
After judging that described transmission window dwindles according to predetermined reduction value, whether send state variable is in described transmission window;
If after judging described transmission window and dwindling according to predetermined reduction value, send state variable is in described transmission window, and after carrying out the described transmission window of described judgement and dwindling according to predetermined reduction value, whether the size of described transmission window is less than the step of predetermined minimum;
Wherein, described send state variable is the sequence number of distributing to the next new protocol Data Unit producing.
The described size of adjusting described transmission window according to the adjustment mode of carrying in described adjustment instruction, comprising:
If described adjustment mode is: increase according to predetermined increase value, keep the lower boundary of described transmission window constant, the coboundary of described transmission window is increased according to predetermined increase value;
If described adjustment mode is: dwindle according to predetermined reduction value, keep the lower boundary of described transmission window constant, the coboundary of described transmission window is dwindled according to predetermined reduction value.
On the other hand, provide a kind of transmitting apparatus, described equipment comprises:
Monitoring modular, for the state information of Monitoring Data transmission business;
Detection module, for detection of described monitoring module monitors to state information whether meet predetermined condition;
Instruction acquisition module, meets predetermined condition if detect described state information for described detection module, obtains adjustment instruction;
Adjusting module, adjusts described data and sends the size of the transmission window of business for the adjustment instruction of obtaining according to described instruction acquisition module;
Sending module, for sending successively the protocol Data Unit in described transmission window.
Described state information is: whether initiate described data and send business;
Whether described detection module, be to initiate described data to send business for detection of described state information, sends business if detect described state information for initiating described data, confirms that described state information meets predetermined condition;
Described instruction acquisition module comprises:
Determining unit, for determining the size of described transmission window according to the business demand speed of described data transmission business;
Adding device, for being added into the size of described transmission window described adjustment instruction;
Described adjusting module, arranges described transmission window for the size of the transmission window that adds according to described adjustment instruction.
Described determining unit, for obtaining the business demand speed of described data transmission business, determines the size of described transmission window in conjunction with default business demand speed and the big or small corresponding relation that sends window;
Or,
Described determining unit, for obtaining the business demand speed of described data transmission business, determines that in conjunction with the corresponding relation of default business demand speed and demand rate grade described data send the demand rate grade of business; Determine again the size of described transmission window in conjunction with default demand rate grade and the big or small corresponding relation that sends window.
Described state information is: described data send the packet loss of business in predetermined period;
Described detection module, send the packet loss of business in predetermined period for detection of described data and whether be less than default packet loss lower limit, or, described data send the packet loss of business in predetermined period and whether are less than default packet loss lower limit, be less than default packet loss lower limit if detect described packet loss, or, detect described packet loss and be greater than the default packet loss upper limit, confirm that described state information meets predetermined condition;
Described instruction acquisition module comprises:
The first setting unit, if detect that for described detection module described packet loss is less than default packet loss lower limit, the adjustment mode of carrying in described adjustment instruction is set to: increase according to predetermined increase value;
The second setting unit, if detect that for described detection module described packet loss is greater than the default packet loss upper limit, the adjustment mode of carrying in described adjustment instruction is set to: dwindle according to predetermined reduction value;
Described adjusting module, adjusts the size of described transmission window for the adjustment mode of carrying according to described adjustment instruction.
Described instruction acquisition module also comprises:
The first judging unit, the adjustment mode of carrying for the described adjustment instruction of described the first setting unit is set to: before increasing according to predetermined increase value, after judging that described transmission window increases according to predetermined increase value, whether the size of described transmission window is greater than preset maximum value;
Described the first setting unit, if after judging described transmission window and increase according to predetermined increase value for described the first judging unit, the size of described transmission window is not more than preset maximum value, carries out the adjustment mode of carrying in described adjustment instruction and is set to: the step increasing according to predetermined increase value.
Described instruction acquisition module also comprises:
The second judging unit, the adjustment mode of carrying for the described adjustment instruction of described the second setting unit is set to: before dwindling according to predetermined reduction value, after judging that described transmission window dwindles according to predetermined reduction value, whether the size of described transmission window is less than predetermined minimum;
Described the second setting unit, if after judging described transmission window and dwindle according to predetermined reduction value for described the second judging unit, the size of described transmission window is not less than predetermined minimum, carries out the adjustment mode of carrying in described adjustment instruction and is set to: the step of dwindling according to predetermined reduction value.
Described instruction acquisition module also comprises:
The 3rd judging unit, after judging that for described the second judging unit the transmission window of described bearer service dwindles according to predetermined reduction value, before whether the size of described transmission window is less than predetermined minimum, after the transmission window that judges described bearer service dwindles according to predetermined reduction value, whether send state variable is in described transmission window;
Described the second judging unit, if after the transmission window of judging described bearer service for described the 3rd judging unit dwindles according to predetermined reduction value, described send state variable is in described transmission window, after the transmission window of carrying out the described bearer service of described judgement dwindles according to predetermined reduction value, whether the size of described transmission window is less than the step of predetermined minimum;
Wherein, described send state variable is the sequence number of distributing to the next new protocol Data Unit producing.
Describedly comprise according to described adjusting module:
The first adjustment unit, if for described adjustment mode be: increase according to predetermined increase value, keep the lower boundary of transmission window of described bearer service constant, the coboundary of the transmission window of described bearer service is increased according to predetermined increase value;
The second adjustment unit, if for described adjustment mode be: dwindle according to predetermined reduction value, keep the lower boundary of transmission window of described bearer service constant, the coboundary of the transmission window of described bearer service is dwindled according to predetermined reduction value.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
Send the state information of business by Monitoring Data, in the time that this state information meets predetermined condition, obtain the size of adjusting instruction and sending window according to this adjustment instruction adjustment, solved and in prior art, sent the problem that window utilance is not high, reached the object of saving radio open resource.
Brief description of the drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the send window schematic diagram that background technology of the present invention provides;
Fig. 2 is the method flow diagram of the data transmission method for uplink that provides of one embodiment of the invention;
Fig. 3 is the method flow diagram of the data transmission method for uplink that provides of one embodiment of the invention;
Fig. 4 is the method flow diagram of the data transmission method for uplink that provides of another embodiment of the present invention;
Fig. 5 is the structural representation of the transmitting apparatus that provides of one embodiment of the invention;
Fig. 6 is the structural representation of the transmitting apparatus that provides of one embodiment of the invention;
Fig. 7 is the structural representation of the transmitting apparatus that provides of another embodiment of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Refer to Fig. 2, it shows the method flow diagram of the data transmission method for uplink that one embodiment of the invention provides, and this data transmission method for uplink can be applied in the WiMAX mobile communication based on affirmation mode.This data transmission method for uplink can comprise:
Step 101, Monitoring Data sends the state information of business, and whether detected state information meets predetermined condition;
Step 102, meets predetermined condition if detect this state information, obtains adjustment instruction;
Step 103, according to the size of the transmission window of this adjustment instruction adjustment data transmission business;
Step 104, sends the protocol Data Unit in sending window successively.
In sum, the data transmission method for uplink that the embodiment of the present invention provides, send the state information of business by Monitoring Data, in the time that this state information meets predetermined condition, obtain the size of adjusting instruction and sending window according to this adjustment instruction adjustment, solve and in prior art, sent the problem that window utilance is not high, reached the object of saving radio open resource.
In the corresponding embodiment of above-mentioned Fig. 2, send window adjustment according to there being two kinds, be the definite size that sends window of business demand speed that sends business according to data, another kind is the shake (visualize is the packet loss that data send business) according to wireless link.Accordingly, the state information that data send business also can be divided into two kinds: a kind of for whether initiating this data transmission business, another kind of is that these data send the packet loss in process of service execution.The embodiment that following Fig. 3 and Fig. 4 are corresponding is described in detail this two states information respectively.
Refer to Fig. 3, it shows the method flow diagram of the data transmission method for uplink that one embodiment of the invention provides, the business demand speed that the method sends business according to data is determined the size that sends window, and wherein, the state information that data send business is: whether initiate these data and send business.This data transmission method for uplink can comprise:
Whether transmitting apparatus monitoring initiates the state information of an item number according to the business of transmission.
Whether transmitting apparatus detects this state information is to initiate these data to send business, sends business if detect this state information for initiating these data, confirms that this state information meets predetermined condition.
Transmitting apparatus obtains the business demand speed of this data service from key-course, and determines according to this business demand speed the size that sends window.
Concrete, transmitting apparatus obtains the business demand speed of data transmission business, determines in conjunction with default business demand speed and the big or small corresponding relation that sends window the size that sends window; Such as, the size that sends window is divided into 3 grades, and (grade 1 is 64, grade 2 is 128, grade 3 is 256), the respectively corresponding business demand speed range of big or small grade of each transmission window, be included in the corresponding business demand speed range of grade 1 if certain data sends the business demand speed a of business, determine that the size of the transmission window of this data transmission business is 64.
Or transmitting apparatus obtains the business demand speed of data transmission business, send the demand rate grade of business in conjunction with the corresponding relation specified data of default business demand speed and demand rate grade; Determine in conjunction with default demand rate grade and the big or small corresponding relation that sends window the size that sends window again.Such as: transmitting apparatus is preset with demand rate grade (the grade A of three data transmission business, grade B and grade C), business demand speed in the corresponding a certain scope of each demand rate grade, simultaneously, each demand rate grade also a corresponding size that sends window (size of the transmission window that grade A is corresponding is 64, the size of the transmission window that grade B is corresponding is 128, the size of the transmission window that grade C is corresponding is 256), if certain data sends the business demand speed b of business in business demand speed range corresponding to grade B, the size of determining the transmission window of this data transmission business is 128.
In addition, transmitting apparatus also can obtain demand rate grade from key-course, then determines in conjunction with default demand rate grade and the big or small corresponding relation that sends window the size that sends window; Such as, transmitting apparatus is preset with the demand rate grade (grade A, grade B and grade C) of three data transmission business, each demand rate grade also a corresponding size that sends window (size of the transmission window that grade A is corresponding is 64, the size of the transmission window that grade B is corresponding is 128, the size of the transmission window that grade C is corresponding is 256), be grade C if certain data that transmitting apparatus obtains from key-course send the business demand speed grade of business, determine that the size of the transmission window of this data transmission business is 256.
The business demand speed that sends business according to data for transmitting apparatus is determined the big or small concrete mode that sends window, and the present embodiment is not specifically limited.Same, the size of the demand speed grade and transmission window only illustrates with above-mentioned data, and in practical application, the size of the number of the demand rate grade of data transmission business and corresponding transmission window can be set according to actual conditions, to this, the present embodiment is not specifically limited.
Transmitting apparatus sends the transmit queue that one of business setting is 0 ~ MAX_SN No. SN for this data, and according to the size of adjusting the transmission window adding in instruction, transmission window is set in this transmit queue.Sending the lower boundary of window is acknowledgement state variable, and its numerical value is that transmitting apparatus receives recently, No. SN of the corresponding protocol Data Unit of reception success response that receiving equipment returns.It should be noted that, when data transmission business has just been initiated, the lower boundary that sends window is 0.
Concrete, transmitting apparatus is that each protocol Data Unit distributes No. SN according to the genesis sequence of protocol Data Unit, and sends successively the protocol Data Unit in sending window No. SN, waits for the reception success response that receiving equipment returns or the response that takes defeat simultaneously; Receive when success response when receiving one, No. SN of corresponding protocol Data Unit is got rid of from send window, when receiving one while accepting failure response, from the corresponding protocol Data Unit of new transmission.
The data transmission method for uplink that the embodiment of the present invention provides, be applicable in the time initiating an item number according to the business of transmission, for the size of this data transmission business setting initialization window, send in process of service execution in data, transmitting apparatus can also be adjusted this transmission window in real time according to the jitter conditions of wireless link, specifically asks for an interview below data transmission method for uplink corresponding to Fig. 4.
In sum, the data transmission method for uplink that the embodiment of the present invention provides, by in the time initiating an item number according to the business of transmission, the business demand speed that sends business according to these data determines that these data send the size of the transmission window of business, solve and in prior art, sent the problem that window utilance is not high, reached the object of saving radio open resource.
Refer to Fig. 4, it shows the method flow diagram of the data transmission method for uplink that another embodiment of the present invention provides, the method can be on the basis of the data transmission method for uplink above Fig. 3 is corresponding, the packet loss that sends business according to data is adjusted the size that sends window flexibly, also can adjust the size that sends window on the basis of existing technology.Wherein, the state information of data transmission business is: data send the packet loss of business.This data transmission method for uplink can comprise:
Transmitting apparatus monitoring these data in predetermined period send the packet loss of business, concrete, transmitting apparatus can be added up these data in predetermined period and send the number of times of business retransmission protocol data cell and the total degree of transmission protocol Data Unit, and calculates the packet loss of this protocol Data Unit according to the number of times of retransmission protocol data cell and the total degree that sends protocol Data Unit.
Transmitting apparatus will detect, this data send the packet loss of business in predetermined period and default packet loss lower limit compares, if this packet loss is less than default packet loss lower limit, illustrate that wireless link is all right, send window utilance higher, now, can suitably increase transmission window, specifically ask for an interview step 303.
Transmitting apparatus arranges a maximum for the transmission window of this data transmission business in advance, and this maximum can be the initial size of this transmission window.Wherein, the initial size that sends window can be according to data transmission method for uplink corresponding to Fig. 3, and the business demand speed that sends business according to these data arranges, and also can be set to a fixed value according to prior art, and to this, the present embodiment is not specifically limited.If after transmitting apparatus judgement transmission window increases according to predetermined increase value, the size of this transmission window is greater than preset maximum value, enters step 304, otherwise uncomfortable haircuting sent window, enters step 310.
Transmitting apparatus generates while adjusting instruction, adjusts the adjustment mode of carrying in instruction and is set to: increase according to predetermined increase value, wherein, increase value can preset a unified numerical value, and the embodiment of the present invention does not limit the concrete numerical value of predetermined increase value.
Transmitting apparatus will detect, these data send the packet loss of business in predetermined period and the default packet loss upper limit compares, if this packet loss is greater than the default packet loss upper limit, illustrate that wireless link situation is poor, retransmission rate is higher, sends window utilance not high, now, can suitably reduce to send window, to save wireless link interface-free resources, specifically ask for an interview step 306, otherwise, uncomfortable haircuting sent window, enters step 310.
The numerical value of send state variable is No. SN (as shown in Figure 1) distributing to next newly-generated protocol Data Unit, if send state variable is in sending outside window, newly-generated protocol Data Unit just can not be sent in time, for fear of this situation, need to first judge and send after window dwindles according to predetermined reduction value, whether send state variable is in this transmission window, if, enter step 307, otherwise uncomfortable haircuting sent window, directly sends next protocol Data Unit.
Transmitting apparatus arranges a minimum value for the transmission window that this data send business in advance, and this minimum value can be according to this transmission window maximum, and (such as being set to peaked 1/2,1/3 etc.) is set according to a certain percentage, also can be set to a fixed value.For the set-up mode of minimum value that sends window, the present embodiment is not specifically limited.If after transmitting apparatus judgement transmission window dwindles according to predetermined reduction value, the size of this transmission window is less than predetermined minimum, enters step 308, otherwise uncomfortable haircuting sent window, enters step 310.
Transmitting apparatus generates while adjusting instruction, adjusts the adjustment mode of carrying in instruction and is set to: dwindle according to predetermined reduction value, wherein, this value of dwindling can be consistent with default increase value.
Concrete, if adjust the adjustment mode of carrying in instruction be: increase according to predetermined increase value, keep the lower boundary of transmission window constant, the coboundary that sends window is increased according to predetermined increase value; If the adjustment mode of carrying in adjustment instruction is: dwindle according to predetermined reduction value, keep the lower boundary of transmission window constant, the coboundary that sends window is dwindled according to predetermined reduction value.
In sum, the data transmission method for uplink that the embodiment of the present invention provides, send the packet loss of business in predetermined period by Monitoring Data, when being less than under default packet loss, packet loss prescribes a time limit, to send window and increase according to predetermined increase value, prescribe a time limit when packet loss is greater than on default packet loss, transmission window will be dwindled according to predetermined reduction value, solve and in prior art, sent the problem that window utilance is not high, reached the object of saving wireless link interface-free resources.
Data transmission method for uplink shown in corresponding diagram 2, refers to Fig. 5, and it shows the structural representation of the transmitting apparatus that one embodiment of the invention provides.This transmitting apparatus can comprise:
Monitoring modular 401, for the state information of Monitoring Data transmission business;
Adjusting module 404, adjusts data and sends the size of the transmission window of business for the adjustment instruction of obtaining according to instruction acquisition module 403;
Sending module 405, for sending successively the protocol Data Unit in sending window.
In sum, the transmitting apparatus that the embodiment of the present invention provides, send the state information of business by Monitoring Data, in the time that this state information meets predetermined condition, obtain the size of adjusting instruction and sending window according to this adjustment instruction adjustment, solve and in prior art, sent the problem that window utilance is not high, reached the object of saving radio open resource.
For transmitting apparatus corresponding to above-mentioned Fig. 5 is described further, refer to Fig. 6, it shows the structural representation of the transmitting apparatus that one embodiment of the invention provides, and the business demand speed that this transmitting apparatus sends business according to data is determined the size that sends window.This transmitting apparatus can comprise:
Monitoring modular 501, for the state information of Monitoring Data transmission business;
Adjusting module 504, adjusts data and sends the size of the transmission window of business for the adjustment instruction of obtaining according to instruction acquisition module 503;
Sending module 505, for sending successively the protocol Data Unit in sending window.
Wherein, the state information that monitoring modular 501 is monitored is: whether initiate data and send business;
Whether detection module 502, be to initiate data to send business for detection of state information, sends business if detect state information for initiating data, and acknowledgement state information meets predetermined condition;
Determining unit 503a, determines for the business demand speed that sends business according to data the size that sends window;
Adding device 503b, for being added into the size that sends window to adjust instruction;
Adjusting module 504, for arranging transmission window according to the size of adjusting the transmission window that adds of instruction.
In addition, determining unit 503a, for obtaining the business demand speed of data transmission business, determines in conjunction with default business demand speed and the big or small corresponding relation that sends window the size that sends window;
Or determining unit 503a, for obtaining the business demand speed of data transmission business, sends the demand rate grade of business in conjunction with the corresponding relation specified data of default business demand speed and demand rate grade; Determine in conjunction with default demand rate grade and the big or small corresponding relation that sends window the size that sends window again.
In sum, the transmitting apparatus that the embodiment of the present invention provides, by in the time initiating an item number according to the business of transmission, the business demand speed that sends business according to these data determines that these data send the size of the transmission window of business, solve and in prior art, sent the problem that window utilance is not high, reached the object of saving radio open resource.
For transmitting apparatus corresponding to above-mentioned Fig. 5 is described further, corresponding to the data transmission method for uplink shown in Fig. 4, refer to Fig. 7, it shows the structural representation of the transmitting apparatus that another embodiment of the present invention provides, and the packet loss that this transmitting apparatus sends business according to data is adjusted the size that sends window flexibly.This transmitting apparatus can comprise:
Monitoring modular 601, for the state information of Monitoring Data transmission business;
Adjusting module 604, adjusts data and sends the size of the transmission window of business for the adjustment instruction of obtaining according to instruction acquisition module 603;
Sending module 605, for sending successively the protocol Data Unit in sending window.
Wherein, state information is: data send the packet loss of business in predetermined period;
The first setting unit 603a, if detect that for detection module 602 packet loss is less than default packet loss lower limit, adjusts the adjustment mode of carrying in instruction and is set to: increase according to predetermined increase value;
The second setting unit 603b, if detect that for detection module 602 packet loss is greater than the default packet loss upper limit, adjusts the adjustment mode of carrying in instruction and is set to: dwindle according to predetermined reduction value;
Adjusting module 604, adjusts for the adjustment mode of carrying according to adjustment instruction the size that sends window.
The first judging unit 603c, the adjustment mode of carrying for the first setting unit 603a adjustment instruction is set to: before increasing according to predetermined increase value, after judgement transmission window increases according to predetermined increase value, whether the size of transmission window is greater than preset maximum value;
The first setting unit 603a, if after judging and send window and increase according to predetermined increase value for the first judging unit 603c, the size that sends window is not more than preset maximum value, carries out the adjustment mode of carrying in adjustment instruction and is set to: the step increasing according to predetermined increase value.
The second judging unit 603d, the adjustment mode of carrying for the second setting unit 603b adjustment instruction is set to: before dwindling according to predetermined reduction value, after judgement transmission window dwindles according to predetermined reduction value, whether the size that sends window is less than predetermined minimum;
The second setting unit 603b, if judge and send after window dwindles according to predetermined reduction value for the second judging unit 603d, the size that sends window is not less than predetermined minimum, carries out the adjustment mode of carrying in adjustment instruction and is set to: the step of dwindling according to predetermined reduction value.
The 3rd judging unit 603e, after judging that for the second judging unit 603d the transmission window of bearer service dwindles according to predetermined reduction value, before whether the size of transmission window is less than predetermined minimum, after the transmission window that judges bearer service dwindles according to predetermined reduction value, whether send state variable is sending in window;
The second judging unit 603d, if after the transmission window of judging bearer service for the 3rd judging unit 603e dwindles according to predetermined reduction value, send state variable is in transmission window, after execution judges that the transmission window of bearer service dwindles according to predetermined reduction value, whether the size that sends window is less than the step of predetermined minimum;
Wherein, send state variable is the sequence number of distributing to the next new protocol Data Unit producing.
Adjusting module 604 comprises:
The first adjustment unit 604a, if for adjustment mode be: increase according to predetermined increase value, keep the lower boundary of transmission window of bearer service constant, the coboundary of the transmission window of bearer service is increased according to predetermined increase value;
The second adjustment unit 604b, if for adjustment mode be: dwindle according to predetermined reduction value, keep the lower boundary of transmission window of bearer service constant, the coboundary of the transmission window of bearer service is dwindled according to predetermined reduction value.
In sum, the transmitting apparatus that the embodiment of the present invention provides, send the packet loss of business in predetermined period by Monitoring Data, when being less than under default packet loss, packet loss prescribes a time limit, to send window and increase according to predetermined increase value, prescribe a time limit when packet loss is greater than on default packet loss, transmission window will be dwindled according to predetermined reduction value, solve and in prior art, sent the problem that window utilance is not high, reached the object of saving wireless link interface-free resources.
It should be noted that: the transmitting apparatus that above-described embodiment provides is in the time adjusting send window, only be illustrated with the division of above-mentioned each functional module, in practical application, can above-mentioned functions be distributed and completed by different functional modules as required, be divided into different functional modules by the internal structure of equipment, to complete all or part of function described above.In addition, the transmitting apparatus that above-described embodiment provides and the embodiment of data transmission method for uplink belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can carry out the hardware that instruction is relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any amendment of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (16)
1. a data transmission method for uplink, for transmitting terminal, is characterized in that, described method comprises:
Monitoring Data sends the state information of business, detects described state information and whether meets predetermined condition;
Meet predetermined condition if detect described state information, obtain adjustment instruction;
Adjust the size of the transmission window of described data transmission business according to described adjustment instruction;
Send successively the protocol Data Unit in described transmission window.
2. data transmission method for uplink according to claim 1, is characterized in that, described state information is: whether initiate described data and send business;
Whether the described state information of described detection meets predetermined condition, comprise: whether detect described state information is to initiate described data to send business, send business if detect described state information for initiating described data, confirm that described state information meets predetermined condition;
Describedly obtain adjustment instruction, comprising: the business demand speed that sends business according to described data is determined the size of described transmission window, and the size of described transmission window is added in described adjustment instruction;
The described size of adjusting the transmission window of described data transmission business according to described adjustment instruction, comprising: according to the size of the transmission window adding in described adjustment instruction, described transmission window is set.
3. data transmission method for uplink according to claim 2, is characterized in that, the described business demand speed according to described data transmission business is determined the size of described transmission window, comprising:
Obtain the business demand speed that described data send business, determine the size of described transmission window in conjunction with default business demand speed and the big or small corresponding relation that sends window;
Or,
Obtain the business demand speed that described data send business, determine that in conjunction with the corresponding relation of default business demand speed and demand rate grade described data send the demand rate grade of business; Determine again the size of described transmission window in conjunction with default demand rate grade and the big or small corresponding relation that sends window.
4. data transmission method for uplink according to claim 1, is characterized in that, described state information is: described data send the packet loss of business in predetermined period;
Whether the described state information of described detection meets predetermined condition, comprise: detect the packet loss of described data transmission business in predetermined period and whether be less than default packet loss lower limit, or, described data send the packet loss of business in predetermined period and whether are less than default packet loss lower limit, be less than default packet loss lower limit if detect described packet loss, or, detect described packet loss and be greater than the default packet loss upper limit, confirm that described state information meets predetermined condition;
Describedly obtain adjustment instruction, comprising:
If detect, described packet loss is less than default packet loss lower limit, and the adjustment mode of carrying in described adjustment instruction is set to: increase according to predetermined increase value;
If detect, described packet loss is greater than the default packet loss upper limit, and the adjustment mode of carrying in described adjustment instruction is set to: dwindle according to predetermined reduction value;
The described size of adjusting the transmission window of described data transmission business according to described adjustment instruction, comprising: the size of adjusting described transmission window according to the adjustment mode of carrying in described adjustment instruction.
5. data transmission method for uplink according to claim 4, is characterized in that, the adjustment mode of carrying in described adjustment instruction is set to: before increasing according to predetermined increase value, described method also comprises:
After judging that described transmission window increases according to predetermined increase value, whether the size of described transmission window is greater than preset maximum value;
If after judging described transmission window and increasing according to predetermined increase value, the size of described transmission window is not more than preset maximum value, carries out the adjustment mode of carrying in described adjustment instruction and is set to: the step increasing according to predetermined increase value.
6. data transmission method for uplink according to claim 4, is characterized in that, the adjustment mode of carrying in described adjustment instruction is set to: before dwindling according to predetermined reduction value, described method also comprises:
After judging that described transmission window dwindles according to predetermined reduction value, whether the size of described transmission window is less than predetermined minimum;
If after judging described transmission window and dwindling according to predetermined reduction value, the size of described transmission window is not less than predetermined minimum, carries out the adjustment mode of carrying in described adjustment instruction and is set to: the step of dwindling according to predetermined reduction value.
7. data transmission method for uplink according to claim 6, is characterized in that, after the described transmission window of described judgement dwindles according to predetermined reduction value, before whether the size of described transmission window is less than predetermined minimum, described method also comprises:
After judging that described transmission window dwindles according to predetermined reduction value, whether send state variable is in described transmission window;
If after judging described transmission window and dwindling according to predetermined reduction value, send state variable is in described transmission window, and after carrying out the described transmission window of described judgement and dwindling according to predetermined reduction value, whether the size of described transmission window is less than the step of predetermined minimum;
Wherein, described send state variable is the sequence number of distributing to the next new protocol Data Unit producing.
8. data transmission method for uplink according to claim 4, is characterized in that, the described size of adjusting described transmission window according to the adjustment mode of carrying in described adjustment instruction, comprising:
If described adjustment mode is: increase according to predetermined increase value, keep the lower boundary of described transmission window constant, the coboundary of described transmission window is increased according to predetermined increase value;
If described adjustment mode is: dwindle according to predetermined reduction value, keep the lower boundary of described transmission window constant, the coboundary of described transmission window is dwindled according to predetermined reduction value.
9. a transmitting apparatus, is characterized in that, described transmitting apparatus comprises:
Monitoring modular, for the state information of Monitoring Data transmission business;
Detection module, for detection of described monitoring module monitors to state information whether meet predetermined condition;
Instruction acquisition module, meets predetermined condition if detect described state information for described detection module, obtains adjustment instruction;
Adjusting module, adjusts described data and sends the size of the transmission window of business for the adjustment instruction of obtaining according to described instruction acquisition module;
Sending module, for sending successively the protocol Data Unit in described transmission window.
10. transmitting apparatus according to claim 9, is characterized in that, described state information is: whether initiate described data and send business;
Whether described detection module, be to initiate described data to send business for detection of described state information, sends business if detect described state information for initiating described data, confirms that described state information meets predetermined condition;
Described instruction acquisition module comprises:
Determining unit, for determining the size of described transmission window according to the business demand speed of described data transmission business;
Adding device, for being added into the size of described transmission window described adjustment instruction;
Described adjusting module, arranges described transmission window for the size of the transmission window that adds according to described adjustment instruction.
11. transmitting apparatus according to claim 10, is characterized in that,
Described determining unit, for obtaining the business demand speed of described data transmission business, determines the size of described transmission window in conjunction with default business demand speed and the big or small corresponding relation that sends window;
Or,
Described determining unit, for obtaining the business demand speed of described data transmission business, determines that in conjunction with the corresponding relation of default business demand speed and demand rate grade described data send the demand rate grade of business; Determine again the size of described transmission window in conjunction with default demand rate grade and the big or small corresponding relation that sends window.
12. transmitting apparatus according to claim 9, is characterized in that, described state information is: described data send the packet loss of business in predetermined period;
Described detection module, send the packet loss of business in predetermined period for detection of described data and whether be less than default packet loss lower limit, or, described data send the packet loss of business in predetermined period and whether are less than default packet loss lower limit, be less than default packet loss lower limit if detect described packet loss, or, detect described packet loss and be greater than the default packet loss upper limit, confirm that described state information meets predetermined condition;
Described instruction acquisition module comprises:
The first setting unit, if detect that for described detection module described packet loss is less than default packet loss lower limit, the adjustment mode of carrying in described adjustment instruction is set to: increase according to predetermined increase value;
The second setting unit, if detect that for described detection module described packet loss is greater than the default packet loss upper limit, the adjustment mode of carrying in described adjustment instruction is set to: dwindle according to predetermined reduction value;
Described adjusting module, adjusts the size of described transmission window for the adjustment mode of carrying according to described adjustment instruction.
13. transmitting apparatus according to claim 12, is characterized in that, described instruction acquisition module also comprises:
The first judging unit, the adjustment mode of carrying for the described adjustment instruction of described the first setting unit is set to: before increasing according to predetermined increase value, after judging that described transmission window increases according to predetermined increase value, whether the size of described transmission window is greater than preset maximum value;
Described the first setting unit, if after judging described transmission window and increase according to predetermined increase value for described the first judging unit, the size of described transmission window is not more than preset maximum value, carries out the adjustment mode of carrying in described adjustment instruction and is set to: the step increasing according to predetermined increase value.
14. transmitting apparatus according to claim 12, is characterized in that, described instruction acquisition module also comprises:
The second judging unit, the adjustment mode of carrying for the described adjustment instruction of described the second setting unit is set to: before dwindling according to predetermined reduction value, after judging that described transmission window dwindles according to predetermined reduction value, whether the size of described transmission window is less than predetermined minimum;
Described the second setting unit, if after judging described transmission window and dwindle according to predetermined reduction value for described the second judging unit, the size of described transmission window is not less than predetermined minimum, carries out the adjustment mode of carrying in described adjustment instruction and is set to: the step of dwindling according to predetermined reduction value.
15. transmitting apparatus according to claim 14, is characterized in that, described instruction acquisition module also comprises:
The 3rd judging unit, after judging that for described the second judging unit the transmission window of described bearer service dwindles according to predetermined reduction value, before whether the size of described transmission window is less than predetermined minimum, after the transmission window that judges described bearer service dwindles according to predetermined reduction value, whether send state variable is in described transmission window;
Described the second judging unit, if after the transmission window of judging described bearer service for described the 3rd judging unit dwindles according to predetermined reduction value, described send state variable is in described transmission window, after the transmission window of carrying out the described bearer service of described judgement dwindles according to predetermined reduction value, whether the size of described transmission window is less than the step of predetermined minimum;
Wherein, described send state variable is the sequence number of distributing to the next new protocol Data Unit producing.
16. transmitting apparatus according to claim 9, is characterized in that, describedly comprise according to described adjusting module:
The first adjustment unit, if for described adjustment mode be: increase according to predetermined increase value, keep the lower boundary of transmission window of described bearer service constant, the coboundary of the transmission window of described bearer service is increased according to predetermined increase value;
The second adjustment unit, if for described adjustment mode be: dwindle according to predetermined reduction value, keep the lower boundary of transmission window of described bearer service constant, the coboundary of the transmission window of described bearer service is dwindled according to predetermined reduction value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210540227.6A CN103873189A (en) | 2012-12-13 | 2012-12-13 | Data transmission method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210540227.6A CN103873189A (en) | 2012-12-13 | 2012-12-13 | Data transmission method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103873189A true CN103873189A (en) | 2014-06-18 |
Family
ID=50911350
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210540227.6A Pending CN103873189A (en) | 2012-12-13 | 2012-12-13 | Data transmission method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103873189A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106792895A (en) * | 2016-12-05 | 2017-05-31 | 中国联合网络通信集团有限公司 | A kind of method and apparatus for determining data package size |
CN108494702A (en) * | 2018-02-23 | 2018-09-04 | 腾讯科技(深圳)有限公司 | Transfer control method and device, storage medium and electronic device |
CN113162813A (en) * | 2020-01-22 | 2021-07-23 | 烽火通信科技股份有限公司 | PTP message loss detection analysis method and device |
WO2022141066A1 (en) * | 2020-12-29 | 2022-07-07 | 华为技术有限公司 | Data transmission method and apparatus |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1520075A (en) * | 2003-01-23 | 2004-08-11 | 华为技术有限公司 | Method for controlling sublayer in wireless link aiming at dynamic configuration of packet data service |
CN1553606A (en) * | 2003-05-30 | 2004-12-08 | 中兴通讯股份有限公司 | Transmitting window adjusting method in wireless chain circuit control layer |
CN1599453A (en) * | 2003-09-17 | 2005-03-23 | 联想(北京)有限公司 | Method for dynamic regulating video transmission |
US20060203752A1 (en) * | 2005-03-08 | 2006-09-14 | Intel Corporation | Method and apparatus for implementing block acknowledgement in a wireless network |
CN101582836A (en) * | 2008-05-16 | 2009-11-18 | 华为技术有限公司 | Congestion control method, wireless netted network node and system |
-
2012
- 2012-12-13 CN CN201210540227.6A patent/CN103873189A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1520075A (en) * | 2003-01-23 | 2004-08-11 | 华为技术有限公司 | Method for controlling sublayer in wireless link aiming at dynamic configuration of packet data service |
CN1553606A (en) * | 2003-05-30 | 2004-12-08 | 中兴通讯股份有限公司 | Transmitting window adjusting method in wireless chain circuit control layer |
CN1599453A (en) * | 2003-09-17 | 2005-03-23 | 联想(北京)有限公司 | Method for dynamic regulating video transmission |
US20060203752A1 (en) * | 2005-03-08 | 2006-09-14 | Intel Corporation | Method and apparatus for implementing block acknowledgement in a wireless network |
CN101582836A (en) * | 2008-05-16 | 2009-11-18 | 华为技术有限公司 | Congestion control method, wireless netted network node and system |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106792895A (en) * | 2016-12-05 | 2017-05-31 | 中国联合网络通信集团有限公司 | A kind of method and apparatus for determining data package size |
CN106792895B (en) * | 2016-12-05 | 2019-12-13 | 中国联合网络通信集团有限公司 | method and equipment for determining size of data packet |
CN108494702A (en) * | 2018-02-23 | 2018-09-04 | 腾讯科技(深圳)有限公司 | Transfer control method and device, storage medium and electronic device |
CN108494702B (en) * | 2018-02-23 | 2021-05-11 | 腾讯科技(深圳)有限公司 | Transmission control method and apparatus, storage medium, and electronic apparatus |
CN113162813A (en) * | 2020-01-22 | 2021-07-23 | 烽火通信科技股份有限公司 | PTP message loss detection analysis method and device |
CN113162813B (en) * | 2020-01-22 | 2022-06-03 | 烽火通信科技股份有限公司 | PTP message loss detection analysis method and device |
WO2022141066A1 (en) * | 2020-12-29 | 2022-07-07 | 华为技术有限公司 | Data transmission method and apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108023758B (en) | Method and network equipment for processing message in hybrid access network | |
CN101369875B (en) | Transmission method, apparatus and system for control protocol data package | |
CN102611537B (en) | A kind of repeating method of packet and device | |
WO2018121096A1 (en) | Flow control method, device, cu, du and storage medium | |
CN110022266A (en) | The control method and device of load transmission | |
US9667556B2 (en) | Adjusting connection validating control signals in response to changes in network traffic | |
CN104170341A (en) | Data transmission method, equipment and system | |
KR20170131466A (en) | Collaborative techniques to improve application, network and device resource utilization of data streams | |
CN102647263B (en) | A kind of transmission method of ACK/NACK information and equipment | |
US9264106B2 (en) | Method for controlling flows of logical link layer in near field communication software stack | |
US10645609B2 (en) | Method and apparatus for transmitting TCP ACK in communication system | |
CN108632869B (en) | Transmission control method and device | |
CN102256314A (en) | Method for adjusting service coding rate and communication node | |
CN103430489A (en) | File download method, device, and system in content delivery network | |
CN103873189A (en) | Data transmission method and device | |
CN104104485A (en) | D2D data transmission method | |
CN106416112A (en) | Data transmission method and apparatus | |
CN102624769B (en) | Pipeline network device and related data transmission method | |
CN104869073A (en) | Flow control method and device | |
CN106332175A (en) | Method and device for controlling transmission of dual-connection X2 state report and auxiliary base station | |
CN103139247A (en) | Keep-alive method, system and device for rear-end server in load balancing system | |
CN116886576A (en) | Multi-control storage cluster communication timeout control method, device, equipment and medium | |
CN102014058A (en) | Method and device for dispatching uplink flow rate | |
CN114258157A (en) | Aggregation configuration method, device and terminal | |
CN103098510A (en) | Method, apparatus and system for controlling data transmission |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140618 |
|
RJ01 | Rejection of invention patent application after publication |