CN117596584A - Communication method and communication device - Google Patents

Communication method and communication device Download PDF

Info

Publication number
CN117596584A
CN117596584A CN202310096914.1A CN202310096914A CN117596584A CN 117596584 A CN117596584 A CN 117596584A CN 202310096914 A CN202310096914 A CN 202310096914A CN 117596584 A CN117596584 A CN 117596584A
Authority
CN
China
Prior art keywords
service
information
condition
session
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310096914.1A
Other languages
Chinese (zh)
Inventor
李浩然
徐艺珊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to PCT/CN2023/091773 priority Critical patent/WO2024032041A1/en
Publication of CN117596584A publication Critical patent/CN117596584A/en
Pending legal-status Critical Current

Links

Abstract

The application provides a communication method and a communication device. The first core network device may determine whether to stop the terminal device from acquiring the first service according to whether the first parameter of the terminal device satisfies the first condition indicated by the first condition information of the first service. If the first parameter does not meet the first condition indicated by the first condition information of the first service, the first core network device sends first information, and the first information is used for stopping the terminal device from acquiring the first service.

Description

Communication method and communication device
Technical Field
The present application relates to the field of communications, and more particularly to a communication method and a communication apparatus in the field of communications.
Background
After the terminal device obtains a certain service, if the terminal device does not need the service, but the network device still provides the service for the terminal device, the resource waste is caused, so how to stop the service of the terminal device by the network device is a problem to be solved.
Disclosure of Invention
The embodiment of the application provides a communication method and a communication device, which can stop a first service of terminal equipment.
In a first aspect, a communication method is provided, where the communication method is applicable to a first core network device, and includes: acquiring first condition information of a first service, wherein the first condition information is used for indicating a first condition for acquiring the first service; acquiring a first parameter of a terminal device, wherein the first parameter corresponds to the first condition information of the first service; and when the first parameter does not meet the first condition, sending first information, wherein the first information is used for stopping the terminal equipment from acquiring the first service.
In the above solution, the first core network device may determine whether to stop the terminal device from acquiring the first service according to whether the first parameter of the terminal device meets the first condition indicated by the first condition information of the first service. If the first parameter does not meet the first condition indicated by the first condition information of the first service, the first core network device sends first information, and the first information is used for stopping the terminal device from acquiring the first service.
Optionally, the first core network device is a session management device.
Optionally, the first core network device is a mobility management device.
Optionally, the first core network device sends the first information, including: the first core network device sends first information to the terminal device. Optionally, if the first core network device is a session management device, the first core network device sends the first information, including: the first core network device sends first information to the user plane device. Optionally, if the first core network device is a mobility management device, the first core network device sends the first information, including: the first core network device sends first information to the session management device or the policy management device.
Alternatively, the first core network device may send the first information before establishing the session of the first service of the terminal device, or after establishing the session of the first service of the terminal device. Alternatively, the first core network device may send the first information before the session of the first service of the terminal device is modified, or after the session of the first service of the terminal device is modified.
Optionally, the first service is a personal internet of things (personal IoT network, PIN) related service.
In some possible implementations, the first condition information includes time information and/or location information.
That is, the first condition information includes time information, and the first parameter is a parameter related to time, so that whether the first condition corresponding to time is satisfied or not can be determined according to the parameter related to time of the terminal device, thereby managing the first service of the terminal device in the time dimension; or the first condition information may include location information, where the first parameter is a parameter related to location, so that whether the first condition corresponding to the location is satisfied or not can be determined according to the parameter related to the location of the terminal device, so that the first service of the terminal device can be managed in a location dimension; or the first condition information may include time information and location information, and the first parameter is a parameter related to time and location, so that whether the first condition corresponding to time and location is satisfied can be determined according to the parameter related to time and location of the terminal device, thereby managing the first service of the terminal device from two dimensions of time and location.
In some possible implementations, the first condition information includes the location information, which is tracking area information, coordinate information, or cell identification information.
Optionally, the location information is tracking area information, and the tracking area information is used to indicate a tracking area range that can be used by the first service, that is, the first condition includes the tracking area range that can be used by the first service.
Optionally, the location information is coordinate information, and the coordinate information is used to indicate a coordinate range that can be used by the first service, that is, the first condition includes the coordinate range that can be used by the first service.
Optionally, the location information is cell identification information, and the cell identification information is used to indicate a cell range that can be used by the first service, that is, the first condition includes a cell range that can be used by the first service.
In some possible implementations, the location information is the coordinate information, and the first condition includes a coordinate range that the first service can use;
the obtaining the first parameter of the terminal device includes:
sending a first message to a positioning management device, wherein the first message is used for acquiring coordinates of the terminal device;
Acquiring coordinates of the terminal equipment from the positioning management equipment, wherein the first parameter comprises the coordinates of the terminal equipment;
wherein when the first parameter does not meet the first condition, sending first information includes:
and when the coordinates of the terminal equipment are not in the coordinate range which can be used by the first service, sending the first information.
In the above scheme, the first core network device may send a first message to the location management device to request the coordinates of the terminal device, and the first core network device may obtain the coordinates of the terminal device from the location management device, and if the coordinates of the terminal device are not in a coordinate range that can be used by the first service, send the first information.
In some possible implementations, the location information is cell identification information, and the first condition includes a cell range that the first service can use;
the obtaining the first parameter of the terminal device includes:
sending a second message to an access network device corresponding to the terminal device, where the second message is used for requesting a cell where the terminal device is located;
acquiring a cell where the terminal equipment is located from the access network equipment, wherein the first parameter comprises the cell where the terminal equipment is located;
Wherein when the first parameter does not meet the first condition, sending first information includes:
and if the cell in which the terminal equipment is located is not in the range of the cell which can be used by the first service, sending the first information.
In the above scheme, the first core network device may send a second message to the access network device corresponding to the terminal device to request the cell where the terminal device is located, where the first core network device may obtain the cell where the terminal device is located from the access network device, and if the cell where the terminal device is located is not within the range of the cell where the first service can be used, send the first information.
In some possible implementations, the location information is tracking area information, and the first condition includes a tracking area range that the first service can use;
the obtaining the first parameter of the terminal device includes:
sending a third message to a mobile management device corresponding to the terminal device, wherein the third message is used for requesting a tracking area where the terminal device is located;
acquiring a tracking area where the terminal equipment is located from the mobile management equipment, wherein the first parameter comprises the tracking area where the terminal equipment is located;
Wherein when the first parameter does not meet the first condition, sending first information includes:
and when the tracking area where the terminal equipment is located is not in the range of the tracking area which can be used by the first service, sending the first information.
In the above scheme, the first core network device may send a second message to the access network device corresponding to the terminal device to request the cell where the terminal device is located, where the first core network device may obtain the cell where the terminal device is located from the access network device, and if the cell where the terminal device is located is not within the range of the cell where the first service can be used, send the first information.
In some possible implementations, the first condition information includes the time information, where the time information is time period information or time of use information. Optionally, the time information may also be a start time and/or an end time.
Alternatively, the first condition information includes time information, the time information being time period information indicating a time period range in which the first service can be used, that is, the first condition includes the time period range in which the first service can be used.
Optionally, the first condition information is usage time length information, and the usage time length information is used for indicating a duration in which the first service can be used, that is, the first condition includes a duration in which the first service can be used.
In some possible implementations, the time information is time period information, the first condition includes a time period range that the first service can use, and the first parameter includes a current time of the first core network device serving the first service of the terminal device;
wherein when the first parameter does not meet the first condition, sending first information includes:
and when the current time of the first service of the first core network equipment serving the terminal equipment is not in the range of the time period which can be used by the first service, sending the first information.
In the above scheme, the first core network device may acquire the current time of the first service of the first core network device serving the terminal device, and if the current time of the first service of the first core network device serving the terminal device is not within the time period in which the first service can be used, send the first information.
In some possible implementations, the time information is used time length information, and the first condition includes a time length that the first service can be used;
the obtaining the first parameter of the terminal device includes:
starting a first timer, wherein the first timer is used for acquiring the duration of using the first service by the terminal equipment, and the first parameter comprises the duration of using the first service by the terminal equipment;
Wherein when the first parameter does not meet the first condition, sending first information includes:
and when the duration of using the first service by the terminal equipment is longer than the duration of using the first service, sending the first information.
In the above scheme, the first core network device may start a first timer, where the first timer is used to obtain a duration of using the first service by the terminal device, and if the duration of using the first service by the terminal device is greater than a duration that can be used by the first service, the first timer sends the first information.
Optionally, the first condition information includes location information and time information. Alternatively, when the location information is tracking area information and the time information is time zone information, the first condition includes a tracking area range that can be used by the first service and a time zone range that can be used by the first service. The first parameter is that the first parameter includes a tracking area where the terminal device is located and a current time when the first core network device serves the first service of the terminal device. And if the tracking area where the terminal equipment is located is not in the range of the tracking area which can be used by the first service, and/or the current time of the first core network equipment for serving the first service of the terminal equipment is not in the range of the time period which can be used by the first service, the first core network equipment sends the first information.
Optionally, the first condition information includes location information and time information. Optionally, when the location information is tracking area information and the time information is used time length information, the first condition includes a tracking area range that can be used by the first service and a duration that can be used by the first service. The first parameter includes a tracking area where the terminal device is located and a duration of use of the first service by the terminal device. And if the tracking area where the terminal equipment is located is not in the range of the tracking area which can be used by the first service, and/or the duration of the first service used by the terminal equipment is longer than the duration of the first service capable time, the first core network equipment sends the first information.
Alternatively, the first condition information includes position information and time information, and when the position information is coordinate information and the time information is time zone information, the first condition includes a coordinate range that can be used by the first service and a time zone range that can be used by the first service. The first parameter includes coordinates where the terminal device is located and a current time at which the first core network device serves the first service of the terminal device. And if the coordinate of the terminal equipment is not in the coordinate range which can be used by the first service and/or the current time of the first service of the first core network equipment serving the terminal equipment is not in the time period which can be used by the first service, the first core network equipment sends the first information.
Optionally, the first condition information includes position information and time information, and when the position information is coordinate information and the time information is used time length information, the first condition includes a coordinate range in which the first service can be time and a time length in which the first service can be used. The first parameter includes coordinates where the terminal device is located and a duration of use of the first service by the terminal device. And if the coordinate of the terminal equipment is not in the coordinate range which can be used by the first service, and/or the duration of the first service used by the terminal equipment is longer than the duration of the first service capable time, the first core network equipment sends the first information.
Alternatively, the first condition information includes location information and time information, and when the location information is cell identification information and the time information is time zone information, the first condition includes a cell range in which the first service can be used and a time zone range in which the first service can be used. The first parameter includes a cell in which the terminal device is located and a current time at which the first core network device serves the first service of the terminal device. And if the cell in which the terminal equipment is located is not in the cell range in which the first service can be used, and/or the current time of the first core network equipment for serving the first service of the terminal equipment is not in the time period range in which the first service can be used, the first core network equipment sends the first information.
Optionally, the first condition information includes location information and time information, and when the location information is cell identification information and the time information is used time length information, the first condition includes a cell range in which the first service can be used and a time length in which the first service can be used. The first parameter includes a cell in which the terminal device is located and a duration in which the terminal device uses the first service. And if the cell in which the terminal equipment is located is not in the cell range which can be used by the first service and/or the duration of using the first service by the terminal equipment is longer than the duration of enabling time of the first service, the first core network equipment sends the first information.
In some possible implementations, the method further includes: obtaining a session request message, wherein the session request message comprises: at least one of a data network name, slice information, session type, or service identification of the first service;
the obtaining the first condition information of the first service includes:
and acquiring the first condition information of the first service according to the session request message.
Optionally, according to the session request message, acquiring the first condition information of the first service includes: and acquiring the first condition information of the first service according to the service identifier of the first service in the session request message.
Alternatively, if the first service is a PIN related service, the first service identifier may be an Identifier (ID) of the PIN.
Optionally, according to the session request message, acquiring the first condition information of the first service includes: first condition information of the first service is determined according to the data network name and slice information in the session request message.
Alternatively, the session request message may be a session establishment request message or a session modification request message.
Optionally, the slice information is used to indicate S-nsai of the first service.
Optionally, the data network name is the data network name of the first service.
Optionally, the slice information is slice information of the first service.
In some possible implementations, the session request message further includes the first condition information of the first service.
In this way, the first core network device can obtain the first condition information of the first service in the session request message.
In some possible implementations, if the session request message includes a service identifier of the first service;
wherein, the obtaining, according to the session request message, the first condition information of the first service includes:
And acquiring first condition information of the first service according to the service identifier of the first service in the session request message.
Optionally, the communication method further comprises: and determining the service identification of the first service according to the data network name and the slice information in the session request message. And determining first condition information of the first service according to the determined service identifier of the first service.
In some possible implementations, the method further includes: sending a fourth message to unified data management equipment, wherein the fourth message is used for subscribing the condition information of the service to the unified data management equipment;
receiving condition information of each service in at least one service from the unified data management device, wherein each service corresponds to one condition information;
wherein the obtaining the first condition information of the first service according to the service identifier of the first service in the session request message includes:
and determining the condition information of the first service in the condition information of each service in the at least one service according to the service identification of the first service in the session request message.
In the above scheme, the first core network device may subscribe the unified data management device to the condition information of the service, the unified data management device may send the condition information of each service in the at least one service to the first core network device, and the first core network device may determine the first condition information of the first service in the condition information of each service in the at least one service according to the service identifier of the first service.
In some possible implementations, the first core network device is a mobility management device, and the method further includes:
receiving a fifth message from the terminal device, the fifth message being used for registering a core network providing the first service, the fifth message including a service identifier of the first service;
transmitting a sixth message to a unified data management device, wherein the sixth message is used for requesting first condition information of the first service identified by the service identification of the first service;
acquiring first condition information of the first service identified by the service identification from unified data management equipment;
wherein the obtaining the first condition information of the first service according to the service identifier of the first service in the session request message includes:
and determining the first condition information of the first service corresponding to the service identifier of the first service in the session request message.
In the above-mentioned scheme, when the first core network device receives the fifth message for registration sent by the terminal device, the first core network device may send, to the unified data management device, first condition information requesting the first service identified by the first service identification according to the service identification of the first service in the fifth message, so that, after the first core network device obtains the condition information of each service in the at least one service, after receiving the session request message sent by the terminal device, the first condition information of the first service is determined in the condition information of each service in the at least one service according to the service identification of the first service in the session request message.
In some possible implementations, the first core network device is a mobility management device;
wherein the sending the first information includes:
and sending the first information to the session management device or the policy management device, wherein the first information is specifically used for indicating that the first service of the terminal device does not meet the first condition.
In the above scheme, if the mobility management device determines that the first parameter does not meet the first condition, the mobility management device may send first information to the session management device, where the first information indicates that the first service of the terminal device does not meet the first condition, so that the session management device may determine to stop the first service of the terminal device according to the first information, and send a first instruction to the user plane device, and instruct the user plane device to stop sending the first service to the terminal device. If the mobile management device determines that the first parameter does not meet the first condition, the mobile management device may send first information to the policy management device, where the first information indicates that the first service of the terminal device does not meet the first condition, so that the policy management device may generate a session policy according to the first information and send the session policy to the session management device, and the session management device may send a first instruction to the user plane device according to the session policy, and instruct the user plane device to stop sending the first service to the terminal device.
In some possible implementations, the method further includes: and sending a service identifier of the first service to the session management device or the policy management device, wherein the first information is specifically used for indicating that the first service identified by the service identifier does not meet the first condition.
Alternatively, the mobile management device may send the first information and the service identifier of the first service to the session management device at the same time or send the first information and the service identifier of the first service separately.
Alternatively, the mobile management device may send the first information and the service identification of the first service to the policy management device at the same time or send the first information and the service identification of the first service separately.
In some possible implementations, the method further includes: and receiving a seventh message sent by the policy management device, where the seventh message is used to subscribe whether the first service identified by the service identifier meets the first condition, and the first core network device is used to send the first information to the policy management device.
In the above solution, after the policy management device subscribes to whether the first service identified by the service identifier satisfies the first condition, the mobile management device may send first information to the policy management device.
In some possible implementations, the first core network device is a session management device; the method further comprises the steps of:
wherein sending the first information includes:
and sending the first information to user plane equipment, wherein the first information is specifically used for indicating the user plane equipment to stop sending the first service to the terminal equipment.
In the above scheme, the session management device may send first information to the user plane device, where the first information indicates that the user plane device stops sending the first service to the terminal device.
In some possible implementations, the method further includes:
and sending the service identifier of the first service to the user plane equipment, wherein the first information is specifically used for indicating the user plane equipment to stop sending the first service identified by the service identifier to the terminal equipment.
In the above scheme, the session management device may send the service identifier of the first service and the first information to the user plane device, where the first information indicates that the user plane device stops sending the first service identified by the service identifier to the terminal device, so as to avoid that the user plane device cannot determine which service to stop sending to the terminal device.
In some possible implementations, the session request message further includes a service identification of a second service, the session request message being used to establish a session of the first service and the second service.
In the above scheme, the terminal device may carry service identifiers of two services in one session request message, so that the first core network device may establish the same session for two services according to the session request message, thereby avoiding the need to establish different sessions for different services, and thus helping to save signaling overhead.
Optionally, the session request message may further include service identifiers of other services, so that the session establishment request message is used to establish a session corresponding to the plurality of services.
Optionally, the data network names in the session request message are the data network names of the first service and the second service.
Optionally, the slice information in the session request message is slice information of the first service and the second service.
In some possible implementations, the method further includes:
transmitting second information to user plane equipment, wherein the second information is used for indicating the user plane equipment to stop transmitting the second service identified by the service identification of the second service to the terminal equipment;
If the service corresponding to the session is the first service and the second service, the method further includes:
and sending third information to the user plane equipment, wherein the third information is used for releasing the session.
In the above solution, if the first service does not meet the first condition, the first information needs to be sent, and the second service also does not meet the second condition, and the second information needs to be sent, then the session management device may send third information to the user plane device, where the third information is used to release the session, that is, when the service corresponding to the session does not meet the condition, the session may be released, and if a certain service meets the condition, the session will not be released, but the service that does not meet the condition will be ended.
In some possible implementations, the first core network device is a session management device, and the acquiring the first condition information of the first service includes: first condition information for the first service is received from a mobile management device.
In the above-described aspect, the session management apparatus may acquire the first condition information of the first service from the mobile management apparatus. For example, the mobility management device may receive a session request message from the terminal device, the session request message including first condition information of the first service, and the mobility management device may transmit the session request message to the mobility management device, the mobility management device acquiring the first condition information of the first service in the session request message. Or the mobile management device obtains the condition information of each service in the at least one service from the unified data management device, the mobile management device determines the service identifier of the first service according to the session request message, determines the first condition information of the first service in the condition information of each service in the at least one service according to the service identifier of the first service, and sends the first condition information of the first service to the session management device, for example, the first condition information of the first service is carried in the session request message.
In a second aspect, a communication method is provided, which is suitable for a session management device, and includes:
receiving first information from a mobile management device, the first information being used to indicate that a first service of a terminal device does not meet a first condition; and sending a first instruction to user plane equipment according to the first information, wherein the first instruction is used for indicating the user plane function equipment to stop sending the first service to the terminal equipment.
In the above scheme, the session management device may send a first instruction to the user plane device according to the first information, and the user plane device may stop sending the first service to the terminal device according to the first instruction, thereby providing a method for stopping the service of the terminal device.
In some possible implementations, the communication method further includes: and receiving a service identification of the first service from the mobile management device, wherein the first information is specifically used for indicating that the first service identified by the service identification does not meet the first condition.
In the above solution, the session management device may receive the first information and the service identifier of the first service from the mobile management device, where the first information may indicate that the first service identified by the service identifier does not meet the first condition, so that the user plane device may determine to stop sending the first service identified by the service identifier to the terminal device.
In some possible implementations, the communication method further includes:
receiving second information from the mobile management device, the second information being used to indicate that a second service of the terminal device does not meet a second condition;
sending a second instruction to the user plane equipment according to the second information, wherein the second instruction is used for indicating the user plane equipment to stop sending the second service to the terminal equipment;
if the service corresponding to the session is the first service and the second service, the communication method further includes:
and sending third information to the user plane equipment, wherein the third information is used for releasing the session.
In the above scheme, the session management device receives both the first information and the second information, which indicates that the first service of the terminal device does not meet the first condition, and the second service of the terminal device does not meet the second condition, the session management device may send third information to the user plane device, where the third information is used to release the session, that is, when the service corresponding to the session does not meet the condition, the session may be released, and if a certain service meets the condition, the session may not be released, but the service that does not meet the condition may be ended.
In some possible implementations, the first service is a PIN-related service.
In a third aspect, a communication method is provided, the communication method being applicable to a terminal device, and comprising:
acquiring a service identifier of a first service, a data network name of the first service, slice information of the first service and a session type;
transmitting a session request message to a mobile management device, the session request message comprising: the service identification of the first service, the data network name, the slice information and the session type, and the session request message is used for generating a session.
In some possible implementations, the acquiring the service identifier of the first service, the data network name of the first service, and the slice information of the first service includes:
sending a first subscription request to an application device, wherein the first subscription request is used for subscribing to the first service;
a first subscription response of the first subscription request of the application device is received, the first subscription response including the service identification, the data network name, and the slice information.
In some possible implementations, the first subscription response further includes first condition information of the first service, the first condition information indicating a first condition for acquiring the first service.
In some possible implementations, the acquiring the service identifier of the first service, the data network name of the first service, and the slice information of the first service includes:
sending a first subscription request to an application device, wherein the first subscription request is used for subscribing to the first service, the application device is used for sending subscription information of the first service to a unified data management device through a capability opening device, and the subscription information comprises the service identifier, the data network name and the slicing information;
and receiving the subscription information sent by the unified data management device.
In some possible implementations, the subscription information further includes: and the first condition information is used for indicating a first condition for acquiring the first service.
In some possible implementations, the acquiring the service identifier of the first service, the data network name of the first service, and the slice information of the first service includes:
sending a first subscription request to an application device, wherein the first subscription request is used for subscribing to the first service, the application device is used for sending subscription information of the first service to a unified data management device through a capability opening device, the unified data management device is used for sending the subscription information to a policy control device, and the subscription information comprises the service identifier, the data network name and the slicing information;
And receiving rule information sent by the policy control equipment through mobile management equipment, wherein the rule information comprises the subscription information.
In some possible implementations, the subscription information further includes: and the first condition information is used for indicating a first condition for acquiring the first service.
In some possible implementations, the acquiring the service identifier of the first service, the data network name of the first service, and the slice information of the first service includes:
sending a fifth message to an access network device corresponding to the terminal device, where the fifth message is used to register a core network that provides the first service;
and receiving a response message of the fifth message sent by the mobile management device from the access network device, wherein the response message of the fifth message comprises the service identification, the data network name and the slice information.
In some possible implementations, the response message of the fifth message further includes: the first condition information is used for indicating a first condition for acquiring the first service.
In some possible implementations, the session request message further includes: the first condition information of the first service.
In some possible implementations, the first service is a PIN-related service.
In a fourth aspect, a communication method is provided, the communication method being applicable to a mobile management device, the communication method further comprising:
acquiring condition information of each service in at least one service, wherein the condition information of each service is used for indicating the condition for acquiring each service;
acquiring a service identifier of a first service;
determining first condition information of the first service in the condition information of each service in the at least one service according to the service identification of the first service;
and sending the first condition information to session management equipment.
In some possible implementations, the acquiring the condition information of each service in the at least one service includes:
sending a fourth message to unified data management equipment, wherein the fourth message is used for subscribing the condition information of the service to the unified data management equipment;
condition information for each of the at least one service is received from the unified data management device.
In some possible implementations, the acquiring the condition information of each service in the at least one service includes:
Receiving a fifth message from the terminal device, the fifth message being used for registering a core network providing the first service, the fifth message including a service identifier of the first service;
the first condition information of the first service identified by the service identification is obtained from a unified data management device.
In some possible implementations, the first service is a PIN-related service.
In particular, the fifth aspect is described with reference to the first aspect, and is not described in detail to avoid redundancy.
In a fifth aspect, a communication method is provided, which is applicable to a policy control device, and includes:
receiving first information from a mobile management device, wherein the first information is used for indicating that a first service of a terminal device does not meet the first condition;
and sending a session policy to session management equipment according to the first information, wherein the session policy is used for determining that the session management equipment stops sending the first service to the terminal equipment.
In some possible implementations, the first service is a PIN-related service.
In some possible implementations, the communication method further includes:
and receiving a service identification of the first service from the mobile management device, wherein the first information is specifically used for indicating that the first service identified by the service identification does not meet the first condition.
In some possible implementations, the communication method further includes:
transmitting a seventh message to the mobility management device, the seventh message being used to subscribe to whether the first service satisfies the first condition;
wherein the receiving the first information from the mobile management device comprises:
the first information is received from the mobility management device according to the seventh message.
In some possible implementations, before the sending the seventh message to the mobility management device, the method further includes:
a service identification of the first service is received from the session management device.
In some possible implementations, the first service is a PIN-related service.
In particular, the fifth aspect is described with reference to the first aspect, and is not described in detail to avoid redundancy.
In a sixth aspect, the present application provides a communications apparatus having a function to implement the above aspects and possible implementations of the above aspects. The functions may be realized by hardware, or may be realized by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the functions described above. For example, a determination module or unit, a transceiver module or unit, etc.
In a seventh aspect, the present application provides an electronic device, the device comprising a processor, the processor being coupled to a memory, the memory being for storing a computer program or instructions, the processor being for executing the computer program or instructions stored in the memory, such that the above aspects and methods in possible implementations of the above aspects are performed.
For example, a processor is configured to execute a computer program or instructions stored in a memory to cause the apparatus to perform the aspects and possible implementations of the aspects.
Optionally, the apparatus includes one or more processors.
Optionally, a memory coupled to the processor may be included in the apparatus.
Alternatively, the apparatus may comprise one or more memories.
Alternatively, the memory may be integrated with the processor or provided separately.
Optionally, a transceiver may be included in the apparatus.
In an eighth aspect, the present application provides an electronic device, including: one or more processors; a memory; and one or more computer programs. Wherein one or more computer programs are stored in the memory, the one or more computer programs comprising instructions. The instructions, when executed by an electronic device, cause one or more processors to perform the method of the above aspects or any of the possible implementations of the aspects, or the method described in any of the embodiments of the present application.
Optionally, the electronic device may further include: a touch display screen and/or a camera, wherein the touch display screen comprises a touch sensitive surface and a display.
In a ninth aspect, the present application provides a computer readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the above aspects or any of the possible methods of the aspects, or the methods described in any of the embodiments of the present application.
In a tenth aspect, the present application provides a computer program product for, when run on an electronic device, causing the electronic device to perform any one of the possible methods of the above aspects or aspects, or the methods described in any of the embodiments of the present application.
In an eleventh aspect, the present application provides an apparatus comprising means for performing the method described in any of the embodiments of the present application.
Drawings
Fig. 1 is a schematic diagram of a communication system provided in an embodiment of the present application.
Fig. 2 is a schematic diagram of another communication system provided in an embodiment of the present application.
Fig. 3 is a schematic diagram of a communication method provided in an embodiment of the present application.
Fig. 4 is a schematic diagram of another communication method provided in an embodiment of the present application.
Fig. 5 is a schematic diagram of yet another communication method provided in an embodiment of the present application.
Fig. 6 is a schematic diagram of yet another communication method provided in an embodiment of the present application.
Fig. 7 is a schematic diagram of yet another communication method provided in an embodiment of the present application.
Fig. 8 is a schematic diagram of yet another communication method provided in an embodiment of the present application.
Fig. 9 is a schematic diagram of yet another communication method provided in an embodiment of the present application.
Fig. 10 is a schematic diagram of yet another communication method provided in an embodiment of the present application.
Fig. 11 is a schematic block diagram of a communication device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
The technical solution of the embodiment of the application can be applied to various communication systems, for example: global system for mobile communications (global system for mobile communications, GSM), code division multiple access (code division multiple access, CDMA) system, wideband code division multiple access (wideband code division multiple access, WCDMA) system, general packet radio service (general packet radio service, GPRS), long term evolution (long term evolution, LTE) system, LTE frequency division duplex (frequency division duplex, FDD) system, LTE time division duplex (time division duplex, TDD), universal mobile telecommunications system (universal mobile telecommunication system, UMTS), worldwide interoperability for microwave access (worldwide interoperability for microwave access, wiMAX) communication system, future fifth generation (5th generation,5G) system, or New Radio (NR), etc.
Fig. 1 and 2 show two system architecture diagrams applied to embodiments of the present application. As shown in fig. 1 and 2, the system includes: at least one of a radio access network (radio access network, RAN) 102, a user plane function network element (user plane function, UPF) 103, a Data Network (DN) 104, a core network access and mobility management function (core access and mobility management function, AMF) 105, a session management function network element (session management function, SMF) 106, a policy control function (policy control function, PCF) 107, a unified data management (unified data management, UDM) 108, a Location Management Function (LMF) 109 or an authentication service function (authentication server function, AUSF) 110.
The RAN 102 may be a device that communicates with the UE 101 in fig. 1, or a device that communicates with the PEGC or PEMC in fig. 2, where the RAN 102 may also be referred to as an access network device or a radio access network device, it may be a transmission receiving point (transmission reception point, TRP), it may also be an evolved NodeB (eNB or eNodeB) in an LTE system, it may also be a home base station (e.g., home evolved NodeB, or home Node B, HNB), a Base Band Unit (BBU), a radio controller in a cloud radio access network (cloud radio access network, CRAN) scenario, or the RAN 102 may be a relay station, an access point, a vehicle device, a wearable device, a network device in a 5G network, or a network device in a PLMN network that evolves in the future, or the like, it may also be an Access Point (AP) in a WLAN, it may also be a gNB in an NR system, and the RAN 102 may also be a city base station, a micro base station, a pico base station, a femto base station, or the like.
The UPF 103 is mainly used for service processing of a user plane, such as service routing, forwarding, charging, mapping and execution of service quality (quality of service, qoS), identification of an uplink and routing to a data network, notification triggering of downlink packet buffering and downlink data arrival, connection with an external data network, and the like. The UPF 103 may also be referred to as a user plane network element or user plane device in 5G, and the future communication may be a name, which is not limited in this application.
DN 104 provides data transmission services for UE 101 and may be a public data network (public data network, PDN) network, such as the internet (internet), or the like, i.e., data for services requested by UE 101 originates from DN 104.
The AMF 105 is mainly used for mobility management and access management, and may be used for implementing functions other than session management in the functions of the mobility management entity (mobility management entity, MME), for example, functions of lawful interception, or access authorization (or authentication), registration of the UE 101, mobility management, tracking area update procedure, reachability detection, selection of a session management network element, mobility state transition management, and the like. The AMF 105 may also be referred to as an access and mobility management function, an access and mobility management device, an access and mobility management network element, an access management device, a mobility management device, etc., and the AMF 105 may also have other names in future communication systems, where the names of the network elements having the mobility function for managing the UE 101 in the embodiment of the present application are not limited.
The SMF 106 is responsible for the selection or reselection of the UPF, and also for the management of session related services, such as IP address allocation for session establishment, session release, etc., and for the establishment, modification and release of the session, and control of quality of service (quality of service, qoS). The SMF 106 may also be called a session management function, a session management device, a session management function network element, a session management network element, etc., and in future communication systems, the SMF 106 may also have other names, and the names of the network elements having the session management function in the embodiment of the present application are not limited.
PCF 107 for implementing policy control functions, charging policy control functions, quality of service (quality of service, qoS) control, etc. During QoS control by PCF 107, PCF 107 may generate QoS rules. PCF 107 may also be referred to as a policy control function, a policy control device, a policy control function network element, a policy control network element, etc., where PCF 107 may also have other names in future communication systems, and the names of the network elements with the policy control function in the embodiment of the present application are not limited.
UDM 108 is responsible for managing subscription information for UE 101. The UDM 108 may also be referred to as a data management function, a data management device, a data management function network element, a data management network element, a unified data management function, a unified data management device, a unified data management function network element, a unified data management network element, etc., where in future communication systems, the UDM 108 may also have other names, and the names of the network elements with data management functions in the embodiments of the present application are not limited.
LMF 109 for locating 101 a UE.
AUSF 110 for authenticating the UE.
Fig. 1 may also include a User Equipment (UE) 101, the UE 101 also referred to as a terminal device, mobile Station (MS), mobile Terminal (MT), access terminal, subscriber unit, subscriber station, mobile station, remote terminal, mobile device, user terminal, wireless communication device, user agent, user equipment, or the like.
The UE 101 may be a device that provides voice/data connectivity to a user, e.g., a handheld device with wireless connectivity, an in-vehicle device, etc. Currently, examples of some terminal devices include: a mobile phone, tablet, laptop, palmtop, mobile internet device (mobile internet device, MID), wearable device, virtual Reality (VR) device, augmented reality (augmented reality, AR) device, wireless terminal in industrial control (industrial control), wireless terminal in unmanned (self driving), wireless terminal in teleoperation (remote medical surgery), wireless terminal in smart grid (smart grid), wireless terminal in transportation security (transportation safety), wireless terminal in smart city (smart city), wireless terminal in smart home (smart home), cellular phone, cordless phone, session initiation protocol (session initiation protocol, SIP) phone, wireless local loop (wireless local loop, WLL) station, personal digital assistant (personal digital assistant, PDA), handheld device with wireless communication function, public computing device or other processing device connected to wireless modem, vehicle-mounted device, wearable device, terminal device in 5G network or evolving land mobile terminal (public land mobile network) may not be defined for such devices in the network or the UE 101.
Unlike fig. 1, fig. 2 may further include personal internet of things elements (personal IoT network elements, PIN), management functions of PIN elements (PIN elements with management capability, PEMC) and gateway functions of PIN elements (PIN elements with gateway capability, PEGC), PIN, PEGC and PEMC in fig. 2 constitute personal internet of things (personal IoT network, PIN), PIN being an abbreviation of personal internet of things (personal IoT network, PIN), ioT being an abbreviation of internet of things (internet of things).
The PEMC in fig. 2 is responsible for managing the joining, removal and resource allocation of PINs, and the PEMC may allocate numbers to PINs and/or PEGCs, the allocated PINs numbers being used to identify PINs within PINs, and the PEGCs numbers being used to identify PEGCs within PINs. For example, the PEMC in fig. 2 may be the UE 101 in fig. 1.
The PEGC in fig. 2 has a gateway function, which is a transit node of the PIN and the network, and is responsible for delivering a message from the network (e.g. a core network device) to the PEMC or the PIN on the one hand, for example, receiving a message from a network element through the RAN 102, for example, the PEGC may send a session establishment request message through the RAN, where the session establishment request message includes a PIN ID; on the other hand, messages of PINE or PEMC may be delivered to the network (e.g., core network device). For example, a message of PINE or PEMC may be delivered to the network through the RAN. For example, the UE 101 in FIG. 1 may be the PEGC in FIG. 2.
The pins of fig. 2 may communicate with each other, or may also communicate with PEGC, or may also communicate with PEMC. The communication of the PINE with other devices may be a device-to-device (D2D) communication, such as a PC5 connection communication, a bluetooth communication, or a wireless fidelity (wireless fidelity, wiFi) communication, but may also be a 3 GPP-based communication. The PINE may be the UE 101 in fig. 1 as well, and the UE 101 may be a 3GPP terminal device or a non-3 GPP terminal device. The PINE network element may be an end device having a 5G core (5G core,5 GC) access capability, or may be an end device not having a 5GC access capability, hereinafter simply referred to as an end device. The end device may be affiliated with a third party service provider, such as a smart wearable device, a smart home device, etc.
In fig. 2, the interface between the PEGC and the AMF 105 is an N1 interface, the interface between the PEMC and the AMF 105 is also an N1 interface, the interface between the PEMC and the RAN 102 is a Uu interface, and the interface between the PEGC and the RAN 102 is a Uu interface.
In an embodiment of the present application, fig. 2 may provide PIN related services. Alternatively, the PIN related service may be a service obtained from the application server by establishing a protocol data unit (protocol data unit, PDU) session through the user plane device after PEGC access to 5GC and using the established PDU session. After the PEGC obtains the data of the service, the service data may be assigned to at least one of PINE, PEGC, or PEMC as shown in fig. 2. The user plane device may be the UPF 103 shown in fig. 2.
In a specific implementation, the PIN may include a smart phone and a smart wearable device, where the smart phone may be PEGC and PEMC, the smart wearable device may be a PIN, a PDU session may be established between the smart phone and the application server through UPF, the smart phone may send health monitoring information of the smart wearable device to the application server through the established PDU session, and the application server may send an analysis result corresponding to the health monitoring information to the smart phone through the established PDU session, where providing the corresponding analysis result according to the health monitoring information may be regarded as a PIN-related service. For another example, the PIN may include a smart phone and a smart home device, where the smart phone is configured as PEGC and PEMC, the smart home device may be configured as PIN, a PDU session may be established between the smart phone and the application server through UPF, the smart home device may be instructed to be turned on by the established PDU session when a first condition is met or turned off by the smart home device when a second condition is met, where the service providing the switch may be considered as a PIN-related service.
The PEMC in fig. 2 may have a PIN function as a PIN, as well as a PIN management function. Similarly, PEGC may have a PIN function as a PIN, in addition to a PIN gateway function.
In some embodiments, PEMC and PEGC are 5GC access capable user devices that can access 5GC through 3GPP access technology or non-3GPP access technology. A connection is established between the PEGC and the PEMC based on the PC5 interface. PEMC is a management node in a PIN network, has 5GC access capability, and can access 5GC independently. PEGC is a gateway node in a PIN network, which also has 5GC access capability, so 5GC can also be accessed and registered independently.
It should be noted that the names of the network elements (such as RAN 102, UPF 103, DN 104, AMF105, SMF 106, PCF 107, UDM 108, LMF 109, and AUSF 110) included in fig. 1 and fig. 2 are only one name, and the names do not limit the functions of the network elements themselves. In 5G networks and other networks in the future, the above-mentioned network elements may also be named, which is not specifically limited in the embodiments of the present application. For example, in a 6G network, some or all of the above network elements may use the terminology in 5G, and other names may also be used, which is generally described herein and not described in detail herein.
It should be noted that the network elements in fig. 1 and fig. 2 do not have to exist at the same time, and it may be determined which network elements are needed according to the requirement. The connection relationship between the network elements in fig. 1 is not uniquely determined, and may be adjusted according to requirements.
It should also be noted that in fig. 1, other network elements besides UE 101 may be referred to as network devices. In other words, the network device may include one or more of the network elements of FIG. 1 other than the UE 101. In fig. 2, other network elements than PEGC, PEMC and PIN are referred to as network devices, in other words, the network devices may include one or more network elements other than devices in PIN in fig. 2, the network devices may include an access network device and a core network device, RAN 102 in fig. 1 and 2 may be referred to as an access network device, and network elements other than RAN 102, ue 101 and DN 105 in fig. 1 and 2 are referred to as core network devices.
The numbering of network elements is omitted in the following embodiments for convenience of description, e.g. "UE" means "UE 101" and "AMF" means "AMF105".
After the terminal device obtains a certain service, if the terminal device does not need the service, but the core network device still provides the service for the terminal device, the resource waste is caused, so how to stop the service of the terminal device by the network device is a problem to be solved.
For example, the terminal device may be the UE 101 of FIG. 1 or the PEGC of FIG. 2.
In the embodiment of the present application, the first core network device may determine whether to stop the terminal device from acquiring the first service according to whether the first parameter of the terminal device meets the first condition indicated by the first condition information of the first service. If the first parameter does not meet the first condition indicated by the first condition information of the first service, the first core network device sends first information, and the first information is used for stopping the terminal device from acquiring the first service.
The terminology used in the embodiments of the present application is described below.
Independent networking non-public network (SNPN)
The SNPN is independent of the public land mobile network (public land mobile network, PLMN), and the operator can operate the SNPN, that is, the core network device of the SNPN is PLMN independent, and the core network device of the SNPN is operated independently by the operator. When the terminal device needs to access the SNPN, the terminal device may enter an SNPN access mode (access mode).
Non-public network of non-independent networking (public network integrated-non-public network, PNI-NPN)
PNI-NPN relies on the operator of the PLMN, PNI-NPN being similar to the PLMN, unlike the PLMN in that PNI-NPN is a special slice provided by the PLMN to provide NPN services and/or PNI-NPN is a special data network provided by the PLMN to provide NPN services. That is, not all terminal devices can acquire the NPN service, and if PNI-NPN is a special slice provided by the PLMN to provide the NPN service, only the terminal device authenticated by the slice can acquire the NPN service; if PNI-NPN is that the special data network provided by PLMN provides NPN service, then the terminal device passing authentication can acquire the NPN service in the process of establishing session to the special data network. That is, the PNI-NPN is to perform a service format on the public network service and the private network service by slicing, thereby providing the NPN service for the private network service. The NPN service may include an NPN service or a localization service, for example, the NPN service is a first service or the localization service is a first service.
The above-mentioned SNPN or PNI-NPN may be referred to as a non-public network (NPN), and the nesting network may include an NPN network. The network as opposed to the NPN network may be referred to as a public network, e.g. the public network is a PLMN network.
Localized service (localized service)
The services that the terminal device may acquire at a particular geographic location and/or at a particular time are referred to as localized services. The terminal device may obtain the localized service through NPN or PLMN. That is, the NPN or PLMN may be covered in a specific geographic location and/or for a specific time, and after a time exceeding a specific geographic location or characteristic, the NPN or PLMN is not present, and thus the terminal device is not able to acquire the localization service. The localization service may be provided by NPN or PLMN operator networks or by operators of third parties. Alternatively, the first service may be a localization service. Alternatively, the first service may be a PIN-related service. Alternatively, the localization service may be a PIN related service, for example, a service acquired by the terminal device through the PLMN may be a PIN related service.
The following describes a communication method 200 provided in an embodiment of the present application with reference to fig. 3, and as shown in fig. 3, the method 200 includes:
S210, the first core network device acquires first condition information of a first service, wherein the first condition information is used for indicating a first condition for acquiring the first service.
Optionally, the first condition information of the first service includes at least one of: time information, location information, element number information, or activation information.
The contents included in the first condition information are discussed below in five cases.
In case one, the first condition information includes location information. Optionally, the location information is tracking area information, and the tracking area information is used to indicate a tracking area range that can be used by the first service, that is, the first condition includes the tracking area range that can be used by the first service; optionally, the location information is coordinate information, and the coordinate information is used to indicate a coordinate range that can be used by the first service, that is, the first condition includes the coordinate range that can be used by the first service. Optionally, the location information is cell identification information, and the cell identification information is used to indicate a cell range that can be used by the first service, that is, the first condition includes a cell range that can be used by the first service.
In case two, the first condition information includes time information. Alternatively, the time information is time period information for indicating a range of time periods in which the first service can be used, that is, the first condition includes a range of time periods in which the first service can be used, for example, the time periods are represented by a start time and an end time. Optionally, the time information is usage time length information, and the usage time length information is used for indicating a duration in which the first service can be used, that is, the first condition includes the duration in which the first service can be used.
In case three, the first condition information includes position information and time information. Alternatively, when the location information is tracking area information and the time information is time zone information, the first condition includes a tracking area range that can be used by the first service and a time zone range that can be used by the first service. Optionally, when the location information is tracking area information and the time information is used time length information, the first condition includes a tracking area range that can be used by the first service and a duration that can be used by the first service. Alternatively, when the position information is coordinate information and the time information is time period information, the first condition includes a coordinate range that can be used by the first service and a time period range that can be used by the first service. Alternatively, when the position information is coordinate information and the time information is usage time length information, the first condition includes a coordinate range in which the first service can be time and a length of time in which the first service can be used. Alternatively, when the location information is cell identification information and the time information is time zone information, the first condition includes a cell range that can be used by the first service and a time zone range that can be used by the first service. Alternatively, when the location information is cell identification information and the time information is used time length information, the first condition includes a cell range in which the first service can be used and a time length in which the first service can be used.
In case four, the first condition information includes activation information. The activation information indicates that the state of the first service is active, that is, the terminal device can acquire the first service in the active state, that is, the first condition is that the first service is active. Alternatively, in the scenario shown in fig. 2, the first service may be a PIN-related service, and the activation information may indicate that the state of the PIN-related service is active.
In case five, the first condition information includes element number information. The element number information is used to indicate a number range of elements that the first service can support, e.g., the number of maximum elements and/or the number of minimum elements may indicate the number range. Alternatively, in the scenario shown in fig. 2, the first service may be a PIN-related service, and the element number information may be element number information of PINs, for example, the element number information of PINs may be a range of numbers of PINs that can be supported by the first service, for example, a maximum number of PINs and/or a minimum number of PINs that can be supported by the first service.
The first core network device is different, and in S210, the first core network device obtains the first condition information of the first service in different manners, which are discussed in two cases below.
In case one, the first core network device may be a session management device.
Optionally, in case one, S210 includes: the first core network device receives first condition information of a first service from the mobility management device.
Optionally, in case one, S210 includes: the first core network device sends a fourth message to the unified data management device, wherein the fourth message is used for subscribing condition information to the unified data management device; the first core network device receives the condition information of each service in at least one service from the unified data management device, wherein each service corresponds to one condition information; the first core network device determines first condition information of the first service among condition information of each of the at least one service. Optionally, the unified data management device may be a unified data management function, or may be a unified data management network element, or may be a unified data management function network element, or UDM, etc., which is not limited in any way in the embodiments of the present application.
Optionally, the first core network device determines condition information of the first service from condition information of each service in the at least one service, including: the first core network device determines first condition information of the first service from the condition information of each service according to the service identification of the first service.
Alternatively, the first core network device may receive a service identification of the first service from the mobility management device. For example, the first core network device receives a session request message from the mobility management device, and obtains a service identifier of the first service in the session request message. Wherein the session request message is used to generate a session for the first service, and the session request message is used as a session establishment request message or a session modification request message.
Optionally, the first core network device may determine the service identifier of the first service according to the data network name of the first service and/or slice information of the first service in the session request message. That is, if the data network name of the first service and the slice information of the first service in the session request message can uniquely correspond to the first service, the session request message may not include the service identifier of the first service, and may include the data network name of the first service and the slice information of the first service, so that the first core network device may determine the service identifier of the first service according to the data network name of the first service and the slice information of the first service, and then determine the first condition information of the first service from the service identifier of the first service in the condition information of each service.
Optionally, in case one, S210 includes: the first core network device receives the session request message from the mobile management device, and obtains the first condition information of the first service in the session request message, that is, the mobile management device may include the first condition information of the first service in the session request message received from the terminal device, and the mobile management device may send the session request message to the first core network device, and the first core network device may obtain the first condition information of the first service from the session request message.
In case two, the first core network device may be a mobility management device.
Alternatively, in case two, S210 includes: the first core network device sends a fourth message to the unified data management device, wherein the fourth message is used for subscribing condition information to the unified data management device; the first core network device receives the condition information of each service in at least one service from the unified data management device, wherein each service corresponds to one condition information; the first core network device determines first condition information of the first service among condition information of each of the at least one service.
Optionally, the first core network device determines condition information of the first service from condition information of each service in the at least one service, including: the first core network device determines first condition information of the first service from the condition information of each service according to the service identification of the first service.
Alternatively, the first core network device may receive a service identification of the first service from the terminal device. For example, the first core network device receives a session request message from the terminal device, and obtains a service identifier of the first service in the session request message. Wherein the session request message is used to generate a session for the first service, and the session request message is used as a session establishment request message or a session modification request message.
Optionally, the method 200 further comprises: the first core network device may receive a fifth message from the terminal device, the fifth message being used for registering the core network providing the first service, the fifth message including a service identifier of the first service, and send a sixth message to the unified data management device, the sixth message being used for requesting first condition information of the first service identified by the service identifier of the first service, for example, the sixth message being a condition request message, the sixth message including the service identifier of the first service. That is, when the first core network device may receive a message for registration sent by a plurality of terminal devices, the condition information of the service identified by the service identification may be requested from the unified data management device according to the service identification of the service in the registration message, so that the first core network device may request the condition information of the plurality of services. In case two, S210 includes: when the first core network device receives a session request message of one terminal device (which is a terminal device in the method 200), the first condition information of the first service may be determined from the condition information of the plurality of services according to the service identifier of the first service in the session request.
Optionally, the unified data management device in the embodiment of the present application may be a unified data management function, or may be a unified data management network element, or may be a unified data management function network element, or a UDM, etc., and the embodiment of the present application does not limit the unified data management device in any way.
Alternatively, the mobility management device in the embodiment of the present application may be an access and mobility management device, or may be an access and mobility management network element, or may be an access mobility management device, or may be an AMF, or the like.
Alternatively, the session management device in the embodiment of the present application may be a session management network element, or may be a session management function device, or may be a session management function network element, or may be an SMF.
S220, the first core network device acquires a first parameter of the terminal device, and the first parameter corresponds to first condition information of the first service.
Optionally, the first parameter corresponds to first condition information of the first service, which can be understood as: the first parameter is a parameter of the terminal device under the first condition information, the first condition information is different, that is, the first parameter is different: after the first core network device obtains the first condition information of the first service, the first core network device needs to obtain the parameters of the terminal device under the first condition information.
The acquisition of the first parameter of the first core network device to acquire the first parameter of the terminal device is discussed below in five cases.
In the first case, corresponding to the first case of the first condition information in S210, in the case where the first condition information includes the position information, the first parameter includes a parameter related to the position.
Optionally, the first condition information includes location information, the location information is tracking area information, and the first parameter includes a tracking area where the terminal device is located. In S220, the first core network device obtains a first parameter of the terminal device, including: the first core network device acquires a tracking area where the terminal device is located.
If the first core network device is a session management device, the first core network device obtains a tracking area where the terminal device is located, including: the first core network device sends a third message to the mobile management device corresponding to the terminal device, wherein the third message is used for requesting the tracking area where the terminal device is located, and the tracking area where the terminal device is located is obtained from the mobile management device. That is, the third message may also be referred to as a message for subscribing to the tracking area where the terminal device is located, so that the mobility management device corresponding to the terminal device may send the tracking area where the terminal device is located to the session management device according to the subscription of the first core network device.
If the first core network device is a mobility management device corresponding to the terminal device, the mobility management device may determine, according to the tracking areas where each terminal device is located in the self-stored tracking areas where the terminal device is located in the method 200. For example, the mobility management device may store tracking areas of a plurality of terminal devices managed by the mobility management device, and the mobility management device may determine the tracking area where the terminal device is located according to the identifier of the terminal device in the method 200.
Optionally, the first condition information includes location information, the location information is coordinate information, and the first parameter includes coordinates where the terminal device is located. In S220, the first core network device obtains a first parameter of the terminal device, including: the first core network device acquires coordinates of the terminal device.
Optionally, the first core network device obtains coordinates of the terminal device, including: the first core network device sends a first message to the positioning function device corresponding to the terminal device, the first message is used for requesting the coordinates of the terminal device, and the coordinates of the terminal device are obtained from the positioning management device, that is, after the positioning management device receives the first message, the terminal device is positioned, and the coordinates of the terminal device are determined. That is, the first message may also be referred to as a message subscribing to the coordinates of the terminal device, so that the positioning management device may send the coordinates of the terminal device to the first core network device according to the subscription of the first core network device. Alternatively, the first core network device may be a session management device or a mobility management device.
In the embodiment of the application, the location management device may be a location management network element or a location management function device or a location management function network element or a location management function (location management function, LMF).
Optionally, the first condition information includes location information, the location information is cell identification information, and the first parameter includes a cell in which the terminal device is located. In S220, the first core network device obtains a first parameter of the terminal device, including: the first core network equipment acquires a cell where the terminal equipment is located.
Optionally, the first core network device acquires a cell in which the terminal device is located, including: the first core network device sends a second message to the access network device corresponding to the terminal device, wherein the second message is used for requesting the cell where the terminal device is located, and the cell where the terminal device is located in the access network device is obtained. That is, the second message may also be referred to as a message subscribing to the cell in which the terminal device is located, so that the access network device may send the cell in which the terminal device is located to the first core network device according to the subscription of the first core network device. If the first core network device is a mobile management device, the first core network device sends a second message to an access network device corresponding to the terminal device, including: the first core network equipment directly sends a second message to the access network equipment corresponding to the terminal equipment; if the first core network device is a session management device, the first core network device sends a second message to an access network device corresponding to the terminal device, including: and the first core network equipment sends a second message to the access network equipment corresponding to the terminal equipment through the mobile management equipment.
Alternatively, the access network device corresponding to the terminal device may be understood as the access network device currently serving the terminal device, or may be understood as the access network device to which the terminal device is currently connected.
In the second case, corresponding to the second case of the first condition information in S210, in the case where the first condition information includes time information, the first parameter includes a time-related parameter.
Optionally, the first condition information includes time information, the time information is time period information, and the first parameter includes a current time of the first service of the first core network device serving the terminal device. In S220, the first core network device obtains a first parameter of the terminal device, including: the first core network device obtains the current time of the first service of the first core network device serving the terminal device. For example, the current time is 2:00.
Optionally, the first condition information includes time information, the time information is time length of use information, and the first parameter includes a time length of use of the first service by the terminal device. In S220, the first core network device obtains a first parameter of the terminal device, including: the first core network device obtains a duration of using the first service by the terminal device. For example, the duration is 30 minutes.
Optionally, the first core network device determines a duration of the terminal device for acquiring the first service, including: the first core network device starts a first timer, and the first timer is used for acquiring the duration of using the first service by the terminal device. Alternatively, the first timer may be a timer corresponding to the first service. That is, different services may correspond to different timers.
Alternatively, in the second case, the first core network device may be a mobility management device, or the first core network device may be a session management device.
In case three, corresponding to case three of the first condition information of S210, in the case where the first condition information includes time information and position information, the first parameter includes a parameter related to time and position. Optionally, in the case that the first condition information includes tracking area information and time period information, the first parameter includes a tracking area where the terminal device is located and a current time at which the first core network device serves the first service of the terminal device. Optionally, in the case that the first condition information includes tracking area information and duration information, the first parameter includes a tracking area where the terminal device is located and a duration of the first service used by the terminal device. Optionally, in the case that the first condition information includes coordinate information and time period information, the first parameter includes a coordinate where the terminal device is located and a current time when the first core network device serves the first service of the terminal device. Optionally, in the case that the first condition information includes coordinate information and duration information, the first parameter includes coordinates where the terminal device is located and a duration for which the terminal device uses the first service. Optionally, in the case that the first condition information includes cell information and time period information, the first parameter includes a cell in which the terminal device is located and a current time at which the first core network device serves the first service of the terminal device. Optionally, in the case that the first condition information includes cell information and duration information, the first parameter includes a cell in which the terminal device is located and a duration in which the terminal device uses the first service.
In the third case, the first core network device acquires the location information in the first case, and the first core network device acquires the time information in the second case.
In the fourth case, corresponding to the fourth case of the first condition information in S210, where the first core network device obtains the first parameter of the terminal device in S220, where the first condition information includes activation information, including: the first core network device acquires the service identifier of the first service, and the first core network device determines whether the first service is activated according to the service identifier of the first service, and at this time, the first parameter of the terminal device indicates whether the first service is activated. Optionally, the first core network device may interact with the UDM, obtain from the UDM whether the first service is activated, e.g. the first core network device may send a service identification of the first service to the UDM, the UDM may save the respective service and a correspondence of whether the respective service is activated, the UDM returns a first parameter to the first core network device, the first parameter indicating whether the first service is activated, e.g. the first parameter indicating that the first service is activated, or that the first service is not activated.
In case five, corresponding to case five of the first condition information of S210, in case the first condition information includes element number information, the first parameter includes the number of elements currently supported by the first service. Alternatively, the terminal device may send the number of elements currently supported by the first service to the first core network device, e.g. the terminal device may carry the number of elements currently supported by the first service in the session establishment request message. For example, in fig. 2, the first service is a PIN related service, the terminal device is a PEGC, and the number of PINs connected by the PEGC is the number of elements of PINs that the first service supports in the meantime.
And S230, when the first parameter does not meet the first condition, the first core network equipment sends first information, and the first information is used for stopping the terminal equipment from acquiring the first service.
Alternatively, S230 is discussed below in five cases.
In case one, corresponding to case one of S210, the first condition information includes position information.
Optionally, the first condition includes a tracking area range usable by the first service, and the first parameter includes a tracking area in which the terminal device is located. Wherein S230 includes: and if the tracking area where the terminal equipment is located is not in the range of the tracking area which can be used by the first service, the first core network equipment sends first information. If the tracking area where the terminal equipment is located is within the range of the tracking area which can be used by the first service, the first core network equipment does not send the first information.
Optionally, the first condition includes a coordinate range that can be used by the first service, and the first parameter includes a coordinate where the terminal device is located. Wherein S230 includes: and if the coordinate of the terminal equipment is not in the coordinate range which can be used by the first service, the first core network equipment sends first information. If the coordinate of the terminal equipment is in the coordinate range capable of the first service, the first core network equipment does not send the first information.
Optionally, the first condition includes a range of cells that the first service can use, and the first parameter includes a cell in which the terminal device is located. Wherein S230 includes: if the cell in which the terminal device is located is not in the cell range which can be used by the first service, the first core network device sends first information. If the cell in which the terminal device is located is within the cell range that can be used by the first service, the first core network device does not send the first information.
In the second case, corresponding to the second case of S220, the first condition information includes time information.
Optionally, the first condition includes a range of time periods in which the first service is available, and the first parameter includes a current time at which the first core network device serves the first service of the terminal device. Wherein S230 includes: and if the current time of the first service of the first core network equipment serving the terminal equipment is in the range of the time period which can be used by the first service, the first core network equipment sends first information. If the current time of the first service of the first core network device serving the terminal device is not in the range of the time period that the first service can be used, the first core network device does not send the first information. For example, the time period range that the first service can use is 3:00-5:00, and if the current time of the first service that the first core network device serves the terminal device is 2:00, the first core network device sends first information; if the current time for the first core network device to serve the first service is 4:00, the first core network device does not send the first information.
Optionally, if the first condition information of the first service corresponding to the plurality of terminal devices is time period information, the first condition includes a time period range in which the first service can be used, and if the current time acquired by the first core network device is not after the time period range, the first core network device may send the first information, where the first information is used to stop the first service of the plurality of terminal devices.
Optionally, the first condition includes a duration that the first service can be used, and the first parameter includes a duration that the terminal device uses the first service. Wherein S230 includes: and if the duration of using the first service by the terminal equipment is longer than the duration that the first service can be used, the first core network equipment sends first information. If the duration of the first service used by the first core network device is less than or equal to the duration that the first service can be used, continuing to acquire the duration of monitoring the first timer to determine the first service used by the terminal device. For example, if the duration of the first service that can be used by the first service is 2 hours, and if the duration of the first service that can be used by the terminal device is 30 minutes, the first core network device sends first information; if the duration of the first service used by the terminal equipment is 3 hours, the first core network equipment does not send the first information.
In case three, corresponding to case three of S220, the first condition information includes position information and time information.
Optionally, the first condition includes a tracking area range that the first service can use and a time period range that the first service can use. The first parameter includes a tracking area where the terminal device is located and a current time at which the first core network device serves the first service of the terminal device. Wherein S230 includes: and if the tracking area where the terminal equipment is located is not in the range of the tracking area which can be used by the first service, and/or the current time of the first core network equipment for serving the first service of the terminal equipment is not in the range of the time period which can be used by the first service, the first core network equipment sends the first information.
Optionally, the first condition includes a tracking area range that the first service can use and a duration that the first service can be for. The first parameter includes a tracking area where the terminal device is located and a duration of use of the first service by the terminal device. Wherein S230 includes: and if the tracking area where the terminal equipment is located is not in the range of the tracking area which can be used by the first service, and/or the duration of the first service used by the terminal equipment is longer than the duration of the first service capable time, the first core network equipment sends the first information.
Optionally, the first condition includes a coordinate range that the first service can use and a time period range that the first service can time. The first parameter includes coordinates where the terminal device is located and a current time at which the first core network device serves the first service of the terminal device. Wherein S230 includes: and if the coordinate of the terminal equipment is not in the coordinate range which can be used by the first service and/or the current time of the first service of the first core network equipment serving the terminal equipment is not in the time period which can be used by the first service, the first core network equipment sends the first information.
Optionally, the first condition includes a coordinate range of time that the first service is capable of using and a duration that the first service is capable of using. The first parameter includes coordinates where the terminal device is located and a duration of use of the first service by the terminal device. Wherein S230 includes: and if the coordinate of the terminal equipment is not in the coordinate range which can be used by the first service, and/or the duration of the first service used by the terminal equipment is longer than the duration of the first service capable time, the first core network equipment sends the first information.
Optionally, the first condition includes a cell range that the first service can use and a time period range that the first service can use. The first parameter includes a cell in which the terminal device is located and a current time at which the first core network device serves the first service of the terminal device. Wherein S230 includes: and if the cell in which the terminal equipment is located is not in the cell range in which the first service can be used, and/or the current time of the first core network equipment for serving the first service of the terminal equipment is not in the time period range in which the first service can be used, the first core network equipment sends the first information.
Optionally, the first condition includes a cell range that the first service can use and a duration that the first service can use. The first parameter includes a cell in which the terminal device is located and a duration in which the terminal device uses the first service. Wherein S230 includes: and if the cell in which the terminal equipment is located is not in the cell range which can be used by the first service and/or the duration of using the first service by the terminal equipment is longer than the duration of enabling time of the first service, the first core network equipment sends the first information.
In case four, corresponding to case four of S220, the first condition information includes activation information indicating that the state of the first service is an activated state, S230 including: if the first parameter indicates that the first service is not activated, the first core network device sends first information.
Fifth, corresponding to fifth of S220, the first condition information includes element number information, the first parameter is the number of elements currently supported by the first service, S230 includes: and if the number of the elements currently supported by the first service is not in the number range indicated by the element number information, the first core network device sends first information.
In different scenarios, the receiving ends of the first information are different, and the first core network device sends the first information in three cases discussed below.
In a first case, the first core network device sends first information, including: the first core network device sends first information to the terminal device.
Optionally, the first core network device is a mobility management device, and the first core network device sends first information to the terminal device, including: the mobile management device sends first information to the terminal device.
Optionally, the first core network device is a session management device, and the first core network device sends first information to the terminal device, including: the session management device sends the first information to the terminal device through the mobile management device.
Optionally, before the core network device sends the first information, the method further includes: the first core network device receives a session request message sent by the terminal device, and if the first parameter does not meet the first condition, the first core network device sends first information to the terminal device. Optionally, the first core network device sends a session reject message to the terminal device, where the session reject message includes first information, that is, if the first core network device determines that the first parameter does not meet the first condition in the process of establishing the session or modifying the session, the first core network device may reject the session established or modifying the session of the terminal device, which is also equivalent to that the first core network device refuses to provide the first service for the terminal device. Optionally, if the first core network device determines that the first parameter meets the first condition, the first core network device establishes a session for the first service of the terminal device or modifies the session, and so on.
That is, in the first case where the first parameter of the terminal device does not satisfy the first condition in the session establishment or modification for the first service of the terminal device, the first core network device may refuse to establish the session or modify the session for the terminal device, and therefore, the first core network device needs to send a session rejection message to the terminal device, which indicates that the session establishment for the first service of the terminal device is refused.
In the second case, the first core network device is a mobility management device. Optionally, the first core network device sends the first information, including: the first core network device sends first information to the session management device, where the first information is specifically used to indicate that the first service of the terminal device does not meet the first condition. In this way, the session management apparatus can determine to stop transmitting the first service to the terminal apparatus based on the first information, and the session management apparatus transmits to the terminal apparatus a command to instruct the user management apparatus to stop transmitting the first service to the terminal apparatus. Optionally, the first core network device sends the first information, including: the first core network device sends first information to the policy management device, where the first information is specifically used to indicate that the first service of the terminal device does not meet the first condition, so that the policy management device may send a session policy to the session management device according to the first information, where the session policy is used by the session management device to determine to stop sending the first service to the terminal device.
In a third aspect, the first core network device is a session management device, where the first core network device sends first information, including: the first core network device sends first information to the user plane device, where the first information is specifically used to instruct the user plane device to stop sending the first service to the terminal device. In this way, the user plane device can stop sending the first service to the terminal device according to the first information.
Optionally, the session management device may further send a service identifier of the first service to the user plane device, where the first information is specifically used to instruct the user plane device to stop sending the first service identified by the service identifier of the first service to the terminal device, in other words, the session management device may further send the service identifier of the first service when sending the first information to the user plane device, so that the user plane device may know which service is stopped, and avoid that the user plane device does not know which service is stopped to send. That is, the first information corresponds to a service identifier of the first service, so that the user plane device can determine the first service identified by the service identifier for stopping the first service according to the first information.
Alternatively, the session management device may send the first information and the service identifier of the first service in one message, or may send the first information and the service identifier of the first service in a different message, which is not limited in the embodiment of the present application.
Optionally, if the foregoing session request message further includes a service identifier of the second service, the session management device may establish a session between the first service and the second service according to the session request message, that is, the service corresponding to the session is the first service and the second service, when the session management device determines that the first parameter of the terminal device does not meet the first condition, the second parameter does not meet the second condition of the second service, the second parameter is a parameter corresponding to second condition information of the second service, and the second condition information indicates that the second condition of the second service is acquired, if the session management device may send the second information to the user plane device, the second information is used to instruct the user plane device to stop sending the second service to the terminal device, where the method further includes: the session management device sends third information to the user plane device, where the third information is used to release the session, in other words, if the session management device determines to stop multiple services of one session, the session management device may send information for stopping the service, or may send information for releasing the session, so that the user plane device may stop sending multiple services to the terminal device, or may release the session.
In addition, if the first parameter meets the first condition and the second parameter does not meet the second condition, the session management device sends second information to the user plane device, and does not send the first information and the third information; if the first parameter does not meet the first condition and the second parameter meets the second condition, the session management device sends the first information to the user plane device and does not send the second information and the third information.
Optionally, the service identifier may be further included in the session request message may be one, two, or more than two, so that the service corresponding to the established session may be one service, for example, the first service, or may be two services, for example, the first service and the second service, or may be more than two services.
Optionally, in the method 200, the first core network device and the device in communication with the first core network device may be a device in an NPN network, for example, may be a device in an SNPN network, or may be a device corresponding to a slice in a PNI-NPN network. Optionally, in the method 200, the first core network device and the device that communicates with the first core network device may be a device in an NPN network, for example, a device in a PLMN network, and may also be a device in fig. 1 or fig. 2, for example, that is, the embodiments of the present application may be applicable to a private network or a public network.
In the above method 200, the first core network device may determine whether to stop the terminal device from acquiring the first service according to whether the first parameter of the terminal device meets the first condition indicated by the first condition information of the first service. If the first parameter does not meet the first condition indicated by the first condition information of the first service, the first core network device sends first information, and the first information is used for stopping the terminal device from acquiring the first service. Thereby providing a method of stopping service.
In some embodiments, the service of the terminal device is not stopped if the terminal device is within a defined area providing the service, and the service of the terminal device is stopped if the terminal device is not within the area providing the service. For example, if the terminal device is within the area identified by the tracking area identifier (tracking area identity, TAI), the service of the terminal device is not stopped, and if the terminal device is not within the area identified by the TAI, the service of the terminal device is stopped. However, if the area in which the terminal device uses the service is identified by the TAI, the service of the terminal device cannot be finely managed, and there is a possibility that a loss may occur. For example, a user a of a concert sponsor subscribes to an operator a for a high-definition video playback function that can be obtained at a concert site through a cell phone. That is, only the mobile phone user at the concert site can obtain the high-definition video playback function of the concert site, but the area identified by the TAI may include one or more cells, so that the area identified by the TAI is relatively large, and the mobile phone user except for the concert site in the area identified by the TAI cannot be limited to obtain the high-definition video playback function of the concert site, thereby damaging the benefit of the operator a. Or the operator a may only allow the mobile phone user to obtain the high-definition video playback function of the concert site in a limited time, so that the mobile phone user cannot be limited to obtain the high-definition video playback function of the concert site in time, which may damage the benefit of the operator a. For example, the high-definition video playback function of the concert scene is obtained through a mobile phone and is the first service in the embodiment of the application, so that when the first condition information comprises position information, and the position information is coordinate information or cell information, the service range of the first service can be determined according to a more accurate position, thereby avoiding damaging the benefit of the operator A; when the first condition information includes time information, the time information is time period information or use time length information, a service range of the first service can be determined according to more accurate time, so that benefits of the operator A are prevented from being damaged; when the first condition information is time information and location information, the service range of the first service can be determined according to the dimensions of both time and location, so that the benefit of the operator A is prevented from being damaged.
Alternatively, the session management device may be referred to as a session management function, a session management function device, a session management function network element, a session management network element, or an SMF, or the like.
Alternatively, the mobility management device may be referred to as an access and mobility management function, an access and mobility management device, an access and mobility management network element, an access management device, an AMF, or the like.
Alternatively, the policy management device may be referred to as a policy control function, a policy control function device, a policy control function network element, a policy control network element, or PCF, etc.
Alternatively, the location management device may be referred to as a location management function, a location management function network element, a location management function device, or an LMF.
Alternatively, the unified data management device may be referred to as a data management function, a data management device, a data management function network element, a data management network element, a unified data management function device, a unified data management function network element, a unified data management network element, or a UDM, etc.
To better illustrate the method 200, the first core network device may be the AMF in fig. 4, and the terminal device may be the UE, which is described below in conjunction with the method 300 shown in fig. 4. The method 300 comprises the following steps:
S301, the UE acquires at least one of a service identifier (service ID) of the first service, a data network name (data network name, DNN) of the first service, slice information of the first service, or first condition information of the first service.
Optionally, the slice information of the first service is used to indicate single network slice selection assistance information (single network slice selection assistance information, S-NSSAI) of the first service.
Alternatively, the service identification of the first service may be a PIN ID.
Alternatively, the UE may acquire at least one of the service identification of the first service, the DNN of the first service, the slice information of the first service, or the first condition information of the first service in S301 from the public network. For example, as shown in fig. 5, three ways in which the UE may acquire at least one of a service identification (service ID) of the first service, DNN of the first service, slice information or session type of the first service, or first condition information of the first service from the public network are shown.
In a first manner, as shown in fig. 5, the UE may send a first subscription request to the AF, where the first subscription request is used to subscribe to a first service, the AF determines subscription information of the first service according to the first subscription request, and the AF sends a first subscription response of the first subscription request to the UE, where the first subscription response includes at least one of a service identifier (service ID) of the first service, DNN of the first service, slice information of the first service, or first condition information of the first service.
Optionally, the UE sends a first subscription request to the AF through an Application (APP), the APP may provide multiple subscription requirements, and after the user selects a subscription requirement on the APP of the UE, the first subscription request may include the selected subscription requirement, and the AF sends a first subscription response to the UE through the APP. Or the UE sends the first subscription request to the AF through the webpage, and the AF sends the first subscription response to the UE through the webpage.
Wherein the AF (application function, AF) is an application function device of the operator.
In a second mode, as shown in fig. 5, the UE may send a first subscription request to the AF, where the first subscription request is used to subscribe to the first service, the AF determines subscription information of the first service according to the first subscription request, the AF sends the subscription information of the first service to the UDM through the NEF, and the UDM sends the subscription information of the first service to the UE. The subscription information includes at least one of a service identification (service ID) of the first service, DNN of the first service, slice information of the first service, or first condition information of the first service.
Optionally, the UE sends a first subscription request to the AF through the APP or the web page, where the first subscription request includes that the APP or the web page may provide multiple subscription requirements, and after the user selects a subscription requirement on the APP or the web page of the UE, the first subscription request may include the selected subscription requirement, and after the AF receives the first subscription request, the AF sends subscription data of the UE to the UDM through the NEF, where the subscription data includes subscription information. The UDM sends subscription information to the AMF, which sends subscription information to the UE. Optionally, the AMF sending the subscription information to the UE includes: the AMF transmits subscription information to the UE through a non-access stratum (NAS) message. Optionally, if the UE receives the subscription information, the UE sends a NAS message to the AMF, where the NAS message indicates that the UE successfully receives the subscription information. Optionally, the AMF may send a response message to the UDM, where the response message indicates that the subscription information is successfully sent to the UE if the AMF successfully sends the subscription information, and where the response message indicates that the subscription information is failed to be sent to the UE if the AMF fails to send the subscription information. Optionally, if the AMF receives the NAS message of the UE, the NAS message indicates that the UE successfully receives the subscription information, and the AMF sends a response message to the UDM, where the response message indicates that the subscription information is successfully sent to the UE.
In a third mode, as shown in fig. 5, the UE may send a first subscription request to the AF, where the first subscription request is used to subscribe to the first service, the AF determines subscription information of the first service according to the first subscription request, the AF sends the subscription information of the first service to the UDM through the NEF, the UDM sends the subscription information of the first service to the PCF, and the PCF sends the subscription information to the UE. The subscription information includes at least one of a service identification (service ID) of the first service, DNN of the first service, slice information of the first service, or first condition information of the first service.
Optionally, the UE sends a first subscription request to the AF through the APP or the web page, where the APP or the web page may provide multiple subscription requirements, and after the user selects a subscription requirement on the APP or the web page of the UE, the first subscription request may include the selected subscription requirement, and after the AF receives the first subscription request, the AF sends subscription data of the UE to the UDM through the NEF, where the subscription data includes subscription information. The UDM sends subscription information to the PCF, which generates routing policy (UE route selection policy, urs) rules for the UE according to the requirements of the localization service, and the PCF sends urs rules to the AMF, which sends urs rules to the UE via NAS messages, including subscription information. Alternatively, the AMF may send a response message to the PCF, where the response message indicates that the urs rule is successfully sent to the UE if the AMF successfully sends the urs rule, and where the response message indicates that the urs rule is failed to send to the UE if the AMF fails to send the urs rule. Optionally, if the AMF receives the NAS message of the UE, the NAS message indicates that the UE successfully receives the urs rule, and the AMF sends a response message to the PCF, where the response message indicates that the urs rule is successfully sent to the UE.
It should be noted that, in the above three ways in which the UE obtains the subscription information of the first service, at least one of the service identifier (service ID) of the first service, the DNN of the first service, the slice information of the first service, or the first condition information of the first service is described, in some embodiments, the UE may not obtain the first condition information of the first service. In some embodiments, the UE may not acquire slice information of the first service.
It should be noted that, the network element in fig. 5 and the network element in fig. 4 belong to different network elements, for example, RAN, AMF, UDM, PCF, NEF is a network element of a public network, for example, a public network is home networking, and RAN, LMF, AMF, SMF, UPF is a network element of a private network in fig. 4. The AF for transmitting subscription information to the UDM in fig. 5 is the same AF as the AF for providing UE subscription data to the UDM in fig. 4, and the UE in fig. 5 is the same UE as the UE in fig. 4. That is, the UE may acquire subscription information of the first service in the public network and request the first service from the private network. And the related information of the first service provided for the public network and the private network is the same AF, for example, the related information of the first service is the first condition information of the first service, so that the information of the first service acquired by the UE and the information of the first service acquired by the network element of the private network can be ensured to be consistent.
Alternatively, the UE may acquire at least one of the service identification of the first service, the DNN of the first service, the slice information of the first service, or the first condition information of the first service in S301 from the private network. The network element of the private network is the network element shown in fig. 4.
Optionally, S301 includes: the UE transmits a fifth message, which may also be referred to as a registration message, to the RAN in fig. 4, for registering with the core network providing the first service. The UE receives a response message of a fifth message sent by the AMF from the RAN, the response message of the fifth message including at least one of a service identification of the first service, a DNN of the first service, slice information of the first service, or first condition information of the first service. The RAN in fig. 4 may be a RAN accessed by the UE. Alternatively, the fifth message may include a service identity of the first service, and the UE subscribes to the first service from the AF before the UE sends the fifth message to the RAN, so the UE maintains the service identity of the first service.
Optionally, after the RAN receives the fifth message, the RAN selects an AMF and sends the fifth message to the AMF, the AMF selects an authentication service function (authentication server function, AUSF) and performs a procedure such as authentication, the UE, the AMF, the AUSF and the UDM interactively complete the authentication procedure, and after the authentication is completed, the AMF obtains subscription data of the UE related to the first service from the UDM, for example, the subscription data of the UE related to the first service includes at least one of a service identifier of the first service, a DNN of the first service, slice information of the first service or first condition information of the first service. The AMF sends a NAS message to the UE through the RAN, wherein the NAS message comprises at least one of a service identifier of the first service, DNN of the first service, slice information of the first service or first condition information of the first service. The NAS message may be a response message of the fifth message, which is also called a registration accept message, indicating that the AMF accepts registration of the UE.
S302, the AMF acquires condition information of each service in at least one service.
The following describes two ways in which the AMF obtains the condition information of each of the at least one service.
In one approach, the AMF may subscribe to the UDM for condition information for each of the at least one service, for example by sending a fourth message subscription. When the AF provides condition information of at least one service to the UDM, the UDM may transmit the condition information of the at least one service to the AMF.
Alternatively, the AMF may send a message for subscribing to the localization service to the UDM, where the message includes a TAI corresponding to the AMF, and the UDM sends condition information of each service in at least one service included in the TAI to the AMF. That is, if the AMF manages one or more TAIs, the UDM may send the condition information of each of at least one of the one or more TAIs managed by the AMF to the AMF, that is, it is implied that the condition information of each service includes location information at this time, so that the UDM may send the condition information of the services in the TAIs. Alternatively, if the TAI corresponding to the AMF is not included in the message, the condition information of each service in the at least one service sent by the UDM to the AMF may include time information, that is, if the AMF does not provide the TAI, the UDM may provide the condition information of each service with respect to time to the AMF.
Alternatively, when the third party service provider provides the first service through the private network, the condition information of each of the at least one service may be updated to the UDM of the private network, so that the UDM of the private network may store the condition information of each of the at least one service, and when the AMF subscribes the condition information of each of the at least one service to the UDM, the UDM may send the condition information of each of the at least one service to the AMF. The private network may be the SNPN or PNI-NPN described previously.
Optionally, if the condition information of some services changes, or when some services are newly added, the AF may update the condition information of the changed services with the UDM, for example, the UE subscribes to the first service with the AF, the UDM stores the first condition information of the first service, if the UE subscribes to the second service with the AF, the AF stores the second condition information of the second service in the UDM, and after the UDM receives the second condition information of the newly added second service, the UDM sends the second condition information of the second service to the AMF.
In a second mode, the AMF receives a fifth message sent by the UE, where the fifth message includes a service identifier of the first service. The AMF subscribes to the first condition information of the first service from the UDM according to the service identification of the first service, and the UDM returns the first condition information of the first service to the AMF.
Alternatively, the first service may be a PIN related service. Alternatively, the service identification of the first service may be a PINID. The UDM may store service identification and activation information of each service, and after the UDM acquires the PIN ID of the first service in the fifth message, determine activation information corresponding to the first service according to the PIN ID, and send the activation information to the AMF, so that the AMF may obtain the activation information, where the first condition information may include the activation information.
Optionally, if the AMF receives a registration message of another UE managed by the AMF, and is used for registering a core network providing another service, the AMF may subscribe to condition information of the other service from the UDM, and if the UE subscribes to a second service to the AF, the AMF may include a service identifier of the second service in the fifth message, and the AF stores the second condition information of the second service in the UDM, and the UDM sends the second condition information of the second service to the AMF.
That is, the two ways of acquiring the condition information of each service in the at least one service by the AMF are different in that in the first way, the AMF actively subscribes to the UDM, and the UDM may return to the AMF the condition information of each service stored in the at least one service by the UDM. In the second mode, when the AMF receives the registration message of the UE, the first condition information of the first service may be obtained from the UDM according to the service identifier of the first service in the registration message, and so on, the condition information of each service in the at least one service may be obtained.
Alternatively, in the first and second modes, the AMF may further acquire other relevant information of the first service from the UDM, for example, may be at least one of DNN of the first service, slice information of the first service, service identifier of the first service, and the like, and the manner of acquiring these information is consistent with the manner of acquiring the first condition information of the first service.
It should be noted that the order between S301 and S302 is not limited, and S301 may be performed before or after S302 or simultaneously.
S303, the UE sends a session request message to the AMF, and the AMF receives the session request message sent by the UE, wherein the session request message comprises: the service identification of the first service, the DNN of the first service, at least one of slicing information or session type of the first service.
Alternatively, the session request message may be a session establishment request message for establishing a session, e.g. a modification protocol data unit (protocol data unit, PDU) session, or may be a session modification request message for modifying a session, e.g. a modification PDU session.
Optionally, the session request message may further include a service identifier of the second service, that is, the DNN of the first service may be replaced with the DNNs of the first service and the second service, and slice information of the first service may be replaced with slice information of the first service and slice information of the second service, that is, if the session request message is a session establishment request message, the slice information and the DNN in the session establishment request message are sessions for establishing the first service and the second service, where the first service and the second service correspond to the same session, or the services corresponding to the session are the first service and the second service; if the session request message is a session modification request message, slice information and DNN in the session modification request message are sessions for modifying the first service and the second service, where the first service and the second service correspond to the same session, or the service corresponding to the session is the first service and the second service.
Optionally, if the session request message includes a service identifier of the second service, the session request message may further include second condition information of the second service.
It should be noted that, the session request message may not include the service identifier of the first service, and at this time, the DNN and the slice information correspond to the first service and do not correspond to the second service, that is, when the DNN and the slice information can uniquely identify the first service, the session request message may not carry the service identifier of the first service, and if the DNN and the slice information cannot uniquely identify the first service, the session request message may carry the service identifier of the first service.
Alternatively, if the UE does not acquire the first condition information of the first service in S301, the session request message in S303 may not carry the first condition information of the first service. Or if the UE acquires the first condition information of the first service in S301, the session request message in S303 may or may not carry the first condition information of the first service, that is, if the UE does not acquire the first condition information of the first service, the session request message may or may not carry the first condition information of the first service, and if the UE acquires the first condition information of the first service, the session request message may or may not carry the first condition information of the first service.
Alternatively, S302 may be omitted, and if the session request message includes the first condition information of the first service, the AMF may acquire the first condition information of the first service in the session request message in S303. In other words, the AMF may obtain the first condition information of the first service from other network elements (such as UDM) or may obtain the first condition information of the first service from the UE.
Optionally, the session type in the session request message indicates the session type that the UE desires to establish, and the session type may be determined by the UE, and the UE does not need to acquire the session type from other network elements.
S304, the AMF determines first condition information of the first service from the condition information of at least one service according to the session request message.
Optionally, if the session request message includes a service identifier of the first service, the AMF determines condition information of the first service from condition information of each service in the at least one service according to the service identifier of the first service.
Optionally, if the session request message does not include the service identifier of the first service, and in S302 the AMF may acquire the DNN of the first service, the slice information of the first service and the service identifier of the first service from the UDM, and the DNN is uniquely bound to the slice information and the first service, the AMF determines the service identifier of the first service according to the DNN and the slice information in the session request message in S303, in other words, the AMF acquires the DNN and the slice information of the first service in S302, and if the DNN and the slice information in the session request message sent by the UE in S303 are the DNN and the slice information of the first service in S302, the AMF may determine that the UE needs to establish a session of the first service corresponding to the DNN and the slice information in S302, so the AMF may determine the first condition information of the first service in the condition information of at least one service.
If the first condition information includes location information, the location information is tracking area information, the method 300 includes: s305a and S306b.
S305a, the AMF acquires a tracking area where the UE is located.
I.e. the first parameter is the tracking area where the UE is located.
S306a, if the tracking area where the UE is located is not within the tracking area range indicated by the tracking area information and usable by the first service, S308a is executed.
Optionally, if the tracking area where the UE is located is within the tracking area range that the first service indicated by the tracking area information can use, S308b is performed.
If the first condition information includes location information, the location information is coordinate information, the method 300 includes: s305b, S306b and S307b.
S305b, the AMF sends a first message to the LMF, where the first message is used to request the coordinates where the UE is located.
The LMF is a positioning device corresponding to the UE, and the LMF may position the UE based on the first message to obtain coordinates where the UE is located.
S306b, the LMF sends the coordinates of the UE to the AMF, and the AMF receives the coordinates of the UE.
Optionally, in S306b, the LMF sends indication information indicating the coordinates where the UE is located to the AMF.
I.e. the first parameter is the coordinates where the UE is located at this time.
S307b, if the coordinates where the UE is located are not within the coordinate range indicated by the coordinate information and usable by the first service, S308a is executed.
Optionally, the coordinates where the UE is located are within the coordinate range indicated by the coordinate information as being usable by the first service, S308b is performed.
If the first condition information includes location information, where the location information is cell identification information, the method 300 includes: s305c, S306c, S307c.
S305c, the AMF sends a second message to the RAN, and the RAN receives the second message from the AMF, where the second message is used to request the cell in which the UE is located.
Wherein the RAN is a RAN accessed by the UE or a RAN connected by the UE.
S306c, the RAN sends the cell in which the UE is located to the AMF, and the AMF receives the cell in which the UE is located from the RAN.
I.e. the cell in which the UE is located is now the first parameter.
Optionally, in S306c, the AMF receives indication information from the RAN indicating a cell in which the UE is located.
S307c, if the cell in which the UE is located is not within the cell range that the first service indicated by the cell identification information can use, S308a is executed.
Optionally, the cell in which the UE is located is within a cell range that the first service indicated by the cell identification information can use, S308b is performed.
If the first condition information includes time information, the time information is time period information, the method 300 includes: s305d and S306d.
S305d, the AMF acquires the current time.
I.e. the current time when the first parameter is the first service of the AMF serving UE.
S306d, if the current time is not within the range of the time period indicated by the time period information to be usable by the first service, S308a is performed.
Alternatively, the current time is within a range of time periods indicated by the time period information to be usable by the first service, S308b is performed.
If the first condition information includes time information, the time information is time-of-use information, the method 300 includes: s305e and S306e.
S305e, the AMF starts a first timer and starts timing.
Optionally, the first timer is a timer corresponding to the first service.
S306e, if the time period of the first timer is longer than the time period that the first service indicated by the usage time period information can be used, S308a is executed.
The first parameter is the duration of a first timer, and the duration of the first timer is the duration of the first service of the AMF service UE.
Alternatively, if the duration of the first timer is less than the duration that the first service indicated by the in-use duration information can be used, S308b is performed.
Alternatively, the duration of the first timer is equal to the duration that the first service indicated by the time length of use information can be used, S308a may be performed, S308b may be performed, and the embodiment of the present application is not limited thereto.
If the first condition information includes location information and time information, the location information is tracking area information, and the time information is time zone information, S305a and S305d are executed, and if the tracking area where the UE is located is not within a range of tracking areas where the first service indicated by the tracking area information can be used, and/or if the current time is not within a range of time zones where the first service indicated by the time zone information can be used, S308a is executed.
If the first condition information includes location information and time information, the location information is tracking area information, the time information is used time length information, S305a and S305e are executed, and if the tracking area where the UE is located is not within a range of the tracking area where the first service indicated by the tracking area information can be used, and/or if a time period of the first timer is longer than a time period where the first service indicated by the used time length information can be used, S308a is executed.
If the first condition information includes location information and time information, the location information is coordinate information, the time information is time slot information, S305b, S306b and S305d are executed, and if the coordinates where the UE is located are not within a coordinate range where the first service indicated by the coordinate information can be used, and/or if the current time is not within a time slot where the first service indicated by the time slot information can be used, S308a is executed.
If the first condition information includes location information and time information, the location information is coordinate information, the time information is usage time length information, S305b, S306b and S305e are executed, and if the coordinates where the UE is located are not within a coordinate range where the first service indicated by the coordinate information can be used, and/or if the time period of the first timer is longer than the time period where the first service indicated by the usage time length information can be used, S308a is executed.
If the first condition information includes location information and time information, the location information is cell identification information, the time information is time zone information, S305c, S306c and S305d are executed, and if the cell in which the UE is located is not within a range in which the first service indicated by the cell identification information can be used, and/or if the current time is not within a range of time zones in which the first service indicated by the time zone information can be used, S308a is executed.
If the first condition information includes location information and time information, the location information is cell identification information, and the time information is time period information, S305c, S306c and S305e are executed, and if the cell in which the UE is located is not within a range in which the first service indicated by the cell identification information can be used, and/or if the time period of the first timer is longer than a time period in which the first service indicated by the time period information can be used, S308a is executed.
If the first condition information includes activation information, the activation information indicates that the state of the first service is an activation state, the AMF sends a service identifier of the first service to the UDM, the UDM determines whether the activation information corresponding to the service identifier and the first service are activated, and sends the activation information to the AMF and indicates whether the first service is activated, if the first service is not activated, S308a may be executed, and if the first service is activated, S308b may be executed, that is, the UDM may not only store the activation information of the first service but also may store whether the first service is activated. This process is not shown in fig. 6.
If the first condition information includes element number information, the element number information indicates a number range of elements that the first service can support, the session request message of S303 may include a number of elements currently supported by the first service, if the number of elements currently supported by the first service is within the number range, S308b may be performed, and if the number of elements currently supported by the first service is not within the number range, S308a may be performed. This process is not shown in fig. 6.
S308a, the AMF sends a session reject message to the UE, where the session reject message includes indication information 1, and the indication information 1 indicates that the UE stops acquiring the first service.
The first information in the method 200 may be the indication information 1, that is, if the first parameter of the UE does not meet the first condition in the process of establishing or modifying the session, the session is not established or modified, and the subsequent steps of S308a also end.
S308b, the AMF sends a session request message to the SMF, and the SMF receives the session request message from the AMF.
Wherein the session request message comprises at least one of a service identification of the first service, a DNN of the first service, slice information of the first service or a session type or first condition information of the first service.
Alternatively, the session request message in S308b may not include the first condition information of the first service. Alternatively, even if the first condition information of the first service is included in the session request message in S303, the first condition information of the first service may not be included in the session request message in S308 b.
S309, the SMF generates a session or modifies the session according to the session request message.
In S309, the manner of generating the session or modifying the session according to the session request message is described in the prior art, which is not illustrated in detail for avoiding redundancy.
Alternatively, if the first condition information includes location information and time information, the determination regarding location and time in fig. 4 is performed by the AMF, in some embodiments the determination regarding location may be performed by the AMF, and the determination regarding time may be performed by the SMF, for example, the SMF performs S305d, S306d or performs S305e, S306e. Or the judgment about time is performed by the AMF, and the judgment about the position is performed by the SMF, for example, the SMF performs S305a, S306a, or performs S305b, S306b, and S307b. Or S305c, S306c and S307c are performed.
If the first condition information includes location information, and the location information is tracking area information, as shown in fig. 6, the method 300 further includes: s310a, S311a.
S310a, the AMF acquires the tracking area where the UE is located, namely, the tracking area where the UE is located is the first parameter at the moment.
S311a, if the tracking area where the UE is located is not within the tracking area range indicated by the tracking area information and usable by the first service, S313 in fig. 6 is executed.
Optionally, if the tracking area where the UE is located is within the tracking area range that the first service indicated by the tracking area information can use, S310a is continuously performed.
If the first condition information includes location information and the location information is coordinate information, as shown in fig. 6, the method 300 further includes: s310a, S311b and S312b.
And S310b, the AMF sends a first message to the LMF, wherein the first message is used for requesting the coordinates of the UE.
The LMF is a positioning device corresponding to the UE, and the LMF may position the UE based on the first message to obtain coordinates where the UE is located.
S311b, the LMF transmits indication information indicating the coordinates where the UE is located to the AMF.
I.e. the first parameter is the coordinates where the UE is located at this time.
S312b, if the coordinates where the UE is located are not within the coordinate range indicated by the coordinate information and usable by the first service, S313 in fig. 6 is executed.
Optionally, if the coordinates of the UE are within the coordinate range indicated by the coordinate information that can be used by the first service, S310b is continuously performed, for example, S310b may be continuously performed after a preset time.
If the first condition information includes location information, and the location information is cell identification information, as shown in fig. 6, the method 300 further includes: s310c, S312c.
S310c, the AMF sends a second message to the RAN, and the RAN receives the second message from the AMF, where the second message is used to request the cell in which the UE is located.
Wherein the RAN is a RAN accessed by the UE or a RAN connected by the UE.
S311c, the AMF receives, from the RAN, indication information indicating a cell in which the UE is located.
I.e. the cell in which the UE is located is now the first parameter.
S312c, if the cell in which the UE is located is not within the usable range of the first service indicated by the cell identification information, S313 in fig. 6 is executed.
Optionally, if the cell in which the UE is located is within the range where the first service indicated by the cell identification information can be used, S310c in fig. 6 is continuously performed, for example, S310c may be continuously performed after a preset time.
If the first condition information includes time information, and the time information is time period information, as shown in fig. 6, the method 300 further includes: s310d and S311d.
S310d, the AMF acquires the current time.
I.e. the current time when the first parameter is the first service of the AMF serving UE.
S311d, if the current time is not within the range of the time period indicated by the time period information to be usable by the first service, S313 in fig. 6 is performed.
Alternatively, the current time is within a range of a time period indicated by the time period information to be usable by the first service, S310d is continuously performed, for example, S310d may be continuously performed after a preset time.
If the first condition information includes time information, and the time information is time length of use information, as shown in fig. 6, the method 300 further includes: s310e and S311e.
S310e, the AMF starts a first timer and starts timing.
Optionally, after S309, the AMF starts a first timer. Optionally, the first timer is a timer corresponding to the first service.
S311e, if the time period of the first timer is longer than the time period that the first service indicated by the usage time period information can be used, S313 in fig. 6 is executed.
The first parameter is the duration of a first timer, and the duration of the first timer is the duration of the first service of the AMF service UE.
Alternatively, if the duration of the first timer is less than the duration that the first service indicated by the in-use duration information can be used, S310e is performed, for example, S310e in fig. 6 may be continuously performed after a preset time.
Alternatively, the duration of the first timer is equal to the duration that the first service indicated by the in-use duration information can be used, S310e is performed or S313 is performed.
If the first condition information includes location information and time information, the location information is tracking area information, and the time information is time zone information, S310a and S310d are performed, and if the tracking area where the UE is located is not within a range of tracking areas where the first service indicated by the tracking area information can be used, and/or if the current time is not within a range of time zones where the first service indicated by the time zone information can be used, S313 in fig. 6 is performed.
If the first condition information includes location information and time information, the location information is tracking area information, the time information is used time length information, S310a and S310e are performed, and if the tracking area where the UE is located is not within a range of the tracking area where the first service indicated by the tracking area information can be used, and/or if a time period of the first timer is longer than a time period where the first service indicated by the used time length information can be used, S313 in fig. 6 is performed.
If the first condition information includes location information and time information, the location information is coordinate information, the time information is time slot information, S310b and S310d are performed, and if the coordinates where the UE is located are not within a coordinate range where the first service indicated by the coordinate information can be used and/or the current time is not within a time slot where the first service indicated by the time slot information can be used, S313 in fig. 6 is performed.
If the first condition information includes location information and time information, the location information is coordinate information, the time information is usage time length information, S310b, S311b and S310e are executed, and if the coordinates where the UE is located are not within a coordinate range where the first service indicated by the coordinate information can be used, and/or if the time period of the first timer is longer than the time period where the first service indicated by the usage time length information can be used, S313 in fig. 6 is executed.
If the first condition information includes location information and time information, the location information is cell identification information, the time information is time zone information, S310c, S311c and S310d are performed, and if the cell in which the UE is located is not within a range in which the first service indicated by the cell identification information can be used, and/or if the current time is not within a range of time zones in which the first service indicated by the time zone information can be used, S313 in fig. 6 is performed.
If the first condition information includes location information and time information, the location information is cell identification information, the time information is time period information, S310c, S311c and S310e are performed, and if the cell in which the UE is located is not within a range in which the first service indicated by the cell identification information can be used, and/or if the time period of the first timer is longer than a time period in which the first service indicated by the use time period information can be used, S313 in fig. 6 is performed.
S313, the AMF sends indication information 2 to the SMF, the indication information 2 indicating that the first parameter of the first service does not satisfy the first condition.
The indication information 2 may be the same or different for the above-mentioned different cases, that is, the indication information 2 indicates to the SMF that the first parameter does not satisfy the first condition, or specifically indicates which parameter satisfies the corresponding first condition.
The first information in the method 200 may be the indication information 2, that is, if the first parameter of the UE does not satisfy the first condition after the completion of the establishment or modification of the session, the AMF may send the indication information to the SMF.
Optionally, the AMF may further send a service identifier of the first service to the SMF, for example, in S313, the AMF sends the indication information 2 and the service identifier of the first service to the SMF, indicating that the indication information 2 indicates that the first parameter of the first service identified by the service identifier does not satisfy the first condition. That is, the AMF may send the service identifier of the first service to the SMF, or may not send the service identifier of the first service, and if the AMF does not send the service identifier of the first service, the SMF may also learn the first service through other manners.
And S314, the SMF sends a first instruction to the UPF according to the indication information 2, wherein the first instruction is used for indicating the UPF to stop sending the first service to the UE.
Optionally, the SMF may also send a service identifier of the first service to the UPF, for example, in S314, the SMF sends a first instruction to the UPF and the service identifier of the first service, where the first instruction is used to instruct the UPF to stop sending the first service identified by the service identifier to the UE. That is, if the SMF determines that the UPF can learn the first service, the service identifier of the first service may not be sent, and if the SMF determines that the UPF cannot learn the first service, the service identifier of the first service may be sent.
Alternatively, if the service identifier of the first service is included in the session request message in S303, the session or the modified session established in S309 may be a session corresponding to the first service. At this time, after S314, the method further includes: the SMF may also send third information to the UPF, where the third information is used to release the session in S309, that is, if the SMF determines that the first service corresponding to the session does not meet the condition, S315 may be executed.
Alternatively, if the session request message in S303 includes the service identifier of the first service and the service identifier of the second service, the session or the modified session established in S309 may be a session corresponding to the first service and the second service. If the AMF determines that the second parameter of the second service does not meet the second condition indicated by the second condition information of the second service according to a process similar to the processing procedure of the first service, the AMF may further send indication information 3 to the SMF, where the second information in the method 200 may be indication information 3, where the indication information 3 indicates that the second parameter of the second service does not meet the second condition, and the SMF sends a second instruction to the UPF according to the indication information 3, where the second instruction is used to instruct the UPF to stop sending the second service to the UE. At this time, the SMF may further transmit third information to the UPF, the third information being used to release the session in S309, that is, if the SMF determines that neither the first service nor the second service corresponding to the session satisfies the condition, S315 may be executed.
S315, releasing the session.
Alternatively, if the first condition information includes location information and time information, the determination of fig. 6 regarding both location and time is performed by the AMF, in some embodiments the determination regarding location may be performed by the AMF, and the determination regarding time may be performed by the SMF, for example, the SMF performs S310d, S311d or performs S310e, S311e and S312e. Or the judgment about time is performed by the AMF, and the judgment about the position is performed by the SMF, for example, the SMF performs S310a, S311a, or performs S310b, S311b, and S312b, or performs S310c, S311c, and S312c.
Alternatively, in the method 300 of fig. 4 and 6, S304 may be performed directly after S309 and the steps of fig. 6 are performed, that is, there may be no steps between S304 and S309, and the first parameter of the UE satisfies the first condition when the UE sends the session request message by default. Optionally, there may be steps between S304 and S309, which indicate that the AMF determines whether the first parameter of the UE satisfies the first condition before the session is established or modified, and if not, the session reject message may be directly sent, and the subsequent execution of S308a does not exist. Alternatively, the step of fig. 6 may also be an optional step, i.e. only S301 to S309 of fig. 4 are present. That is, after the session establishment or modification after S309, there may be no step of fig. 6, i.e. it is no longer determined whether the first parameter of the UE satisfies the first condition. Or there may be the steps of fig. 6, which indicates that after the session is established or modified, the AMF continues to determine whether the first parameter of the UE meets the first condition, and if not, the AMF sends indication information 2 to the SMF, indicating that the first parameter of the UE does not meet the first condition, and the SMF may send a first instruction to the UPF, indicating to stop sending the first service to the UE.
In some embodiments, to better illustrate the method 200 described above, the first core network device may be the SMF in fig. 7 and the terminal device may be the UE, which is described below in connection with the method 500 shown in fig. 7. The method 500 includes:
s501 is the same as S301.
S502, the SMF obtains condition information of each of at least one service.
Optionally, the manner in which the SMF obtains the condition information of each service in the at least one service is similar to the manner in which the AMF obtains the condition information of each service in the at least one service in the method 300, which is not described in detail in order to avoid redundancy in the embodiments of the present application.
Alternatively, the AMF may acquire the condition information of each of the at least one service according to the method 300, and then send the condition information of each of the at least one service to the AMF, for example, in the session message in S504.
The order between S501 and S502 is not limited, and S501 may be performed before or after S502 or simultaneously.
S503 is the same as S303.
S504, the AMF sends a session request message to the SMF, where the session request message includes: the service identification of the first service, the DNN of the first service, at least one of slicing information or session type of the first service.
Specifically, the description of the session request message is referred to the description of S303 in order to avoid redundancy of detailed description.
S505, the SMF determines first condition information of the first service among the condition information of the at least one service according to the session request message.
Alternatively, S505 may not exist, where after the AMF determines the first condition information of the first service according to S304 in the method 300, the first condition information of the first service may be sent to the SMF in S504, so that the SMF may not perform S502 and S502, where the AMF performs S302 and S304.
If the first condition information includes location information, the location information is tracking area information, the method 500 includes: s506a.
S506a, the SMF acquires the tracking area where the UE is located from the AMF.
Optionally, before S506a, the SMF may send a tracking area request message to the AMF, S506a includes: the SMF receives a response message of the tracking area request message from the AMF, the response message including a tracking area in which the UE is located.
I.e. the first parameter is the tracking area where the UE is located.
S507a, if the tracking area where the UE is located is not within the tracking area usable by the first service indicated by the tracking area information, S509a is executed.
Optionally, if the tracking area where the UE is located is within the tracking area range indicated by the tracking area information that the first service can use, S509b is performed.
If the first condition information includes location information, and the location information is coordinate information, the method 500 includes: s506a, S507b and S508b.
S506b, the SMF sends a first message to the LMF, where the first message is used to request the coordinates where the UE is located.
The LMF is a positioning device corresponding to the UE, and the LMF may position the UE based on the first message to obtain coordinates where the UE is located.
Optionally, S506a includes: the SMF sends a first message to the LMF via the AMF.
S507b, the LMF sends the coordinates of the UE to the SMF, and the SMF receives the coordinates of the UE.
I.e. the first parameter is the coordinates where the UE is located at this time.
Optionally, S306b includes: the LMF transmits the coordinates where the UE is located to the SMF through the AMF.
Optionally, the LMF sends indication information indicating the coordinates where the UE is located to the SMF in S306 b.
Alternatively, the LMF may send the coordinates where the UE is located to the SMF through the AMF, and the SMF receives the coordinates where the UE is located through the AMF.
S508b, if the coordinates where the UE is located are not within the coordinate range indicated by the coordinate information and usable by the first service, S509a is executed.
Optionally, the coordinates where the UE is located are within the coordinate range indicated by the coordinate information that the first service can use, S509b is performed.
If the first condition information includes location information, where the location information is cell identification information, the method 500 includes: s506c, S507c, S508c.
S506c, the SMF sends a second message to the RAN, and the RAN receives the second message from the SMF, where the second message is used to request the cell in which the UE is located.
Optionally, S506c includes: the SMF sends a second message to the RAN via the AMF, and the RAN receives the second message via the AMF.
S507c, the RAN transmits the cell in which the UE is located to the SMF, and the SMF receives the cell in which the UE is located from the RAN.
I.e. the cell in which the UE is located is now the first parameter.
Optionally, in S507c, the SMF receives indication information indicating a cell in which the UE is located from the RAN.
Optionally, the RAN sends the cell in which the UE is located to the SMF through the AMF, and the SMF receives the cell in which the UE is located from the RAN through the AMF.
S508c, if the cell in which the UE is located is not within the cell range that the first service indicated by the cell identification information can use, S509a is executed.
Optionally, the cell in which the UE is located is within a cell range that the first service indicated by the cell identification information can use, S509b is performed.
If the first condition information includes time information, the time information is time period information, the method 500 includes: s506d and S507d.
S506d, the AMF acquires the current time.
I.e. the current time when the first parameter is the first service of the AMF serving UE.
S507d, if the current time is not within the range of the time period indicated by the time period information that the first service can be used, S509a is performed.
Alternatively, the current time is within a range of time periods indicated by the time period information to be usable by the first service, S509b is performed.
If the first condition information includes time information, the time information is the time length of use information, the method 500 includes: s506e and S507e.
S506e, the AMF starts a first timer and starts timing.
Optionally, the first timer is a timer corresponding to the first service.
S507e, if the time period of the first timer is longer than the time period that the first service indicated by the usage time period information can be used, S509a is executed.
That is, the first parameter is the duration of the first timer, and the duration of the first timer is the duration of the first service of the SMF serving UE.
Optionally, the duration of the first timer is smaller than the duration that the first service indicated by the in-use duration information can be used, and S509b is performed.
Alternatively, the duration of the first timer is equal to the duration that the first service indicated by the usage duration information can be used, S509a may be performed, S509b may be performed, and the embodiment of the present application is not limited thereto.
If the first condition information includes location information and time information, the location information is tracking area information, and the time information is time zone information, S506a and S506d are performed, and if the tracking area where the UE is located is not within a range of tracking areas where the first service indicated by the tracking area information can be used, and/or if the current time is not within a range of time zones where the first service indicated by the time zone information can be used, S509a is performed.
If the first condition information includes location information and time information, the location information is tracking area information, the time information is used time length information, S506a and S506e are executed, and if the tracking area where the UE is located is not within a range of the tracking area where the first service indicated by the tracking area information can be used, and/or if a time period of the first timer is longer than a time period where the first service indicated by the used time length information can be used, S509a is executed.
If the first condition information includes location information and time information, the location information is coordinate information, the time information is time slot information, S506b, S507b and S506d are performed, and if the coordinates where the UE is located are not within a coordinate range where the first service indicated by the coordinate information can be used, and/or if the current time is not within a time slot range where the first service indicated by the time slot information can be used, S509a is performed.
If the first condition information includes location information and time information, the location information is coordinate information, the time information is usage time length information, S506b, S507b and S506e are executed, and if the coordinates where the UE is located are not within a coordinate range where the first service indicated by the coordinate information can be used, and/or if the time period of the first timer is longer than the time period where the first service indicated by the usage time length information can be used, S509a is executed.
If the first condition information includes location information and time information, the location information is cell identification information, the time information is time zone information, S506c, S507c and S506d are performed, and if the cell in which the UE is located is not within a range in which the first service indicated by the cell identification information can be used, and/or if the current time is not within a range of time zones in which the first service indicated by the time zone information can be used, S509a is performed.
If the first condition information includes location information and time information, the location information is cell identification information, and the time information is time period information, S506c, S507c and S506e are performed, and if the cell in which the UE is located is not within a range in which the first service indicated by the cell identification information can be used, and/or if a time period of the first timer is longer than a time period in which the first service indicated by the use time period information can be used, S509a is performed.
If the first condition information includes activation information, the activation information indicates that the state of the first service is an activation state, the SMF sends a service identifier of the first service to the UDM, the UDM determines whether the activation information corresponding to the service identifier and the first service are activated, and sends the activation information to the AMF and indicates whether the first service is activated, if the first service is not activated, S509a may be executed, and if the first service is activated, S509b may be executed, that is, the UDM may store not only the activation information of the first service but also whether the first service is activated. This process is not shown in fig. 7.
If the first condition information includes element number information, the element number information indicates a number range of elements that the first service can support, the session request message of S303 may include a number of elements currently supported by the first service, if the number of elements currently supported by the first service is within the number range, S509b may be executed, and if the number of elements currently supported by the first service is not within the number range, S509a may be executed. This process is not shown in fig. 7.
S509a, the SMF sends a session reject message to the UE, where the session reject message includes indication information 1, and the indication information 1 indicates that the UE stops acquiring the first service.
The first information in the method 200 may be the indication information 1, that is, if the first parameter of the UE does not meet the first condition in the process of establishing or modifying the session, the session is not established or modified, and the subsequent steps of S509a are also ended.
S509b, generating a session or modifying a session according to the session request message.
In S309, the manner of generating the session or modifying the session according to the session request message is described in the prior art, which is not illustrated in detail for avoiding redundancy.
Alternatively, if the first condition information includes location information and time information, the determination regarding location and time in fig. 7 is performed by the SMF, in some embodiments the determination regarding location may be performed by the AMF, and the determination regarding time may be performed by the SMF, for example, the AMF performs S506a, S507a, or S506b, S507b, and S508b. Or S506c, S507c and S508c are performed. Or the determination regarding time is performed by the AMF, and the determination regarding position is performed by the SMF, for example, the AMF performs S506d, S507d or performs S506e, S507e.
As shown in fig. 8, the method 500 further includes:
s510a-S512e are similar to S310a-S312e, respectively, and are not described in detail to avoid redundancy.
S513, the SMF sends indication information 4 to the UPF, where the indication information 4 indicates that the UPF stops sending the first service to the UE.
The first information in the method 200 may be the indication information 4, that is, if the first parameter of the UE does not satisfy the first condition after the completion of the establishment or modification of the session, the SMF may send the indication information 4 to the UPF to stop sending the first service to the UE.
Optionally, the SMF may also send a service identifier of the first service to the UPF, e.g. in S513, the SMF sends a first instruction to the UPF and the service identifier of the first service, where the first instruction instructs the UPF to stop sending the first service identified by the service identifier to the UE. That is, if the SMF determines that the UPF can learn the first service, the service identifier of the first service may not be sent, and if the SMF determines that the UPF cannot learn the first service, the service identifier of the first service may be sent.
Alternatively, if the service identifier of the first service is included in the session request message in S503, the session or the modified session established in S509b may be a session corresponding to the first service. At this time, after S513, the method further includes: the SMF may also send third information to the UPF, where the third information is used to release the session in S309b, that is, if the SMF determines that the first service corresponding to the session does not satisfy the condition, S514 in fig. 8 may be executed.
Alternatively, if the session request message in S503 includes the service identifier of the first service and the service identifier of the second service, the session or the modified session established in S509b may be a session corresponding to the first service and the second service. If the SMF determines that the second parameter of the second service also does not meet the second condition indicated by the second condition information of the second service according to a similar procedure to the above-mentioned procedure of the first service, the SMF may further send indication information 5 to the UPF, where the indication information 5 indicates that the UPF stops sending the second service to the UE. At this time, the SMF may further transmit third information to the UPF, the third information being used to release the session in S509b, that is, if the SMF determines that neither the first service nor the second service corresponding to the session satisfies the condition, S514 in fig. 8 may be performed.
S514, releasing the session.
Alternatively, if the first condition information includes location information and time information, the determination of fig. 8 regarding both location and time is performed by the SMF, in some embodiments the determination regarding location may be performed by the AMF, and the determination regarding time may be performed by the SMF, for example, the AMF performs S510a, S511a, or S510b, S511b, and S512b. Or S510c, S511c and S512c are performed. Or the judgment about time is performed by the AMF, and the judgment about the position is performed by the SMF, for example, the AMF performs S510d, S511d or performs S510e, S511e and S512e.
Alternatively, in the method 500 of fig. 7 and 8, S505 may be performed directly after S509b and the steps of fig. 8 are performed, that is, there may be no steps between S505 and S509b, and the first parameter of the UE satisfies the first condition when the default UE sends the session request message. Optionally, there may be steps between S505 to S509b, which indicate that the SMF determines whether the first parameter of the UE satisfies the first condition before the session is established or modified, and if not, the session reject message may be directly sent, and the subsequent execution of S509a does not exist. Alternatively, the step of fig. 8 may also be an optional step, i.e. only S501 to S509b of fig. 7 are present. That is, after the session is established or modified after S509b, it may not be determined whether the first parameter of the UE satisfies the first condition. Or, the steps of fig. 8 may also be stored, which indicates that after the session is established or modified, the SMF continues to determine whether the first parameter of the UE satisfies the first condition, and if not, the SMF sends indication information 4 to the UPF, indicating that the UPF stops sending the first service to the UE.
Alternatively, S301-S309 of fig. 4 and S510 a-S514 of fig. 8 may constitute an embodiment in which the AMF determines whether the first parameter of the UE satisfies the first condition before the session is established, and the SMF determines whether the first parameter of the UE satisfies the first condition after the session is established.
Alternatively, S310a-S315 of fig. 6 and S501-S509 b of fig. 7 may constitute an embodiment in which the SMF determines whether the first parameter of the UE satisfies the first condition before the session is established, and the AMF determines whether the first parameter of the UE satisfies the first condition after the session is established.
In some embodiments, the AMF may determine whether the first parameter of the UE satisfies the first condition before the session is established or modified, and the AMF may also determine whether the first parameter of the UE satisfies the first condition after the session is established or modified, and if the AMF determines that the first parameter does not satisfy the first condition after the session is established or modified, may send first information to the PCF to indicate that the first service of the UE does not satisfy the first condition, as described below in connection with fig. 9. As shown in fig. 9, the method 600 includes:
s601 to S609 are the same as S301 to S309 of fig. 4, respectively, and are not described in detail to avoid redundancy.
As shown in fig. 10, the method 600 further includes:
s610a to S612e are the same as S310a to S312e shown in fig. 6, respectively, and are not described in detail for the sake of avoiding redundancy.
S613, the AMF sends indication information 5 to the PCF, where the indication information 5 indicates that the first service of the UE does not satisfy the first condition.
Optionally, the AMF may further send a service identifier of the first service to the PCF, where the service identifier of the first service is related to the indication information 5, and the indication information 5 is used to indicate that the first service identified by the service identifier of the UE does not meet the first condition, in other words, the service identifier of the first service is used to make the PCF determine which services do not meet the first condition.
Alternatively, the first information in method 200 may be indication information 5.
Optionally, before S613, the method further includes: the PCF sends a seventh message to the SMF, the seventh message being for subscribing to whether the first service satisfies the first condition. Alternatively, the seventh message may be a status subscription message.
S614, the PCF generates a session policy based on the indication information 5.
Optionally, the session policy is used for the SMF to determine to stop sending the first service to the UE, that is, the PCF triggers the SMF to perform S615 through the generated policy.
Optionally, the session policy may be a terminal device routing policy (UE routeselectionpolicy, urs) or a personal internet of things routing policy (PIN routeselectionpolicy, PRSP), where the urs or PRSPs may include PIN IDs, and the PIN IDs may be included in a traffic descriptor (trafficdescriptor) of the urs or a personal internet of things descriptor (PIN descriptor) of the PRSPs, and the PCF triggers the SMF to execute S615 through the generated terminal device routing policy or personal internet of things routing policy.
S615-S616 are the same as S314-S315, respectively.
Optionally, in an embodiment of the present application, the first service is a localization service.
Optionally, in an embodiment of the present application, the first service is a PIN-related service.
Having described the method embodiments provided herein, embodiments of the apparatus provided herein are described below. It should be understood that the descriptions of the apparatus embodiments and the descriptions of the method embodiments correspond to each other, and thus, descriptions of details not described may be referred to the above method embodiments, which are not repeated herein for brevity.
Fig. 11 shows a communication device 1000 provided in an embodiment of the present application. The communication device 1000 includes a processor 1010 and a transceiver 1020. Wherein the processor 1010 and the transceiver 1020 communicate with each other via an internal connection, the processor 1010 is configured to execute instructions to control the transceiver 1020 to transmit signals and/or receive signals.
Optionally, the communication device 1000 may further include a memory 1030, where the memory 1030 and the processor 1010 and the transceiver 1020 communicate with each other through an internal connection path. The memory 1030 is used for storing instructions, and the processor 1010 can execute instructions stored in the memory 1030. In a possible implementation manner, the communication apparatus 1000 is configured to implement the respective flows and operations corresponding to the first core network device in the method 200 or the AMF in the method 300. In one possible implementation, the communication apparatus 1000 is configured to implement the respective procedures and operations of the first core network device in the method 200 or the SMF in the method 500 described above. In one possible implementation, the communications apparatus 1000 is configured to implement the respective flows and operations corresponding to the SMF in the method 300 or the SMF in the method 600. In one possible implementation, the communication apparatus 1000 is configured to implement the respective procedures and operations corresponding to the UE in the method 300 or the method 500 or the method 600. In one possible implementation, the communications apparatus 1000 is configured to implement the respective procedures and operations corresponding to the AMF in the method 300. In one possible implementation, the communication device 1000 is configured to implement the respective procedures and operations corresponding to the PCF in the method 600 described above.
It should be understood that the communication apparatus 1000 may be embodied as each device in the above embodiments, or may be a chip or a chip system. Correspondingly, the transceiver 1020 may be a transceiver circuit of the chip, which is not limited herein. Specifically, the communications apparatus 1000 may be configured to perform various operations and/or flows corresponding to various devices in the foregoing method embodiments. Alternatively, the memory 1030 may include read-only memory and random access memory and provide instructions and data to the processor. A portion of the memory may also include non-volatile random access memory. For example, the memory may also store information of the device type. The processor 1010 may be configured to execute instructions stored in a memory, and when the processor 1010 executes instructions stored in the memory, the processor 1010 is configured to perform the operations and/or flows of the method embodiments described above corresponding to the respective devices.
In implementation, the operations of the above method may be performed by integrated logic circuits of hardware in a processor or by instructions in the form of software. Operations of the methods disclosed in connection with the embodiments of the present application may be embodied directly in a hardware processor or in a combination of hardware and software modules in a processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory, and the processor reads the information in the memory and performs the operations of the above method in combination with its hardware. To avoid repetition, a detailed description is not provided herein.
It should be noted that the processor in the embodiments of the present application may be an integrated circuit chip with signal processing capability. In implementation, the operations of the above-described method embodiments may be performed by integrated logic circuitry in hardware in a processor or by instructions in software. The processor may be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, or discrete hardware components. The disclosed methods, operations, and logic blocks in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. Operations of the methods disclosed in connection with the embodiments of the present application may be embodied directly in hardware, in a decoded processor, or in a combination of hardware and software modules in a decoded processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory, and the processor reads the information in the memory and performs the operations of the above method in combination with its hardware.
It will be appreciated that the memory in embodiments of the present application may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The nonvolatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an electrically Erasable EPROM (EEPROM), or a flash memory. The volatile memory may be random access memory (random access memory, RAM) which acts as an external cache. By way of example, and not limitation, many forms of RAM are available, such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous DRAM (SLDRAM), and direct memory bus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
According to the method provided by the embodiment of the application, the application further provides a computer program product, which comprises: computer program code which, when run on a computer, causes the computer to perform the operations or flows performed by the devices in the method embodiments described above.
According to the method provided in the embodiment of the present application, there is further provided a computer readable storage medium storing a program code, which when executed on a computer, causes the computer to perform the operations or flows performed by the devices in the method embodiment.
According to the method provided by the embodiment of the application, the application further provides a communication system, which comprises at least two of the plurality of devices.
The above-described embodiments of the respective apparatus and embodiments of the method correspond exactly to each other, in that the respective operations are performed by respective modules or units, e.g. the communication unit (transceiver) performs the operations of receiving or transmitting in the embodiments of the method, and other operations than transmitting, receiving may be performed by the processing unit (processor). The functionality of a particular unit may be based on corresponding method embodiments. Wherein the processor may be one or more.
In the embodiments of the present application, each term and english abbreviation are given as exemplary examples for convenience of description, and should not constitute any limitation to the present application. This application does not exclude the possibility of defining other terms in existing or future protocols that perform the same or similar functions.
It should be understood that, herein, "and/or," describing the association relationship of the association object, means that there may be three relationships, for example, a and/or B, may mean: a alone, a and B together, and B alone, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship.
Those of ordinary skill in the art will appreciate that the various illustrative logical blocks (illustrative logical block) and operations described in connection with the embodiments disclosed herein can be implemented as electronic hardware, or as a combination of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It will be clear to those skilled in the art that, for convenience and brevity of description, the specific working procedures of the above-described systems, apparatuses and units may be based on the corresponding procedures in the foregoing method embodiments, which are not described in detail herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
In the above-described embodiments, the functions of the respective functional units may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions (programs). When the computer program instructions (program) are loaded and executed on a computer, the processes or functions described in accordance with the embodiments of the present application are fully or partially produced. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a Solid State Disk (SSD)), or the like.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or a part of the technical solution, or in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the operations of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (29)

