A kind of management method and device of PDU session connections
Technical field
The present invention relates to the communications field more particularly to a kind of management methods and device of PDU session connections.
Background technology
Mobile network's such as 5G network supports are connected to LADN (local area data network, local area data
Network), in, the characteristics of LADN is that only have covering, user terminal (User Equipment, UE) only entering in subregion
It can be just linked into LADN corresponding with the specific region when specific region.According to the conclusion of current agreement, mobile network will lead to
Know the usable LADN information of user terminal and the scope of application of LADN.
Mobile network notifies the information of user terminal LADN, and the information of LADN includes the DNN of LADN (data network
Name, data network title) information and LADN service area information.The service area information of LADN is one group of TA
(Tracking area, tracking area) list.
After user terminal is successfully registered to mobile network, AMF (access control and mobility
Management Function, access control and mobile management function to ps domain) according to local information, user terminal signing information with
And policy informations etc. for providing of PCF (policy control function, policy control functions) in message is completed in registration to
User terminal provides available LADN information in registration area.
According to LADN information, user terminal initiates PDU session establishment processes when entering specific region.When user terminal position
User terminal cannot initiate the PDU session requests of this LADN when position except the Free Region of LADN.If user
Terminal is initiated, and mobile network can refuse this request message.
When mobile network detects Free Region of the user terminal out of LADN, core net can be with according to network strategy
Initiate the release process of PDU (Protocol Data Unit, protocol Data Unit) session.
According to the description in current agreement, user terminal obtains the LADN information of registration area in registration process, and notes
Volume process is completed by the AMF entities of core net.The area information that LADN is supported is phase for each user terminal
With, therefore LADN information can consider and be disposed in AMF.When user terminal successful registration, AMF sends LADN information
It is preserved to user terminal.But session establishment process is managed by SMF at present, SMF (Session Management
Function, conversation management functional) in there is no the information of LADN.
Therefore, following technical problem exists in the prior art:The process of establishing of PDU session connections is managed by SMF, still
The information for not having LADN in SMF, when service range of the user terminal out of LADN, SMF can not know that user terminal does not exist
This state of the service range of LADN simultaneously discharges PDU session connections, that is to say, that SMF can not believe according to the position of user terminal
Breath is managed PDU session connections.
Invention content
Embodiment in order to better understand the present invention first says the part term involved in the embodiment of the present invention
It is bright:
LADN (local area data network, local area data network) refers to mobile network's such as 5G nets
Cover the local network of a specific region in network, the specific region is, for example, a market, railway station Waiting Lounge or one
The band of position where enterprise;
The information of LADN includes the industry of DNN (data network name, data network title) information and LADN of LADN
Business area information;Such as many LADN, respectively there is different DNN information and service area information;The service area
One specific region of domain information i.e. LADN covering, a specific region market for example above-mentioned, railway station Waiting Lounge or
The band of position where one enterprise of person;
The service area information of LADN is one group of TA (Tracking area, tracking area) list;The TA lists can be protected
There are in AMF;
AMF (access control and mobility management Function, access control and mobility
Management function) it refers to realizing that access controls the entity with mobile management function to ps domain in mobile network;
SMF (Session Management Function, conversation management functional) refers to realizing session in mobile network
The entity of management function.
In order to solve the above technical problems existing in the prior art, the embodiment of the present invention is by providing a kind of PDU sessions
The management method and device of connection, when the AMF in the mobile network receives being arrived for asking to establish for user terminal transmission
When the request message of the PDU session connections of local area data network, the SMF in the mobile network obtains institute from the AMF
State the zone position information of local area data network;The SMF preserves the zone position information, so that the SMF energy
Enough location informations based on user terminal are managed PDU session connections.
In a first aspect, one embodiment of the invention provides a kind of management method of PDU session connections, it is applied to mobile network
Network, including:
Local area data net is arrived when the AMF in the mobile network receives being established for request for user terminal transmission
When the request message of the PDU session connections of network, the SMF in the mobile network obtains the local area data from the AMF
The zone position information of network;
The SMF preserves the zone position information.
Optionally, after the SMF preserves the zone position information, the method further includes:
When the user terminal and the internetwork PDU session connections of the local area data have been established, if the user
The current location of terminal not in the corresponding regional extent of the zone position information, the SMF discharge the PDU session connections or
Person deactivates the PDU session connections.
Optionally, it is had been established when the user terminal and the internetwork PDU session connections of the local area data, if
Not in the corresponding regional extent of the zone position information, the SMF discharges the PDU meetings for the current location of the user terminal
Before words connect or deactivate the PDU session connections, the method further includes:
When the AMF receives the notification message of the current location for the characterization user terminal that the user terminal is sent
When, the SMF obtains the notification message from the AMF;
The SMF judges that the current location of the user terminal is according to the notification message and the regional location message
The no regional extent in the zone position information.
Optionally, the SMF obtains the notification message from the AMF, including:
The notification message is directly sent to the SMF by the AMF, and the SMF obtains the notification message;
Alternatively, the AMF is sent to the SMF, institute after the notification message and other message are formed a combined message
It states SMF and obtains the notification message from the combined message.
Optionally, the notification message includes:
Base station is sent to the related to the switching of the AMF during cell where the user terminal switches
Message;Such as path switching, the message such as switching request.
Alternatively, the user after notice service when the user terminal location that the user terminal is subscribed to changes
What is generated in terminal is sent to the notification message of the AMF.
Optionally, the SMF in the mobile network obtains the region position of the local area data network from the AMF
Before confidence breath, the method includes:
When AMF receives the request for being used to ask to establish PDU session connections of user terminal transmission in the mobile network
When message, the AMF judges whether the PDU session connections are for asking according to the DNN information carried in the request message
Ask the internetwork connection of local area data;
When to be, the AMF obtains the local zone number corresponding with the DNN information according to the DNN message
According to the zone position information of network.
Optionally, the SMF preserves the zone position information, including:
The SMF preserves the zone position information in the contextual information of the PDU session connections.
Optionally, preserved in contextual informations of the SMF in the PDU session connections zone position information it
Afterwards, the method further includes:
Establish the user terminal and the internetwork PDU session connections of the local area data.
Optionally, the user terminal and the internetwork PDU sessions of the local area data are established described in configuration information
Connection, including:
The user terminal is established to connect with the user plane of the internetwork PDU sessions of the local area data.
Second aspect, one embodiment of the invention provide a kind of managing device of PDU session connections, are applied to mobile network
Network:
Described device includes the SMF in AMF and the mobile network in the mobile network:
When the AMF receives the PDU sessions for asking to establish to local area data network of user terminal transmission
When the request message of connection, the SMF obtains the zone position information of the local area data network from the AMF;
The SMF preserves the zone position information.
Optionally, after the SMF preserves the zone position information, when the user terminal and the local zone
PDU session connections between data network have been established, if the current location of the user terminal is not in the zone position information pair
The regional extent answered, the SMF discharge the PDU session connections or deactivate the PDU session connections.
Optionally, it is had been established when the user terminal and the internetwork PDU session connections of the local area data, if
Not in the corresponding regional extent of the zone position information, the SMF discharges the PDU meetings for the current location of the user terminal
Before words connect or deactivate the PDU session connections,
When the AMF receives the notification message of the current location for the characterization user terminal that the user terminal is sent
When, the SMF obtains the notification message from the AMF;
The SMF judges that the current location of the user terminal is according to the notification message and the regional location message
The no regional extent in the zone position information.
Optionally, the SMF obtains the notification message from the AMF, including:
The notification message is directly sent to the SMF by the AMF, and the SMF obtains the notification message;
Alternatively, the AMF is sent to the SMF, institute after the notification message and other message are formed a combined message
It states SMF and obtains the notification message from the combined message.
Optionally, the notification message includes:
Base station is sent to the related to the switching of the AMF during cell where the user terminal switches
Message;Such as path switching, the message such as switching request.
Alternatively, the user after notice service when the user terminal location that the user terminal is subscribed to changes
What is generated in terminal is sent to the notification message of the AMF.
Optionally, in the SMF before the zone position information that the AMF obtains the local area data network,
The method includes:
When the AMF receive user terminal transmission for ask to establish the request message of PDU session connections when, it is described
AMF judges whether the PDU session connections are for asking to local zone according to the DNN information carried in the request message
Connection between data network;
When to be, the AMF obtains the local zone number corresponding with the DNN information according to the DNN message
According to the zone position information of network.
Optionally, the SMF preserves the zone position information, including:
The SMF preserves the zone position information in the contextual information of the PDU session connections.
Optionally, preserved in contextual informations of the SMF in the PDU session connections zone position information it
Afterwards, the method further includes:
Establish the user terminal and the internetwork PDU session connections of the local area data.
Optionally, described to establish the user terminal and the internetwork PDU session connections of the local area data, packet
It includes:
The user terminal is established to connect with the user plane of the internetwork PDU sessions of the local area data.
The third aspect, one embodiment of the invention provide a kind of computer installation, and described device includes processor, the place
It is realized when reason device is for executing the computer program stored in memory as described in embodiment one the step of method.
Fourth aspect, one embodiment of the invention provide a kind of computer readable storage medium, are stored thereon with computer
Program:It is realized when the computer program is executed by processor as described in embodiment one the step of method.
The one or more technical solutions provided in the embodiment of the present invention, have at least the following technical effects or advantages:Make
SMF can the location information based on user terminal PDU session connections are managed, to reduce money when being connected to LADN
Source wastes.
Description of the drawings
Fig. 1 is the first pass figure of the management method of PDU session connections in the embodiment of the present invention;
Fig. 2 is the second flow chart of the management method of PDU session connections in the embodiment of the present invention;
Fig. 3 is the third flow chart of the management method of PDU session connections in the embodiment of the present invention;
Fig. 4 is the schematic diagram of the managing device of PDU session connections in the embodiment of the present invention.
Specific implementation mode
In order to solve the above technical problems existing in the prior art, the overall of the total technical solution of the embodiment of the present invention is thought
Road is as follows:A kind of management method and device of PDU session connections are provided, when the AMF in the mobile network receives user's end
When the request message for asking foundation to the PDU session connections of local area data network that end is sent, the mobile network
In SMF the zone position information of the local area data network is obtained from the AMF;The SMF preserves the region position
Confidence cease so that the SMF can the location information based on user terminal PDU session connections are managed.
In order to better understand the above technical scheme, in conjunction with appended figures and specific embodiments to upper
Technical solution is stated to be described in detail.
As shown in Figure 1, the embodiment of the present invention one provides a kind of management method of PDU session connections, it is applied to mobile network
Network, including:
S10, when the AMF in the mobile network receives being established to local zone number for request for user terminal transmission
According to the PDU session connections of network request message when, the SMF in the mobile network obtains the local zone from the AMF
The zone position information of data network;
S20, the SMF preserve the zone position information.
For step S10, can specifically include:
When AMF receives the request for being used to ask to establish PDU session connections of user terminal transmission in the mobile network
When message, the AMF judges whether the PDU session connections are for asking according to the DNN information carried in the request message
Ask the internetwork connection of local area data;
When to be, the AMF obtains the local zone number corresponding with the DNN information according to the DNN message
According to the zone position information of network;
SMF in the mobile network obtains the zone position information of the local area data network from the AMF.
In addition, further include in the request message have parsed by the SMF with the relevant NAS (Non- of PDU sessions
Access Stratum, Non-Access Stratum) message, the AMF can send jointly to the NAS message and the DNN information
The SMF.
For the step S20, can specifically include:
The SMF preserves the zone position information in the contextual information of the PDU session connections.
After carrying out the step S20, the method can also include:
Establish the user terminal and the internetwork PDU session connections of the local area data;For example, establishing the use
Family terminal is connect with the user plane of the internetwork PDU sessions of the local area data.
After the step S20, when the user terminal and the internetwork PDU session connections of the local area data
If it has been established that the current location of the user terminal is not in the corresponding regional extent of the zone position information, the SMF is released
It puts the PDU session connections or deactivates the PDU session connections, wherein it includes deactivating to deactivate the PDU session connections
The user plane connection of the PDU sessions living.Judge whether the current location of user terminal is corresponding in the zone position information
The specific method of regional extent includes:
When the AMF receives the notification message of the current location for the characterization user terminal that the user terminal is sent
When, the SMF obtains the notification message from the AMF;
The SMF judges that the current location of the user terminal is according to the notification message and the regional location message
The no regional extent in the zone position information.
Wherein, the SMF obtains the notification message from the AMF, including:
The notification message is directly sent to the SMF by the AMF, and the SMF obtains the notification message;
Alternatively, the AMF is sent to the SMF, institute after the notification message and other message are formed a combined message
It states SMF and obtains the notification message from the combined message;
The notification message can be:
Base station is sent to the related to the switching of the AMF during cell where the user terminal switches
Message;Such as path switching, the message such as switching request.Wherein, the cell is the cell of base station in mobile network;
Alternatively, the user after notice service when the user terminal location that the user terminal is subscribed to changes
What is generated in terminal is sent to the notification message of the AMF.
In the management method of PDU session connections, the management method of the foundation of specific PDU session connections can be found in Fig. 2.
As shown in Fig. 2, the step of management method of the foundation of PDU session connections, is, for example,:
S201, user terminal send the request message of PDU session connections, and the user terminal passes through RAN (Radio
Access Network, wireless access network) be sent to AMF include DNN information and with the relevant NAS message of PDU sessions;
S202, the AMF judge whether the PDU session connections are for asking to this area according to the DNN information
The internetwork connection of numeric field data;When to be, the AMF obtains corresponding with the DNN information described according to the DNN message
The zone position information of local area data network;
The zone position information and the NAS message are sent the SMF by S203, the AMF;
S204, the SMF obtain the PDU meetings from UDM (Unified Data Management, uniform data management)
Talk about the signing information of connection;Wherein, the UDM refers to realizing the entity of uniform data management function in mobile network;
S205, the SMF preserve the zone position information;
What S206, the SMF executed subsequent PDU session connections establishes process, the user terminal is established to described
The PDU session connections of ground area data network.
Wherein, the step S205 may include that the SMF preserves institute in the contextual information of the PDU session connections
State zone position information;
The step S206 may include:Establish the user terminal and the internetwork PDU meetings of the local area data
The user plane of words connects.
In the management method of PDU session connections, the release of specific PDU session connections or deactivated management method can
Referring to Fig. 3.
As shown in figure 3, the step of management method of the foundation of PDU session connections, is, for example,:
S301, when user terminal and the internetwork PDU session connections of local area data have been established, the SMF is preserved
When the zone position information of the local area data network, AMF is received described in the characterization that the user terminal is sent by RAN
The notification message of the current location of user terminal;
The notification message is directly sent to the SMF by S302, the AMF, and the SMF obtains the notification message;
Alternatively, the AMF, which forms the notification message and other message, is sent to the SMF after one combined message, the SMF is from institute
It states and obtains the notification message in combined message;
S303, the SMF judge the current of the user terminal according to the notification message and the regional location message
Position whether the regional extent in the zone position information;When to be no, step S304 is executed;
S304, the SMF discharge the PDU session connections or deactivate the PDU session connections.
Wherein, the notification message in the step S301 includes:Cell where the user terminal switches
Base station is being sent to the AMF with the relevant message of switching in the process;Such as path switching, the message such as switching request;
Alternatively, the user after notice service when the user terminal location that the user terminal is subscribed to changes
What is generated in terminal is sent to the notification message of the AMF.
The deactivation PDU session connections in the step S304 include deactivating the user plane company of the PDU sessions
It connects, that is, deactivates the connection with UPF (user plane Function, user plane functions) in the PDU session connections.Wherein,
UPF refers to realizing the entity of user plane functions in mobile network
As shown in figure 4, second embodiment of the present invention provides a kind of managing device of PDU session connections, it is applied to mobile network
Network, including:
Described device includes the SMF in AMF and the mobile network in the mobile network:
When the AMF receives the PDU meetings for asking to establish to local area data network of user terminal transmission
When talking about the request message of connection, the SMF obtains the zone position information of the local area data network from the AMF;
The SMF preserves the zone position information.
Specifically, when the AMF receives the request message for being used to ask to establish PDU session connections of user terminal transmission
When, the AMF judges whether the PDU session connections are for asking to arrive according to the DNN information carried in the request message
The internetwork connection of local area data;
When to be, the AMF obtains the local zone number corresponding with the DNN information according to the DNN message
According to the zone position information of network;
The SMF obtains the zone position information of the local area data network from the AMF.
In addition, further include in the request message have parsed by the SMF with the relevant NAS message of PDU sessions, it is described
The NAS message and the DNN information can be sent jointly to the SMF by AMF.
The SMF preserves the zone position information and can specifically include:
The SMF preserves the zone position information in the contextual information of the PDU session connections.
After the SMF preserves the zone position information, the SMF establishes the user terminal and described this area
The internetwork PDU session connections of numeric field data;For example, establishing the user terminal and the internetwork PDU of the local area data
The user plane of session connects.
If when the user terminal and the internetwork PDU session connections of the local area data are it has been established that the use
Not in the corresponding regional extent of the zone position information, the SMF discharges the PDU session connections for the current location of family terminal
Or the PDU session connections are deactivated, wherein it includes deactivating the use of the PDU sessions to deactivate the PDU session connections
Family face connects.Judge user terminal current location whether the corresponding regional extent of the zone position information specific method
Including:
When the AMF receives the notification message of the current location for the characterization user terminal that the user terminal is sent
When, the SMF obtains the notification message from the AMF;
The SMF judges that the current location of the user terminal is according to the notification message and the regional location message
The no regional extent in the zone position information.
Wherein, the SMF obtains the notification message from the AMF, including:
The notification message is directly sent to the SMF by the AMF, and the SMF obtains the notification message;
Alternatively, the AMF is sent to the SMF, institute after the notification message and other message are formed a combined message
It states SMF and obtains the notification message from the combined message;
The notification message can be:
Base station is sent to the related to the switching of the AMF during cell where the user terminal switches
Message;Such as path switching, the message such as switching request.Wherein, the cell is the cell of base station in mobile network;
Alternatively, the user after notice service when the user terminal location that the user terminal is subscribed to changes
What is generated in terminal is sent to the notification message of the AMF.
In the managing device of PDU session connections, it can specifically include:RAN, AMF, SMF, UDM and UPF entity, it is described
These entities in the managing device of PDU session connections specifically can be found in embodiment one management method of PDU session connections
Fig. 2 and Fig. 3.
The embodiment of the present invention three provides a kind of computer installation, and described device includes processor, and the processor is used
The step of method as described in embodiment one is realized when executing the computer program stored in memory.
The embodiment of the present invention four provides a kind of computer readable storage medium, is stored thereon with computer program:Institute
It states and is realized when computer program is executed by processor as described in embodiment one the step of method.
Technical solution in the embodiments of the present invention, at least has the following technical effect that or advantage:Enable SMF
PDU session connections are managed based on the location information of user terminal, wasting of resources when LADN is connected to reduce.
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
God 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.