Personal Internet of Things PIN management method / device / equipment and storage medium

CN118614089APending Publication Date: 2024-09-06BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380008071.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-01-06
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

In the existing technology, the gateway function member (PEGC) of the terminal device in the Personal Internet of Things (PIN) may manage the PIN dishonestly, or may not be able to communicate with the 5G core network in time due to signal coverage issues, resulting in inaccurate PIN management and the need to introduce New entities add system complexity and cost.

Method used

PINs are directly managed through network elements in the 5G core network, and PIN parameters are received and managed based on the PIN's validity time and expiration time to avoid PEGC's dishonest behavior and signal coverage problems without introducing new entities, reducing system complexity.

Benefits of technology

It achieves accurate management of PIN, saves resources, reduces system complexity, improves management efficiency, avoids PEGC's dishonest behavior and signal coverage problems, and ensures the normal operation of PIN.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118614089A
    Figure CN118614089A
Patent Text Reader

Abstract

The invention provides a PIN management method and device, equipment and a storage medium, and belongs to the technical field of communication. The method comprises the following steps: receiving PIN parameters corresponding to a PIN, wherein the PIN parameters comprise valid time and / or failure time of the PIN; and managing the PIN based on the valid time and / or the failure time of the PIN. According to the method disclosed by the invention, accurate management of the PIN is realized, resources can be saved, and the management efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

A personal Internet of Things PIN management method / device / equipment and storage medium Technical Field

[0001] The present disclosure relates to the field of communication technologies, and in particular to a PIN management method / device / equipment and a storage medium. Background Art

[0002] With the development of Internet of Things (IoT) technology, personal applications of IoT have been introduced. When IoT serves individuals, a Personal Internet of Things Network (PIN) is formed. The PIN includes multiple terminal devices (such as wearable devices, smart terminals, vehicle-mounted terminals, etc.), at least one terminal device in the PIN is a member with gateway function (PIN Element with Gateway Capability, PEGC), and at least one terminal device in the PIN is a member with management function (PIN Element with Management Capability, PEMC). The PEMC in the PIN is used to manage the terminal devices in the PIN. The PEGC in the PIN can communicate with the 5G core network (5 generation core, 5GC), and other terminal devices in the PIN can communicate with the 5GC through the PEGC. The PIN usually corresponds to a valid time. During the valid time of the PIN, the PIN is allowed to access the 5GC through the PEGC in the PIN to use the services of the 5GC. When the valid time of the PIN is exceeded, the PIN is not allowed to access the 5GC.

[0003] Summary of the Invention

[0004] The present disclosure provides a PIN management method, apparatus, device, and storage medium for managing PINs.

[0005] In a first aspect, an embodiment of the present disclosure provides a PIN management method, including:

[0006] receiving PIN parameters corresponding to the PIN, the PIN parameters including a validity period and / or an expiration period of the PIN;

[0007] The PIN is managed based on the validity period and / or expiration period of the PIN.

[0008] In the PIN management method provided by the present disclosure, the first network element will receive the PIN parameters corresponding to the PIN, and the PIN parameters include the validity time and / or expiration time of the PIN; thereafter, the first network element will manage the PIN based on the validity time and / or expiration time of the PIN. It can be seen that in the method of the present disclosure, the network element in the 5GC directly manages the PIN, rather than the PEGC in the PIN managing the PIN, thereby avoiding the phenomenon of "the PEGC in the PIN dishonestly managing the PIN, or the PEGC in the PIN being unable to communicate with the 5GC in time due to signal coverage issues" and achieving accurate management of the PIN. In addition, the method of the present disclosure does not require the introduction of new entities, which can save resources, reduce system complexity, and improve management efficiency.

[0009] In a second aspect, an embodiment of the present disclosure provides a PIN management method, including:

[0010] receiving a first management request or a first activation request, the first management request being used to request the second network element to release PIN resources corresponding to the PIN or to deactivate the PIN; the first activation request being used to request activation of the PIN;

[0011] The PIN is managed based on the first management request or the first activation request.

[0012] In a third aspect, an embodiment of the present disclosure provides a PIN management method, including:

[0013] receiving a second management request or a second activation request, where the second management request is used to request the first terminal device and / or the second terminal device to release the PIN resource corresponding to the PIN or deactivate the PIN; and the second activation request is used to request the first terminal device and / or the second terminal device to activate the PIN;

[0014] The PIN is managed based on the second management request or the second activation request.

[0015] In a fourth aspect, an embodiment of the present disclosure provides a PIN management method, including:

[0016] A first notification message or a second notification message is received, where the first notification message is used to notify the AF that a PIN resource corresponding to a PIN has been released or the PIN has been deactivated; and the second notification message is used to notify the AF that the PIN has been activated.

[0017] In a fifth aspect, an embodiment of the present disclosure provides a PIN management method, including:

[0018] receiving a third management request or a third activation request, wherein the third management request is used to request the UPF to release the PIN resources corresponding to the PIN or deactivate the PIN; the third activation request is used to request the UPF to activate the PIN;

[0019] The PIN is managed based on the third management request or the third activation request.

[0020] In a sixth aspect, an embodiment of the present disclosure provides a communication device, including:

[0021] A transceiver module, configured to receive PIN parameters corresponding to a PIN, wherein the PIN parameters include a validity period and / or an expiration period of the PIN;

[0022] The processing module is configured to manage the PIN based on the validity period and / or expiration period of the PIN.

[0023] In a seventh aspect, an embodiment of the present disclosure provides a communication device, including:

[0024] a transceiver module, configured to receive a first management request or a first activation request, wherein the first management request is used to request the second network element to release the PIN resource corresponding to the PIN or deactivate the PIN; and the first activation request is used to request activation of the PIN;

[0025] A processing module is configured to manage the PIN based on the first management request or the first activation request.

[0026] In an eighth aspect, an embodiment of the present disclosure provides a communication device, including:

[0027] a transceiver module, configured to receive a second management request or a second activation request, wherein the second management request is used to request the first terminal device and / or the second terminal device to release the PIN resource corresponding to the PIN or deactivate the PIN; and the second activation request is used to request the first terminal device and / or the second terminal device to activate the PIN;

[0028] A processing module is configured to manage the PIN based on the second management request or the second activation request.

[0029] In a ninth aspect, an embodiment of the present disclosure provides a communication device, including:

[0030] The transceiver module is used to receive a first notification message or a second notification message, the first notification message is used to notify the AF that the PIN resource corresponding to the PIN has been released or the PIN has been deactivated; the second notification message is used to notify the AF that the PIN has been activated.

[0031] In a tenth aspect, an embodiment of the present disclosure provides a communication device, including:

[0032] a transceiver module, configured to receive a third management request or a third activation request, wherein the third management request is used to request the UPF to release the PIN resources corresponding to the PIN or deactivate the PIN; and the third activation request is used to request the UPF to activate the PIN;

[0033] A processing module is configured to manage the PIN based on the third management request or the third activation request.

[0034] In an eleventh aspect, an embodiment of the present disclosure provides a communication device, which includes a processor. When the processor calls a computer program in a memory, the method described in any one of the first to fifth aspects above is executed.

[0035] In the twelfth aspect, an embodiment of the present disclosure provides a communication device, which includes a processor and a memory, in which a computer program is stored; the processor executes the computer program stored in the memory so that the communication device executes the method described in any one of the first to fifth aspects above.

[0036] In the thirteenth aspect, an embodiment of the present disclosure provides a communication device, which includes a processor and an interface circuit, wherein the interface circuit is used to receive code instructions and transmit them to the processor, and the processor is used to run the code instructions to enable the device to execute the method described in any one of the first to fifth aspects above.

[0037] In the fourteenth aspect, an embodiment of the present disclosure provides a communication system, which includes the communication device described in the sixth aspect to the communication device described in the tenth aspect, or the system includes the communication device described in the eleventh aspect, or the system includes the communication device described in the twelfth aspect, or the system includes the communication device described in the thirteenth aspect.

[0038] In the fifteenth aspect, an embodiment of the present invention provides a computer-readable storage medium for storing instructions used by the above-mentioned network device. When the instructions are executed, the terminal device executes the method described in any one of the above-mentioned aspects from the first to the fifth aspects.

[0039] In a sixteenth aspect, the present disclosure further provides a computer program product comprising a computer program, which, when executed on a computer, enables the computer to execute the method described in any one of the first to fifth aspects above.

[0040] In a seventeenth aspect, the present disclosure provides a chip system comprising at least one processor and an interface for supporting a network device in implementing the functions described in any one of aspects one to five, for example, determining or processing at least one of the data and information involved in the above method. In one possible design, the chip system further comprises a memory for storing computer programs and data necessary for the source slave node. The chip system may be composed of a chip or may include a chip and other discrete devices.

[0041] In an eighteenth aspect, the present disclosure provides a computer program, which, when executed on a computer, enables the computer to execute the method described in any one of the first to fifth aspects above.

[0042] In a nineteenth aspect, the present disclosure provides a PIN management method, the method being executed by a core network device, the core network device including a first network element, a second network element, and a UPF, the method including:

[0043] The first network element receives PIN parameters corresponding to the PIN, where the PIN parameters include a validity period and / or an expiration period of the PIN;

[0044] The first network element manages the PIN based on the validity period and / or expiration period of the PIN;

[0045] The first network element sends a first management request or a first activation request to the second network element, where the first management request is used to request the second network element to release PIN resources corresponding to the PIN or deactivate the PIN; and the first activation request is used to request activation of the PIN;

[0046] The second network element receives the first management request or the first activation request, and manages the PIN based on the first management request or the first activation request;

[0047] The second network element sends a third management request or a third activation request to the UPF, where the third management request is used to request the UPF to release the PIN resources corresponding to the PIN or deactivate the PIN; and the third activation request is used to request the UPF to activate the PIN.