1. A communication method, wherein the communication method is applicable to a first core network device, and comprises:
acquiring first condition information of a first service, wherein the first condition information is used for indicating a first condition for acquiring the first service;
acquiring a first parameter of a terminal device, wherein the first parameter corresponds to the first condition information of the first service;
and when the first parameter does not meet the first condition, sending first information, wherein the first information is used for stopping the terminal equipment from acquiring the first service.
2. The communication method according to claim 1, wherein the first condition information includes time information and/or location information.
3. The communication method according to claim 2, wherein the first condition information includes the location information, and the location information is tracking area information, coordinate information, or cell identification information.
4. A communication method according to claim 3, wherein the location information is the coordinate information, and the first condition includes a coordinate range that the first service can use;
the obtaining the first parameter of the terminal device includes:
Sending a first message to a positioning management device, wherein the first message is used for acquiring coordinates of the terminal device;
acquiring coordinates of the terminal equipment from the positioning management equipment, wherein the first parameter comprises the coordinates of the terminal equipment;
wherein when the first parameter does not meet the first condition, sending first information includes:
and when the coordinates of the terminal equipment are not in the coordinate range which can be used by the first service, sending the first information.
5. A communication method according to claim 3, wherein the location information is cell identification information, and the first condition includes a cell range that the first service can use;
the obtaining the first parameter of the terminal device includes:
sending a second message to an access network device corresponding to the terminal device, where the second message is used for requesting a cell where the terminal device is located;
acquiring a cell where the terminal equipment is located from the access network equipment, wherein the first parameter comprises the cell where the terminal equipment is located;
wherein when the first parameter does not meet the first condition, sending first information includes:
And if the cell in which the terminal equipment is located is not in the range of the cell which can be used by the first service, sending the first information.
6. A communication method according to claim 3, wherein the location information is tracking area information, and the first condition includes a tracking area range that the first service can use;
the obtaining the first parameter of the terminal device includes:
sending a third message to a mobile management device corresponding to the terminal device, wherein the third message is used for requesting a tracking area where the terminal device is located;
acquiring a tracking area where the terminal equipment is located from the mobile management equipment, wherein the first parameter comprises the tracking area where the terminal equipment is located;
wherein when the first parameter does not meet the first condition, sending first information includes:
and when the tracking area where the terminal equipment is located is not in the range of the tracking area which can be used by the first service, sending the first information.
7. The communication method according to any one of claims 2 to 6, wherein the first condition information includes the time information, which is time period information or use time length information.
8. The communication method according to claim 7, wherein the time information is time period information, the first condition includes a time period range in which the first service is usable, and the first parameter includes a current time at which the first core network device serves a first service of the terminal device;
wherein when the first parameter does not meet the first condition, sending first information includes:
and when the current time of the first service of the first core network equipment serving the terminal equipment is not in the range of the time period which can be used by the first service, sending the first information.
9. The communication method according to claim 7, wherein the time information is in-use time length information, and the first condition includes a time length during which the first service can be used;
the obtaining the first parameter of the terminal device includes:
starting a first timer, wherein the first timer is used for acquiring the duration of using the first service by the terminal equipment, and the first parameter comprises the duration of using the first service by the terminal equipment;
wherein when the first parameter does not meet the first condition, sending first information includes:
And when the duration of using the first service by the terminal equipment is longer than the duration of using the first service, sending the first information.
10. The communication method according to any one of claims 1 to 9, characterized in that the communication method further comprises:
obtaining a session request message, wherein the session request message comprises: at least one of a data network name, slice information, session type, or service identification of the first service;
the obtaining the first condition information of the first service includes:
and acquiring the first condition information of the first service according to the session request message.
11. The communication method according to claim 10, wherein the session request message further includes the first condition information of the first service.
12. The communication method according to claim 10, wherein if the session request message includes a service identification of the first service;
wherein, the obtaining, according to the session request message, the first condition information of the first service includes:
and acquiring first condition information of the first service according to the service identifier of the first service in the session request message.
13. The communication method according to claim 12, characterized in that the communication method further comprises:
sending a fourth message to unified data management equipment, wherein the fourth message is used for subscribing the condition information of the service to the unified data management equipment;
receiving condition information of each service in at least one service from the unified data management device, wherein each service corresponds to one condition information;
wherein the obtaining the first condition information of the first service according to the service identifier of the first service in the session request message includes:
and determining the condition information of the first service in the condition information of each service in the at least one service according to the service identification of the first service in the session request message.
14. The communication method according to claim 12, wherein the first core network device is a mobility management device, the method further comprising:
receiving a fifth message from the terminal device, the fifth message being used for registering a core network providing the first service, the fifth message including a service identifier of the first service;
transmitting a sixth message to a unified data management device, wherein the sixth message is used for requesting first condition information of the first service identified by the service identification of the first service;
Acquiring first condition information of the first service identified by the service identification from unified data management equipment;
wherein the obtaining the first condition information of the first service according to the service identifier of the first service in the session request message includes:
and determining the first condition information of the first service corresponding to the service identifier of the first service in the session request message.
15. The communication method according to any one of claims 1 to 14, wherein the first core network device is a mobility management device;
wherein the sending the first information includes:
and sending the first information to session management equipment or policy management equipment, wherein the first information is specifically used for indicating that the first service of the terminal equipment does not meet the first condition.
16. The communication method according to claim 15, characterized in that the communication method further comprises:
and sending a service identifier of the first service to the session management device or the policy management device, wherein the first information is specifically used for indicating that the first service identified by the service identifier does not meet the first condition.
17. The communication method according to claim 15 or 16, characterized in that the communication method further comprises:
and receiving a seventh message sent by the policy management device, where the seventh message is used to subscribe whether the first service identified by the service identifier meets the first condition, and the first core network device is used to send the first information to the policy management device.
18. The communication method according to any one of claims 1 to 11, wherein the first core network device is a session management device; the communication method further includes:
wherein sending the first information includes:
and sending the first information to user plane equipment, wherein the first information is specifically used for indicating the user plane equipment to stop sending the first service to the terminal equipment.
19. The communication method according to claim 18, characterized in that the communication method further comprises:
and sending the service identifier of the first service to the user plane equipment, wherein the first information is specifically used for indicating the user plane equipment to stop sending the first service identified by the service identifier to the terminal equipment.
20. A method of communicating according to any of claims 10 to 13 or 18 or 19, wherein the session request message further comprises a service identity of a second service, the session request message being used to establish a session of the first service and the second service.
21. The communication method according to claim 20, characterized in that the communication method further comprises:
transmitting second information to user plane equipment, wherein the second information is used for indicating the user plane equipment to stop transmitting the second service identified by the service identification of the second service to the terminal equipment;
if the service corresponding to the session is the first service and the second service, the method further includes:
and sending third information to the user plane equipment, wherein the third information is used for releasing the session.
22. The communication method according to any one of claims 1 to 10, wherein the first core network device is a session management device, and the acquiring first condition information of the first service includes:
first condition information for the first service is received from a mobile management device.
23. A method of communicating according to any of claims 1 to 22, wherein the first service is a personal internet of things PIN related service.
24. A communication method, the method being adapted to a session management device, comprising:
receiving first information from a mobile management device, the first information being used to indicate that a first service of a terminal device does not meet a first condition;
and sending a first instruction to user plane equipment according to the first information, wherein the first instruction is used for indicating the user plane function equipment to stop sending the first service to the terminal equipment.
25. The communication method according to claim 24, characterized in that the communication method further comprises:
and receiving a service identification of the first service from the mobile management device, wherein the first information is specifically used for indicating that the first service identified by the service identification does not meet the first condition.
26. A communication method according to claim 24 or 25, characterized in that the communication method further comprises:
receiving second information from the mobile management device, the second information being used to indicate that a second service of the terminal device does not meet a second condition;
sending a second instruction to the user plane equipment according to the second information, wherein the second instruction is used for indicating the user plane equipment to stop sending the second service to the terminal equipment;
If the service corresponding to the session is the first service and the second service, the communication method further includes:
and sending third information to the user plane equipment, wherein the third information is used for releasing the session.
27. A method of communicating according to any of claims 24 to 26, wherein the first service is a personal internet of things PIN related service.
28. A communications device comprising a processor coupled to a memory, the processor for executing a computer program or instructions stored in the memory to cause the communications device to implement the method of any one of claims 1 to 27.
29. A computer readable storage medium storing computer instructions which, when run on an electronic device, cause the electronic device to perform the method of any one of claims 1 to 27.
CN202310096914.1A 2022-08-09 2023-01-17 Communication method and communication device Pending CN117596584A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2023/091773 WO2024032041A1 (en) 2022-08-09 2023-04-28 Communication method and communication apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2022109525974 2022-08-09
CN202210952597 2022-08-09

