Detailed Description
The embodiment of the invention mainly comprises that when a user terminal UE transmits a VOIP service data packet for the first time, the user terminal UE judges whether the size of the VOIP service data packet is less than or equal to a threshold pre-configured by an RNC (radio network controller), if so, the user terminal UE transmits the VOIP service data packet to a Node B by using pre-allocated semi-static resources; otherwise, UE sends SI to Node B, Node B distributes the first up going resource for transmitting VOIP business data package according to SI, and sends the distributed first up going resource to UE, thus UE transmits said VOIP business data package to Node B by using said first up going resource, and then can save resource greatly.
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the following embodiments and the accompanying drawings.
Referring to fig. 1, fig. 1 is a flowchart of a VOIP transmission method according to an embodiment of the present invention. As shown in fig. 1, the process includes the following steps:
step 101, when the UE transmits the VOIP service data packet for the first time, it determines whether the size of the VOIP service data packet currently transmitted is less than or equal to a threshold preconfigured by the RNC, and if so, step 102 is executed. Otherwise, step 103 is performed.
Here, since the rate of the VOIP service is not fixed and constant, it may vary within a certain range, for example, the initial stage of the call may not use the IP header compression, but the stable call stage may use the IP header compression, and even if the VOIP service currently enters the stable call stage, the traffic rate may not be constant and may vary within a small range due to channel, noise, and the like. Therefore, the threshold preconfigured by the RNC in the embodiment of the present invention only needs to satisfy the VOIP service packet transmission under most conditions (for example, 80% to 90%).
Step 102, the UE transmits the VOIP service data packet to the Node B by using the pre-allocated semi-static resource.
Here, the semi-static resource is an uplink resource used by the currently transmitted VOIP service packet. Where semi-static resources are also referred to as semi-persistent resources, there is a starting point in time but no ending point, which includes one or more of a slot, a code track, a power resource, a Transmission Time Interval (TTI) level repetition period, a repetition length, an offset, and so on.
In addition, the semi-static resource may be an uplink resource allocated by the RNC through a high layer signaling, or may be an uplink resource allocated by the Node B through a first predefined E-AGCH, which is not specifically limited in this embodiment. Also, the first predefined E-AGCH is adapted to carry semi-static resources.
Step 103, the UE sends the SI to the Node B. Thereafter, step 104 is performed.
The SI is used in the non-scheduled transmission mode in the prior art, and may carry resource information currently required for transmitting the VOIP service packet.
Step 104, the Node B allocates the first uplink resource according to the SI, and sends the allocated first uplink resource to the UE.
Specifically, the Node B transmits the allocated first uplink resource to the UE through a second predefined E-AGCH. The second predefined E-AGCH is suitable for carrying uplink resources dynamically allocated by the Node B according to the SI, and for how to distinguish the first predefined E-AGCH from the second predefined E-AGCH, the following description in step 206 may be specifically referred to.
And 105, the UE transmits the VOIP service data packet to the NodeB by using the first uplink resource.
Here, step 103, step 104 and step 105 are similar to the operations corresponding to the non-scheduled transmission mode in the prior art, and are not described here again.
In addition, after the Node B in step 102 or step 105 receives the VOIP service packet, step 106 may be executed to ensure that the VOIP service packet to be transmitted can accurately reach the Node B.
Step 106, the Node B checks the received VOIP service data packet, if the check fails, the Node B allocates a fourth uplink resource for retransmitting the VOIP service data packet, and sends the fourth uplink resource to the UE, and then step 107 is executed.
Specifically, the Node B sends the fourth uplink resource to the UE through the second predefined E-AGCH. Wherein the second predefined E-AGCH is described in step 206 below.
Step 107, the UE retransmits the VOIP service data packet by using the fourth uplink resource.
Preferably, after the VOIP service is transmitted, step 108 can be further executed.
Step 108, releasing the VOIP service.
If the UE transmits the VOIP service data packet to the Node B by using the semi-static resource pre-allocated by the RNC through the high-level signaling, the RNC may further perform an operation of retrieving the pre-allocated semi-static resource when releasing the VOIP service, and in the specific implementation, the procedure may be similar to the release process of the non-scheduling resource in the existing 3GPP standard, which is not described herein again.
It should be noted that, in the process that the UE transmits the VOIP service packet to the Node B by using the first uplink resource or transmits the VOIP service packet to the Node B by using the pre-allocated semi-static resource, there may be a change in resource information in the middle, so it is further necessary to detect a change in the resource information that may exist, and then perform resource adjustment according to the change. In the process that the UE transmits the VOIP service data packet to the Node B by using the first uplink resource, if the resource information possibly changes in the middle, the corresponding resource can be dynamically allocated according to the change of the resource information by using a non-scheduling transmission mode. Preferably, the embodiment of the present invention is mainly directed to the detection operation performed in the process of transmitting the VOIP service data packet to the Node B by using the pre-allocated semi-static resource.
Referring to fig. 2, fig. 2 is a flowchart illustrating an embodiment of the present invention in which a UE transmits a VOIP service packet to a Node B by using a pre-allocated semi-static resource. The change of the resource information existing in the process that the UE transmits the VOIP service data packet to the Node B by using the pre-allocated semi-static resource can be detected by the Node B or the UE. In this embodiment, taking the change of resource information that occurs in the process that the UE detects itself and transmits the VOIP service packet to the Node B using the pre-allocated semi-static resource as an example, as shown in fig. 2, in the process that the UE transmits the VOIP service packet to the base station Node B using the pre-allocated semi-static resource, the process includes the following steps:
in step 201, the UE determines a first data period according to a previously received VOIP service data packet from a higher layer.
For example, in the process that the UE transmits the VOIP service packet to the base station Node B by using the pre-allocated semi-static resource, if the UE receives the VOIP service packet from the higher layer every 20ms before, the UE determines that the value of the current first data period is 20 ms.
In step 202, the UE determines a time interval between a currently received VOIP service packet from a higher layer and a last received VOIP service packet from the higher layer.
In step 203, the UE determines whether the difference between the time interval and the first data period is less than or equal to a preset error, if so, performs step 204, otherwise, performs step 205.
Preferably, the preset error is generally smaller in value than the first data period. For example, if the UE determines that the current first data period is 20ms, the preset error is less than 20 ms.
Step 204, the UE continues to transmit the VOIP service data packet to the Node B by using the pre-allocated semi-static resource, and returns to execute step 201 until the VOIP service transmission is completed.
In step 205, the UE obtains the currently required resource information according to the determined time interval, and sends the resource information to the Node B.
Here, the resource information is changed due to a change in the state of the UE. The state of the UE comprises a silent period and an active period, and when the UE enters the active period from the silent period or enters the silent period from the active period, the resource period is changed, so that the resource information is changed. In addition, it should be noted that, the UE in step 101 transmits the VOIP service data packet for the first time, which may be the VOIP service data packet for the first time when the UE is in the silent period, or the VOIP service data packet for the first time when the UE is in the active period. The embodiments of the present invention are not limited thereto.
For example, if the UE determines that the current first data period is 20ms, and determines that the time interval between the current received VOIP service data packet from the higher layer and the last received VOIP service data packet from the higher layer is 160ms, it can be seen that the time interval is not the time interval in which the UE determines the current first data period, and the UE can know that the current state is the quiet period according to the time interval, and the resource information required currently is not the resource information corresponding to the first data period of 20ms, so that the UE transfers the resource information required for the quiet period to the Node B, and specifically, the UE carries the resource information in the predefined SI and sends the resource information to the Node B.
The predefined SI is an SI suitable for transmitting VOIP service information, and is different from an SI used in an existing non-scheduling transmission manner. In the existing protocol, the HLID field of the SI is the identifier of the reported highest priority logical channel, and is used to indicate the logical channel of a certain multiplexing list. In this embodiment, a VOIP service multiplexing list independent from an existing multiplexing list is separately set, and one or more bits in the HLID field are used to identify a logical channel corresponding to the VOIP service multiplexing list. Therefore, the definition for transmitting the VOIP service information SI is realized, so that after the Node B obtains the SI, whether the current service is the VOIP service can be determined according to the HLID domain.
In addition, the change of the time interval may be implemented by a special setting method of information pre-setting in the predefined SI, for example, setting TEBS to 0 is used to indicate that the state of the UE enters the silent period from the active period.
In step 206, the Node B allocates the second uplink resource according to the received resource information, and sends the allocated second uplink resource to the UE.
Specifically, the Node B sends the allocated second uplink resource to the UE through a second predefined E-AGCH. The second uplink resource may include one or more of a time slot, a code channel, a power resource, a Transmission Time Interval (TTI) -level repetition period, a repetition length, an offset, and the like. Here, the second predefined E-AGCH is adapted to transmit uplink resources dynamically allocated by the Node B, and the first predefined E-AGCH is adapted to transmit semi-static resources pre-allocated by the Node B, so that the embodiment of the present invention needs to distinguish the first predefined E-AGCH from the second predefined E-AGCH, specifically, there are three ways.
Mode 1:
setting the second predefined E-AGCH format as a new E-AGCH physical channel format. Wherein, the new E-AGCH physical channel format comprises the following fields: power, code word, time slot, repetition period, repetition length, offset, E-HICH indication, ECSN (E-AGCH cyclic sequence number), number of E-UCCHs. Compared with the first predefined E-AGCH information field format, the repetition period, repetition length, and offset replace the original RDI (resource duration indication, 3 bits) field, and the added 3 fields require at least 10 bits, so the information field in the new E-AGCH physical channel format is longer than the existing E-AGCH information field.
It can be seen that the manner 1 can realize the above-mentioned distinction between the first predefined E-AGCH and the second predefined E-AGCH by introducing a new E-AGCH physical channel format, which is simpler but increases the information field in the E-AGCH physical channel format. In addition, after the UE receives the E-AGCH sent by the Node B, the UE distinguishes the two E-AGCH channel formats in a blind detection mode.
Mode 2:
this approach does not require changing the channel structure of the E-AGCH, and in the current channel structure of the E-AGCH, the CRRI occupies 5 bits, there are 32 states in total, but actually, the CRRI uses only 31 states, and there is a special state (11111) that is not used, so this embodiment uses this state to distinguish the first predefined E-AGCH from the second predefined E-AGCH.
In this way, after the CRRI is used to distinguish the two E-AGCH formats, other information fields need to be adjusted to carry the change of persistent resources. Wherein the resource may include one or more of a code channel, a time slot, a power resource, a repetition period at TTI level, a repetition length, an offset, and the like. For the power resource, because the part beta is notified to the UE by the RNC through the high layer signaling, and the reference power part is controlled by the downlink TPC command sent by the NodeB, the power can be out of the range dynamically adjusted by the NodeB. Only the time slot, code track, repetition period, repetition length and offset that need to be adjusted, usually the adjustment requirement for the offset is lower than the other first four quantities. Therefore, in the present embodiment, the timeslot, the code, the repetition period, and the repetition length are used as the required adjustment amounts, and the power and the offset are used as the selectable adjustment amounts.
In this method, adjustment of power resources in the semi-static resources is not considered, and therefore, the bearer method of the power resources does not need to be considered. For the carrying manner of timeslot and code channel resources, it is the same as the prior art, and is not described here again. Since the change of the repetition period and the repetition length only has two states of 20ms and 160ms, the present embodiment proposes two different methods for the two states, one of which is represented by the original state indicated by the CRRI plus the above state for distinguishing the first predefined E-AGCH format from the second predefined E-AGCH format; the other is represented by one or two bits of 8 bits of the RDI and PRRI fields, wherein if the two bits are used, 4 states of 20, 40, 80 and 160ms can be indicated. Of course, the offset may also be represented by several bits in both the RDI and PRRI information fields.
It should be noted that, because the resource occupation of the quiet period is relatively small and the interval is long, if a plurality of UEs are in the quiet period at the same time, the resource of the UEs needs to be well planned to avoid generating too many fragments, which is not favorable for the utilization of the whole resource. In this embodiment, if the UE enters the quiet period from the active period, the Node B re-plans the timeslot, code channel resources, and offset used by the UE in the quiet period, so that a whole block of resources can be reserved for other services, and scheduling and use of other services are facilitated. In which, because the quiet period only transmits background noise and the delay is not sensitive, the delay caused by the change of the offset can be considered as acceptable.
The maximum silent period resource repetition period is 160ms, and a subframe of 5ms is taken as a unit, so that 32 kinds of offsets exist in total, and the carrier can be carried by using 5 bits. And the PRRI and RDI on the E-AGCH have 8 bits in total, only 5 bits of the PRRI and RDI are needed, for example, only the PRRI domain is used. Conversely, when the UE returns to the active period from the silent period, the UE may also change the offset, and at this time, the offset has only 4 values, and only 2 bits are used for carrying the bearer.
It can be seen that the method 2 is to implement the above-mentioned first predefined E-AGCH and second predefined E-AGCH differentiation without considering the adjustment of power resources, and the Node B sends the UE with the resources allocated by the second predefined E-AGCH bearer.
Mode 3:
the above-mentioned method 2 is similar to the existing non-scheduled resource allocation method, assuming that the E-AGCH does not adjust the power in the semi-static resource. In this way, the power adjustment of the E-AGCH can be realized, and in the specific implementation, a value of one bit in the RDI is used to indicate whether the resource interval is adjusted, and the PRRI domain in the E-AGCH channel is used to realize the power adjustment. This has the advantage of allowing the Node B to adaptively adjust the power value according to the channel condition and the fading variation, achieving the purpose of effectively utilizing the power resource and ensuring the quality of service (QoS).
In addition, in some cases, the Node B may want to adjust only the power without adjusting the repetition period, for example, the power needs to be adjusted when the active period enters the quiet period, and then the special CRRI state (11111) in mode 2 is used only to distinguish VoIP traffic from non-VoIP traffic, and then a value of one bit in RDI is used to indicate whether the resource interval is adjusted.
It can be seen that, in this way, the power adjustment requires a PRRI occupying 5 bits and 1 bit to indicate whether there is a change in resource period, and only two bits are left to be insufficient to indicate 32 values required by the quiet period offset. Therefore, the adjustment of the offset and the power can be selected only one without changing the E-AGCH channel format.
Step 207, the UE transmits the VOIP service data packet to the Node B by using the second uplink resource.
Therefore, the operation that the UE transmits the VOIP service data packet to the Node B by using the pre-allocated semi-static resources is realized. The UE is adopted to detect the change of the resource information which may exist in the process of transmitting the VOIP service data packet to the base station Node B by utilizing the pre-allocated semi-static resource, so that the currently required resource information can be closer to a data source, and the detection is reliable.
It should be noted that, in the above embodiment, taking as an example that the UE detects the change of the resource information that may exist in the process of transmitting the VOIP service packet to the base station Node B by using the pre-allocated semi-static resource, the embodiment of the present invention may also detect the change of the resource information that may exist in the process of transmitting the VOIP service packet to the Node B by using the pre-allocated semi-static resource. Referring to fig. 3 in detail, fig. 3 is another flowchart of the embodiment of the present invention in which the UE transmits the VOIP service packet to the Node B by using the pre-allocated semi-static resource. As shown in fig. 3, the process includes the following steps:
step 301, Node B determines a second data period according to the previously received VOIP service data packet from UE in the process that UE transmits the VOIP service data packet to base station Node B using the pre-allocated semi-static resource.
In step 302, the Node B determines the time interval between the current VOIP service data packet from the UE and the last VOIP service data packet from the UE.
In step 303, the Node B determines whether the difference between the time interval and the second data period is less than or equal to a preset error, if so, performs step 304, otherwise, performs step 305.
Step 304, the Node B triggers the UE to continue to transmit the VOIP service data packet by using the pre-allocated semi-static resource, and returns to step 301 until the VOIP service transmission is finished.
Step 305, the Node B obtains the currently required resource information according to the time interval, and allocates and sends the third uplink resource to the UE according to the resource information.
Specifically, the Node B sends the allocated third uplink resource to the UE through the second predefined E-AGCH. Here, the second predefined E-AGCH is adapted to transmit the uplink resource dynamically allocated by the Node B, and the specific format may be as described in step 206.
Step 306, the UE transmits the VOIP service data packet to the Node B by using the third uplink resource.
Therefore, the operation that the UE transmits the VOIP service data packet to the Node B by using the pre-allocated semi-static resources is realized.
It can be seen that, in this embodiment, the Node B detects a change of resource information that may exist in a process in which the UE transmits the VOIP service packet to the Node B using the pre-allocated semi-static resource, so that the UE is prevented from acquiring currently required resource information according to the determined time interval and transmitting the resource information to the Node B, thereby saving air interface resources.
The following describes a system for transmitting voice over internet protocol communication services according to an embodiment of the present invention.
Referring to fig. 4, fig. 4 is a system structure diagram of VOIP transmission provided in the embodiment of the present invention. As shown in fig. 4, the system includes: user terminal 401, radio network controller 402 and base station 403.
Wherein the radio network controller 402 is configured to pre-configure the threshold for the packet size.
The user terminal 401 is configured to determine whether the size of the VOIP service data packet is smaller than or equal to a threshold preconfigured by the wireless network controller 402 when the VOIP service data packet is transmitted for the first time, if so, transmit the VOIP service data packet to the base station 403 by using a pre-allocated semi-static resource, otherwise, send the SI to the base station 403, and transmit the VOIP service data packet to the base station 403 by using a first uplink resource when the first uplink resource from the base station 403 is received;
the base station 403 is configured to receive an SI sent by the user terminal 401, allocate a first uplink resource for transmitting a VOIP service packet according to the SI, and send the allocated first uplink resource to the user terminal 401.
Preferably, the pre-allocated semi-static resource is an uplink resource pre-allocated by the radio network controller 402 through a high layer signaling or an uplink resource pre-allocated by the base station 403 through a first predefined E-AGCH, where the first predefined E-AGCH is adapted to carry the semi-static resource.
The base station 403 sends the allocated first uplink resource to the user terminal 401 through a second predefined E-AGCH, which is suitable for the resource allocated by the Node B according to the SI.
In a specific implementation, the structure of the ue may be implemented in various ways, see fig. 5, where fig. 5 is a basic structure diagram of the ue in an embodiment of the present invention. As shown in fig. 5, the user terminal includes: a first judging unit 501, a first transmitting unit 502 and a first receiving unit 503.
The first determining unit 501 is configured to determine whether the size of the VOIP service data packet is smaller than or equal to a threshold preconfigured by the RNC when the first transmitting unit 502 transmits the VOIP service data packet for the first time, and if so, send a first transmission notification to the first transmitting unit 502; otherwise, a second transmission notification is sent to the first transmission unit 502.
The first transmission unit 502 is configured to transmit the VOIP service data packet Node B using the pre-allocated semi-static resource after receiving the first transmission notification; after receiving the second transmission notification, send the scheduling SI to the Node B, and after receiving the first uplink resource sent by the first receiving unit 503, transmit the VOIP service packet to the Node B by using the first uplink resource.
The first receiving unit 503 receives the first uplink resource for transmitting the VOIP service data packet allocated by the Node B according to the SI, and sends the first uplink resource to the first transmitting unit 502.
Referring to fig. 6, fig. 6 is an optimized structure diagram of a user equipment in an embodiment of the present invention, where, for a situation that a UE detects a change in resource information in a process of transmitting a VOIP service packet, as shown in fig. 6, the user equipment includes: a first judging unit 601, a first transmitting unit 602, a first receiving unit 603, a first period determining unit 604, a first time interval determining unit 605, and a first learning unit 606.
The functions of the first determining unit 601, the first transmitting unit 602, and the first receiving unit 603 are similar to the corresponding functions of the first determining unit 501, the first transmitting unit 502, and the first receiving unit 503, respectively, and are not described herein again.
The first period determining unit 604 is configured to determine a first data period according to a previously received VOIP service data packet from a higher layer.
The first time interval determining unit 605 is configured to determine a time interval between a currently received VOIP service data packet from a higher layer and a last received VOIP service data packet from a higher layer;
the first determining unit 601 determines whether the difference between the time interval and the first data period is less than or equal to a preset error, if so, the first transmitting unit 602 is triggered to continue transmitting the VOIP service data packet to the Node B by using the pre-allocated semi-static resource, and returns to the operation executed by the first period determining unit 604; otherwise, sending the judgment result to the first learning unit 606;
the first learning unit 606 is configured to learn currently required resource information according to the time interval determined by the first time interval determining unit 605;
the first transmitting unit 602 sends the resource information acquired by the first acquiring unit 606 to the Node B, and after receiving the second uplink resource sent by the first receiving unit 603, transmits the VOIP service data packet to the Node B by using the second uplink resource;
the first receiving unit 603 receives the second uplink resource allocated by the Node B according to the resource information, and sends the second uplink resource to the first transmitting unit 602.
Preferably, the first receiving unit 603 receives a fourth uplink resource for retransmitting the VOIP service data packet allocated by the Node B, and sends the fourth uplink resource to the first transmitting unit 602;
after receiving the fourth uplink resource, the first transmission unit 602 retransmits the VOIP service data packet by using the fourth uplink resource.
In a specific implementation, the structure of the base station may be implemented in various ways, see fig. 7, and fig. 7 is a basic structure diagram of the base station in the embodiment of the present invention. As shown in fig. 7, the base station includes: a second receiving unit 701, a distributing unit 702, and a second transmitting unit 703; wherein,
the second receiving unit 701 is configured to receive an SI sent by the UE and receive a VOIP service data packet sent by the UE;
the allocating unit 702 is configured to allocate a first uplink resource for transmitting the VOIP service data packet according to the SI received by the second receiving unit 701;
the second transmission unit 703 is configured to send the first uplink resource allocated by the allocation unit 702 to the UE.
Referring to fig. 8, for a situation that a base station detects a change of resource demand information in a process of transmitting a VOIP service packet by a UE, fig. 8 is an optimized structure diagram of the base station in the embodiment of the present invention, as shown in fig. 8, the structure of the base station may specifically include: a second receiving unit 801, an allocating unit 802, a second transmitting unit 803, a second period determining unit 804, a second time interval determining unit 805, and a second judging unit 806.
The operations of the second receiving unit 801, the allocating unit 802, and the second transmitting unit 803 are the same as the operations of the second receiving unit 701, the allocating unit 702, and the second transmitting unit 703, respectively, and are not described herein again.
The second period determining unit 804 is configured to determine a second data period according to the previously received VOIP service data packet from the UE in the process that the second receiving unit 801 receives the VOIP service data packet transmitted by the UE using the pre-allocated semi-static resource;
the second time interval determination unit 805 is configured to determine a time interval between a currently received VOIP service data packet from the UE and a last received VOIP service data packet from the UE;
the second determining unit 806 is configured to determine whether a difference between the time interval and the second data period is smaller than or equal to a preset error, if so, trigger the UE to continue to transmit the VOIP service data packet by using the pre-allocated semi-static resource, and return to the operation executed by the second period determining unit 804, otherwise, send the determination result to the allocating unit 802;
the allocating unit 802 obtains the resource demand information that needs to change currently according to the time interval, and allocates a third uplink resource according to the resource demand information; the second transmission unit 803 sends the third uplink resource to the UE through the second predefined E-AGCH;
the second receiving unit 801 receives the VOIP service data packet transmitted by the UE using the third uplink resource.
Preferably, the second receiving unit 801 is further configured to check the received VOIP service data packet after receiving the VOIP service data packet sent by the UE, and if the check fails, send a failure notification to the allocating unit 802;
after receiving the failure notification, the allocating unit 802 allocates a fourth uplink resource for retransmitting the VOIP service packet;
the second transmission unit 803 sends the fourth uplink resource to the UE through the second predefined E-AGCH.
It can be seen that, in the embodiment of the present invention, when a user equipment UE transmits a VOIP service packet of voice over internet protocol for the first time, it is determined whether the size of the VOIP service packet is less than or equal to a threshold preconfigured by a radio network controller RNC, and if so, the UE transmits the VOIP service packet to a base station Node B using a pre-allocated semi-static resource; otherwise, UE sends scheduling request information SI to Node B, Node B distributes the first uplink resource according to SI, sends the distributed first uplink resource to UE, UE transmits the VOIP service data packet to Node B by using the first uplink resource. Compared with the prior art, the method and the device can adjust in time according to the resources required by the transmission of the VoIP service in real time, improve the utilization rate of the resources and further improve the satisfaction degree of users.
The above-mentioned embodiments are intended to illustrate the objects, aspects and advantages of the present invention, and it should be understood that the above-mentioned embodiments are merely preferred embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the scope of the present invention.