[0048] The UPF receives the third management request or the third activation request, and manages the PIN based on the third management request or the third activation request. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] The above and / or additional aspects and advantages of the present disclosure will become apparent and readily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0050] FIG1 is a schematic diagram of the architecture of a communication system provided by an embodiment of the present disclosure;

[0051] FIG1 is a flow chart of a PIN management method provided by another embodiment of the present disclosure;

[0052] FIG2 is a flow chart of a PIN management method provided in another embodiment of the present disclosure;

[0053] FIG3 a is a flow chart of a PIN management method provided in yet another embodiment of the present disclosure;

[0054] FIG3 b is a flow chart of a PIN management method provided in yet another embodiment of the present disclosure;

[0055] FIG4 a is a flow chart of a PIN management method provided by another embodiment of the present disclosure;

[0056] FIG4 b is a flow chart of a PIN management method provided by yet another embodiment of the present disclosure;

[0057] FIG5 is a flow chart of a PIN management method provided in another embodiment of the present disclosure;

[0058] FIG6 is a flow chart of a PIN management method provided in yet another embodiment of the present disclosure;

[0059] FIG7 is a flow chart of a PIN management method provided in yet another embodiment of the present disclosure;

[0060] FIG8 is a flow chart of a PIN management method provided by one embodiment of the present disclosure;

[0061] FIG9 a is a flow chart of a PIN management method provided by an embodiment of the present disclosure;

[0062] FIG9 b is a flow chart of a PIN management method provided by an embodiment of the present disclosure;

[0063] FIG10 is a flow chart of a PIN management method provided by one embodiment of the present disclosure;

[0064] FIG11 is a flow chart of a PIN management method provided by an embodiment of the present disclosure;

[0065] FIG12 is a flow chart of a PIN management method provided by one embodiment of the present disclosure;

[0066] FIG13 is a flow chart of a PIN management method provided by one embodiment of the present disclosure;

[0067] FIG14 is a flow chart of a PIN management method provided by one embodiment of the present disclosure;

[0068] FIG15 is a flow chart of a PIN management method provided by one embodiment of the present disclosure;

[0069] FIG16a is a flow chart of a PIN management method provided by an embodiment of the present disclosure;

[0070] FIG16 b is a flow chart of a PIN management method provided by one embodiment of the present disclosure;

[0071] FIG17 is a schematic structural diagram of a communication device provided by an embodiment of the present disclosure;

[0072] FIG18 is a schematic structural diagram of a communication device provided by another embodiment of the present disclosure;

[0073] FIG19 is a schematic structural diagram of a communication device provided by an embodiment of the present disclosure;

[0074] FIG20 is a schematic structural diagram of a communication device provided by an embodiment of the present disclosure;

[0075] FIG21 is a schematic structural diagram of a communication device provided by an embodiment of the present disclosure;

[0076] FIG22 is a block diagram of a user equipment provided by one embodiment of the present disclosure;

[0077] FIG23 is a block diagram of a network-side device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0078] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.

[0079] The terms used in the embodiments of the present disclosure are for the purpose of describing specific embodiments only and are not intended to limit the embodiments of the present disclosure. The singular forms "a," "an," and "the" used in the embodiments of the present disclosure and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0080] It should be understood that although the terms first, second, third, etc. may be used to describe various information in the embodiments of the present disclosure, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of the embodiments of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" and "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0081] The embodiments of the present disclosure are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and should not be understood as limiting the present disclosure.

[0082] To facilitate understanding, the terms involved in this application are first introduced.

[0083] 1. Personal Internet of Things Network (PIN)

[0084] The use of IoT devices in the home and the use of close proximity communication between people creates a PIN. A PIN network is defined as "a group of connected devices primarily concentrated in the home and near an individual." A PIN network communicates with external networks through a local gateway. For example, a user sitting in a car and connecting to the car with a smartphone or any other IoT device creates a PIN.

[0085] 2. Access and Mobility Management Function (AMF) network element

[0086] Supports terminal devices with different mobility management requirements. It performs the following key tasks: non-access stratum (NAS) signaling termination; NAS signaling security; access stratum security control; core network inter-node signaling for mobility between 3rd Generation Partnership Project (3GPP) access networks; idle mode terminal device reachability (including control and execution of paging retransmissions); registration area management; support for intra-system and inter-system mobility; access authentication; access authorization, including roaming rights checks; mobility management control (subscription and policy); support for network slicing; and session management function (SMF) selection.

[0087] 3. Unified Data Management (UDM)

[0088] Carries functions related to data management, such as the Authentication Credential Repository and Processing Function (ARPF), which can select the authentication method based on the user identity and configured policies, and calculate authentication data and keys for the Authentication Server Function (AUSF) when needed.

[0089] 4. Application Function (AF)

[0090] AF is an application function that can interact with the 5G network through the Network Exposure Function (NEF) interface to exchange information, such as service transmission requirements, policies and other parameters, to influence the transmission of related services.

[0091] Optionally, in a communication system, the PIN is usually managed based on the effective time of the PIN using the following method.

[0092] Method 1: The PEMC in the PIN obtains the validity period of the PIN. When the validity period of the PIN is exceeded, the PEMC sends an instruction signaling to the PIN controller (CTL) entity to instruct the release or deactivation of the PIN.

[0093] Method 2: Use the PINCTL entity to obtain the validity period of the PIN. When the validity period of the PIN is exceeded, the PINCTL entity sends an indication signaling to each network element in the 5GC to instruct the release or deactivation of the PIN.

[0094] However, in the first related art method, the PEMC in the PIN may not honestly send an indication signaling when the PIN's validity period has expired. For example, the PEMC in the PIN may send an indication signaling when the PIN's validity period has not expired, or the PEMC in the PIN may not send an indication signaling when the PIN's validity period has expired. Alternatively, the PEMC in the PIN may be unable to send an indication signaling due to a lack of signal coverage when the PIN's validity period has expired, thereby affecting the management of the PIN. Furthermore, both the first and second related art methods require the introduction of a new entity (i.e., the PINCTL entity) to manage the PIN. However, the introduction of a new entity increases system complexity, overhead, and cost.

[0095] Based on this, the present disclosure provides a PIN management method.

[0096] In order to better understand the PIN management method disclosed in the embodiment of the present disclosure, the communication system to which the embodiment of the present disclosure is applicable is first described below.

[0097] Please refer to Figure 1, which is a schematic diagram of the architecture of a communication system provided by an embodiment of the present disclosure. The communication system may include but is not limited to a first network element, a second network element, an AF, a first terminal device and / or a second terminal device, and a user plane function (UPF). Optionally, the number and form of devices shown in Figure 1 are used for example and do not constitute a limitation on the embodiment of the present disclosure. In actual applications, one or more first network elements, or one or more second network elements, or one or more AFs, or one or more first terminal devices, or one or more second terminal devices, or one or more UPFs may be included. Optionally, the communication system shown in Figure 1 includes a first network element, a second network element, an AF, a first terminal device, a second terminal device, and a UPF as an example.

[0098] It should be noted that the technical solutions of the embodiments of the present disclosure can be applied to various communication systems, such as long-term evolution (LTE) systems, fifth-generation (5G) mobile communication systems, 5G new radio (NR) systems, or other future new mobile communication systems.

[0099] In the embodiments of the present disclosure, the first terminal device or the second terminal device can be an entity on the user side for receiving or transmitting signals, such as a mobile phone. The first terminal device or the second terminal device can also be referred to as a terminal, user equipment (UE), mobile station (MS), mobile terminal (MT), etc. The first terminal device or the second terminal device can be a car with communication functions, a smart car, a mobile phone, a wearable device, a tablet computer (Pad), a computer with wireless transceiver functions, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal device in industrial control, a wireless terminal device in self-driving, a wireless terminal device in remote medical surgery, a wireless terminal device in a smart grid, a wireless terminal device in transportation safety, a wireless terminal device in a smart city, a wireless terminal device in a smart home, etc. The embodiments of the present disclosure do not limit the specific technology and specific device form adopted by the UE.

[0100] It can be understood that the communication system described in the embodiment of the present disclosure is for the purpose of more clearly illustrating the technical solution of the embodiment of the present disclosure, and does not constitute a limitation on the technical solution provided by the embodiment of the present disclosure. Ordinary technicians in this field can know that with the evolution of the system architecture and the emergence of new business scenarios, the technical solution provided by the embodiment of the present disclosure is also applicable to similar technical problems.

[0101] The PIN management method, apparatus, device, and storage medium provided by the embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.

[0102] It should be noted that in the present disclosure, the PIN management method provided in any embodiment can be executed alone, and any implementation method in the embodiment can also be executed alone, or combined with other embodiments, or possible implementation methods in other embodiments, and can also be executed together with any technical solution in the related technology.

[0103] FIG2 is a flow chart of a PIN management method provided by an embodiment of the present disclosure. The method is executed by a first network element. As shown in FIG2 , the PIN management method may include the following steps:

[0104] Step 201: Receive PIN parameters corresponding to the PIN.

[0105] For an introduction to the concept of PIN, please refer to the glossary section in the previous description.

[0106] Optionally, in one embodiment of the present disclosure, the first network element may include at least one of the following:

[0107] UDM;

[0108] NEF;

[0109] Policy Control Function (PCF);

[0110] Unified data repository (UDR).

[0111] Optionally, in one embodiment of the present disclosure, the PIN parameters may include the validity period and / or expiration period of the PIN. The validity period may, for example, be the time during which the payment fee of the PIN supports the PIN to access 5GC. Optionally, the PIN may request access to 5GC to use 5GC services by paying a fee to the operator, wherein the time during which the fee paid by the PIN supports the PIN to access 5GC may be the validity period of the PIN. When the validity period is exceeded, the PIN is no longer allowed to use the services of 5GC. When the PIN is renewed, the PIN will be allowed to use the services of 5GC again.

