Method, device, equipment and readable storage medium for leaving a network

By acquiring and parsing the capability information of the network and terminal, the terminal can intelligently select the signaling method used when the network leaves, solving the problem of selection difficulties and achieving an efficient network leave process.

CN114828296BActive Publication Date: 2025-04-25VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110071685.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-19
Publication Date
2025-04-25
Estimated Expiration
2041-01-19

AI Technical Summary

Technical Problem

When choosing a network departure method, terminals face difficulties in selecting RRC signaling and NAS signaling, especially when the network supports both methods.

Method used

By acquiring network capability information, terminal capability information and indication information, the terminal can determine the way to request to leave the network. The specific steps include obtaining relevant information, analyzing the indication information to determine the supported departure mode, and selecting the appropriate signaling mode according to the capabilities of the terminal and the network.

Benefits of technology

It realizes intelligent choices of terminals when the network leaves, ensuring that the choice method is both efficient and feasible, and avoids network problems caused by unclear choices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114828296B_ABST
    Figure CN114828296B_ABST
Patent Text Reader

Abstract

The present application discloses an operation method, apparatus, device and readable storage medium for leaving a network. The method includes: network capability information related to a first leaving method, terminal capability information related to the first leaving method, and first indication information; according to the first information, determining a method for requesting to leave the network. In an embodiment of the present application, the terminal selects whether to leave the network based on RRC or NAS.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to an operation method, device, equipment and readable storage medium for leaving a network. Background Art

[0002] The network may deploy both the leaving method based on Radio Resource Control (RRC) signaling and the leaving method based on Non-Access-Stratum (NAS) signaling. For example, the Core Network (CN) supports the NAS leaving method, but some Radio Access Networks (RAN) also support the leaving method based on RRC signaling. Whether the terminal chooses the leaving method based on RRC signaling or the leaving method based on NAS signaling is a problem that needs to be solved. Summary of the invention

[0003] The embodiments of the present application provide a method, apparatus, device and readable storage medium for leaving a network, which solve the problem of how a terminal chooses a way to leave the network.

[0004] In a first aspect, a method for leaving a network is provided, which is performed by a first communication device and includes:

[0005] Acquire first information, where the first information includes at least one of the following: network capability information related to the first leaving mode, terminal capability information related to the first leaving mode, and first indication information;

[0006] Determining, based on the first information, a method for requesting to leave the network;

[0007] in,

[0008] The first indication information is used to indicate at least one of the following: support or non-support of the multi-card mode function, support or non-support of the first leaving mode, support or non-support of the leaving mode based on radio resource control RRC, and support or non-support of the leaving mode based on NAS;

[0009] The method of determining the request to leave the network includes: determining to initiate a leave request to the network through RRC signaling or determining to send a leave request to the network through NAS signaling;

[0010] The first leaving manner includes a manner in which the terminal requests to leave the network.

[0011] According to a second aspect, a method for leaving a network is provided, which is performed by a second communication device and includes:

[0012] Acquire second information, where the second information includes at least one of the following: first indication information and multi-card mode related indication information;

[0013] executing an operation of the terminal leaving the network or rejecting the operation of the terminal leaving the network according to the second information;

[0014] Among them, the first indication information is used to indicate at least one of the following: support or not support of the multi-card mode function, support or not support of the first leaving method, support or not support of the RRC-based leaving method, support or not support of the NAS-based leaving method.

[0015] According to a third aspect, a method for leaving a network is provided, which is performed by a third communication device and includes:

[0016] Sending network capability information and / or first indication information related to the first leaving mode;

[0017] The first indication information is used to indicate at least one of the following: support or non-support of the multi-card mode function, support or non-support of the first leaving method, support or non-support of the RRC-based leaving method, and support or non-support of the NAS-based leaving method.

[0018] According to a fourth aspect, a method for leaving a network is provided, which is performed by a fourth communication device and includes:

[0019] Acquire third information, where the third information includes at least one of the following: terminal capability information related to the first leaving mode, network capability information related to the first leaving mode, subscription information of the terminal, and local policy information;

[0020] Perform a second operation according to the third information; the second operation includes at least one of the following: determining the first indication information; sending the first indication information;

[0021] in,

[0022] The contract information of the terminal is related to the first leaving mode and / or to the multi-card mode function;

[0023] The local policy information is related to the first leaving mode and / or to the multi-card mode function;

[0024] The first indication information includes at least one of the following: support or not support of the multi-card mode function, support or not support of the first leaving method, support or not support of the RRC-based leaving method, support or not support of the NAS-based leaving method.

[0025] According to a fifth aspect, a method for leaving a network is provided, which is performed by a fifth communication device and includes:

[0026] The NAS layer obtains fourth information from the access layer AS layer, where the fourth information includes at least one of the following: network capability information related to the first leaving mode, and first indication information;

[0027] The NAS layer determines a method for requesting to leave the network according to the terminal capability information related to the fourth information and the first leaving method;

[0028] in,

[0029] The terminal capability information related to the first leaving mode includes at least one of the following: information that the terminal supports the first leaving mode, and information that the terminal does not support the first leaving mode;

[0030] The first leaving method includes: a method in which the terminal requests to leave the network.

[0031] According to a sixth aspect, there is provided an operation device for leaving a network, comprising:

[0032] A first acquisition module, configured to acquire first information, wherein the first information includes at least one of the following: network capability information related to the first leaving mode, terminal capability information related to the first leaving mode, and first indication information;

[0033] A first determining module, configured to determine a method of requesting to leave the network according to the first information;

[0034] in,

[0035] The first indication information is used to indicate at least one of the following: support or non-support of the multi-card mode function, support or non-support of the first leaving method, support or non-support of the RRC-based leaving method, and support or non-support of the NAS-based leaving method;

[0036] The method of determining the request to leave the network includes: determining to initiate a leave request to the network through RRC signaling or determining to send a leave request to the network through NAS signaling;

[0037] The first leaving manner includes a manner in which the terminal requests to leave the network.

[0038] According to a seventh aspect, there is provided an operation device for leaving a network, comprising:

[0039] A second acquisition module is used to acquire second information, where the second information includes at least one of the following: first indication information and multi-card mode related indication information;

[0040] A first execution module, configured to execute an operation of the terminal leaving the network or refuse the operation of the terminal leaving the network according to the second information;

[0041] Among them, the first indication information is used to indicate at least one of the following: support or not support of the multi-card mode function, support or not support of the first leaving method, support or not support of the RRC-based leaving method, support or not support of the NAS-based leaving method.

[0042] According to an eighth aspect, there is provided an operation device for leaving a network, comprising:

[0043] A third sending module, used for sending network capability information and / or first indication information related to the first leaving mode;

[0044] The first indication information is used to indicate at least one of the following: support or non-support of the multi-card mode function, support or non-support of the first leaving method, support or non-support of the RRC-based leaving method, and support or non-support of the NAS-based leaving method.

[0045] According to a ninth aspect, there is provided an operation device for leaving a network, comprising:

[0046] A third acquisition module is used to acquire third information, where the third information includes at least one of the following: terminal capability information related to the first leaving mode, network capability information related to the first leaving mode, contract information of the terminal, and local policy information;

[0047] A second execution module is configured to execute a second operation according to the third information; the second operation includes at least one of the following: determining the first indication information; sending the first indication information;

[0048] in,

[0049] The contract information of the terminal is related to the first leaving mode and / or to the multi-card mode function;

[0050] The local policy information is related to the first leaving mode and / or to the multi-card mode function;

[0051] The first indication information includes at least one of the following: support or not support of the multi-card mode function, support or not support of the first leaving method, support or not support of the RRC-based leaving method, support or not support of the NAS-based leaving method.

[0052] According to a tenth aspect, there is provided an operation device for leaving a network, comprising:

[0053] A fourth acquisition module, configured to acquire fourth information from the AS layer through the NAS layer, wherein the fourth information includes at least one of the following: network capability information related to the first leaving mode, and first indication information;

[0054] A second determination module is used to determine, through the NAS layer, a mode of requesting to leave the network according to the capability information based on the RAN network element and the terminal capability information related to the first leaving mode;

[0055] in,

[0056] The terminal capability information related to the first leaving mode includes at least one of the following: information that the terminal supports the first leaving mode, and information that the terminal does not support the first leaving mode;

[0057] The first leaving method includes: a method in which the terminal requests to leave the network.

[0058] In an eleventh aspect, a terminal is provided, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the steps of the method described in the first aspect or the fifth aspect are implemented.

[0059] In the twelfth aspect, a network side device is provided, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the steps of the method described in the second aspect, the third aspect, or the fourth aspect are implemented.

[0060] In a thirteenth aspect, a readable storage medium is provided, on which a program or instruction is stored, and the program or instruction, when executed by a processor, implements the steps of the method described above.

[0061] In a fourteenth aspect, a program product is provided, wherein the program product is stored in a non-volatile storage medium and is executed by at least one processor to implement the steps of the method described above.

[0062] In a fifteenth aspect, a chip is provided, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the steps of the method described above.

[0063] In the embodiment of the present application, the terminal selects whether to leave in an RRC-based manner or a NAS-based manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] Figure 1 is a schematic diagram of a wireless communication system to which the embodiments of the present application can be applied;

[0065] Figure 2 This is one of the flow charts of the operation method of leaving the network according to an embodiment of the present application;

[0066] Figure 3 This is the second flowchart of the operation method of leaving the network in an embodiment of the present application;

[0067] Figure 4 This is the third flowchart of the operation method of leaving the network in an embodiment of the present application;

[0068] Figure 5 This is the fourth flowchart of the operation method of leaving the network in an embodiment of the present application;

[0069] Figure 6 This is the fifth flowchart of the operation method of leaving the network in an embodiment of the present application;

[0070] Figure 7 This is the sixth flowchart of the method for leaving the network according to an embodiment of the present application;

[0071] Figure 8-1 This is the seventh flowchart of the operation method of leaving the network according to an embodiment of the present application;

[0072] Figure 8-2 This is the eighth flowchart of the operation method of leaving the network according to an embodiment of the present application;

[0073] Fig. 9 is one of the schematic diagrams of an operating device for leaving a network according to an embodiment of the present application;

[0074] Fig.10 This is a second schematic diagram of an operating device for leaving a network according to an embodiment of the present application;

[0075] Fig.11 This is a third schematic diagram of an operating device for leaving a network according to an embodiment of the present application;

[0076] Fig.12 This is a fourth schematic diagram of an operating device for leaving a network according to an embodiment of the present application;

[0077] Fig.13 This is a fifth schematic diagram of an operating device for leaving a network according to an embodiment of the present application;

[0078] Fig.14 is a schematic diagram of a terminal according to an embodiment of the present application;

[0079] Fig.15 It is a schematic diagram of a network side device of an embodiment of the present application. DETAILED DESCRIPTION

[0080] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0081] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first" and "second" are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "and / or" relationship.

