Summary of the invention
The embodiment of the present invention provides a kind of access layer context management method and apparatus, initiates to solve existing terminal
The problem that process is complicated in RRC connection recovery process, signaling overheads is big and business recovery time delay is high.
In a first aspect, the embodiment of the present invention provides a kind of access layer context management method, comprising:
If receiving the context change request that any terminal occurs to send after serving cell switching under unactivated state,
The previous serving cell of any terminal is then obtained based on the terminal identity information for including in context change request;
It sends the context transfer comprising the terminal identity information to the previous serving cell to request, so that described
Previous serving cell can return to the access layer context of any terminal based on the terminal identity information;
Receive and save the access layer context.
Preferably, described to be asked to the previous serving cell transmission comprising the context transfer of the terminal identity information
It asks, so that the previous serving cell can return to the access layer of any terminal or more based on the terminal identity information
Text specifically includes:
If judgement knows that the previous serving cell belongs to current base station, internal communication mechanism is based on to the previous clothes
Cell of being engaged in sends the context transfer comprising the terminal identity information and requests, so that the previous serving cell can be based on
The terminal identity information returns to the access layer context of any terminal;
It is small to the previous service by Xn interface if judgement knows that the previous serving cell is not belonging to current base station
Area's own base station sends the context transfer comprising the terminal identity information and requests, so that belonging to the previous serving cell
Base station can return to the access layer context of any terminal based on the terminal identity information.
Preferably, described to receive and save the access layer context, later further include:
Context release message is sent to the previous serving cell, so that the previous serving cell can discharge institute
State access layer context.
Preferably, described to receive and save the access layer context, further include later
Update the source cell information for including in the access layer context;The source cell information include PhysCellId and
C-RNTI;
Response message is changed to the context that any terminal transmission includes the source cell information.
Preferably, described to disappear to the context change response that any terminal transmission includes the source cell information
Breath, specifically includes:
If the previous serving cell is not belonging to current base station, the terminal identity letter of any terminal is updated
Breath;
By the updated terminal identity information and the source cell information update into the access layer context;
Send to any terminal includes the upper of the updated terminal identity information and the source cell information
Hereafter change response message.
Second aspect, the embodiment of the present invention provide a kind of access layer context management method, comprising:
Under unactivated state, judge whether that serving cell switching occurs;
If serving cell switching occurs, asked to the context change that current base station transmission includes terminal identity information
It asks, so that the current base station can obtain the previous serving cell of terminal based on the terminal identity information, to before described
One serving cell sends the context transfer comprising the terminal identity information and requests, and receives and saves the previous serving cell
Access layer context based on the terminal that the terminal identity information returns.
The third aspect, the embodiment of the present invention provide a kind of access layer context management device, comprising:
Request reception unit is changed, if occurring for receiving any terminal under unactivated state after serving cell switches
The context of transmission changes request, then is obtained based on the terminal identity information for including in context change request described any
The previous serving cell of terminal;
Request transmitting unit is transmitted, it is upper and lower comprising the terminal identity information for being sent to the previous serving cell
Text transmission request, so that the previous serving cell can return to connecing for any terminal based on the terminal identity information
Enter a layer context;
Context storage unit, for receiving and saving the access layer context.
Fourth aspect, the embodiment of the present invention provide a kind of access layer context management device, comprising:
For judging whether under unactivated state serving cell switching occurs for judging unit;
Trigger unit, if including terminal identity information to current base station transmission for serving cell switching to occur
Context change request, so that the previous service that the current base station can obtain terminal based on the terminal identity information is small
Area sends the context transfer comprising the terminal identity information to the previous serving cell and requests, and receives and saves described
The access layer context for the terminal that previous serving cell is returned based on the terminal identity information.
5th aspect, the embodiment of the present invention provide a kind of electronic equipment, including processor, communication interface, memory and total
Line, wherein processor, communication interface, memory complete mutual communication by bus, and processor can call in memory
Logical order, with execute the method as provided by first aspect or second aspect the step of.
6th aspect, the embodiment of the present invention provide a kind of non-transient computer readable storage medium, are stored thereon with calculating
Machine program, when which is executed by processor the step of realization method as provided by first aspect or second aspect.
A kind of access layer context management method and apparatus provided in an embodiment of the present invention, terminal are issued in unactivated state
Triggering access layer context change request when raw serving cell switching obtains access layer by previous serving cell by current base station
Context simultaneously saves, and is stored in the serving cell of terminal access so that access layer context synchronizes always, no matter when and where
It needs to restore RRC connection, can directly be completed by current serving cell, be forwarded without additional signaling, reduce RRC
Signalling exchange during connection recovery, significantly reduces time delay, improves RRC resume speed, optimizes business recovery experience.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Due to the mobility of terminal, the resident new cell of terminal does not save access layer context, and RRC connection is caused to restore to need
Signaling forwarding is carried out, process is complicated, and signaling overheads is big, and business recovery time delay is high.It is connect in this regard, the embodiment of the present invention provides one kind
Enter a layer context management method.Fig. 1 is the flow diagram of access layer context management method provided in an embodiment of the present invention, such as
Shown in Fig. 1, this method comprises:
Step 110, if receive any terminal occurs the context sent after serving cell switching under unactivated state
Change request then obtains the previous serving cell of the terminal based on the terminal identity information for including in context change request.
Specifically, any terminal is under unactivated state, i.e., RRC_INACTIVE state when, cut in case of serving cell
It changes, then to the serving cell after switching, i.e. base station belonging to current service cell sends context change request.Herein, up and down
Text change request is used to indicate base station described in current service cell and carries out the service accessed before serving cell switching from the terminal
Cell at that is, previous serving cell, obtains the access layer context of the terminal, i.e. AS context.It is wrapped in context change request
Terminal identity information containing the terminal, terminal identity information are the identity of the terminal.
Base station belonging to current service cell receive any terminal transmission context change request after, you can learn that
The terminal has switched to current service cell, and the terminal is in unactivated state.With that is, base station belonging to current service cell
Terminal identity information is extracted from context change request, and small based on the previous service that terminal identity information obtains the terminal
Area.
Step 120, Xiang Qianyi serving cell sends the context transfer comprising terminal identity information and requests, so that previous
Serving cell can return to the access layer context of the terminal based on terminal identity information.
Specifically, after obtaining the previous serving cell of the terminal, context is sent to the previous serving cell of the terminal
Transmission request.Herein, the previous serving cell that context transfer request is used to indicate the terminal returns on the access layer of the terminal
Hereafter, to realize transmission of the access layer context from previous serving cell to current service cell.It is same in context transfer request
Sample includes terminal identity information.
Previous serving cell can extract terminal body from context transfer request after receiving context transfer request
Part information, obtains the corresponding access layer context of the terminal based on terminal identity information immediately, and access layer context is returned
Base station belonging to current area to the terminal.
Step 130, access layer context is received and saved.
Specifically, it receives the access layer context for the terminal that previous serving cell returns and saves.
Method provided in an embodiment of the present invention, before passing through after serving cell switching occurs under unactivated state for terminal
One serving cell obtains access layer context and saves, so that access layer context synchronizes the service for being stored in terminal access always
It in cell, no matter when and where needs to restore RRC connection, can directly be completed by current serving cell, without additional
Signaling forwarding, reduce RRC connection recovery during Signalling exchange, significantly reduce time delay, improve RRC resume speed,
Optimize business recovery experience.
Based on the above embodiment, in this method, step 120 is specifically included: being worked as if judgement knows that previous serving cell belongs to
Preceding base station, then based on internal communication mechanism, a serving cell sends the context transfer request comprising terminal identity information forward,
So that previous serving cell can return to the access layer context of the terminal based on terminal identity information;If judgement is known previous
Serving cell is not belonging to current base station, then being sent by Xn interface to previous serving cell own base station includes terminal identity information
Context transfer request so that previous serving cell own base station can return to connecing for the terminal based on terminal identity information
Enter a layer context.
Specifically, after obtaining previous serving cell, need to judge whether previous serving cell belongs to current service cell
Affiliated base station, i.e. current base station, so that it is determined that being directed to the signalling mode of previous serving cell:
If judgement knows that previous serving cell belongs to current base station, i.e., previous serving cell and current service cell belong to one
A base station then carries out access layer context migration by current base station in station, i.e. current base station passes through internal communication mechanism to station
Interior previous serving cell sends context transfer request, and previous serving cell is based on after receiving context transfer request
Terminal identity information in context transfer request obtains corresponding access layer context, and is connect by the return of internal communication mechanism
Enter a layer context;
If judgement knows that previous serving cell is not belonging to current base station, i.e., previous serving cell adheres to separately with current service cell
Different base station, then by access layer context migration between current base station initiation base station, i.e. current base station passes through Xn interface to previous clothes
Cell own base station transmission context transfer of being engaged in is requested.Context transfer request herein not only needs to believe comprising terminal identity
Breath, it is also necessary to be identified comprising target BS, target BS, that is, previous serving cell own base station.Previous base station in service sector is connecing
After receiving context transfer request, corresponding access layer or more is obtained based on the terminal identity information in context transfer request
Text, and access layer context is returned to by Xn interface.
Based on any of the above-described embodiment, in this method, after step 130 further include: Xiang Qianyi serving cell is sent up and down
Literary release message, so that previous serving cell can discharge access layer context.
Specifically, current service cell own base station is in the access layer for receiving any terminal that previous serving cell returns
After context, completed for the transmission flow of the access layer context of the terminal.At this point, previous serving cell no longer need to after
Renew the access layer context for storing up the terminal.Thus current service cell own base station receives previous serving cell hair in confirmation
After the access layer context for any terminal sent, Xiang Qianyi serving cell sends context release message, and context release disappears
Breath indicates that previous serving cell is released for informing that access layer context has been received in previous serving cell current service cell
Put access layer context.It herein, equally include terminal identity information in context release message.
Previous serving cell extracts terminal identity letter after receiving context release message from context release message
Breath, and discharge the corresponding access layer context of terminal identity information.
Based on any of the above-described embodiment, in this method, after step 130 further include: step 141, update access layer or more
The source cell information for including in text;Source cell information includes PhysCellId and C-RNTI;Step 142, it sends and wraps to the terminal
Context containing source cell information changes response message.
Specifically, current service cell own base station is in the access layer for receiving any terminal that previous serving cell returns
It after context, has been completed for the transmission flow of the access layer context of the terminal, has issued context change to the terminal and ring
Message is answered, to inform that terminal contexts change request has executed, and access layer context has been transmitted.
In addition, updating the PhysCellId and C-RNTI for including in access layer context.Wherein, PhysCellId indicates report
The physics ID, C-RNTI (Cell Radio Network Temporary Identifier) for accusing cell indicate the cell of terminal
Radio network temporary identifier.After obtaining access layer context, the PhysCellId in access layer context is updated to currently
The physics ID of serving cell is that the terminal reconfigures C-RNTI based on present physical cell, by updated PhysCellId
Context is included in C-RNTI and changes response message, is sent the terminal for context change response message, is being informed terminal
While the change of access layer context has been completed, terminal is sent by updated PhysCellId and C-RNTI, with unified
The PhysCellId and C-RNTI of terminal side and base station side.
Based on any of the above-described embodiment, in this method, step 142 is specifically included: if previous serving cell is not belonging to currently
Base station then updates the terminal identity information of the terminal;By updated terminal identity information and source cell information update to access
In layer context;It include the context change response of updated terminal identity information and source cell information to terminal transmission
Message.
Specifically, if previous serving cell is not belonging to current base station, also need to update the terminal identity information of the terminal,
The base station information indicated in terminal identity information is updated to current base station from the base station of previous serving cell, and will be updated
The source cell information update of terminal identity information and current service cell is generated into the received access layer context of step 130
Include the context change response message of updated terminal identity information and source cell information, context change response is disappeared
Breath is sent to the terminal, and while informing that the change of terminal access layer context has been completed, updated terminal identity is believed
Breath and source cell information are sent to terminal, with the terminal identity information and source cell information of unified terminal side and base station side.
Based on any of the above-described embodiment, Fig. 2 be another embodiment of the present invention provides access layer context management method
Flow diagram, as shown in Fig. 2, this method comprises:
Step 210, under unactivated state, judge whether that serving cell switching occurs.
Specifically, terminal is under unactivated state, i.e., RRC_INACTIVE state when, whether real-time judge currently takes
Cell of being engaged in switching.
It step 220, include the context of terminal identity information to current base station transmission if serving cell switching occurs
Change request, so that current base station can obtain the previous serving cell of terminal based on terminal identity information, to previous service
Cell sends the context transfer comprising terminal identity information and requests, and receives and saves previous serving cell and is believed based on terminal identity
Cease the access layer context of the terminal returned.
Specifically, if judgement knows that the current serving cell that occurs switches, context change request is sent to current base station.
Herein, current base station is base station belonging to current service cell, and current service cell is the service occurred after serving cell switching
Cell.Context change request is used to indicate before base station described in current service cell carries out serving cell switching from the terminal and connects
The serving cell entered at that is, previous serving cell, obtains the access layer context of the terminal, i.e. AS context.Context change
It include the terminal identity information of the terminal in request, terminal identity information is the identity of the terminal.
Current base station is after receiving the context change request of terminal transmission, you can learn that terminal has switched to current clothes
Business cell, and terminal is in unactivated state.With that is, current base station from context change request in extract terminal identity information,
And the previous serving cell of the terminal is obtained based on terminal identity information.After obtaining the previous serving cell of terminal, current base
It stands and sends context transfer request to the previous serving cell of terminal.Herein, before context transfer request is used to indicate terminal
One serving cell returns to the access layer context of terminal, to realize that access layer context is small from previous serving cell to current service
The transmission in area.It equally include terminal identity information in context transfer request.
Previous serving cell can extract terminal body from context transfer request after receiving context transfer request
Part information obtains the corresponding access layer context of terminal based on terminal identity information immediately, and access layer context is back to
Current base station.Current base station receives the access layer context that previous serving cell returns and saves, to realize access layer context
Change.
Method provided in an embodiment of the present invention, terminal occur to trigger access layer when serving cell switching under unactivated state
Context change request, is obtained access layer context by previous serving cell by current base station and is saved, so that on access layer
It hereafter synchronizes and is stored in the serving cell of terminal access always, no matter when and where need to restore RRC connection, it can be direct
It is completed by current serving cell, is forwarded without additional signaling, reduce the Signalling exchange during RRC connection restores, greatly
Width reduces time delay, improves RRC resume speed, optimizes business recovery experience.
Based on any of the above-described embodiment, Fig. 3 is current service cell provided in an embodiment of the present invention and previous serving cell
The flow diagram of access layer context management method when belonging to a base station, as shown in figure 3, this method comprises:
Step 301, when terminal is in RRC_INACTIVE state, due to mobility, serving cell switching occurs for terminal, leads to
When crossing cell reselection and being resident onto a new cell, terminal initiates context change request.Herein, the i.e. current clothes of new cell
Business cell.
Terminal identity information, i.e. I-RNTI (Inactive-Radio Network are included at least in context change request
Tempory Identity, the radio network temporary identifier under unactivated state) information, to identify under RRC_INACTIVE state
The identity information of terminal, in base station identity information where the identification of network side progress terminal and a upper serving cell
Identification.
Step 302, after current base station receives context change request, I-RNTI information is parsed.
Step 303, current base station is according to I-RNTI information, the identity information of base station where obtaining previous serving cell, and
Relevant information is saved in current base station.
Step 304, current base station identifies that the resident current service cell of terminal and previous serving cell belong to this base station,
Context transfer request is then initiated by internal communication mechanism.
Herein, I-RNTI information is included at least in context transfer request, in order to previous serving cell identification terminal body
Part, match access layer context.
Step 305, after previous serving cell receives context transfer request, according to I-RNTI information, terminal identity is carried out
The relevant access layer context of the terminal is included in context transfer response message and is transferred to current service cell by identification.
If previous serving cell cannot identify the identity of the terminal according to I-RNTI information, confirm I-RNTI information without
Effect, process end here.
Herein, I-RNTI information, radio bearer configuration, MCG information and measurement are included in AS context transfer response message
One of configuration information is a variety of.
Step 306, in current base station, after current service cell receives context transfer response message, access is therefrom extracted
Layer context, and be that mark saves the access layer context received with I-RNTI information in this cell.
Step 307, in current base station, current service cell updates the source cell information for including in access layer context;Source
Cell information includes PhysCellId and C-RNTI.
Step 308, current base station sends context change response message to terminal by eating dishes without rice or wine, and context change, which is established, to disappear
It include source cell information in breath.
Step 309, terminal changes response message by eating dishes without rice or wine to receive context, updates source cell information, by eat dishes without rice or wine to
Current base station sends context change and completes message.
Step 310, current base station receives context change and completes message, and the source temporarily saved in current service cell is small
Area's information update is into corresponding terminal access layer context.
Step 311, current base station sends context release message to previous serving cell by current service cell, to
Discharge the access layer context of the original preservation of previous serving cell.
Context release message includes at least I-RNTI information, in order to previous serving cell identification terminal identity.
Step 312, after previous serving cell receives context release message, extraction I-RNTI information, identification terminal identity,
Discharge the access layer contextual information saved.
If previous serving cell is unable to identification terminal identity according to I-RNTI information, confirm that I-RNTI information is invalid,
Ignore context release message, process ends here.
Based on any of the above-described embodiment, Fig. 4 is current service cell provided in an embodiment of the present invention and previous serving cell
The flow diagram of access layer context management method when adhering to different base station separately, as shown in figure 4, this method comprises:
Step 401, when terminal is in RRC_INACTIVE state, due to mobility, serving cell switching occurs for terminal, leads to
When crossing cell reselection and being resident onto a new cell, terminal initiates context change request.Herein, the i.e. current clothes of new cell
Business cell.
Terminal identity information, i.e. I-RNTI (Inactive-Radio Network are included at least in context change request
Tempory Identity, the radio network temporary identifier under unactivated state) information, to identify under RRC_INACTIVE state
The identity information of terminal, in base station identity information where the identification of network side progress terminal and a upper serving cell
Identification.
Step 402, after current base station receives context change request, I-RNTI information is parsed.
Step 403, current base station is according to I-RNTI information, the identity information of base station where obtaining previous serving cell, and
Relevant information is saved in current base station.
Step 404, current base station identifies that the resident current service cell of terminal and previous serving cell belong to different bases
It stands, then context transfer request is initiated to previous base station by Xn interface.Herein, previous base station, that is, affiliated base of previous serving cell
It stands.
Including at least Global gNB ID (global gNB mark) I-RNTI letter of previous base station in context transfer request
Breath, wherein Global gNB ID is by PLMN (Public Land Mobile Network, public land mobile network)+gNB
(base station 5G) ID composition.
Step 405, after previous base station receives context transfer request, according to I-RNTI information, terminal identity identification is carried out,
The relevant access layer context of the terminal is included in context transfer response message and is transferred to current base station.
If previous base station cannot identify the identity of the terminal according to I-RNTI information, confirm that I-RNTI information is invalid,
Process ends here.
Herein, comprising previous base station Global gNB ID, I-RNTI information, wireless in AS context transfer response message
One of carrying configuration, MCG information and measurement configuration information are a variety of.
Step 406, after current base station receives context transfer response message, access layer context is therefrom extracted, and working as
Preceding serving cell is that mark saves the access layer context received with I-RNTI information.
Step 407, current base station updates I-RNTI information, and updates the source cell information for including in access layer context;
Source cell information includes PhysCellId and C-RNTI.
Step 408, current base station sends context change response message to terminal by eating dishes without rice or wine, and context change, which is established, to disappear
It include updated I-RNTI information and source cell information in breath.
Step 409, terminal receives context change response message by eating dishes without rice or wine, and updates I-RNTI information and source cell letter
Breath sends context change completion message to current base station by eating dishes without rice or wine.
Step 410, current base station receives context change and completes message, the I- that will temporarily save in current service cell
RNTI information and source cell information update are into the access layer context of corresponding terminal.
Step 411, current base station sends context release message to previous base station, to discharge previous clothes in previous base station
The access layer context of the business original preservation of cell.
Context release message includes at least Global gNB ID and the I-RNTI information of previous base station, in order to previous
Identification of base stations terminal identity.
Step 412, after previous base station receives context release message, I-RNTI information, identification terminal identity, release are extracted
The access layer contextual information of preservation.
If previous base station is unable to identification terminal identity according to I-RNTI information, confirms that I-RNTI information is invalid, ignore
Context release message, process end here.
Based on any of the above-described embodiment, Fig. 5 is the flow diagram that RRC connection provided in an embodiment of the present invention restores, such as
Shown in Fig. 5, RRC connection restores process and includes:
Step 501, it when terminal is in RRC_INACTIVE state, if necessary to restore RRC connection, is then sent out to current base station
Send RRC recovery request.Before this, it when terminal is resident by cell reselection to current service cell, is just sent to current base station
Context changes message, and triggering current base station obtains the access layer context of the terminal from previous serving cell.Thus, at this time when
The access layer context of the terminal is stored in preceding serving cell.
Step 502, current base station is after the RRC recovery request for receiving terminal transmission, based on small from previous service in advance
The access layer context that area migrates restores the RRC connection of terminal.The RRC state of terminal is converted to from RRC_INACTIVE
RRC_CONNECTED。
Step 503, terminal sends RRC to current base station and restores to complete message after restoring RRC connection.
Step 504, current base station is to AMF (Core Access and Mobility Management Function, core
Heart access and mobile management function) system transmitting path switching request.
Step 505, AMF is to current base station return path switching request acknowledgement message.
Restore process different from current RRC connection, RRC connection provided in an embodiment of the present invention restores process, is not necessarily to
Signaling forwarding is carried out in base station or between base station, is no matter when and where needed to restore RRC connection, can directly be passed through current clothes
Cell of being engaged in is completed, and is reduced the Signalling exchange during RRC connection restores, is significantly reduced time delay, improve RRC resume speed,
Optimize business recovery experience.
Based on any of the above-described embodiment, Fig. 6 is the structure of access layer context management device provided in an embodiment of the present invention
Schematic diagram, as shown in fig. 6, the device includes that change request reception unit 610, transmission request transmitting unit 620 and context are deposited
Storage unit 630;
Wherein, if change request reception unit 610 for receive any terminal occurs under unactivated state service it is small
The context change request sent after area's switching is then obtained based on the terminal identity information for including in context change request
The previous serving cell of any terminal;
Request transmitting unit 620 is transmitted to be used to send to the previous serving cell comprising the terminal identity information
Hereafter transmission request, so that the previous serving cell can return to any terminal based on the terminal identity information
Access layer context;
Context storage unit 630 is for receiving and saving the access layer context.
Device provided in an embodiment of the present invention, before passing through after serving cell switching occurs under unactivated state for terminal
One serving cell obtains access layer context and saves, so that access layer context synchronizes the service for being stored in terminal access always
It in cell, no matter when and where needs to restore RRC connection, can directly be completed by current serving cell, without additional
Signaling forwarding, reduce RRC connection recovery during Signalling exchange, significantly reduce time delay, improve RRC resume speed,
Optimize business recovery experience.
Based on any of the above-described embodiment, transmits request transmitting unit 620 and is specifically used for:
If judgement knows that the previous serving cell belongs to current base station, internal communication mechanism is based on to the previous clothes
Cell of being engaged in sends the context transfer comprising the terminal identity information and requests, so that the previous serving cell can be based on
The terminal identity information returns to the access layer context of any terminal;
It is small to the previous service by Xn interface if judgement knows that the previous serving cell is not belonging to current base station
Area's own base station sends the context transfer comprising the terminal identity information and requests, so that belonging to the previous serving cell
Base station can return to the access layer context of any terminal based on the terminal identity information.
Based on any of the above-described embodiment, which further includes releasing unit;
Releasing unit is used to send context release message to the previous serving cell, so that the previous service is small
Area can discharge the access layer context.
Based on any of the above-described embodiment, which further includes source cell updating unit and change response unit;
Source cell updating unit is for updating the source cell information for including in the access layer context;The source cell letter
Breath includes PhysCellId and C-RNTI;
Change response unit, which is used to change to the context that any terminal transmission includes the source cell information, to be rung
Answer message.
Based on any of the above-described embodiment, changes response unit and is specifically used for:
If the previous serving cell is not belonging to current base station, the terminal identity letter of any terminal is updated
Breath;
By the updated terminal identity information and the source cell information update into the access layer context;
It include the context of the updated terminal identity information and source cell information to any terminal transmission
Change response message.
Based on any of the above-described embodiment, Fig. 7 be another embodiment of the present invention provides access layer context management device
Structural schematic diagram, as shown in fig. 7, the device includes judging unit 710 and trigger unit 720;
Wherein, for judging whether under unactivated state serving cell switching occurs for judging unit 710;
If trigger unit 720 includes terminal identity information to current base station transmission for serving cell switching to occur
Context change request so that the current base station can based on the terminal identity information obtain terminal previous service
Cell sends the context transfer comprising the terminal identity information to the previous serving cell and requests, receives and saves institute
State the access layer context for the terminal that previous serving cell is returned based on the terminal identity information.
Device provided in an embodiment of the present invention occurs when serving cell switching under unactivated state above and below triggering access layer
Text change request, is obtained access layer context by previous serving cell by current base station and is saved, so that access layer context
Always it synchronizes and is stored in the serving cell of terminal access, no matter when and where need to restore RRC connection, can directly pass through
Current serving cell is completed, and is forwarded without additional signaling, is reduced the Signalling exchange during RRC connection restores, is substantially dropped
Low time delay, improves RRC resume speed, optimizes business recovery experience.
Fig. 8 is the entity structure schematic diagram of electronic equipment provided in an embodiment of the present invention, as shown in figure 8, the electronic equipment
It may include: processor (processor) 801,802, memory communication interface (Communications Interface)
(memory) 803 and communication bus 804, wherein processor 801, communication interface 802, memory 803 pass through communication bus 804
Complete mutual communication.Processor 801 can call the meter that is stored on memory 803 and can run on processor 801
Calculation machine program, to execute the access layer context management method of the various embodiments described above offer, for example, if receiving any end
The context change request for occurring to send after serving cell switching under unactivated state is held, then is asked based on context change
The terminal identity information for including in asking obtains the previous serving cell of any terminal;Packet is sent to the previous serving cell
Context transfer request containing the terminal identity information, so that the previous serving cell can be based on the terminal identity
Information returns to the access layer context of any terminal;Receive and save the access layer context.
In addition, processor 801 may call upon the calculating that is stored on memory 803 and can run on processor 801
Machine program, to execute the access layer context management method of the various embodiments described above offer, for example, under unactivated state, sentence
It is disconnected that serving cell switching whether occurs;It include terminal identity information to current base station transmission if serving cell switching occurs
Context change request so that the current base station can based on the terminal identity information obtain terminal previous service
Cell sends the context transfer comprising the terminal identity information to the previous serving cell and requests, receives and saves institute
State the access layer context for the terminal that previous serving cell is returned based on the terminal identity information.
In addition, the logical order in above-mentioned memory 803 can be realized by way of SFU software functional unit and conduct
Independent product when selling or using, can store in a computer readable storage medium.Based on this understanding, originally
The technical solution of the inventive embodiments substantially part of the part that contributes to existing technology or the technical solution in other words
It can be embodied in the form of software products, which is stored in a storage medium, including several fingers
It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes the present invention respectively
The all or part of the steps of a embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory
(ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk
Etc. the various media that can store program code.
The embodiment of the present invention also provides a kind of non-transient computer readable storage medium, is stored thereon with computer program,
The computer program is implemented to carry out the access layer context management method of the various embodiments described above offer, example when being executed by processor
If such as including: the context change request for receiving any terminal and occurring to send after serving cell switching under unactivated state,
The previous serving cell of any terminal is then obtained based on the terminal identity information for including in context change request;To
The previous serving cell sends the context transfer comprising the terminal identity information and requests, so that the previous service is small
Area can return to the access layer context of any terminal based on the terminal identity information;Receive and save the access layer
Context.
The embodiment of the present invention also provides a kind of non-transient computer readable storage medium, is stored thereon with computer program,
The computer program is implemented to carry out the access layer context management method of the various embodiments described above offer, example when being executed by processor
It such as include: under unactivated state to judge whether that serving cell switching occurs;If serving cell switching occurs, to current base station
Transmission includes the context change request of terminal identity information, so that the current base station can be based on the terminal identity
The previous serving cell of information acquisition terminal sends the context comprising the terminal identity information to the previous serving cell
Transmission request, receives and saves the access layer for the terminal that the previous serving cell is returned based on the terminal identity information
Context.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member
It is physically separated with being or may not be, component shown as a unit may or may not be physics list
Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs
In some or all of the modules achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness
Labour in the case where, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on
Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should
Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers
It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation
Method described in certain parts of example or embodiment.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used
To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;
And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and
Range.