[0112] In one embodiment of the present disclosure, the valid time may be a valid time period, which indicates that the PIN can access the 5GC during the valid time period. For example, the valid time period may be, for example, 15:00 to 23:00 of Coordinated Universal Time (UTC). Alternatively, in one embodiment of the present disclosure, the valid time may be a validity period, which indicates that from a certain point in time (such as the point in time when the PIN starts accessing the 5GC), the PIN can access the 5GC within the validity period. If the validity period is exceeded, it is considered that the validity period of the PIN has been exceeded. For example, the validity period may be, for example, 30 minutes or 1 hour.

[0113] In one embodiment of the present disclosure, the invalidation time may be an invalidation period, indicating that the PIN cannot access the 5GC during the invalidation period. For example, the invalidation period may be from 15:00 UTC to 23:00 UTC. Alternatively, in one embodiment of the present disclosure, the invalidation time may be an invalidation period, indicating that the PIN cannot access the 5GC from a certain point in time (e.g., from the point in time when the PIN stops accessing the 5GC) during the invalidation period. For example, the validation period may be 30 minutes or 1 hour.

[0114] Optionally, in one embodiment of the present disclosure, the PIN parameter may further include a PIN identification (ID).

[0115] Optionally, the PIN parameter may be sent by the AF to the first network element. The PIN parameter may be sent by the AF to the first network element when the PIN is registered with the AF, or may be sent by the AF to the first network element when the PIN parameter is updated.

[0116] Step 202: Manage the PIN based on the validity period and / or expiration period of the PIN.

[0117] Optionally, in one embodiment of the present disclosure, the above-mentioned "managing PIN based on the valid time and / or expiration time of the PIN" may include: if the current time exceeds the valid time of the PIN, and / or if the current time reaches the expiration time of the PIN, releasing the PIN resources corresponding to the PIN. The releasing of the PIN resources corresponding to the PIN may include: releasing the context information of the PIN stored locally. By releasing the context information of the PIN, the first network element may no longer respond to the service corresponding to the PIN, thereby making it impossible for the PIN to communicate with the first network element and, further, unable to use the services in the 5GC. In one embodiment of the present disclosure, the above-mentioned "release" is only an illustrative explanation of the present disclosure. It should be understood that "release" has the same meaning as "not save", "delete", "eliminate", "log out" and other words. Other synonymous conversions of "release" are within the scope of protection of the present disclosure.

[0118] Optionally, in another embodiment of the present disclosure, the above-mentioned "managing PIN based on the valid time and / or expiration time of PIN" may include: if the current time exceeds the valid time of PIN, and / or, if the current time reaches the expiration time of PIN, deactivating PIN; if the current time reaches the valid time of PIN, activating PIN. Deactivating PIN may include: not processing the service corresponding to PIN, that is, not responding to the service corresponding to PIN, and deactivating PIN may make PIN unable to use the service in 5GC. The difference between "deactivating PIN" and the aforementioned "PIN resources corresponding to PIN" is that when deactivating PIN, only the service corresponding to PIN is not processed (or no longer responded), but the PIN resources corresponding to PIN are not released. Optionally, activating PIN may include: processing (or responding) the service corresponding to PIN, and activating PIN may enable PIN to use the service in 5GC.

[0119] In summary, in the PIN management method provided by the embodiment of the present disclosure, the first network element will receive the PIN parameters corresponding to the PIN, and the PIN parameters include the valid time and / or expiration time of the PIN; thereafter, the first network element will manage the PIN based on the valid time and / or expiration time of the PIN. It can be seen that in the method of the present disclosure, the network element in the 5GC directly manages the PIN, rather than the PEGC in the PIN managing the PIN, thereby avoiding the phenomenon of "the PEGC in the PIN dishonestly managing the PIN, or the PEGC in the PIN being unable to communicate with the 5GC in time due to signal coverage issues" and achieving accurate management of the PIN. In addition, the method of the present disclosure does not need to introduce new entities, which can save resources, reduce system complexity, and improve management efficiency.

[0120] FIG3a is a flow chart of a PIN management method provided by an embodiment of the present disclosure. The method is executed by a first network element. As shown in FIG3a , the PIN management method may include the following steps:

[0121] Step 301a: Send a first management request to the second network element, where the first management request is used to request the second network element to release PIN resources corresponding to the PIN or deactivate the PIN.

[0122] Optionally, the first management request may be sent to the second network element when the first network element determines to release PIN resources corresponding to the PIN or to deactivate the PIN. The first management request may also include the PIN ID of the PIN to inform the second network element of which PIN resources corresponding to the PIN are to be released or which PIN is to be deactivated.

[0123] Optionally, in one embodiment of the present disclosure, the second network element may include at least one of the following:

[0124] AMF network element;

[0125] Session Management Function (SMF) network element.

[0126] Optionally, in one embodiment of the present disclosure, when the first network element is an AMF network element, the first management request may include an identifier of the first terminal device and / or an identifier of the second terminal device, wherein the first terminal device may be: PEGC in the PIN, and the second terminal device may be: PEMC in the PIN. Optionally, by sending the identifier of the first terminal device and / or the identifier of the second terminal device to the AMF network element, the subsequent AMF network element can send an instruction to the first terminal device and / or the second terminal device based on the identifier of the first terminal device and / or the identifier of the second terminal device, to instruct the first terminal device and / or the second terminal device to release the PIN resources corresponding to the PIN or deactivate the PIN.

[0127] In summary, the PIN management method provided by the embodiments of the present disclosure directly manages PINs by the network elements in the 5GC, rather than by the PEGC in the PIN. This avoids the phenomenon of the PEGC in the PIN dishonestly managing the PIN, or the PEGC in the PIN being unable to communicate with the 5GC in a timely manner due to signal coverage issues, thereby achieving accurate PIN management. Furthermore, the method of the present disclosure does not require the introduction of new entities, thus saving resources, reducing system complexity, and improving management efficiency.

[0128] FIG3 b is a flow chart of a PIN management method provided by an embodiment of the present disclosure. The method is executed by a first network element. As shown in FIG3 b , the PIN management method may include the following steps:

[0129] Step 301b: Send a first management request to the AMF network element, where the first management request is used to request the AMF network element to release the PIN resources corresponding to the PIN or deactivate the PIN.

[0130] Optionally, the first management request may be sent to the AMF network element when the first network element determines to release the PIN resources corresponding to the PIN or deactivate the PIN. The first management request may also include the PIN ID of the PIN to inform the AMF of which PIN resources corresponding to the PIN are to be released or which PIN is to be deactivated.

[0131] Optionally, in one embodiment of the present disclosure, the first management request may include an identifier of the first terminal device and / or an identifier of the second terminal device, wherein the first terminal device may be: PEGC in the PIN, and the second terminal device may be: PEMC in the PIN. Optionally, by sending the identifier of the first terminal device and / or the identifier of the second terminal device to the AMF network element, the subsequent AMF network element can send an instruction to the first terminal device and / or the second terminal device based on the identifier of the first terminal device and / or the identifier of the second terminal device, to instruct the first terminal device and / or the second terminal device to release the PIN resources corresponding to the PIN or deactivate the PIN.

[0132] In summary, the PIN management method provided by the embodiments of the present disclosure directly manages PINs by the network elements in the 5GC, rather than by the PEGC in the PIN. This avoids the phenomenon of the PEGC in the PIN dishonestly managing the PIN, or the PEGC in the PIN being unable to communicate with the 5GC in a timely manner due to signal coverage issues, thereby achieving accurate PIN management. Furthermore, the method of the present disclosure does not require the introduction of new entities, thus saving resources, reducing system complexity, and improving management efficiency.

[0133] FIG4a is a flow chart of a PIN management method provided by an embodiment of the present disclosure. The method is executed by a first network element. As shown in FIG4a , the PIN management method may include the following steps:

[0134] Step 401a: Send a first activation request to the second network element, where the first activation request is used to request activation of the PIN.

[0135] Optionally, the first activation request may be sent to the second network element when the first network element determines to activate the PIN. The first activation request may also include the PIN ID of the PIN, so as to inform the second network element which PIN is to be activated.

[0136] Optionally, in one embodiment of the present disclosure, the second network element may include at least one of the following:

[0137] AMF network element;

[0138] SMF network element.

[0139] Optionally, in one embodiment of the present disclosure, when the first network element is an AMF network element, the first activation request may include an identifier of the first terminal device and / or an identifier of the second terminal device, wherein the first terminal device may be: PEGC in the PIN, and the second terminal device may be: PEMC in the PIN. Optionally, by sending the identifier of the first terminal device and / or the identifier of the second terminal device to the AMF network element, the AMF network element can subsequently send an instruction to the first terminal device and / or the second terminal device based on the identifier of the first terminal device and / or the identifier of the second terminal device, instructing the first terminal device and / or the second terminal device to activate the PIN.

[0140] In summary, the PIN management method provided by the embodiments of the present disclosure directly manages PINs by the network elements in the 5GC, rather than by the PEGC in the PIN. This avoids the phenomenon of the PEGC in the PIN dishonestly managing the PIN, or the PEGC in the PIN being unable to communicate with the 5GC in a timely manner due to signal coverage issues, thereby achieving accurate PIN management. Furthermore, the method of the present disclosure does not require the introduction of new entities, thus saving resources, reducing system complexity, and improving management efficiency.

[0141] FIG4 b is a flow chart of a PIN management method provided by an embodiment of the present disclosure. The method is executed by a first network element. As shown in FIG4 b , the PIN management method may include the following steps:

[0142] Step 401b: Send a first activation request to the AMF network element, where the first activation request is used to request activation of the PIN.

[0143] Optionally, the first activation request may be sent to the AMF network element when the first network element determines to activate the PIN. The first activation request may also include the PIN ID of the PIN to inform the AMF which specific PIN is to be activated.

[0144] Optionally, in one embodiment of the present disclosure, the first activation request may include an identifier of the first terminal device and / or an identifier of the second terminal device, wherein the first terminal device may be: PEGC in the PIN, and the second terminal device may be: PEMC in the PIN. Optionally, by sending the identifier of the first terminal device and / or the identifier of the second terminal device to the AMF network element, the subsequent AMF network element can send an instruction to the first terminal device and / or the second terminal device based on the identifier of the first terminal device and / or the identifier of the second terminal device, instructing the first terminal device and / or the second terminal device to activate the PIN.

[0145] In summary, the PIN management method provided by the embodiments of the present disclosure directly manages PINs by the network elements in the 5GC, rather than by the PEGC in the PIN. This avoids the phenomenon of the PEGC in the PIN dishonestly managing the PIN, or the PEGC in the PIN being unable to communicate with the 5GC in a timely manner due to signal coverage issues, thereby achieving accurate PIN management. Furthermore, the method of the present disclosure does not require the introduction of new entities, thus saving resources, reducing system complexity, and improving management efficiency.

[0146] FIG5 is a flow chart of a PIN management method provided by an embodiment of the present disclosure. The method is executed by a first network element. As shown in FIG5 , the PIN management method may include the following steps:

[0147] Step 501: Send a first notification message to an AF, where the first notification message is used to notify the AF that a PIN resource corresponding to a PIN has been released or the PIN has been deactivated.

[0148] Optionally, the first notification message may be sent to the AF when the first network element has released the PIN resources corresponding to the PIN or has deactivated the PIN, so as to notify the AF that the PIN resources corresponding to the PIN have been released or the PIN has been deactivated. The AF may then perform corresponding operations on the PIN, such as releasing the PIN resources corresponding to the PIN, or deactivating the PIN, or renewing the activation or creating a new PIN, etc.

[0149] Optionally, the first notification message may further include the PIN ID of the PIN, so as to inform the AF which PIN corresponding to which PIN resource has been released or which PIN has been deactivated.

[0150] In summary, the PIN management method provided by the embodiments of the present disclosure directly manages PINs by the network elements in the 5GC, rather than by the PEGC in the PIN. This avoids the phenomenon of the PEGC in the PIN dishonestly managing the PIN, or the PEGC in the PIN being unable to communicate with the 5GC in a timely manner due to signal coverage issues, thereby achieving accurate PIN management. Furthermore, the method of the present disclosure does not require the introduction of new entities, thus saving resources, reducing system complexity, and improving management efficiency.

[0151] FIG6 is a flow chart of a PIN management method provided in an embodiment of the present disclosure. The method is executed by a first network element. As shown in FIG6 , the PIN management method may include the following steps:

[0152] Step 601: Send a second notification message to the AF, where the second notification message is used to notify the AF that the PIN has been activated.

[0153] Optionally, the second notification message may be sent to the AF when the first network element has activated the PIN, so as to notify the AF that the PIN resource corresponding to the PIN has been activated. The AF may then perform corresponding operations on the PIN, such as activating the PIN.

[0154] Optionally, the second notification message may further include the PIN ID of the PIN, so as to inform the AF which PIN has been activated.

[0155] In summary, the PIN management method provided by the embodiments of the present disclosure directly manages PINs by the network elements in the 5GC, rather than by the PEGC in the PIN. This avoids the phenomenon of the PEGC in the PIN dishonestly managing the PIN, or the PEGC in the PIN being unable to communicate with the 5GC in a timely manner due to signal coverage issues, thereby achieving accurate PIN management. Furthermore, the method of the present disclosure does not require the introduction of new entities, thus saving resources, reducing system complexity, and improving management efficiency.

[0156] FIG7 is a flow chart of a PIN management method provided in an embodiment of the present disclosure. The method is executed by a first network element. As shown in FIG7 , the PIN management method may include the following steps:

[0157] Step 701: Send a first management request to the SMF network element, where the first management request is used to request the SMF network element to release the PIN resources corresponding to the PIN or deactivate the PIN.

[0158] Optionally, the first management request may be sent to the SMF network element when the first network element determines to release the PIN resources corresponding to the PIN or deactivate the PIN. The first management request may also include the PIN ID of the PIN to inform the SMF which PIN resources corresponding to the PIN are to be released or which PIN is to be deactivated.

[0159] In summary, the PIN management method provided by the embodiments of the present disclosure directly manages PINs by the network elements in the 5GC, rather than by the PEGC in the PIN. This avoids the phenomenon of the PEGC in the PIN dishonestly managing the PIN, or the PEGC in the PIN being unable to communicate with the 5GC in a timely manner due to signal coverage issues, thereby achieving accurate PIN management. Furthermore, the method of the present disclosure does not require the introduction of new entities, thus saving resources, reducing system complexity, and improving management efficiency.

[0160] FIG8 is a flow chart of a PIN management method provided in an embodiment of the present disclosure. The method is executed by a first network element. As shown in FIG8 , the PIN management method may include the following steps:

[0161] Step 801: Send a first activation request to the SMF network element, where the first activation request is used to request activation of a PIN.

[0162] Optionally, the first activation request may be sent to the SMF network element when the first network element determines to activate the PIN. The first activation request may also include the PIN ID of the PIN to inform the SMF which PIN is to be activated.

[0163] In summary, the PIN management method provided by the embodiments of the present disclosure directly manages PINs by the network elements in the 5GC, rather than by the PEGC in the PIN. This avoids the phenomenon of the PEGC in the PIN dishonestly managing the PIN, or the PEGC in the PIN being unable to communicate with the 5GC in a timely manner due to signal coverage issues, thereby achieving accurate PIN management. Furthermore, the method of the present disclosure does not require the introduction of new entities, thus saving resources, reducing system complexity, and improving management efficiency.

[0164] FIG9a is a flow chart of a PIN management method provided by an embodiment of the present disclosure. The method is executed by a second network element. As shown in FIG9a , the PIN management method may include the following steps:

[0165] Step 901a: Receive a first management request or a first activation request. The first management request is used to request the second network element to release PIN resources corresponding to the PIN or deactivate the PIN; the first activation request is used to request activation of the PIN.

[0166] For the introduction of the first management request or the first activation request, reference may be made to the description of the above embodiment.

[0167] Step 902a: Manage the PIN based on the first management request or the first activation request.

[0168] Optionally, in one embodiment of the present disclosure, managing the PIN based on the first management request may include at least one of the following:

[0169] Release the PIN resource corresponding to the PIN;

[0170] Deactivate the PIN.

[0171] Optionally, the second network element may include at least one of the following:

[0172] AMF network element;

[0173] SMF network element.

[0174] For the AMF network element, the method for releasing the PIN resources corresponding to the PIN may include at least one of the following:

[0175] Release PIN context information;

[0176] The first policy associated with the PIN is terminated, where the first policy is a mobility management policy for the PIN.

[0177] For an SMF network element, a method for releasing PIN resources corresponding to a PIN may include at least one of the following:

[0178] Release PIN context information;

[0179] The second policy associated with the PIN is terminated, where the second policy may be a session policy associated with the PIN, for example, a Protocol Data Unit (PDU) session associated with the PIN may be terminated.

[0180] Optionally, managing the PIN based on the first activation request may include:

[0181] Activate PIN.

[0182] For the related introduction of “deactivating PIN” and “activating PIN”, please refer to the above embodiments.

[0183] In summary, the PIN management method provided by the embodiments of the present disclosure directly manages PINs by the network elements in the 5GC, rather than by the PEGC in the PIN. This avoids the phenomenon of the PEGC in the PIN dishonestly managing the PIN, or the PEGC in the PIN being unable to communicate with the 5GC in a timely manner due to signal coverage issues, thereby achieving accurate PIN management. Furthermore, the method of the present disclosure does not require the introduction of new entities, thus saving resources, reducing system complexity, and improving management efficiency.

[0184] FIG9 b is a flow chart of a PIN management method provided in an embodiment of the present disclosure. The method is executed by an AMF network element. As shown in FIG9 b , the PIN management method may include the following steps:

[0185] Step 901b: Receive a first management request or a first activation request. The first management request is used to request the AMF network element to release the PIN resources corresponding to the PIN or deactivate the PIN; the first activation request is used to request activation of the PIN.

[0186] For the introduction of the first management request or the first activation request, reference may be made to the description of the above embodiment.

[0187] Step 902b: Manage the PIN based on the first management request or the first activation request.

[0188] Optionally, in one embodiment of the present disclosure, managing the PIN based on the first management request may include at least one of the following:

[0189] Release the PIN resource corresponding to the PIN;

[0190] Deactivate the PIN.

[0191] Optionally, for an AMF network element, a method for releasing PIN resources corresponding to a PIN may include at least one of the following:

[0192] Release PIN context information;

[0193] The first policy associated with the PIN is terminated, where the first policy is a mobility management policy for the PIN.

[0194] Optionally, managing the PIN based on the first activation request may include:

[0195] Activate PIN.

[0196] For the related introduction of “deactivating PIN” and “activating PIN”, please refer to the above embodiments.

[0197] In summary, the PIN management method provided by the embodiments of the present disclosure directly manages PINs by the network elements in the 5GC, rather than by the PEGC in the PIN. This avoids the phenomenon of the PEGC in the PIN dishonestly managing the PIN, or the PEGC in the PIN being unable to communicate with the 5GC in a timely manner due to signal coverage issues, thereby achieving accurate PIN management. Furthermore, the method of the present disclosure does not require the introduction of new entities, thus saving resources, reducing system complexity, and improving management efficiency.