[0082] It is worth noting that the technology described in the embodiments of the present application is not limited to the Long Term Evolution (LTE) / LTE-Advanced (LTE-A) system, but can also be used in other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency-Division Multiple Access (SC-FDMA) and other systems. The terms "system" and "network" in the embodiments of the present application are often used interchangeably, and the described technology can be used for the systems and radio technologies mentioned above as well as for other systems and radio technologies. However, the following description describes a New Radio (NR) system for illustrative purposes, and the NR terminology is used in most of the following descriptions, although these technologies can also be applied to applications other than NR system applications, such as the 6th generation (6 th Generation, 6G) communication system.

[0083] Figure 1A block diagram of a wireless communication system applicable to an embodiment of the present application is shown. The wireless communication system includes a terminal 11 and a network side device 12. Among them, the terminal 11 can also be called a terminal device or a user terminal (User Equipment, UE), and the terminal 11 can be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer) or a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a handheld computer, a netbook, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a mobile Internet device (Mobile Internet Device, MID), a wearable device (Wearable Device) or a vehicle-mounted device (Vehicle User Equipment, VUE), a pedestrian terminal (Pedestrian User Equipment, PUE) and other terminal side devices, and the wearable device includes: a bracelet, a headset, glasses, etc. It should be noted that the specific type of the terminal 11 is not limited in the embodiment of the present application. The network side device 12 can be a base station or a core network, wherein the base station can be referred to as a node B, an evolved node B, an access point, a base transceiver station (Base Transceiver Station, BTS), a radio base station, a radio transceiver, a basic service set (Basic Service Set, BSS), an extended service set (Extended Service Set, ESS), a B node, an evolved B node (eNB), a home B node, a home evolved B node, a WLAN access point, a WiFi node, a transmitting and receiving point (Transmitting Receiving Point, TRP) or some other suitable term in the field. As long as the same technical effect is achieved, the base station is not limited to a specific technical vocabulary. It should be noted that in the embodiment of the present application, only the base station in the NR system is taken as an example, but the specific type of the base station is not limited.

[0084] In an optional embodiment of the present application, optionally, acquisition can be understood as acquisition from configuration, reception, reception after request, acquisition through self-learning, acquisition by deduction based on information not received, or acquisition after processing based on received information, which can be determined according to actual needs, and the embodiment of the present application does not limit this. For example, when a certain capability indication information sent by a device is not received, it can be deduced that the device does not support the capability.

[0085] Optionally, the sending may include broadcasting, broadcasting in system messages, and returning after responding to requests.

[0086] Optionally, support can mean at least one of the following: able, allowed, and capable. Not support can mean at least one of the following: not able, not allowed, and not capable

[0087] In one implementation, supporting or not supporting the multi-card mode function may represent at least one of the following: the multi-card mode function is enabled or disabled, and the multi-card mode function is allowed or not allowed.

[0088] In one implementation, supporting or not supporting the first leaving method may represent at least one of the following: the first leaving method is enabled or disabled, and the first leaving method is allowed or not allowed.

[0089] In one implementation, supporting or not supporting a NAS-based leaving mode may represent at least one of the following: a NAS-based leaving mode is enabled or disabled, and a NAS-based leaving mode is allowed or not allowed.

[0090] In one implementation, supporting or not supporting the RRC-based leaving method may represent at least one of the following: the RRC-based leaving method is enabled or disabled, and the RRC-based leaving method is allowed or not allowed.

[0091] In an optional embodiment of the present application, the communication device may include at least one of the following: a communication network element and a terminal.

[0092] In one embodiment of the present application, the communication network element may include at least one of the following: a core network element (CN network element) and a radio access network element (RAN network element).

[0093] In an optional embodiment of the present application, the core network network element may include but is not limited to at least one of the following: core network equipment, core network node, core network function, core network network element, mobility management entity (Mobility Management Entity, MME), access mobility management function (Access Management Function, AMF), session management function (Session Management Function, SMF), user plane function (User Plane Function, UPF), serving gateway (serving GW, SGW), PDN gateway (PDN Gate Way, PDN Gateway), policy control function (Policy Control Function, PCF), policy and charging rules function unit (Policy and Charging Rules Function, PCRF), GPRS service support node (Serving GPRS Support Node, SGSN), gateway GPRS support node (Gateway GPRS Support Node, GGSN), unified data management (Unified Data Management, UDM), unified data storage (Unified Data Repository, UDR), home user server (Home Subscriber Server, HSS), application function (Application Function, AF), centralized network configuration (Centralized network configuration, CNC).

[0094] In an optional embodiment of the present application, a radio access network (RAN) network element may include but is not limited to at least one of the following: a radio access network device, a radio access network node, a radio access network function, a radio access network unit, a third generation partnership project (3GPP) radio access network, a non-3GPP radio access network, a centralized unit (CU), a distributed unit (DU), a base station, an evolved base station (evolved Node B, eNB), a 5G base station (gNB), a radio network controller (RNC), a base station (NodeB), a non-3GPP interworking function (Non-3GPP Inter Working Function, N3IWF), an access control (AC) node, an access point (AP) device or a wireless local area network (WLAN) node, a non-3GPP interworking function (Non-3GPP InterWorking Function, N3IWF).

[0095] A multi-card terminal (also called a multi-card UE) is a device with two or more subscriber identity modules (SIM) cards. The SIM card is an electronic SIM card or a physical SIM card. From the perspective of the network, the same terminal device and different SIM cards constitute different UEs. In addition, a multi-card terminal can also be called a multiple universal subscriber identity module (MUSIM) terminal.

[0096] Optionally, the SIM cards in the multi-card terminal may belong to the same operator or different operators. The wireless communication networks accessed by different SIM cards may be the same or different.

[0097] Optionally, the SIM card may include one of the following: a SIM card, a Universal Subscriber Identity Module (USIM) card, or an Embedded-SIM (eSIM) card. The SIM card may also be named in other ways, such as directly being called a "card", which is not limited in this application.

[0098] Currently, for a Multiple Subscriber Identity Module (MUSIM) terminal with only single-transmission function, since the terminal cannot send uplink information to multiple networks at the same time, the terminal needs to go back and forth between different networks. For example, when the terminal wants to go to network A, if the terminal is connected to network B, the terminal needs to request to leave network B.

[0099] Currently, there are still the following problems when a terminal requests to leave the network:

[0100] Question 1: The network may deploy both RRC-based and NAS-based leaving methods. For example, CN supports NAS leaving method, but some RAN network elements support RRC signaling-based leaving method. For terminals that support both RRC-based and NAS-based leaving methods, how to choose RRC-based leaving method or NAS-based leaving method is a problem that needs to be solved.

[0101] One solution to the problem is to give priority to the RRC-based leaving method, that is, when the terminal and / or the network supports both the RRC-based leaving method and the NAS-based leaving method, the terminal gives priority to the RRC-based leaving method. When the terminal and / or the network does not support the RRC-based leaving method, the NAS-based leaving method is considered.

[0102] Question 2: It is unclear whether the RAN network element should execute the operation of the terminal leaving the network when receiving the leave request sent by the terminal through RRC signaling. This is because the RAN network element also needs to know whether to allow the terminal to request to leave the network or whether it can allow the terminal to leave the network based on the terminal's request.

[0103] One solution is that the CN network element notifies the RAN network element whether to support the terminal's request to leave the network.

[0104] Question 3: The RRC-based leaving method may or may not require additional CN network element capabilities. For example, when a terminal requests to leave the network through RRC signaling, it may provide auxiliary information for processing downlink data and / or SMS, which requires the support of CN network elements. How to set the above capabilities needs to be solved.

[0105] The NAS-based leaving method may require additional RAN network element capabilities or may not require additional RAN network element capabilities. For example, when the terminal requests to leave the network through NAS signaling, the CN network element may request the RAN network element to set the terminal status to RRC inactive state, or the CN network element may directly request the RAN network element to release the connection between the terminal and the network.

[0106] In one implementation, the RRC or RRC signaling is signaling between the terminal AS layer and the network (such as a RAN network element). As the network evolves, the RRC or RRC signaling in this document may be changed to other names, and this application does not limit the name of the signaling between the terminal AS layer and the network (such as a RAN network element).

[0107] In one implementation, the NAS signaling is an interactive signaling between the terminal NAS layer and the network (such as a CN network element). As the network evolves, the NAS signaling in this document may be changed to other names, and this application does not limit the name of the interactive signaling between the terminal NAS layer and the network (such as a CN network element).

[0108] In an optional embodiment of the present application, the first leaving mode is a mode in which the terminal requests to leave the network. The first leaving mode includes: a leaving mode based on RRC and a leaving mode based on NAS.

[0109] The RRC-based leaving method includes: 1) a method in which the terminal requests to leave the network through RRC signaling, or 2) a method in which the terminal AS layer triggers a request to leave the network.

[0110] The terminal may request to leave the network through RRC signaling by sending a request to leave the network to a RAN network element through RRC signaling. A RAN network element supporting the RRC-based leaving method can understand the request to leave the network sent through RRC signaling.

[0111] The non-access layer NAS-based leaving method includes: 1) the terminal requests to leave the network through NAS signaling or 2) the terminal NAS layer triggers the request to leave the network. The terminal requests to leave the network through NAS signaling, including: the terminal sends a request to leave the network to the CN network element through NAS signaling. For CN network elements that support the NAS-based leaving method, the request to leave the network through CN signaling can be understood. For RAN network elements, the request to leave the network sent through NAS signaling is no different from other NAS PDUs.

[0112] The RAN network element transparently transmits the NAS signaling but does not understand the content of the NAS signaling.

[0113] In an optional embodiment of the present application, leaving the network includes at least one of the following: stopping or suspending data transmission between the terminal and the network, the connection between the terminal and the network entering a non-connected state, or keeping the terminal in a connected state during the period when the terminal leaves the network.

[0114] In one implementation, the terminal leaves the network terminal's connection with the network and enters a disconnected state.

[0115] In another implementation manner, when the terminal leaves the network, the connection between the terminal and the network remains connected, but data transmission between the terminal and the network is stopped or suspended.

[0116] In an optional embodiment of the present application, the short-term leaving includes a leaving mode of maintaining a connection state and / or suspending data transmission;

[0117] In an optional embodiment of the present application, the long-term leaving includes a leaving mode of entering a non-connected state.

[0118] In an optional embodiment of the present application, the data includes control plane data and / or user plane data. The control plane data includes signaling (such as RRC signaling or NAS signaling).

[0119] In one implementation, the network supports an RRC-based leaving method including at least one of the following:

[0120] All RAN elements in the network support the RRC-based leaving method;

[0121] All CN elements in the network support the RRC-based leaving method.

[0122] In one implementation, the network supports a NAS-based leaving method including at least one of the following:

[0123] All CN network elements in the network support NAS-based leaving mode;

[0124] All RAN elements in the network support NAS-based leaving mode.

[0125] In one implementation, the network does not support the RRC-based leaving method including at least one of the following:

[0126] All RAN elements in the network do not support the RRC-based leaving method;

[0127] All CN elements in the network do not support the RRC-based leaving method.

[0128] In one implementation, the network does not support a NAS-based leaving method including at least one of the following:

[0129] All CN network elements in the network do not support NAS-based leaving mode;

[0130] All RAN elements in the network do not support NAS-based leaving.

[0131] In an optional embodiment of the present invention, supporting the multi-card mode function includes supporting the first leaving method, and not supporting the multi-card mode function includes not supporting the first leaving method.

[0132] In an optional embodiment of the present invention, supporting the first leaving mode includes supporting a leaving mode based on NAS.

[0133] In an optional embodiment of the present invention, the RAN network element is a RAN network element serving the terminal.

[0134] In an optional embodiment of the present invention, the CN network element is a CN network element serving the terminal.

[0135] In an optional embodiment of the present application, the terminal capability includes at least one of the following: terminal wireless capability information, terminal core network capability. The network capability includes at least one of the following: CN network element capability, RAN network element capability. RAN network element capability includes: cell capability

[0136] In an optional embodiment of the present application, the network support includes at least one of the following: CN network element support (such as a RAN network element serving a terminal), RAN network element support (such as a RAN network element serving a terminal).

[0137] In an optional embodiment of the present application, the multi-card mode includes at least one of the following: the terminal has two or more certificates for accessing the network, and the terminal has two or more Universal Subscriber Identity Modules (USIM). The non-multi-card mode includes the terminal having only one SIM, or only one set of certificates for accessing the network.

[0138] In an optional embodiment of the present application, the non-connected state may include at least one of the following: an idle state and an inactive state.

[0139] In an optional embodiment of the present application, the inactive state includes an RRC inactive state. In an optional embodiment of the present application, the idle state includes at least one of the following: an RRC idle state, a CM idle state.

[0140] In an optional embodiment of the present application, the connection between the terminal and the network includes at least one of the following: RRC connection, NAS layer connection.

[0141] In an optional embodiment of the present application, the multi-card mode function includes at least one of the following: a paging reason function, a paging rejection indication function, a paging conflict avoidance function, and a first leaving method function. In one implementation mode, the multi-card mode function includes at least one of the following: a multi-card mode function based on 3GPP access, and a multi-card mode function through non-3GPP access.

[0142] In conjunction with the accompanying drawings, an operation method, apparatus, device and readable storage medium for leaving a network provided by an embodiment of the present application are described in detail through some embodiments and their application scenarios.

[0143] See also Figure 2 An embodiment of the present application provides an operation method for leaving a network, which is executed by a first communication device, and the first communication device includes but is not limited to a terminal. The specific steps include: step 201 and step 202.

[0144] Step 201: Acquire first information, where the first information includes at least one of the following: network capability information related to a first leaving method, terminal capability information related to the first leaving method, and first indication information;

[0145] In one implementation, the first information is obtained from at least one of the following: a CN network element, a RAN network element.

[0146] In one implementation, the first communication device is a terminal, and terminal capability information related to the first leaving mode is obtained according to configuration.

[0147] In one implementation, the first indication information and / or network capability information related to the first leaving mode is obtained from a CN network element. Optionally, the network capability information may include capability information of the CN network element.

[0148] In one implementation, network capability information related to the first leaving mode is obtained from a RAN network element. Optionally, the network capability information may include capability information of the RAN network element.

[0149] Step 202: Determine a method of requesting to leave the network according to the first information;

[0150] in,

[0151] The first indication information is used to indicate at least one of the following: support or non-support of the multi-card mode function, support or non-support of the first leaving method, support or non-support of the RRC-based leaving method, and support or non-support of the NAS-based leaving method;

[0152] The method of determining the request to leave the network includes: determining to initiate a leave request to the network through RRC signaling or determining to send a leave request to the network through NAS signaling;

[0153] The first leaving mode includes a mode in which the terminal requests to leave the network;

[0154] The RRC-based leaving method includes: the terminal requests to leave the network through RRC signaling;

[0155] The NAS-based leaving method includes: the terminal requests to leave the network through NAS signaling.

[0156] In an optional embodiment of the present application, the network capability information related to the first leaving mode includes at least one of the following:

[0157] (1) Support or not support the multi-card mode function;

[0158] (2) support or not support the first way of leaving;

[0159] (3) Support or not support RRC-based leaving mode;

[0160] (4) Support or not support NAS-based leaving method;

[0161] (5) Area information supporting RRC-based leaving mode;

[0162] (6) Supports regional information based on NAS-based departure mode;

[0163] (7) Area information that does not support RRC-based leaving method;

[0164] (8) Regional information that does not support NAS-based departure methods;

[0165] (9) capability information of the CN network element, wherein the capability information of the CN network element is related to the first leaving mode;

[0166] (10) capability information of the RAN network element, wherein the capability information of the RAN network element is related to the first leaving mode;

[0167] (11) Capability information of a cell, wherein the capability information of the cell is related to the first leaving method.

[0168] In an optional embodiment of the present application, the capability information of the CN network element, the capability information of the RAN network element, and / or the capability information of the cell includes at least one of the following: supporting or not supporting a multi-card mode function, supporting or not supporting a first leaving method, supporting or not supporting an RRC-based leaving method; supporting or not supporting a NAS-based leaving method.

[0169] In an optional embodiment of the present application, determining a method and step of leaving the network according to the first information includes:

[0170] When the first condition is met, determining to initiate a leave request to the network through RRC signaling;

[0171] The first condition includes at least one of the following:

[0172] (1) The first indication information indicates that an RRC-based leaving mode is supported;

[0173] (2) The terminal and / or the network supports the RRC-based leaving method;

[0174] (3) The first indication information indicates that an RRC-based leaving mode and a NAS-based leaving mode are supported;

[0175] (4) The terminal and / or the network supports the RRC-based leaving method and the NAS-based leaving method;

[0176] (5) A situation occurs where you need to leave the network;

[0177] and / or,

[0178] If the second condition is met, determine to initiate a leave request to the network through NAS signaling;

[0179] The second condition includes at least one of the following:

[0180] (1) The first indication information indicates that the RRC-based leaving mode is not supported;

[0181] (2) The terminal and / or network does not support the RRC-based leaving method;

[0182] (3) the first indication information indicates support for a multi-card mode function, support for a first leaving method, and / or support for a NAS-based leaving method;

[0183] (4) The terminal and / or network supports the NAS-based leaving method;

[0184] (5) The RAN network element serving the terminal is an LTE or earlier RAN network element;

[0185] (6) A situation occurs where you need to leave the network.

[0186] In an optional embodiment of the present application, before the step of obtaining the first information, the method further includes:

[0187] Sending terminal capability information related to the first leaving method and / or multi-card mode related indication information;

[0188] The terminal capability information related to the first leaving mode includes at least one of the following: (1) support or non-support of the multi-card mode function, (2) support or non-support of the first leaving mode, (3) support or non-support of the RRC-based leaving mode, (4) support or non-support of the NAS-based leaving mode;

[0189] The multi-card mode related indication information is used to indicate one of the following: the terminal is in multi-card mode, the terminal is in non-multi-card mode.

[0190] In one implementation, the RRC-based leaving method requires support from a CN network element.

[0191] At this time, the first condition may also include: the CN network element supports the RRC-based leaving method.

[0192] In one implementation, the NAS-based leaving method requires support from RAN network elements.

[0193] At this time, the second condition may also include: the RAN network element supports a NAS-based leaving method.

[0194] In one implementation, the RAN network element is a RAN network element serving a terminal.

[0195] In one implementation, the CN network element is a CN network element serving a terminal.

[0196] In one implementation mode, when the entire network supports a NAS-based leaving mode and does not support an RRC-based leaving mode, it is determined to adopt a NAS-based leaving mode.

[0197] In one implementation mode, the first type RAN network element supports the RRC-based leaving mode, and the second type RAN network element does not support the RRC-based leaving mode. The network may have both the first type RAN network element and the second type RAN network element. When the terminal is served by the first type RAN network element, the RRC-based leaving mode is adopted, even if the CN network element serving the terminal supports the NAS-based leaving mode. When the terminal is served by the second type RAN network element, if the CN network element serving the terminal supports the NAS-based leaving mode, the NAS-based leaving mode is adopted.

[0198] In the embodiment of the present application, the terminal selects whether to leave in an RRC-based manner or a NAS-based manner.

[0199] See also Figure 3 , an embodiment of the present application provides an operation method for leaving a network, which is executed by a second communication device, and the second communication device includes but is not limited to: a RAN network element, and the specific steps include: step 301 and step 302.

[0200] Step 301: Acquire second information, where the second information includes at least one of the following: first indication information, multi-card mode related indication information;

[0201] In one implementation, the second communication device obtains the second information from at least one of the following: a CN network element.

[0202] Step 302: executing an operation of the terminal leaving the network or rejecting the operation of the terminal leaving the network according to the second information;

[0203] Among them, the first indication information is used to indicate at least one of the following: support or not support of the multi-card mode function, support or not support of the first leaving method, support or not support of the RRC-based leaving method, support or not support of the NAS-based leaving method.

[0204] In an optional embodiment of the present application, the operation of the terminal leaving the network includes at least one of the following:

[0205] (1) Suspend the data transmission between the terminal and the network;

[0206] (2) Perform departure configuration for the terminal;

[0207] In one implementation, the departure configuration includes at least one of the following: a state of the terminal during the period when the terminal leaves the network, a duration of the departure, a short-term departure or a long-term departure.

[0208] (3) Keeping the terminal in a connected state or setting the terminal to a disconnected state while the terminal is away from the network;

[0209] (4) Release or suspend the connection between the terminal and the network;

[0210] and / or,

[0211] The multi-card mode related indication information is used to indicate one of the following: (1) the terminal is in the multi-card mode, (2) the terminal is in the non-multi-card mode.

[0212] In an optional embodiment of the present application, executing an operation of the terminal leaving the network or rejecting an operation of the terminal leaving the network according to the second information includes:

[0213] When the third condition is met, executing an operation of the terminal leaving the network or rejecting the operation of the terminal leaving the network according to the second information;

[0214] The third condition includes at least one of the following:

[0215] (1) receiving a request from a terminal to leave the network;

[0216] (2) multi-card mode related indication information indicates that the terminal is in multi-card mode;

[0217] (3) The first indication information indicates support for a multi-card mode function, support for a first leaving method, and / or support for an RRC-based leaving method.

[0218] and / or

[0219] When the eighth condition is met, according to the second information, performing one of the following: releasing the connection between the terminal and the network, setting the terminal to a disconnected state, and refusing the operation of the terminal leaving the network;

[0220] The eighth condition includes at least one of the following:

[0221] A request to leave the network sent by a receiving terminal;

[0222] The multi-card mode related indication information indicates that the terminal is in non-multi-card mode;

[0223] The first indication information indicates that the multi-card mode function is not supported, the first leaving method is not supported, and / or the RRC-based leaving method is not supported.

[0224] In the embodiment of the present application, the terminal selects whether to leave in an RRC-based manner or a NAS-based manner.

[0225] See also Figure 4 , an embodiment of the present application provides an operation method for leaving the network, which is executed by a third communication device, and the third communication device includes but is not limited to at least one of the following: CN network element (such as access and mobility management function (Access and Mobility Management Function, AMF), session management function (Session Management Function, SMF)), RAN network element, and the specific steps include: Step 401.

