Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
The method provided by the invention mainly comprises the following steps: after receiving the message containing the terminal identification from the wireless network controller, the base station maintains the context information of the terminal by using the terminal identification if determining that the terminal is in a CELL-FACH state or a CELL-PCH state.
The maintaining of the context information of the terminal in the method includes: establishing terminal context information, modifying the terminal context information and releasing the terminal context information. The three cases will be described in detail below by way of examples.
Fig. 1 is a flowchart of a first method for establishing context information of a terminal according to an embodiment of the present invention, in which a base station establishes context information of the terminal through a radio link interaction procedure of an Iub interface control plane signaling (NBAP, node barring Part) between the base station and an RNC, where the radio link interaction procedure may include: a radio link establishment procedure, a radio link addition procedure, or a radio link reconfiguration procedure, etc., where the radio link establishment procedure is taken as an example below, as shown in fig. 1, the method may include the following steps:
step 101: the RNC sends a radio link Setup message (radio Link Setup Request) containing the H-RNTI to the base station.
The RNC may carry the H-RNTI of the terminal in a radio link setup message sent to the base station to inform the base station for which terminal the context information is set up.
Step 102: the base station judges whether the terminal corresponding to the H-RNTI contained in the wireless link establishment message is in a CELL-PCH state or a CELL-FACH state by using the received wireless link establishment message, if so, the step 103 is continuously executed, otherwise, the subsequent steps are executed according to the flow of the prior art.
The RNC may carry a state identifier of the terminal in the radio link setup message, for example, may carry an FACH state Indicator (FI, FACH Indicator) or a PCH state Indicator (PI, pcindicator), and after receiving the radio link setup message, the base station determines that the terminal is in a CELL-FACH state or a CELL-PCH state according to the FI or PI therein; or, when the RNC needs the base station to establish the context information of the terminal, the RNC may only carry the H-RNTI of the terminal instead of carrying any transport channel and physical channel configuration information or carrying the radio link configuration information in the sent radio link establishment message, and the base station may consider that the terminal corresponding to the H-RNTI is in the CELL-FACH state or the CELL-PCH state, and needs to establish the context information for the terminal.
If the base station judges that the terminal is not in the CELL-PCH state or the CELL-FACH state in the step, the process is carried out according to the mode of establishing the terminal context information in the CELL dedicated channel (CELL-DCH) state, which is the prior art and is not described herein again.
Step 103: and the base station allocates the associated E-RNTI for the terminal corresponding to the H-RNTI and establishes context information containing the association relation between the H-RNTI and the E-RNTI for the terminal.
The H-RNTI of the terminal is an identifier used in HSDPA, the E-RNTI is an identifier used in HSUPA, and the association relationship between the H-RNTI and the E-RNTI is a necessary condition for the base station to participate in scheduling the terminal data in CELL-PCH or CELL-FACH state.
Wherein, there are two ways to determine the E-RNTI of the terminal: firstly, the RNC allocates E-RNTI for the terminal, the specific allocation mode is the prior art, and is not described herein any more, the RNC carries the allocated E-RNTI in addition to the H-RNTI in the radio link establishment message sent by the RNC, and the base station can directly acquire and store the association relationship between the H-RNTI and the E-RNTI. Secondly, as the step is described, the base station allocates the associated E-RNTI for the terminal, namely the radio link establishment message received by the base station does not carry the E-RNTI, the base station allocates the E-RNTI for the terminal and stores the association relationship between the H-RNTI and the E-RNTI.
In addition, the context information of the terminal may include one or any combination of the following information in addition to the association relationship between the H-RNTI and the E-RNTI: an operating frequency of the terminal, terminal capability level information of the terminal, a Discontinuous Reception (DRX) cycle of the terminal, or state information of the terminal. The information can be carried by the wireless link establishment message and sent to the base station by the RNC, and the base station establishes the context information of the terminal by using the information. The working frequency of the terminal may also be obtained by the base station through an uplink enhanced random access channel (E-RUCCH) or a Physical Random Access Channel (PRACH) instead of being issued by the RNC, so as to obtain the working frequency of the terminal.
Step 104: after the context information of the terminal is established, the context information establishment completion message is replied to the RNC through the Iub interface.
The context information establishment completion message can carry the association relationship between the H-RNTI and the E-RNTI. The context information establishment completion message may use an existing radio link Setup Response message (radio link Setup Response).
Step 105: the RNC acquires and stores the association relationship between the H-RNTI and the E-RNTI contained in the context information establishment completion message, and if the establishment completion message is not received within the set time, the step 101 is executed again, namely the radio link establishment message is retransmitted.
The RNC can also acquire and store the association relationship between the H-RNTI and the E-RNTI, and terminal context information is also established on the RNC side.
It should be noted that, steps 104 and 105 are a guarantee mechanism of the method, that is, the base station is guaranteed to receive the radio link setup message and successfully establish the terminal context, but this is not necessary for the present invention, and the present invention can also be implemented without steps 104 and 105.
In addition, if the base station receives a radio link setup message, a radio link addition message or a radio link reconfiguration message from the RNC, and confirms that the terminal is in the CELL-FACH state or the CELL-PCH state by using the message, the base station may further determine whether the context information of the terminal in the CELL-DCH state has been already established, and if so, modify the context information of the terminal in the established CELL-DCH state to the context information of the terminal in the CELL-FACH or CELL-PCH state.
In this embodiment, a radio link establishment procedure is taken as an example for description, and in addition, the radio link establishment procedure may also be implemented by a radio link addition procedure or a radio link reconfiguration procedure, and only the corresponding radio link establishment message in the flow illustrated in fig. 1 needs to be replaced by a radio link addition message or a radio link reconfiguration message.
Fig. 2 is a flowchart of a second method for establishing context information of a terminal according to an embodiment of the present invention, in which a base station establishes context information of the terminal through a receiving process of a data frame or a control frame of an Iub interface user plane with an RNC, as shown in fig. 2, the method may include the following steps:
step 201: and the RNC sends a data frame or a control frame of the Iub interface user plane to the base station, and the data frame or the control frame carries the H-RNTI of the terminal to inform the base station to establish context information for the terminal.
Step 202: the base station judges whether the terminal corresponding to the H-RNTI contained in the data frame or the control frame is in a CELL-PCH state or a CELL-FACH state by using the received data frame or the received control frame, if so, the step 203 is continuously executed, otherwise, the subsequent steps are executed according to the flow of the prior art.
In this step, the base station determines whether the terminal corresponding to the H-RNTI is in the CELL-PCH state or the CELL-FACH state in the following three ways: first, the base station may determine whether the terminal is in a CELL-PCH state or a CELL-FACH state according to a terminal state identifier carried in the received data frame or control frame, for example, if the data frame or control frame carries FI, the terminal may be determined to be in a CELL-FACH state, and if the data frame or control frame carries PI, the terminal may be determined to be in a CELL-PCH state. Secondly, the base station can determine whether the terminal is in a CELL-PCH state or a CELL-FACH state according to the Type of the received data frame, because the RNC can send the data frame of the Type corresponding to the state information according to the state information of the terminal when sending the data frame to the terminal, if the Type of the data frame received by the base station indicates the FACH state, for example, the Type of the data frame is Type3, the terminal is determined to be in the CELL-PCH state, and if the Type of the data frame received by the base station indicates the PCH state, for example, the Type of the data frame is Type2, the terminal is determined to be in the CELL-FACH state. Thirdly, after the base station receives the control frame containing the terminal identification, if the control frame contains an instruction for establishing the context, the base station considers that the terminal is in a CELL-PCH state or a CELL-FACH state, and establishes the context information of the terminal; and, the subsequently received data frame can be further utilized to determine whether the CELL-PCH state or the CELL-FACH state is particularly in.
Step 203: and the base station allocates the associated E-RNTI for the terminal corresponding to the H-RNTI and establishes context information containing the association relation between the H-RNTI and the E-RNTI for the terminal.
Similarly, there are two ways to determine the E-RNTI of the terminal: firstly, the RNC allocates E-RNTI for the terminal, the specific allocation mode is the prior art, and is not described herein any more, the RNC carries the allocated E-RNTI in addition to the H-RNTI in the sent data frame or control frame, and the base station can directly acquire and store the association relationship between the H-RNTI and the E-RNTI. Secondly, as the step is described, the base station allocates the associated E-RNTI for the terminal, namely the E-RNTI is not carried in the data frame or the control frame received by the base station, the base station allocates the E-RNTI for the terminal and stores the association relationship between the H-RNTI and the E-RNTI.
In addition, the context information of the terminal may include one or any combination of the following information in addition to the association relationship between the H-RNTI and the E-RNTI: an operating frequency of the terminal, terminal capability level information of the terminal, a Discontinuous Reception (DRX) cycle of the terminal, or state information of the terminal. The information can be carried by data frames or control frames and sent to the base station by the RNC, and the base station utilizes the information to establish the context information of the terminal. The working frequency of the terminal may not be issued by the RNC, but the base station acquires the carrier frequency of the terminal through E-RUCCH or PRACH, thereby acquiring the working frequency of the terminal.
Step 204: after the context information of the terminal is established, the context information establishment completion message is replied to the RNC through the Iub interface.
The context information establishment completion message can carry the association relationship between the H-RNTI and the E-RNTI.
Step 205: the RNC acquires and stores the association between the H-RNTI and the E-RNTI included in the context information setup complete message, and if the setup complete message is not received within the set time, step 201 is re-executed.
Likewise, step 204 and step 205 are the guarantee mechanism of the method, i.e. it is guaranteed that the base station can receive the data frame or the control frame sent by the RNC and successfully establish the terminal context, but it is not necessary for the present invention, and the present invention can also be implemented without performing step 204 and step 205.
After the context information of the terminal is established, if the state information, the operating frequency, the capability level of the terminal, and the DRX cycle transmission of the terminal change, the base station needs to modify the established context information of the terminal, and the process is described below. Fig. 3 is a flowchart of a method for modifying context information of a terminal according to an embodiment of the present invention, as shown in fig. 3, the method may include the following steps:
step 301: and the base station receives a data frame sent by the RNC, wherein the data frame comprises the H-RNTI of the terminal.
Step 302: the base station judges whether the state of the terminal is consistent with the state in the established context information according to the type of the data frame, if so, the context of the terminal is not modified, otherwise, the step 303 is executed.
Step 303: and the base station modifies the context information of the terminal according to the terminal state identified by the type of the data frame, detects the current working frequency of the terminal and modifies the context information of the terminal by using the detected working frequency.
For example, if the base station establishes that the context of the terminal is in the CELL-FACH state, and the received data frame Type sent to the terminal indicates the FACH state, for example, the data frame Type is Type3, which indicates that the terminal is currently in the CELL-PCH state and the state changes, the base station modifies the state information of the terminal in the context information of the terminal to the CELL-PCH state.
In addition, in addition to the data frame type, the current state of the terminal may also be determined according to a terminal state identifier, such as FI or PI, included in the data frame.
Since the state of the terminal changes, the working frequency also changes correspondingly, and the base station can acquire the carrier frequency of the terminal through the E-RUCCH or the PRACH to detect the working frequency of the terminal, and further modify the context information of the terminal by using the detected working frequency. In addition, the operating frequency information may also be issued by the RNC through a data frame, that is, the data frame received by the base station in step 301 may include the operating frequency information of the terminal in addition to the H-RNTI of the terminal, and the base station may directly modify the context information of the terminal according to the operating frequency information of the terminal carried in the data frame.
Similarly, the data frame sent to the terminal by the RNC may further include DRX cycle or capability level information of the terminal, and after acquiring the current DRX cycle or capability level information of the terminal, the base station determines whether the current DRX cycle or capability level information of the terminal is consistent with the established terminal context information, and if so, does not need to modify the current DRX cycle or capability level information of the terminal, and if not, modifies the established terminal context information by using the current DRX cycle or capability level information of the terminal.
In addition, the context information of the terminal can be modified by using the received control frame, wherein the state information of the terminal can be determined by using the terminal state identifier carried in the control frame.
In addition, in addition to the method for modifying the context information of the terminal described in the flow shown in fig. 3, the base station may also obtain the current state information of the terminal by using the uplink physical channel from the terminal, and if the terminal is currently in the CELL-FACH or CELL-PCH state and is not consistent with the state in the established context information of the terminal, modify the context information of the terminal by using the current state information of the terminal. The uplink physical channel may be an E-RUCCH, a high speed shared information channel (HS-SICH), an enhanced uplink physical channel (E-PUCH), or a PRACH, etc.
The base station can also acquire the current working frequency of the terminal by utilizing the E-RUCCH or the P-RACH from the terminal, and modify the context of the terminal by utilizing the current working frequency of the terminal if the terminal is determined to be in a CELL-FACH or CELL-PCH state and the current working frequency of the terminal is not consistent with the established working frequency in the context of the terminal.
Fig. 4 is a flowchart of a method for releasing context information of a terminal according to an embodiment of the present invention, as shown in fig. 4, the method may include the following steps:
step 401: when the RNC detects that the context of a certain terminal needs to be released, the RNC carries the H-RNTI and the context release instruction of the terminal by a data frame or a control frame of a user plane and sends the H-RNTI and the context release instruction to a base station.
When detecting the terminal offline, the RNC determines that it is detected that the context of the terminal needs to be released, and how to detect the context is the prior art, which is not described in detail herein.
Step 402: after receiving a data frame or a control frame from the RNC, the base station releases the Context information of the terminal corresponding to the established H-RNTI if the data frame or the control frame carries a Context release indication (UE Context Indicator).
And the base station searches and deletes the established context information of the terminal by using the H-RNTI carried in the data frame or the control frame.
Step 403: the base station replies a context release completion message to the RNC through a data frame or a control frame of the Iub interface user plane.
Step 403 is a guarantee mechanism of the method, and if the RNC does not receive the context release complete message within the set time, step 401 is executed again. Step 403 is not necessary to practice the invention.
In addition, when releasing the terminal context, the terminal context can also be released through a radio link deletion message, namely after the base station receives the radio link deletion message sent by the RNC, if the radio link deletion message carries a context release instruction, and if the terminal is confirmed to be in a CELL-FACH state or a CELL-PCH state, the context information of the terminal in the CELL-FACH state or the CELL-PCH state is released. After the release is completed, an acknowledgement may be further replied to the RNC through a Radio Link release Response message (Radio Link release Response).
The above is a description of the method provided by the present invention, and the following is a detailed description of the base station provided by the present invention. Fig. 5 is a structural diagram of a base station according to an embodiment of the present invention, and as shown in fig. 5, the base station may include: a message receiving unit 500, a state determining unit 510, and a context maintaining unit 520.
A message receiving unit 500, configured to receive a message containing a terminal identifier from a radio network controller.
A state determining unit 510, configured to determine whether a terminal corresponding to the terminal identifier is in a CELL-FACH state or a CELL-PCH state, and if so, send a maintenance notification to the context maintaining unit 520.
A context maintaining unit 520, configured to maintain context information of the terminal by using the terminal identifier included in the message received by the message receiving unit 500 after receiving the maintenance notification.
The maintaining of the context information of the terminal may specifically include: the base station may have four structures for the three cases, which are described in detail below.
In the first case: the message received by the message receiving unit 500 may be a radio link setup message, a radio link addition message, a radio link reconfiguration message, a data frame of the Iub interface user plane, or a control frame.
The context maintaining unit 520 may specifically include: a context establishing subunit 521, configured to establish context information including an association relationship between an H-RNTI and an E-RNTI by using the H-RNTI and the E-RNTI of the terminal carried in the message after receiving the maintenance notification; or the H-RNTI carried in the message and the E-RNTI allocated to the terminal by the base station are used for establishing the context information containing the association relationship between the H-RNTI and the E-RNTI.
In this case, the context establishing subunit 520 may further be configured to establish the context information of the terminal by using one or any combination of the operating frequency, the terminal capability level information, the DRX cycle, or the state information of the terminal, which are carried in the message.
In the second case: the message received by the message receiving unit 500 may be a data frame or a control frame of the Iub interface user plane.
The context maintaining unit 520 may specifically include: a first confirmation sub-unit 522 and a first context modification sub-unit 523.
The first confirming subunit 522 is configured to, after receiving the maintenance notification, confirm whether the base station has already established the context information of the terminal in the CELL-FACH or CELL-PCH state, and determine that the terminal state indicated by the data frame or the control frame is inconsistent with the terminal state in the context information of the established terminal, if so, send a modification notification to the first context modifying subunit 523.
A first context modification subunit 523, configured to modify the established context information of the terminal by using one or any combination of the operating frequency, the terminal capability level information, the DRX cycle, or the state information of the terminal, which are carried in the data frame or the control frame, after receiving the modification notification.
In this case, another structure of the context maintaining unit also exists, which specifically includes: a second confirmation subunit 524 and a second context modification subunit 525.
A second confirming subunit 524, configured to, after receiving the maintenance notification, confirm whether the context information of the terminal in the CELL-DCH state has been established, and if so, send a modification notification to the second context modifying subunit 525.
And a second context modification subunit 525, configured to modify the context information of the terminal in the established CELL-DCH state to the context information of the terminal in the CELL-FACH or CELL-PCH state after receiving the modification notification.
On the basis of the three structures corresponding to the above two cases, the context maintaining unit 520 may further include a third confirming subunit 526 and a third modifying subunit 527.
A third confirming subunit 526, configured to obtain current state information of the terminal by using an uplink physical channel from the terminal, and send the current state information of the terminal to the third context modifying subunit 527 if the terminal is currently in the CELL-FACH or CELL-PCH state and is inconsistent with the state in the established context information of the terminal.
A third context modifying subunit 527, configured to modify the context information of the established terminal using the received current state information of the terminal.
In the third case: the message received by the message receiving unit 500 is: radio link deletion messages, data frames or control frames of the Iub interface user plane.
The context maintaining unit 520 specifically includes: an indication acknowledgment sub-unit 528 and a context release sub-unit 529.
An indication confirming subunit 528, configured to, after receiving the maintenance notification, confirm whether the context release indication is carried in the radio link deletion message, the data frame, or the control frame, and if so, send a release notification to the context release subunit 529.
The context releasing subunit 529 is configured to release the context information of the terminal after receiving the release notification.
The three structures can exist independently or simultaneously in any combination.
In addition, the base station may further include: a confirmation replying unit 530, configured to reply to the radio network controller with a confirmation message including the terminal identifier after the context maintaining unit 520 maintains the context information of the terminal.
After the corresponding context establishing subunit 521 establishes the context information of the terminal, the confirmation replying unit 530 replies a context information establishment completion message containing the terminal identifier to the radio network controller. After the context information of the terminal is modified by the corresponding first context modification subunit 523, the second context modification subunit 525 and the third context modification subunit 527, the confirmation replying unit 530 replies a context information modification completion message containing the terminal identifier to the radio network controller. After the corresponding context releasing sub-unit 529 releases the context information of the terminal, the confirmation replying unit 530 replies a context information release completion message containing the terminal identifier to the radio network controller.
As can be seen from the above description, in the method and the base station provided by the present invention, after receiving a message containing a terminal identifier from a radio network controller, if it is determined that a terminal corresponding to the terminal identifier is in a CELL-FACH state or a CELL-PCH state, the base station maintains context information of the terminal by using the terminal identifier. Therefore, the method can maintain the context information of the terminal in the CELL-FACH state or the CELL-PCH state, so that the base station can participate in scheduling the terminal data in the CELL-FACH state and the CELL-PCH state by utilizing the context information of the terminal.
Preferably, the embodiment of the invention provides a specific method for establishing, modifying and releasing the terminal context information, and the method can flexibly maintain the terminal context information in various modes.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.