[0198] FIG10 is a flow chart of a PIN management method provided in an embodiment of the present disclosure. The method is executed by an AMF network element. As shown in FIG10 , the PIN management method may include the following steps:

[0199] Step 1001: Receive a first management request or a first activation request, which includes an identifier of a first terminal device and / or an identifier of a second terminal device, wherein the first terminal device is: PEGC in PIN, and the second terminal device is: PEMC in PIN.

[0200] For the relevant introduction of step 1001 , please refer to the description of the above embodiment.

[0201] Step 1002: Send a second management request or a second activation request to the first terminal device and / or the second terminal device.

[0202] Optionally, in one embodiment of the present disclosure, the second management request is used to request the first terminal device and / or the second terminal device to release the PIN resources corresponding to the PIN or deactivate the PIN; the second activation request is used to request the first terminal device and / or the second terminal device to activate the PIN.

[0203] Optionally, the AMF network element may also receive a response message sent by the first terminal device and / or the second terminal device. Optionally, the response message may be used to indicate that the first terminal device and / or the second terminal device receives a release or deactivation PIN.

[0204] In summary, the PIN management method provided by the embodiments of the present disclosure directly manages PINs by the network elements in the 5GC, rather than by the PEGC in the PIN. This avoids the phenomenon of the PEGC in the PIN dishonestly managing the PIN, or the PEGC in the PIN being unable to communicate with the 5GC in a timely manner due to signal coverage issues, thereby achieving accurate PIN management. Furthermore, the method of the present disclosure does not require the introduction of new entities, thus saving resources, reducing system complexity, and improving management efficiency.

[0205] FIG11 is a flow chart of a PIN management method provided in an embodiment of the present disclosure. The method is executed by the first terminal device and / or the second terminal device. As shown in FIG11 , the PIN management method may include the following steps:

[0206] Step 1101: Receive a second management request or a second activation request. The second management request is used to request the first terminal device and / or the second terminal device to release the PIN resources corresponding to the PIN or deactivate the PIN; the second activation request is used to request the first terminal device and / or the second terminal device to activate the PIN.

[0207] Step 1102: Manage the PIN based on the second management request or the second activation request.

[0208] Optionally, in one embodiment of the present disclosure, managing the PIN based on the second management request may include at least one of the following:

[0209] Release the PIN resource corresponding to the PIN;

[0210] Deactivate the PIN.

[0211] Optionally, for the first terminal device and / or the second terminal device, the method of releasing the PIN resources corresponding to the PIN may include: releasing the context information of the PIN, so that the first terminal device no longer plays the role of PEGC in the PIN, and / or, so that the second terminal device no longer plays the role of PEMC in the PIN.

[0212] Optionally, managing the PIN based on the first activation request may include:

[0213] Activate PIN.

[0214] For the related introduction of “deactivating PIN” and “activating PIN”, please refer to the above embodiments.

[0215] Optionally, in one embodiment of the present disclosure, the first terminal device and / or the second terminal device may further send a response message to the AMF network element. Optionally, the response message may be used to indicate that the first terminal device and / or the second terminal device receives a release or deactivation PIN.

[0216] In summary, the PIN management method provided by the embodiments of the present disclosure directly manages PINs by the network elements in the 5GC, rather than by the PEGC in the PIN. This avoids the phenomenon of the PEGC in the PIN dishonestly managing the PIN, or the PEGC in the PIN being unable to communicate with the 5GC in a timely manner due to signal coverage issues, thereby achieving accurate PIN management. Furthermore, the method of the present disclosure does not require the introduction of new entities, thus saving resources, reducing system complexity, and improving management efficiency.

[0217] FIG12 is a flow chart of a PIN management method provided by an embodiment of the present disclosure. The method is executed by an AF. As shown in FIG12 , the PIN management method may include the following steps:

[0218] Step 1201: Receive a first notification message or a second notification message. The first notification message is used to notify the AF that the PIN resource corresponding to the PIN has been released or the PIN has been deactivated; the second notification message is used to notify the AF that the PIN has been activated.

[0219] For the introduction of step 1201 , reference may be made to the description of the aforementioned embodiment.

[0220] In summary, the PIN management method provided by the embodiments of the present disclosure directly manages PINs by the network elements in the 5GC, rather than by the PEGC in the PIN. This avoids the phenomenon of the PEGC in the PIN dishonestly managing the PIN, or the PEGC in the PIN being unable to communicate with the 5GC in a timely manner due to signal coverage issues, thereby achieving accurate PIN management. Furthermore, the method of the present disclosure does not require the introduction of new entities, thus saving resources, reducing system complexity, and improving management efficiency.

[0221] FIG13 is a flow chart of a PIN management method provided in an embodiment of the present disclosure. The method is executed by the SMF. As shown in FIG13 , the PIN management method may include the following steps:

[0222] Step 1301: Receive a first management request or a first activation request. The first management request is used to request the SMF to release PIN resources corresponding to the PIN or deactivate the PIN; the first activation request is used to request activation of the PIN.

[0223] For the introduction of step 1301 , reference may be made to the description of the aforementioned embodiment.

[0224] Step 1302: Manage the PIN based on the first management request or the first activation request.

[0225] Optionally, in one embodiment of the present disclosure, managing the PIN based on the first management request may include at least one of the following:

[0226] Release the PIN resource corresponding to the PIN;

[0227] Deactivate the PIN.

[0228] Optionally, for an SMF network element, a method for releasing PIN resources corresponding to a PIN may include at least one of the following:

[0229] Release PIN context information;

[0230] The second policy associated with the PIN is terminated, where the second policy may be a session policy associated with the PIN, for example, a PDU session associated with the PIN may be terminated.

[0231] Optionally, managing the PIN based on the first activation request may include:

[0232] Activate PIN.

[0233] For the related introduction of “deactivating PIN” and “activating PIN”, please refer to the above embodiments.

[0234] In summary, the PIN management method provided by the embodiments of the present disclosure directly manages PINs by the network elements in the 5GC, rather than by the PEGC in the PIN. This avoids the phenomenon of the PEGC in the PIN dishonestly managing the PIN, or the PEGC in the PIN being unable to communicate with the 5GC in a timely manner due to signal coverage issues, thereby achieving accurate PIN management. Furthermore, the method of the present disclosure does not require the introduction of new entities, thus saving resources, reducing system complexity, and improving management efficiency.

[0235] FIG14 is a flow chart of a PIN management method provided by an embodiment of the present disclosure. The method is executed by the SMF. As shown in FIG14 , the PIN management method may include the following steps:

[0236] Step 1401: Send a third management request or a third activation request to the UPF. The third management request is used to request the UPF to release the PIN resources corresponding to the PIN or deactivate the PIN; the third activation request is used to request the UPF to activate the PIN.

[0237] Optionally, the third management request may be sent by the SMF network element to the SMF after receiving the first management request, and the third activation request may be sent by the SMF network element to the SMF after receiving the first activation request.

[0238] In summary, the PIN management method provided by the embodiments of the present disclosure directly manages PINs by the network elements in the 5GC, rather than by the PEGC in the PIN. This avoids the phenomenon of the PEGC in the PIN dishonestly managing the PIN, or the PEGC in the PIN being unable to communicate with the 5GC in a timely manner due to signal coverage issues, thereby achieving accurate PIN management. Furthermore, the method of the present disclosure does not require the introduction of new entities, thus saving resources, reducing system complexity, and improving management efficiency.

[0239] FIG15 is a flow chart of a PIN management method provided in an embodiment of the present disclosure. The method is executed by the UPF. As shown in FIG15 , the PIN management method may include the following steps:

[0240] Step 1501: Receive a third management request or a third activation request, where the third management request is used to request the UPF to release PIN resources corresponding to the PIN or deactivate the PIN; the third activation request is used to request the UPF to activate the PIN;

[0241] Step 1502: Manage the PIN based on the third management request or the third activation request.

[0242] Optionally, managing the PIN based on the third management request may include at least one of the following:

[0243] Release the PIN resource corresponding to the PIN;

[0244] Deactivate the PIN.

[0245] Optionally, for the UPF network element, the method of releasing PIN resources corresponding to the PIN may include: releasing the context information of the PIN.

[0246] Optionally, managing the PIN based on the first activation request may include:

[0247] Activate PIN.

[0248] For the related introduction of “deactivating PIN” and “activating PIN”, please refer to the above embodiments.

[0249] In summary, the PIN management method provided by the embodiments of the present disclosure directly manages PINs by the network elements in the 5GC, rather than by the PEGC in the PIN. This avoids the phenomenon of the PEGC in the PIN dishonestly managing the PIN, or the PEGC in the PIN being unable to communicate with the 5GC in a timely manner due to signal coverage issues, thereby achieving accurate PIN management. Furthermore, the method of the present disclosure does not require the introduction of new entities, thus saving resources, reducing system complexity, and improving management efficiency.

[0250] FIG16a is a flow chart of a PIN management method provided in an embodiment of the present disclosure. The method is executed by a core network device. The core network device includes a first network element, a second network element, and a UPF. As shown in FIG16a , the PIN management method may include the following steps:

[0251] Step 1601a: The first network element receives PIN parameters corresponding to the PIN, where the PIN parameters include the validity period and / or expiration period of the PIN.

[0252] Step 1602a: The first network element manages the PIN based on the validity period and / or expiration period of the PIN.

[0253] Step 1603a: The first network element sends a first management request or a first activation request to the second network element. The first management request is used to request the second network element to release PIN resources corresponding to the PIN or deactivate the PIN; the first activation request is used to request activation of the PIN.