[0226] Step 401: Sending network capability information and / or first indication information related to a first leaving method;

[0227] The first indication information is used to indicate at least one of the following: support or non-support of the multi-card mode function, support or non-support of the first leaving method, support or non-support of the RRC-based leaving method, and support or non-support of the NAS-based leaving method.

[0228] For example, the third communication device sends network capability information and / or first indication information related to the first leaving mode to the first communication device.

[0229] In one implementation, the third communication device is a RAN network element, which can send (e.g., broadcast) network capability information and / or first indication information related to the first leaving method to the terminal. Optionally, the network capability information related to the first leaving method includes capability information of the RAN network element or capability information of the cell.

[0230] In one implementation, the third communication device is a RAN network element, which can send network capability information and / or first indication information related to the first leaving method to the CN network element. Optionally, the network capability information related to the first leaving method includes capability information of the RAN network element or capability information of the cell.

[0231] In one implementation, the third communication device is a CN network element, and can send network capability information and / or first indication information related to the first leaving mode to the terminal and / or the RAN network element.

[0232] In an optional embodiment of the present application, the network capability information related to the first leaving mode includes at least one of the following:

[0233] (1) Support or not support the multi-card mode function;

[0234] (2) support or not support the first way of leaving;

[0235] (3) Support or not support RRC-based leaving mode;

[0236] (4) Support or not support NAS-based leaving method;

[0237] (5) Area information supporting RRC-based leaving mode;

[0238] (6) Supports regional information based on NAS-based departure mode;

[0239] (7) Area information that does not support RRC-based leaving method;

[0240] (8) Regional information that does not support NAS-based departure methods;

[0241] (9) capability information of the CN network element, wherein the capability information of the CN network element is related to the first leaving mode;

[0242] (10) capability information of the RAN network element, wherein the capability information of the RAN network element is related to the first leaving mode;

[0243] (11) Capability information of a cell, wherein the capability information of the cell is related to the first leaving method.

[0244] In an optional embodiment of the present application, the capability information of the CN network element, the capability information of the RAN network element, and / or the capability information of the cell includes at least one of the following: supporting or not supporting a multi-card mode function, supporting or not supporting a first leaving method, supporting or not supporting an RRC-based leaving method; supporting or not supporting a NAS-based leaving method.

[0245] In the embodiment of the present application, the terminal selects whether to leave in an RRC-based manner or a NAS-based manner.

[0246] See also Figure 5, an embodiment of the present application provides an operation method for leaving a network, which is performed by a fourth communication device, wherein the fourth communication device includes but is not limited to at least one of the following CN network elements (such as an access and mobility management function (Access and Mobility Management Function, AMF), a session management function (Session Management Function, SMF), or a user plane function (User plane function, UPF), and the specific steps of the RAN network element include: step 501 and step 502.

[0247] Step 501: Acquire third information, where the third information includes at least one of the following: terminal capability information related to the first leaving mode, network capability information related to the first leaving mode, contract information of the terminal, and local policy information;

[0248] In one implementation, the fourth communication device obtains the third information from at least one of the following: a terminal, a RAN network element, a CN network element, and a unified data manager (UDM).

[0249] In one implementation, the first communication device is a CN network element, and the network capability information and / or CN network element capability information related to the first leaving mode is obtained according to configuration or other CN network elements. The CN network element capability information is related to the first leaving mode.

[0250] In one implementation, terminal capability information related to the first leaving mode may be obtained from the terminal. Optionally, the terminal capability information may include terminal wireless capability information and / or terminal core network capability information.

[0251] In one implementation, terminal capability information related to the first leaving mode, cell capability information and / or RAN network element capability information may be obtained from a RAN network element. Optionally, the terminal capability information may include terminal wireless capability information. The capability information of the RAN network element is related to the first leaving mode.

[0252] In one implementation, the contract information of the terminal may be obtained from the UDM or the UDR.

[0253] Step 502: Perform a second operation according to the third information; the second operation includes at least one of the following: determining first indication information; sending first indication information;

[0254] In one implementation, first indication information is sent to the terminal and / or the RAN network element.

[0255] in,

[0256] The contract information of the terminal is related to the first leaving mode and / or to the multi-card mode function;

[0257] The local policy information is related to the first leaving mode and / or to the multi-card mode function;

[0258] The first indication information includes at least one of the following: support or not support of the multi-card mode function, support or not support of the first leaving method, support or not support of the RRC-based leaving method, support or not support of the NAS-based leaving method.

[0259] In an optional embodiment of the present application, the terminal capability information related to the first leaving mode includes at least one of the following, and / or the terminal capability information related to the first leaving mode includes at least one of the following: supporting or not supporting a multi-card mode function, supporting or not supporting the first leaving mode, supporting or not supporting an RRC-based leaving mode, and supporting or not supporting a NAS-based leaving mode;

[0260] and / or,

[0261] The network capability information related to the first leaving mode includes at least one of the following:

[0262] (1) Support or not support the multi-card mode function;

[0263] (2) support or not support the first way of leaving;

[0264] (3) Support or not support RRC-based leaving mode;

[0265] (4) Support or not support NAS-based leaving method;

[0266] (5) Area information supporting RRC-based leaving mode;

[0267] (6) Supports regional information based on NAS-based departure mode;

[0268] (7) Area information that does not support RRC-based leaving method;

[0269] (8) Regional information that does not support NAS-based departure methods;

[0270] (9) capability information of the CN network element, wherein the capability information of the CN network element is related to the first leaving mode;

[0271] (10) capability information of the RAN network element, wherein the capability information of the RAN network element is related to the first leaving mode;

[0272] (11) capability information of the cell, where the capability information of the cell is related to the first leaving mode;

[0273] and / or,

[0274] The contract information of the terminal includes at least one of the following:

[0275] (1) Allow or not allow the multi-card mode function,

[0276] (2) Allow or disallow the first exit method,

[0277] (3) Allow or disallow RRC-based leaving,

[0278] (4) Allow or disallow NAS-based departure.

[0279] In an optional embodiment of the present application, the capability information of the CN network element, the capability information of the RAN network element, and / or the capability information of the cell includes at least one of the following: (1) supporting or not supporting a multi-card mode function, (2) supporting or not supporting a first leaving method, (3) supporting or not supporting an RRC-based leaving method; (4) supporting or not supporting a NAS-based leaving method.

[0280] In an optional embodiment of the present application, the step of determining the first indication information according to the second information includes:

[0281] When the fourth condition is met, the first indication information is used to indicate: supporting an RRC-based leaving mode;

[0282] The fourth condition includes at least one of the following:

[0283] (1) The network supports the RRC-based leaving method;

[0284] (2) RAN network elements support RRC-based leaving mode;

[0285] (3) The terminal supports the RRC-based leaving mode;

[0286] (4) The subscription information and / or local policy information of the terminal allows the RRC-based leaving method or allows the first leaving method;

[0287] and / or,

[0288] When the fifth condition is met, the first indication information is used to indicate at least one of the following: supporting the first leaving mode and supporting the leaving mode based on NAS;

[0289] The fifth condition includes at least one of the following:

[0290] (1) The network supports the NAS-based leaving method and / or supports the first leaving method;

[0291] (2) The CN network element supports the NAS-based leaving method and / or supports the first leaving method;

[0292] (3) The terminal supports the NAS-based leaving method and / or supports the first leaving method;

[0293] (4) The subscription information and / or local policy information of the terminal allows the NAS-based leaving method and / or allows the first leaving method;

[0294] and / or,

[0295] When the sixth condition is met, the first indication information is used to indicate at least one of the following: supporting a multi-card mode function;

[0296] The sixth condition includes at least one of the following:

[0297] (1) The terminal and / or the network supports the NAS-based leaving mode and / or supports the first leaving mode;

[0298] (2) The terminal's subscription information and / or local policy information allows the multi-card mode function.

[0299] In an optional embodiment of the present application, the fourth condition further includes: the CN network element supports an RRC-based leaving mode;

[0300] and / or

[0301] The fifth condition also includes: the RAN network element supports a NAS-based leaving method and / or supports the first leaving method.

[0302] In one implementation manner, the CN network element does not support the RRC-based leaving method, and the first indication information can still indicate support for the RRC-based leaving method.

[0303] In another implementation manner, the CN network element supports the RRC-based leaving mode, and the first indication information can indicate support for the RRC-based leaving mode.

[0304] In one implementation, when the RAN network element does not support the NAS-based leaving method and / or supports the first leaving method, the first indication information can still indicate support for the NAS-based leaving method and / or support for the first leaving method.

[0305] In another implementation manner, only when the RAN network element supports a NAS-based leaving mode and / or the first leaving mode, the first indication information can indicate support for a NAS-based leaving mode and / or the first leaving mode.

[0306] In an embodiment of the present application, the terminal can select an RRC-based leaving method or a NAS-based leaving method based on the received first indication information.

[0307] See also Figure 6 , an embodiment of the present application provides an operation method for leaving a network, which is executed by a fifth communication device, and the specific steps include: step 601 and step 602.

[0308] Step 601: The NAS layer obtains fourth information from the AS layer, where the fourth information includes at least one of the following: network capability information related to the first leaving mode, and first indication information;

[0309] In one implementation, the fifth communication device is a terminal. The NAS layer is a NAS layer of the terminal, and the AS layer is an AS layer of the terminal.

[0310] In one implementation, the network capability information related to the first leaving mode includes capability information of a RAN network element or capability information of a cell.

[0311] In one implementation, the AS layer obtains the fourth information from a RAN network element.

[0312] Step 602: The NAS layer determines a method for requesting to leave the network according to the terminal capability information related to the fourth information and the first leaving method;

[0313] in,

[0314] The terminal capability information related to the first leaving mode includes at least one of the following: information that the terminal supports the first leaving mode, and information that the terminal does not support the first leaving mode;

[0315] The first leaving mode includes: a mode in which the terminal requests to leave the network;

[0316] The RRC-based leaving method includes: the terminal requests to leave the network through RRC signaling;

[0317] The NAS-based leaving method includes: the terminal requests to leave the network through NAS signaling.

[0318] In an optional embodiment of the present application, the terminal capability information related to the first leaving mode includes at least one of the following: supporting or not supporting the multi-card mode function, supporting or not supporting the first leaving mode, supporting or not supporting the RRC-based leaving mode, and supporting or not supporting the NAS-based leaving mode;

[0319] and / or

[0320] The network capability information related to the first leaving mode includes at least one of the following:

[0321] (1) Support or not support the multi-card mode function;

[0322] (2) support or not support the first way of leaving;

[0323] (3) Support or not support RRC-based leaving mode;

[0324] (4) Support or not support NAS-based leaving method;

[0325] (5) Area information supporting RRC-based leaving mode;

[0326] (6) Supports regional information based on NAS-based departure mode;

[0327] (7) Area information that does not support RRC-based leaving method;

[0328] (8) Regional information that does not support NAS-based departure methods;

[0329] (9) capability information of the CN network element, wherein the capability information of the CN network element is related to the first leaving mode;

[0330] (10) capability information of the RAN network element, wherein the capability information of the RAN network element is related to the first leaving mode;

[0331] (11) capability information of the cell, where the capability information of the cell is related to the first leaving mode;

[0332] In an optional embodiment of the present application, the capability information of the CN network element, the capability information of the RAN network element, and / or the capability information of the cell includes at least one of the following: supporting or not supporting a multi-card mode function, supporting or not supporting a first leaving method, supporting or not supporting an RRC-based leaving method; supporting or not supporting a NAS-based leaving method.

[0333] In an optional embodiment of the present application, the method further includes:

[0334] If the sixth condition is met, determining to initiate a leave request to the network through RRC signaling;

[0335] The sixth condition includes at least one of the following:

[0336] (1) The first indication information indicates that an RRC-based leaving mode is supported;

[0337] (2) The terminal and / or the network supports the RRC-based leaving method;

[0338] (3) The first indication information indicates that an RRC-based leaving mode and a NAS-based leaving mode are supported;

[0339] (4) The terminal and / or the network supports the RRC-based leaving method and the NAS-based leaving method;

[0340] (5) A situation occurs where you need to leave the network;

[0341] or,

[0342] If the seventh condition is met, determine to initiate a leave request to the network through NAS signaling;

[0343] The seventh condition includes at least one of the following:

[0344] (1) The first indication information indicates that the RRC-based leaving mode is not supported;

[0345] (2) The terminal and / or the network do not support the RRC-based leaving method;

[0346] (3) the first indication information indicates support for a multi-card mode function, support for a first leaving method, and / or support for a NAS-based leaving method;

[0347] (4) The terminal and / or network supports the NAS-based leaving method;

[0348] (5) The RAN network element serving the terminal is an LTE or earlier RAN network element;

[0349] (6) A situation occurs where you need to leave the network;

[0350] in,

[0351] The RRC-based leaving method includes: sending a leaving request to the network through RRC signaling;

[0352] The RRC-based leaving method includes: sending a leaving request to the network through NAS signaling.

[0353] In an optional embodiment of the present application, the method further includes:

[0354] When the RRC-based leaving mode is determined, the NAS layer sends an indication message to the AS layer indicating that a leaving request is initiated through RRC signaling.

[0355] The AS layer initiates a leave request to the network by sending RRC signaling according to the indication information.

[0356] In an optional embodiment of the present application, the method further includes:

[0357] When the NAS-based leaving method is determined, the NAS layer initiates a leaving request to the network by sending NAS signaling.

[0358] In an optional embodiment of the present application, the NAS layer of the terminal decides whether to select an RRC-based leaving mode or a NAS-based leaving mode.

[0359] See also Figure 7 , the specific steps are as follows:

[0360] Step 1: The UE sends the terminal capability information about the first leaving mode to the CN network element (such as AMF);

[0361] Step 2a: Acquire third information, where the third information includes at least one of the following: terminal capability information related to the first leaving method, network capability information related to the first leaving method, subscription information of the terminal, and local policy information;

[0362] In one implementation, the CN network element obtains network capability information and / or capability information of the CN network element related to the first leaving mode according to configuration or other CN network elements. The capability information of the CN network element is related to the first leaving mode.

[0363] In one implementation, the CN network element may obtain terminal capability information related to the first leaving mode, cell capability information and / or RAN network element capability information from the RAN network element. Optionally, the terminal capability information may include terminal wireless capability information. The capability information of the RAN network element is related to the first leaving mode.

[0364] In one implementation, the CN network element may obtain the subscription information of the terminal from the UDM or UDR.

[0365] According to the third information, the CN network element performs a second operation; the second operation includes at least one of the following: determining the first indication information. Figure 5 The embodiments are described in detail and will not be repeated here.

[0366] The CN network element may send network capability information and / or first indication information about the first leaving mode to the UE and / or the RAN network element;

[0367] Step 2b: The RAN network element sends (e.g., broadcasts) network capability information and / or first indication information about the first leaving mode to the UE. Figure 4 The embodiments are described in detail and will not be repeated here.

[0368] The UE obtains first information, the first information including at least one of the following: network capability information related to the first leaving method, terminal capability information related to the first leaving method, and first indication information; and determines a method for requesting to leave the network according to the first information. Figure 2 The embodiments are described in detail and will not be repeated here.

[0369] When it is determined to initiate a leave request to the network through RRC signaling, proceed to step 3b.

[0370] When it is determined to send a leave request to the network through NAS signaling, proceed to step 3a.

[0371] Step 3a: The UE initiates a leave request to the CN network element via NAS signaling;

[0372] Step 3b: UE sends a leave request to the RAN element via RRC signaling

[0373] See also Figure 8-1 , the specific steps are as follows:

[0374] Step 1: The RAN network element sends network capability information and / or first indication information related to the first leaving mode to the UE AS layer;

[0375] Step 2: The UE AS layer sends network capability information and / or first indication information related to the first leaving mode to the UE NAS layer;

[0376] Step 3: The UE NAS layer obtains fourth information from the UE AS layer, where the fourth information includes at least one of the following: network capability information related to the first leaving mode, and first indication information;

[0377] The NAS layer determines a method for requesting to leave the network based on the fourth information and the terminal capability information related to the first leaving method. Figure 6 The embodiments are described in detail and will not be repeated here.

[0378] When it is determined to initiate a leave request to the network through RRC signaling, proceed to step 3a.

[0379] When it is determined to send a leave request to the network via NAS signaling, proceed to step 3b.

[0380] Step 3a: The UE NAS layer sends indication information to the UE AS layer for initiating a leave request through RRC signaling;

[0381] Step 4: According to the indication information for instructing to initiate a leave request through RRC signaling, the UE AS layer initiates a leave request to the RAN network element through RRC signaling;

[0382] Step 3b: The UE NAS layer initiates a leave request to the CN network element via NAS signaling.

[0383] See also Figure 8-2 , the specific steps are as follows:

[0384] Step 1: The CN network element sends the second information to the RAN network element; the second information includes at least one of the following: the first indication information, the multi-card mode related indication information. Figure 3 The embodiments are described in detail and will not be repeated here.

[0385] Step 2: The UE initiates a leave request to the RAN via RRC signaling;

[0386] Step 3: The RAN network element executes an operation for the terminal to leave the network or refuses the operation for the terminal to leave the network according to the second information; Figure 3 The embodiments are described and will not be repeated here, such as 1) connection release and 2) connection suspension.

