Summary of the invention
The embodiment of the present invention provides a kind of method and apparatus of switching within cell, to solve intra-cell in the prior art
The problem of in the case where the existing exception that swaps out, UE cutting off rate is higher, influences communication quality.
The method of switching within cell provided in an embodiment of the present invention includes:
Base station receives the user equipment (UE) context modification request message that core net is sent, and is stored in the base station and institute
State corresponding first context resource of UE;
The base station generates the second context money corresponding with the UE according to the UE context modification request message
Source;
The base station sends radio resource control RRC connection reconfiguration message to the UE, and the RRC connection reconfiguration, which is set, to disappear
The corresponding mark of second context resource is carried in breath;
If the base station receives the first RRC connection re-establishment request message that the UE is sent, and the first RRC connects
Connect that the context resource for re-establishing and carrying in request message is corresponding to be identified as the corresponding mark of second context resource, then
The RRC connection re-establishment between the UE is completed using second context resource, and discharges the first context money
Source.
Optionally, after the base station sends radio resource control RRC connection reconfiguration message to the UE, further includes:
If the base station receives the 2nd RRC connection re-establishment request message that the UE is sent, and the 2nd RRC connects
Connect that the context resource for re-establishing and carrying in request message is corresponding to be identified as the corresponding mark of first context resource, then
The base station sends RRC connection re-establishment message to the UE using first context resource;
After the base station receives the RRC connection re-establishment completion message that the UE is sent, institute is sent to the UE again
It states RRC connection reconfiguration and sets message.
Optionally, after the base station sends radio resource control RRC connection reconfiguration message to the UE, further includes:
If the RRC connection reconfiguration that the base station receives the UE transmission, which is set, completes message, described about first is discharged
Literary resource.
Optionally, also it is stored with the first key interacted with the UE in the base station, the first key and described the
One context resource is corresponding;
The base station generates the second context money corresponding with the UE according to the UE context modification request message
Source, comprising:
The base station determines the second key interacted with the UE according to the UE context modification request message, and raw
At the second context resource corresponding with second key;
The base station sends RRC connection reconfiguration to the UE and sets message, comprising:
The base station is encrypted to the RRC connection reconfiguration that the UE is sent using the first key and sets message;
After release first context resource, further includes:
Delete the first key in the base station.
A kind of method of switching within cell, comprising:
UE receives the RRC connection reconfiguration that base station is sent and sets message, and the RRC connection reconfiguration, which is set, carries about second in message
Literary resource corresponding mark is stored with the corresponding mark of the first context resource that the base station is UE distribution in the UE
Know;
The UE sends the first RRC connection re-establishment request message to the base station, and the first RRC connection re-establishment is asked
It asks and carries the corresponding mark of second context resource in message, the first RRC connection re-establishment request message is described
UE complete RRC connection reconfiguration set but send not successfully RRC connection reconfiguration set complete message after generate.
Optionally, the RRC connection reconfiguration that the UE receives that base station is sent is set after message, further includes:
The UE sends the 2nd RRC connection re-establishment request message to the base station, and the 2nd RRC connection re-establishment is asked
It asks and carries the corresponding mark of first context resource in message, the 2nd RRC connection re-establishment request message is described
UE does not complete RRC connection reconfiguration and postpones generation.
Optionally, the RRC connection reconfiguration that the UE receives that base station is sent is set after message, further includes:
The UE sets to base station transmission RRC connection reconfiguration and completes message, and the RRC connection reconfiguration, which is set, to be completed in message
The corresponding mark of second context resource is carried, it is that the UE completes RRC connection that the RRC connection reconfiguration, which sets and completes message,
It is generated after reconfiguring.
Optionally, also it is stored with the first key interacted with the base station in the UE, the first key and described the
One context resource is corresponding;
The UE completes RRC connection reconfiguration and sets, comprising:
The UE sets message using the RRC connection reconfiguration that first key decryption receives;
The UE sets message according to the RRC connection reconfiguration, and it is close to generate corresponding with second context resource second
Key simultaneously replaces the first key;
The corresponding mark of second context resource is replaced the corresponding mark of first context resource by the UE.
A kind of device of switching within cell, comprising:
Base station receiving module, for receiving the UE context modification request message of core net transmission;
Base station generation module, for storing the first context resource corresponding with the UE;It is repaired according to the UE context
Change request message, generates the second context resource corresponding with the UE;
Base station sending module sets message for sending RRC connection reconfiguration to the UE, and the RRC connection reconfiguration sets message
It is middle to carry the corresponding mark of second context resource;
Base station rebuilds module, if the first RRC connection re-establishment request message sent for receiving the UE, and it is described
The context resource carried in first RRC connection re-establishment request message is corresponding to be identified as the second context resource correspondence
Mark, then complete the RRC connection re-establishment between the UE using second context resource, and discharge described first
Context resource.
Optionally, the base station rebuilds module, asks if being also used to receive the 2nd RRC connection re-establishment that the UE is sent
Message is sought, and the context resource carried in the 2nd RRC connection re-establishment request message is corresponding is identified as described first
The corresponding mark of context resource then sends RRC connection re-establishment message to the UE using first context resource;
The base station sending module, after being also used to receive the RRC connection re-establishment completion message that the UE is sent, again
The RRC connection reconfiguration, which is sent, to the UE sets message.
Optionally, the base station rebuilds module, is also used to:
Message is completed if receiving the RRC connection reconfiguration that the UE is sent and setting, discharges first context resource.
Optionally, the base station generation module is also used to store the first key interacted with the UE, the first key
It is corresponding with first context resource;According to the UE context modification request message, the interacted with the UE is determined
Two keys, and generate the second context resource corresponding with second key;
The base station sending module is also used for the first key and encrypts the RRC connection reconfiguration sent to the UE
Set message;
The base station rebuilds module, is also used to delete the first key.
A kind of device of switching within cell, comprising:
UE receiving module, the RRC connection reconfiguration for receiving base station transmission set message, and the RRC connection reconfiguration sets message
The corresponding mark of the second context resource of middle carrying;
UE replaces module, for storing the corresponding mark of the first context resource that the base station is UE distribution;Into
Row RRC connection reconfiguration is set;
UE sending module, for sending the first RRC connection re-establishment request message to the base station, the first RRC connects
It connects to re-establish and carries the corresponding mark of second context resource in request message, the first RRC connection re-establishment request
Message be UE replacement module complete RRC connection reconfiguration set but send not successfully RRC connection reconfiguration set complete message after generate
's.
Optionally, the UE sending module, is also used to:
The 2nd RRC connection re-establishment request message, the 2nd RRC connection re-establishment request message are sent to the base station
Middle to carry the corresponding mark of first context resource, the 2nd RRC connection re-establishment request message is the UE replacement
Module does not complete RRC connection reconfiguration and postpones generation.
Optionally, the UE sending module, is also used to:
It is set to base station transmission RRC connection reconfiguration and completes message, the RRC connection reconfiguration, which is set, to be completed to carry institute in message
The corresponding mark of the second context resource is stated, it is that the UE replacement module completes RRC company that the RRC connection reconfiguration, which sets and completes message,
It connects and generates after reconfiguring.
Optionally, the UE replaces module, is also used to:
The first key interacted with the base station is stored, the first key is corresponding with first context resource;
Message is set using the RRC connection reconfiguration that first key decryption receives;
Message is set according to the RRC connection reconfiguration, generate the second key corresponding with second context resource and is replaced
Change the first key;
The corresponding mark of second context resource is replaced into the corresponding mark of first context resource.
It is UE distribution the according to the message after base station receives UE context modification request message in the embodiment of the present invention
Two context resources, and be stored with the first context resource before base station, then base station maintenance has two sets of context resources.It base station will
The corresponding mark of second context resource sets message by RRC connection reconfiguration and is sent to UE, allows UE according to RRC connection weight
It configures message and carries out switching within cell.Later, base station according to the UE received reply message and message in the mark that carries, sentence
Whether the Intra-Cell Handover procedures of disconnected UE there is exception.If the message that the UE received is sent is RRC connection re-establishment, request disappears
Breath, then it represents that UE sets without normal direction base station reply RRC connection reconfiguration and completes message.At this point, base station can be asked according to RRC connection re-establishment
The mark carried in message is sought, judges whether the side UE successfully carries out switching within cell.If the mark carried in the message received
For the corresponding mark of the second context resource, then illustrate that the corresponding mark of the first context resource is changed on second by the side UE
The corresponding mark of context resource, it is believed that the side UE has been carried out switching within cell, can not set RRC connection reconfiguration and complete message hair
Give base station and be because the Radio Link of UE access base station occur it is abnormal, cause UE can not normal access base station, then base station and UE
Between carry out RRC connection re-establishment process.Also, since the corresponding mark of the first context resource is switched on second by UE
The corresponding mark of context resource, then base station can at this moment discharge the first context resource, pass through the second context resource and UE
Carry out interacting message.As a result, in the case where exception occur in Intra-Cell Handover procedures, base station can reply message middle carrying according to UE
The corresponding mark of context resource, determine that abnormal reason occurs in switching within cell, and make corresponding processing, due to base station
Two sets of context resources are preserved, the first context resource is discharged again after determining that UE completes cell switching, prevents in cell
The context of base station and UE are inconsistent when switching is abnormal, ensure that being continuously connected with for UE and base station, reduce UE cutting off rate,
Improve communication quality.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into
It is described in detail to one step, it is clear that the described embodiments are only some of the embodiments of the present invention, rather than whole implementation
Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts
All other embodiment, shall fall within the protection scope of the present invention.
Inventors have found that eNB need to release old UE context after receiving UE context modification request in the prior art
It puts, uses the newly-generated corresponding new UE context of KeNB.But switching within cell is carried out in the side UE and abnormal situation occurs
Under, the side UE still uses old UE context, it may appear that the side eNB is not identical as the context of the side UE, cause UE with
Connection between eNB disconnects, and increases UE cutting off rate, influences communication quality.By being safeguarded in base station side in the embodiment of the present invention
Two sets of UE contexts, it is ensured that UE can still be re-established with base station side, be prevented in the case where exception occurs in switching within cell
Words.
The embodiment of the invention provides a kind of systems of switching within cell, such as Fig. 1, including core net 11,12 and of base station
UE13, UE13 are linked into core net 11 by base station 12, therefore during UE13 access base station 12, base station 12 is UE13 distribution
First context resource.
The process of switching within cell is as shown in Fig. 2, specific as follows:
S201, core net 11 send UE context modification request message to base station 12, are stored with and UE13 pairs in base station 12
The first context resource answered.
S202, base station 12 generate corresponding with UE13 about second according to the UE context modification request message received
Literary resource.
S203, base station 12 send RRC connection reconfiguration to UE13 and set message, and the RRC connection reconfiguration, which is set, carries the in message
The corresponding mark of two context resources.
S204, UE13 are set in message originating cell according to RRC connection reconfiguration to be switched, according to the execution feelings of switching within cell
Condition, Xiang Jizhan 12 send different message;
S205, base station 12 are determining to use the first context resource or about second with UE13 according to the message for receiving UE13
Literary resource is communicated.
A kind of situation is the success of UE13 switching within cell, completes RRC connection reconfiguration and sets, then UE13 sends RRC to base station 12
Connection reconfiguration, which is set, completes message, and RRC connection reconfiguration, which is set, to be completed to carry the corresponding mark of the second context resource in message;Accordingly
, the RRC connection reconfiguration that base station 12 receives UE13 transmission, which is set, completes message, then discharges first context resource, use
Second context resource is communicated with UE13.
A kind of situation is that UE13 switching within cell successfully completes RRC connection reconfiguration and sets, but sends RRC connection reconfiguration and set completion
Message failure, then UE13 sends the first RRC connection re-establishment request message to base station 12, and the first RRC connection re-establishment is requested
The context resource carried in message is corresponding to be identified as the corresponding mark of the second context resource;Correspondingly, 12 basis of base station
First RRC connection re-establishment request message determines that UE13 completes switching within cell, then using 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 does not complete RRC connection reconfiguration unsuccessfully and sets, then UE13 is to the transmission of base station 12 the
Two RRC connection re-establishment request messages carry the corresponding mark of the first context resource in the 2nd RRC connection re-establishment request message
Know;Correspondingly, base station 12 according to the 2nd RRC connection re-establishment request message, determines that UE13 has not completed switching within cell, then makes
The RRC connection re-establishment between UE13 is completed with the first context resource;After re-establishing, continue to send RRC connection reconfiguration
Message is set, until UE13 switching within cell successfully completes RRC connection reconfiguration and sets.
Base station according to the UE received reply message and message in the mark that carries, judge the Intra-Cell Handover procedures of UE
Whether exception is occurred.If the message that the UE received is sent is RRC connection re-establishment request message, then it represents that UE is without normal direction base station
Reply RRC connection reconfiguration, which is set, completes message.At this point, base station can be sentenced according to the mark carried in RRC connection re-establishment request message
Whether the disconnected side UE successfully carries out switching within cell.If carried in the message received to be identified as the second context resource corresponding
Mark then illustrates that the corresponding mark of the first context resource is changed to the corresponding mark of the second context resource by the side UE, can
Think that the side UE has been carried out switching within cell, RRC connection reconfiguration can not set to complete message sending to base station be because of UE access
The Radio Link of base station occur it is abnormal, cause UE can not normal access base station, then RRC connection re-establishment is carried out between base station and UE
Process.Also, since the corresponding mark of the first context resource is switched to the corresponding mark of the second context resource by UE, then
Base station can at this moment discharge the first context resource, carry out interacting message by the second context resource and UE.As a result, small
In the case that exception occurs in handoff procedure in area, base station can reply message the corresponding mark of context resource of middle carrying according to UE
Know, determine that abnormal reason occurs in switching within cell, and make corresponding processing, since two sets of context moneys are preserved in base station
Source discharges the first context resource after determining that UE completes cell switching again, prevents base station and UE in switching within cell exception
Context it is inconsistent, ensure that being continuously connected with for UE and base station, reduce UE cutting off rate, improve communication quality.
In above-described embodiment, it is also stored with the first key interacted with UE13 in base station 12, is also stored in UE13 and base
It stands the first keys of 12 interactions, the first key is corresponding with first context resource.
Step S202 includes: base station 12 according to UE context modification request message, determines the second key interacted with UE13,
And generate the second context resource corresponding with second key;
Step S203, which includes: base station 12, to be encrypted to the RRC connection reconfiguration that UE13 is sent using first key and sets message;
After discharging first context resource, the first key is deleted in base station 12.
It is set correspondingly, UE13 completes RRC connection reconfiguration, comprising:
UE13 sets message using the RRC connection reconfiguration that first key decryption receives;
UE13 completes RRC connection reconfiguration and sets, and generates corresponding with the second context resource the second key and replaces described the
One key;
The corresponding mark of second context resource is replaced the corresponding mark of the first context resource by UE13.
It in general, is more than that threshold value or core net need to activate one (to drill with current EPS in the time of UE access core net
It is different into type grouping system, Evolved Packet System) AS (access layer, Access Stratum) safe context
When another safe context, MME need to derive new KeNB, and issue UE contextual modifications to base station by MME
(UE CONTEXT MODIFICATION REQUEST) message is requested, to initiate switching within cell.Wherein, UE contextual modifications
The new KeNB of core net derivation can be carried in request message.After UE receives the message that triggering updates KeNB, using identical as MME
Calculation derive new KeNB, to guarantee that the side UE is identical as the KeNB of core-network side, i.e., for deriving the side UE and the side eNB
Eating dishes without rice or wine KeNB used in control plane and data surface key will be unanimously.
It is stored in base station and the control plane of UE and data surface key, i.e. first key, and corresponding context (UE
CONTEXT) resource is the first context resource.Wherein, context resource may include carrying information, physical layer resources etc..Base station
CRNTI (Cell Radio Network Temporary Identifier/Identity, Cell-RNTI, Cell Radio Network corresponding with first key are assigned with for UE
Temporary Identifier), one cell of unique identification eat dishes without rice or wine under UE.
After base station receives UE context modification request message, however, it is determined that wherein contain security key (Security
Key the switching within cell process that content), as instruction need to carry out key updating.Base station uses UE context modification request
The KeNB carried in message calculates the second key generated between base station and UE.Since a context resource correspondence one is close
Key, the prior art only save a set of context resource, after base station generates the second key, need to leave out first key, using only
The logical context resource of one had saves the second key.In the embodiment of the present invention, after base station generates the second key, one is distributed for UE
New CRNTI, can be denoted as the 2nd CRNTI, and according to the 2nd CRNTI, be the new context resource of the second key application, i.e., and second
Context resource.And first key and corresponding first CRNTI and the first context resource are also preserved in base station.Cause
This, can temporarily have two sets of keys between UE, and corresponding CRNTI and context resource, wherein first is close in base station
Key is corresponding with the first CRNTI, the first context resource, and the second key is corresponding with the 2nd CRNTI, the second context resource.
After second context resource is reserved, base station stops at the uplink and downlink data transmission of the first context resource data surface,
Only allow the data transmission scheduling of signaling plane, and assembles RRC connection reconfiguration and set (RRC Connection
Reconfiguration) message.It includes mobility control information (Mobility Control that RRC connection reconfiguration, which sets message,
Information) parameter, handover security configuration (Security Config Handover) parameter and other resource configuration parameters
Deng the key modification that mobility control information parameter carries base station for the 2nd CRNTI of UE distribution, in handover security configuration parameter
Instruction (key Change Indicator) information is set as true.Message is set to RRC connection reconfiguration using first key in base station
After carrying out integrity protection and encryption, it is sent to UE.
UE preserves the key KeNB with core net agreement, and the first key with base station agreement, is connected to base station transmission
RRC connection reconfiguration set message after, according to the key Change Indicator in message, KeNB is carried out once and core net
Old KeNB is changed to new KeNB, and is calculated according to the Encryption and integrity protection carried in message by the operation of identical algorithms
Method, if not with any security algorithm information in message, using the Encryption and integrity protection algorism of storage for the first time and newly
KeNB, calculate the second key generated between base station and UE, and first key is replaced with to the second newly-generated key.
Later, UE sets the parameter in message according to RRC connection reconfiguration and is configured.If parameter configuration success, UE is to base station
Reply RRC connection reconfiguration, which is set, completes message, if being successfully accessed to base station, indicates the success of UE switching within cell.That is, UE13 is also used
In, if the corresponding mark of first context resource is changed to, second context resource is corresponding to be identified successfully,
It is set to the transmission RRC connection reconfiguration of base station 12 and completes message, the RRC connection reconfiguration, which is set, to be completed to use described about second in message
The corresponding mark scrambling of literary resource.First key is replaced with the second key by UE at this time, and the first CRNTI is changed to second
CRNTI, therefore UE is set using the second key encryption RRC connection reconfiguration and completes message, and is scrambled using the 2nd CRNTI.
If parameter configuration is unsuccessful or the failure of incision base station, i.e. UE fail to replace with first key into the second key, then UE
RRC connection re-establishment request message is sent to base station, request re-establishes connection.Carrying re-establish the reason is that
" reconfiguration Failure " or " handover Failure " is that is, UE13 is also used to, if by first context
The corresponding mark of resource is changed to the corresponding mark failure of second context resource, then sends RRC connection weight to base station 12
Request message is established, and carries the corresponding mark of first context resource in the RRC connection re-establishment request message.This
Outside, UE also fails to replacing with the first CRNTI into the 2nd CRNTI, therefore first key and corresponding the are stayed in UE relaying continuation of insurance
One CRNTI, and the message sent to base station is encrypted using first key.
There are also another situation, parameter configuration success, first key is replaced with the second key by UE, but is sent to base station
RRC connection reconfiguration, which is set, there is exception when completing message, then also sends RRC connection re-establishment request message to base station, and in message
The 2nd CRNTI of middle carrying, and what is carried re-establishes the reason is that " other Failure ".
In order to be more clearly understood that the application, the above method is described in detail with specific example below.
The detailed process of the embodiment of the present application one is as shown in Figure 3, comprising:
The MME triggering key modification process of S301, core net, generate new key KeNB.
S302, MME send UE context modification request message to base station, wherein UE context modification request message carries
New key KeNB.
After S303, base station are connected to UE context modification request message, the second key is generated using new key KeNB and algorithm,
It and is second the second context resource of cipher key configuration, the 2nd CRNTI etc..
S304, base station assembling RRC connection reconfiguration set message, wherein comprising the 2nd CRNTI and key modification instruction information etc.,
And message encryption and integrity protection are set to RRC connection reconfiguration with first key.
RRC connection reconfiguration is set message and is sent to UE by S305, base station.
S306, UE are connected to after RRC connection reconfiguration sets message, are modified instruction information update key according to key and related are provided
Source.
S307, UE set to base station transmission RRC connection reconfiguration and complete message, wherein RRC connection reconfiguration sets message and uses second
CRNTI scrambling, and Encryption and integrity protection is carried out using the second key.
S308, base station receive RRC connection reconfiguration set complete message after, to MME reply UE contextual modifications response message.
S309, base station change data path to the second context, and discharge the first context resource.
The detailed process of the embodiment of the present application two is as shown in Figure 4, comprising:
The MME triggering key modification process of S401, core net, generate new key KeNB.
S402, MME send UE context modification request message to base station, wherein UE context modification request message carries
New key KeNB.
After S403, base station are connected to UE context modification request message, the second key is generated using new key KeNB and algorithm,
It and is second the second context resource of cipher key configuration, the 2nd CRNTI etc..
S404, base station assembling RRC connection reconfiguration set message, wherein comprising the 2nd CRNTI and key modification instruction information etc.,
And message encryption and integrity protection are set to RRC connection reconfiguration with first key.
RRC connection reconfiguration is set message and is sent to UE by S405, base station.
S406, UE are connected to after RRC connection reconfiguration sets message, are modified instruction information update key according to key and related are provided
Source.
S407, UE set to base station transmission RRC connection reconfiguration and complete message failure, trigger RRC connection re-establishment process.
S408, UE send RRC connection re-establishment request message to base station, wherein RRC connection re-establishment request message carries
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 to base station and complete message.
After S412, base station receive RRC connection re-establishment completion message, UE contextual modifications response message is replied to MME.
S413, base station change data path to the second context, and discharge the first context resource.
The detailed process of the embodiment of the present application three is as shown in Figure 5, comprising:
The MME triggering key modification process of S501, core net, generate new key KeNB.
S502, MME send UE context modification request message to base station, wherein UE context modification request message carries
New key KeNB.
After S503, base station are connected to UE context modification request message, the second key is generated using new key KeNB and algorithm,
It and is second the second context resource of cipher key configuration, the 2nd CRNTI etc..
S504, base station assembling RRC connection reconfiguration set message, wherein comprising the 2nd CRNTI and key modification instruction information etc.,
And message encryption and integrity protection are set to RRC connection reconfiguration with first key.
RRC connection reconfiguration is set message and is sent to UE by S505, base station.
S506, UE are connected to after RRC connection reconfiguration sets message, more new key and related resource failure or handover failure, triggering
RRC connection re-establishment process.
S507, UE send RRC connection re-establishment request message to base station, wherein RRC connection re-establishment request message carries
First CRNTI.
S508, base station receive RRC connection re-establishment request message, and determine that it carries the first CRNTI.
S509, base station utilize the first context resource, send RRC connection re-establishment message to UE,
S510, UE send RRC connection re-establishment to base station and complete message.
After S511, base station receive RRC connection re-establishment completion message, RRC connection reconfiguration is sent to UE and sets message, again
Trigger the Intra-Cell Handover procedures of UE.
Based on the same technical idea, the embodiment of the present application also provides a kind of device of switching within cell, as shown in fig. 6,
Include:
Base station receiving module 61, for receiving the UE context modification request message of core net transmission;
Base station generation module 62, for storing the first context resource corresponding with the UE;According to the UE context
Request message is modified, the second context resource corresponding with the UE is generated;
Base station sending module 63 sets message for sending RRC connection reconfiguration to the UE, and the RRC connection reconfiguration, which is set, to disappear
The corresponding mark of second context resource is carried in breath;
Base station rebuilds module 64, if the first RRC connection re-establishment request message sent for receiving the UE, and institute
State that the context resource carried in the first RRC connection re-establishment request message is corresponding to be identified as second context resource pair
The mark answered then completes the RRC connection re-establishment between the UE using second context resource, and discharges described the
One context resource.
Base station rebuilds module 64, if it is also used to receive the 2nd RRC connection re-establishment request message that the UE is sent, and
The context resource carried in the RRC connection re-establishment request message is corresponding to be identified as the first context resource correspondence
Mark, then using first context resource to the UE send RRC connection re-establishment message;
The base station sending module 63, after being also used to receive the RRC connection re-establishment completion message that the UE is sent, weight
The RRC connection reconfiguration newly, which is sent, to the UE sets message.
Base station rebuilds module 64, is also used to:
Message is completed if receiving the RRC connection reconfiguration that the UE is sent and setting, discharges first context resource.
Base station generation module 62, is also used to store the first key that interacts with the UE, the first key and described the
One context resource is corresponding;According to the UE context modification request message, the second key interacted with the UE is determined, and
Generate the second context resource corresponding with second key;
Base station sending module 63, be also used for the first key encrypt to the UE send RRC connection reconfiguration set
Message;
Base station rebuilds module 64, is also used to delete the first key.
A kind of device of switching within cell, as shown in fig. 7, comprises:
UE receiving module 71, the RRC connection reconfiguration for receiving base station transmission set message, and the RRC connection reconfiguration, which is set, to disappear
The corresponding mark of the second context resource is carried in breath;;
UE replaces module 72, for storing the corresponding mark of the first context resource that the base station is UE distribution;
RRC connection reconfiguration is carried out to set;
UE sending module 73, for sending the first RRC connection re-establishment request message, the first RRC to the base station
The corresponding mark of second context resource is carried in connection re-establishment request message, the first RRC connection re-establishment is asked
Ask message be UE replacement module complete RRC connection reconfiguration set but send not successfully RRC connection reconfiguration set complete message after it is raw
At.
UE sending module 73, is also used to:
The 2nd RRC connection re-establishment request message, the 2nd RRC connection re-establishment request message are sent to the base station
Middle to carry the corresponding mark of first context resource, the 2nd RRC connection re-establishment request message is the UE replacement
Module does not complete RRC connection reconfiguration and postpones generation.
UE sending module 73, is also used to:
It is set to base station transmission RRC connection reconfiguration and completes message, the RRC connection reconfiguration, which is set, to be completed to carry institute in message
The corresponding mark of the second context resource is stated, it is that the UE replacement module completes RRC company that the RRC connection reconfiguration, which sets and completes message,
It connects and generates after reconfiguring.
UE replaces module 72, is also used to:
The first key interacted with the base station is stored, the first key is corresponding with first context resource;
Message is set using the RRC connection reconfiguration that first key decryption receives;
Message is set according to the RRC connection reconfiguration, generate the second key corresponding with second context resource and is replaced
Change the first key;
The corresponding mark of second context resource is replaced into the corresponding mark of first context resource.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.