[0254] Step 1604a: The second network element receives the first management request or the first activation request, and manages the PIN based on the first management request or the first activation request.

[0255] Step 1605a: The second network element sends a third management request or a third activation request to the UPF. The third management request is used to request the UPF to release the PIN resources corresponding to the PIN or deactivate the PIN; the third activation request is used to request the UPF to activate the PIN.

[0256] Step 1606a: The UPF receives the third management request or the third activation request, and manages the PIN based on the third management request or the third activation request.

[0257] For a detailed description of steps 1601a-1606a, please refer to the description of the aforementioned embodiment.

[0258] In summary, the PIN management method provided by the embodiments of the present disclosure directly manages PINs by the network elements in the 5GC, rather than by the PEGC in the PIN. This avoids the phenomenon of the PEGC in the PIN dishonestly managing the PIN, or the PEGC in the PIN being unable to communicate with the 5GC in a timely manner due to signal coverage issues, thereby achieving accurate PIN management. Furthermore, the method of the present disclosure does not require the introduction of new entities, thus saving resources, reducing system complexity, and improving management efficiency.

[0259] FIG16 b is a flow chart of a PIN management method provided in an embodiment of the present disclosure. The method is executed by a core network device. The core network device includes a first network element, a second network element, a UPF, and an AF. As shown in FIG16 b , the PIN management method may include the following steps:

[0260] Step 1601b: The first network element receives PIN parameters corresponding to the PIN, where the PIN parameters include the validity period and / or expiration period of the PIN.

[0261] Step 1602b: The first network element manages the PIN based on the validity period and / or expiration period of the PIN.

[0262] Step 1603b: The first network element sends a first notification message or a second notification message to the AF. The first notification message is used to notify the AF that the PIN resource corresponding to the PIN has been released or the PIN has been deactivated. The second notification message is used to notify the AF that the PIN has been activated.

[0263] Step 1604b: AF receives the first notification message or the second notification message.

[0264] Step 1605b: The first network element sends a first management request or a first activation request to the second network element. The first management request is used to request the second network element to release PIN resources corresponding to the PIN or deactivate the PIN; the first activation request is used to request activation of the PIN.

[0265] Step 1606b: The second network element receives the first management request or the first activation request, and manages the PIN based on the first management request or the first activation request.

[0266] Step 1607b: The second network element sends a third management request or a third activation request to the UPF. The third management request is used to request the UPF to release the PIN resources corresponding to the PIN or deactivate the PIN; the third activation request is used to request the UPF to activate the PIN.

[0267] Step 1608b: The UPF receives the third management request or the third activation request, and manages the PIN based on the third management request or the third activation request.

[0268] For a detailed description of steps 1601a-1608a, please refer to the description of the aforementioned embodiment.

[0269] In summary, the PIN management method provided by the embodiments of the present disclosure directly manages PINs by the network elements in the 5GC, rather than by the PEGC in the PIN. This avoids the phenomenon of the PEGC in the PIN dishonestly managing the PIN, or the PEGC in the PIN being unable to communicate with the 5GC in a timely manner due to signal coverage issues, thereby achieving accurate PIN management. Furthermore, the method of the present disclosure does not require the introduction of new entities, thus saving resources, reducing system complexity, and improving management efficiency.

[0270] FIG17 is a schematic diagram of the structure of a communication device provided by an embodiment of the present disclosure. As shown in FIG17 , the device may include:

[0271] A transceiver module, configured to receive PIN parameters corresponding to a PIN, wherein the PIN parameters include a validity period and / or an expiration period of the PIN;

[0272] A processing module is configured to manage the PIN based on the validity period and / or expiration period of the PIN.

[0273] In summary, in the communication device provided by the embodiments of the present disclosure, the network element in the 5GC directly manages the PIN, rather than the PEGC in the PIN. This avoids the phenomenon of the PEGC in the PIN dishonestly managing the PIN, or the PEGC in the PIN being unable to communicate with the 5GC in a timely manner due to signal coverage issues, thereby achieving accurate PIN management. Furthermore, the method of the present disclosure does not require the introduction of new entities, thus saving resources, reducing system complexity, and improving management efficiency.

[0274] Optionally, in one embodiment of the present disclosure, the processing module is further configured to:

[0275] If the current time exceeds the validity period of the PIN, and / or if the current time reaches the expiration period of the PIN, the PIN resource corresponding to the PIN is released.

[0276] Optionally, in one embodiment of the present disclosure, the processing module is further configured to:

[0277] If the current time exceeds the validity period of the PIN, and / or if the current time reaches the expiration period of the PIN, deactivating the PIN;

[0278] If the current time reaches the valid time of the PIN, the PIN is activated.

[0279] Optionally, in one embodiment of the present disclosure, the processing module is further configured to:

[0280] Release the local context information of the PIN in the first network element.

[0281] Optionally, in one embodiment of the present disclosure, the processing module is further configured to:

[0282] The service corresponding to the PIN is not processed;

[0283] The processing module is further configured to:

[0284] Process the service corresponding to the PIN.

[0285] Optionally, in one embodiment of the present disclosure, the device is further used for at least one of the following:

[0286] Sending a first management request to the second network element, where the first management request is used to request the second network element to release PIN resources corresponding to the PIN or deactivate the PIN;

[0287] A first notification message is sent to the application function AF, where the first notification message is used to notify the AF that a PIN resource corresponding to the PIN has been released or the PIN has been deactivated.

[0288] Optionally, in one embodiment of the present disclosure, the device is further used for at least one of the following:

[0289] Sending a first activation request to the second network element, where the first activation request is used to request activation of the PIN;

[0290] A second notification message is sent to the AF, where the second notification message is used to notify the AF that the PIN has been activated.

[0291] Optionally, in one embodiment of the present disclosure, the second network element includes at least one of the following:

[0292] AMF network element;

[0293] SMF network element.

[0294] Optionally, in one embodiment of the present disclosure, when the second network element is an AMF network element, the first management request or the first activation request includes the identifier of the first terminal device and / or the identifier of the second terminal device, wherein the first terminal device is: a member PEGC with a gateway function in the PIN, and the second terminal device is: a member PEMC with a management function in the PIN.

[0295] Optionally, in one embodiment of the present disclosure, the transceiver module is further configured to:

[0296] Receive the PIN parameter sent by AF.

[0297] Optionally, in one embodiment of the present disclosure, the PIN parameter also includes a PIN identification ID.

[0298] Optionally, in one embodiment of the present disclosure, the first management request, the first notification message, the second management request, the first activation request, the second notification message, and the second activation request include a PIN ID.

[0299] Optionally, in one embodiment of the present disclosure, the first network element includes at least one of the following:

[0300] Unified data management function UDM;

[0301] Network Open Function (NEF);

[0302] Policy Control Function PCF;

[0303] Unified Data Repository UDR.

[0304] FIG18 is a schematic diagram of the structure of a communication device provided by an embodiment of the present disclosure. As shown in FIG18 , the device may include:

[0305] a transceiver module configured to receive a first management request or a first activation request, wherein the first management request is used to request the second network element to release the PIN resource corresponding to the PIN or deactivate the PIN; and the first activation request is used to request activation of the PIN;

[0306] A processing module is configured to manage the PIN based on the first management request or the first activation request.

[0307] In summary, in the communication device provided by the embodiments of the present disclosure, the network element in the 5GC directly manages the PIN, rather than the PEGC in the PIN. This avoids the phenomenon of the PEGC in the PIN dishonestly managing the PIN, or the PEGC in the PIN being unable to communicate with the 5GC in a timely manner due to signal coverage issues, thereby achieving accurate PIN management. Furthermore, the method of the present disclosure does not require the introduction of new entities, thus saving resources, reducing system complexity, and improving management efficiency.

[0308] Optionally, in one embodiment of the present disclosure, the processing module is further configured to:

[0309] Release the PIN resource corresponding to the PIN;

[0310] Deactivate the PIN.

[0311] Optionally, in one embodiment of the present disclosure, the processing module is further configured to:

[0312] Activate the PIN.

[0313] Optionally, in one embodiment of the present disclosure, the second network element includes at least one of the following:

[0314] AMF network element;

[0315] SMF network element.

[0316] Optionally, in one embodiment of the present disclosure, when the second network element is an AMF network element, the first management request or the first activation request includes the identifier of the first terminal device and / or the identifier of the second terminal device, wherein the first terminal device is: PEGC in the PIN, and the second terminal device is: PEMC in the PIN.

[0317] Optionally, in one embodiment of the present disclosure, when the second network element is an AMF network element, the apparatus is further configured to:

[0318] Sending a second management request or a second activation request to the first terminal device and / or the second terminal device, where the second management request is used to request the first terminal device and / or the second terminal device to release the PIN resource corresponding to the PIN or deactivate the PIN; and the second activation request is used to request the first terminal device and / or the second terminal device to activate the PIN;

[0319] Receive a response message sent by the first terminal device and / or the second terminal device.

[0320] Optionally, in one embodiment of the present disclosure, when the second network element is an SMF network element, the apparatus is further configured to:

[0321] A third management request or a third activation request is sent to the user plane function UPF, where the third management request is used to request the UPF to release the PIN resources corresponding to the PIN or deactivate the PIN; the third activation request is used to request the UPF to activate the PIN.

[0322] FIG19 is a schematic diagram of the structure of a communication device provided by an embodiment of the present disclosure. As shown in FIG19 , the device may include:

[0323] a transceiver module, configured to receive a second management request or a second activation request, wherein the second management request is used to request the first terminal device and / or the second terminal device to release the PIN resource corresponding to the PIN or deactivate the PIN; and the second activation request is used to request the first terminal device and / or the second terminal device to activate the PIN;

[0324] A processing module is configured to manage the PIN based on the second management request or the second activation request.