[0387] See also Fig. 9 , an embodiment of the present application provides an operation device for leaving a network, the device 900 comprising:

[0388] A first acquisition module 901 is used to acquire first information, where the first information includes at least one of the following: network capability information related to the first leaving mode, terminal capability information related to the first leaving mode, and first indication information;

[0389] A first determining module 902, configured to determine a method of requesting to leave the network according to the first information;

[0390] in,

[0391] The first indication information is used to indicate at least one of the following: support or non-support of the multi-card mode function, support or non-support of the first leaving method, support or non-support of the RRC-based leaving method, and support or non-support of the NAS-based leaving method;

[0392] The method of determining the request to leave the network includes: determining to initiate a leave request to the network through RRC signaling or determining to send a leave request to the network through NAS signaling;

[0393] The first leaving mode includes a mode in which the terminal requests to leave the network;

[0394] The RRC-based leaving method includes: the terminal requests to leave the network through RRC signaling;

[0395] The NAS-based leaving method includes: the terminal requests to leave the network through NAS signaling.

[0396] In an optional embodiment of the present application, the network capability information related to the first leaving mode includes at least one of the following:

[0397] Support or not support multi-card mode function;

[0398] Support or not support the first way of leaving;

[0399] Support or not support RRC-based leaving mode;

[0400] Support or not support NAS-based leaving method;

[0401] Area information supporting RRC-based leaving mode;

[0402] Supports regional information of NAS-based departure mode;

[0403] Area information for RRC-based leaving method is not supported;

[0404] The regional information of NAS-based leaving method is not supported;

[0405] Capability information of the CN network element, wherein the capability information of the CN network element is related to the first leaving mode;

[0406] capability information of the RAN network element, wherein the capability information of the RAN network element is related to the first leaving mode;

[0407] Capability information of a cell, wherein the capability information of the cell is related to the first leaving mode.

[0408] In an optional embodiment of the present application, the capability information of the CN network element, the capability information of the RAN network element, and / or the capability information of the cell includes at least one of the following: supporting or not supporting a multi-card mode function, supporting or not supporting a first leaving method, supporting or not supporting an RRC-based leaving method; supporting or not supporting a NAS-based leaving method.

[0409] In an optional embodiment of the present application, the first determining module 902 is further configured to:

[0410] When the first condition is met, determining to initiate a leave request to the network through RRC signaling;

[0411] The first condition includes at least one of the following:

[0412] The first indication information indicates that an RRC-based leaving mode is supported;

[0413] The terminal and / or the network supports an RRC-based leaving mode;

[0414] The first indication information indicates that an RRC-based leaving mode and a NAS-based leaving mode are supported;

[0415] The terminal and / or the network supports an RRC-based leaving mode and a NAS-based leaving mode;

[0416] A situation occurs where you need to leave the network;

[0417] and / or,

[0418] If the second condition is met, determine to initiate a leave request to the network through NAS signaling;

[0419] The second condition includes at least one of the following:

[0420] The first indication information indicates that an RRC-based leaving mode is not supported;

[0421] The terminal and / or the network do not support the RRC-based leaving mode;

[0422] The first indication information indicates support for a multi-card mode function, support for a first leaving method, and / or support for a NAS-based leaving method;

[0423] The terminal and / or network supports the NAS-based leaving mode;

[0424] The RAN network element serving the terminal is a RAN network element of LTE or earlier than LTE;

[0425] Situations arise where you need to leave the network.

[0426] In an optional embodiment of the present application, the apparatus further includes: a first sending module, configured to send terminal capability information related to the first leaving mode and / or multi-card mode related indication information;

[0427] The terminal capability information related to the first leaving method includes at least one of the following: support or non-support of the multi-card mode function, support or non-support of the first leaving method, support or non-support of the leaving method based on RRC, and support or non-support of the leaving method based on NAS;

[0428] The multi-card mode related indication information is used to indicate one of the following: the terminal is in multi-card mode, the terminal is in non-multi-card mode.

[0429] The device provided in the embodiment of the present application can achieve Figure 2 The various processes implemented by the method embodiment shown achieve the same technical effect and will not be described again here to avoid repetition.

[0430] See also Fig.10 , an embodiment of the present application provides an operation device for leaving a network, the device 1000 comprising:

[0431] The second acquisition module 1001 is used to acquire second information, where the second information includes at least one of the following: first indication information, multi-card mode related indication information;

[0432] A first execution module 1002, configured to execute an operation of the terminal leaving the network or refuse an operation of the terminal leaving the network according to the second information;

