Communication method and device
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-31
- Publication Date
- 2026-03-10
AI Technical Summary
The prior art is difficult to distinguish different users using the same terminal on the terminal and the network side, resulting in the inability to effectively manage and provide personalized services.
By exchanging messages carrying user temporary identification on the terminal and the network side, the identification and management of different users using the terminal are realized.
This enables the terminal and network side to provide corresponding management and communication services based on the user's temporary identification, solving the problem of user personalized services.
Smart Images

Figure CN121647033A_ABST
Abstract
Description
Communication method and device Technical Field The present application relates to the field of communications, and more specifically, to a communication method, a device, a computer-readable storage medium, a computer program product, and a computer program. Background Art With the development and popularization of electronic devices, there are many different types of terminals for users to use. For the same terminal, different users need different services when accessing it. However, in the related technology, the terminal and the network side usually only provide services at the terminal level, and cannot distinguish which user is using the terminal. Therefore, how to manage and provide services for different users using the terminal has become a problem that needs to be solved. Summary of the invention Embodiments of the present application provide a communication method, a device, a computer-readable storage medium, a computer program product, and a computer program. The present application provides a communication method, including: The terminal receives a first message, wherein the first message carries a temporary identifier of a first user, and the first user is a user who uses the terminal. The present application provides a communication method, including: The first network device sends a first message, wherein the first message carries a temporary identifier of a first user, and the first user is a user using a terminal. The present application provides a communication method, including: The terminal receives a fourth message, wherein the fourth message carries an identifier of a first user, and the first user is a user who uses the terminal. The present application provides a communication method, including: The first network device sends a fourth message, wherein the fourth message carries an identifier of a first user, and the first user is a user who uses the terminal. An embodiment of the present application provides a terminal, including: The first communication unit is used to receive a first message, wherein the first message carries a temporary identifier of a first user, and the first user is a user who uses the terminal. An embodiment of the present application provides a first network device, including: The second communication unit is used to send a first message, wherein the first message carries a temporary identifier of a first user, and the first user is a user using the terminal. An embodiment of the present application provides a terminal, including: The first communication unit is configured to receive a fourth message, wherein the fourth message carries an identifier of a first user, and the first user is a user who uses the terminal. An embodiment of the present application provides a first network device, including: The second communication unit is used to send a fourth message, wherein the fourth message carries an identifier of a first user, and the first user is a user who uses the terminal. The embodiment of the present application provides a terminal, including: a transceiver, a processor and a memory. The memory is used to store a computer program, the transceiver is used to communicate with other devices, and the processor is used to call and run the computer program stored in the memory, so that the terminal executes the above method. The embodiment of the present application provides a first network device, comprising: a transceiver, a processor and a memory. The memory is used to store a computer program, the transceiver is used to communicate with other devices, and the processor is used to call and run the computer program stored in the memory, so that the first network device executes the above method. The embodiment of the present application provides a chip for implementing the above method. Specifically, the chip includes: a processor, which is used to call and run a computer program from a memory, so that a device equipped with the chip executes the above method. An embodiment of the present application provides a computer-readable storage medium for storing a computer program, which enables a device to perform the above method when the computer program is executed by the device. An embodiment of the present application provides a computer program product, including computer program instructions, which enable a computer to execute the above method. An embodiment of the present application provides a computer program, which, when executed on a computer, enables the computer to execute the above method. By adopting the solution provided in this embodiment, the terminal can receive the temporary identifier of the first user carried by the first message, and the first user is a user who can use the terminal. In this way, the terminal and the network side can identify each user based on the user's temporary identifier, and then provide corresponding management and communication services for different users using the terminal. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic diagram of an application scenario according to an embodiment of the present application. Figure 2 is a schematic diagram of the 5G network system architecture. FIG. 3 is a schematic diagram of scenarios in which the same user uses different electronic devices in different occasions. 4a-4c are schematic diagrams of various scenarios of the relationship between different terminals and different users. FIG5 is a schematic flowchart of a communication method according to an embodiment of the present application. FIG6 is a schematic flowchart of a communication method according to another embodiment of the present application. FIG. 7 is a schematic flowchart of a communication method according to another embodiment of the present application. FIG8 is a schematic flowchart of a communication method according to another embodiment of the present application. FIG9 is a schematic diagram of the allocation relationship between a user's permanent identification and a user's temporary identification, valid time, and valid area according to an embodiment of the present application. 10-12 are various schematic flow charts of a communication method according to an embodiment of the present application. FIG13 is a schematic block diagram of a terminal according to an embodiment of the present application. FIG. 14 is a schematic block diagram of a first network device according to an embodiment of the present application. FIG. 15 is a schematic block diagram of a communication device according to an embodiment of the present application. FIG. 16 is a schematic block diagram of a chip according to an embodiment of the present application. FIG. 17 is a schematic block diagram of a communication system according to an embodiment of the present application. DETAILED DESCRIPTION The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. The technical solutions of the embodiments of the present application can be applied to various communication systems, such as: Long Term Evolution (LTE) system, Advanced long term evolution (LTE-A) system, New Radio (NR) system, NR system evolution system, LTE on unlicensed spectrum (LTE-based access to unlicensed spectrum, LTE-U) system, NR on unlicensed spectrum (NR-based access to unlicensed spectrum, NR-U) system, Non-Terrestrial Networks (NTN) system, Universal Mobile Telecommunication System (UMTS), Wireless Local Area Networks (WLAN), Wireless Fidelity (WiFi), fifth-generation communication (5th-Generation, 5G) system or other communication systems. Generally speaking, the number of connections supported by traditional communication systems is limited and easy to implement. However, with the development of communication technology, mobile communication systems will not only support traditional communications, but also support, for example, device to device (D2D) communication, machine to machine (M2M) communication, machine type communication (MTC), vehicle to vehicle (V2V) communication, or vehicle to everything (V2X) communication, etc. The embodiments of the present application can also be applied to these communication systems. In one possible implementation, the communication system in the embodiment of the present application can be applied to a carrier aggregation (CA) scenario, a dual connectivity (DC) scenario, and a standalone (SA) networking scenario. In one possible implementation, the communication system in the embodiment of the present application can be applied to an unlicensed spectrum, wherein the unlicensed spectrum can also be considered as a shared spectrum; or, the communication system in the embodiment of the present application can also be applied to an authorized spectrum, wherein the authorized spectrum can also be considered as a non-shared spectrum. The embodiments of the present application describe various embodiments in combination with network devices and terminal devices, wherein the terminal device may also be referred to as user equipment (UE), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device, etc. The terminal device may be a station (STAION, ST) in a WLAN, a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA) device, a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a next-generation communication system such as an NR network, or a terminal device in a future-evolved Public Land Mobile Network (PLMN) network, etc. In the embodiment of the present application, the terminal device can be deployed on land, including indoors or outdoors, handheld, wearable or vehicle-mounted; it can also be deployed on the water surface (such as ships, etc.); it can also be deployed in the air (such as airplanes, balloons and satellites, etc.). In the embodiment of the present application, the terminal device can be a mobile phone, a tablet computer, a computer with wireless transceiver function, 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, a wireless terminal device in smart grid, a wireless terminal device in transportation safety, a wireless terminal device in smart city, or a wireless terminal device in smart home, etc. As an example and not a limitation, in the embodiment of the present application, the terminal device can also be a wearable device. Wearable devices can also be called wearable smart devices. They are a general term for wearable devices that use wearable technology to intelligently design and develop wearable devices for daily wear, such as glasses, gloves, watches, clothing, and shoes. A portable device that is worn directly on the body or integrated into the user's clothing or accessories. Wearable devices are not just hardware devices, but also achieve powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include those that are full-featured, large in size, and can achieve complete or partial functions without relying on smartphones, such as smart watches or smart glasses, as well as those that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various smart bracelets and smart jewelry for vital sign monitoring. In an embodiment of the present application, a network device may be a device for communicating with a mobile device, and the network device may be an access point (AP) in a WLAN, a base station (BTS) in a GSM or CDMA, or a base station (NodeB, NB) in a WCDMA, or an evolved base station (eNB or eNodeB) in an LTE, or a relay station or access point, or a vehicle-mounted device, a wearable device, and a network device (gNB) in an NR network, or a network device in a future evolved PLMN network, or a network device in an NTN network, etc. As an example and not a limitation, in an embodiment of the present application, a network device may have a mobile feature, for example, the network device may be a mobile device. Optionally, the network device may be a satellite or a balloon station. For example, a satellite may be a low earth orbit (LEO) satellite, a medium earth orbit (MEO) satellite, a geostationary earth orbit (GEO) satellite, a high elliptical orbit (HEO) satellite, etc. Optionally, the network device may also be a base station set up in a location such as land or water. In an embodiment of the present application, the network device may provide services for a cell, and the terminal device communicates with the network device through the transmission resources (e.g., frequency domain resources, or spectrum resources) used by the cell. The cell may be a cell corresponding to the network device (e.g., a base station), and the cell may belong to a macro base station or a base station corresponding to a small cell. The small cells here may include: a metro cell, a micro cell, a pico cell, a femto cell, etc. These small cells have the characteristics of small coverage and low transmission power, and are suitable for providing high-speed data transmission services. FIG1 exemplarily shows a communication system 100. The communication system includes a network device 110 and two terminal devices 120. In a possible implementation, the communication system 100 may include multiple network devices 110, and each network device 110 may include other number of terminal devices 120 within its coverage area, which is not limited in the embodiment of the present application. In a possible implementation, the communication system 100 may also include other network entities such as a Mobility Management Entity (MME) and an Access and Mobility Management Function (AMF), which is not limited in the embodiment of the present application. Among them, the network device may include an access network device and a core network device. That is, the wireless communication system also includes multiple core networks for communicating with the access network device. The access network equipment may be an evolutionary base station (evolutional node B, which may be referred to as eNB or e-NodeB) macro base station, micro base station (also called "small base station"), micro-micro base station, access point (AP), transmission point (TP) or new generation Node B (gNodeB) in a long-term evolution (LTE) system, a next-generation (mobile communication system) (next radio, NR) system or an authorized auxiliary access long-term evolution (LAA-LTE) system. It should be understood that the device with communication function in the network / system in the embodiment of the present application may be referred to as a communication device. Taking the communication system shown in Figure 1 as an example, the communication equipment may include network equipment and terminal equipment with communication functions. The network equipment and terminal equipment may be specific equipment in the embodiment of the present application, which will not be repeated here; the communication equipment may also include other equipment in the communication system, such as network controllers, mobile management entities and other network entities, which are not limited in the embodiment of the present application. In order to facilitate understanding of the embodiments of the present application, the basic processes and basic concepts involved in the embodiments of the present application are briefly described below. It should be understood that the basic processes and basic concepts introduced below do not limit the embodiments of the present application. The 5G network system architecture is shown in Figure 2, which includes: NSSF (Network Slice Selection Function) is mainly used for the management of network slice related information, such as selecting network slices for terminal devices; AUSF (Authentication Server Function) is used to complete the identity authentication function of user access; UDM (Unified Data Management) is used to manage and store contract data and authentication data; AMF (Access and Mobility Management Function) is used to complete mobility management, security anchor and secure UE policy management, etc. In addition to UE mobility management, AMF is also responsible for forwarding session management related messages between UE and SMF; SMF (Session Management Function) is used to complete session management, UE IP address allocation and management, etc.; PCF (Policy Control Function) is responsible for formulating policies related to UE mobility management, session management, billing, etc.; AF (Application Function) is used for external application servers; UPF (User Plane Function) is used for external application servers; Function) is used for complex user plane processing, such as forwarding traffic between the wireless access network and the Internet, reporting traffic usage, and implementing QoS (Quality of Service) policies; DN (Data Network) is the 5GC external data network (such as the Internet, etc.). Data is transmitted through corresponding interfaces between the nodes of the 5GC (5G core network), between the user equipment (UE) and the nodes of the 5GC, between the UE and the radio access network (RAN), and between the nodes of the RAN and the 5GC. For example, as shown in Figure 2: data is transmitted between the AMF and NSSF in the 5GC through interface N22; AMF transmits data with SMF through interface N11; AMF transmits data with AUSF through N12; AMF and UDM transmit data through interface N8. Data is transmitted between SMF and UPF through interface N4. UPF transmits data with the external data network through interface N6 and with AN through interface N3. UE connects to the access layer with AN through the Uu port, and interacts with the access layer. Message and wireless data transmission, UE connects to AMF through N1 port for non-access layer (NAS) and exchanges NAS messages. Data is transmitted between RAN and AMF through N2 interface, and data is transmitted between RAN and UPF through N3 interface. It should be understood that only the interfaces between some nodes are described above, and other interfaces between other nodes of 5GC in Figure 2 are not described one by one. The terminal identifiers used in the current system include at least one of the following: SUPI (SUbscription Permanent Identifier), SUCI (Subscription Concealed Identifier), PEI (Permanent Equipment Identifier). Among them, the globally unique 5G subscription permanent identifier (SUPI) should be assigned to each user in the 5G system and provided in the UDM / UDR; SUPI is only used within the 3GPP system; SUPI can include at least one of the following: TS23.003
[0019] The IMSI (International Mobile Subscriber Identity) defined in TS 22.261[2] and the network specific identifier used for private networks defined in TS 22.261[2]. The Subscription Hidden Identifier (SUCI) is a privacy-preserving identifier containing a hidden SUPI. Within the scope of this release, the only format supported for the PEI parameter is the International Mobile Equipment Identity (IMEI). With the development and popularization of electronic devices, there are many different forms of terminals for consumers to use, and each form of terminal has its own advantages. For example, as shown in Figure 3, users can have multiple electronic devices at the same time, but different electronic devices may have different advantages and disadvantages; for example, in Figure 3, a mobile phone can be a device that users often use. Its advantages are convenient input, powerful computing power, rich functions (including communication, multimedia, positioning, etc.), extremely high user stickiness, massive storage, and high privacy. Its disadvantages are small screen, large weight and volume, and heavy workload; smart screens have advantages such as high-definition resolution, large screen, fixed position, remote control interaction, and public equipment, but its disadvantages are that it cannot be moved, interaction is inconvenient, and privacy is insufficient; watches have the advantages of convenience, wearability, carrying, small screen, good touch, physiological data detection, and private equipment, but their disadvantages are that they are not suitable for complex interactions and complex content; the advantages of tablets are good touch effects and large screen sizes, but their disadvantages are large volumes and weights, and they are not easy to carry around; the advantages of AR / VR are good display effects and high privacy, but their disadvantages are low computing power and unstable wearing comfort. With the development and popularization of electronic devices, there are many different forms of terminals for consumers to use, and each form of terminal has its own advantages. For example, as shown in Figure 4a, a terminal-1 (in which USIM-1 is inserted) can be shared by multiple users (user-A, user-B, and user-C in Figure 4a); for example, as shown in Figure 4b, a user-A can use multiple terminals (such as terminal-1 (using USIM-1), terminal-2 (using USIM-2), and terminal-3 (using USIM-3) in Figure 4b); for example, as shown in Figure 4c, multiple terminals (such as terminal-1 (using USIM-1), terminal-2 (using USIM-2), and terminal-3 (using USIM-3) in Figure 4c) are shared by multiple users (user-A, user-B, and user-C in Figure 4c). For the same terminal, different users need different services when accessing it. At present, the identification based on SUPI / IMSI is only distinguished at the terminal granularity, but it is impossible to distinguish which user is using the terminal. To this end, it is necessary to define user identification, including permanent user identification and temporary user identification; introduce new ID management network elements or enhance existing network elements, and introduce user identification profiles; implement the process and method of allocating and managing user identification on the network side; and implement the process and method of terminal requesting the allocation of user identification. It should be understood that the terms "system" and "network" are often used interchangeably in this article. The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the objects associated with each other are in an "or" relationship. It should be understood that the "indication" mentioned in the embodiments of the present application can be a direct indication, an indirect indication, or an indication of an association relationship. For example, A indicates B, which can mean that A directly indicates B, for example, B can be obtained through A; it can also mean that A indirectly indicates B, for example, A indicates C, and B can be obtained through C; it can also mean that there is an association relationship between A and B. In the description of the embodiments of the present application, the term "correspondence" can mean that there is a direct or indirect correspondence relationship between the two, or it can mean that there is an association relationship between the two, or it can mean that there is an indication and being indicated, configuration and being configured, etc. To facilitate understanding of the technical solutions of the embodiments of the present application, the relevant technologies of the embodiments of the present application are described below. The following related technologies can be arbitrarily combined with the technical solutions of the embodiments of the present application as optional solutions, and they all belong to the protection scope of the embodiments of the present application. Fig. 5 is a schematic flow chart of a communication method according to an embodiment of the present application. The method includes at least part of the following contents. S510. A terminal receives a first message, wherein the first message carries a temporary identifier of a first user, and the first user is a user who uses the terminal. Fig. 6 is a schematic flow chart of a communication method according to another embodiment of the present application. The method includes at least part of the following contents. S610. A first network device sends a first message, wherein the first message carries a temporary identifier of a first user, and the first user is a user using a terminal. Fig. 7 is a schematic flow chart of a communication method according to another embodiment of the present application. The method includes at least part of the following contents. S710. The terminal receives a fourth message, where the fourth message carries an identifier of a first user, and the first user is a user who uses the terminal. Fig. 8 is a schematic flow chart of a communication method according to another embodiment of the present application. The method includes at least part of the following contents. S810. The first network device sends a fourth message, wherein the fourth message carries an identifier of a first user, and the first user is a user using a terminal. Here, the first network device may be a first access network device or a first core network device. In one example, the first network device may be a first core network device. In this example, the first network device may include at least one of the following: Access and Mobility Management Function (AMF), Unified Data Management Function (UDM), Unified Data Repository (UDR), and Identity Management Network Element. The identity management network element may be a newly added core network element, for example, the identity management network element can at least allocate a user's identity (and / or a temporary identity) and / or store a user's identity (and / or a temporary identity). It should be understood that the above is only an exemplary description. In actual processing, the above first network device is not limited to the core network elements listed above, and all possible network elements of the first network device are not exhaustively enumerated here. The terminal may be a 3GPP terminal, that is, a terminal that can access a 3GPP network to send and receive data. For example, the terminal may be a mobile phone, a watch, a tablet, a television, augmented reality (AR) / virtual reality (VR) glasses, etc. Alternatively, the terminal may also be a non-3GPP terminal. This embodiment does not exhaustively list and limit various possible types of terminals. In some possible implementations, the first network device sending the first message means: the first network device sends the first message to the terminal. The terminal receiving the first message means: the terminal receives the first message sent by the first network device. In one embodiment, the first network device sending the first message may include: the first network device sending the first message to the terminal when determining that a trigger condition is met. The trigger condition may include at least one of the following: the terminal sends a request message to the network side to allocate an identification (ID) of the first user, and the network side and the terminal perform an authentication process of the identification (ID) of the first user to determine the ID of the first user. In this embodiment, the first network device can allocate both the first user's identifier and the first user's temporary identifier. The first network device can be at least one of a UDM and a UDR. In one embodiment, the first network device sends a first message, which may include: the first network device receives an identifier of a first user sent by a third network device, the first network device stores the identifier of the first user, and generates a temporary identifier of the first user; the first network device sends the first message to the terminal. In this embodiment, the third network device can allocate the first user's identifier and does not allocate the first user's temporary identifier; the first network device is used to allocate the first user's temporary identifier. The third network device can send the first user's identifier to the first network device when a trigger condition is met. The trigger condition is the same as the above embodiment and will not be repeated. In this embodiment, the first network device may be an identification management network element or an AMF, and the third network device may be at least one of a UDM and a UDR. In an embodiment, the first message may be carried by at least one of the following: a second downlink NAS message, a second downlink container. Exemplarily, the first message may be carried by a second downlink NAS message. For example, the first message may be carried by a second downlink NAS message sent by the first network device to the terminal. In this case, the first network device may be an AMF. For example, the first network device may call the second network device to provide a specific service, send the first message to the second network device through the called service message, and the second network device may send the first message to the terminal through the second downlink NAS message. In this case, the first network device may be an identification management network element, and the second network device may be an AMF. Alternatively, the first network device may be at least one of a UDM and a UDR, and the second network device may be an AMF. Exemplarily, the first message may be carried by the second downlink container. Further, the first message may be carried by the second downlink container in the second downlink NAS message. For example, the first message may be carried by the second downlink container in the second downlink NAS message sent by the first network device to the terminal. In this case, the first network device may be an AMF. For example, the first network device may encapsulate the first message in a second downlink container and send it to the second network device, and the second network device may send the second downlink container to the terminal through a second downlink NAS message. In this case, the first network device may be an identification management network element, and the second network device may be an AMF. Alternatively, the first network device may be at least one of a UDM and a UDR, and the second network device may be an AMF. In some possible implementations, the first message carries a temporary identifier of the first user, and the temporary identifier of the first user is allocated by the first network device. The temporary identification of the first user can be used to specifically identify a specific user using the terminal. The first user refers to the user currently using the terminal, and the first user refers to a specific person. It should also be noted that the first message may carry a temporary identifier of each of one or more users, and the one or more users may include the first user, that is, the first user may be any one of the one or more users. In other words, the network side (first network device) can allocate or generate a temporary identifier for each of the one or more users of the terminal, and send the temporary identifier of each user to the terminal via a first message. Different users among the one or more users of the terminal refer to different specific people, and each of the one or more users of the terminal is a user who can use the terminal, or is allowed to use the terminal, or can use the terminal, or is currently using the terminal. It should also be understood that due to the processing related to the temporary identifier of each user, all of them are related to the first user. The processing related to the temporary identification of each user is the same, so the following mainly takes the first user as an example for explanation. This does not mean that the solution provided in this embodiment does not also perform relevant processing on the temporary identification of other users. It is just for the sake of brevity that the processing related to the temporary identification of each user is not described one by one. The temporary identifier of the first user includes at least one of the following: an identifier of the area corresponding to the temporary identifier of the first user, a related identifier of the network device corresponding to the temporary identifier of the first user, an identifier of the network corresponding to the temporary identifier of the first user, a temporary mobile user identity (TMSI, Temporary Mobile Subscriber Identity), an international mobile user identity (IMSI, International Mobile Subscriber Identity), a GUTI (Globally Unique Temporary UE Identity, globally unique temporary UE identifier), and a PEI (Permanent Equipment Identifier, permanent equipment identifier). The area may refer to a geographical range (or geographical area) composed of geographical locations. For example, the geographical range may be represented by one or more geographical coordinates of a geographical coordinate system. The identification of the area is used to specifically indicate or represent a certain area. Specifically, the identification of the area may be at least one of a number, a code, a serial number, etc. used to represent an area in a communication system, and the identification of the area may be represented by a region ID. For example, a certain area is "city A", and the identification of the city A in the communication system (such as a number) is "001"; or, a certain area is "area a1 in city A", and the identification of the area a1 in city A in the communication system (such as a serial number) is "0012". This is only an illustrative description, and does not limit the identification of the area, nor does it enumerate all possible situations. The area corresponding to the temporary identifier of the first user may include at least one of the following: an area where a network device corresponding to the temporary identifier of the first user is located; and an area where the temporary identifier of the first user can be used. The network device corresponding to the temporary identification of the first user may be: a network device that allocates the temporary identification of the first user, or a network device that stores the temporary identification of the first user. In this embodiment, the network device corresponding to the temporary identification of the first user may be the first network device. The area where the network device corresponding to the temporary identifier of the first user is located may refer to the geographical range (or geographical area) where the network device corresponding to the temporary identifier of the first user is located. The identifier of the area where the network device corresponding to the temporary identifier of the first user is located may include at least one of the following: the number of the area where the network device corresponding to the temporary identifier of the first user is located, the code of the area where the network device corresponding to the temporary identifier of the first user is located, the serial number of the area where the network device corresponding to the temporary identifier of the first user is located, etc. The area where the temporary identifier of the first user can be used may be: one or more areas where the temporary identifier of the first user can be used, or one or more areas where the temporary identifier of the first user can be used. This embodiment does not limit the number of areas where the temporary identifier of the first user can be used. In the case where there are multiple areas where the temporary identifier of the first user can be used, this embodiment does not limit the relationship between the areas where the temporary identifier of the first user can be used. For example, area A where the temporary identifier of the first user can be used and area B where the temporary identifier of the first user can be used may be adjacent or non-adjacent, both of which are within the protection scope of this embodiment. The identifier of the area where the temporary identifier of the first user can be used may include at least one of the following: the number of the area where the temporary identifier of the first user can be used, the code of the area where the temporary identifier of the first user can be used, the serial number of the area where the temporary identifier of the first user can be used, etc. The related identifier of the network device corresponding to the temporary identifier of the first user includes at least one of the following: the identifier of the set to which the network device corresponding to the temporary identifier of the first user belongs; the identifier of the network device corresponding to the temporary identifier of the first user. The specific description of the network device corresponding to the temporary identifier of the first user is the same as that in the above embodiment and will not be repeated. The identifier of the set to which the network device corresponding to the temporary identifier of the first user belongs can be expressed as NF set ID. In this embodiment, the network device corresponding to the temporary identifier of the first user can be the first network device, and accordingly, the identifier of the set to which the network device corresponding to the temporary identifier of the first user belongs can refer to the identifier of the set of the first network device. Furthermore, the set corresponding to the set (NF set ID) to which the network device corresponding to the temporary identifier of the first user belongs may include one or more network devices, and the one or more network devices in the set may be at least one of the following: one or more network devices in the set all support identifying the temporary identifier of the first user; one or more network devices in the set all support serving (or are able to serve) the temporary identifier of the first user; the service parameters provided by one or more network devices in the set to the first user (user) remain unchanged, and the service parameters may include at least one of network slicing, QoS (Quality of Service), etc. For example, one or more network devices in the set support the same network slice, which is the network slice corresponding to the first user. The one or more network devices in the set may include the aforementioned first network device. The identifier of the network device corresponding to the temporary identifier of the first user can be expressed as an NF pointer (flag or indication). In this embodiment, the network device corresponding to the temporary identifier of the first user can be the first network device, and accordingly, the identifier of the network device corresponding to the temporary identifier of the first user refers to the identifier of the first network device, for example, it can be an AMF ID, or it can be the ID of some other network element (such as an identification management network element), etc., which are not exhaustively listed here. That is to say, the relevant identifier of the network device corresponding to the temporary identifier of the first user can be expressed as an NF (Network Function) ID. The NF ID can be composed of NF set ID+NF Pointer, or the NF ID can only include NF Pointer, or the NF ID can only include NF set ID. The network corresponding to the temporary identifier of the first user may refer to the operator network corresponding to the temporary identifier of the first user. The operator network corresponding to the temporary identifier of the first user may refer to the operator network that allocates the temporary identifier of the first user or the operator network that stores the temporary identifier of the first user. The identifier of the network corresponding to the temporary identifier of the first user may include: the ID of the network corresponding to the temporary identifier of the first user. Exemplarily, the operator network may be a PLMN (Public Land Mobile Network), and the identifier of the operator network is a PLMN ID; the PLMN ID may be composed of at least one of the following: a mobile country code (MCC) and a mobile network code (MNC). The TMSI is the same as the TMSI in the GUTI (Globally Unique Temporary UE Identity), which can be used to identify the temporary identity of a specific UE and is allocated by the network side. There is no limitation on the specific allocation method. The only format supported by the PEI is the International Mobile Equipment Identity (IMEI). In some possible examples, the PEI may also be replaced by the IMEI. Optionally, the temporary identifier of the first user further includes: a code of the first user, where the code of the first user is allocated by a network device serving the terminal. The network device serving the terminal may be the same as the first network device or may be different from the first network device, which is not limited in this embodiment. In the case where the network device serving the terminal is different from the first network device, the network device serving the terminal may send the first user's code to the first network device, and this embodiment does not limit the method of sending the first user's code or the specific message carrying the first user's code. The code of the first user can be expressed as any one of the code of the first user, the number of the first user, the number of the first user, the index of the first user, the unique ID, etc., and the representation methods are not exhaustively listed and limited here. The specific generation or allocation method of the code of the first user is not limited in this embodiment. The temporary identification of the first user provided in this embodiment may be composed of at least one of the following: PLMN ID+code of the first user; PLMN ID+Region ID+code of the first user; PLMN ID+NF ID+code of the first user; PLMN ID+Region ID+NF ID+GUTI+code of the first user; PLMN ID+Region ID+NF ID+TMSI+GUTI+code of the first user; IMSI+code of the first user; PEI+code of the first user; IMSI+PEI+code of the first user; TMSI+code of the first user; TMSI+PEI+code of the first user, etc. It should be understood that this is only an exemplary description, not a limitation on the temporary identification of the first user, and all possible components and composition methods of the temporary identification of the first user are not exhaustively listed. In some possible implementations, the terminal side and / or the first network device side may also obtain a valid time and / or a valid area. The valid time and / or the valid area may be used to determine whether the temporary identification of the first user is valid, that is, the valid time and / or the valid area may be used to constitute a first valid condition for the temporary identification of the first user. The validity period is used to determine the time range in which the temporary identification of the first user is valid. That is, if the period is within the validity period, the temporary identification of the first user is valid, and if the period is not within the validity period, the temporary identification of the first user is invalid. Optionally, the validity time may be a validity duration, such as 1 hour, 5 hours, 30 minutes, or longer or shorter. Optionally, the effective time may include one or more effective time periods. In this case, any effective time period may include a start time and an end time. For example, the effective time may include an effective time period, specifically from 0:00 on date A to 24:00 on date B. The date A and date B are the same or different, both within the protection scope of this embodiment. For example, the effective time may include multiple effective time periods, and any two effective time periods do not overlap, for example, effective time period 1 is from 9:00 to 10:00 on date A, and effective time period 2 is from 9:00 to 10:00 every day from date A to date B. The valid area can be used to determine the area or range in which the temporary identification of the first user is valid. That is, when the terminal is located in the valid area, the temporary identification of the first user is valid, and when the terminal is not located in the valid area, the temporary identification of the first user is invalid. Optionally, the valid area can be represented by one or more coordinate values in a geographic coordinate system. For example, the valid area can be represented by a center point coordinate value and an area radius; for another example, the valid area can be represented by four corner point coordinate values, and so on. The representation methods of the valid area are not limited or exhaustive here. Optionally, the valid area can be represented by an area identifier within the communication system. For example, the valid area can include one or more cells, and accordingly, the valid area can be represented by each cell identifier (Cell ID) in one or more cells; or, the valid area can include one or more tracking areas, and accordingly, the valid area can be represented by each tracking area identity (TAI) in one or more tracking areas. In one embodiment, the first network device may allocate a temporary identifier of the first user in addition to a valid time. Correspondingly, the first message also carries at least one of the following: effective time, effective area. This embodiment does not limit the manner in which the first network device generates or allocates the effective time and / or effective area. In one embodiment, on the terminal side, the effective time is preconfigured, and / or the effective area is preconfigured. Correspondingly, on the first network device side, the effective time is preconfigured, and / or the effective area is preconfigured. It should be noted that the same effective time needs to be preconfigured on the terminal side and the first network device side, and / or the same effective area needs to be preconfigured on the terminal side and the first network device side. In some possible implementations, after the terminal receives the first message, the method may further include: the terminal sends a first reply message, the first reply message being used to indicate that the first message is successfully received. Correspondingly, after the first network device sends the first message, the method may further include: the first network device receives the first reply message. Specifically, the terminal sending the first reply message may refer to the terminal sending the first reply message to the first network device. The first network device receiving the first reply message may refer to the first network device receiving the first reply message sent by the terminal. Exemplarily, the first reply message may be carried by a third uplink NAS message. For example, the first reply message may be carried by a third uplink NAS message sent by the terminal to the first network device. In this case, the first network device may be an AMF. For example, the first reply message may be carried by a third uplink NAS message sent by the terminal to the second network device, and the second network device may send the first reply message to the first network device. In this case, the first network device may be an identification management network element, and the second network device may be an AMF. Alternatively, the first network device may be at least one of a UDM and a UDR, and the second network device may be an AMF. In some possible implementations, after the terminal receives the first message, the method further includes: when the temporary identifier of the first user does not satisfy the first validity condition, the terminal performs at least one of the following: stopping all or part of the communication services corresponding to the temporary identifier of the first user, sending a second message, wherein the second message is used to determine at least one of the following: the temporary identifier of the first user is invalid, the relevant identifier of the first user is updated, and the temporary identifier of the first user does not satisfy the first validity condition. Among them, the first validity condition includes at least one of the following: the temporary identification of the first user is within the validity period; the terminal is located in the valid area; the terminal is located in the area where the temporary identification of the first user can be used; the terminal has no other related identifications that need to be updated. In one example, the effective time is the effective duration. The terminal determines whether the temporary identification of the first user is within the effective time in a manner that may include: the terminal starts a first timer from a first moment; the terminal continuously determines whether the timing duration of the first timer is within the effective duration, and if the timing duration of the first timer is within the effective duration, it is determined that the temporary identification of the first user is within the effective time, otherwise, it is determined that the temporary identification of the first user is not within the effective time. Among them, the first moment is equal to the moment when the terminal receives the first message. Alternatively, the first moment may be equal to the moment when the terminal sends the first reply message. Alternatively, the first moment may be later than the moment when the terminal receives the first message or later than the moment when the terminal sends the first reply message. The length of the first moment later than the moment when the terminal receives the first message (or later than the moment when the terminal sends the first reply message) can be configured according to actual conditions. For example, the first moment may be 1 second after the moment when the terminal receives the first message, or the first moment may be 5 seconds after the moment when the terminal receives the first message, and so on. They are not enumerated and limited here. Here, all possible situations of the first moment are not enumerated. As long as the first moment is not earlier than the moment when the terminal receives the first message, it is within the protection scope of this embodiment. In one example, the valid time is a valid time period. The terminal determines whether the temporary identification of the first user is within the valid time period in a manner that may include: the terminal determines that the temporary identification of the first user is valid at the start time of the valid time period, and continuously determines whether the current time is equal to or later than the end time of the valid time period; if the current time is not the end time of the valid time period, it is determined that the temporary identification of the first user is within the valid time period; if the current time is equal to or later than the end time of the valid time period, it is determined that the temporary identification of the first user is not within the valid time period. Alternatively, the effective time is a plurality of effective time periods. The terminal determines whether the temporary identification of the first user is within the effective time by: if the current time is within any effective time period, the terminal determines that the temporary identification of the first user is within the effective time period; if the current time is not within any effective time period, and the current time is equal to or later than the end time of the last effective time period among all effective time periods, the terminal determines that the temporary identification of the first user is not within the effective time period. In one example, the terminal determines whether it is located in the valid area, which may refer to: the terminal obtains the current location and determines whether the current location is located in the valid area. In one example, the other related identifiers may refer to at least one identifier that needs to be updated and is stored by the terminal. For example, other related identifiers may include GUTI, etc. All possible types of other related identifiers are not exhaustively listed and limited here. The terminal determines whether there are other related identifiers that need to be updated by: based on the configuration of other related identifiers, determining whether the current moment is the update moment of other related identifiers, and if so, determining that there are other related identifiers that need to be updated at present, otherwise, determining that there are no other related identifiers that need to be updated in the terminal. In one example, the area where the temporary identifier of the first user can be used can be determined based on an identifier of the area of the temporary identifier of the first user in the temporary identifier of the first user. For example, when at least some bits in the temporary identifier of the first user include an identifier of the area where the temporary identifier of the first user can be used, the terminal determines the area where the temporary identifier of the first user can be used based on the identifier of the area where the temporary identifier of the first user can be used. The way for the terminal to determine whether it is currently located in the area where the temporary identifier of the first user can be used can be: obtaining its own location and determining whether its own location is located in the area where the temporary identifier of the first user can be used. The area where the temporary identification of the first user can be used and the valid area can be completely the same, partially the same, or completely different. If the area where the temporary identification of the first user can be used and the valid area are partially the same, then the valid area can be a part of the area where the temporary identification of the first user can be used. The specific content used in the first validity condition may be related to whether the first message carries a valid area and / or valid time, or whether the terminal is pre-configured with a valid area and / or valid time, etc., which will be exemplified below. In one embodiment, the first message carries a valid time, or the terminal and the first network device are respectively preconfigured with a valid time. In this case, the first validity condition may include that the temporary identification of the first user is within a valid time. Alternatively, the first validity condition may include: the temporary identification of the first user is within the validity period, and the terminal does not have other related identifications that need to be updated. Alternatively, the first validity condition may include: the temporary identifier of the first user is within a valid time, and the terminal is located in an area where the temporary identifier of the first user can be used. Alternatively, the first validity condition may include: the temporary identifier of the first user is within the validity period, the terminal is located in an area where the temporary identifier of the first user can be used, and the terminal has no other related identifiers that need to be updated. In one embodiment, the first message carries a valid area, or the terminal and the first network device are respectively pre-configured with a valid area. In this case, the first validity condition may include that the terminal is located in a valid area. Alternatively, the first validity condition may include that the terminal is located in a valid area and that there are no other related identifiers that need to be updated in the terminal. In one embodiment, the first message carries a valid time and a valid area, or the terminal and the first network device are respectively preconfigured with a valid time. In this case, the first validity condition may include that the temporary identification of the first user is within the validity period and the terminal is located in the valid area. Alternatively, the first validity condition may include that the temporary identification of the first user is within the validity period, the terminal is located in the valid area, and the terminal does not have other related identifications that need to be updated. In one embodiment, the first message does not carry the valid time and the valid area, and the terminal and the first network device are not configured with the valid time and the valid area. In this case, the first validity condition may include that the terminal is located in an area where the temporary identifier of the first user can be used. Alternatively, the first validity condition may include that the terminal is located in an area where the temporary identifier of the first user can be used, and the terminal does not have other related identifiers that need to be updated. Alternatively, the first validity condition may include that the terminal does not have other related identifiers that need to be updated. It should be understood that the above is only an illustrative description of possible combinations of the first valid condition. In actual processing, it includes but is not limited to the above combinations. This embodiment does not enumerate all possible combinations, nor does it enumerate and limit all the contents that may be included in the first valid condition. The stopping of all or part of the communication services corresponding to the temporary identifier of the first user may include at least one of the following: the terminal stops the transmission of all or part of the control plane (CP) messages (or control plane signaling) corresponding to the temporary identifier of the first user, the terminal stops the transmission of all or part of the user plane (UP) data corresponding to the temporary identifier of the first user, the terminal suspends or deactivates the PDU session corresponding to the temporary identifier of the first user, the terminal deactivates the context corresponding to the temporary identifier of the first user stored in the UE, etc. Here, the stopping of all or part of the communication services corresponding to the temporary identifier of the first user by the terminal is not exhaustively listed and limited. Optionally, the second message may carry a first indication for display, and the first indication may be used to indicate at least one of the following: the temporary identifier of the first user is invalid, the relevant identifier of the first user is updated, and the temporary identifier of the first user does not meet the first validity condition. The first indication may only indicate that the temporary identifier of the first user is invalid, the relevant identifier of the first user is updated, or any one of the validity conditions corresponding to the temporary identifier of the first user is not met; or, the first indication may indicate two or more of the temporary identifier of the first user is invalid, the relevant identifier of the first user is updated, and the temporary identifier of the first user does not meet the first validity condition, which is not limited in this embodiment. The above-mentioned first indication may occupy one or more designated fields in the second message; for example, the first designated field in the second message may be used to indicate that the temporary identification of the first user is invalid, the second designated field in the second message may be used to indicate or request to update the relevant identification of the first user, and the third designated field in the second message may be used to indicate that the validity condition corresponding to the temporary identification of the first user is not met. The specific indication method of each designated field may be based on the specific description content indication, or it may be through Carrying a specified value for indication is within the protection scope of this embodiment and is not exhaustive or limited here. It should be understood that the carrying method and specific content of the above-mentioned first indication in the second message are only exemplary. In actual processing, as long as there is at least one bit or at least one content in the second message, it can indicate at least one of the following: the temporary identifier of the first user is invalid, the relevant identifier of the first user is updated, and the temporary identifier of the first user does not meet the first validity condition. It is within the protection scope of this embodiment, and various possible forms are not limited or enumerated here. Optionally, the second message may implicitly indicate at least one of the following: the temporary identifier of the first user is invalid, the related identifier of the first user is updated, and the temporary identifier of the first user does not meet the first validity condition. In one example, the second message may carry the temporary identifier of the first user. In this case, the second message may not carry any content other than the temporary identifier of the first user, so that the first network device can determine at least one of the following: the temporary identifier of the first user is invalid, the relevant identifier of the first user is updated, and the validity condition corresponding to the temporary identifier of the first user is not met. In one example, the second message may not carry any new content. As long as the terminal sends a signal in an agreed format or an agreed message (such as a registration request message), the first network device can determine that the second message is used to indicate at least one of the following: the temporary identifier of the first user is invalid, the relevant identifier of the first user is updated, and the validity condition corresponding to the temporary identifier of the first user is not met. Here, the second message does not carry any new content, which may mean that the second message can be any uplink message specified in the relevant protocol, and the second message may not carry other content other than the content that the uplink message needs to carry or can carry as specified in the relevant protocol. In a possible example, the second message may be a registration request message. In this example, the second message does not carry any other content except the content that the registration request message corresponding to the relevant protocol needs to carry. The above is only an exemplary description. The second message may be an uplink message in the relevant protocol, and may be negotiated by the terminal and the network side (such as the first network device) or pre-configured or predetermined by both parties. As long as the first network device can determine at least one of the following when receiving the uplink message in the relevant protocol: the temporary identifier of the first user is invalid, the relevant identifier of the first user is updated, and the validity condition corresponding to the temporary identifier of the first user is not met, it is within the protection scope of this embodiment and is not exhaustive or limited here. The second message is carried by at least one of the following: a first uplink NAS message and a first uplink container. For example, the second message may be carried by a first uplink NAS message sent by the terminal to the first network device. In this case, the first network device may be an AMF. For example, the second message may be carried by the first uplink container in the first uplink NAS message sent by the terminal to the second network device, and the second network device may send the first uplink container to the first network device. In this case, the first network device may be an identification management network element, and the second network device may be an AMF. Alternatively, the first network device may be at least one of a UDM and a UDR, and the second network device may be an AMF. For example, the second message may be carried by the first uplink NAS message sent by the terminal to the second network device, and the second network device extracts the second message carried in the first reported NAS message and sends it to the first network device. In this case, the first network device may be an identification management network element, and the second network device may be an AMF. Alternatively, the first network device may be at least one of a UDM and a UDR, and the second network device may be an AMF. In some possible implementations, after the first network device sends the first message, the method further includes: the first network device receives a second message, wherein the second message is used to determine at least one of the following: the temporary identifier of the first user is invalid, the relevant identifier of the first user is updated, and the temporary identifier of the first user does not meet the first validity condition; the first network device executes at least one of the following: stopping part or all of the communication services corresponding to the temporary identifier of the first user, and sending a third message. Optionally, the second message may be an implicit indication, in which case the second message may carry the temporary identifier of the first user. When the first network device receives the second message, it can determine that the temporary identifier of the first user is invalid and / or that the temporary identifier of the first user does not meet the first validity condition; accordingly, the first network device can execute the processing of stopping some or all communication services corresponding to the temporary identifier of the first user. Alternatively, when receiving the second message, the first network device may determine that the temporary identifier of the first user is invalid, that the temporary identifier of the first user does not meet the first validity condition, and that the relevant identifier of the first user needs to be updated; accordingly, the first network device may execute processing to stop some or all communication services corresponding to the temporary identifier of the first user, and send a third message. Alternatively, when receiving the second message, the first network device may determine that the temporary identifier of the first user is invalid, the temporary identifier of the first user does not meet the first validity condition, and the relevant identifier of the first user needs to be updated; accordingly, the first network device may send a third message. Optionally, the second message may be a display indication. When the first network device receives the second message, it may determine, based on the first indication in the second message, at least one of the following: the terminal indicates that the temporary identification of the first user is invalid, updates the relevant identification of the first user, and the temporary identification of the first user does not meet the first validity condition. When the first network device determines that the terminal indicates that the temporary identifier of the first user is invalid and / or the temporary identifier of the first user does not meet the first validity condition, the first network device can execute processing to stop part or all of the communication services corresponding to the temporary identifier of the first user. Alternatively, when the first network device determines that the terminal instructs to update the relevant identification of the first user, the first network device may execute the process of sending the third message. Alternatively, when the first network device determines that the terminal indicates that the temporary identifier of the first user is invalid, updates the relevant identifier of the first user, and the temporary identifier of the first user does not meet the first validity condition, the first network device can execute the processing of stopping part or all of the communication services corresponding to the temporary identifier of the first user, and sending a third message. The stopping of all or part of the communication services corresponding to the temporary identifier of the first user may include at least one of the following: the first network device stops the transmission of all or part of the CP messages (or CP signaling) corresponding to the temporary identifier of the first user, the first network device stops the transmission of all or part of the UP data corresponding to the temporary identifier of the first user, the first network device suspends or deactivates the PDU session corresponding to the temporary identifier of the first user, the first network device deactivates the context corresponding to the temporary identifier of the first user, and the like. It should be pointed out that the first network device may be a part of the core network of the system. Therefore, the first network device stops the transmission of all or part of the CP messages (or CP signaling) corresponding to the temporary identifier of the first user, and may also include: the first network device notifies each network element serving the first user to stop the transmission of all or part of the CP messages (or CP signaling) corresponding to the temporary identifier of the first user. The first network device stops transmitting all or part of the UP data corresponding to the temporary identifier of the first user, and may also include: the first network device notifies each network element serving the first user to stop transmitting all or part of the UP data corresponding to the temporary identifier of the first user. The first network device suspends or deactivates the PDU session corresponding to the temporary identifier of the first user, and may also include: the first network device notifies each network element serving the first user to suspend or deactivate the PDU session corresponding to the temporary identifier of the first user. The first network device deactivating the context corresponding to the temporary identifier of the first user may include: the first network device notifying a network element storing the context corresponding to the temporary identifier of the first user to deactivate the context corresponding to the temporary identifier of the first user. Here, the first network device does not stop all or part of the communication services corresponding to the temporary identifier of the first user exhaustively or limitatively. The sending of the third message may refer to: the first network device sending the third message to the terminal. The third message carries at least one of the following: an updated temporary identifier of the first user, an updated validity period, an updated validity area, and an identifier of the first user. Optionally, the third message may carry only the updated temporary identifier of the first user. In this case, the first network device may reallocate or generate a new temporary identifier for the first user. This embodiment does not limit the manner in which the first network device reallocates the new temporary identifier. The updated valid time corresponding to the updated temporary identification of the first user may be preconfigured; and / or the updated valid area corresponding to the updated temporary identification of the first user may also be preconfigured. This embodiment does not limit the method of pre-configuring the updated effective time and the updated effective area. As long as the terminal and the first network device are the same, they are within the protection scope of this embodiment. Optionally, the third message may carry the updated temporary identifier of the first user. In addition, the third message may also carry at least one of the updated effective time and the updated effective area. This embodiment does not limit the allocation method of the updated effective time and the updated effective area. Optionally, the third message may only carry the identifier of the first user. The identifier of the first user is a unique identifier of the first user that does not change in the network or system. The identifier of the first user may also be referred to as a permanent identifier of the first user. The identifier of the first user includes at least one of the following: a code of the first user, a name of the first user, an identifier of a network corresponding to the identifier of the first user, IMSI, GUTI, and PEI. Optionally, the third message may carry the identifier of the first user. And the third message may carry at least one of the updated effective time and the updated effective area. In this case, at least one of the updated effective time and the updated effective area may be content used to constitute the effective service condition corresponding to the identifier of the first user, which will not be described in detail here. The third message is carried by at least one of the following: a first downlink NAS message and a first downlink container. Exemplarily, the third message may be carried by the first downlink NAS message. For example, the third message may be carried by the first downlink NAS message sent by the first network device to the terminal. In this case, the first network device may be an AMF. For example, the first network device may call the second network device to provide a specific service, send the third message to the second network device through the called service message, and the second network device may send the first message to the terminal through the first downlink NAS message. In this case, the first network device may be an identification management network element, and the second network device may be an AMF. Alternatively, the first network device may be at least one of a UDM and a UDR, and the second network device may be an AMF. Exemplarily, the third message may be carried by the first downlink container. Further, the third message may be carried by the first downlink NAS The first downlink container in the message carries the For example, the third message may be carried by the first downlink container in the first downlink NAS message sent by the first network device to the terminal. In this case, the first network device may be an AMF. For example, the first network device may encapsulate the third message in the first downlink container and send it to the second network device, and the second network device may send the first downlink container to the terminal through the first downlink NAS message. In this case, the first network device may be an identification management network element, and the second network device may be an AMF. Alternatively, the first network device may be at least one of a UDM and a UDR, and the second network device may be an AMF. In some possible implementations, after the first network device sends the first message, it may include: if the temporary identifier of the first user does not meet the second validity condition, the first network device performs at least one of the following: stopping part or all of the communication services corresponding to the temporary identifier of the first user, and sending a third message. The second validity condition includes at least one of the following: the temporary identification of the first user is within the validity period; the terminal is located in the valid area; the terminal is located in the area where the temporary identification of the first user is used. In one example, the effective time is the effective duration. In this example, the way in which the first network device determines whether the temporary identification of the first user is within the effective time may include: the first network device starts the second timer from the second moment; the first network device continuously determines whether the timing duration of the second timer is within the effective duration, if the timing duration of the second timer is within the effective duration, then it is determined that the temporary identification of the first user is within the effective time, otherwise, it is determined that the temporary identification of the first user is not within the effective time. The second moment may be equal to the moment when the first network device generates the temporary identifier of the first user. Alternatively, the second moment may be equal to the moment when the first network device sends the first message. Alternatively, the second moment may be equal to the moment when the first network device receives the first reply message. Here, all possible situations of the second moment are not exhaustively listed. As long as the second moment is not earlier than the moment when the first network device generates the temporary identifier of the first user, it is within the protection scope of this embodiment. In one example, the valid time is one valid time period or multiple valid time periods. In this example, the way in which the first network device determines whether the temporary identification of the first user is within the valid time is the same as the way in which the terminal determines whether the temporary identification of the first user is within the valid time, and no repeated description is given. In one example, the first network device determines whether the terminal is located in a valid area, which may mean that the first network device obtains the current location of the terminal and determines whether the current location of the terminal is located in a valid area. In one example, the first network device determines whether the terminal is located in an area where the temporary identifier of the first user can be used by: the first network device obtains the current location of the terminal and determines whether the current location of the terminal is located in an area where the temporary identifier of the first user can be used. The specific content used in the second validity condition may be related to whether the first network device allocates a valid area and / or valid time and carries the valid area and / or valid time through the first message, or whether the first network device pre-configures the valid area and / or valid time, etc., which are exemplified below. In one embodiment, the first message carries a valid time, or the terminal and the first network device are respectively preconfigured with a valid time. In this case, the second validity condition may include that the temporary identification of the first user is within the validity period. Alternatively, the second validity condition may include that the temporary identification of the first user is within the validity period and the terminal is located in an area where the temporary identification of the first user can be used. In one embodiment, the first message carries a valid area, or the terminal and the first network device are respectively pre-configured with valid areas. In this case, the second valid condition may include that the terminal is within the valid area. In one embodiment, the first message carries a valid time and a valid area, or the terminal and the first network device preconfigure valid times respectively. In this case, the second valid condition may include that the temporary identification of the first user is within the valid time and the terminal is located in the valid area. In one embodiment, the first message does not carry the validity time and validity area, and the terminal and the first network device are not configured with the validity time and validity area. In this case, the second validity condition may include that the terminal is located in an area where the temporary identification of the first user can be used. It should be understood that the above is only an illustrative description of possible combinations of the second valid condition. In actual processing, it includes but is not limited to the above combinations. This embodiment does not enumerate all possible combinations, nor does it enumerate and limit all the contents that the second valid condition may contain. In this implementation, the first network device can determine by itself whether the temporary identification of the first user on the terminal side is valid, and then the first network device directly performs corresponding processing. Further, when the first network device determines that the temporary identification of the first user does not meet the second validity condition, it can only stop part or all of the communication services corresponding to the temporary identification of the first user, or it can only send a third message, or it can stop part or all of the communication services corresponding to the temporary identification of the first user and send a third message. As to which specific processing is performed by the first network device, it can be determined based on a pre-configured policy, which is not discussed here. To be limited. It should be pointed out that this implementation mode can be combined with the processing of the first network device receiving the second message. For example, the first network device can continue to determine whether the temporary identifier of the first user meets the second validity condition without receiving the second message sent by the terminal. When it is determined that the temporary identifier of the first user does not meet the second validity condition, the first network device may stop part or all of the communication services corresponding to the temporary identifier of the first user or send at least one of the third message. For another example, the first network device may determine that the temporary identifier of the first user is invalid, updates the relevant identifier of the first user, and that the temporary identifier of the first user does not satisfy the first validity condition based on the second message, without determining that the temporary identifier of the first user does not satisfy the second validity condition, and then stops at least one of some or all communication services corresponding to the temporary identifier of the first user and sends a third message, without receiving the second message from the terminal. In some possible implementations, after the terminal receives the first message, the method further includes: the terminal receives a third message, wherein the third message carries at least one of the following: an updated temporary identifier of the first user, an updated validity period, an updated validity area, and an identifier of the first user. Optionally, the terminal may receive the third message after the terminal receives the first message and after the terminal sends the second message. Optionally, the terminal may receive the third message at any time after the terminal receives the first message sent by the first network device. In this case, the terminal may not determine whether the temporary identifier of the first user meets the first validity condition, but only wait to receive the third message sent by the first network device, and maintain the communication service corresponding to the temporary identifier of the first user before receiving the third message sent by the first network device. Alternatively, in this case, the terminal can determine whether the temporary identifier of the first user satisfies the first validity condition. When the terminal has not determined that the temporary identifier of the first user does not satisfy the first validity condition and receives the third message sent by the first network device, the terminal receives and saves the content of the third message, and at the same time stops the last judgment of whether the temporary identifier of the first user satisfies the first validity condition; when the terminal determines that the temporary identifier of the first user does not satisfy the first validity condition, the terminal can execute the processing of reporting the second message, and after sending the second message, receive the third message sent by the first network device. Optionally, the third message may carry only the updated temporary identifier of the first user. In this case, the terminal can save the updated temporary identifier of the first user and delete the previous temporary identifier of the first user. The updated validity period corresponding to the updated temporary identifier of the first user can be preconfigured; and / or, the updated validity area corresponding to the updated temporary identifier of the first user can also be preconfigured. This embodiment does not limit the method of preconfiguration of the updated validity period and the updated validity area. As long as the terminal and the first network device are the same, they are within the protection scope of this embodiment. Optionally, the third message may carry the updated temporary identifier of the first user, and may also carry at least one of the updated validity period and the updated validity area. In this case, the terminal can save the updated temporary identification of the first user and delete the previous temporary identification of the first user. The terminal can also save the updated effective time and / or the updated effective area, and reconstruct a new first effective condition of the temporary identification of the new first user based on the updated effective time and / or the updated effective area, and then perform the same processing as the temporary identification of the first user, which will not be repeated here. Optionally, the third message may carry only the identifier of the first user. The identifier of the first user is a unique identifier of the first user that does not change in the network or system. The identifier of the first user may also be referred to as a permanent identifier of the first user. In this case, the terminal may save the identifier of the first user and use the identifier of the first user for subsequent communications. Optionally, the third message may carry the identifier of the first user. And the third message may carry at least one of the updated effective time and the updated effective area. In this case, the terminal receives and saves the identifier of the first user; and the terminal receives and saves at least one of the updated effective time and the updated effective area. At least one of the updated effective time and the updated effective area may be content used to constitute the effective service condition corresponding to the identifier of the first user, which will not be described in detail here. In some possible implementations, the first network device sending the fourth message means that the first network device sends the fourth message to the terminal. The terminal receiving the fourth message means that the terminal receives the fourth message sent by the first network device. In one embodiment, the first network device sending the fourth message may include: the first network device sending the fourth message to the terminal when determining that the trigger condition is met. The trigger condition may include at least one of the following: the terminal sends a request message to the network side to allocate an identification (ID) of the first user, and the network side and the terminal perform an authentication process of the identification (ID) of the first user to determine the ID of the first user. In this embodiment, the first network device can allocate, store or generate the identification of the first user. Preferably, in this embodiment, the first network device can be at least one of UDM, UDR, and identification management network element. In some possible examples, the first network device can also include at least one of UDM, UDR, identification management network element, and AMF. In an embodiment, the fourth message may be carried by at least one of the following: a fourth downlink NAS message, and a fourth downlink container. Exemplarily, the fourth message may be carried by a fourth downlink NAS message. For example, the fourth message may be carried by a fourth downlink NAS message sent by the first network device to the terminal. In this case, the first network device may be an AMF. For example, the first network device may call the second network device to provide a specific service, send the fourth message to the second network device through the called service message, and the second network device may send the fourth message to the terminal through a fourth downlink NAS message. In this case, the first network device may be an identification management network element, and the second network device may be an AMF. Alternatively, the first network device may be at least one of a UDM and a UDR, and the second network device may be an AMF. Exemplarily, the fourth message may be carried by a fourth downlink container. Further, the fourth message may be carried by a fourth downlink container in a fourth downlink NAS message. For example, the fourth message may be carried by the fourth downlink container in the fourth downlink NAS message sent by the first network device to the terminal. In this case, the first network device may be an AMF. For example, the first network device may encapsulate the fourth message in a fourth downlink container and send it to the second network device, and the second network device may send the fourth downlink container to the terminal through a fourth downlink NAS message. In this case, the first network device may be an identification management network element, and the second network device may be an AMF. Alternatively, the first network device may be at least one of a UDM and a UDR, and the second network device may be an AMF. In some possible implementations, the fourth message carries an identifier of the first user. The identifier of the first user may be allocated, stored, or generated by the first network device. The identifier of the first user may be used to specifically identify a specific user currently using the terminal. The identifier of the first user may be a unique identifier of the first user that does not change in the network or system. The identifier of the first user may also be referred to as a permanent identifier of the first user. It should also be noted that the fourth message may carry the identifier of each of one or more users, and the one or more users may include the first user, that is, the first user may be any one of the one or more users. In other words, the network side (first network device) may assign or generate an identifier for each of the one or more users of the terminal, and send the identifier of each user to the terminal through the fourth message. It should also be understood that since the processing related to the identifier of each user is the same as the processing related to the identifier of the first user, the following mainly uses the first user as an example for explanation, which does not mean that the solution provided in this embodiment does not also perform related processing on the identifiers of other users, but is just for the sake of brevity and does not repeat the processing related to the identifier of each user one by one. The identifier of the first user includes at least one of the following: a code of the first user, a name of the first user, an identifier of a network corresponding to the identifier of the first user, IMSI, GUTI, and PEI. The first user's code can be expressed as any one of the first user's code, the first user's number, the first user's index, the first user's number, and a unique ID, etc., and the representation methods are not exhaustively listed and limited here. The specific generation or allocation method of the first user's code is not limited in this embodiment. The name of the first user may be a specific name used to represent the first user, for example, may be represented as: “username”, that is, the user name. The network corresponding to the first user's identifier may refer to the operator network corresponding to the first user's identifier. The operator network corresponding to the first user's identifier may refer to the operator network that allocates the first user's identifier or the operator network that stores the first user's identifier. The identifier of the network corresponding to the identifier of the first user may include: an ID of the network corresponding to the identifier of the first user, or a name of the network corresponding to the identifier of the first user. Exemplarily, the operator network corresponding to the first user's identifier may be a PLMN, and the ID of the network corresponding to the first user's identifier is a PLMN ID. Exemplarily, the name of the operator network corresponding to the first user's identifier may be used as the name of the network corresponding to the first user's identifier. For example, the name of the network corresponding to the first user's identifier may be expressed as "@Realm". The identifier of the first user may be of two types or in two ways of expression: Mode 1 (or type 1): The first user's identifier may include at least: the network ID corresponding to the first user's identifier and / or the first user's code. For example, the first user's identifier may be represented as PLMN ID+the first user's code. In this way, the identifier of the first user may also include content other than the ID of the network corresponding to the identifier of the first user and the code of the first user, for example, it may include at least one of GUTI, IMSI, PEI, etc. For example, the identifier of the first user may be expressed as PLMN ID+code of the first user+GUTI; or, the identifier of the first user may be expressed as PLMN ID+code of the first user+IMSI; or, the identifier of the first user may be expressed as IMSI+code of the first user; or, the identifier of the first user may be expressed as GUTI+code of the first user; or, the identifier of the first user may be expressed as GUTI+PEI+code of the first user, etc., and various possible composition methods of the identifier of the first user are not exhaustively listed here. Mode 2 (or Type 2): The first user's identifier may include at least: the name of the network corresponding to the first user's identifier and the The name of a user. For example, the first user's identity can be expressed as username@realm. In this way, the identifier of the first user may also include content other than the name of the network corresponding to the identifier of the first user and the name of the first user, for example, may include at least one of GUTI, IMSI, PEI, etc. For example, the identifier of the first user may be expressed as "username, GUTI@realm", or "username&GUTI@realm", etc.; or, the identifier of the first user may be expressed as "username, IMSI@realm", or "username&IMSI@realm", etc., and various possible composition methods and representation methods of the identifier of the first user are not limited or exhaustive here. In some possible implementations, the terminal side and / or the first network device side may also obtain a valid time and / or a valid area. The valid time and / or the valid area may be used to form a valid service condition corresponding to the first user's identifier, that is, the valid time and / or the valid area may be used to determine whether the first user's identifier can obtain the corresponding communication service. The valid time is used to determine the time range of the communication service corresponding to the identifier of the first user. Optionally, the valid time may be a valid duration. Optionally, the valid time may include one or more valid time periods. The valid area may be used to determine the area or range of the communication service corresponding to the identifier of the first user. That is, when the terminal is located in the valid area, the communication service corresponding to the identifier of the first user may be executed, provided, or obtained, and when the terminal is not located in the valid area, the communication service corresponding to the identifier of the first user may not be executed, provided, or obtained. Optionally, the valid area may be represented by one or more coordinate values in a geographic coordinate system. Optionally, the valid area may be represented by an area identifier in a communication system. In one embodiment, the first network device may allocate an effective time and / or effective area in addition to allocating the first user's identifier. Accordingly, the fourth message also carries at least one of the following: effective time, effective area. This embodiment does not limit the manner in which the first network device generates or allocates the effective time and / or effective area. In one embodiment, on the terminal side, the effective time is preconfigured, and / or the effective area is preconfigured. Correspondingly, on the first network device side, the effective time is preconfigured, and / or the effective area is preconfigured. It should be noted that the same valid time needs to be preconfigured on the terminal side and the first network device side, and / or the same valid area needs to be preconfigured on the terminal side and the first network device side. In some possible implementations, after the terminal receives the fourth message, the method may further include: the terminal sends a second reply message, the second reply message is used to indicate that the fourth message is successfully received. Correspondingly, after the first network device sends the first message, the method may further include: the first network device receives the second reply message. Specifically, the terminal sending the second reply message may refer to the terminal sending the second reply message to the first network device. The first network device receiving the second reply message may refer to the first network device receiving the second reply message sent by the terminal. Exemplarily, the second reply message may be carried by a fourth uplink NAS message. For example, the second reply message may be carried by a fourth uplink NAS message sent by the terminal to the first network device. In this case, the first network device may be an AMF. For example, the second reply message may be carried by the fourth uplink NAS message sent by the terminal to the second network device, and the second network device may send the second reply message to the first network device. In this case, the first network device may be at least one of an identification management network element, a UDM, and a UDR, and the second network device may be an AMF. In some possible implementations, after the terminal receives the fourth message, the method further includes: when the valid service conditions corresponding to the identifier of the first user are not met, the terminal performs at least one of the following: stopping part or all of the communication services corresponding to the identifier of the first user, sending a fifth message, wherein the fifth message is used to determine at least one of the following: not meeting the valid service conditions corresponding to the identifier of the first user, allocating a temporary identifier of the first user, updating the valid time, and updating the valid area. The valid service condition includes at least one of the following: within the valid time; the terminal is located in the valid area. Here, within the valid time may mean that the communication service corresponding to the identifier of the first user is within the valid time. In one example, the effective time is the effective duration. The terminal determines whether it is within the effective time in a manner that may include: the terminal starts a third timer from a third moment; the terminal continuously determines whether the timing duration of the third timer is within the effective duration, and if the timing duration of the third timer is within the effective duration, it is determined that the communication service corresponding to the first user's identifier is within the effective time, otherwise, it is determined that the communication service corresponding to the first user's identifier is not within the effective time. The third moment is equal to the moment when the terminal receives the fourth message. Alternatively, the third moment may be equal to the moment when the terminal sends the second reply message. Here, all possible situations of the third moment are not exhaustively listed, as long as it is not earlier than the moment when the terminal receives the fourth message, it is within the protection scope of this embodiment. In one example, the valid time is a valid time period. The way in which the terminal determines whether it is within the valid time period may include: the terminal continuously determines whether the current moment is equal to or later than the end moment of the valid time period, and if the current moment is not the end moment of the valid time period, determines that the communication service corresponding to the first user's identifier is within the valid time period; if the current moment is equal to or later than the end moment of the valid time period, determines that the communication service corresponding to the first user's identifier is not within the valid time period. Alternatively, the effective time is a plurality of effective time periods. The terminal determines whether it is within the effective time by: if the current time is within any effective time period, the terminal determines that the communication service corresponding to the first user's identifier is within the effective time period; if the current time is not within any effective time period, and the current time is equal to or later than the end time of the last effective time period among all effective time periods, the terminal determines that the communication service corresponding to the first user's identifier is not within the effective time period. In one example, the terminal determines whether it is located in the valid area, which may refer to: the terminal obtains the current location and determines whether the current location is located in the valid area. The specific contents used in the effective service condition may be related to whether the fourth message carries the effective area and / or effective time, or whether the terminal is pre-configured with the effective area and / or effective time, etc., which are exemplarily described below. In one embodiment, the fourth message carries a valid time, or the terminal and the first network device pre-configure the valid time respectively. In this case, the valid service condition can be included in the valid time. In one embodiment, the fourth message carries a valid area, or the terminal and the first network device are respectively pre-configured with valid areas. In this case, the valid service condition may include that the terminal is located within the valid area. In one embodiment, the fourth message carries the effective time and the effective area, or the terminal and the first network device pre-configure the effective time respectively. In this case, the effective service condition includes: within the effective time, and the terminal is located in the effective area. Alternatively, the effective service condition may include any one of within the effective time and the terminal is located in the effective area. It should be understood that the above is only an illustrative description of the possible combinations of the effective service conditions. In actual processing, the combinations mentioned above are included but not limited to the above combinations. This embodiment does not enumerate all possible combinations, nor does it enumerate and limit all the contents that the effective service conditions may contain. The stopping of all or part of the communication services corresponding to the identifier of the first user may include at least one of the following: the terminal stops the transmission of all or part of the CP messages (or control plane signaling) corresponding to the identifier of the first user, the terminal stops the transmission of all or part of the UP data corresponding to the identifier of the first user, the terminal suspends or deactivates the PDU session corresponding to the identifier of the first user, the terminal deactivates the context corresponding to the identifier of the first user stored in the UE, etc. Here, the stopping of all or part of the communication services corresponding to the identifier of the first user by the terminal is not exhaustively listed and limited. Optionally, the fifth message may carry a second indication for display, and the second indication may be used to indicate at least one of the following: failure to meet the valid service condition corresponding to the identifier of the first user, allocation of a temporary identifier of the first user, updating of the valid time, and updating of the valid area. The second indication may only indicate that any one of the valid service condition corresponding to the identifier of the first user, the temporary identifier of the first user, the updating of the valid time, and the updating of the valid area is not met; or, the second indication may indicate that two or more of the valid service condition corresponding to the identifier of the first user, the temporary identifier of the first user is assigned, the updating of the valid time, and the updating of the valid area are not met, and this embodiment is not limited to this. The above-mentioned second indication may occupy one or more designated fields in the fifth message; for example, the first designated field in the fifth message may be used to indicate that the valid service condition corresponding to the identifier of the first user is not met, the second designated field in the fifth message may be used to indicate or request the allocation of a temporary identifier of the first user, the third designated field in the fifth message may be used to indicate the update effective time, and the fourth execution field in the fifth message is used to indicate the update effective area. The specific indication method of each designated field may be based on a specific description content indication or may be indicated by carrying a designated value, all of which are within the protection scope of this embodiment and are not exhaustively listed or limited here. It should be understood that the carrying method and specific content of the above-mentioned second indication in the fifth message are only exemplary. In actual processing, as long as there is at least one bit or at least one content in the fifth message, which can indicate at least one of the following: failure to meet the valid service conditions corresponding to the identifier of the first user, allocation of a temporary identifier of the first user, updating of the valid time, and updating of the valid area, it is within the protection scope of this embodiment, and various possible forms are not limited or enumerated here. Optionally, the fifth message may implicitly indicate at least one of the following: failure to meet a valid service condition corresponding to the identifier of the first user, allocation of a temporary identifier of the first user, updating of the valid time, and updating of the valid area. In one example, the fifth message may carry the effective time and / or effective area. In this case, if the first network device receives the fifth message carrying the effective time and / or effective area, the first network device may determine at least one of the following: the effective service condition corresponding to the identifier of the first user is not met, a temporary identifier of the first user is allocated, the effective time is updated, and the effective area is updated. In one example, the fifth message may not carry any content. As long as the terminal sends a signal or message in a format agreed upon by both parties, the first network device can determine that the fifth message is used to indicate at least one of the following: failure to meet the valid service conditions corresponding to the identifier of the first user, allocation of a temporary identifier of the first user, updating of the valid time, and updating of the valid area. The fifth message is carried by at least one of the following: a second uplink non-access layer NAS message and a second uplink container. For example, the fifth message may be carried by the second uplink container in the second uplink NAS message sent by the terminal to the second network device, and the second uplink container may be sent by the second network device to the first network device. In this case, the first network device may be at least one of an identification management network element, a UDM, and a UDR, and the second network device may be an AMF. For example, the fifth message may be carried by the second uplink NAS message sent by the terminal to the second network device, and the second network device extracts the fifth message carried in the second reported NAS message and sends it to the first network device. In this case, the first network device may be at least one of an identification management network element, a UDM, and a UDR, and the second network device may be an AMF. For example, the fifth message may be carried by a second uplink NAS message sent by the terminal to the first network device. In this case, the first network device may be an AMF. In some possible implementations, after the first network device sends the fourth message, the method further includes: the first network device receives a fifth message, wherein the fifth message is used to determine at least one of the following: a valid service condition corresponding to the identifier of the first user is not satisfied, a temporary identifier of the first user is allocated, a valid time is updated, and a valid area is updated; the first network device executes at least one of the following: stopping part or all of the communication services corresponding to the identifier of the first user, and sending a sixth message. Optionally, the fifth message may be an implicit indication. The fifth message may not carry any content. When the first network device receives the fifth message, it may determine that the valid service condition corresponding to the first user's identifier is not met; accordingly, the first network device may execute the process of stopping part or all of the communication services corresponding to the first user's identifier. Alternatively, the fifth message may carry the effective time and / or effective area. Upon receiving the fifth message, the first network device may determine that the effective service condition corresponding to the identifier of the first user is not met, allocate a temporary identifier of the first user, update the effective time, and update at least one of the effective area; accordingly, the first network device may execute the process of stopping part or all of the communication services corresponding to the temporary identifier of the first user, and send the sixth message. In this case, the sixth message may carry at least one of the following: the temporary identifier of the first user, the updated validity period, and the updated validity area. In this implementation, the content that the temporary identifier of the first user may contain is the same as that in the previous embodiment, and no repeated description is given. The manner in which the first network device generates or allocates the temporary identifier of the first user is not limited in this embodiment. Alternatively, the fifth message may carry the effective time and / or effective area. When the first network device receives the fifth message, it may determine that the effective service condition corresponding to the identifier of the first user is not met, allocate a temporary identifier of the first user, update the effective time, and update at least one of the effective area; accordingly, the first network device may send a sixth message. In this case, the sixth message may carry at least one of the following: the temporary identifier of the first user, the updated effective time, and the updated effective area. Optionally, the fifth message may be a display indication. When the first network device receives the fifth message, it may determine, based on the second indication in the fifth message, that the terminal indication does not meet the valid service condition corresponding to the identifier of the first user, allocate a temporary identifier of the first user, update the valid time, and update at least one of the valid area. When the first network device determines that the terminal indication does not satisfy the valid service condition corresponding to the identifier of the first user, the first network device may execute processing to stop part or all of the communication services corresponding to the temporary identifier of the first user. Alternatively, when the first network device determines that the terminal instructs to allocate the temporary identifier of the first user, the first network device may execute the process of sending the sixth message. In this case, the sixth message may carry the temporary identifier of the first user; optionally, the sixth message may also carry at least one of the following: updated validity period and updated validity area. Alternatively, when the first network device determines that the terminal indicates to update at least one of the effective time and the effective area, the first network device may stop part or all of the communication services corresponding to the temporary identifier of the first user, and send a sixth message. In this case, the sixth message may carry at least one of the following: the updated effective time and the updated effective area. Optionally, the sixth message may carry the temporary identifier of the first user. The stopping of all or part of the communication services corresponding to the identifier of the first user may include at least one of the following: the first network device stops the transmission of all or part of the CP messages (or CP signaling) corresponding to the identifier of the first user, the first network device stops the transmission of all or part of the UP data corresponding to the identifier of the first user, the first network device suspends or deactivates the PDU session corresponding to the identifier of the first user, the first network device deactivates the context corresponding to the identifier of the first user, and the like. It should be pointed out that the first network device may be a part of the core network of the system. Therefore, the first network device stops the transmission of all or part of the CP messages (or CP signaling) corresponding to the identifier of the first user, and may also include: the first network device notifies each network element serving the first user to stop the transmission of all or part of the CP messages (or CP signaling) corresponding to the identifier of the first user. The first network device stops transmission of all or part of the UP data corresponding to the identifier of the first user, and may also include: the first network device notifies each network element serving the first user to stop transmission of all or part of the UP data corresponding to the identifier of the first user. The first network device suspending or deactivating the PDU session corresponding to the identifier of the first user may also include: the first network device notifying each network element serving the first user to suspend or deactivate the PDU session corresponding to the identifier of the first user. The first network device deactivating the context corresponding to the identifier of the first user may include: the first network device notifying a network element storing the context corresponding to the identifier of the first user to deactivate the context corresponding to the identifier of the first user. Here, the first network device is not required to stop all or part of the communication services corresponding to the identifier of the first user exhaustively or limitatively. The sending of the sixth message may refer to: the first network device sending the sixth message to the terminal. The sixth message is carried by at least one of the following: a third downlink NAS message and a third downlink container. For example, the first network device may call the second network device to provide a specific service, send the sixth message to the second network device through the called service message, and the second network device may send the sixth message to the terminal through the third downlink NAS message. In this case, the first network device may be at least one of an identity management network element, a UDM, and a UDR, and the second network device may be an AMF. For example, the first network device may encapsulate the sixth message in a third downlink container and send it to the second network device, and the second network device may send the third downlink container to the terminal through a third downlink NAS message. In this case, the first network device may be at least one of an identification management network element, a UDM, and a UDR, and the second network device may be an AMF. For example, the sixth message may be carried by the third downlink NAS message sent by the first network device to the terminal. Alternatively, the sixth message may be carried by the third downlink container in the third downlink NAS message sent by the first network device to the terminal. In this case, the first network device may be an AMF. In some possible implementations, after the first network device sends the fourth message, it may include: when the terminal does not meet the valid service condition corresponding to the identifier of the first user, the first network device performs at least one of the following: stopping part or all of the communication services corresponding to the identifier of the first user, and sending a sixth message. The valid service condition includes at least one of the following: within a valid time; the terminal is located in a valid area. Here, within a valid time may mean that the communication service corresponding to the first user's identifier is within a valid time. In one example, the effective time is the effective duration. In this example, the way in which the first network device determines whether it is within the effective time may include: the first network device starts a fourth timer from a fourth moment; the first network device continuously determines whether the timing duration of the fourth timer is within the effective duration, if the timing duration of the fourth timer is within the effective duration, then it is determined that the communication service corresponding to the first user's identifier is within the effective time, otherwise, it is determined that the communication service corresponding to the first user's identifier is not within the effective time. The fourth moment may be equal to the moment when the first network device sends the fourth message. Alternatively, the second moment may be equal to the moment when the first network device receives the second reply message. Here, all possible situations of the fourth moment are not exhaustively listed. In one example, the valid time is one valid time period or multiple valid time periods. In this example, the way the first network device determines whether it is within the valid time is the same as the way the terminal determines whether it is within the valid time, and no repeated description is given. In one example, the first network device determines whether the terminal is located in a valid area, which may mean that the first network device obtains the current location of the terminal and determines whether the current location of the terminal is located in a valid area. The specific contents used by the effective service condition may be related to whether the fourth message carries the effective area and / or effective time, or whether the terminal is pre-configured with the effective area and / or effective time, etc., and exemplary descriptions are given below. The contents that may be carried by the effective service condition are the same as those described in the previous embodiment, so they are not repeated. In this implementation, the first network device can determine by itself whether the valid service conditions corresponding to the identifier of the first user are met, and then the first network device directly performs corresponding processing. Further, when the first network device determines that the valid service conditions corresponding to the identifier of the first user are not met, it can only stop part or all of the communication services corresponding to the identifier of the first user, or it can only send the sixth message, or it can stop part or all of the communication services corresponding to the identifier of the first user and send the sixth message. The specific processing performed by the first network device can be determined based on a pre-configured policy, which is not limited here. It should be pointed out that this implementation mode can be combined with the processing of the first network device receiving the fifth message. For example, the first network device can continue to determine whether the valid service conditions corresponding to the identifier of the first user are met without receiving the fifth message sent by the terminal. When it is determined that the valid service conditions corresponding to the identifier of the first user are not met, the first network device may stop part or all of the communication services corresponding to the identifier of the first user or send at least one of the sixth message. For another example, when the valid service conditions corresponding to the identifier of the first user are met and the fifth message from the terminal is received, the first network device may determine based on the fifth message that the valid service conditions corresponding to the identifier of the first user are not met, allocate a temporary identifier for the first user, update the valid time, update at least one of the valid area, and then stop some or all of the communication services corresponding to the identifier of the first user and send at least one of the sixth messages. In some possible implementations, after the terminal receives the fourth message, the method further includes: the terminal receiving a sixth message, wherein the sixth message carries at least one of the following: a temporary identifier of the first user, an updated validity period, and an updated validity area. Optionally, the terminal receives the sixth message after receiving the fourth message and sending the fifth message. Optionally, the terminal may receive the sixth message at any time after the terminal receives the fourth message sent by the first network device. In this case, the terminal may not determine whether the valid service condition corresponding to the identifier of the first user is met, but only waits for receiving The sixth message sent by the first network device, and before receiving the sixth message sent by the first network device, the communication service corresponding to the identifier of the first user is maintained. Alternatively, in this case, the terminal can determine whether the valid service conditions corresponding to the identifier of the first user are met. When the terminal determines that the valid service conditions corresponding to the identifier of the first user are met and receives the sixth message sent by the first network device, the terminal receives and saves the content of the sixth message, and stops the last judgment on whether the valid service conditions corresponding to the identifier of the first user are met. When the terminal determines that the valid service conditions corresponding to the identifier of the first user are not met, the terminal can execute the processing of reporting the fifth message and receive the sixth message sent by the first network device. Optionally, the sixth message may only carry the temporary identifier of the first user. In this case, the terminal may save the temporary identifier of the first user. The updated validity period corresponding to the temporary identifier of the first user may be preconfigured; and / or, the updated validity area corresponding to the temporary identifier of the first user may also be preconfigured. This embodiment does not limit the manner of preconfiguration of the updated validity period and the updated validity area, as long as the terminal and the first network device are the same, they are within the protection scope of this embodiment. The terminal then performs processing related to the temporary identifier of the first user, which is not described in detail here. Optionally, the sixth message may carry the temporary identifier of the first user. Furthermore, the sixth message may also carry at least one of the updated effective time and the updated effective area. In this case, the terminal can save the temporary identification of the first user, and the terminal can save the updated valid time and / or the updated valid area, and based on the updated valid time and / or the updated valid area, reconstruct the first valid condition of the temporary identification of the first user, and then perform the same processing as the temporary identification of the first user, which will not be repeated here. Optionally, the sixth message may only carry the updated effective time and / or the updated effective area. In this case, the terminal receives and saves at least one of the updated effective time and the updated effective area. At least one of the updated effective time and the updated effective area may be content for constituting a new effective service condition corresponding to the identifier of the first user, which will not be described in detail here. The relevant information of the user identification provided in the foregoing embodiments of the present application may include, for example, the identification (or permanent identification) of the first user and / or the temporary identification of the first user; the relevant information of the user identification may be bound or associated with the relevant identification as a profile and stored in the first network device on the network side (such as UDM, a new ID (identification) management network element, etc.), and the relevant identification may be the relevant identification corresponding to the terminal (or USIM card), for example, it may include at least one of the following: SUPI, IMSI, PEI. In conjunction with FIG. 9, an exemplary description is given, assuming that the first user is user A, and the profile corresponding to user A may include the permanent identification of user A, and optionally, may include at least one of the temporary identification, effective time, and effective area of user A. The temporary identification of user A (or at least one of the temporary identification, effective time, and effective area of user A) may be determined or allocated or generated by the first network device based on the actual situation or actual needs after determining (or generating or allocating) the permanent identification of user A, and at least one of the temporary identification, effective time, effective area, and permanent identification of user A of user A may be sent to the terminal. In conjunction with FIG10, an exemplary description is given by taking the terminal as a UE (illustrated as a UE / USIM in FIG10) and the first network device as an ID management network element (ie, an identification management network element) as an example: Step 1001: UDM / UDR stores a user permanent identifier and sends the user permanent identifier to a user ID management network element. The user permanent identifier may be the identifier of the first user in the aforementioned embodiment. In the following, the user permanent identifier may be replaced by a user ID or a permanent user ID, and no further explanation is given. It should be noted that step 1001 may be triggered by some conditions, for example, the network side determines the permanent user identity through an authentication process or UE reporting, etc. Exemplarily, the UE sends a request message for allocating a user ID to the network side, or the network side and the UE perform a user ID authentication process to determine the user ID. Step 1002: The ID management network element stores the received permanent user ID (identification) and generates a temporary user ID; optionally, the ID management network element can generate valid time and / or valid location information. The temporary user ID is the temporary identification of the first user in the aforementioned embodiment, and the valid location information (or valid location) is the valid area in the aforementioned embodiment. The validity period is used to indicate the validity period of the temporary user ID. The validity period can refer to a duration (such as the duration set by the network element or terminal that subsequently receives the temporary identifier to start the validity timer), or it can refer to a time period (such as the 9:00-10:00 time period). The valid location refers to the area where the user identifier is valid. The user's valid location can be used to ensure that the network provides services (such as data transmission services) to the user in an effective area. When the user (corresponding UE) times out and / or is not in a valid location, at least one of the following operations can be performed: the 5G system can stop the communication service (such as stopping all or part of the data transmission on the user plane / all or part of the signaling transmission on the control plane), such as suspending or deactivating the PDU session, deactivating the context stored in the UE); the user ID is no longer valid and needs to be reallocated on the network side (such as the UE can initiate the process shown in Figure 12). The above-mentioned valid time and / or valid position may also be statically configured or pre-negotiated parameters, which are configured in the UE and / or the network side (ID management network element). Steps 1003-1004: The ID management network element sends a temporary user identity (optionally, validity period and / or location information) to the AMF, which then sends it to the UE side. There are two ways to implement this step: Method 1: The ID management network element calls AMF to provide a specific Service. The ID management network element carries the temporary user identity (optionally, the valid time and / or location information) in the called Service message and sends it to AMF; after receiving the call message, AMF sends the temporary user identity (optionally, the valid time and / or location information) to the UE through a downlink (DL) NAS message. Method 2: The ID management network element encapsulates the temporary user identity (optionally, the valid time and / or location information) in a Container and sends it to AMF. AMF uses a downlink NAS message to forward the Container to the UE. Step 1005: The UE sends a first reply message to the network side to confirm successful reception. Specifically, the UE can send the first reply message to the AMF, and the AMF sends the first reply message to the ID management network element. It may also include: after receiving the temporary user identity (optionally, the validity period and / or location information), the UE saves the information. The message carrying the temporary user identity (optionally, the validity period and / or location information) received by the UE is the first message in the above embodiment. In addition, if the UE receives the valid time information (or the UE preconfigures the valid time), the UE can start the corresponding timer. The network side network element (ID management network element and / or AMF) can start the timer after receiving the first reply message; or the network side network element can also start the timer when step 1002, step 1003 or step 1004 occurs, that is, there is no need to wait for the first reply message of the UE. It should also be pointed out that if the network side (such as an ID management network element) does not allocate a temporary identifier and only uses a permanent user ID, the user ID sent by the AMF to the UE is a permanent user ID. In this case, the network side can still generate valid time and valid location parameters. That is, the first network device (such as an ID management network element, UDM or UDR) in the aforementioned embodiment sends the fourth message (carrying the identifier of the first user) and related processing, which will not be repeated here. In addition, temporary or permanent user identifiers may be allocated and maintained by an ID management network element, and then step 1001 does not need to be performed. Conversely, temporary and permanent user identifiers may be allocated by UDM / UDR, and then step 1002 may be performed by UDM / UDR. In this scenario, UDM / UDR may be the first network device in the aforementioned embodiment, and the ID management network element may not be needed or may only be used as a storage identifier. In conjunction with Figure 11, taking the terminal as UE (illustrated as UE / USIM in Figure 11) and the first network device as AMF as an example, this process is consistent with the process principle shown in Figure 10. There is no ID management network element in Figure 11, and all functions of the ID management network element in Figure 10 are replaced by AMF. For this reason, AMF may not generate a new Container, but directly send relevant parameters to UE through a DL NAS message. Specifically, it may include: Step 1101: UDM / UDR stores a permanent user identifier and sends the permanent user identifier to AMF. The permanent user identifier may be the identifier of the first user in the aforementioned embodiment. In the following, the permanent user identifier may be alternatively represented as a user ID or a permanent user ID, and no further explanation is given. It should be noted that step 1101 may be triggered by some conditions, and the relevant description is the same as that of the aforementioned example and will not be repeated herein. Step 1102: AMF stores the received permanent user ID (identification) and generates a temporary user identification (ID); optionally, AMF can generate valid time and / or valid location information. Step 1103: The AMF sends the temporary user identity (optionally, validity period and / or location information) to the UE via a downlink (DL) NAS message. Step 1104: The UE sends a first reply message to the AMF to confirm successful reception. In conjunction with FIG12, taking the terminal as a UE (illustrated as a UE / USIM in FIG12) and the first network device as an ID management network element (ie, an identification management network element) as an example, another exemplary description is given: Step 1201: The UE sends an uplink NAS message (such as a registration request message) to the AMF, which may carry a first indication and / or a user temporary identifier. The first indication and / or user temporary identifier carried in this step may be the second message in the aforementioned embodiment. The user temporary identifier is the temporary identifier of the first user in the aforementioned embodiment. The first indication is used to indicate at least one of the following: a user (temporary) identity is allocated, and the valid time or valid location of the user (or the UE) is no longer satisfied. As an optional method: the UE can encapsulate the relevant parameters (the first indication and / or the user temporary identity) in a Container and send it to the AMF through a UL NAS message. As another optional method: the UE directly puts the relevant parameters (the first indication and / or the user temporary identity) in a UL NAS message and sends it to the AMF. It should be noted that the UE sending step 1201 can be based on certain conditions, such as the expiration of the "valid time" timer of the user temporary identity, the UE moves out of the valid location, or the UE's user temporary identity is updated simultaneously with the existing GUTI (updating the GUTI will also update the user temporary identity at the same time). In addition, step 1201 can also be used for the UE to request a permanent user identity. In this case, all user temporary identities in the following steps no longer need to be generated and maintained. The network side can simply reply to the UE with a permanent user identity, but the effective time / location can still be allocated as usual. Steps 1202-1203: AMF sends an identification request carrying the first indication and / or the user temporary identification to the ID management network element, and the ID management network element updates and generates a new temporary user identification. Optionally, it can also generate valid time and / or valid location information. If the UE uses the Container in step 1201, the AMF forwards the Container to the ID management network element in this step. Otherwise, the AMF sends the parameters to the ID management network element by calling the Service provided by the ID management network element. Steps 1204-1205: The ID management network element sends the new user temporary identification (optionally, validity period and / or validity area parameters) to the UE via the AMF. The message sent by the AMF to the UE may be a registration reply message, which may be the third message in the aforementioned embodiment. It should be noted that this step uses the same method of calling a container or a service as the aforementioned step, and will not be repeated. The above solution can also implement the process and method of allocating and managing user identification and / or temporary identification on the network side, and also implement the process and method of the terminal requesting the allocation of user identification and / or temporary identification. By adopting the above solution, permanent identification and / or temporary identification can be defined for the user, so as to distinguish different users using the same terminal; and new network elements can be used or new functions can be added to the network side, so that the network side can maintain a profile with user granularity. Specifically, by adopting the solution provided in the above embodiment, the terminal can receive the temporary identifier of the first user carried by the first message, where the first user is the user using the terminal. In this way, the terminal and the network side can identify each user based on the user's temporary identifier, and then provide corresponding management and communication services for different users using the terminal. In addition, the terminal can receive the identifier of the first user carried by the fourth message, where the first user is the user using the terminal. In this way, the terminal and the network side can identify each user based on the user identifier, and then provide corresponding management and communication services for different users using the terminal. FIG13 is a schematic diagram of a structure of a terminal according to an embodiment of the present application, including: The first communication unit 1301 is configured to receive a first message, wherein the first message carries a temporary identifier of a first user, and the first user is a user who uses the terminal. The temporary identifier of the first user includes at least one of the following: an identifier of the area corresponding to the temporary identifier of the first user, a related identifier of the network device corresponding to the temporary identifier of the first user, an identifier of the network corresponding to the temporary identifier of the first user, TMSI, IMSI, GUTI, and PEI. The temporary identification of the first user also includes: a code of the first user, where the code of the first user is allocated by a network device serving the terminal. The area corresponding to the temporary identifier of the first user includes at least one of the following: an area where a network device corresponding to the temporary identifier of the first user is located; and an area where the temporary identifier of the first user can be used. The related identifier of the network device corresponding to the temporary identifier of the first user includes at least one of the following: the identifier of the set to which the network device corresponding to the temporary identifier of the first user belongs; the identifier of the network device corresponding to the temporary identifier of the first user. The first communication unit is used to perform at least one of the following when the temporary identifier of the first user does not meet the first validity condition: stop all or part of the communication services corresponding to the temporary identifier of the first user, send a second message, wherein the second message is used to determine at least one of the following: the temporary identifier of the first user is invalid, the relevant identifier of the first user is updated, and the temporary identifier of the first user does not meet the first validity condition. The first validity condition includes at least one of the following: the temporary identification of the first user is within the validity period; the terminal is located in the valid area; the terminal is located in the area where the temporary identification of the first user can be used; the terminal has no other related identifications that need to be updated. The first message also carries at least one of the following: effective time, effective area. The validity period is preconfigured, and / or the validity area is preconfigured. The second message carries the temporary identifier of the first user. The second message is carried by at least one of the following: a first uplink non-access stratum NAS message and a first uplink container. The first communication unit is used to receive a third message, wherein the third message carries at least one of the following: an updated temporary identifier of the first user, an updated validity period, an updated validity area, and an identifier of the first user. The identifier of the first user includes at least one of the following: a code of the first user, a name of the first user, an identifier of a network corresponding to the identifier of the first user, IMSI, GUTI, and PEI. The third message is carried by at least one of the following: a first downlink NAS message and a first downlink container. The first message is carried by at least one of the following: a second downlink NAS message and a second downlink container. FIG14 is a schematic diagram of a composition structure of a first network device according to an embodiment of the present application, including: The second communication unit 1401 is configured to send a first message, wherein the first message carries a temporary identifier of a first user, and the first user is a user using a terminal. The temporary identifier of the first user includes at least one of the following: an identifier of the area corresponding to the temporary identifier of the first user, a related identifier of the network device corresponding to the temporary identifier of the first user, an identifier of the network corresponding to the temporary identifier of the first user, TMSI, IMSI, GUTI, and PEI. The temporary identifier of the first user also includes: a code of the first user. The area corresponding to the temporary identifier of the first user includes at least one of the following: the network corresponding to the temporary identifier of the first user The area where the device is located; the area where the temporary identification of the first user can be used. The related identifier of the network device corresponding to the temporary identifier of the first user includes at least one of the following: the identifier of the set to which the network device corresponding to the temporary identifier of the first user belongs; the identifier of the network device corresponding to the temporary identifier of the first user. The second communication unit is used to perform at least one of the following when the temporary identifier of the first user does not meet the second validity condition: stop part or all of the communication services corresponding to the temporary identifier of the first user, and send a third message. The second validity condition includes at least one of the following: the temporary identification of the first user is within the validity period; the terminal is located in the valid area; the terminal is located in the area where the temporary identification of the first user is used. The second communication unit is used to receive a second message, wherein the second message is used to determine at least one of the following: the temporary identifier of the first user is invalid, the relevant identifier of the first user is updated, and the temporary identifier of the first user does not meet the first validity condition; and execute at least one of the following: stop part or all of the communication services corresponding to the temporary identifier of the first user, and send a third message. The second message carries the temporary identifier of the first user. The second message is carried by at least one of the following: a first uplink non-access stratum NAS message and a first uplink container. The third message carries at least one of the following: an updated temporary identifier of the first user, an updated validity period, an updated validity area, and an identifier of the first user. The identifier of the first user includes at least one of the following: a code of the first user, a name of the first user, an identifier of a network corresponding to the identifier of the first user, IMSI, GUTI, and PEI. The third message is carried by at least one of the following: a first downlink NAS message and a first downlink container. The validity period is preconfigured, and / or the validity area is preconfigured. The first message also carries at least one of the following: effective time, effective area. The first message is carried by at least one of: a second downlink NAS message and a second downlink container. The first network device includes at least one of the following: access and mobility management function AMF, unified data management UDM, unified data warehouse function UDR, and identity management network element. An embodiment of the present application further provides a schematic diagram of the structure of a terminal device, the terminal device comprising: The first communication unit is configured to receive a fourth message, wherein the fourth message carries an identifier of a first user, and the first user is a user who uses the terminal. The identifier of the first user includes at least one of the following: a code of the first user, a name of the first user, an identifier of a network corresponding to the identifier of the first user, IMSI, GUTI, and PEI. The first communication unit is used to perform at least one of the following when the valid service conditions corresponding to the identifier of the first user are not met: stopping part or all of the communication services corresponding to the identifier of the first user, sending a fifth message, wherein the fifth message is used to determine at least one of the following: not meeting the valid service conditions corresponding to the identifier of the first user, allocating a temporary identifier of the first user, updating the valid time, and updating the valid area. The valid service condition includes at least one of the following: within the valid time; the terminal is located in the valid area. The fifth message is also used to determine the temporary identifier to be allocated to the first user. The fifth message is carried by at least one of the following: a second uplink non-access layer NAS message and a second uplink container. The validity period is preconfigured, and / or the validity area is preconfigured. The fourth message also carries at least one of the following: the validity time, the validity area. The first communication unit is used to receive a sixth message, wherein the sixth message carries at least one of the following: a temporary identifier of the first user, an updated validity period, and an updated validity area. The sixth message is carried by at least one of the following: a third downlink NAS message and a third downlink container. The fourth message is carried by at least one of the following: a fourth downlink NAS message and a fourth downlink container. An embodiment of the present application further provides a schematic diagram of a composition structure of a first network device, the first network device comprising: The second communication unit is used to send a fourth message, wherein the fourth message carries an identifier of a first user, and the first user is a user using the terminal. The identifier of the first user includes at least one of the following: a code of the first user, a name of the first user, an identifier of a network corresponding to the identifier of the first user, IMSI, GUTI, and PEI. The second communication unit is used for, when the terminal does not meet the valid service condition corresponding to the identifier of the first user, the first network device to perform at least one of the following: stopping part or all of the communication services corresponding to the identifier of the first user, and sending a sixth message. The valid service condition includes at least one of the following: within the valid time; the terminal is located in the valid area. The second communication unit is used to receive a fifth message, wherein the fifth message is used to determine at least one of the following: a valid service condition corresponding to the identifier of the first user is not met, a temporary identifier of the first user is allocated, a valid time is updated, and a valid area is updated; and at least one of the following is executed: stopping part or all of the communication services corresponding to the identifier of the first user, and sending a sixth message. The fifth message is carried by at least one of the following: a second uplink non-access layer NAS message and a second uplink container. The sixth message carries at least one of the following: a temporary identifier of the first user, an updated validity period, and an updated validity area. The sixth message is carried by at least one of the following: a third downlink NAS message and a third downlink container. The validity period is preconfigured, and / or the validity area is preconfigured. The fourth message also carries at least one of the following: effective time, effective area. The fourth message is carried by at least one of the following: a fourth downlink NAS message and a fourth downlink container. The first network device includes at least one of the following: access and mobility management function AMF, unified data management UDM, unified data warehouse function UDR, and identity management network element. The device of the embodiment of the present application can realize the corresponding functions of each device in the aforementioned authentication method embodiment. The processes, functions, implementation methods and beneficial effects corresponding to each module (submodule, unit or component, etc.) in the terminal device or the first network device can be found in the corresponding description in the above method embodiment, which will not be repeated here. It should be noted that the functions described in the terminal device of the embodiment of the application or each module (submodule, unit or component, etc.) in the first network device can be implemented by different modules (submodule, unit or component, etc.), or by the same module (submodule, unit or component, etc.). FIG. 15 is a schematic structural diagram of a communication device 1500 according to an embodiment of the present application. The communication device 1500 includes a processor 1510, and the processor 1510 can call and run a computer program from a memory so that the communication device 1500 implements the method in the embodiment of the present application. In a possible implementation, the communication device 1500 may also include a memory 1520. Among them, the processor 1510 can call and run a computer program from the memory 1520 so that the communication device 1500 implements the method in the embodiment of the present application. Among them, the memory 1520 can be a separate device independent of the processor 1510, or it can be integrated in the processor 1510. In a possible implementation, the communication device 1500 may also include a transceiver 1530, and the processor 1510 can control the transceiver 1530 to communicate with other devices, specifically, it can send information or data to other devices, or receive information or data sent by other devices. Among them, the transceiver 1530 may include a transmitter and a receiver. The transceiver 1530 may further include an antenna, and the number of antennas may be one or more. In one possible implementation, the communication device 1500 may be a terminal device or a first network device of an embodiment of the present application, and the communication device 1500 may implement the corresponding processes implemented by the terminal device or the first network device in each method of the embodiment of the present application, which will not be repeated here for the sake of brevity. FIG16 is a schematic structural diagram of a chip 1600 according to an embodiment of the present application. The chip 1600 includes a processor 1610, and the processor 1610 can call and run a computer program from a memory to implement the method in the embodiment of the present application. In a possible implementation, the chip 1600 may also include a memory 1620. Among them, the processor 1610 can call and run a computer program from the memory 1620 to implement the method performed by the first device or the target second device in the embodiment of the present application. Among them, the memory 1620 can be a separate device independent of the processor 1610, or it can be integrated in the processor 1610. In a possible implementation, the chip 1600 may also include an input interface 1630. Among them, the processor 1610 can control the input interface 1630 to communicate with other devices or chips, specifically, it can obtain information or data sent by other devices or chips. In a possible implementation, the chip 1600 may also include an output interface 1640. The processor 1610 may control the output interface 1640 to communicate with other devices or chips, and specifically, may output information or data to other devices or chips. In a possible implementation, the chip can be applied to the terminal device or the first network device in the embodiment of the present application, and the chip can implement the corresponding processes implemented by the terminal device or the first network device in each method of the embodiment of the present application, which will not be repeated here for the sake of brevity. It should be understood that the chip mentioned in the embodiment of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc. The above-mentioned processor can be a general-purpose processor, a digital signal processor (digital signal processor, DSP), a field programmable gate array (field programmable gate array, FPGA), an application specific integrated circuit (application specific integrated circuit, ASIC) or other programmable logic devices, transistor logic devices, discrete hardware components, etc. Among them, the above-mentioned general-purpose processor can be a microprocessor or any conventional processor, etc. The above-mentioned memory can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM) or a flash memory. The volatile memory can be a random access memory (RAM). It should be understood that the above-mentioned memory is an exemplary but not restrictive description. For example, the memory in the embodiment of the present application can also be a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDR SDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DR RAM), etc. That is to say, the memory in the embodiment of the present application is intended to include but is not limited to these and any other suitable types of memory. FIG17 is a schematic block diagram of a communication system 1700 according to an embodiment of the present application. The communication system 1700 includes a terminal 1710 and a first network device 1720. The terminal 1710 can be used to implement the corresponding functions implemented by the terminal in the above method. The first network device 1720 can be used to implement the corresponding functions implemented by the first network device in the above method. For the sake of brevity, it will not be repeated here. 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 instructions. When the computer program instructions are loaded and executed on a computer, the process or function in accordance with 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 devices. The computer instructions 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 instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, data center, etc. that contains one or more available media integrations. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)). It should be understood that in various embodiments of the present application, the size of the sequence number of each process does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. The above is only a specific implementation method of the present application, but the scope of protection of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered within the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claim.
Claims
1. A communication method, comprising: The terminal receives a first message, wherein the first message carries a temporary identifier of a first user, and the first user is a user who uses the terminal.
2. The method according to claim 1, wherein: The temporary identifier of the first user includes at least one of the following: an identifier of the area corresponding to the temporary identifier of the first user, a related identifier of the network device corresponding to the temporary identifier of the first user, an identifier of the network corresponding to the temporary identifier of the first user, a temporary mobile user identity code TMSI, an international mobile user identity code IMSI, a globally unique temporary UE identifier GUTI, and a permanent equipment identifier PEI.
3. The method according to claim 1 or 2, wherein: The temporary identification of the first user also includes: a code of the first user, where the code of the first user is allocated by a network device serving the terminal.
4. The method according to claim 2, wherein: The area corresponding to the temporary identifier of the first user includes at least one of the following: The area where the network device corresponding to the temporary identifier of the first user is located; An area in which the temporary identification of the first user can be used.
5. The method according to claim 2, wherein: The relevant identifier of the network device corresponding to the temporary identifier of the first user includes at least one of the following: An identifier of a set to which the network device corresponding to the temporary identifier of the first user belongs; The temporary identifier of the first user corresponds to the identifier of the network device.
6. The method according to any one of claims 1 to 5, wherein: After the terminal receives the first message, the method further includes: When the temporary identifier of the first user does not meet the first validity condition, the terminal performs at least one of the following: stopping all or part of the communication services corresponding to the temporary identifier of the first user, sending a second message, wherein the second message is used to determine at least one of the following: the temporary identifier of the first user is invalid, the relevant identifier of the first user is updated, and the temporary identifier of the first user does not meet the first validity condition.
7. The method according to claim 6, wherein: The first validity condition includes at least one of the following: the temporary identification of the first user is within the validity period; the terminal is located in the valid area; the terminal is located in the area where the temporary identification of the first user can be used; the terminal has no other related identifications that need to be updated.
8. The method according to any one of claims 1 to 7, wherein: The first message also carries at least one of the following: effective time, effective area.
9. The method according to claim 7, wherein: The validity period is preconfigured, and / or the validity area is preconfigured.
10. The method according to claim 6 or 7, wherein: The second message carries the temporary identifier of the first user.
11. The method according to claim 6 or 7, wherein: The second message is carried by at least one of the following: a first uplink non-access stratum NAS message and a first uplink container.
12. The method according to any one of claims 1 to 11, wherein: After the terminal receives the first message, the method further includes: The terminal receives a third message, wherein the third message carries at least one of the following: an updated temporary identifier of the first user, an updated validity period, an updated validity area, and an identifier of the first user.
13. The method according to claim 12, wherein: The identifier of the first user includes at least one of the following: a code of the first user, a name of the first user, an identifier of a network corresponding to the identifier of the first user, IMSI, GUTI, and PEI.
14. The method according to claim 12 or 13, wherein: The third message is carried by at least one of the following: a first downlink NAS message and a first downlink container.
15. The method according to any one of claims 1 to 14, wherein: The first message is carried by at least one of the following: a second downlink NAS message and a second downlink container.
16. A communication method, comprising: The first network device sends a first message, wherein the first message carries a temporary identifier of a first user, and the first user is a user using a terminal.
17. The method according to claim 16, wherein: The temporary identifier of the first user includes at least one of the following: an identifier of the area corresponding to the temporary identifier of the first user, a related identifier of the network device corresponding to the temporary identifier of the first user, an identifier of the network corresponding to the temporary identifier of the first user, a temporary mobile user identity code TMSI, an international mobile user identity code IMSI, a globally unique temporary UE identifier GUTI, and a permanent equipment identifier PEI.
18. The method according to claim 16 or 17, wherein: The temporary identifier of the first user also includes: a code of the first user.
19. The method according to claim 17, wherein: The area corresponding to the temporary identifier of the first user includes at least one of the following: The area where the network device corresponding to the temporary identifier of the first user is located; An area in which the temporary identification of the first user can be used.
20. The method according to claim 17, wherein: The relevant identifier of the network device corresponding to the temporary identifier of the first user includes at least one of the following: An identifier of a set to which the network device corresponding to the temporary identifier of the first user belongs; The temporary identifier of the first user corresponds to the identifier of the network device.
21. The method according to any one of claims 16 to 20, wherein: After the first network device sends the first message, the method further includes: When the temporary identifier of the first user does not satisfy the second validity condition, the first network device performs at least one of the following: stopping part or all of the communication services corresponding to the temporary identifier of the first user, and sending a third message.
22. The method according to claim 21, wherein: The second validity condition includes at least one of the following: the temporary identification of the first user is within the validity period; the terminal is located in the valid area; the terminal is located in the area where the temporary identification of the first user is used.
23. The method according to any one of claims 16 to 20, wherein: After the first network device sends the first message, the method further includes: The first network device receives a second message, wherein the second message is used to determine at least one of the following: the temporary identifier of the first user is invalid, the related identifier of the first user is updated, and the temporary identifier of the first user does not meet the first validity condition; The first network device performs at least one of the following: stopping part or all of the communication services corresponding to the temporary identifier of the first user, and sending a third message.
24. The method according to claim 23, wherein: The second message carries the temporary identifier of the first user.
25. The method according to claim 23 or 24, wherein: The second message is carried by at least one of the following: a first uplink non-access stratum NAS message and a first uplink container.
26. The method according to any one of claims 21 to 25, wherein: The third message carries at least one of the following: an updated temporary identifier of the first user, an updated validity period, an updated validity area, and an identifier of the first user.
27. The method according to claim 26, wherein: The identifier of the first user includes at least one of the following: a code of the first user, a name of the first user, an identifier of a network corresponding to the identifier of the first user, IMSI, GUTI, and PEI.
28. The method according to any one of claims 21 to 26, wherein: The third message is carried by at least one of the following: a first downlink NAS message and a first downlink container.
29. The method of claim 22, wherein: The validity period is preconfigured, and / or the validity area is preconfigured.
30. The method according to any one of claims 16 to 28, wherein: The first message also carries at least one of the following: effective time, effective area.
31. The method according to any one of claims 16 to 30, wherein: The first message is carried by at least one of: a second downlink NAS message and a second downlink container.
32. The method according to any one of claims 16 to 31, wherein: The first network device includes at least one of the following: access and mobility management function AMF, unified data management UDM, unified data warehouse function UDR, and identity management network element.
33. A communication method, comprising: The terminal receives a fourth message, wherein the fourth message carries an identifier of a first user, and the first user is a user who uses the terminal.
34. The method of claim 33, wherein: The identifier of the first user includes at least one of the following: the code of the first user, the name of the first user, the identifier of the network corresponding to the identifier of the first user, the international mobile user identity IMSI, the globally unique temporary UE identifier GUTI, and the equipment permanent identifier PEI.
35. The method according to claim 33 or 34, wherein: After the terminal receives the fourth message, the method further includes: When the valid service conditions corresponding to the identifier of the first user are not met, the terminal performs at least one of the following: stopping part or all of the communication services corresponding to the identifier of the first user, sending a fifth message, wherein the fifth message is used to determine at least one of the following: not meeting the valid service conditions corresponding to the identifier of the first user, allocating a temporary identifier of the first user, updating the valid time, and updating the valid area.
36. The method of claim 35, wherein: The valid service condition includes at least one of the following: within the valid time; the terminal is located in the valid area.
37. The method according to claim 35 or 36, wherein: The fifth message is also used to determine the temporary identifier to be allocated to the first user.
38. The method according to any one of claims 35 to 37, wherein: The fifth message is carried by at least one of the following: a second uplink non-access layer NAS message and a second uplink container.
39. The method of claim 36, wherein: The validity period is preconfigured, and / or the validity area is preconfigured.
40. The method according to any one of claims 33 to 38, wherein: The fourth message also carries at least one of the following: effective time, effective area.
41. The method according to any one of claims 33 to 40, wherein: After the terminal receives the fourth message, the method further includes: The terminal receives a sixth message, wherein the sixth message carries at least one of the following: a temporary identifier of the first user, an updated validity period, and an updated validity area.
42. The method according to claim 41, wherein: The sixth message is carried by at least one of the following: a third downlink NAS message and a third downlink container.
43. The method according to any one of claims 33 to 42, wherein: The fourth message is carried by at least one of the following: a fourth downlink NAS message and a fourth downlink container.
44. A communication method, comprising: The first network device sends a fourth message, wherein the fourth message carries an identifier of a first user, and the first user is a user using the terminal.
45. The method of claim 44, wherein: The identifier of the first user includes at least one of the following: the code of the first user, the name of the first user, the identifier of the network corresponding to the identifier of the first user, the international mobile user identity IMSI, the globally unique temporary UE identifier GUTI, and the equipment permanent identifier PEI.
46. The method according to claim 44 or 45, wherein: After the first network device sends the fourth message, the method further includes: When the terminal does not meet the valid service condition corresponding to the identifier of the first user, the first network device performs at least one of the following: stopping part or all of the communication services corresponding to the identifier of the first user, and sending a sixth message.
47. The method of claim 46, wherein: The valid service condition includes at least one of the following: within the valid time; the terminal is located in the valid area.
48. The method of claim 44 or 45, wherein: After the first network device sends the fourth message, the method further includes: The first network device receives a fifth message, wherein the fifth message is used to determine at least one of the following: a valid service condition corresponding to the identifier of the first user is not satisfied, a temporary identifier of the first user is allocated, a valid time is updated, and a valid area is updated; The first network device performs at least one of the following: stopping part or all of the communication services corresponding to the identifier of the first user, and sending a sixth message.
49. The method of claim 48, wherein: The fifth message is carried by at least one of the following: a second uplink non-access layer NAS message and a second uplink container.
50. The method according to any one of claims 46 to 49, wherein: The sixth message carries at least one of the following: a temporary identifier of the first user, an updated validity period, and an updated validity area.
51. The method according to any one of claims 46 to 50, wherein: The sixth message is carried by at least one of the following: a third downlink NAS message and a third downlink container.
52. The method of claim 47, wherein: The validity period is preconfigured, and / or the validity area is preconfigured.
53. The method according to any one of claims 44 to 51, wherein: The fourth message also carries at least one of the following: effective time, effective area.
54. The method according to any one of claims 44 to 52, wherein: The fourth message is carried by at least one of the following: a fourth downlink NAS message and a fourth downlink container.
55. The method according to any one of claims 44 to 54, wherein: The first network device includes at least one of the following: access and mobility management function AMF, unified data management UDM, unified data warehouse function UDR, and identity management network element.
56. A terminal, comprising: The first communication unit is used to receive a first message, wherein the first message carries a temporary identifier of a first user, and the first user is a user who uses the terminal.
57. The terminal according to claim 56, wherein: The temporary identifier of the first user includes at least one of the following: an identifier of the area corresponding to the temporary identifier of the first user, a related identifier of the network device corresponding to the temporary identifier of the first user, an identifier of the network corresponding to the temporary identifier of the first user, a temporary mobile user identity code TMSI, an international mobile user identity code IMSI, a globally unique temporary UE identifier GUTI, and a permanent equipment identifier PEI.
58. The terminal according to claim 56 or 57, wherein: The temporary identification of the first user also includes: a code of the first user, where the code of the first user is allocated by a network device serving the terminal.
59. The terminal according to claim 57, wherein: The area corresponding to the temporary identifier of the first user includes at least one of the following: an area where a network device corresponding to the temporary identifier of the first user is located; and an area where the temporary identifier of the first user can be used.
60. The terminal according to claim 57, wherein: The related identifier of the network device corresponding to the temporary identifier of the first user includes at least one of the following: the identifier of the set to which the network device corresponding to the temporary identifier of the first user belongs; the identifier of the network device corresponding to the temporary identifier of the first user.
61. The terminal according to any one of claims 56 to 60, wherein: The first communication unit is used to perform at least one of the following when the temporary identifier of the first user does not meet the first validity condition: stop all or part of the communication services corresponding to the temporary identifier of the first user, send a second message, wherein the second message is used to determine at least one of the following: the temporary identifier of the first user is invalid, the relevant identifier of the first user is updated, and the temporary identifier of the first user does not meet the first validity condition.
62. The terminal according to claim 61, wherein: The first validity condition includes at least one of the following: the temporary identification of the first user is within the validity period; the terminal is located in the valid area; the terminal is located in the area where the temporary identification of the first user can be used; the terminal has no other related identifications that need to be updated.
63. The terminal according to any one of claims 56 to 62, wherein: The first message also carries at least one of the following: effective time, effective area.
64. The terminal according to claim 62, wherein: The validity period is preconfigured, and / or the validity area is preconfigured.
65. The terminal according to claim 61 or 62, wherein: The second message carries the temporary identifier of the first user.
66. The terminal according to claim 61 or 62, wherein: The second message is carried by at least one of the following: a first uplink non-access stratum NAS message and a first uplink container.
67. The terminal according to any one of claims 56 to 66, wherein: The first communication unit is used to receive a third message, wherein the third message carries at least one of the following: an updated temporary identifier of the first user, an updated validity period, an updated validity area, and an identifier of the first user.
68. The terminal according to claim 67, wherein: The identifier of the first user includes at least one of the following: a code of the first user, a name of the first user, an identifier of a network corresponding to the identifier of the first user, IMSI, GUTI, and PEI.
69. The terminal according to claim 67 or 68, wherein: The third message is carried by at least one of the following: a first downlink NAS message and a first downlink container.
70. The terminal according to any one of claims 56 to 69, wherein: The first message is carried by at least one of the following: a second downlink NAS message and a second downlink container.
71. A first network device, comprising: The second communication unit is used to send a first message, wherein the first message carries a temporary identifier of a first user, and the first user is a user using the terminal.
72. The first network device according to claim 71, wherein: The temporary identifier of the first user includes at least one of the following: an identifier of the area corresponding to the temporary identifier of the first user, a related identifier of the network device corresponding to the temporary identifier of the first user, an identifier of the network corresponding to the temporary identifier of the first user, a temporary mobile user identity code TMSI, an international mobile user identity code IMSI, a globally unique temporary UE identifier GUTI, and a permanent equipment identifier PEI.
73. The first network device according to claim 71 or 72, wherein: The temporary identifier of the first user also includes: a code of the first user.
74. The first network device according to claim 72, wherein: The area corresponding to the temporary identifier of the first user includes at least one of the following: an area where a network device corresponding to the temporary identifier of the first user is located; and an area where the temporary identifier of the first user can be used.
75. The first network device according to claim 72, wherein: The related identifier of the network device corresponding to the temporary identifier of the first user includes at least one of the following: the identifier of the set to which the network device corresponding to the temporary identifier of the first user belongs; the identifier of the network device corresponding to the temporary identifier of the first user.
76. The first network device according to any one of claims 71 to 75, wherein: The second communication unit is used to perform at least one of the following when the temporary identifier of the first user does not meet the second validity condition: stop part or all of the communication services corresponding to the temporary identifier of the first user, and send a third message.
77. The first network device according to claim 76, wherein: The second validity condition includes at least one of the following: the temporary identification of the first user is within the validity period; the terminal is located in the valid area; the terminal is located in the area where the temporary identification of the first user is used.
78. The first network device according to any one of claims 71 to 75, wherein: The second communication unit is used to receive a second message, wherein the second message is used to determine at least one of the following: the temporary identifier of the first user is invalid, the relevant identifier of the first user is updated, and the temporary identifier of the first user does not meet the first validity condition; and execute at least one of the following: stop part or all of the communication services corresponding to the temporary identifier of the first user, and send a third message.
79. The first network device according to claim 78, wherein: The second message carries the temporary identifier of the first user.
80. The first network device according to claim 78 or 79, wherein: The second message is carried by at least one of the following: a first uplink non-access stratum NAS message and a first uplink container.
81. The first network device according to any one of claims 76 to 80, wherein: The third message carries at least one of the following: an updated temporary identifier of the first user, an updated validity period, an updated validity area, and an identifier of the first user.
82. The first network device according to claim 81, wherein: The identifier of the first user includes at least one of the following: a code of the first user, a name of the first user, an identifier of a network corresponding to the identifier of the first user, IMSI, GUTI, and PEI.
83. The first network device according to any one of claims 76 to 81, wherein: The third message is carried by at least one of the following: a first downlink NAS message and a first downlink container.
84. The first network device according to claim 77, wherein: The validity period is preconfigured, and / or the validity area is preconfigured.
85. The first network device according to any one of claims 71 to 83, wherein: The first message also carries at least one of the following: effective time, effective area.
86. The first network device according to any one of claims 71 to 85, wherein: The first message is carried by at least one of: a second downlink NAS message and a second downlink container.
87. The first network device according to any one of claims 71 to 86, wherein: The first network device includes at least one of the following: access and mobility management function AMF, unified data management UDM, unified data warehouse function UDR, and identity management network element.
88. A terminal comprising: The first communication unit is configured to receive a fourth message, wherein the fourth message carries an identifier of a first user, and the first user is a user who uses the terminal.
89. The terminal according to claim 88, wherein: The identifier of the first user includes at least one of the following: the code of the first user, the name of the first user, the identifier of the network corresponding to the identifier of the first user, the international mobile user identity IMSI, the globally unique temporary UE identifier GUTI, and the equipment permanent identifier PEI.
90. The terminal according to claim 88 or 89, wherein: The first communication unit is used to perform at least one of the following when the valid service conditions corresponding to the identifier of the first user are not met: stopping part or all of the communication services corresponding to the identifier of the first user, sending a fifth message, wherein the fifth message is used to determine at least one of the following: not meeting the valid service conditions corresponding to the identifier of the first user, allocating a temporary identifier of the first user, updating the valid time, and updating the valid area.
91. The terminal according to claim 90, wherein: The valid service condition includes at least one of the following: within the valid time; the terminal is located in the valid area.
92. The terminal according to claim 90 or 91, wherein: The fifth message is also used to determine the temporary identifier to be allocated to the first user.
93. The terminal according to any one of claims 90 to 92, wherein: The fifth message is carried by at least one of the following: a second uplink non-access layer NAS message and a second uplink container.
94. The terminal according to claim 91, wherein: The validity period is preconfigured, and / or the validity area is preconfigured.
95. The terminal according to any one of claims 88 to 93, wherein: The fourth message also carries at least one of the following: effective time, effective area.
96. A terminal according to any one of claims 88 to 95, wherein: The first communication unit is used to receive a sixth message, wherein the sixth message carries at least one of the following: a temporary identifier of the first user, an updated validity period, and an updated validity area.
97. The terminal according to claim 96, wherein: The sixth message is carried by at least one of the following: a third downlink NAS message and a third downlink container.
98. The terminal according to any one of claims 88 to 97, wherein: The fourth message is carried by at least one of the following: a fourth downlink NAS message and a fourth downlink container.
99. A first network device, comprising: The second communication unit is used to send a fourth message, wherein the fourth message carries an identifier of a first user, and the first user is a user using the terminal.
100. The first network device according to claim 99, wherein: The identifier of the first user includes at least one of the following: the code of the first user, the name of the first user, the identifier of the network corresponding to the identifier of the first user, the international mobile user identity IMSI, the globally unique temporary UE identifier GUTI, and the equipment permanent identifier PEI.
101. The first network device according to claim 99 or 100, wherein: The second communication unit is used for, when the terminal does not meet the valid service condition corresponding to the identifier of the first user, the first network device to perform at least one of the following: stopping part or all of the communication services corresponding to the identifier of the first user, and sending a sixth message.
102. The first network device according to claim 101, wherein: The valid service condition includes at least one of the following: within the valid time; the terminal is located in the valid area.
103. The first network device according to claim 99 or 100, wherein: The second communication unit is used to receive a fifth message, wherein the fifth message is used to determine at least one of the following: a valid service condition corresponding to the identifier of the first user is not met, a temporary identifier of the first user is allocated, a valid time is updated, and a valid area is updated; and at least one of the following is executed: stopping part or all of the communication services corresponding to the identifier of the first user, and sending a sixth message.
104. The first network device according to claim 103, wherein: The fifth message is carried by at least one of the following: a second uplink non-access layer NAS message and a second uplink container.
105. The first network device according to any one of claims 101-104, wherein: The sixth message carries at least one of the following: a temporary identifier of the first user, an updated validity period, and an updated validity area.
106. The first network device according to any one of claims 101-105, wherein: The sixth message is carried by at least one of the following: a third downlink NAS message and a third downlink container.
107. The first network device according to claim 47, wherein: The validity period is preconfigured, and / or the validity area is preconfigured.
108. The first network device according to any one of claims 99 to 106, wherein: The fourth message also carries at least one of the following: effective time, effective area.
109. The first network device according to any one of claims 99 to 107, wherein: The fourth message is carried by at least one of the following: a fourth downlink NAS message and a fourth downlink container.
110. The first network device according to any one of claims 99 to 109, wherein: The first network device includes at least one of the following: access and mobility management function AMF, unified data management UDM, unified data warehouse function UDR, and identity management network element.
111. A terminal comprising: A transceiver, a processor and a memory, the memory being used to store a computer program, the transceiver being used to communicate with other devices, and the processor being used to call and run the computer program stored in the memory so that the terminal executes the method as described in any one of claims 1 to 15 or claims 33 to 43.
112. A first network device, comprising: A transceiver, a processor and a memory, the memory being used to store a computer program, the transceiver being used to communicate with other devices, and the processor being used to call and run the computer program stored in the memory so that the first network device executes the method as claimed in any one of claims 16 to 32 or claims 44 to 55.
113. A chip, comprising: A processor, configured to call and run a computer program from a memory so that a device equipped with the chip executes a method as described in any one of claims 1 to 15, or claims 16 to 32, or claims 33 to 43, or claims 44 to 55.
114. A computer-readable storage medium for storing a computer program, which, when executed by a device, causes the device to perform the method as claimed in any one of claims 1 to 15, or claims 16 to 32, or claims 33 to 43, or claims 44 to 55.
115. A computer program product comprising computer program instructions, the computer program instructions causing a computer to perform the method of any one of claims 1 to 15, or claims 16 to 32, or claims 33 to 43, or claims 44 to 55.
116. A computer program causing a computer to perform the method of any one of claims 1 to 15, or claims 16 to 32, or claims 33 to 43, or claims 44 to 55.