[0325] In summary, in the communication device provided by the embodiments of the present disclosure, the network element in the 5GC directly manages the PIN, rather than the PEGC in the PIN. This avoids the phenomenon of the PEGC in the PIN dishonestly managing the PIN, or the PEGC in the PIN being unable to communicate with the 5GC in a timely manner due to signal coverage issues, thereby achieving accurate PIN management. Furthermore, the method of the present disclosure does not require the introduction of new entities, thus saving resources, reducing system complexity, and improving management efficiency.

[0326] Optionally, in one embodiment of the present disclosure, the processing module is further configured to:

[0327] Release the PIN resource corresponding to the PIN;

[0328] Deactivate the PIN.

[0329] Optionally, in one embodiment of the present disclosure, the processing module is further configured to:

[0330] Activate the PIN.

[0331] Optionally, in one embodiment of the present disclosure, the apparatus is further configured to:

[0332] Send a response message to the AMF network element.

[0333] FIG20 is a schematic structural diagram of a communication device provided by an embodiment of the present disclosure. As shown in FIG20 , the device may include:

[0334] The transceiver module is used to receive a first notification message or a second notification message, the first notification message is used to notify the AF that the PIN resource corresponding to the PIN has been released or the PIN has been deactivated; the second notification message is used to notify the AF that the PIN has been activated.

[0335] In summary, in the communication device provided by the embodiments of the present disclosure, the network element in the 5GC directly manages the PIN, rather than the PEGC in the PIN. This avoids the phenomenon of the PEGC in the PIN dishonestly managing the PIN, or the PEGC in the PIN being unable to communicate with the 5GC in a timely manner due to signal coverage issues, thereby achieving accurate PIN management. Furthermore, the method of the present disclosure does not require the introduction of new entities, thus saving resources, reducing system complexity, and improving management efficiency.

[0336] FIG21 is a schematic structural diagram of a communication device provided in an embodiment of the present disclosure. As shown in FIG21 , the device may include:

[0337] a transceiver module, configured to receive a third management request or a third activation request, wherein the third management request is used to request the UPF to release the PIN resources corresponding to the PIN or deactivate the PIN; and the third activation request is used to request the UPF to activate the PIN;

[0338] A processing module is configured to manage the PIN based on the third management request or the third activation request.

[0339] In summary, in the communication device provided by the embodiments of the present disclosure, the network element in the 5GC directly manages the PIN, rather than the PEGC in the PIN. This avoids the phenomenon of the PEGC in the PIN dishonestly managing the PIN, or the PEGC in the PIN being unable to communicate with the 5GC in a timely manner due to signal coverage issues, thereby achieving accurate PIN management. Furthermore, the method of the present disclosure does not require the introduction of new entities, thus saving resources, reducing system complexity, and improving management efficiency.

[0340] Optionally, in one embodiment of the present disclosure, the processing module is further configured to:

[0341] Release the PIN resource corresponding to the PIN;

[0342] Deactivate the PIN.

[0343] Optionally, in one embodiment of the present disclosure, the processing module is further configured to:

[0344] Activate the PIN.

[0345] Please refer to Figure 22, which is a schematic diagram of the structure of a communication device 2200 provided in an embodiment of the present application. Communication device 2200 can be a network device or a terminal device, or a chip, chip system, or processor that supports the network device to implement the above method, or a chip, chip system, or processor that supports the terminal device to implement the above method. This device can be used to implement the method described in the above method embodiment. For details, please refer to the description of the above method embodiment.

[0346] The communication device 2200 may include one or more processors 2201. The processor 2201 may be a general-purpose processor or a dedicated processor. For example, it may be a baseband processor or a central processing unit. The baseband processor may be used to process communication protocols and communication data, and the central processing unit may be used to control the communication device (e.g., a base station, a baseband chip, a terminal device, a terminal device chip, a DU or CU, etc.), execute computer programs, and process computer program data.

[0347] Optionally, the communication device 2200 may further include one or more memories 2202, on which a computer program 2204 may be stored. The processor 2201 executes the computer program 2204 to cause the communication device 2200 to perform the method described in the above method embodiment. Optionally, the memory 2202 may also store data. The communication device 2200 and the memory 2202 may be provided separately or integrated together.

[0348] Optionally, the communication device 2200 may further include a transceiver 2205 and an antenna 2206. The transceiver 2205 may be referred to as a transceiver unit, a transceiver, or a transceiver circuit, and is configured to implement transceiver functions. The transceiver 2205 may include a receiver and a transmitter. The receiver may be referred to as a receiver or a receiving circuit, and is configured to implement a receiving function; the transmitter may be referred to as a transmitter or a transmitting circuit, and is configured to implement a transmitting function.

[0349] Optionally, the communication device 2200 may further include one or more interface circuits 2207. The interface circuit 2207 is configured to receive code instructions and transmit the code instructions to the processor 2201. The processor 2201 executes the code instructions to enable the communication device 2200 to perform the method described in the above method embodiment.

[0350] In one implementation, the processor 2201 may include a transceiver for implementing receiving and transmitting functions. For example, the transceiver may be a transceiver circuit, an interface, or an interface circuit. The transceiver circuit, interface, or interface circuit for implementing the receiving and transmitting functions may be separate or integrated. The transceiver circuit, interface, or interface circuit may be used for reading and writing code / data, or may be used for transmitting or delivering signals.

[0351] In one implementation, processor 2201 may store a computer program 2203. Computer program 2203, when executed on processor 2201, enables communication device 2200 to perform the method described in the above method embodiment. Computer program 2203 may be embedded in processor 2201, in which case processor 2201 may be implemented by hardware.

[0352] In one implementation, the communication device 2200 may include a circuit that can implement the functions of sending, receiving, or communicating in the aforementioned method embodiments. The processor and transceiver described in this application can be implemented on an integrated circuit (IC), an analog IC, a radio frequency integrated circuit RFIC, a mixed signal IC, an application specific integrated circuit (ASIC), a printed circuit board (PCB), an electronic device, etc. The processor and transceiver can also be manufactured using various IC process technologies, such as complementary metal oxide semiconductor (CMOS), N-type metal oxide semiconductor (nMetal oxide semiconductor, NMOS), P-type metal oxide semiconductor (positive channel metal oxide semiconductor, PMOS), bipolar junction transistor (bipolar junction transistor, BJT), bipolar CMOS (BiCMOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.

[0353] The communication device described in the above embodiments may be a network device or a terminal device, but the scope of the communication device described in this application is not limited thereto, and the structure of the communication device may not be limited to FIG. 22. The communication device may be an independent device or may be part of a larger device. For example, the communication device may be:

[0354] (1) An independent integrated circuit (IC), or chip, or chip system or subsystem;

[0355] (2) a collection of one or more ICs, optionally including a storage component for storing data and computer programs;

[0356] (3) ASIC, such as modem;

[0357] (4) Modules that can be embedded in other devices;

[0358] (5) Receivers, terminal devices, intelligent terminal devices, cellular phones, wireless devices, handheld devices, mobile units, vehicle-mounted devices, network devices, cloud devices, artificial intelligence devices, etc.;

[0359] (6)Others, etc.

[0360] If the communication device can be a chip or a chip system, please refer to the schematic diagram of the chip structure shown in Figure 23. The chip shown in Figure 23 includes a processor 2301 and an interface 2302. The number of processors 2301 can be one or more, and the number of interfaces 2302 can be multiple.

[0361] Optionally, the chip further includes a memory 2303, which is used to store necessary computer programs and data.

[0362] Those skilled in the art will also appreciate that the various illustrative logical blocks and steps listed in the embodiments of the present application can be implemented by electronic hardware, computer software, or a combination of both. Whether such functions are implemented by hardware or software depends on the specific application and the design requirements of the entire system. Those skilled in the art may use various methods to implement the described functions for each specific application, but such implementation should not be construed as exceeding the scope of protection of the embodiments of the present application.

[0363] The present application also provides a readable storage medium having instructions stored thereon, which implement the functions of any of the above method embodiments when executed by a computer.

[0364] The present application also provides a computer program product, which implements the functions of any of the above method embodiments when executed by a computer.

[0365] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs. When the computer program is loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer program can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer program can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a high-density digital video disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).

[0366] Those skilled in the art will understand that the various numerical numbers such as first and second involved in this application are only for the convenience of description and are not used to limit the scope of the embodiments of this application, and also indicate the order of precedence.

[0367] In this application, at least one can also be described as one or more, and a plurality can be two, three, four or more, which is not limited in this application. In the embodiments of this application, for a technical feature, the technical features in the technical feature are distinguished by "first", "second", "second", "A", "B", "C" and "D", and there is no order of precedence or size between the technical features described by the "first", "second", "second", "A", "B", "C" and "D".

[0368] The correspondences shown in the tables in this application can be configured or predefined. The values ​​of the information in each table are examples only and can be configured to other values, which are not limited by this application. When configuring the correspondence between information and parameters, it is not necessarily required to configure all the correspondences shown in each table. For example, in the tables in this application, the correspondences shown in certain rows may not be configured. For another example, appropriate deformation adjustments can be made based on the above tables, such as splitting, merging, etc. The names of the parameters shown in the titles of the above tables can also use other names that can be understood by the communication device, and the values ​​or representations of the parameters can also use other values ​​or representations that can be understood by the communication device. When implementing the above tables, other data structures can also be used, such as arrays, queues, containers, stacks, linear lists, pointers, linked lists, trees, graphs, structures, classes, heaps, hash tables or hash tables, etc.

[0369] The predefined in this application may be understood as defined, predefined, stored, pre-stored, pre-negotiated, pre-configured, solidified, or pre-burned.