[0433] Among them, the first indication information is used to indicate at least one of the following: support or not support of the multi-card mode function, support or not support of the first leaving method, support or not support of the RRC-based leaving method, support or not support of the NAS-based leaving method.

[0434] In an optional embodiment of the present application, the operation of the terminal leaving the network includes at least one of the following:

[0435] Suspend data transmission between the terminal and the network;

[0436] Perform away configuration for the terminal;

[0437] Keep the terminal in a connected state or set the terminal to a disconnected state while the terminal is away from the network;

[0438] Release or suspend the connection between the terminal and the network;

[0439] and / or,

[0440] The multi-card mode related indication information is used to indicate that: the terminal is in multi-card mode;

[0441] The first indication information indicates support for a multi-card mode function, support for a first leaving method, and / or support for an RRC-based leaving method.

[0442] In an optional embodiment of the present application, the first execution module 1002 is further configured to: when the third condition is met, according to the second information, execute an operation of the terminal leaving the network or refuse the operation of the terminal leaving the network;

[0443] The third condition includes at least one of the following:

[0444] A request to leave the network sent by a receiving terminal;

[0445] The multi-card mode related indication information indicates one of the following: the terminal is in multi-card mode, the terminal is in non-multi-card mode;

[0446] and / or

[0447] When the eighth condition is met, according to the second information, performing one of the following: releasing the connection between the terminal and the network, setting the terminal to a disconnected state, and refusing the operation of the terminal leaving the network;

[0448] The eighth condition includes at least one of the following:

[0449] A request to leave the network sent by a receiving terminal;

[0450] The multi-card mode related indication information indicates that the terminal is in non-multi-card mode;

[0451] The first indication information indicates that the multi-card mode function is not supported, the first leaving method is not supported, and / or the RRC-based leaving method is not supported.

[0452] The device provided in the embodiment of the present application can achieve Figure 3 The various processes implemented by the method embodiment shown achieve the same technical effect and will not be described again here to avoid repetition.

[0453] See also Fig.11 , an embodiment of the present application provides an operation device for leaving a network, the device 1100 comprising:

[0454] The third sending module 1101 is used to send network capability information and / or first indication information related to the first leaving mode.

[0455] In an optional embodiment of the present application, the network capability information related to the first leaving mode includes at least one of the following:

[0456] Support or not support multi-card mode function;

[0457] Support or not support the first way of leaving;

[0458] Support or not support RRC-based leaving mode;

[0459] Support or not support NAS-based leaving method;

[0460] Area information supporting RRC-based leaving mode;

[0461] Supports regional information of NAS-based departure mode;

[0462] Area information for RRC-based leaving method is not supported;

[0463] The regional information of NAS-based leaving method is not supported;

[0464] Capability information of the CN network element, wherein the capability information of the CN network element is related to the first leaving mode;

[0465] capability information of the RAN network element, wherein the capability information of the RAN network element is related to the first leaving mode;

[0466] Capability information of a cell, wherein the capability information of the cell is related to the first leaving mode.

[0467] In an optional embodiment of the present application, the capability information of the CN network element, the capability information of the RAN network element, and / or the capability information of the cell include at least one of the following: support or non-support of the multi-card mode function, support or non-support of the first leaving method, support or non-support of the leaving method based on RRC; support or non-support of the leaving method based on NAS. The device provided in the embodiment of the present application can realize Figure 4 The various processes implemented by the method embodiment shown achieve the same technical effect and will not be described again here to avoid repetition.

[0468] See also Fig.12 , an embodiment of the present application provides an operation device for leaving a network, the device 1200 comprising:

[0469] The third acquisition module 1201 is used to acquire third information, where the third information includes at least one of the following: terminal capability information related to the first leaving mode, network capability information related to the first leaving mode, contract information of the terminal, and local policy information;

[0470] The second execution module 1202 is used to execute a second operation according to the third information; the second operation includes at least one of the following: determining the first indication information; sending the first indication information;

[0471] in,

[0472] The contract information of the terminal is related to the first leaving mode and / or to the multi-card mode function;

[0473] The local policy information is related to the first leaving mode and / or to the multi-card mode function;

[0474] The first indication information includes at least one of the following: support or not support of the multi-card mode function, support or not support of the first leaving method, support or not support of the RRC-based leaving method, support or not support of the NAS-based leaving method.

[0475] The terminal capability information related to the first leaving mode includes at least one of the following, and / or the terminal capability information related to the first leaving mode includes at least one of the following: supporting or not supporting the multi-card mode function, supporting or not supporting the first leaving mode, supporting or not supporting the RRC-based leaving mode, and supporting or not supporting the NAS-based leaving mode;

[0476] and / or,

[0477] The network capability information related to the first leaving mode includes at least one of the following:

[0478] Support or not support multi-card mode function;

[0479] Support or not support the first way of leaving;

[0480] Support or not support RRC-based leaving mode;

[0481] Support or not support NAS-based leaving method;

[0482] Area information supporting RRC-based leaving mode;

[0483] Supports regional information of NAS-based departure mode;

[0484] Area information for RRC-based leaving method is not supported;

[0485] The regional information of NAS-based leaving method is not supported;

[0486] Capability information of the CN network element, wherein the capability information of the CN network element is related to the first leaving mode;

[0487] capability information of the RAN network element, wherein the capability information of the RAN network element is related to the first leaving mode;

[0488] capability information of the cell, wherein the capability information of the cell is related to the first leaving mode;

[0489] and / or,

[0490] The subscription information and / or local policy information of the terminal includes at least one of the following: allowing or not allowing the multi-card mode function, allowing or not allowing the first leaving method, allowing or not allowing the RRC-based leaving method, and allowing or not allowing the NAS-based leaving method.

[0491] In an optional embodiment of the present application, the capability information of the CN network element, the capability information of the RAN network element, and / or the capability information of the cell includes at least one of the following: supporting or not supporting a multi-card mode function, supporting or not supporting a first leaving method, supporting or not supporting an RRC-based leaving method; supporting or not supporting a NAS-based leaving method.

[0492] In an optional embodiment of the present application, the second execution module 1202 is further configured to:

[0493] When the fourth condition is met, the first indication information is used to indicate: supporting an RRC-based leaving mode;

[0494] The fourth condition includes at least one of the following:

[0495] The network supports RRC-based leaving mode;

[0496] RAN network elements support RRC-based leaving mode;

[0497] The terminal supports the leaving mode based on RRC;

[0498] The subscription information and / or local policy information of the terminal allows the RRC-based leaving mode or allows the first leaving mode;

[0499] and / or,

[0500] When the fifth condition is met, the first indication information is used to indicate at least one of the following: supporting the first leaving mode and supporting the leaving mode based on NAS;

[0501] The fifth condition includes at least one of the following:

[0502] The network supports the NAS-based leaving mode and / or supports the first leaving mode;

[0503] The CN network element supports a NAS-based leaving mode and / or supports a first leaving mode;

[0504] The terminal supports the NAS-based leaving mode and / or supports the first leaving mode;

[0505] The subscription information and / or local policy information of the terminal allows the NAS-based leaving mode and / or allows the first leaving mode;

[0506] and / or

[0507] When the sixth condition is met, the first indication information is used to indicate at least one of the following: supporting a multi-card mode function;

[0508] The sixth condition includes at least one of the following:

[0509] The terminal and / or the network supports the NAS-based leaving mode and / or supports the first leaving mode;

[0510] The subscription information and / or local policy information of the terminal allows the multi-card mode function.

[0511] In an optional embodiment of the present application, the fourth condition further includes: the CN network element supports an RRC-based leaving mode;

[0512] and / or

[0513] The fifth condition also includes: the RAN network element supports a NAS-based leaving method and / or supports the first leaving method.

[0514] The device provided in the embodiment of the present application can achieve Figure 5 The various processes implemented by the method embodiment shown achieve the same technical effect and will not be described again here to avoid repetition.

[0515] See also Fig.13, an embodiment of the present application provides an operation device for leaving a network, the device 1300 comprising:

[0516] The fourth acquisition module 1301 is configured to acquire fourth information from the AS layer through the NAS layer, where the fourth information includes at least one of the following: network capability information related to the first leaving mode, and first indication information;

[0517] A second determining module 1302 is configured to determine, through the NAS layer, a mode of requesting to leave the network according to the capability information based on the RAN network element and the terminal capability information related to the first leaving mode;

[0518] in,

[0519] The terminal capability information related to the first leaving mode includes at least one of the following: information that the terminal supports the first leaving mode, and information that the terminal does not support the first leaving mode;

[0520] The first leaving mode includes: a mode in which the terminal requests to leave the network;

[0521] The RRC-based leaving method includes: the terminal requests to leave the network through RRC signaling;

[0522] The NAS-based leaving method includes: the terminal requests to leave the network through NAS signaling.

[0523] In an optional embodiment of the present application, the terminal capability information related to the first leaving method includes at least one of the following: supporting or not supporting the multi-card mode function, supporting or not supporting the first leaving method, supporting or not supporting the RRC-based leaving method, and supporting or not supporting the NAS-based leaving method.

[0524] and / or

[0525] The network capability information related to the first leaving mode includes at least one of the following:

[0526] Support or not support multi-card mode function;

[0527] Support or not support the first way of leaving;

[0528] Support or not support RRC-based leaving mode;

[0529] Support or not support NAS-based leaving method;

[0530] Area information supporting RRC-based leaving mode;

[0531] Supports regional information of NAS-based departure mode;

[0532] Area information for RRC-based leaving method is not supported;

[0533] The regional information of NAS-based leaving method is not supported;

[0534] Capability information of the CN network element, wherein the capability information of the CN network element is related to the first leaving mode;

[0535] capability information of the RAN network element, wherein the capability information of the RAN network element is related to the first leaving mode;

[0536] capability information of the cell, wherein the capability information of the cell is related to the first leaving mode;

[0537] In an optional embodiment of the present application, the capability information of the CN network element, the capability information of the RAN network element, and / or the capability information of the cell includes at least one of the following: supporting or not supporting a multi-card mode function, supporting or not supporting a first leaving method, supporting or not supporting an RRC-based leaving method; supporting or not supporting a NAS-based leaving method.

[0538] In an optional embodiment of the present application, the apparatus further includes: a third determining module, configured to:

[0539] If the sixth condition is met, determining to initiate a leave request to the network through RRC signaling;

[0540] The sixth condition includes at least one of the following:

[0541] The first indication information indicates that an RRC-based leaving mode is supported;

[0542] The terminal and / or the network supports an RRC-based leaving mode;

[0543] The first indication information indicates that an RRC-based leaving mode and a NAS-based leaving mode are supported;

[0544] The terminal and / or the network supports an RRC-based leaving mode and a NAS-based leaving mode;

[0545] A situation occurs where you need to leave the network;

[0546] or,

[0547] If the seventh condition is met, determine to initiate a leave request to the network through NAS signaling;

[0548] The seventh condition includes at least one of the following:

[0549] The first indication information indicates that an RRC-based leaving mode is not supported;

[0550] The terminal and / or the network do not support the RRC-based leaving mode;

