Summary of the invention
The embodiment of the present invention provides the method and apparatus of a kind of switching within cell, in order to solve prior art small area inscribe
In the case of the existing exception that swaps out, UE cutting off rate is higher, the problem affecting communication quality.
The method of the switching within cell that the embodiment of the present invention provides includes:
Base station receives the user equipment (UE) context modification request message that core net sends, and in described base station, storage has and institute
State the first corresponding for UE context resource;
Described base station, according to described UE context modification request message, generates the second context money corresponding with described UE
Source;
Described base station sends radio resource control RRC connection reconfiguration message to described UE, and described RRC connection reconfigures and disappears
Breath carries the mark that described second context resource is corresponding;
If described base station receives the RRC connection re-establishment request message that described UE sends, and a described RRC is even
Connect re-establish the context resource carried in request message corresponding be designated the mark that described second context resource is corresponding, then
Use described second context resource to complete the RRC connection re-establishment between described UE, and discharge described first context money
Source.
Optionally, described base station, after described UE sends radio resource control RRC connection reconfiguration message, also includes:
If described base station receives the 2nd RRC connection re-establishment request message that described UE sends, and described 2nd RRC is even
Connect re-establish the context resource carried in request message corresponding be designated the mark that described first context resource is corresponding, then
Described base station uses described first context resource to send RRC connection re-establishment message to described UE;
After described base station receives the RRC connection re-establishment completion message that described UE sends, again send institute to described UE
State RRC and connect reconfiguration message.
Optionally, described base station, after described UE sends radio resource control RRC connection reconfiguration message, also includes:
If the RRC connection that described base station receives described UE transmission reconfigures completion message, then discharge described about first
Literary composition resource.
Optionally, in described base station, also storage has first key mutual with described UE, described first key and described the
One context resource is corresponding;
Described base station, according to described UE context modification request message, generates the second context money corresponding with described UE
Source, including:
Described base station, according to described UE context modification request message, determines second key mutual with described UE, and raw
Become the second context resource answered with described second double secret key;
Described base station sends RRC to described UE and connects reconfiguration message, including:
The RRC that described base station uses described first key encryption to send to described UE connects reconfiguration message;
After described first context resource of described release, also include:
Described first key is deleted in described base station.
A kind of method of switching within cell, including:
UE receives the RRC connection reconfiguration message that base station sends, and carries about second in described RRC connection reconfiguration message
The mark that literary composition resource is corresponding, stores the mark that the first context resource having described base station to be described UE distribution is corresponding in described UE
Know;
Described UE sends a RRC connection re-establishment request message to described base station, and a described RRC connection re-establishment please
Asking and carry the mark that described second context resource is corresponding in message, a described RRC connection re-establishment request message is described
UE completes RRC connection and reconfigures but what unsuccessful transmission RRC connection generated after reconfiguring completion message.
Optionally, after described UE receives the RRC connection reconfiguration message that base station sends, also include:
Described UE sends the 2nd RRC connection re-establishment request message to described base station, and described 2nd RRC connection re-establishment please
Asking and carry the mark that described first context resource is corresponding in message, described 2nd RRC connection re-establishment request message is described
UE is not fully complete generation after RRC connection reconfigures.
Optionally, after described UE receives the RRC connection reconfiguration message that base station sends, also include:
Described UE sends RRC connection and reconfigures completion message to described base station, and described RRC connection reconfigures in completion message
Carrying the mark that described second context resource is corresponding, it is that described UE completes RRC connection that described RRC connection reconfigures completion message
Generate after reconfiguring.
Optionally, in described UE, also storage has first key mutual with described base station, described first key and described the
One context resource is corresponding;
Described UE completes RRC connection and reconfigures, including:
The described RRC that described UE uses described first secret key decryption to receive connects reconfiguration message;
Described UE connects reconfiguration message according to described RRC, generates second corresponding with described second context resource close
Key also replaces described first key;
Mark corresponding for described second context resource is replaced the mark that described first context resource is corresponding by described UE.
A kind of device of switching within cell, including:
Base station receiver module, for receiving the UE context modification request message that core net sends;
Base station generation module, for the first context resource that storage is corresponding with described UE;Repair according to described UE context
Change request message, generate second context resource corresponding with described UE;
Base station sending module, connects reconfiguration message for sending RRC to described UE, and described RRC connects reconfiguration message
In carry the mark that described second context resource is corresponding;
Base station rebuilds module, if for receiving the RRC connection re-establishment request message that described UE sends and described
It is corresponding that what in the oneth RRC connection re-establishment request message, the context resource carried was corresponding is designated described second context resource
Mark, then use described second context resource to complete the RRC connection re-establishment between described UE, and discharge described first
Context resource.
Optionally, described base station rebuilds module, if the 2nd RRC connection re-establishment being additionally operable to receive described UE transmission please
Seek message, and the context resource carried in described 2nd RRC connection re-establishment request message corresponding be designated described first
The mark that context resource is corresponding, then use described first context resource to send RRC connection re-establishment message to described UE;
Described base station sending module, after being additionally operable to receive the RRC connection re-establishment completion message that described UE sends, again
Send described RRC to described UE and connect reconfiguration message.
Optionally, described base station rebuilds module, is additionally operable to:
If the RRC receiving described UE transmission connects reconfigures completion message, then discharge described first context resource.
Optionally, described base station generation module, it is additionally operable to store first key mutual with described UE, described first key
Corresponding with described first context resource;According to described UE context modification request message, determine mutual with described UE
Two keys, and generate the second context resource answered with described second double secret key;
Described base station sending module, is also used for the RRC that described first key encryption sends to described UE and connects and heavily join
Put message;
Described base station rebuilds module, is additionally operable to delete described first key.
A kind of device of switching within cell, including:
UE receiver module, the RRC sent for receiving base station connects reconfiguration message, and described RRC connects reconfiguration message
In carry the mark that the second context resource is corresponding;
UE changes module, for storing mark corresponding to the first context resource that described base station is described UE distribution;Enter
Row RRC connection reconfigures;
UE sending module, for sending a RRC connection re-establishment request message to described base station, a described RRC is even
Connect to re-establish and request message is carried the mark that described second context resource is corresponding, a described RRC connection re-establishment request
Message is that described UE changes module and completes RRC and connect and reconfigure but unsuccessful transmissions RRC connects and reconfigures generation after completion message
's.
Optionally, described UE sending module, it is additionally operable to:
The 2nd RRC connection re-establishment request message, described 2nd RRC connection re-establishment request message is sent to described base station
In carry the mark that described first context resource is corresponding, described 2nd RRC connection re-establishment request message is that described UE changes
Module is not fully complete generation after RRC connection reconfigures.
Optionally, described UE sending module, it is additionally operable to:
Sending RRC connection to described base station and reconfigure completion message, described RRC connection reconfigures carries institute in completion message
Stating the mark that the second context resource is corresponding, it is that described UE replacing module completes RRC even that described RRC connection reconfigures completion message
Connect generation after reconfiguring.
Optionally, described UE changes module, is additionally operable to:
Storing first key mutual with described base station, described first key is corresponding with described first context resource;
The described RRC using described first secret key decryption to receive connects reconfiguration message;
Connect reconfiguration message according to described RRC, generate second key corresponding with described second context resource and replace
Change described first key;
Mark corresponding for described second context resource is replaced the mark that described first context resource is corresponding.
In the embodiment of the present invention, after base station receives UE context modification request message, it is UE distribution the according to this message
Two context resource, and before base station, storage has the first context resource, then base station maintenance has two set context resource.Base station will
Mark corresponding to the second context resource connects reconfiguration message by RRC and is sent to UE so that UE can connect weight according to RRC
Configuration message carries out switching within cell.Afterwards, the mark that base station replies message according to the UE received and carries in message, sentence
Whether the Intra-Cell Handover procedures of disconnected UE there is exception.If the message that the UE received sends is RRC connection re-establishment, request disappears
Breath, then it represents that UE cannot reply RRC connection and reconfigure completion message to base station.Now, base station can ask according to RRC connection re-establishment
Seek the mark carried in message, it is judged that UE side the most successfully carries out switching within cell.If the mark carried in the message received
Be mark corresponding to the second context resource, then mark corresponding for the first context resource is replaced by second by explanation UE side
The mark that context resource is corresponding, it is believed that UE side has been carried out switching within cell, it is impossible to RRC connection is reconfigured completion message and sends out
Give the wireless link that base station is because UE access base station and occur abnormal, cause the UE cannot normally access base station, then base station and UE
Between carry out RRC connection re-establishment process.Further, mark corresponding for the first context resource is switched on second due to UE
The mark that context resource is corresponding, then base station can be at this moment by the first context resource release, by the second context resource and UE
Carry out interacting message.Thus, in the case of Intra-Cell Handover procedures occurs extremely, base station can be carried in replying message according to UE
Mark corresponding to context resource, determine that abnormal reason occurs in switching within cell, and make corresponding process, due to base station
Preserve two set context resource, discharge the first context resource determining again after UE completes community switching, prevent in community
When switching is abnormal, base station is inconsistent with the context of UE, it is ensured that UE is continuously connected with base station, reduces UE cutting off rate,
Improve communication quality.
Detailed description of the invention
In order to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing the present invention made into
One step ground describes in detail, it is clear that described embodiment is only some embodiments of the present invention rather than whole enforcement
Example.Based on the embodiment in the present invention, those of ordinary skill in the art are obtained under not making creative work premise
All other embodiments, broadly fall into the scope of protection of the invention.
Inventor finds, eNB is after receiving UE context modification request in the prior art, need to be released by old UE context
Put, use the new UE context that newly-generated KeNB is corresponding.But, carry out switching within cell in UE side and abnormal situation occur
Under, UE side still uses old UE context, it may appear that eNB side differs with the context of UE side, cause UE with
Connection between eNB disconnects, and adds UE cutting off rate, affects communication quality.By safeguarding in base station side in the embodiment of the present invention
Two set UE contexts, it is ensured that UE, in the case of switching within cell occurs extremely, still can re-establish with base station side, prevent
Words.
Embodiments provide the system of a kind of switching within cell, such as Fig. 1, including core net 11, base station 12 and
UE13, UE13 are linked into core net 11 by base station 12, therefore during UE13 access base station 12, base station 12 is distributed for UE13
First context resource.
The flow process of switching within cell is as in figure 2 it is shown, specific as follows:
S201, core net 11 send UE context modification request message to base station 12, and in base station 12, storage has and UE13 pair
The first context resource answered.
S202, base station 12, according to the UE context modification request message received, generate about second corresponding with UE13
Literary composition resource.
S203, base station 12 send RRC to UE13 and connect reconfiguration message, and described RRC connects in reconfiguration message and carries the
The mark that two context resource are corresponding.
S204, UE13 connect reconfiguration message according to RRC and initiate switching within cell, according to the execution feelings of switching within cell
Condition, sends different message to base station 12;
S205, base station 12, according to the message of reception UE13, determine and use the first context resource or about second with UE13
Literary composition resource communicates.
A kind of situation is the success of UE13 switching within cell, completes RRC connection and reconfigures, then UE13 sends RRC to base station 12
Connecting and reconfigure completion message, RRC connection reconfigures carries the mark that the second context resource is corresponding in completion message;Accordingly
, base station 12 receives the RRC connection of UE13 transmission and reconfigures completion message, then discharge described first context resource, use
Second context resource communicates with UE13.
A kind of situation is that UE13 switching within cell is successfully completed RRC and connects and reconfigure, but sends RRC and connect and reconfigured
Message failure, then UE13 sends a RRC connection re-establishment request message, and RRC connection re-establishment request to base station 12
What the context resource carried in message was corresponding is designated the mark that the second context resource is corresponding;Accordingly, base station 12 basis
Oneth RRC connection re-establishment request message, determine that UE13 completes switching within cell, then use the second context resource complete with
RRC connection re-establishment between UE13, and discharge the first context resource.
A kind of situation is that UE13 switching within cell is unsuccessfully not fully complete RRC and connects and reconfigure, then UE13 sends the to base station 12
Two RRC connection re-establishment request message, carry, in the 2nd RRC connection re-establishment request message, the mark that the first context resource is corresponding
Know;Accordingly, base station 12, according to the 2nd RRC connection re-establishment request message, determines that UE13 has been not fully complete switching within cell, then makes
The RRC connection re-establishment between UE13 is completed by the first context resource;After re-establishing, continue to send RRC connection and heavily join
Put message, until UE13 switching within cell is successfully completed RRC connection and reconfigures.
The mark that base station replies message according to the UE received and carries in message, it is judged that the Intra-Cell Handover procedures of UE
Whether exception occurs.If the message that the UE received sends is RRC connection re-establishment asks message, then it represents that UE cannot be to base station
Reply RRC connection and reconfigure completion message.Now, base station can be sentenced according to the mark carried in RRC connection re-establishment request message
Disconnected UE side the most successfully carries out switching within cell.If the message received is carried to be designated the second context resource corresponding
Mark, then mark corresponding for the first context resource is replaced by the mark that the second context resource is corresponding by explanation UE side, can
Think that UE side has been carried out switching within cell, it is impossible to by RRC connect reconfigure completion message be sent to base station be because UE access
The wireless link of base station occurs abnormal, cause UE cannot normal access base station, then carry out RRC connection re-establishment between base station and UE
Process.Further, mark corresponding for the first context resource has been switched to the mark that the second context resource is corresponding due to UE, then
Base station can carry out interacting message by the second context resource with UE at this moment by the first context resource release.Thus, little
In district handoff procedure occur abnormal in the case of, the mark that context resource that base station can be carried in replying message according to UE is corresponding
Know, determine that abnormal reason occurs in switching within cell, and make corresponding process, owing to two set context moneys are preserved in base station
Source, discharges the first context resource determining again after UE completes community switching, prevents base station and UE when switching within cell exception
Context inconsistent, it is ensured that UE is continuously connected with base station, reduces UE cutting off rate, improves communication quality.
In above-described embodiment, in base station 12, also storage has first key mutual with UE13, and in UE13, also storage has and base
Standing 12 the first mutual keys, described first key is corresponding with described first context resource.
Step S202 includes: base station 12, according to UE context modification request message, determines second key mutual with UE13,
And generate the second context resource answered with described second double secret key;
Step S203 includes: the RRC that base station 12 uses the first key encryption to send to UE13 connects reconfiguration message;
After discharging described first context resource, described first key is deleted in base station 12.
Accordingly, UE13 completes RRC connection and reconfigures, including:
The described RRC that UE13 uses described first secret key decryption to receive connects reconfiguration message;
UE13 completes RRC and connects and reconfigure, and generates second key corresponding with the second context resource and replaces described the
One key;
Mark corresponding for second context resource is replaced the mark that the first context resource is corresponding by UE13.
In general, the time at UE core network access exceedes threshold value or core net needs to activate one and (drills with current EPS
Entering type grouping system, Evolved Packet System) AS (Access Layer, Access Stratum) safe context is different
When another safe context, MME need to derive the KeNB made new advances, and sends UE contextual modifications to base station by MME
Request (UE CONTEXT MODIFICATION REQUEST) message, to initiate switching within cell.Wherein, UE contextual modifications
Request message can carry the new KeNB that core net is derived.UE receives after triggering the message updating KeNB, uses identical with MME
Calculation derive the KeNB that makes new advances, to ensure that UE side is identical with the KeNB of core-network side, be i.e. used for derive UE side and eNB side
Eat dishes without rice or wine chain of command and the KeNB used by data surface key wants consistent.
In base station, storage has the chain of command with UE and data surface key, the i.e. first key, and corresponding context (UE
CONTEXT) resource is the first context resource.Wherein, context resource can include carrying information, physical layer resources etc..Base station
It is assigned with CRNTI (Cell Radio Network Temporary Identifier/Identity, Cell-RNTI, the Cell Radio Network corresponding with the first key for UE
Temporary Identifier), uniquely identify the UE under eating dishes without rice or wine in a community.
After base station receives UE context modification request message, however, it is determined that wherein contain safe key (Security
Key) content, being instruction needs to carry out the switching within cell flow process of key updating.Base station uses UE context modification request
The KeNB carried in message, calculates the second key generated between base station and UE.Owing to a context resource correspondence one is close
Key, prior art only preserves a set of context resource, after base station generates the second key, need to be left out by the first key, only utilizes
One had is led to context resource and is preserved the second key.In the embodiment of the present invention, after base station generates the second key, distribute one for UE
New CRNTI, can be designated as the 2nd CRNTI, and according to the 2nd CRNTI, is the new context resource of the second key application, and i.e. second
Context resource.And in base station, also preserve the first key, and a corresponding CRNTI and the first context resource.Cause
This, can temporarily have two set keys between UE, and CRNTI and context resource accordingly in base station, wherein first is close
Key and a CRNTI, the first context resource are corresponding, and the second key and the 2nd CRNTI, the second context resource are corresponding.
After second context resource is reserved, base station stops at the up-downgoing data transmission of the first context resource data surface,
Only allow the data transmission scheduling of signaling plane, and assemble RRC and connect and reconfigure (RRC Connection
Reconfiguration) message.RRC connects reconfiguration message and comprises mobility control information (Mobility Control
Information) parameter, handover security configuration (Security Config Handover) parameter and other resource configuration parameters
Deng, mobility controls information parameter and carries the 2nd CRNTI that base station is UE distribution, the key amendment in handover security configuration parameter
Instruction (key Change Indicator) information is set to true.Base station uses the first double secret key RRC to connect reconfiguration message
After carrying out integrity protection and encryption, it is sent to UE.
UE preserves and the key KeNB of core net agreement, and the first key arranged with base station, receives base station and sends
RRC connect after reconfiguration message, according to the key Change Indicator in message, KeNB is carried out once with core net
The computing of identical algorithms, is replaced by old KeNB new KeNB, and calculates according to the Encryption and integrity protection carried in message
Method, if not carrying any security algorithm information in message, then uses the Encryption and integrity protection algorism of for the first time storage and new
KeNB, calculate the second key generated between base station and UE, and the first key replaced with the second newly-generated key.
Afterwards, the parameter that UE connects in reconfiguration message according to RRC configures.If parameter configuration success, UE is to base station
Replying RRC connection and reconfigure completion message, if being successfully accessed to base station, representing the success of UE switching within cell.That is, UE13 also uses
In, if mark corresponding for described first context resource being replaced by the mark success that described second context resource is corresponding, then
Sending RRC connection to base station 12 and reconfigure completion message, described RRC connection reconfigures and uses described about second in completion message
The mark scrambling that literary composition resource is corresponding.Now the first key is replaced with the second key by UE, and a CRNTI is replaced by second
CRNTI, therefore UE utilizes the second key encryption RRC to connect and reconfigures completion message, and uses the 2nd CRNTI scrambling.
If parameter configuration is unsuccessful or the failure of incision base station, i.e. UE fails the first key is replaced with the second key, then UE
Send RRC connection re-establishment request message to base station, request re-establishes connection.Carry and re-establish reason and be
" reconfiguration Failure " or " handover Failure " i.e., UE13 is additionally operable to, if by described first context
Mark corresponding to resource is replaced by the mark failure that described second context resource is corresponding, then send RRC to base station 12 and connect weight
Set up in request message, and described RRC connection re-establishment request message and carry the mark that described first context resource is corresponding.This
Outward, UE also fails to a CRNTI is replaced with the 2nd CRNTI, and therefore the first key and corresponding the is stayed in the continuation of insurance of UE relaying
One CRNTI, and utilize the first key encryption to the message of base station transmission.
Also having another kind of situation, parameter configuration success, the first key is replaced with the second key, but sends to base station by UE
It is abnormal that RRC connects appearance when reconfiguring completion message, the most also sends RRC connection re-establishment request message to base station, and in message
In carry the 2nd CRNTI, and the reason that re-establishes carried is " other Failure ".
In order to be more clearly understood that the application, with instantiation, said method is described in detail below.
The idiographic flow of the embodiment of the present application one is as it is shown on figure 3, include:
S301, the MME of core net trigger key modification process, generate new key KeNB.
S302, MME send UE context modification request message to base station, and wherein, UE context modification request message is carried
New key KeNB.
After UE context modification request message is received in S303, base station, new key KeNB and algorithm is utilized to generate the second key,
And be second cipher key configuration the second context resource, the 2nd CRNTI etc..
S304, base station assemble RRC and connect reconfiguration message, wherein comprise the 2nd CRNTI and key amendment instruction information etc.,
And connect the protection of reconfiguration message Encryption and integrity with the first double secret key RRC.
RRC is connected reconfiguration message and is sent to UE by S305, base station.
After S306, UE receive RRC connection reconfiguration message, according to key amendment instruction information updating key and relevant money
Source.
S307, UE send RRC connection and reconfigure completion message to base station, and wherein, RRC connects reconfiguration message and uses second
CRNTI scrambles, and utilizes the second key to be encrypted and integrity protection.
S308, base station receive after RRC connects and reconfigure completion message, reply UE contextual modifications response message to MME.
S309, base station conversion data path, to the second context, and discharge the first context resource.
The idiographic flow of the embodiment of the present application two as shown in Figure 4, including:
S401, the MME of core net trigger key modification process, generate new key KeNB.
S402, MME send UE context modification request message to base station, and wherein, UE context modification request message is carried
New key KeNB.
After UE context modification request message is received in S403, base station, new key KeNB and algorithm is utilized to generate the second key,
And be second cipher key configuration the second context resource, the 2nd CRNTI etc..
S404, base station assemble RRC and connect reconfiguration message, wherein comprise the 2nd CRNTI and key amendment instruction information etc.,
And connect the protection of reconfiguration message Encryption and integrity with the first double secret key RRC.
RRC is connected reconfiguration message and is sent to UE by S405, base station.
After S406, UE receive RRC connection reconfiguration message, according to key amendment instruction information updating key and relevant money
Source.
S407, UE send RRC connection and reconfigure completion message failure to base station, trigger RRC connection re-establishment process.
S408, UE send RRC connection re-establishment request message to base station, and wherein, RRC connection re-establishment request message is carried
2nd CRNTI.
S409, base station receive RRC connection re-establishment request message, and determine that it carries the 2nd CRNTI.
S410, base station utilize the second context resource, send RRC connection re-establishment message to UE,
S411, UE send RRC connection re-establishment completion message to base station.
After S412, base station receive RRC connection re-establishment completion message, reply UE contextual modifications response message to MME.
S413, base station conversion data path, to the second context, and discharge the first context resource.
The idiographic flow of the embodiment of the present application three is as it is shown in figure 5, include:
S501, the MME of core net trigger key modification process, generate new key KeNB.
S502, MME send UE context modification request message to base station, and wherein, UE context modification request message is carried
New key KeNB.
After UE context modification request message is received in S503, base station, new key KeNB and algorithm is utilized to generate the second key,
And be second cipher key configuration the second context resource, the 2nd CRNTI etc..
S504, base station assemble RRC and connect reconfiguration message, wherein comprise the 2nd CRNTI and key amendment instruction information etc.,
And connect the protection of reconfiguration message Encryption and integrity with the first double secret key RRC.
RRC is connected reconfiguration message and is sent to UE by S505, base station.
After S506, UE receive RRC connection reconfiguration message, more new key and related resource failure or handoff failure, trigger
RRC connection re-establishment process.
S507, UE send RRC connection re-establishment request message to base station, and wherein, RRC connection re-establishment request message is carried
Oneth CRNTI.
S508, base station receive RRC connection re-establishment request message, and determine that it carries a CRNTI.
S509, base station utilize the first context resource, send RRC connection re-establishment message to UE,
S510, UE send RRC connection re-establishment completion message to base station.
After S511, base station receive RRC connection re-establishment completion message, send RRC to UE and connect reconfiguration message, again
Trigger the Intra-Cell Handover procedures of UE.
Based on identical technology design, the embodiment of the present application also provides for the device of a kind of switching within cell, as shown in Figure 6,
Including:
Base station receiver module 61, for receiving the UE context modification request message that core net sends;
Base station generation module 62, for the first context resource that storage is corresponding with described UE;According to described UE context
Amendment request message, generates second context resource corresponding with described UE;
Base station sending module 63, connects reconfiguration message for sending RRC to described UE, and described RRC connection reconfigures and disappears
Breath carries the mark that described second context resource is corresponding;
Base station rebuilds module 64, if for receiving the RRC connection re-establishment request message that described UE sends, and institute
State the context resource carried in a RRC connection re-establishment request message corresponding be designated described second context resource pair
The mark answered, then use described second context resource to complete the RRC connection re-establishment between described UE, and discharge described
One context resource.
Base station rebuilds module 64, if being additionally operable to receive the 2nd RRC connection re-establishment request message that described UE sends, and
It is corresponding that what in described RRC connection re-establishment request message, the context resource carried was corresponding is designated described first context resource
Mark, then use described first context resource to described UE send RRC connection re-establishment message;
Described base station sending module 63, after being additionally operable to receive the RRC connection re-establishment completion message that described UE sends, weight
Newly send described RRC to described UE and connect reconfiguration message.
Base station rebuilds module 64, is additionally operable to:
If the RRC receiving described UE transmission connects reconfigures completion message, then discharge described first context resource.
Base station generation module 62, is additionally operable to store first key mutual with described UE, described first key and described the
One context resource is corresponding;According to described UE context modification request message, determine second key mutual with described UE, and
Generate the second context resource answered with described second double secret key;
Base station sending module 63, is also used for the RRC that described first key encryption sends to described UE and connects and reconfigure
Message;
Base station rebuilds module 64, is additionally operable to delete described first key.
A kind of device of switching within cell, as it is shown in fig. 7, comprises:
UE receiver module 71, the RRC sent for receiving base station connects reconfiguration message, and described RRC connection reconfigures and disappears
Breath carries the mark that the second context resource is corresponding;;
UE changes module 72, for storing mark corresponding to the first context resource that described base station is described UE distribution;
Carry out RRC connection to reconfigure;
UE sending module 73, for sending a RRC connection re-establishment request message, a described RRC to described base station
Carrying, in connection re-establishment request message, the mark that described second context resource is corresponding, a described RRC connection re-establishment please
Seeking message is that described UE changes module and completes RRC and connect and reconfigure but unsuccessful transmissions RRC connects to reconfigure and gives birth to after completion message
Become.
UE sending module 73, is additionally operable to:
The 2nd RRC connection re-establishment request message, described 2nd RRC connection re-establishment request message is sent to described base station
In carry the mark that described first context resource is corresponding, described 2nd RRC connection re-establishment request message is that described UE changes
Module is not fully complete generation after RRC connection reconfigures.
UE sending module 73, is additionally operable to:
Sending RRC connection to described base station and reconfigure completion message, described RRC connection reconfigures carries institute in completion message
Stating the mark that the second context resource is corresponding, it is that described UE replacing module completes RRC even that described RRC connection reconfigures completion message
Connect generation after reconfiguring.
UE changes module 72, is additionally operable to:
Storing first key mutual with described base station, described first key is corresponding with described first context resource;
The RRC using described first secret key decryption to receive connects reconfiguration message;
Connect reconfiguration message according to described RRC, generate second key corresponding with described second context resource and replace
Change described first key;
Mark corresponding for described second context resource is replaced the mark that described first context resource is corresponding.
The present invention is with reference to method, equipment (system) and the flow process of computer program according to embodiments of the present invention
Figure and/or block diagram describe.It should be understood that can the most first-class by computer program instructions flowchart and/or block diagram
Flow process in journey and/or square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
Instruction arrives the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce
A raw machine so that the instruction performed by the processor of computer or other programmable data processing device is produced for real
The device of the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame now.
These computer program instructions may be alternatively stored in and computer or other programmable data processing device can be guided with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in this computer-readable memory produces and includes referring to
Make the manufacture of device, this command device realize at one flow process of flow chart or multiple flow process and/or one square frame of block diagram or
The function specified in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing device so that at meter
Perform sequence of operations step on calculation machine or other programmable devices to produce computer implemented process, thus at computer or
The instruction performed on other programmable devices provides for realizing at one flow process of flow chart or multiple flow process and/or block diagram one
The step of the function specified in individual square frame or multiple square frame.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation
Property concept, then can make other change and amendment to these embodiments.So, claims are intended to be construed to include excellent
Select embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and the modification essence without deviating from the present invention to the present invention
God and scope.So, if these amendments of the present invention and modification belong to the scope of the claims in the present invention and equivalent technologies thereof
Within, then the present invention is also intended to comprise these change and modification.