[0370] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0371] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0372] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A personal Internet of Things PIN management method, characterized in that: The method is executed by a first network element, comprising: receiving PIN parameters corresponding to the PIN, the PIN parameters including a validity period and / or an expiration period of the PIN; The PIN is managed based on the validity period and / or expiration period of the PIN.

2. The method according to claim 1, wherein Managing the PIN based on the validity period and / or expiration period of the PIN includes: If the current time exceeds the validity period of the PIN, and / or if the current time reaches the expiration period of the PIN, the PIN resource corresponding to the PIN is released.

3. The method according to claim 1, wherein Managing the PIN based on the validity period and / or expiration period of the PIN includes: If the current time exceeds the validity period of the PIN, and / or if the current time reaches the expiration period of the PIN, deactivating the PIN; If the current time reaches the valid time of the PIN, the PIN is activated.

4. The method according to claim 2, wherein The releasing of the PIN resource corresponding to the PIN includes: Release the local context information of the PIN in the first network element.

5. The method according to claim 3, wherein Deactivating the PIN includes: The service corresponding to the PIN is not processed; The activating the PIN includes: Process the service corresponding to the PIN.

6. The method according to claim 2 or 3, wherein: The method further comprises at least one of the following: Sending a first management request to the second network element, where the first management request is used to request the second network element to release PIN resources corresponding to the PIN or deactivate the PIN; A first notification message is sent to the application function AF, where the first notification message is used to notify the AF that a PIN resource corresponding to the PIN has been released or the PIN has been deactivated.

7. The method according to claim 3, wherein The method further comprises at least one of the following: Sending a first activation request to the second network element, where the first activation request is used to request activation of the PIN; A second notification message is sent to the AF, where the second notification message is used to notify the AF that the PIN has been activated.

8. The method according to claim 6 or 7, wherein: The second network element includes at least one of the following: AMF network element; SMF network element.

9. The method according to claim 8, wherein When the second network element is an AMF network element, the first management request or the first activation request includes the identifier of the first terminal device and / or the identifier of the second terminal device, wherein the first terminal device is: a member PEGC with a gateway function in the PIN, and the second terminal device is: a member PEMC with a management function in the PIN.

10. The method according to claim 1, wherein The PIN parameters corresponding to the received PIN include: Receive the PIN parameter sent by AF.

11. The method according to claim 6 or 7, wherein: The PIN parameters also include a PIN identification ID.

12. The method according to claim 11, wherein The first management request, the first notification message, the first activation request, and the second notification message include a PIN ID.

13. The method according to claim 11, wherein The first network element includes at least one of the following: Unified data management function UDM; Network Open Function (NEF); Policy Control Function PCF; Unified Data Repository UDR.

14. A PIN management method, characterized in that: The method is performed by a second network element, including: receiving a first management request or a first activation request, the first management request being used to request the second network element to release PIN resources corresponding to the PIN or to deactivate the PIN; and the first activation request being used to request activation of the PIN; The PIN is managed based on the first management request or the first activation request.

15. The method according to claim 14, wherein Managing the PIN based on the first management request includes at least one of the following: Release the PIN resource corresponding to the PIN; Deactivate the PIN.

16. The method according to claim 14, wherein Managing the PIN based on the first activation request includes: Activate the PIN.

17. The method according to claim 14, wherein The second network element includes at least one of the following: AMF network element; SMF network element.

18. The method according to claim 17, wherein When the second network element is an AMF network element, the first management request or the first activation request includes the identifier of the first terminal device and / or the identifier of the second terminal device, wherein the first terminal device is: PEGC in the PIN, and the second terminal device is: PEMC in the PIN.

19. The method according to claim 17, wherein When the second network element is an AMF network element, the method further includes: Sending a second management request or a second activation request to the first terminal device and / or the second terminal device, where the second management request is used to request the first terminal device and / or the second terminal device to release the PIN resource corresponding to the PIN or deactivate the PIN; and the second activation request is used to request the first terminal device and / or the second terminal device to activate the PIN; Receive a response message sent by the first terminal device and / or the second terminal device.

20. The method of claim 17, wherein: When the second network element is an SMF network element, the method further includes: A third management request or a third activation request is sent to the user plane function UPF, where the third management request is used to request the UPF to release the PIN resources corresponding to the PIN or deactivate the PIN; the third activation request is used to request the UPF to activate the PIN.

21. A PIN management method, characterized in that: The method is executed by the first terminal device and / or the second terminal device, and includes: receiving a second management request or a second activation request, where the second management request is used to request the first terminal device and / or the second terminal device to release the PIN resource corresponding to the PIN or deactivate the PIN; and the second activation request is used to request the first terminal device and / or the second terminal device to activate the PIN; The PIN is managed based on the second management request or the second activation request.

22. The method according to claim 21, wherein Managing the PIN based on the second management request includes at least one of the following: Release the PIN resource corresponding to the PIN; Deactivate the PIN.

23. The method according to claim 21, wherein Managing the PIN based on the second activation request includes: Activate the PIN.

24. The method of claim 21, wherein: The method further comprises: Send a response message to the AMF network element.

25. A PIN management method, characterized in that: The method is executed by the AF, comprising: A first notification message or a second notification message is received, where the first notification message is used to notify the AF that a PIN resource corresponding to a PIN has been released or the PIN has been deactivated; and the second notification message is used to notify the AF that the PIN has been activated.

26. A PIN management method, characterized in that: The method is executed by the UPF and includes: receiving a third management request or a third activation request, wherein the third management request is used to request the UPF to release the PIN resources corresponding to the PIN or deactivate the PIN; the third activation request is used to request the UPF to activate the PIN; The PIN is managed based on the third management request or the third activation request.

27. The method according to claim 26, wherein Managing the PIN based on the third management request includes at least one of the following: Release the PIN resource corresponding to the PIN; Deactivate the PIN.

28. The method of claim 26, wherein: Managing the PIN based on the third activation request includes: Activate the PIN.

29. A PIN management method, characterized in that: The method is executed by a core network device, the core network device includes a first network element, a second network element, and a UPF, and the method includes: The first network element receives PIN parameters corresponding to the PIN, where the PIN parameters include a validity period and / or an expiration period of the PIN; The first network element manages the PIN based on the validity period and / or expiration period of the PIN; The first network element sends a first management request or a first activation request to the second network element, where the first management request is used to request the second network element to release PIN resources corresponding to the PIN or deactivate the PIN; and the first activation request is used to request activation of the PIN; The second network element receives the first management request or the first activation request, and manages the PIN based on the first management request or the first activation request; The second network element sends a third management request or a third activation request to the UPF, where the third management request is used to request the UPF to release the PIN resources corresponding to the PIN or deactivate the PIN; and the third activation request is used to request the UPF to activate the PIN. The UPF receives the third management request or the third activation request, and manages the PIN based on the third management request or the third activation request.

30. A communication device, characterized in that: include: A transceiver module, configured to receive PIN parameters corresponding to a PIN, wherein the PIN parameters include a validity period and / or an expiration period of the PIN; A processing module is configured to manage the PIN based on the validity period and / or expiration period of the PIN.

31. A communication device, characterized in that: include: a transceiver module, configured to receive a first management request or a first activation request, where the first management request is used to request the second network element to release a PIN resource corresponding to the PIN or to deactivate the PIN; The first activation request is used to request activation of the PIN; A processing module is configured to manage the PIN based on the first management request or the first activation request.

32. A communication device, characterized in that: include: a transceiver module, configured to receive a second management request or a second activation request, wherein the second management request is used to request the first terminal device and / or the second terminal device to release a PIN resource corresponding to the PIN or deactivate the PIN; The second activation request is used to request the first terminal device and / or the second terminal device to activate the PIN; A processing module is configured to manage the PIN based on the second management request or the second activation request.

33. A communication device, characterized in that: include: a transceiver module, configured to receive a first notification message or a second notification message, where the first notification message is used to notify the AF that a PIN resource corresponding to a PIN has been released or the PIN has been deactivated; The second notification message is used to notify the AF that the PIN has been activated.

34. A communication device, characterized in that: include: a transceiver module, configured to receive a third management request or a third activation request, wherein the third management request is used to request the UPF to release the PIN resources corresponding to the PIN or deactivate the PIN; The third activation request is used to request the UPF to activate the PIN; A processing module is configured to manage the PIN based on the third management request or the third activation request.

35. A communication device, characterized in that: The device includes a processor and a memory, wherein a computer program is stored in the memory, and the processor executes the computer program stored in the memory so that the device performs the method according to any one of claims 1 to 13, or the processor executes the computer program stored in the memory so that the device performs the method according to any one of claims 14 to 20, or the processor executes the computer program stored in the memory so that the device performs the method according to any one of claims 21 to 24, or the processor executes the computer program stored in the memory so that the device performs the method according to claim 25, or the processor executes the computer program stored in the memory so that the device performs the method according to any one of claims 26 to 28.

36. A communication device, characterized in that include: processor and interface circuitry, wherein The interface circuit is used to receive code instructions and transmit them to the processor; The processor is configured to run the code instructions to execute the method according to any one of claims 1 to 13, or to run the code instructions to execute the method according to any one of claims 14 to 20, or to run the code instructions to execute the method according to any one of claims 21 to 24, or to run the code instructions to execute the method according to claim 25, or to run the code instructions to execute the method according to any one of claims 26 to 28.

37. A computer-readable storage medium storing instructions, which, when executed, cause the method according to any one of claims 1 to 13 to be implemented, or when executed, cause the method according to any one of claims 14 to 20 to be implemented, or when executed, cause the method according to any one of claims 21 to 24 to be implemented, or when executed, cause the method according to any one of claims 22 to be implemented, or when executed, cause the method according to any one of claims 25 to be implemented, or when executed, cause the method according to any one of claims 26 to 28 to be implemented.