Method and equipment for transmitting IP data packet
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for transmitting an IP (Internet Protocol) packet.
Background
First, an EPS (Evolved Packet System) bearer mapping mechanism.
The EPS bearer is a granularity for performing QoS (Quality of Service) control on an Evolved Packet Core (EPC)/E-UTRAN (Evolved Universal Terrestrial Radio Access Network), and a same bearer level Packet forwarding policy is adopted for traffic mapped to the same EPS bearer; one EPS bearing needs to pass through different network elements and interfaces, and is mapped to different bottom bearing on each interface; each network node is responsible for maintaining the identification of the bottom layer load and the binding relationship between the bottom layer load and the network nodes; including the eNodeB (i.e., base station) mapping between radio bearers and S1 bearers by creating a binding between the radio bearers and S1 bearers; the S-GW (Serving Gateway) realizes mapping between an S1 bearer and an S5/S8 bearer by creating binding between the S1 bearer and the S5/S8 bearer; finally, the EPS bearer Data realizes the support of the connection service between the UE (User Equipment) and the PDN (Packet Data Network) through the concatenation of the radio bearer, the S1 bearer, and the S5/S8 bearer, so as to ensure the required QoS requirement.
As shown in fig. 1, in a Bearer activation process, when a UE initiates a service request, Policy and Charging Rules Function (PCRF) is sent according to Policy and Charging information generated by user interaction, and the PCRF issues a corresponding Charging rule and QoS Policy to a PCEF (Policy and Charging implementation Function) in a PDN-GW (Packet Data Network Gateway), where the PCEF allocates values for EPS Bearer QoS parameters (such as QCI (QoS Class Identifier, QoS Class Identifier), ARP (Address Resolution Protocol), GBR (Guaranteed Bit Rate), and MBR (maximum Bit Rate) according to the QoS Policy.
If no static PCC (Policy and Charging Control) rule is configured, the PDN-GW uses an internal QoS Policy to allocate an EPS Bearer QoS parameter value; if the corresponding EPS Bearer is not established, the PDN-GW sends EPS Bearer QoS parameters to an eNodeB through a Create (established) Dedicated Bearer Request message (message) and an S-GW (Mobility Management Entity); the eNodeB maps the EPS Bearer QoS parameter to Radio (wireless) Bearer QoS, considers that a wireless Bearer can be established by combining the current wireless condition, and sends the Radio Bearer QoS to the UE through a Radio Resource Control (RRC) Connection Reconfiguration message; the UE confirms the establishment of the Radio Bearer to the eNodeB by sending an RRC Connection Reconfiguration Complete message; the UE provides EPS Bearer QoS parameters to the application layer in order for the application layer to process service data flow.
Furthermore, each EPS bearer is associated with a TFT (Traffic Flow Template) divided into an UL (uplink) TFT consisting of a set of uplink packet filters and a DL (downlink) TFT consisting of a set of downlink packet filters; when a PGW (Packet Data Gateway) receives a downlink Packet, the PGW routes the downlink Packet onto a different EPS bearer according to a downlink Packet filter in the TFTs of the EPS bearer allocated to the PDN connection.
It should be noted that the PGW orders according to the size of the priority of each downlink packet filter, and checks whether the downlink packet it receives matches the packet filter from the packet filter with the smallest priority, and if so, sends the packet to the S-GW associated with the EPS bearer through the tunnel; if not, continuing to compare the packet with the next higher priority packet filter; if the P-GW finds no match after comparing all packet filters, the P-GW sends the packet onto an EPS bearer to which no downlink packet filter is assigned, and if no such EPS bearer exists, the P-GW discards the packet; and the IP data packet is mapped to different EPS bearers through the TFT, so that corresponding QoS guarantee is obtained.
And secondly, local IP access network architecture.
As shown in fig. 2, in order to reduce the cost of the network side and avoid congestion of the network side, one implementation manner of the network side is that a base station (or an IP gateway) directly accesses an IP network, and the base station in the architecture is an AP (Access Point); different from the conventional IP network, the transmission from the base station to the UE is performed through an air interface, and the base station sends the IP data packet to the UE through the air interface and needs to ensure the QoS required by the IP data packet on the air interface.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
under the condition that a base station is locally or directly accessed to an IP network through an IP gateway, in the prior art, there is no implementation mechanism how to establish a DRB (Data Radio Bearer) required by an IP Data packet, and no implementation mechanism how to ensure that the IP Data packet can be correctly borne on the corresponding DRB.
Disclosure of Invention
Embodiments of the present invention provide a method and an apparatus for transmitting an IP data packet, so as to establish a DRB required by the IP data packet and ensure that the IP data packet can be correctly loaded on the corresponding DRB.
In order to achieve the above object, an embodiment of the present invention provides a method for transmitting an IP packet, including:
the method comprises the steps that access point AP equipment obtains an IP data packet needing to be sent to user equipment UE, wherein the IP data packet carries service quality QoS requirement information;
the AP equipment judges whether a Data Radio Bearer (DRB) can meet the QoS requirement information currently;
if so, the AP equipment sends the IP data packet to the UE through the DRB meeting the QoS requirement information;
and if not, the AP equipment sends the IP data packet to the UE through the DRB with the lowest priority.
The embodiment of the invention provides a transmission method of an IP data packet of a network interconnection protocol, which comprises the following steps:
user Equipment (UE) acquires an IP data packet which needs to be sent to Access Point (AP) equipment, wherein the IP data packet carries service quality (QoS) demand information;
the UE judges whether a Data Radio Bearer (DRB) can meet the QoS requirement information currently;
if so, the UE sends the IP data packet to the AP equipment through the DRB meeting the QoS requirement information;
and if not, the UE sends the IP data packet to the AP equipment through the DRB with the lowest priority.
An embodiment of the present invention provides an AP device, including:
an obtaining module, configured to obtain an IP data packet that needs to be sent to a user equipment UE, where the IP data packet carries QoS requirement information;
the judging module is used for judging whether a data radio bearer DRB can meet the QoS requirement information currently;
a sending module, configured to send the IP data packet to the UE through the DRB that satisfies the QoS requirement information when the determination result is yes; and when the judgment result is negative, the IP data packet is sent to the UE through the DRB with the lowest priority.
An embodiment of the present invention provides a user equipment UE, including:
the device comprises an obtaining module, a sending module and a receiving module, wherein the obtaining module is used for obtaining an IP data packet which needs to be sent to Access Point (AP) equipment, and the IP data packet carries service quality (QoS) demand information;
the judging module is used for judging whether a data radio bearer DRB can meet the QoS requirement information currently;
a sending module, configured to send the IP data packet to the AP device through the DRB that satisfies the QoS requirement information when the determination result is yes; and when the judgment result is negative, the IP data packet is sent to the AP equipment through the DRB with the lowest priority.
Compared with the prior art, the embodiment of the invention at least has the following advantages: in the embodiment of the invention, under the condition that the AP equipment is locally or directly accessed into the IP network through the IP gateway, the DRB required by the IP data packet can be established, and the IP data packet can be ensured to be correctly loaded on the corresponding DRB, thereby realizing the QoS transmission required by the IP data packet.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a schematic diagram of a bearer activation process in the prior art;
FIG. 2 is a schematic diagram of a prior art architecture for a base station to directly access an IP network (or through an IP gateway);
fig. 3A and fig. 3B are schematic diagrams illustrating a flow of a method for transmitting an IP data packet according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an AP device according to a seventh embodiment of the present invention;
fig. 5 is a schematic structural diagram of a user equipment according to an eighth embodiment of the present invention.
Detailed Description
The technical solutions in the present invention will be described clearly and completely with reference to the accompanying drawings, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
An AP device (or an IP gateway) is directly connected to an IP network (network side) through an IP interface, and transmits an IP data packet to a UE through an air interface (that is, the AP device sends the IP data packet to the UE through the air interface, and the UE sends the IP data packet to the AP device through the air interface); in order to establish a DRB (i.e. an air interface bearer) required by an IP data packet, and ensure that the IP data packet can be correctly borne on the corresponding DRB, the required QoS transmission is realized; for the processing flow on the AP device side, as shown in fig. 3A, the method includes the following steps:
step 301A, an AP device obtains an IP data packet to be sent to a UE, and the IP data packet carries QoS requirement information; the AP device may receive an IP packet from the IP network, where the IP packet needs to be sent to the UE, and the QoS requirement information may be a priority of the IP packet.
Step 302A, the AP equipment judges whether a DRB which can meet the QoS requirement information exists at present; if yes, go to step 303A; if not, step 304A is performed.
Step 303A, the AP device sends the IP packet to the UE through the DRB that satisfies the QoS requirement information. Specifically, based on the DRB that is currently established, the AP device may directly send the IP packet to the UE using the DRB that satisfies the QoS requirement information.
In step 304A, the AP device sends the IP packet to the UE through the DRB with the lowest priority. Specifically, based on the DRBs that are currently established, the AP device may directly send the IP packet to the UE using the DRBs with the lowest priority.
It should be noted that the flow shown in fig. 3A is a processing flow for the AP device side, and the DRBs are required for establishing IP packets, and it is ensured that the IP packets can be correctly carried on the corresponding DRBs; for the processing flow of the UE side, as shown in fig. 3B, the method may further include the following steps:
step 301B, the UE obtains an IP data packet which needs to be sent to the AP equipment, and the IP data packet carries QoS requirement information; when the UE sends the IP packet to the AP device, the IP packet to be sent to the AP device may be obtained, and the QoS requirement information may be a priority of the IP packet.
Step 302B, the UE judges whether a DRB can meet the QoS requirement information currently; if yes, go to step 303B; if not, step 304B is performed.
Step 303B, the UE sends the IP data packet to the AP device through the DRB that satisfies the QoS requirement information. Specifically, based on the DRB that is currently established, the UE may directly send the IP packet to the AP device using the DRB that satisfies the QoS requirement information.
Step 304B, the UE sends the IP packet to the AP device through the DRB with the lowest priority. Specifically, based on the DRBs that have been currently established, the UE may directly send the IP packet to the AP device using the DRB with the lowest priority.
It should be noted that, in order to implement the above procedure, an establishment procedure of the data radio bearer DRB needs to be performed, and the manner of establishing the data radio bearer DRB includes:
the first mode is a mode of statically establishing a DRB.
In the embodiment of the invention, when initially establishing the DRB, the AP equipment establishes all allowed DRBs for the UE according to subscription information of the UE (wherein the subscription information comprises all allowed DRBs corresponding to the UE); if the current air interface resource allows to establish all allowed DRBs for the UE, the AP equipment establishes all allowed DRBs for the UE; if the current air interface resource does not allow to establish all allowed DRBs for the UE, the AP device rejects to establish DRBs for the UE (i.e., all DRBs are failed to be established) or establishes a part of DRBs allowed by the air interface resource for the UE (i.e., a part of DRBs are established, but a new DRB cannot be established subsequently).
In this way, after the DRB is established, if the AP device obtains an IP packet that needs to be sent to the UE, when there is a DRB that can satisfy the QoS requirement of the IP packet, the IP packet is sent to the UE through the DRB that can satisfy the QoS requirement of the IP packet; when no DRB in all the established DRBs can meet the QoS requirement of the IP data packet, the IP data packet is sent to the UE through the DRB with the lowest priority; similarly, if the UE obtains an IP data packet that needs to be sent to the AP device, when there is a DRB that can satisfy the QoS requirement of the IP data packet, the DRB that can satisfy the QoS requirement of the IP data packet sends the IP data packet to the AP device; and when no DRB in all the established DRBs can meet the QoS requirement of the IP data packet, sending the IP data packet to the AP equipment through the DRB with the lowest priority.
And the second mode is a mode for dynamically establishing the DRB, which can dynamically establish the DRB according to the UE request or the active triggering of the AP equipment and other modes.
In the embodiment of the invention, after the AP equipment obtains the IP data packet which needs to be sent to the UE, if the DRB which is established currently does not meet the QoS requirement required by the IP data packet, the DRB dynamic establishment process is triggered; or, after the UE obtains an IP data packet that needs to be sent to the AP device, if none of the currently established DRBs meets the QoS requirement required by the IP data packet, the UE requests the AP device to establish a DRB corresponding to the QoS requirement for the UE, and triggers the AP device to execute a DRB dynamic establishment process.
Specifically, in the process of dynamically establishing the DRB, the AP device needs to determine whether there are enough air interface resources for the UE to establish the DRB according to subscription information of the UE, current air interface resources and other information; if yes, the DRB is successfully established, and the AP equipment informs the UE of the corresponding configuration of the newly added DRB through an RRC reconfiguration message; if not, the DRB establishment is unsuccessful. Further, if the DRB establishment is unsuccessful, the AP device needs to set a timer for the QoS requirement, and if an IP packet with the same QoS requirement and sent to the UE is received again and the timer is not overtime, the DRB dynamic establishment procedure is not initiated; if the DRB dynamic establishment procedure is triggered by the UE request, the AP device further needs to return a failure message (which may include a timer) to the UE, and if the UE obtains an IP packet with the same QoS requirement again and the timer does not time out, the DRB dynamic establishment procedure is not requested.
In this way, if the AP device obtains an IP packet that needs to be sent to the UE and a DRB that can satisfy the QoS requirement of the IP packet has been established between the AP device and the UE, the IP packet is sent to the UE through the DRB that can satisfy the QoS requirement of the IP packet; when a DRB capable of meeting the QoS requirement of the IP data packet is not established between the AP equipment and the UE, the IP data packet is sent to the UE through the DRB with the lowest priority; similarly, if the UE obtains an IP packet that needs to be sent to the AP device, and a DRB that can meet the QoS requirement of the IP packet is already established between the AP device and the UE, the IP packet is sent to the AP device through the DRB that can meet the QoS requirement of the IP packet; and when the DRB capable of meeting the QoS requirement of the IP data packet is not established between the AP equipment and the UE, the IP data packet is sent to the AP equipment through the DRB with the lowest priority.
For the first method, the determining, by the AP device, whether there is a DRB capable of meeting the QoS requirement information includes: when initially establishing DRBs, the AP equipment establishes all allowed DRBs for the UE according to subscription information of the UE; judging whether any DRB in all allowed DRBs can meet the QoS requirement information; if yes, determining that the current DRB can meet the QoS requirement information; if not, determining that no DRB can meet the QoS requirement information currently. The establishing, by the AP device, all allowed DRBs for the UE according to the subscription information of the UE includes: if the current air interface resource allows to establish all allowed DRBs for the UE, establishing all allowed DRBs for the UE; and if the current air interface resource does not allow all allowed DRBs to be established for the UE, refusing to establish the DRBs for the UE or establishing part of DRBs allowed by the air interface resource for the UE.
The UE determining whether there is a DRB capable of meeting the QoS requirement information includes: after the AP equipment establishes all allowed DRBs for the UE according to the subscription information of the UE, the UE judges whether any DRB in all allowed DRBs can meet the QoS requirement information; if yes, determining that the current DRB can meet the QoS requirement information; if not, determining that no DRB can meet the QoS requirement information currently.
For the second method, the determining, by the AP device, whether there is a DRB capable of meeting the QoS requirement information includes: the AP equipment judges whether a DRB in the existing DRBs can meet the QoS requirement information or not; if yes, determining that the current DRB can meet the QoS requirement information; if not, judging whether to allow to establish a DRB capable of meeting the QoS requirement information according to the subscription information of the UE and the current air interface resource; if the QoS requirement information is allowed, determining that the current DRB can meet the QoS requirement information; if not, determining that no DRB can meet the QoS requirement information currently.
Further, if the DRB capable of meeting the QoS requirement information is allowed to be established, the AP equipment establishes the DRB capable of meeting the QoS requirement information for the UE; if the DRB which can meet the QoS requirement information is not allowed to be established, the AP equipment sets a timer for the QoS requirement information, and during the running period of the timer, the AP equipment directly determines that no DRB can meet the QoS requirement information at present.
Further, the AP device may also receive a DRB establishment request message from the UE (the DRB establishment request message carries the requested QoS requirement information), and determine whether to allow establishment of a DRB capable of satisfying the requested QoS requirement information according to the subscription information of the UE and the current air interface resource; if so, establishing a DRB capable of meeting the requested QoS requirement information for the UE, and sending the configuration of the DRB to the UE through an RRC reconfiguration message; if not, setting a timer for the requested QoS demand information, and directly determining that no DRB can meet the requested QoS demand information currently during the running period of the timer; and returning a failure message to the UE, wherein the failure message carries the information of the timer.
In the embodiment of the present invention, the UE determining whether there is a DRB capable of meeting the QoS requirement information includes: the UE judges whether a DRB in the existing DRBs can meet the QoS requirement information or not; if yes, determining that the current DRB can meet the QoS requirement information; if not, sending a DRB establishment request message to the AP equipment, wherein the DRB establishment request message carries QoS requirement information; if receiving the configuration of the DRB returned by the AP equipment through the RRC reconfiguration message, determining that the current DRB can meet the QoS requirement information; and if a failure message returned by the AP equipment is received, determining that no DRB can meet the QoS requirement information currently.
Further, when the failure message carries a timer corresponding to the QoS requirement information, the UE does not send a DRB establishment request message requesting establishment of the QoS requirement information to the AP device during the running period of the timer, and directly determines that no DRB can satisfy the QoS requirement information currently.
In the embodiment of the invention, if the AP equipment finds that a certain established DRB has no IP data packet transmission in the specified continuous time, the DRB is considered to be in a deactivated state, and the UE is informed to delete the configuration corresponding to the DRB through an RRC connection reconfiguration message; further, when the UE receives information from the AP device for deleting the configuration corresponding to the DRB, the UE deletes the corresponding DRB; or, after the UE detects that the connection with the AP device is disconnected, deleting all established DRBs.
Example two
An embodiment of the present invention provides a method for transmitting an IP data packet, which takes a manner of statically establishing a DRB as an example, and includes the following steps:
step 1, when initially establishing a DRB for a certain UE, an AP device determines, according to subscription information of the UE, that all allowed DRBs need to be established for the UE, where the all allowed DRBs include: DRB1, UM (unacknowledged) mode, Discard Timer 150ms, logical channel priority 4; DRB2, AM (acknowledged) mode, Discard Timer 300ms, logical channel priority 5; DRB3, AM mode, Discard Timer 300ms, logical channel priority 6; DRB4, AM mode, Discard Timer 300ms, logical channel priority 7.
Step 2, when the air interface resource allows to establish all allowed DRBs for the UE, the AP equipment establishes all allowed DRBs for the UE, and jumps to step 3; otherwise, the AP device cannot establish all allowed DRBs for the UE, and the UE fails to accept the DRBs.
Step 3, after receiving the IP data packet sent to the UE, the AP device loads the IP data packet on DRB1 if it finds that DRB1 exactly meets the QoS requirement of the IP data packet according to the IP header of the IP data packet; and if the DRBs 1-4 are found to be incapable of meeting the QoS requirement of the IP data packet, carrying the IP data packet on the DRB4 with the lowest scheduling priority.
EXAMPLE III
A third embodiment of the present invention provides a method for transmitting an IP data packet, where, for example, a method of statically establishing a DRB is used, the method includes the following steps:
step 1, when initially establishing a DRB for a certain UE, an AP device determines, according to subscription information of the UE, that all allowed DRBs need to be established for the UE, where the all allowed DRBs include: DRB1, UM (unacknowledged) mode, Discard Timer 150ms, logical channel priority 4; DRB2, AM (acknowledged) mode, Discard Timer 300ms, logical channel priority 5; DRB3, AM mode, Discard Timer 300ms, logical channel priority 6; DRB4, AM mode, Discard Timer 300ms, logical channel priority 7.
And step 2, when the air interface resource does not allow to establish all allowed DRBs for the UE and can only establish DRBs 3 and DRBs 4, the AP device establishes only DRBs 3 and DRBs 4 with the UE through signaling.
Step 3, after receiving the IP data packet sent to the UE, the AP device loads the IP data packet on DRB3 if it finds that DRB3 exactly meets the QoS requirement of the IP data packet according to the IP header of the IP data packet; and if the DRB3 and the DRB4 are found not to meet the QoS requirement of the IP data packet, carrying the IP data packet on the DRB4 with the lowest scheduling priority.
Example four
A fourth embodiment of the present invention provides a method for transmitting an IP data packet, which takes a manner of dynamically establishing a DRB as an example, and is a manner of actively triggering an AP device, and includes the following steps:
step 1, two DRBs have been established between the AP device and a certain UE, which are respectively: DRB3, AM mode, Discard Timer 300ms, logical channel priority 6; DRB4, AM mode, Discard Timer 300ms, logical channel priority 7.
Step 2, after receiving the IP data packet sent to the UE, the AP equipment finds that all DRBs established between the AP equipment and the UE do not accord with the QoS requirement of the IP data packet; for example, the QoS requirements of the IP packet corresponding to the DRB are: PDCP (Packet Data convergence Protocol) has a Discard Timer of 100ms, RLC (Radio Link Control) is an UM mode, and a logical channel priority of 3.
Step 3, the AP device determines whether there are enough air interface resources for the UE according to the subscription information of the UE, the current air interface resources, and other information, so as to establish a DRB corresponding to the QoS requirement; if yes, executing step 4; otherwise, step 6 is executed.
Step 4, the AP device newly establishes the DRB corresponding to the QoS requirement through the RRC reconfiguration message, where the DRB identifier of the DRB is 1, the Discard Timer of the PDCP is 100ms, the RLC is in UM mode, and the priority of the logical channel is 3.
Step 5, the AP device loads the IP data packet to DRB1 for transmission; if the subsequent AP device or UE receives the IP data packet with the same QoS requirement again, the IP data packet is loaded into the queue corresponding to the DRB1 for transmission.
Step 6, the admission is unsuccessful, the AP device sets a timer for the QoS requirement, and subsequently, if the AP device receives the IP data packet with the same QoS requirement sent to the UE again, if the timer is still in the process, the AP device does not trigger the new DRB establishment procedure again, but carries the IP data packet to the DRB (established) with the lowest priority for transmission, such as the DRB4 in the embodiment.
EXAMPLE five
An embodiment of the present invention provides a method for transmitting an IP data packet, which takes a manner of dynamically establishing a DRB as an example, and a manner of triggering an AP device to establish a DRB for a UE, and includes the following steps:
step 1, two DRBs have been established between the AP device and a certain UE, which are respectively: DRB3, AM mode, Discard Timer 300ms, logical channel priority 6; DRB4, AM mode, Discard Timer 300ms, logical channel priority 7.
Step 2, after obtaining the IP data packet to be sent to the AP equipment, the UE finds that all DRBs established between the current AP equipment and the UE do not accord with the QoS requirement of the IP data packet; for example, the QoS requirements of the IP packet corresponding to the DRB are: the Discard Timer of PDCP is 100ms, RLC is UM mode, and logical channel priority 3.
Step 3, the UE sends a DRB setup request message to the AP device, and the DRB setup request message may include the requested QoS requirement information.
Step 4, the AP device determines whether there are enough air interface resources for the UE according to the subscription information of the UE, the current air interface resources, and other information, so as to establish a DRB corresponding to the QoS requirement; if yes, executing step 5; otherwise, step 7 is performed.
Step 5, the AP device newly establishes the DRB corresponding to the QoS requirement through the RRC reconfiguration message, where the DRB identifier of the DRB is 1, the Discard Timer of the PDCP is 100ms, the RLC is in UM mode, and the priority of the logical channel is 3.
Step 6, the UE loads the IP data packet to a DRB1 for transmission; if the subsequent AP device or UE receives the IP data packet with the same QoS requirement again, the IP data packet is loaded into the queue corresponding to the DRB1 for transmission.
Step 7, the admission is unsuccessful, the AP device sets a timer for the QoS requirement, and returns a failure message (which may include the timer) to the UE. Subsequently, if the AP device receives an IP packet with the same QoS requirement sent to the UE, if the timer is still in the process, the AP device does not trigger the new DRB establishment procedure again, and carries the IP packet to the DRB (established) with the lowest priority for transmission, such as the DRB4 in the embodiment; subsequently, if the UE receives the IP data packet with the same QoS requirement again, if the timer is still in the process, the DRB establishment request message is not triggered again, and the IP data packet is carried to the DRB (established) with the lowest priority for transmission, such as the DRB4 in the embodiment.
EXAMPLE six
The sixth embodiment of the invention provides a method for transmitting an IP data packet, which explains the DRB deleting process in detail. In this embodiment, if the AP device finds that no IP data packet is transmitted in a certain period of continuous time in a certain established DRB, it considers that the DRB is in a deactivated state, and notifies the UE to delete the configuration corresponding to the DRB through an RRC connection reconfiguration message; the UE deletes the corresponding DRB by receiving the signaling of the AP equipment; or deleting all established DRBs after detecting that the connection with the AP equipment is disconnected.
EXAMPLE seven
Based on the same inventive concept as the above method, an embodiment of the present invention further provides an AP device, as shown in fig. 4, where the AP device includes:
an obtaining module 11, configured to obtain an IP data packet that needs to be sent to a user equipment UE, where the IP data packet carries information on a quality of service QoS requirement;
a judging module 12, configured to judge whether there is a data radio bearer DRB capable of meeting the QoS requirement information currently;
a sending module 13, configured to send the IP data packet to the UE through the DRB that satisfies the QoS requirement information when the determination result is yes; and when the judgment result is negative, the IP data packet is sent to the UE through the DRB with the lowest priority.
In this embodiment of the present invention, the AP device further includes: an establishing module 14, configured to establish all allowed DRBs for the UE according to the subscription information of the UE when initially establishing a DRB;
the determining module 12 is specifically configured to determine whether any DRB in all allowed DRBs can meet the QoS requirement information; if yes, determining that the current DRB can meet the QoS requirement information; if not, determining that no DRB can meet the QoS requirement information currently.
The establishing module 14 is specifically configured to establish all allowed DRBs for the UE if the current air interface resource allows to establish all allowed DRBs for the UE; and if the current air interface resource does not allow all allowed DRBs to be established for the UE, refusing to establish the DRBs for the UE or establishing part of DRBs allowed by the air interface resource for the UE.
The determining module 12 is specifically configured to determine whether there is a DRB in the existing DRBs that can meet the QoS requirement information; if yes, determining that the current DRB can meet the QoS requirement information; if not, judging whether to allow to establish a DRB capable of meeting the QoS requirement information according to the subscription information of the UE and the current air interface resource; if yes, determining that the DRB can meet the QoS requirement information currently; and if not, determining that no DRB can meet the QoS requirement information currently.
An establishing module 14, configured to establish a DRB capable of satisfying the QoS requirement information for the UE when the DRB capable of satisfying the QoS requirement information is allowed to be established; when the DRB which can meet the QoS requirement information is not allowed to be established, setting a timer for the QoS requirement information;
the determining module 12 is further configured to directly determine that no DRB can meet the QoS requirement information currently during the running period of the timer.
The obtaining module 11 is further configured to receive a DRB establishment request message from the UE, where the DRB establishment request message carries requested QoS requirement information;
the determining module 12 is further configured to determine whether to allow establishment of a DRB capable of meeting the requested QoS requirement information according to the subscription information of the UE and a current air interface resource;
the establishing module 14 is configured to establish, for the UE, a DRB capable of meeting the requested QoS requirement information when the determination result is yes; when the judgment result is negative, setting a timer for the requested QoS requirement information; and during the running period of the timer, directly determining that no DRB can meet the requested QoS requirement information currently;
the sending module 13 is further configured to send the configuration of the DRB to the UE through a radio resource control, RRC, reconfiguration message when the determination result is yes; and when the judgment result is negative, returning a failure message to the UE, wherein the failure message carries the information of the timer.
The sending module 13 is further configured to notify the UE to delete the configuration corresponding to the DRB through an RRC connection reconfiguration message when it is found that there is no IP packet transmission in the specified continuous time for a certain established DRB.
The modules of the device can be integrated into a whole or can be separately deployed. The modules can be combined into one module, and can also be further split into a plurality of sub-modules.
Example eight
Based on the same inventive concept as the above method, an embodiment of the present invention further provides a user equipment UE, and as shown in fig. 5, the user equipment UE includes:
an obtaining module 21, configured to obtain an IP data packet that needs to be sent to an AP device, where the IP data packet carries QoS requirement information;
a judging module 22, configured to judge whether there is a data radio bearer DRB capable of meeting the QoS requirement information currently;
a sending module 23, configured to send the IP data packet to the AP device through the DRB that satisfies the QoS requirement information when the determination result is yes; and when the judgment result is negative, the IP data packet is sent to the AP equipment through the DRB with the lowest priority.
The determining module 22 is specifically configured to determine, after the AP device establishes all allowed DRBs for the UE according to the subscription information of the UE, whether any DRB in all allowed DRBs can meet the QoS requirement information; if yes, determining that the current DRB can meet the QoS requirement information; if not, determining that no DRB can meet the QoS requirement information currently.
The determining module 22 is specifically configured to determine whether there is a DRB in the existing DRBs that can meet the QoS requirement information; if yes, determining that the current DRB can meet the QoS requirement information; if not, sending a DRB establishment request message to the AP equipment, wherein the DRB establishment request message carries the QoS requirement information; if receiving the configuration of the DRB returned by the AP equipment through a Radio Resource Control (RRC) reconfiguration message, determining that the current DRB can meet the QoS requirement information; and if a failure message returned by the AP equipment is received, determining that no DRB can meet the QoS requirement information currently.
When the failure message carries the timer corresponding to the QoS requirement information, the determining module 22 is further configured to not send a DRB establishment request message requesting establishment of the QoS requirement information to the AP device during the running period of the timer, and directly determine that no DRB can meet the QoS requirement information currently.
The user equipment further comprises: a deleting module 24, configured to delete the corresponding DRB when receiving information for deleting the corresponding configuration of the DRB from the AP device; or deleting all established DRBs after detecting that the connection with the AP equipment is disconnected.
The modules of the device can be integrated into a whole or can be separately deployed. The modules can be combined into one module, and can also be further split into a plurality of sub-modules.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present invention may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
Those skilled in the art will appreciate that the drawings are merely schematic representations of one preferred embodiment and that the blocks or flow diagrams in the drawings are not necessarily required to practice the present invention.
Those skilled in the art will appreciate that the modules in the devices in the embodiments may be distributed in the devices in the embodiments according to the description of the embodiments, and may be correspondingly changed in one or more devices different from the embodiments. The modules of the above embodiments may be combined into one module, or further split into multiple sub-modules.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The above disclosure is only for a few specific embodiments of the present invention, but the present invention is not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present invention.