Network access method, device and terminal equipment
Through a network access method that supports multiple protocol stacks in the terminal device, the terminal device can flexibly switch to the second network after accessing the first network, solving the problem of restricted network switching in the prior art, and achieving better user experience and service needs satisfaction.
Patent Information
- Application Number
- CN202110128827.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-29
- Publication Date
- 2025-03-21
- Estimated Expiration
- 2041-01-29
AI Technical Summary
After the terminal device is connected to one network, it is restricted to access another network, especially when switching between SNPN mode and PLMN mode.
A network access method is provided, and the terminal devices that support multiple protocol stacks are enabled. When the first SIM card is enabled and the first signing information is used to access the first network; at the same time, the second protocol stack is enabled and the second signing information is used to access the second network.
It realizes that the terminal device can flexibly access the second network after accessing the first network, solves the problem of restricted network handover, meets the user's business needs and improves the user experience.
Smart Images

Figure CN114828163B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a network access method, apparatus and terminal equipment. Background Art
[0002] With the development of communication technology, terminal devices can access the Public Land Mobile Network (PLMN) or the Standalone Non-Public Network (SNPN). The PLMN network is a network established and operated to provide land mobile communication services to the public. The SNPN network is an independent private network deployed independently of the PLMN network. It can be deployed by the operator of the PLMN network or by a dedicated user. It is a relative network form to the PLMN network. The terminal device can reside and access the network corresponding to the access mode, such as the PLMN network or the SNPN network, according to the access mode of the terminal device, such as the PLMN mode or the SNPN mode.
[0003] However, once a terminal device has accessed a network, access to another network is restricted. For example, when the terminal device is in SNPN mode, access to the PLMN network is restricted after the terminal device has accessed the SNPN network. Summary of the invention
[0004] The embodiments of the present application provide a network access method, apparatus, and terminal device. The method is applied to a terminal device supporting multiple protocol stacks, wherein the multiple protocol stacks include a first protocol stack of a first access mode and a second protocol stack of a second access mode. The method enables the terminal device to flexibly access a second network corresponding to a second access mode after accessing a first network corresponding to a first access mode.
[0005] In a first aspect, an embodiment of the present application provides a network access method, which is applied to a terminal device supporting multiple protocol stacks, wherein the multiple protocol stacks include a first protocol stack of a first access mode and a second protocol stack of a second access mode, and the method includes:
[0006] When the first user identification SIM card is enabled and the terminal device is in the first access mode, the first protocol stack is enabled, and the first subscription information and the first protocol stack are used to access the first network corresponding to the first access mode;
[0007] Enable the second protocol stack and use the second subscription information and the second protocol stack to access the second network corresponding to the second access mode;
[0008] The first subscription information is information corresponding to the first SIM card in the first access mode;
[0009] The second contract information is information corresponding to the first SIM card in the second access mode.
[0010] In one implementation, when access to the second network through the first network using a non-3GPP mode fails, or when the second network accessed through the first network using a non-3GPP mode is not the second network with the highest priority in the network list corresponding to the second access mode in the terminal device,
[0011] Execute the step of starting the second protocol stack and using the second contract information and the second protocol stack to access the second network corresponding to the second access mode.
[0012] In one implementation, the method further includes: when the terminal device is disconnected from the second network, accessing the second network through the first network in a Non-3GPP manner, and executing the step of accessing the second network corresponding to the second access mode using the second subscription information and the second protocol stack; or,
[0013] When the terminal device is disconnected from the first network, the first network is accessed through the second network in a Non-3GPP manner, and the step of using the first subscription information and the first protocol stack to access the first network corresponding to the first access mode is performed.
[0014] In one implementation, the method further includes:
[0015] When the second network is not the network with the highest priority in the network list corresponding to the second access mode in the terminal device, searching for a network corresponding to the second access mode with a higher priority than the accessed second network based on the second protocol stack, and / or searching for a network corresponding to the second access mode with a higher priority than the accessed second network through the accessed first network based on a Non-3GPP mode;
[0016] Access a network with a higher priority corresponding to the searched second access mode.
[0017] In one implementation, the method further includes:
[0018] When a network corresponding to a first access mode having a higher priority than the first network to be accessed is searched, the network corresponding to the first access mode having a higher priority is accessed.
[0019] In one implementation, the method further includes:
[0020] When the first network is not the network with the highest priority in the network list corresponding to the first access mode in the terminal device, searching for a network corresponding to the first access mode with a higher priority than the first accessed network based on the first protocol stack, and / or searching for a network corresponding to the first access mode with a higher priority than the first accessed network through the second accessed network based on a Non-3GPP manner;
[0021] Access a network with a higher priority corresponding to the searched first access mode.
[0022] In one implementation, the method further includes:
[0023] When a network corresponding to a second access mode having a higher priority than the accessed second network is searched, the network corresponding to the searched second access mode having a higher priority is accessed.
[0024] In one implementation, the method further includes:
[0025] When the terminal device exits the first access mode, the first protocol stack of the first access mode is closed.
[0026] In one implementation, the method further includes:
[0027] When the terminal device enables the second SIM card, the second network corresponding to the second access mode is accessed by using the second protocol stack and the third contract information based on the hot plug process; or, the second protocol stack is restarted, and the restarted second protocol stack and the third contract information are used to access the second network corresponding to the second access mode; the third contract information is the information corresponding to the second SIM card in the second access mode.
[0028] In one implementation, in response to a user operation of enabling the first access mode, the step of enabling the first protocol stack and accessing the first network corresponding to the first access mode using the first contract information and the first protocol stack is performed; and / or,
[0029] In response to the user operation of turning on the second access mode, the steps of turning on the second protocol stack and using the second contract information and the second protocol stack to access the second network corresponding to the second access mode are performed.
[0030] In one implementation, the first access mode is the SNPN mode, and the second access mode is the PLMN mode; or, the first access mode is the PLMN mode, and the second access mode is the SNPN mode.
[0031] In one implementation, the method further includes:
[0032] When a first service of the first network conflicts with a second service of the second network, selecting a service with the highest service priority from the first service and the second service;
[0033] The selected service is initiated using the first network or the second network according to requirements of the selected service.
[0034] In a second aspect, an embodiment of the present application provides a network access device, wherein the network access device supports multiple protocol stacks, wherein the multiple protocol stacks include a first protocol stack of a first access mode and a second protocol stack of a second access mode, and the device includes:
[0035] An access unit, configured to enable the first protocol stack and use the first subscription information and the first protocol stack to access the first network corresponding to the first access mode when the network access device activates the first SIM card and is in the first access mode;
[0036] The access unit is further used to enable the second protocol stack and use the second subscription information and the second protocol stack to access the second network corresponding to the second access mode;
[0037] The first subscription information is information corresponding to the first SIM card in the first access mode;
[0038] The second contract information is information corresponding to the first SIM card in the second access mode.
[0039] In one implementation, when accessing the second network through the first network in a Non-3GPP manner fails, or when the second network accessed through the first network in a Non-3GPP manner is not the second network with the highest priority in the network list corresponding to the second access mode in the network access device,
[0040] Execute the step of starting the second protocol stack and using the second contract information and the second protocol stack to access the second network corresponding to the second access mode.
[0041] In one implementation, the access unit is further used to: when the network access device is disconnected from the second network, access the second network through the first network in a Non-3GPP manner, and perform the step of using the second subscription information and the second protocol stack to access the second network corresponding to the second access mode; or,
[0042] When the network access device is disconnected from the first network, the first network is accessed through the second network in a Non-3GPP manner, and the step of using the first subscription information and the first protocol stack to access the first network corresponding to the first access mode is performed.
[0043] In one implementation, the access unit is further used to: when the second network is not the network with the highest priority in the network list corresponding to the second access mode in the network access device, search for a network corresponding to the second access mode with a higher priority than the accessed second network based on the second protocol stack, and / or search for a network corresponding to the second access mode with a higher priority than the accessed second network through the accessed first network based on a Non-3GPP mode;
[0044] Access a network with a higher priority corresponding to the searched second access mode.
[0045] In one implementation, the access unit is further used for: when a network corresponding to a first access mode having a higher priority than the first network being accessed is searched, accessing the higher priority network corresponding to the searched first access mode.
[0046] In one implementation, the access unit is further used to: when the first network is not the network with the highest priority in the network list corresponding to the first access mode in the network access device, search for a network corresponding to the first access mode with a higher priority than the first network accessed based on the first protocol stack, and / or search for a network corresponding to the first access mode with a higher priority than the first network accessed through the second network accessed based on the Non-3GPP mode;
[0047] Access a network with a higher priority corresponding to the searched first access mode.
[0048] In one implementation, the access unit is further used for: when a network corresponding to a second access mode having a higher priority than the second network being accessed is searched, accessing the higher priority network corresponding to the searched second access mode.
[0049] In one implementation, the network access apparatus further includes a closing unit, configured to close the first protocol stack of the first access mode when the terminal device exits the first access mode.
[0050] In one implementation, the access unit is also used to: when the network access device enables the second SIM card, access the second network corresponding to the second access mode using the second protocol stack and the third contract information based on the hot plug process; or, restart the second protocol stack, and use the restarted second protocol stack and the third contract information to access the second network corresponding to the second access mode; the third contract information is the information corresponding to the second SIM card in the second access mode.
[0051] In one implementation, in response to a user operation of enabling the first access mode, the step of enabling the first protocol stack and accessing the first network corresponding to the first access mode using the first contract information and the first protocol stack is performed; and / or,
[0052] In response to the user operation of turning on the second access mode, the steps of turning on the second protocol stack and using the second contract information and the second protocol stack to access the second network corresponding to the second access mode are performed.
[0053] In one implementation, the first access mode is the SNPN mode, and the second access mode is the PLMN mode; or, the first access mode is the PLMN mode, and the second access mode is the SNPN mode.
[0054] In one implementation, the device also includes a processing unit, which is used to select a service with the highest service priority from the first service and the second service when a first service of the first network conflicts with a second service of the second network; and initiate the selected service using the first network or the second network according to the needs of the selected service.
[0055] In a third aspect, an embodiment of the present application provides a terminal device, wherein the terminal device supports multiple protocol stacks, wherein the multiple protocol stacks include a first protocol stack of a first access mode and a second protocol stack of a second access mode, and the terminal device includes:
[0056] Memory for storing computer programs;
[0057] The processor invokes a computer program to:
[0058] When the first user identification SIM card is enabled and the terminal device is in the first access mode, the first protocol stack is enabled, and the first subscription information and the first protocol stack are used to access the first network corresponding to the first access mode;
[0059] Enable the second protocol stack and use the second subscription information and the second protocol stack to access the second network corresponding to the second access mode;
[0060] The first subscription information is information corresponding to the first SIM card in the first access mode;
[0061] The second contract information is information corresponding to the first SIM card in the second access mode.
[0062] In addition, in this aspect, other optional implementations of the terminal device can refer to the relevant content of the first aspect mentioned above and will not be described in detail here.
[0063] In a fourth aspect, an embodiment of the present application provides a chip, wherein the chip supports multiple protocol stacks, wherein the multiple protocol stacks include a first protocol stack of a first access mode and a second protocol stack of a second access mode;
[0064] The chip is used to enable the first protocol stack and use the first subscription information and the first protocol stack to access the first network corresponding to the first access mode when the first SIM card is enabled and in the first access mode; and enable the second protocol stack and use the second subscription information and the second protocol stack to access the second network corresponding to the second access mode;
[0065] The first subscription information is information corresponding to the first SIM card in the first access mode;
[0066] The second contract information is information corresponding to the first SIM card in the second access mode.
[0067] In addition, in this aspect, other optional implementations of the chip can refer to the relevant content of the first aspect mentioned above, and will not be described in detail here.
[0068] In a fifth aspect, an embodiment of the present application provides a module device, wherein the module device supports multiple protocol stacks, wherein the multiple protocol stacks include a first protocol stack of a first access mode and a second protocol stack of a second access mode, and the module device includes a processor and a communication interface, wherein the processor is connected to the communication interface, the communication interface is used to send and receive signals, and the processor is used to:
[0069] When the first SIM card is enabled and in the first access mode, the module device starts the first protocol stack and uses the first subscription information and the first protocol stack to access the first network corresponding to the first access mode;
[0070] Enable the second protocol stack and use the second subscription information and the second protocol stack to access the second network corresponding to the second access mode;
[0071] The first subscription information is information corresponding to the first SIM card in the first access mode;
[0072] The second contract information is information corresponding to the first SIM card in the second access mode.
[0073] In addition, in this aspect, other optional implementations of the module device can refer to the relevant content of the first aspect mentioned above, and will not be described in detail here.
[0074] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in the first aspect above is implemented.
[0075] In the embodiment of the present application, the multiple protocol stacks supported by the terminal device include a first protocol stack in the first access mode and a second protocol stack in the second access mode. When the first SIM card is enabled and in the first access mode, the first protocol stack in the first access mode can be used to enable the first SIM card to access the first network, and the second protocol stack in the second access mode can be used to enable the first SIM card to access the first network, so that the terminal device can simultaneously access the first network corresponding to the first access mode and the second network corresponding to the second access mode in the first access mode. Compared with the method in which a dual-card dual-standby terminal device needs to access the first network of the first access mode according to the first SIM card, and access the second network of the second access mode according to the second SIM card, the embodiment of the present application can flexibly access the second network corresponding to the second access mode when one of the SIM cards is enabled and the first network corresponding to the first access mode is accessed, thereby better meeting the user's business needs.
[0076] In addition, compared with the non-3GPP mode that can only be used to access the second network in the second access mode through the first network in the first access mode, it is not limited to the interface between the first network and the second network, and can not only access those second networks that support non-3GPP and are connected to the first network, but also directly access the second network in the 3GPP mode like a terminal device in the second access mode. Therefore, after accessing the first network, the terminal device can flexibly access the second network in the second access mode, thereby better meeting the user's business needs and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0077] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0078] Figure 1aIt is a schematic diagram of the prior art in which a first network and a second network cannot be accessed simultaneously;
[0079] Figure 1b It is a schematic diagram of the prior art in which a first network and a second network cannot be accessed simultaneously;
[0080] Figure 2 It is a flowchart of a network access method provided by an embodiment of the present application;
[0081] Figure 3 It is a flowchart of another network access method provided by an embodiment of the present application;
[0082] Figure 4a is a schematic diagram of a user interface provided in an embodiment of the present application;
[0083] Figure 4b is another user interface schematic diagram provided in an embodiment of the present application;
[0084] Figure 5a is another user interface schematic diagram provided in an embodiment of the present application;
[0085] Figure 5b is another user interface schematic diagram provided in an embodiment of the present application;
[0086] Figure 6 It is a structural diagram of a network access device provided in an embodiment of the present application;
[0087] Figure 7 It is a structural diagram of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0088] 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 only 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.
[0089] With the rapid development of communication technology, terminal devices supporting multiple protocol stacks (such as terminal devices supporting dual SIM dual standby) have appeared on the market. Among them, terminal devices supporting multiple protocol stacks can also be said to be terminal devices that support multiple protocol stacks for network standby at the same time. The terminal devices may include but are not limited to: smart phones, tablet computers, laptop computers, wearable devices with wireless communication functions (such as smart watches), desktop computers, etc.
[0090] When a terminal device that supports multiple protocol stacks has a Subscriber Identity Module (SIM) card enabled, the terminal device can reside in and access the network corresponding to the access mode, such as the PLMN mode or the SNPN mode, using the contract information of the enabled SIM card according to the access mode of the terminal device, such as the PLMN mode or the SNPN mode. Among them, the PLMN network is a network established and operated to provide land mobile communication services to the public, such as the PLMN network of a certain operator. Among them, the SNPN network is an independent private network deployed independently of the PLMN network. It is a relative network form to the PLMN network. For example, it is a network deployed in non-public areas such as airports, parks, governments and enterprises, managed by a dedicated operator and not dependent on the operator network. Among them, the PLMN network or SNPN network may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), fifth generation mobile communication technology (5G) and one or more network modes in future mobile communication technology.
[0091] In order to better describe the embodiments of the present application, Figure 1a and Figure 1b For explanation. Figure 1a and Figure 1b In the figure, a solid-line frame 101 represents a first SIM card in an activated state, and a dotted-line frame 102 represents a second SIM card in an inactivated state. When the terminal device 100 activates the first SIM card and is in the SNPN access mode, the terminal device 100 can access the SNPN network through the contract information of the first SIM card 101 in the SNPN access mode, such as Figure 1a When the terminal device 100 activates the first SIM card 101 and is in the PLMN access mode, the terminal device 100 can access the PLMN network through the subscription information of the first SIM card 101 in the PLMN access mode, as shown in FIG. Figure 1b as shown in .
[0092] However, once a terminal device has been connected to one network, it will be restricted from connecting to another network. Figure 1a As shown in , after the terminal device 100 accesses the SNPN network, it is restricted to access the PLMN network. Figure 1b As shown in , after the terminal device 100 accesses the PLMN network, accessing the SNPN network is restricted.
[0093] Therefore, in order to overcome the above shortcomings, the present application proposes a network access method. It is applied to a terminal device that supports multiple protocol stacks, and the multiple protocol stacks include a first protocol stack of a first access mode and a second protocol stack of a second access mode. In the network access method, when the terminal device enables the first SIM card and is in the first access mode, the first protocol stack is turned on and the first contract information and the first protocol stack are used to access the first network corresponding to the first access mode; the second protocol stack is turned on and the second contract information and the second protocol stack are used to access the second network corresponding to the second access mode; wherein the first contract information is the information corresponding to the first SIM card in the first access mode; the second contract information is the information corresponding to the first SIM card in the second access mode. It can enable the terminal device to flexibly access the second network corresponding to the second access mode after accessing the first network corresponding to the first access mode when the first SIM card is enabled and in the first access mode, so as to better meet the user's business needs and improve the user experience.
[0094] Based on the above description, see Figure 2 , Figure 2 FIG. 1 is a flow chart of a network access method proposed in an embodiment of the present application. Figure 2 As shown, the network access method includes S201-S202:
[0095] S201. When the terminal device activates the first SIM card and is in the first access mode, the terminal device starts the first protocol stack and uses the first contract information and the first protocol stack to access the first network corresponding to the first access mode. The first contract information is the information corresponding to the first SIM card in the first access mode.
[0096] Among them, the terminal device is a terminal device that supports multiple protocol stacks (or can also be called protocol stack entities). In an embodiment of the present application, the protocol stack corresponding to the first access mode in multiple protocol stacks can be called the first protocol stack; correspondingly, the protocol stack corresponding to the second access mode in multiple protocol stacks can also be called the second protocol stack. That is, the multiple protocol stacks include the first protocol stack for the first access mode and the second protocol stack for the second access mode. It should be understood that with the emergence of new business scenarios, the multiple protocol stacks are not limited to including the first protocol stack and the second protocol stack, but can also include more protocol stacks. For example, the multiple protocol stacks can include the first protocol stack, the second protocol stack, the third protocol stack, and so on. The embodiment of the present application does not limit this.
[0097] The terminal device activating the first SIM card may include multiple situations. For example, for a terminal device supporting dual SIM cards, if a SIM card is inserted into the terminal device, the terminal device activating the first SIM card may refer to activating the inserted SIM card; if two SIM cards are inserted into the terminal device, the terminal device activating the first SIM card may refer to activating any one of the two SIM cards.
[0098] Optionally, the first access mode may be an SNPN mode, then the first network corresponding to the first access mode is an SNPN network. Correspondingly, the second access mode is a PLMN mode, and the second network corresponding to the second access mode is a PLMN network. Optionally, the first access mode may be a PLMN mode, and the first network corresponding to the first access mode is a PLMN network. Correspondingly, the second access mode is an SNPN mode, and the second network corresponding to the second access mode is an SNPN network. The embodiments of the present application do not limit this. For ease of description, the subsequent embodiments are described by taking the first access mode as an SNPN mode, the first network corresponding to the first access mode as an SNPN network, the second access mode as a PLMN mode, and the second network corresponding to the second access mode as a PLMN network as an example. When the first access mode is a PLMN mode, the first network corresponding to the first access mode is a PLMN network. The method in which the second access mode is an SNPN mode and the second network corresponding to the second access mode is an SNPN network can refer to the specific description of the relevant embodiments.
[0099] In one embodiment, when the terminal device enables the first SIM card and is in the first access mode, the terminal device needs to access the first network corresponding to the first access mode through the first SIM card. Specifically, the terminal device needs to turn on the first protocol stack of the first access mode and obtain the first contract information corresponding to the first SIM card in the first access mode, and then the first protocol stack in the terminal device can use the first contract information corresponding to the first SIM card in the first access mode to access the first network. It can also be said that the first protocol stack in the terminal device performs the operation of accessing the first network, and the relevant information required for the first protocol stack to perform the operation of accessing the first network is the first contract information corresponding to the first SIM card in the first access mode.
[0100] S202. Start the second protocol stack and use the second contract information and the second protocol stack to access the second network corresponding to the second access mode; the second contract information is the information corresponding to the first SIM card in the second access mode.
[0101] In one embodiment, since the multiple protocol stacks include a first protocol stack for a first access mode and a second protocol stack for a second access mode, when the terminal device enables the first SIM card and is in the first access mode, the terminal device can access the second network corresponding to the second access mode through the first SIM card. Specifically, the terminal device turns on the second protocol stack for the second access mode, and obtains the second contract information corresponding to the first SIM card in the second access mode, and then the second protocol stack in the terminal device can access the second network using the second contract information corresponding to the first SIM card in the second access mode. It can also be said that the second protocol stack in the terminal device performs the operation of accessing the second network, and the relevant information required for the second protocol stack to perform the operation of accessing the second network is the second contract information corresponding to the first SIM card in the second access mode.
[0102] It should be understood that the access network mentioned in the embodiments of the present application may include but is not limited to one or more of the following: a search selection network, a residence network, and a registration network.
[0103] The subscription information mentioned in the embodiment of the present application may be a set of subscription data (Subscriber data) configured in the terminal device, or a set of subscription data obtained from the card information of the first SIM card. The subscription data may include but is not limited to a permanent subscription identifier (SUbscription Permanent Identifier, SUPI), a certificate, a network identifier (such as SNPN ID), a UAC AC ID (optional), a N3IWF FQDN (optional), etc. The subscription information may be the first subscription information, the second subscription information, or the third subscription information.
[0104] In one embodiment, after the terminal device accesses the first network using S201 and accesses the second network using S202, the terminal device can support dual standby of the first network in the first access mode and the second network in the second access mode. When the first service of the first network initiated in the terminal device conflicts with the second service of the second network, the terminal device can select the service with the highest service priority from the first service and the second service, and then use the first network or the second network to initiate the selected service according to the needs of the selected service. For example, the first network is an SNPN network, and the second network is a PLMN network. When the service with the highest service priority is the first service of the first network, that is, when the service with the highest service priority is the SNPN service of the SNPN network, the selected service is initiated using the first network (SNPN network).
[0105] In one embodiment, due to the complex and changeable network environment, after the terminal device accesses the first network and the second network, the terminal device may disconnect from the network. For example, due to network loss, the first network corresponding to the first access mode cannot provide network services. Then, in order to restore the network connection as soon as possible, the terminal device can re-access the network using the Non-3GPP method and the protocol stack method.
[0106] Specifically, when the connection between the terminal device and the second network is disconnected, the terminal device can simultaneously attempt to access the second network corresponding to the second access mode through the first network in a non-3GPP manner, and attempt to access the second network corresponding to the second access mode using the second contract information and the second protocol stack. Optionally, in a subsequent process, if the terminal device restores the network connection established with the second network based on the second contract information and the second protocol stack, the second network corresponding to the second access mode accessed through the first network in a Non-3GPP manner can be disconnected.
[0107] Among them, although the connection between the terminal device and the second network is disconnected, the terminal device still maintains a network connection with the first network, so the terminal device can access the interface of the second network in the network list corresponding to the second access mode (such as N3IWF interface) through the first network accessed, and then can access the second network through the interface in Non-3GPP mode. Thereby, the network quality is guaranteed to better meet the business needs of users and improve user experience. The second network in the network list corresponding to the second access mode will be explained later, and will not be repeated here.
[0108] Accordingly, when the connection between the terminal device and the first network is disconnected, the terminal device can simultaneously use the Non-3GPP method to attempt to access the first network corresponding to the first access mode through the second network, and use the first contract information and the first protocol stack to attempt to access the first network corresponding to the first access mode. Optionally, in the subsequent process, if the terminal device restores the network connection established with the first network based on the first contract information and the first protocol stack, the first network corresponding to the first access mode accessed through the second network using the Non-3GPP method can be disconnected. Among them, although the connection between the terminal device and the first network is disconnected, the terminal device still maintains a network connection with the second network, so the terminal device can access the interface of the first network in the network list corresponding to the first access mode (such as the N3IWF interface) through the second network to which it is connected, and then can use the Non-3GPP method to access the first network through the interface. Thereby, the network quality is guaranteed to better meet the business needs of users and improve the user experience.
[0109] In the embodiment of the present application, the multiple protocol stacks supported by the terminal device include a first protocol stack in the first access mode and a second protocol stack in the second access mode. When the first SIM card is enabled and in the first access mode, the first protocol stack in the first access mode can be used to enable the first SIM card to access the first network, and the second protocol stack in the second access mode can be used to enable the first SIM card to access the first network, so that the terminal device can simultaneously access the first network corresponding to the first access mode and the second network corresponding to the second access mode in the first access mode. Compared with the method in which a dual-card dual-standby terminal device needs to access the first network of the first access mode according to the first SIM card, and access the second network of the second access mode according to the second SIM card, the embodiment of the present application can flexibly access the second network corresponding to the second access mode when one of the SIM cards is enabled and the first network corresponding to the first access mode is accessed, thereby better meeting the user's business needs.
[0110] In addition, compared with the second network in the second access mode that can only be accessed through the first network in the first access mode in the Non-3GPP mode, the embodiment of the present application is not limited to the interface between the first network and the second network, and can not only access those second networks that support Non-3GPP and are connected to the first network, but also directly access the second network in the 3GPP mode like a terminal device in the second access mode. Therefore, after accessing the first network, the terminal device can flexibly access the second network in the second access mode, thereby better meeting the user's business needs and improving the user experience.
[0111] See above Figure 2 It can be seen from the relevant description of the method embodiment shown that Figure 2The network access method shown can enable the terminal device to flexibly access the second network corresponding to the second access mode after accessing the first network corresponding to the first access mode. However, in order to make the terminal device more adaptable to the personalized needs of the user, the terminal device can also execute the corresponding network access method in response to the personalized settings of the user. Based on this, the embodiment of the present application also proposes another network access method; see Figure 3 As shown, the network access method may include S301-S303:
[0112] S301. When a first SIM card is enabled, in response to a user operation to enable a first access mode, a terminal device enables a first protocol stack and uses first subscription information and the first protocol stack to access a first network corresponding to the first access mode.
[0113] In one embodiment, the first access mode of the terminal device is enabled only when the terminal device detects a user operation of enabling the first access mode. For example, the terminal device may include a user interface for enabling or disabling the first access mode. Thus, the terminal device may enable the first access mode in response to the user operation of enabling the first access mode in the above user interface. In a specific implementation, the terminal device may display a user interface, such as Figure 4a and Figure 4b The user interface 41 shown in FIG. 4 may include a first access mode (SNPN mode), and the first access mode may correspond to a control for turning on or off, such as an elliptical control 401 corresponding to the first access mode (SNPN mode) shown in the user interface 41. In order to vividly show the on state of the first access mode and the off state of the first access mode, a horizontal line in the elliptical control 401 may be used to represent the first access mode in the off state, such as Figure 4a As shown, the circle in the elliptical control 401 represents the first access mode in the open state, such as Figure 4b The terminal device may change the state of the first access mode in response to the user's click operation on the elliptical control 401, for example, Figure 4a The first access mode of the closed state is switched to Figure 4b The first access mode in the turned-on state shown is used to turn on the first access mode.
[0114] It should be noted that the specific implementation method of opening the first protocol stack and using the first contract information and the first protocol stack in S301 and accessing the first network corresponding to the first access mode can be found in Figure 2 The specific description of the relevant embodiments of S201 will not be repeated here.
[0115] S302. In response to a user operation to enable the second access mode, the terminal device enables the second protocol stack and uses the second contract information and the second protocol stack to access the second network corresponding to the second access mode.
[0116] In one embodiment, similar to the first access mode, the second access mode of the terminal device is enabled only when the terminal device detects a user operation to enable the second access mode. In addition to being used to enable or disable the first access mode, the user interface of the terminal device may also add an option to determine whether the terminal device supports simultaneous access to a first network corresponding to the first access mode and a second network corresponding to the second access mode. When the terminal device supports simultaneous access to a first network corresponding to the first access mode and a second network corresponding to the second access mode, the terminal device may enable the second access mode. In a specific implementation, the terminal device may display a screen such as Figure 5a and Figure 5b The user interface 51 shown in FIG. The user interface 51 may include a control for controlling whether the terminal device supports simultaneous access to the first network corresponding to the first access mode and the second network corresponding to the second access mode (i.e., a control for controlling whether simultaneous access to the SNPN network and the PLMN network is supported), such as a circular control 501 included in the user interface 51. When the circular control 501 is hollow, it indicates that simultaneous access to the first network corresponding to the first access mode and the second network corresponding to the second access mode is not supported, such as Figure 5a As shown, when the circular control 501 is solid, it indicates that simultaneous access to the first network corresponding to the first access mode and the second network corresponding to the second access mode is supported, such as Figure 5b The terminal device can change the supported or unsupported state in response to the user's click operation on the circular control 501, for example, Figure 5a The display does not support simultaneous access to the first network corresponding to the first access mode and the second network corresponding to the second access mode, and switches to Figure 5b The state shown supports simultaneous access to the first network corresponding to the first access mode and the second network corresponding to the second access mode. Thus, the second access mode is enabled when the state supports simultaneous access to the first network corresponding to the first access mode and the second network corresponding to the second access mode.
[0117] Optionally, after the second access mode is enabled, the second protocol stack may be enabled and the second contract information and the second protocol stack may be used to access the second network corresponding to the second access mode.
[0118] Optionally, after the second access mode is enabled, when access to the second network through the first network using the Non-3GPP method fails, or when the second network accessed through the first network using the Non-3GPP method is not the second network with the highest priority in the network list corresponding to the second access mode in the terminal device, the second protocol stack is enabled and the second signing information and the second protocol stack are used to access the second network corresponding to the second access mode.
[0119] Among them, after accessing the first network, the terminal device can access the interface of the second network in the network list corresponding to the second access mode (such as the N3IWF interface) through the first network, and then access the second network through the interface using the Non-3GPP method.
[0120] Due to the complex network situation, the terminal device may fail to access the second network using the Non-3GPP method due to various factors. For example, when the terminal device fails to successfully access the first network, the terminal device cannot access the second network through the first network using the Non-3GPP method. For another example, when the first network accessed by the terminal device cannot access the interface of the second network in the network list corresponding to the second access mode, the terminal device cannot access the second network through the first network using the Non-3GPP method. For another example, when the interface of the second network in the network list corresponding to the second access mode accessed by the terminal device through the first network does not support the Non-3GPP method, the terminal device cannot access the second network through the first network using the Non-3GPP method. Therefore, in order to access the second network corresponding to the second access mode, the terminal device can enable the second protocol stack, and use the second contract information and the second protocol stack to access the second network corresponding to the second access mode.
[0121] Furthermore, since the second network accessed through the first network in the Non-3GPP mode can only search for a part of the second networks in the network list of the second access mode, and cannot search for those second networks accessed based on the second protocol stack in the network list of the second access mode, the second network accessed through the first network in the Non-3GPP mode may not be the second network with the highest priority in the network list corresponding to the second access mode in the terminal device. Then, in order to ensure the communication quality, the terminal device can turn on the second protocol stack and use the second contract information and the second protocol stack to access the second network corresponding to the second access mode, so that the terminal device can access the second network in the network list with a higher priority than the second network being accessed.
[0122] Among them, for a terminal device, the terminal device may store multiple network lists corresponding to the second access mode, and multiple second networks may exist in each network list. For example, when the second access mode is a PLMN access mode, the second access mode may correspond to multiple types of PLMN network lists, and each list may have multiple PLMN networks, such as a registered PLMN (RPLMN), an equivalent PLMN (EPLMN), and so on. Different types of PLMNs have different priority levels, for example, the priority of the RPLMN network is higher than that of the EPLMN network.
[0123] S303. When the second network is not the network with the highest priority in the network list corresponding to the second access mode in the terminal device, the terminal device searches for a network corresponding to the second access mode with a higher priority than the accessed second network, and accesses the higher priority network corresponding to the searched second access mode.
[0124] Since the network environment will change, for example, when the geographical location of the terminal device changes, the network environment of the terminal device will change. Therefore, in order to ensure better communication quality, when the second network is not the highest priority network in the network list corresponding to the second access mode in the terminal device, the terminal device can periodically search for a network corresponding to the second access mode with a higher priority than the accessed second network.
[0125] In one embodiment, the terminal device can search for a network corresponding to a second access mode with a higher priority than the accessed second network based on the second protocol stack, and / or search for a network corresponding to a second access mode with a higher priority than the accessed second network through the first network based on a Non-3GPP method, so as to access the second network with a higher priority corresponding to the searched second access mode.
[0126] Furthermore, when searching for a network corresponding to a second access mode with a higher priority, the terminal device may search for a network corresponding to a first access mode with a higher priority than the first network accessed. In order to obtain better communication quality, the terminal device may access the higher priority network corresponding to the searched first access mode.
[0127] It should be noted that the first network is not the network with the highest priority in the network list corresponding to the first access mode in the terminal device, similar to the second network not being the network with the highest priority in the network list corresponding to the second access mode in the terminal device.
[0128] In one embodiment, the terminal device can search for a network corresponding to a first access mode with a higher priority than the first network being accessed based on the first protocol stack, and / or search for a network corresponding to a first access mode with a higher priority than the first network being accessed through a second network based on a Non-3GPP method, so as to access the searched network corresponding to the first access mode with a higher priority.
[0129] Furthermore, when searching for a network corresponding to a first access mode with a higher priority, the terminal device may search for a network corresponding to a second access mode with a higher priority than the accessed second network. In order to obtain better communication quality, the terminal device may access the higher priority network corresponding to the searched second access mode.
[0130] Among them, the specific description of the network list corresponding to the first access mode can refer to the description of the relevant embodiment of the network list corresponding to the second access mode in the previous text, and will not be repeated here.
[0131] Optionally, when the terminal device exits the first access mode, the terminal device may shut down the first protocol stack of the first access mode and keep the second protocol stack of the second access mode turned on.
[0132] For terminal devices that support dual-card protocol stacks, when the terminal device has enabled the second SIM card, optionally, the terminal device can access the second network corresponding to the second access mode using the second protocol stack and the third contract information based on the hot plug process. Optionally, the terminal device can restart the second protocol stack (i.e., first turn off the second protocol stack, and then turn on the second protocol stack), and use the restarted second protocol stack and the third contract information to access the second network corresponding to the second access mode. Among them, the third contract information is the information corresponding to the second SIM card in the second access mode. When two cards are inserted into the terminal device, the terminal device can exit the second network of the second access mode accessed by the first SIM card and use the second contract information of the second SIM card to access the second network of the second access mode. Therefore, after accessing the first network, the terminal device can flexibly access the second network.
[0133] The activation of the second SIM card by the terminal device may refer to the insertion and activation of the second SIM card or the activation of the pre-inserted but unactivated second SIM card.
[0134] It should be noted that the method in which the terminal device uses the third signing information and the second protocol stack to access the second network corresponding to the second access mode is similar to the method in which the terminal device uses the second signing information and the second protocol stack to access the second network corresponding to the second access mode, which will not be repeated here.
[0135] In the embodiment of the present application, the terminal device can be personalized through the user operation in the user interface, so that the terminal device is more adapted to the personalized needs of the user. The business needs of the user are better met and the user experience is improved. In addition, the Non-3GPP mode and the protocol stack mode can be combined to access the network to ensure that the terminal device accesses a higher priority network, thereby ensuring the network quality, further meeting the business needs of the user and improving the user experience.
[0136] See also Figure 6 , Figure 6 : is a structural diagram of a network access device provided in an embodiment of the present application, the network access device supports multiple protocol stacks, the multiple protocol stacks include a first protocol stack of a first access mode and a second protocol stack of a second access mode, and the device includes:
[0137] The uplink channel processing device is used in a terminal device, and the network access device may include:
[0138] An access unit 601 is configured to enable the first protocol stack and use the first subscription information and the first protocol stack to access the first network corresponding to the first access mode when the network access device enables the first SIM card and is in the first access mode;
[0139] The access unit 601 is further configured to enable the second protocol stack and use the second subscription information and the second protocol stack to access the second network corresponding to the second access mode;
[0140] The first subscription information is information corresponding to the first SIM card in the first access mode;
[0141] The second contract information is information corresponding to the first SIM card in the second access mode.
[0142] In one implementation, when accessing the second network through the first network in a Non-3GPP manner fails, or when the second network accessed through the first network in a Non-3GPP manner is not the second network with the highest priority in the network list corresponding to the second access mode in the network access device,
[0143] Execute the step of starting the second protocol stack and using the second contract information and the second protocol stack to access the second network corresponding to the second access mode.
[0144] In one implementation, the access unit 601 is further used to: when the network access device is disconnected from the second network, access the second network through the first network in a Non-3GPP manner, and perform the step of accessing the second network corresponding to the second access mode using the second subscription information and the second protocol stack; or,
[0145] When the network access device is disconnected from the first network, the first network is accessed through the second network in a Non-3GPP manner, and the step of using the first subscription information and the first protocol stack to access the first network corresponding to the first access mode is performed.
[0146] In one implementation, the access unit 601 is further used to: when the second network is not the network with the highest priority in the network list corresponding to the second access mode in the network access device, search for a network corresponding to the second access mode with a higher priority than the accessed second network based on the second protocol stack, and / or search for a network corresponding to the second access mode with a higher priority than the accessed second network through the accessed first network based on the Non-3GPP mode;
[0147] Access a network with a higher priority corresponding to the searched second access mode.
[0148] In one implementation, the access unit 601 is further configured to: when a network corresponding to a first access mode having a higher priority than the first network being accessed is searched, access the higher priority network corresponding to the searched first access mode.
[0149] In one implementation, the access unit 601 is further used to: when the first network is not the network with the highest priority in the network list corresponding to the first access mode in the network access device, search for a network corresponding to the first access mode with a higher priority than the first network accessed based on the first protocol stack, and / or search for a network corresponding to the first access mode with a higher priority than the first network accessed through the second network accessed based on the Non-3GPP mode;
[0150] Access a network with a higher priority corresponding to the searched first access mode.
[0151] In one implementation, the access unit 601 is further configured to: when a network corresponding to a second access mode having a higher priority than the second network being accessed is searched, access the higher priority network corresponding to the searched second access mode.
[0152] In one implementation, the network access apparatus further includes a closing unit 602, configured to close the first protocol stack of the first access mode when the terminal device exits the first access mode.
[0153] In one implementation, the access unit 601 is also used for: when the network access device enables the second SIM card, accessing the second network corresponding to the second access mode using the second protocol stack and the third contract information based on the hot plug process; or, restarting the second protocol stack, and using the restarted second protocol stack and the third contract information to access the second network corresponding to the second access mode; the third contract information is the information corresponding to the second SIM card in the second access mode.
[0154] In one implementation, in response to a user operation of enabling the first access mode, the step of enabling the first protocol stack and accessing the first network corresponding to the first access mode using the first contract information and the first protocol stack is performed; and / or,
[0155] In response to the user operation of turning on the second access mode, the steps of turning on the second protocol stack and using the second contract information and the second protocol stack to access the second network corresponding to the second access mode are performed.
[0156] In one implementation, the first access mode is the SNPN mode, and the second access mode is the PLMN mode; or, the first access mode is the PLMN mode, and the second access mode is the SNPN mode.
[0157] In one implementation, the device also includes a processing unit 603, which is used to select a service with the highest service priority from the first service and the second service when a first service of the first network conflicts with a second service of the second network; and initiate the selected service using the first network or the second network according to the needs of the selected service.
[0158] The relevant contents of this implementation mode can be found in the relevant contents of the above method embodiment, which will not be described in detail here.
[0159] The embodiments of the present application and the above-mentioned method embodiments are based on the same concept and bring about the same technical effects. For the specific principles, please refer to the description of the above-mentioned method embodiments, which will not be repeated here.
[0160] See also Figure 7 , Figure 7A schematic diagram of the structure of a terminal device provided in an embodiment of the present application. The terminal device described in the embodiment of the present application supports multiple protocol stacks, the multiple protocol stacks include a first protocol stack of a first access mode and a second protocol stack of a second access mode, and the terminal device includes: a processor 701 and a memory 702, and the processor 701 and the memory 702 are connected via one or more communication buses 703.
[0161] The processor 701 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor. The processor 701 is configured to support the terminal device to execute Figure 2 or Figure 3 The corresponding functions of the terminal device in the method.
[0162] The memory 702 may include a read-only memory and a random access memory, and provide computer programs and data to the processor 701. A portion of the memory 702 may also include a non-volatile random access memory. When the processor 701 calls the computer program, it is used to execute:
[0163] When the first user identification SIM card is enabled and in the first access mode, the first protocol stack is enabled, and the first subscription information and the first protocol stack are used to access the first network corresponding to the first access mode;
[0164] Enable the second protocol stack and use the second subscription information and the second protocol stack to access the second network corresponding to the second access mode;
[0165] The first subscription information is information corresponding to the first SIM card in the first access mode;
[0166] The second contract information is information corresponding to the first SIM card in the second access mode.
[0167] In one implementation, when access to the second network through the first network using a non-3GPP mode fails, or when the second network accessed through the first network using a non-3GPP mode is not the second network with the highest priority in the network list corresponding to the second access mode in the terminal device,
[0168] Execute the step of starting the second protocol stack and using the second contract information and the second protocol stack to access the second network corresponding to the second access mode.
[0169] In one implementation, the processor 701 is further used to: when the terminal device is disconnected from the second network, access the second network through the first network in a Non-3GPP manner, and execute the step of using the second subscription information and the second protocol stack to access the second network corresponding to the second access mode; or,
[0170] When the terminal device is disconnected from the first network, the first network is accessed through the second network in a Non-3GPP manner, and the step of using the first subscription information and the first protocol stack to access the first network corresponding to the first access mode is performed.
[0171] In one implementation, the processor 701 is further used to: when the second network is not the network with the highest priority in the network list corresponding to the second access mode in the terminal device, search for a network corresponding to the second access mode with a higher priority than the accessed second network based on the second protocol stack, and / or search for a network corresponding to the second access mode with a higher priority than the accessed second network through the accessed first network based on a Non-3GPP mode;
[0172] Access a network with a higher priority corresponding to the searched second access mode.
[0173] In one implementation, the processor 701 is further configured to: when a network corresponding to a first access mode having a higher priority than the first network being accessed is searched, access the higher priority network corresponding to the searched first access mode.
[0174] In one implementation, the processor 701 is further used to: when the first network is not the network with the highest priority in the network list corresponding to the first access mode in the terminal device, search for a network corresponding to the first access mode with a higher priority than the first accessed network based on the first protocol stack, and / or search for a network corresponding to the first access mode with a higher priority than the first accessed network through the accessed second network based on a Non-3GPP mode;
[0175] Access a network with a higher priority corresponding to the searched first access mode.
[0176] In one implementation, the processor 701 is further used to: when a network corresponding to a second access mode with a higher priority than the second network being accessed is searched, access the higher priority network corresponding to the searched second access mode.
[0177] In one implementation, the processor 701 is further configured to: when the terminal device exits the first access mode, shut down the first protocol stack of the first access mode.
[0178] In one implementation, the processor 701 is further configured to:
[0179] When the terminal device enables the second SIM card, the second network corresponding to the second access mode is accessed by using the second protocol stack and the third contract information based on the hot plug process; or, the second protocol stack is restarted, and the restarted second protocol stack and the third contract information are used to access the second network corresponding to the second access mode; the third contract information is the information corresponding to the second SIM card in the second access mode.
[0180] In one implementation, in response to a user operation of enabling the first access mode, the step of enabling the first protocol stack and accessing the first network corresponding to the first access mode using the first contract information and the first protocol stack is performed; and / or,
[0181] In response to the user operation of turning on the second access mode, the steps of turning on the second protocol stack and using the second contract information and the second protocol stack to access the second network corresponding to the second access mode are performed.
[0182] In one implementation, the first access mode is the SNPN mode, and the second access mode is the PLMN mode; or, the first access mode is the PLMN mode, and the second access mode is the SNPN mode.
[0183] In one implementation, the processor 701 is further configured to:
[0184] When a first service of the first network conflicts with a second service of the second network, selecting a service with the highest service priority from the first service and the second service;
[0185] The selected service is initiated using the first network or the second network according to requirements of the selected service.
[0186] Among them, the relevant content of this implementation method can refer to the relevant content of the above method embodiment. It will not be described in detail here. The embodiment of this application and the above method embodiment are based on the same concept, and the technical effects they bring are also the same. For the specific principles, please refer to the description of the above method embodiment, which will not be repeated here.
[0187] The embodiment of the present application further provides a chip, the chip supporting multiple protocol stacks, the multiple protocol stacks including a first protocol stack of a first access mode and a second protocol stack of a second access mode; the chip is used to enable the first protocol stack when the first SIM card is enabled and in the first access mode, and use the first subscription information and the first protocol stack to access the first network corresponding to the first access mode; and enable the second protocol stack and use the second subscription information and the second protocol stack to access the second network corresponding to the second access mode;
[0188] The first subscription information is information corresponding to the first SIM card in the first access mode;
[0189] The second contract information is information corresponding to the first SIM card in the second access mode.
[0190] For other implementations of the chip, please refer to the relevant contents of the above method embodiment. No further details are given here. The embodiment of the present application and the above method embodiment are based on the same concept, and the technical effects they bring are also the same. For the specific principles, please refer to the description of the above method embodiment, which will not be repeated here.
[0191] An embodiment of the present application provides a module device, the module device supports multiple protocol stacks, the multiple protocol stacks include a first protocol stack of a first access mode and a second protocol stack of a second access mode, the module device includes a processor and a communication interface, the processor is connected to the communication interface, the communication interface is used to send and receive signals, and the processor is used to:
[0192] When the first SIM card is enabled and in the first access mode, the module device starts the first protocol stack and uses the first subscription information and the first protocol stack to access the first network corresponding to the first access mode;
[0193] Enable the second protocol stack and use the second subscription information and the second protocol stack to access the second network corresponding to the second access mode;
[0194] The first subscription information is information corresponding to the first SIM card in the first access mode;
[0195] The second contract information is information corresponding to the first SIM card in the second access mode.
[0196] For other implementations of the module device, please refer to the relevant contents of the above method embodiment. No further details are given here. The embodiment of the present application and the above method embodiment are based on the same concept, and the technical effects they bring are also the same. For the specific principles, please refer to the description of the above method embodiment, which will not be repeated here.
[0197] The present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program. When the computer program is executed by a processor, it can be used to implement the present application. Figure 2 or Figure 3 The network access method described in the corresponding embodiment will not be repeated here.
[0198] The computer-readable storage medium may be an internal storage unit of the terminal device described in any of the foregoing embodiments, such as a hard disk or memory of the device. The computer-readable storage medium may also be an external storage device of the terminal device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the device. Furthermore, the computer-readable storage medium may also include both an internal storage unit of the terminal device and an external storage device. The computer-readable storage medium is used to store the computer program and other programs and data required by the terminal device. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.
[0199] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0200] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.
Claims
1. A network access method, characterized in that: Applied to a terminal device supporting multiple protocol stacks, the multiple protocol stacks including a first protocol stack of a first access mode and a second protocol stack of a second access mode, the method comprising: When the first user identification SIM card is enabled and the terminal device is in the first access mode, the first protocol stack is enabled, and the first subscription information and the first protocol stack are used to access the first network corresponding to the first access mode; In at least one of the following situations, the second protocol stack is turned on and the second subscription information and the second protocol stack are used to access the second network corresponding to the second access mode: when access to the second network through the first network using a non-3GPP method fails; or, when the second network accessed through the first network using a Non-3GPP method is not the second network with the highest priority in the network list corresponding to the second access mode in the terminal device; or, when the terminal device is disconnected from the second network, access to the second network through the first network using a Non-3GPP method; The first contract information is information corresponding to the first SIM card in the first access mode; the second contract information is information corresponding to the first SIM card in the second access mode; The first access mode is a standalone private network (SNPN) mode, and the second access mode is a public land network (PLMN) mode; or, the first access mode is the PLMN mode, and the second access mode is the SNPN mode.
2. The method according to claim 1, characterized in that The method further comprises: When the terminal device is disconnected from the first network, the first network is accessed through the second network in a Non-3GPP manner, and the step of using the first subscription information and the first protocol stack to access the first network corresponding to the first access mode is performed.
3. The method according to claim 1, characterized in that The method further comprises: When the second network is not the network with the highest priority in the network list corresponding to the second access mode in the terminal device, searching for a network corresponding to the second access mode with a higher priority than the accessed second network based on the second protocol stack, and / or searching for a network corresponding to the second access mode with a higher priority than the accessed second network through the accessed first network based on a Non-3GPP mode; Access a network with a higher priority corresponding to the searched second access mode.
4. The method according to claim 3, characterized in that The method further comprises: When a network corresponding to a first access mode having a higher priority than the first network to be accessed is searched, the network corresponding to the first access mode having a higher priority is accessed.
5. The method according to claim 1, characterized in that The method further comprises: When the first network is not the network with the highest priority in the network list corresponding to the first access mode in the terminal device, searching for a network corresponding to the first access mode with a higher priority than the first accessed network based on the first protocol stack, and / or searching for a network corresponding to the first access mode with a higher priority than the first accessed network through the second accessed network based on a Non-3GPP manner; Access a network with a higher priority corresponding to the searched first access mode.
6. The method according to claim 5, characterized in that The method further comprises: When a network corresponding to a second access mode having a higher priority than the accessed second network is searched, the network corresponding to the searched second access mode having a higher priority is accessed.
7. The method according to claim 1, characterized in that The method further comprises: When the terminal device exits the first access mode, the first protocol stack of the first access mode is closed.
8. The method according to claim 1, characterized in that The method further comprises: When the terminal device enables the second SIM card, the second network corresponding to the second access mode is accessed by using the second protocol stack and the third contract information based on the hot plug process; or, the second protocol stack is restarted, and the restarted second protocol stack and the third contract information are used to access the second network corresponding to the second access mode; the third contract information is the information corresponding to the second SIM card in the second access mode.
9. The method according to claim 1, characterized in that In response to a user operation of enabling the first access mode, executing the step of enabling the first protocol stack and accessing a first network corresponding to the first access mode using the first contract information and the first protocol stack; and / or, In response to the user operation of turning on the second access mode, the steps of turning on the second protocol stack and using the second contract information and the second protocol stack to access the second network corresponding to the second access mode are performed.
10. The method according to any one of claims 1 to 9, characterized in that: The method further comprises: When a first service of the first network conflicts with a second service of the second network, selecting a service with the highest service priority from the first service and the second service; The selected service is initiated using the first network or the second network according to requirements of the selected service.
11. A network access device, characterized in that: The network access device supports multiple protocol stacks, the multiple protocol stacks include a first protocol stack for a first access mode and a second protocol stack for a second access mode, and the device includes: An access unit, configured to enable the first protocol stack and use the first subscription information and the first protocol stack to access the first network corresponding to the first access mode when the network access device activates the first SIM card and is in the first access mode; The access unit is further configured to enable the second protocol stack and use the second subscription information and the second protocol stack to access the second network corresponding to the second access mode in at least one of the following situations: The access unit is further used to access the second network through the first network in a Non-3GPP manner when access to the second network through the first network fails in a non-3GPP manner; or when the second network accessed through the first network in a Non-3GPP manner is not the second network with the highest priority in the network list corresponding to the second access mode in the network access device; or when the connection between the network access device and the second network is disconnected, access the second network through the first network in a Non-3GPP manner; The first contract information is information corresponding to the first SIM card in the first access mode; the second contract information is information corresponding to the first SIM card in the second access mode; The first access mode is a standalone private network (SNPN) mode, and the second access mode is a public land network (PLMN) mode; or, the first access mode is the PLMN mode, and the second access mode is the SNPN mode.
12. A terminal device, characterized in that: The terminal device supports multiple protocol stacks, and the multiple protocol stacks include a first protocol stack of a first access mode and a second protocol stack of a second access mode; the terminal device includes a processor and a memory, and the processor and the memory are interconnected, wherein the memory is used to store a computer program, and the computer program includes program instructions, and the processor is configured to call the program instructions to execute the network access method as described in any one of claims 1 to 10.
13. A chip, characterized in that: The chip supports multiple protocol stacks, the multiple protocol stacks including a first protocol stack for a first access mode and a second protocol stack for a second access mode; The chip is used to enable the first protocol stack when the first SIM card is enabled and in the first access mode, and use the first subscription information and the first protocol stack to access the first network corresponding to the first access mode; The chip is also used to start the second protocol stack and use the second subscription information and the second protocol stack to access the second network corresponding to the second access mode in at least one of the following situations: when access to the second network through the first network in a non-3GPP manner fails; or when the second network accessed through the first network in a Non-3GPP manner is not the second network with the highest priority in the network list corresponding to the second access mode in the chip; or when the chip is disconnected from the second network, access to the second network through the first network in a Non-3GPP manner; The first contract information is information corresponding to the first SIM card in the first access mode; the second contract information is information corresponding to the first SIM card in the second access mode; The first access mode is a standalone private network (SNPN) mode, and the second access mode is a public land network (PLMN) mode; or, the first access mode is the PLMN mode, and the second access mode is the SNPN mode.
14. A module device, characterized in that: The module device supports multiple protocol stacks, the multiple protocol stacks include a first protocol stack of a first access mode and a second protocol stack of a second access mode, the module device includes a processor and a communication interface, the processor is connected to the communication interface, the communication interface is used to send and receive signals, and the processor is used to: When the first SIM card is enabled and in the first access mode, the module device starts the first protocol stack and uses the first subscription information and the first protocol stack to access the first network corresponding to the first access mode; In at least one of the following situations, the second protocol stack is enabled and the second subscription information and the second protocol stack are used to access the second network corresponding to the second access mode: when access to the second network through the first network using the non-3GPP method fails; or when the second network accessed through the first network using the Non-3GPP method is not the second network with the highest priority in the network list corresponding to the second access mode in the module device; or when the module device is disconnected from the second network, access to the second network through the first network using the Non-3GPP method; The first contract information is information corresponding to the first SIM card in the first access mode; the second contract information is information corresponding to the first SIM card in the second access mode; The first access mode is a standalone private network (SNPN) mode, and the second access mode is a public land network (PLMN) mode; or, the first access mode is the PLMN mode, and the second access mode is the SNPN mode.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the network access method according to any one of claims 1 to 10.
Citation Information
Patent Citations
Access control method and device
CN111194095A
Method for supporting access to closed network, UE, base station and readable storage medium
CN111757557A