[0551] The first indication information indicates support for a multi-card mode function, support for a first leaving method, and / or support for a NAS-based leaving method;

[0552] The terminal and / or network supports the NAS-based leaving mode;

[0553] The RAN network element serving the terminal is a RAN network element of LTE or earlier than LTE;

[0554] A situation occurs where you need to leave the network;

[0555] in,

[0556] The RRC-based leaving method includes: sending a leaving request to the network through RRC signaling;

[0557] The RRC-based leaving method includes: sending a leaving request to the network through NAS signaling.

[0558] In an optional embodiment of the present application, the device also includes: a first sending module, which is used to send indication information for initiating a leave request through RRC signaling to the AS layer through the NAS layer when determining an RRC-based leave method; the AS layer initiates a leave request to the network by sending RRC signaling based on the indication information.

[0559] In an optional embodiment of the present application, the device further includes: a second sending module, configured to initiate a leave request to the network by sending NAS signaling through the NAS layer when a NAS-based leave mode is determined.

[0560] The device provided in the embodiment of the present application can achieve Figure 6 The various processes implemented by the method embodiment shown achieve the same technical effect and will not be described again here to avoid repetition.

[0561] Fig.14 To implement a hardware structure diagram of a terminal in an embodiment of the present application, the terminal 1400 includes but is not limited to: a radio frequency unit 1401, a network module 1402, an audio output unit 1403, an input unit 1404, a sensor 1405, a display unit 1406, a user input unit 1407, an interface unit 1408, a memory 1409, and a processor 1410 and other components.

[0562] Those skilled in the art will appreciate that the terminal 1400 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1410 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.14The terminal structure shown in the figure does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0563] It should be understood that in the embodiment of the present application, the input unit 1404 may include a graphics processor (Graphics Processing Unit, GPU) 14041 and a microphone 14042, and the graphics processor 14041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1406 may include a display panel 14061, and the display panel 14061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1407 includes a touch panel 14071 and other input devices 14072. The touch panel 14071 is also called a touch screen. The touch panel 14071 may include two parts: a touch detection device and a touch controller. Other input devices 14072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0564] In the embodiment of the present application, the radio frequency unit 1401 receives downlink data from the network side device and sends it to the processor 1410 for processing; in addition, the uplink data is sent to the network side device. Generally, the radio frequency unit 1401 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc.

[0565] The memory 1409 can be used to store software programs or instructions and various data. The memory 1409 can mainly include a program or instruction storage area and a data storage area, wherein the program or instruction storage area can store an operating system, an application program or instruction required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1409 can include a high-speed random access memory, and can also include a non-volatile memory, wherein the non-volatile memory can be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or a flash memory. For example, at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device.

[0566] The processor 1410 may include one or more processing units; optionally, the processor 1410 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs or instructions, etc., and the modem processor mainly processes wireless communications, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1410.

[0567] The terminal provided in the embodiment of the present application can achieve Figure 2 The various processes implemented by the method embodiment shown achieve the same technical effect and will not be described again here to avoid repetition.

[0568] The present application embodiment also provides a network side device. Fig.15 As shown, the network side device 1500 includes: an antenna 1501, a radio frequency device 1502, and a baseband device 1503. The antenna 1501 is connected to the radio frequency device 1502. In the uplink direction, the radio frequency device 1502 receives information through the antenna 1501 and sends the received information to the baseband device 1503 for processing. In the downlink direction, the baseband device 1503 processes the information to be sent and sends it to the radio frequency device 1502. The radio frequency device 1502 processes the received information and sends it out through the antenna 1501.

[0569] The frequency band processing device may be located in the baseband device 1503 . The method performed by the network-side device in the above embodiment may be implemented in the baseband device 803 . The baseband device 1503 includes a processor 1504 and a memory 1505 .

[0570] The baseband device 1503 may include, for example, at least one baseband board on which a plurality of chips are arranged. Fig.15 As shown, one of the chips is, for example, a processor 1504, which is connected to a memory 1505 to call a program in the memory 1505 to execute the network device operations shown in the above method embodiment.

[0571] The baseband device 1503 may further include a network interface 1506 for exchanging information with the radio frequency device 1502 . The interface may be, for example, a common public radio interface (CPRI).

[0572] Specifically, the network side device of the embodiment of the present application also includes: instructions or programs stored in the memory 1505 and executable on the processor 1504, and the processor 1504 calls the instructions or programs in the memory 1505 to execute Figure 10-13 The methods executed by the modules shown achieve the same technical effects, and therefore will not be described here in detail to avoid repetition.

[0573] The embodiment of the present application also provides a program product, which is stored in a non-volatile storage medium and is executed by at least one processor to implement the following Figure 2-Figure 6 The steps of the processing method.

[0574] The embodiment of the present application also provides a readable storage medium on which a program or instruction is stored. When the program or instruction is executed by a processor, the above Figure 2-Figure 6 The various processes of the method embodiment shown can achieve the same technical effect, and will not be described again here to avoid repetition.

[0575] The processor is the processor in the terminal described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0576] The present application also provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a network side device program or instruction to implement the above Figure 2-Figure 6 The various processes of the method embodiment shown can achieve the same technical effect, and will not be described again here to avoid repetition.

[0577] It should be understood that the chip mentioned in the embodiments 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.

[0578] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0579] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0580] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A method for leaving a network, characterized in that: The method is executed by a first communication device and includes: Acquire first information, where the first information includes at least one of the following: network capability information related to the first leaving mode, terminal capability information related to the first leaving mode, and first indication information; Determining, based on the first information, a method for requesting to leave the network; in, The first indication information is used to indicate at least one of the following: support or not support of a leaving method based on a radio resource control (RRC), and support or not support of a leaving method based on a NAS; Wherein, determining, according to the first information, a method of requesting to leave the network includes one of the following: When the first condition is met, determining to initiate a leave request to the network through RRC signaling; If the second condition is met, determine to initiate a leave request to the network through NAS signaling; in, The first condition includes at least one of the following: The first indication information indicates that an RRC-based leaving mode is supported, or that a NAS-based leaving mode is not supported; The terminal and the network support a leaving method based on RRC; in, The second condition includes at least one of the following: The first indication information indicates that a NAS-based leaving mode is supported, or that an RRC-based leaving mode is not supported; The terminal and network support NAS-based leaving mode; in, The first leaving method includes at least one of a leaving method based on radio resource control RRC and a leaving method based on NAS.

2. The method according to claim 1, characterized in that The first indication information is also used to indicate whether a multi-card mode function is supported or not.

3. The method according to claim 1, characterized in that When the first indication information indicates that an RRC-based leaving mode is supported, or a NAS-based leaving mode is not supported, The first condition also includes one of the following: the terminal supports an RRC-based leaving method, the terminal supports an RRC-based leaving method and supports an NAS-based leaving method.

4. The method according to claim 1, characterized in that: When the first indication information indicates that a NAS-based leaving mode is supported, or a RRC-based leaving mode is not supported, The second condition also includes one of the following: the terminal supports a NAS-based leaving method, the terminal supports an RRC-based leaving method and supports a NAS-based leaving method.

5. The method according to claim 1, characterized in that The network capability information related to the first leaving mode includes at least one of the following: Support or not support RRC-based leaving mode; Support or not support NAS-based leaving method; Area information supporting RRC-based leaving mode; Supports regional information of NAS-based departure mode; Area information for RRC-based leaving method is not supported; The regional information of NAS-based leaving method is not supported; Capability information of a core network CN network element, wherein the capability information of the CN network element is related to the first leaving mode; Capability information of a radio access network RAN ​​network element, wherein the capability information of the RAN network element is related to the first leaving mode; Capability information of a cell, wherein the capability information of the cell is related to the first leaving mode.

6. The method according to claim 5, characterized in that The network capability information related to the first leaving method also includes: whether a multi-card mode function is supported or not.

7. The method according to claim 5, characterized in that The capability information of the CN network element, the capability information of the RAN network element, and / or the capability information of the cell include at least one of the following: support or non-support of an RRC-based leaving mode; Support or not support NAS-based leave method.

8. The method according to claim 7, characterized in that The capability information of the CN network element, the capability information of the RAN network element, and / or the capability information of the cell further includes whether a multi-card mode function is supported or not.

9. The method according to claim 3 or 4, characterized in that: Determining the method and steps of leaving the network according to the first information includes: When the first condition is met, determining to initiate a leave request to the network through RRC signaling; The first condition includes at least one of the following: The first indication information indicates that an RRC-based leaving mode is supported; The terminal and / or the network supports an RRC-based leaving mode; The first indication information indicates that an RRC-based leaving mode and a NAS-based leaving mode are supported; The terminal and / or the network supports an RRC-based leaving mode and a NAS-based leaving mode; and / or, If the second condition is met, determine to initiate a leave request to the network through NAS signaling; The second condition includes at least one of the following: The first indication information indicates that an RRC-based leaving mode is not supported; The terminal and / or the network do not support the RRC-based leaving mode; The first indication information indicates that a multi-card mode function is supported and / or a NAS-based leaving method is supported; The terminal and / or network supports the NAS-based leaving mode; The RAN network element serving the terminal is a Long Term Evolution LTE or a RAN network element earlier than LTE.

10. The method according to claim 9, wherein the first condition further comprises the occurrence of a situation requiring leaving the network, and / or the second condition further comprises the occurrence of a situation requiring leaving the network.

11. The method according to claim 1, characterized in that: Before the step of acquiring the first information, the method further comprises: Sending terminal capability information related to the first leaving mode; The terminal capability information related to the first leaving method includes at least one of the following: supporting or not supporting the first leaving method, supporting or not supporting the RRC-based leaving method, and supporting or not supporting the NAS-based leaving method.

12. The method according to claim 11, characterized in that The terminal capability information related to the first leaving method also includes whether a multi-card mode function is supported or not.

13. The method according to claim 2, characterized in that Before the step of acquiring the first information, the method further comprises: Send multi-card mode related instructions; The multi-card mode related indication information is used to indicate one of the following: the terminal is in the multi-card mode, the terminal is in the non-multi-card mode.

14. The method according to claim 1, characterized in that The method further comprises: The NAS layer obtains fourth information from the access layer AS layer, where the fourth information includes at least one of the following: network capability information related to the first leaving mode, and first indication information; The NAS layer determines a method for requesting to leave the network according to the terminal capability information related to the fourth information and the first leaving method; in, The terminal capability information related to the first leaving mode includes at least one of the following: information that the terminal supports the first leaving mode, and information that the terminal does not support the first leaving mode; The first leaving mode includes: a mode in which the terminal requests to leave the network.

15. The method according to claim 14, characterized in that The terminal capability information related to the first leaving mode includes at least one of the following: supporting or not supporting the leaving mode based on RRC, supporting or not supporting the leaving mode based on NAS; and / or, The network capability information related to the first leaving mode includes at least one of the following: Support or not support RRC-based leaving mode; Support or not support NAS-based leaving method; Area information supporting RRC-based leaving mode; Supports regional information of NAS-based departure mode; Area information for RRC-based leaving method is not supported; The regional information of NAS-based leaving method is not supported; Capability information of the CN network element, wherein the capability information of the CN network element is related to the first leaving mode; capability information of the RAN network element, wherein the capability information of the RAN network element is related to the first leaving mode; Capability information of a cell, wherein the capability information of the cell is related to the first leaving mode.

16. The method according to claim 15, characterized in that The terminal capability information related to the first leaving method further includes supporting or not supporting a multi-card mode function; and / or, The network capability information related to the first leaving method also includes whether a multi-card mode function is supported or not.

17. The method according to claim 15, characterized in that The capability information of the CN network element, the capability information of the RAN network element, and / or the capability information of the cell include at least one of the following: support or non-support of an RRC-based leaving mode; Support or not support NAS-based leave method.

18. The method according to claim 17, characterized in that The capability information of the CN network element, the capability information of the RAN network element, and / or the capability information of the cell further includes whether a multi-card mode function is supported or not.

19. The method according to claim 14, characterized in that The method further comprises: If the sixth condition is met, determining to initiate a leave request to the network through RRC signaling; The sixth condition includes at least one of the following: The first indication information indicates that an RRC-based leaving mode is supported; The terminal and / or the network supports an RRC-based leaving mode; The first indication information indicates that an RRC-based leaving mode and a NAS-based leaving mode are supported; The terminal and / or the network supports an RRC-based leaving mode and a NAS-based leaving mode; or, If the seventh condition is met, determine to initiate a leave request to the network through NAS signaling; The seventh condition includes at least one of the following: The first indication information indicates that an RRC-based leaving mode is not supported; The terminal and / or the network do not support the RRC-based leaving mode; The first indication information indicates that a NAS-based leaving mode is supported; The terminal and / or network supports the NAS-based leaving mode; in, The RRC-based leaving method includes: sending a leaving request to the network through RRC signaling; The RRC-based leaving method includes: sending a leaving request to the network through NAS signaling.

20. The method according to claim 19, characterized in that The sixth condition also includes the occurrence of a situation where it is necessary to leave the network; and / or, The seventh condition also includes at least one of the following: The first indication information indicates that a multi-card mode function is supported; The RAN network element serving the terminal is a RAN network element of LTE or earlier than LTE; Situations where you need to leave the network occur.

21. The method according to claim 14, characterized in that The method further comprises: In the case of determining the RRC-based leaving mode, the NAS layer sends an indication message to the AS layer for initiating a leaving request through RRC signaling. The AS layer initiates a leave request to the network by sending RRC signaling according to the indication information.

22. The method according to claim 14, characterized in that The method further comprises: When the NAS-based leaving mode is determined, the NAS layer initiates a leaving request to the network by sending NAS signaling.

23. A method for leaving a network, characterized in that: The method is executed by a third communication device and includes: Sending network capability information and / or first indication information related to the first leaving mode; in, The network capability information and / or the first indication information related to the first leaving mode is used by the first communication device to determine a mode for requesting to leave the network; in, The first indication information is used to indicate at least one of the following: support or non-support of an RRC-based leaving mode, and support or non-support of a NAS-based leaving mode; The first leaving method includes at least one of a leaving method based on radio resource control RRC and a leaving method based on NAS.

24. The method according to claim 23, characterized in that The first indication information is also used to indicate whether a multi-card mode function is supported or not.

25. The method according to claim 23, characterized in that The network capability information related to the first leaving mode includes at least one of the following: Support or not support RRC-based leaving mode; Support or not support NAS-based leaving method; Area information supporting RRC-based leaving mode; Supports regional information of NAS-based departure mode; Area information for RRC-based leaving method is not supported; The regional information of NAS-based leaving method is not supported; Capability information of the CN network element, wherein the capability information of the CN network element is related to the first leaving mode; capability information of the RAN network element, wherein the capability information of the RAN network element is related to the first leaving mode; Capability information of a cell, wherein the capability information of the cell is related to the first leaving mode.

26. The method according to claim 25, characterized in that The network capability information related to the first leaving method also includes whether a multi-card mode function is supported or not.

27. The method according to claim 25, characterized in that The capability information of the CN network element, the capability information of the RAN network element, and / or the capability information of the cell include at least one of the following: support or non-support of an RRC-based leaving mode; Support or not support NAS-based leave method.

28. The method according to claim 27, characterized in that The capability information of the CN network element, the capability information of the RAN network element, and / or the capability information of the cell further includes whether a multi-card mode function is supported or not.

29. A method for leaving a network, characterized in that: The method is executed by a fourth communication device and includes: Acquire third information, where the third information includes at least one of the following: terminal capability information related to the first leaving mode, network capability information related to the first leaving mode, subscription information of the terminal, and local policy information; Perform a second operation according to the third information; the second operation includes at least one of the following: determining the first indication information; sending the first indication information; in, The contract information of the terminal is related to the first leaving mode; The local policy information is related to the first leaving mode; The first indication information includes at least one of the following: support or non-support of an RRC-based leaving method, support or non-support of a NAS-based leaving method; The first leaving mode includes at least one of a leaving mode based on a radio resource control RRC and a leaving mode based on a NAS; The first indication information is used by the first communication device to determine a method for requesting to leave the network.

30. The method according to claim 29, characterized in that The subscription information of the terminal is also related to the multi-card mode function, and / or the local policy information is also related to the multi-card mode function; and / or the first indication information also includes supporting or not supporting the multi-card mode function.

31. The method according to claim 29, characterized in that The terminal capability information related to the first leaving mode includes at least one of the following, and / or the terminal capability information related to the first leaving mode includes at least one of the following: supporting or not supporting an RRC-based leaving mode, supporting or not supporting an NAS-based leaving mode; and / or, The network capability information related to the first leaving mode includes at least one of the following: Support or not support RRC-based leaving mode; Support or not support NAS-based leaving method; Area information supporting RRC-based leaving mode; Supports regional information of NAS-based departure mode; Area information for RRC-based leaving method is not supported; The regional information of NAS-based leaving method is not supported; Capability information of the CN network element, wherein the capability information of the CN network element is related to the first leaving mode; capability information of the RAN network element, wherein the capability information of the RAN network element is related to the first leaving mode; capability information of the cell, wherein the capability information of the cell is related to the first leaving mode; and / or, The subscription information and / or local policy information of the terminal includes at least one of the following: allowing or not allowing an RRC-based leaving mode, and allowing or not allowing an NAS-based leaving mode.

32. The method according to claim 31, characterized in that The terminal capability information related to the first leaving mode includes at least one of the following, and / or the terminal capability information related to the first leaving mode also includes supporting or not supporting a multi-card mode function; And / or, the network capability information related to the first leaving method further includes whether a multi-card mode function is supported or not; And / or, the subscription information and / or local policy information of the terminal also includes whether to allow or not allow the multi-card mode function.

33. The method according to claim 31, characterized in that The capability information of the CN network element, the capability information of the RAN network element, and / or the capability information of the cell include at least one of the following: support or non-support of an RRC-based leaving mode; Support or not support NAS-based leave method.

34. The method according to claim 33, characterized in that The capability information of the CN network element, the capability information of the RAN network element, and / or the capability information of the cell further includes whether a multi-card mode function is supported or not.

35. The method according to claim 31 or 33, characterized in that The step of determining the first indication information according to the third information includes: When the fourth condition is met, the first indication information is used to indicate: supporting an RRC-based leaving mode; The fourth condition includes at least one of the following: The network supports the RRC-based leaving method; RAN network elements support RRC-based leaving mode; The terminal supports the leaving mode based on RRC; The subscription information and / or local policy information of the terminal allows the RRC-based leaving mode; and / or, When the fifth condition is met, the first indication information is used to indicate at least one of the following: supporting a NAS-based leaving mode; The fifth condition includes at least one of the following: The network supports NAS-based leaving mode; CN network elements support NAS-based leaving mode; The terminal supports NAS-based leaving mode; The subscription information and / or local policy information of the terminal allows a NAS-based leaving mode.

36. The method according to claim 30, characterized in that The step of determining the first indication information according to the third information includes: When the sixth condition is met, the first indication information is used to indicate support for a multi-card mode function; The sixth condition includes at least one of the following: The terminal and / or the network supports the NAS-based leaving mode and / or supports the first leaving mode; The subscription information and / or local policy information of the terminal allows the multi-card mode function.

37. The method according to claim 35, characterized in that The fourth condition also includes: the CN network element supports the RRC-based leaving mode; and / or The fifth condition also includes: the RAN network element supports a NAS-based leaving method.

38. An operating device that leaves the network, characterized in that: include: A first acquisition module, configured to acquire first information, wherein the first information includes at least one of the following: network capability information related to the first leaving mode, terminal capability information related to the first leaving mode, and first indication information; A first determining module, configured to determine a method of requesting to leave the network according to the first information; in, The first indication information is used to indicate at least one of the following: support or non-support of an RRC-based leaving mode, and support or non-support of a NAS-based leaving mode; Wherein, determining, according to the first information, a method of requesting to leave the network includes one of the following: When the first condition is met, determining to initiate a leave request to the network through RRC signaling; If the second condition is met, determine to initiate a leave request to the network through NAS signaling; in, The first condition includes at least one of the following: The first indication information indicates that an RRC-based leaving mode is supported, or that a NAS-based leaving mode is not supported; The terminal and the network support a leaving method based on RRC; in, The second condition includes at least one of the following: The first indication information indicates that a NAS-based leaving mode is supported, or that an RRC-based leaving mode is not supported; The terminal and the network support NAS-based leaving mode.

39. An operating device that leaves the network, characterized in that: include: A third sending module, used for sending network capability information and / or first indication information related to the first leaving mode; in, The network capability information and / or the first indication information related to the first leaving mode is used by the first communication device to determine a mode for requesting to leave the network; in, The first indication information is used to indicate at least one of the following: support or non-support of an RRC-based leaving mode, and support or non-support of a NAS-based leaving mode; The first leaving method includes at least one of a leaving method based on radio resource control RRC and a leaving method based on NAS.

40. An operating device that leaves the network, characterized in that: include: A third acquisition module is used to acquire third information, where the third information includes at least one of the following: terminal capability information related to the first leaving mode, network capability information related to the first leaving mode, contract information of the terminal, and local policy information; A second execution module is configured to execute a second operation according to the third information; the second operation includes at least one of the following: determining first indication information; Sending first instruction information; in, The contract information of the terminal is related to the first leaving mode; The local policy information is related to the first leaving mode; The first indication information includes at least one of the following: support or non-support of an RRC-based leaving method, support or non-support of a NAS-based leaving method; The first leaving mode includes at least one of a leaving mode based on a radio resource control RRC and a leaving mode based on a NAS; The first indication information is used by the first communication device to determine a method for requesting to leave the network.

41. A terminal, characterized in that: include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the steps of the method according to any one of claims 1 to 22 are implemented.

42. A network side device, characterized in that: include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the steps of the method according to any one of claims 23 to 28 or the steps of the method according to any one of claims 29 to 37 are implemented.

43. A readable storage medium, characterized in that The readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 37 are implemented.