Method of controlling data transmission and device thereof
A method of controlling a data transmission and a device thereof are provided. According to the method, a data sender acquires QoS control information, and controls a data transmission according to QoS control information. In the case that the data sender is a UE, the network side device sends the QoS control information to the UE, so that the UE may control the data transmission according to the QoS control information and may perform the corresponding control onto the data transmission.
1. A method of controlling a data transmission, comprising:
acquiring quality of service control information;
controlling a data transmission according to the quality of service control information;
wherein the quality of service control information comprises a bit rate limiting parameter configured to limit a bit rate of the data transmission;
wherein the controlling the data transmission according to the quality of service control information comprises: limiting the bit rate of the data transmission according to the bit rate limiting parameter;
wherein in the case that the bit rate limiting parameter comprises the bit rate limiting switch indication and the bit rate limiting switch indication is configured to indicate, for each type of the limiting parameter of the bit rate limiting parameter, whether to enable the bit rate limit, the limiting the bit rate of the data transmission according to the bit rate limiting parameter comprises: in the case that the bit rate limiting switch indication indicates the bit rate limit is enabled, limiting the bit rate of the data transmission according to the limiting parameter corresponding to the bit rate limiting switch indication;
wherein the bit rate limiting parameter comprises a radio bearer bit rate limiting parameter, wherein
the radio bearer bit rate limiting parameter comprises: a radio bearer identifier and a radio bearer maximum bit rate;
the limiting the bit rate of the data transmission according to the bit rate limiting parameter comprises:
in the case that a transmission bit rate of a radio bearer identified by the radio bearer identifier reaches the radio bearer maximum bit rate within a preset time window, stopping the data transmission of the radio bearer;
wherein the bit rate limiting parameter further comprises time window information configured to indicate a time window corresponding to the bit rate limiting parameter, wherein
in the case that the bit rate limiting parameter comprises the radio bearer bit rate limiting parameter, the time window information comprises fourth time window information configured to indicate a position of the time window corresponding to the radio bearer bit rate limiting parameter;
wherein the method further comprises:
determining a time position of acquiring the bit rate as a starting time position of the time window;
wherein the quality of service control information further comprises: a flow identifier, a priority of a data flow, a prioritized bit rate of a data flow and a bucket size duration of a data flow;
wherein the controlling the data transmission according to the quality of service control information comprises:
allocating corresponding resources for each data flow, in an order from a data flow with a higher priority to a data flow with a lower priority, wherein for each data flow, an amount of data enabled to be sent since the data flow is started to be established is less than or equal to a maximum data bucket value, the amount of data enabled to be sent is the amount of data enabled to be sent according to the prioritized bit rate of the data flow and from a time when starting to establish the data flow to a current time point, the maximum data bucket value is a product of the prioritized bit rate and the bucket size duration of the data flow;
wherein the allocating the corresponding resources for each data flow in the order from a data flow with a higher priority to a data flow with a lower priority comprises:
for the data flows with two adjacent priorities, in the case that the prioritized bit rate of the data flow with the higher priority is an unlimited bit rate, allocating the resources for the data flow with the lower priority after the resources allocated for the data flow with the higher priority are sufficient to transmit all margin data of the data flow with the higher priority;
or
for each data flow, in the case that the amount of data enabled to be sent since the data flow is started to be established is less than or equal to an amount of data sent actually, stopping the transmission of the data flow.
2. The method according to claim 1 , wherein the bit rate limiting parameter further comprises a flow bit rate limiting parameter, wherein
the flow bit rate limiting parameter comprises: a flow identifier and a maximum flow bit rate or a guaranteed flow bit rate.
3. The method according to claim 2 , wherein
in the case that the bit rate limiting parameter comprises the flow bit rate limiting parameter, the time window information comprises first time window information configured to indicate a position of the time window corresponding to the flow rate limiting parameter;
in the case that the bit rate limiting parameter comprises a session bit rate limiting parameter, the time window information comprises second time window information configured to indicate a position of the time window corresponding to the session bit rate limiting parameter;
in the case that the bit rate limiting parameter comprises a terminal bit rate limiting parameter, the time window information comprises third time window information configured to indicate a position of the time window corresponding to the terminal bit rate limiting parameter.
4. The method according to claim 1 , wherein in the case that the bit rate limiting parameter comprises the flow identifier and a maximum flow bit rate, the limiting the bit rate of the data transmission according to the bit rate limiting parameter comprises:
in the case that a transmission bit rate of a data flow corresponding to the flow identifier reaches the maximum flow bit rate, stopping the data transmission of the corresponding data flow;
in the case that the bit rate limiting parameter comprises the flow identifier and a guaranteed flow bit rate, the limiting the bit rate of the data transmission according to the bit rate limiting parameter comprises:
in the case that a transmission bit rate of a data flow corresponding to the flow identifier reaches the guaranteed flow bit rate, stopping the data transmission of the corresponding data flow;
in the case that the bit rate limiting parameter comprises a session identifier and a session aggregate maximum bit rate, the limiting the bit rate of the data transmission according to the bit rate limiting parameter comprises:
in the case that a transmission bit rate of a session identified by the session identifier reaches the session aggregate maximum bit rate within a preset time window, stopping the data transmission of the corresponding session;
in the case that the bit rate limiting parameter comprises a terminal identifier and a terminal aggregate maximum bit rate, the limiting the bit rate of the data transmission according to the bit rate limiting parameter comprises:
in the case that a transmission bit rate of a terminal identified by the terminal identifier reaches the terminal aggregate maximum bit rate within a preset time window, stopping the data transmission of the terminal.
5. A device of controlling a data transmission, comprising: a processor, a memory and a network access program stored in the memory and executable by the processor, wherein the network access program is executed by the processor to:
acquire quality of service control information;
control a data transmission according to the quality of service control information;
wherein the quality of service control information comprises a bit rate limiting parameter configured to limit a bit rate of the data transmission;
wherein the network access program is executed by the processor to limit the bit rate of the data transmission according to the bit rate limiting parameter;
wherein in the case that the bit rate limiting parameter comprises the bit rate limiting switch indication and the bit rate limiting switch indication is configured to indicate, for each type of the limiting parameter of the bit rate limiting parameter, whether to enable the bit rate limit, wherein the network access program is executed by the processor to: in the case that the bit rate limiting switch indication indicates the bit rate limit is enabled, limit the bit rate of the data transmission according to the limiting parameter corresponding to the bit rate limiting switch indication;
wherein the bit rate limiting parameter comprises a radio bearer bit rate limiting parameter, wherein
the radio bearer bit rate limiting parameter comprises: a radio bearer identifier and a radio bearer maximum bit rate;
the network access program is executed by the processor to:
in the case that a transmission bit rate of a radio bearer identified by the radio bearer identifier reaches the radio bearer maximum bit rate within a preset time window, stop the data transmission of the radio bearer;
wherein the bit rate limiting parameter further comprises time window information configured to indicate a time window corresponding to the bit rate limiting parameter, wherein
in the case that the bit rate limiting parameter comprises the radio bearer bit rate limiting parameter, the time window information comprises fourth time window information configured to indicate a position of the time window corresponding to the radio bearer bit rate limiting parameter;
wherein the network access program is executed by the processor to:
determine a time position of acquiring the bit rate as a starting time position of the time window;
wherein the quality of service control information further comprises: a flow identifier, a priority of a data flow, a prioritized bit rate of a data flow and a bucket size duration of a data flow:
wherein the network access program is executed by the processor to:
allocate corresponding resources for each data flow, in an order from a data flow with a higher priority to a data flow with a lower priority, wherein for each data flow, an amount of data enabled to be sent since the data flow is started to be established is less than or equal to a maximum data bucket value, the amount of data enabled to be sent is the amount of data enabled to be sent according to the prioritized bit rate of the data flow and from a time when starting to establish the data flow to a current time point, the maximum data bucket value is a product of the prioritized bit rate and the bucket size duration of the data flow;
wherein the network access program is executed by the processor to:
for the data flows with two adjacent priorities, in the case that the prioritized bit rate of the data flow with the higher priority is an unlimited bit rate, allocate the resources for the data flow with the lower priority after the resources allocated for the data flow with the higher priority are sufficient to transmit all margin data of the data flow with the higher priority;
or
for each data flow, in the case that the amount of data enabled to be sent since the data flow is started to be established is less than or equal to an amount of data sent actually, stop the transmission of the data flow.
6. The device according to claim 5 , wherein the bit rate limiting parameter further comprises a flow bit rate limiting parameter, wherein
the flow bit rate limiting parameter comprises: a flow identifier and a maximum flow bit rate or a guaranteed flow bit rate.
7. The device according to claim 6 , wherein
in the case that the bit rate limiting parameter comprises the flow bit rate limiting parameter, the time window information comprises first time window information configured to indicate a position of the time window corresponding to the flow rate limiting parameter;
in the case that the bit rate limiting parameter comprises a session bit rate limiting parameter, the time window information comprises second time window information configured to indicate a position of the time window corresponding to the session bit rate limiting parameter;
in the case that the bit rate limiting parameter comprises a terminal bit rate limiting parameter, the time window information comprises third time window information configured to indicate a position of the time window corresponding to the terminal bit rate limiting parameter.
8. The device according to claim 5 , wherein in the case that the bit rate limiting parameter comprises the flow identifier and a maximum flow bit rate, the network access program is executed by the processor to:
in the case that a transmission bit rate of a data flow corresponding to the flow identifier reaches the maximum flow bit rate, stop the data transmission of the corresponding data flow;
in the case that the bit rate limiting parameter comprises the flow identifier and a guaranteed flow bit rate, the network access program is executed by the processor to:
in the case that a transmission bit rate of a data flow corresponding to the flow identifier reaches the guaranteed flow bit rate, stop the data transmission of the corresponding data flow;
in the case that the bit rate limiting parameter comprises a session identifier and a session aggregate maximum bit rate, the network access program is executed by the processor to:
in the case that a transmission bit rate of a session identified by the session identifier reaches the session aggregate maximum bit rate within a preset time window, stop the data transmission of the corresponding session;
in the case that the bit rate limiting parameter comprises a terminal identifier and a terminal aggregate maximum bit rate, the network access program is executed by the processor to:
in the case that a transmission bit rate of a terminal identified by the terminal identifier reaches the terminal aggregate maximum bit rate within a preset time window, stop the data transmission of the terminal.