Publications (1)

Publication Number Publication Date
CN117596584A true CN117596584A (en) 2024-02-23

Family

ID=89915497

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310096914.1A Pending CN117596584A (en) 2022-08-09 2023-01-17 Communication method and communication device

Country Status (1)

Country Link
CN (1) CN117596584A (en)

Similar Documents

Publication Publication Date Title
US11844142B2 (en) Communications method and apparatus
US11653296B2 (en) Isolated network slice selection
KR102242297B1 (en) Method and apparatus for performing a cell specific procedure for network slice-based NR in a wireless communication system
EP3669591B1 (en) Network entity, user equipment and method for the control and use of network slices
US20200196130A1 (en) Ue configuration and update with network slice selection policy
US20220330361A1 (en) Method for establishing connection and obtaining relay service code and communications apparatus
EP3737151B1 (en) Mobile communication core network device and method for managing wireless communications after insertion of an intermediate-session management function
CN110278619B (en) PDU session establishment method and device
US20230069252A1 (en) Communication Method and Communication Apparatus
US20220264407A1 (en) Communications device, infrastructure equipment, core network element and methods
CN114051745A (en) System and method for dual SIM UE operation in 5G networks
WO2021031065A1 (en) A method of registration with access and mobility management function re-allocation
EP4185009A1 (en) Packet forwarding method, apparatus and system
CN114175770A (en) Method for registration with access and mobility management function reassignment
JP2023524903A (en) Communication method and device
EP3522668B1 (en) Method and device for trust relationship establishment
EP4181542A1 (en) Proximity service communication method, management network element, terminal device, and communication system
CN113747605B (en) Communication method and communication device
US10057871B2 (en) Data transmission method and base station
CN115884153A (en) Communication method and device
CN117596584A (en) Communication method and communication device
WO2024032041A1 (en) Communication method and communication apparatus
US20230239828A1 (en) Network registration method for traffic steering and device supporting the same
WO2023202337A1 (en) Communication method and apparatus
WO2023185561A1 (en) Communication method and communication apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication