Patentable/Patents/US-20260095747-A1
US-20260095747-A1

Electronic Device for Limiting Repeated Registration Attempts of Roaming Subscriber Identification Module and Operating Method Thereof

PublishedApril 2, 2026
Assigneenot available in USPTO data we have
Technical Abstract

An electronic device for limiting repeated registration attempts of a roaming subscriber identification module (SIM) and/or an operating method thereof are provided. The electronic device may include memory storing instructions and at least one processor for executing the instructions, and when the at least one processor individually and/or collectively executes the instructions, the instructions cause the electronic device to detect a change of a country that provides a mobile network based on a broadcast message received via the mobile network, change a roaming SIM and a local SIM based on the change of country, connect to the mobile network via the local SIM, and prevent and/or reduce degradation of communication performance between the local SIM and the mobile network by restricting repeated resource requests of the roaming SIM for a radio frequency (RF) resource to register the roaming SIM with the mobile network.

Patent Claims

Legal claims defining the scope of protection, as filed with the USPTO.

1

memory storing instructions; and at least one processor, comprising processing circuitry, for executing the instructions, wherein the instructions, when individually and/or collectively executed by at least one processor, cause the electronic device to: detect a change of a country that provides a mobile network based on a broadcast message, change a roaming subscriber identification module (SIM) and a local SIM based on the change of country, connect to the mobile network via the local SIM, and prevent and/or reduce degradation of communication performance between the local SIM and the mobile network at least by restricting repeated resource requests of the roaming SIM for a radio frequency (RF) resource to register the roaming SIM with the mobile network. . An electronic device, comprising:

2

claim 1 identify whether the roaming SIM is successfully registered, based on the registration of the roaming SIM being rejected, determine whether a count of consecutive registration rejections of the roaming SIM exceeds a threshold value, and prevent and/or reduce the degradation of the communication performance due to a registration attempt of the roaming SIM, based on the count of consecutive registration rejections of the roaming SIM exceeding the threshold value. . The electronic device of, wherein the instructions, when individually and/or collectively executed by the at least one processor, cause the electronic device to:

3

claim 1 . The electronic device of, wherein the instructions, when individually and/or collectively executed by the at least one processor, cause the electronic device to prevent providing the RF resource to the roaming SIM when an RF priority related to the registration of the roaming SIM is less than an RF priority related to a data service of the local SIM.

4

claim 1 . The electronic device of, wherein the instructions, when individually and/or collectively executed by the at least one processor, cause the electronic device to decrease an RF priority indicating a priority of using the RF resource of the roaming SIM.

5

claim 1 differently determine a decrement of the RF priority based on a rejection cause of the registration of the roaming SIM, and decrease the RF priority based on the determined decrement. . The electronic device of, wherein the instructions, when individually and/or collectively executed by the at least one processor, cause the electronic device to:

6

claim 5 . The electronic device of, wherein the instructions, when individually and/or collectively executed by the at least one processor, cause the electronic device to determine a first decrement corresponding to a case in which the rejection cause is comprised in a first rejection cause to be greater than a second decrement corresponding to a case in which the rejection cause is comprised in a second rejection cause.

7

claim 2 . The electronic device of, wherein the instructions, when individually and/or collectively executed by the at least one processor, cause the electronic device to increase a waiting time for retrying the registration of the roaming SIM.

8

claim 7 differently determine an increment of the waiting time based on a rejection cause of the registration of the roaming SIM, and increase the waiting time based on the determined increment. . The electronic device of, wherein the instructions, when individually and/or collectively executed by the at least one processor, cause the electronic device to:

9

claim 5 . The electronic device of, wherein the instructions, when individually and/or collectively executed by the at least one processor, cause the electronic device to determine a first increment corresponding to a case in which the rejection cause is comprised in a first rejection cause to be greater than a second increment corresponding to a case in which the rejection cause is comprised in a second rejection cause.

10

claim 1 . The electronic device of, wherein the instructions, when individually and/or collectively executed by the at least one processor, cause the electronic device to display a user interface (UI) to connect the electronic device to the mobile network via the local SIM when the change of the country is detected.

11

memory storing instructions; and at least one processor, comprising processing circuitry, for executing the instructions, wherein the instructions, when individually and/or collectively executed by the at least one processor, cause the electronic device to: attempt to register a roaming subscriber identification module (SIM), in response to changing a local SIM connected to a mobile network, identify whether the roaming SIM is successfully registered, when the registration of the roaming SIM is rejected, determine whether a count of consecutive registration rejections of the roaming SIM exceeds a threshold value, and based on the count of consecutive registration rejections of the roaming SIM exceeding the threshold value, control a radio frequency (RF) priority indicating a priority of using an RF resource of the roaming SIM and/or a waiting time for retrying the registration of the roaming SIM. . An electronic device comprising:

12

detecting a change of country that provides a mobile network based on a broadcast message; determining a roaming subscriber identification module (SIM) and a local SIM based on the change of country; connecting to the mobile network via the local SIM; and preventing and/or reducing degradation of communication performance between the local SIM and the mobile network at least by restricting repeated resource requests of the roaming SIM for a radio frequency (RF) resource to register the roaming SIM with the mobile network. . A method of operating an electronic device, the method comprising:

13

claim 12 identifying whether the roaming SIM is successfully registered; when the registration of the roaming SIM is rejected, determining whether a count of consecutive registration rejections of the roaming SIM exceeds a threshold value; and preventing and/or reducing the degradation of the communication performance due to a registration attempt of the roaming SIM when the count of consecutive registration rejections of the roaming SIM exceeds the threshold value. . The method of, wherein the preventing and/or reducing of the degradation of the communication performance comprises:

14

claim 12 . The method of, wherein the preventing and/or reducing of the degradation of the communication performance due to the registration attempt of the roaming SIM comprises preventing provision of the RF resource to the roaming SIM when an RF priority related to the registration of the roaming SIM is less than an RF priority related to a data service of the local SIM.

15

claim 12 . The method of, wherein the preventing and/or reducing of the degradation of the communication performance due to the registration attempt of the roaming SIM comprises decreasing an RF priority indicating a priority of using the RF resource of the roaming SIM.

16

claim 12 differently determining a decrement of the RF priority based on a rejection cause of the registration of the roaming SIM; and decreasing the RF priority based on the determined decrement. . The method of, wherein the decreasing of the RF priority comprises:

17

claim 12 . The method of, wherein the differently determining of the decrement of the RF priority based on the rejection cause of the registration of the roaming SIM comprises determining a first decrement corresponding to a case in which the rejection cause is comprised in a first rejection cause to be greater than a second decrement corresponding to a case in which the rejection cause is comprised in a second rejection cause.

18

claim 12 . The method of, wherein the preventing and/or reducing of the degradation of the communication performance due to the registration attempt of the roaming SIM comprises increasing a waiting time for retrying the registration of the roaming SIM.

19

claim 12 differently determining an increment of the waiting time based on a rejection cause of the registration of the roaming SIM; and increasing the waiting time based on the determined increment. . The method of, wherein the increasing of the waiting time for retrying the registration of the roaming SIM comprises:

20

claim 12 . A non-transitory computer-readable storage medium storing instructions that, when executed by a processor, cause the processor to perform the method of o.

Detailed Description

Complete technical specification and implementation details from the patent document.

This application claims the benefit under 35 USC §119(a) of Korean Patent Application No. 10-2024-0131702, filed on Sep. 27, 2024, in the Korean Intellectual Property Office, the disclosures of which are all hereby incorporated by reference herein in their entireties.

In certain example embodiments, there may be provided an electronic device for limiting repeated registration attempts of a roaming subscriber identification module (SIM) and/or an operating method thereof are provided.

Dual subscriber identification module (SIM) dual standby (DSDS) is technology that uses two SIM cards in an electronic device, such as a smartphone. Two SIM cards including two SIM card slots may be mounted in an electronic device that supports DSDS. The two SIM cards mounted in the electronic device may be issued by carriers in different countries. When a country where the electronic device is currently located is the same as a country where a SIM card is issued, the electronic device may determine the SIM card to be a local SIM and the other SIM card to be a roaming SIM.

The above information may be presented as the related art to help with the understanding of the disclosure. No arguments or decisions are raised as to whether any of the above description is applicable as the prior art related to the present disclosure.

According to an example embodiment, the electronic device may include memory storing instructions. The electronic device may include at least one processor, comprising processing circuitry, for executing the instructions. When the at least one processor, individually and/or collectively, executes the instructions, the instructions may cause the electronic device to detect a change of a country that provides a mobile network based on a broadcast message received via the mobile network. When the at least one processor individually and/or collectively executes the instructions, the instructions may cause the electronic device to change a roaming subscriber identification module (SIM) and a local SIM based on the change of country. When the at least one processor individually and/or collectively executes the instructions, the instructions may cause the electronic device to connect to the mobile network via the local SIM. When the at least one processor individually and/or collectively executes the instructions, the instructions may cause the electronic device to prevent and/or reduce degradation of communication performance between the local SIM and the mobile network by restricting repeated resource requests of the roaming SIM for a radio frequency (RF) resource to register the roaming SIM with the mobile network.

According to an example embodiment, an electronic device may include memory storing instructions. The electronic device may include at least one processor, comprising processing circuitry, for executing the instructions. When the at least one processor individually and/or collectively executes the instructions, the instructions cause the electronic device to attempt to register a roaming SIM, in response to changing a local SIM connected to a mobile network. When the at least one processor individually and/or collectively executes the instructions, the instructions cause the electronic device to identify whether the roaming SIM is successfully registered. When the at least one processor individually and/or collectively executes the instructions, the instructions cause the electronic device to determine whether a count of consecutive registration rejections of the roaming SIM exceeds a threshold value, when the registration of the roaming SIM is rejected. When the at least one processor individually and/or collectively executes the instructions, the instructions cause the electronic device to control an RF priority indicating a priority of using an RF resource of the roaming SIM and/or a waiting time for retrying the registration of the roaming SIM, when the count of consecutive registration rejections of the roaming SIM exceeds the threshold value.

According to an example embodiment, a method of operating an electronic device may include detecting a change of country that provides a mobile network based on a broadcast message received via the mobile network. The method may include determining a roaming SIM and a local SIM based on the change of country. The method may include connecting to the mobile network via the local SIM. The method may include preventing and/or reducing degradation of communication performance between the local SIM and the mobile network by restricting repeated resource requests of the roaming SIM for an RF resource to register the roaming SIM with the mobile network.

According to an example embodiment, a method of operating an electronic device may include attempting to register a roaming SIM, in response to changing a local SIM connected to a mobile network. The method may include identifying whether the roaming SIM is successfully registered. The method may include, when the registration of the roaming SIM is rejected, determining whether a count of consecutive registration rejections of the roaming SIM exceeds a threshold value. The method may include, when the count of consecutive registration rejections of the roaming SIM exceeds the threshold value, controlling an RF priority indicating a priority of using an RF resource of the roaming SIM and/or a waiting time for retrying the registration of the roaming SIM.

According to an example embodiment, a non-transitory computer-readable storage medium may store one or more computer programs including instructions. The instructions, when executed individually and/or collectively by at least one processor, cause an electronic device to detect a change of a country that provides a mobile network based on a broadcast message received via the mobile network. The instructions, when executed individually and/or collectively by at least one processor, cause the electronic device to determine a roaming SIM and a local SIM based on the change of the country. The instructions, when executed individually and/or collectively by at least one processor, cause the electronic device to connect to the mobile network via the local SIM. The instructions, when executed individually and/or collectively by at least one processor, cause the electronic device to prevent and/or reduce degradation of communication performance between the local SIM and the mobile network by restricting repeated resource requests of the roaming SIM for an RF resource to register the roaming SIM with the mobile network.

According to an example embodiment, a non-transitory computer-readable storage medium stores one or more computer programs including instructions. The instructions, when executed individually and/or collectively by at least one processor, cause an electronic device to attempt to register a roaming SIM, in response to changing a local SIM connected to a mobile network. The instructions, when executed individually and/or collectively by at least one processor, cause the electronic device to identify whether the roaming SIM is successfully registered. The instructions, when executed individually and/or collectively by at least one processor, cause the electronic device to, when the registration of the roaming SIM is rejected, determine whether a count of consecutive registration rejections of the roaming SIM exceeds a threshold value. The instructions, when executed individually and/or collectively by at least one processor, cause the electronic device to, when the count of consecutive registration rejections of the roaming SIM exceeds the threshold value, control an RF priority indicating a priority of using an RF resource of the roaming SIM and/or a waiting time for retrying the registration of the roaming SIM.

Hereinafter, certain example embodiments will be described in detail with reference to the accompanying drawings. When describing the embodiments with reference to the accompanying drawings, like reference numerals refer to like elements and a repeated description related thereto will be omitted.

1 FIG. 1 FIG. 101 100 101 100 102 198 104 108 199 101 104 108 101 120 130 150 155 160 170 176 177 178 179 180 188 189 190 196 197 178 101 101 176 180 197 160 is a block diagram illustrating an electronic devicein a network environmentaccording to an embodiment. Referring to, the electronic devicein the network environmentmay communicate with an electronic devicevia a first network(e.g., a short-range wireless communication network), or communicate with at least one of an electronic deviceor a servervia a second network(e.g., a long-range wireless communication network). According to an embodiment, the electronic devicemay communicate with the electronic devicevia the server. According to an embodiment, the electronic devicemay include a processor, a memory, an input module, a sound output module, a display module, an audio module, a sensor module, an interface, a connecting terminal, a haptic module, a camera module, a power management module, a battery, a communication module, a subscriber identification module (SIM), or an antenna module. In some embodiments, at least one of the components (e.g., the connecting terminal) may be omitted from the electronic device, or one or more other components may be added to the electronic device. In some embodiments, some of the components (e.g., the sensor module, the camera module, or the antenna module) may be integrated as a single component (e.g., the display module).

120 140 101 120 120 176 190 132 132 134 120 121 123 121 101 121 123 123 121 123 121 121 The processor, comprising processing circuitry, may execute, for example, software (e.g., a program) to control at least one other component (e.g., a hardware or software component) of the electronic deviceconnected, directly or indirectly, to the processorand may perform various data processing or computation. According to an embodiment, as at least part of data processing or computation, the processormay store a command or data received from another component (e.g., the sensor moduleor the communication module) in a volatile memory, process the command or the data stored in the volatile memory, and store resulting data in a non-volatile memory. According to an example embodiment, the processormay include a main processor(e.g., a central processing unit (CPU) or an application processor (AP)) or an auxiliary processor(e.g., a graphics processing unit (GPU), a neural processing unit (NPU), an image signal processor (ISP), a sensor hub processor, or a communication processor (CP)) that is operable independently of, or in conjunction with the main processor. For example, when the electronic deviceincludes the main processorand the auxiliary processor, the auxiliary processormay be adapted to consume less power than the main processoror to be specialized for a designated function. The auxiliary processormay be implemented separately from the main processoror as a part of the main processor.

123 160 176 190 101 121 121 121 121 123 180 190 123 123 101 108 The auxiliary processormay control at least some of functions or states related to at least one (e.g., the display module, the sensor module, or the communication module) of the components of the electronic device, instead of the main processorwhile the main processoris in an inactive (e.g., sleep) state, or together with the main processorwhile the main processoris in an active state (e.g., executing an application). According to an embodiment, the auxiliary processor(e.g., an ISP or a CP) may be implemented as a portion of another component (e.g., the camera moduleor the communication module) that is functionally related to the auxiliary processor. According to an embodiment, the auxiliary processor(e.g., an NPU) may include a hardware structure specified for artificial intelligence (AI) model processing. An AI model may be generated by machine learning. Such learning may be performed, for example, by the electronic devicein which an artificial intelligence model is executed, or via a separate server (e.g., the server). Learning algorithms may include, but are not limited to, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning. The AI model may include a plurality of artificial neural network layers. An artificial neural network may include, for example, a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more thereof, but is not limited thereto. The AI model may additionally or alternatively include a software structure other than the hardware structure.

130 120 176 101 140 130 132 134 The memorymay store various pieces of data used by at least one component (e.g., the processoror the sensor module) of the electronic device. The various pieces of data may include, for example, software (e.g., the program) and input data or output data for a command related thereto. The memorymay include the volatile memoryor the non-volatile memory.

140 130 142 144 146 The programmay be stored as software in the memory, and may include, for example, an operating system (OS), middleware, or an application.

150 101 120 101 150 The input modulemay receive, from the outside (e.g., a user) of the electronic device, a command or data to be used by another component (e.g., the processor) of the electronic device. The input modulemay include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).

155 101 155 The sound output modulemay output a sound signal to the outside of the electronic device. The sound output modulemay include, for example, a speaker or a receiver. The speaker may be used for general purposes, such as playing multimedia or playing a recording. The receiver may be used to receive an incoming call. According to an embodiment, the receiver may be implemented separately from the speaker or as a part of the speaker.

160 101 160 160 160 160 The display modulemay visually provide information to the outside (e.g., a user) of the electronic device. The display modulemay include, for example, a display, a hologram device, or a projector and control circuitry to control a corresponding one of the display, the hologram device, and the projector. According to an embodiment, the display modulemay include a touch sensor adapted to sense a touch, or a pressure sensor adapted to measure an intensity of a force incurred by the touch. The display modulemay be implemented with, for example, a foldable structure and/or a rollable structure. For example, a size of a display screen of the display modulemay be reduced when folded and expanded when unfolded.

170 170 150 155 102 101 The audio modulemay convert a sound into an electrical signal or vice versa. According to an embodiment, the audio modulemay obtain the sound via the input moduleor output the sound via the sound output moduleor an external electronic device (e.g., an electronic devicesuch as a speaker or headphones) directly or wirelessly connected to the electronic device.

176 101 101 176 The sensor modulemay detect an operational state (e.g., power or temperature) of the electronic deviceor an environmental state (e.g., a state of a user) external to the electronic deviceand generate an electric signal or data value corresponding to the detected state. According to an embodiment, the sensor modulemay include, for example, a gesture sensor, a gyro sensor, an atmospheric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared (IR) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.

177 101 102 177 The interfacemay support one or more specified protocols to be used for the electronic deviceto be coupled with the external electronic device (e.g., the electronic device) directly (e.g., by wire) or wirelessly. According to an embodiment, the interfacemay include, for example, a high-definition multimedia interface (HDMI), a universal serial bus (USB) interface, a secure digital (SD) card interface, or an audio interface.

178 101 102 178 The connecting terminalmay include a connector via which the electronic devicemay be physically connected, directly or indirectly, to an external electronic device (e.g., the electronic device). According to an embodiment, the connecting terminalmay include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).

179 179 The haptic modulemay convert an electric signal into a mechanical stimulus (e.g., a vibration or a movement) or an electrical stimulus, which may be recognized by a user via his or her tactile sensation or kinesthetic sensation. According to an embodiment, the haptic modulemay include, for example, a motor, a piezoelectric element, or an electric stimulator.

180 180 The camera modulemay capture a still image and moving images. According to an embodiment, the camera modulemay include one or more lenses, image sensors, ISPs, or flashes.

188 101 188 The power management modulemay manage power supplied to the electronic device. According to an embodiment, the power management modulemay be implemented as, for example, at least a part of a power management integrated circuit (PMIC).

189 101 189 The batterymay supply power to at least one component of the electronic device. According to an embodiment, the batterymay include, for example, a primary cell which is not rechargeable, a secondary cell which is rechargeable, or a fuel cell.

190 101 102 104 108 190 120 190 192 194 104 198 199 192 101 198 199 196 The communication modulemay support establishing a direct (e.g., wired) communication channel or a wireless communication channel between the electronic deviceand the external electronic device (e.g., the electronic device, the electronic device, or the server) and performing communication via the established communication channel. The communication modulemay include one or more CPs that are operable independently of the processor(e.g., an AP) and that support direct (e.g., wired) communication or wireless communication. According to an embodiment, the communication modulemay include a wireless communication module(e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module(e.g., a local area network (LAN) communication module, or a power line communication (PLC) module). A corresponding one of these communication modules may communicate with the external electronic devicevia the first network(e.g., a short-range communication network, such as Bluetooth™, wireless-fidelity (Wi-Fi) direct, or infrared data association (IrDA)) or the second network(e.g., a long-range communication network, such as a legacy cellular network, a fifth generation (5G) network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or a wide area network (WAN)). These various types of communication modules may be implemented as a single component (e.g., a single chip), or may be implemented as multiple components (e.g., multiple chips) separate from each other. The wireless communication modulemay identify and authenticate the electronic devicein a communication network, such as the first networkor the second network, using subscriber information (e.g., international mobile subscriber identity (IMSI)) stored in the SIM.

192 192 192 192 101 104 199 192 The wireless communication modulemay support a 5G network after a fourth generation (4G) network, and a next-generation communication technology, e.g., a new radio (NR) access technology. The NR access technology may support enhanced mobile broadband (eMBB), massive machine type communications (mMTC), or ultra-reliable and low-latency communications (URLLC). The wireless communication modulemay support a high-frequency band (e.g., a mmWave band) to achieve, e.g., a high data transmission rate. The wireless communication modulemay support various technologies for securing performance on a high-frequency band, such as, e.g., beamforming, massive multiple-input and multiple-output (massive MIMO), full dimensional MIMO (FD-MIMO), an array antenna, analog beam-forming, or a large scale antenna. The wireless communication modulemay support various requirements specified in the electronic device, an external electronic device (e.g., the electronic device), or a network system (e.g., the second network). According to an embodiment, the wireless communication modulemay support a peak data rate (e.g., 20 Gbps or more) for implementing eMBB, loss coverage (e.g., 164 dB or less) for implementing mMTC, or U-plane latency (e.g., 0.5 ms or less for each of downlink (DL) and uplink (UL), or a round trip of 1 ms or less) for implementing URLLC.

197 101 197 197 198 199 190 190 197 The antenna modulemay transmit or receive a signal or power to or from the outside (e.g., the external electronic device) of the electronic device. According to an embodiment, the antenna modulemay include an antenna including a radiating element including a conductive material or a conductive pattern formed in or on a substrate (e.g., a printed circuit board (PCB)). According to an embodiment, the antenna modulemay include a plurality of antennas (e.g., array antennas). In such a case, at least one antenna appropriate for a communication scheme used in a communication network, such as the first networkor the second network, may be selected by, for example, the communication modulefrom the plurality of antennas. The signal or power may be transmitted or received between the communication moduleand the external electronic device via the at least one selected antenna. According to an embodiment, another component (e.g., a radio frequency integrated circuit (RFIC)) other than the radiating element may be additionally formed as a part of the antenna module.

197 According to an embodiment, the antenna modulemay form a mmWave antenna module. According to an embodiment, the mmWave antenna module may include a PCB, an RFIC disposed on a first surface (e.g., a bottom surface) of the PCB or adjacent to the first surface and capable of supporting a designated a high-frequency band (e.g., a mmWave band), and a plurality of antennas (e.g., array antennas) disposed on a second surface (e.g., a top or a side surface) of the PCB, or adjacent to the second surface and capable of transmitting or receiving signals in the designated high-frequency band.

At least some of the components described above may be coupled mutually and communicate signals (e.g., commands or data) therebetween via an inter-peripheral communication scheme (e.g., a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)).

101 104 108 199 102 104 101 101 102 104 108 101 101 101 101 101 104 108 104 108 199 101 According to an embodiment, commands or data may be transmitted or received between the electronic deviceand the external electronic devicevia the servercoupled, directly or indirectly, with the second network. Each of the external electronic devicesandmay be a device of the same type as or a different type from the electronic device. According to an embodiment, all or some of operations to be executed by the electronic devicemay be executed by one or more of the external electronic devices,, or. For example, if the electronic deviceneeds to perform a function or a service automatically, or in response to a request from a user or another device, the electronic device, instead of, or in addition to, executing the function or the service, may request the one or more external electronic devices to perform at least part of the function or the service. The one or more external electronic devices receiving the request may perform the at least part of the function or the service requested, or an additional function or an additional service related to the request, and may transfer an outcome of the performing to the electronic device. The electronic devicemay provide the outcome, with or without further processing of the outcome, as at least part of a reply to the request. To that end, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic devicemay provide ultra low-latency services using, e.g., distributed computing or MEC. In an embodiment, the external electronic devicemay include an Internet-of-things (IoT) device. The servermay be an intelligent server using machine learning and/or a neural network. According to an embodiment, the external electronic deviceor the servermay be included in the second network. The electronic devicemay be applied to intelligent services (e.g., a smart home, a smart city, a smart car, or healthcare) based on 5G communication technology or IoT-related technology.

104 108 199 The electronic device according to embodiments may be one of various types of electronic devices. The electronic devices may include, for example, a portable communication device (e.g., a smartphone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance. According to an embodiment, the external electronic deviceor the servermay be included in the second network.

It should be appreciated that various embodiments of the disclosure and the terms used therein are not intended to limit the technological features set forth herein to particular embodiments and include various changes, equivalents, or replacements for a corresponding embodiment. With regard to the description of the drawings, similar reference numerals may be used to refer to similar or related components. It is to be understood that a singular form of a noun corresponding to an item may include one or more of the item, unless the relevant context clearly indicates otherwise. As used herein, “A or B”, “at least one of A and B”, “at least one of A or B”, “A, B or C”, “at least one of A, B and C”, and “at least one of A, B, or C,” each of which may include any one of the items listed together in the corresponding one of the phrases, or all possible combinations thereof. Terms such as “first,” “second,” “first,” or “second” may be used simply to distinguish one component from another and may not limit the components with respect to other aspects (e.g., importance or order). It is to be understood that if a component (e.g., a first component) is referred to, with or without the term “operatively” or “communicatively”, as “coupled with,” “coupled to,” “connected with,” or “connected to” another component (e.g., a second component), it means that the component may be coupled with the other component directly (e.g., by wire), wirelessly, or via at least a third component(s). Thus, for example, “connected” as used herein covers both direct and indirect connections.

As used in connection with embodiments of the disclosure, the term “module” may include a unit implemented in hardware, software, or firmware, and may interchangeably be used with other terms, for example, “logic,” “logic block,” “part,” or “circuitry.” A module may be a single integral component, or a minimum unit or part thereof, adapted to perform one or more functions. For example, according to an embodiment, the module may be implemented in a form of an application-specific integrated circuit (ASIC). Thus, each “module” herein may comprise circuitry.

140 136 138 101 120 101 1 FIG. Embodiments as set forth herein may be implemented as software (e.g., the program) including one or more instructions that are stored in a storage medium (e.g., an internal memoryor an external memory) that is readable by a machine (e.g., the electronic deviceof). For example, a processor (e.g., the processor) of the machine (e.g., the electronic device) may invoke at least one of the one or more instructions stored in the storage medium, and execute it. This allows the machine to be operated to perform at least one function according to the at least one instruction invoked. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, the term “non-transitory” simply means that the storage medium is a tangible device, and does not include a signal (e.g., an electromagnetic wave), but this term does not differentiate between where data is semi-permanently stored in the storage medium and where the data is temporarily stored in the storage medium.

According to an embodiment, a method according to an embodiment of the disclosure may be included and provided in a computer program product. The computer program product may be traded as a product between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read only memory (CD-ROM)), or be distributed (e.g., downloaded or uploaded) online via an application store (e.g., PlayStore™), or between two user devices (e.g., smart phones) directly. If distributed online, at least part of the computer program product may be temporarily generated or at least temporarily stored in the machine-readable storage medium, such as memory of the manufacturer's server, a server of the application store, or a relay server.

According to embodiments, each component (e.g., a module or a program) of the above-described components may include a single entity or multiple entities, and some of the multiple entities may be separately disposed in different components. According to embodiments, one or more of the above-described components may be omitted, or one or more other components may be added. Alternatively or additionally, a plurality of components (e.g., modules or programs) may be integrated into a single component. In such a case, the integrated component may still perform one or more functions of each of the plurality of components in the same or similar manner as they are performed by a corresponding one of the plurality of components before the integration. According to an embodiment, operations performed by the module, the program, or another component may be carried out sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations may be executed in a different order or omitted, or one or more other operations may be added.

2 FIG. 201 200 is a block diagram of an electronic devicein a network environmentincluding a plurality of cellular networks according to an embodiment.

2 FIG. 1 FIG. 1 FIG. 1 FIG. 201 101 210 120 222 1 222 2 224 232 234 242 244 246 222 1 222 2 222 199 292 294 201 199 224 226 Referring to, an electronic device(e.g., the electronic deviceof) may include a processor(e.g., the processorofor a CP), a 1-1th radio frequency integrated circuit (RFIC)-, and a 1-2th RFIC-, a second RFIC, a first radio frequency front end (RFFE), a second RFFE, a first antenna module, a second antenna module, and a third antenna module. Depending on embodiments, the 1-1th RFIC-and the (1-2) RFIC-may be implemented as one RFIC. The second networkmay include a first cellular network(e.g., a legacy network) and a second cellular network(e.g., a 5G network). The electronic devicemay further include at least one of the components described with reference to, and the second networkmay further include at least one another network. According to an embodiment, the second RFICmay be omitted or may be included as a portion of the third RFIC.

222 1 222 2 224 232 234 190 192 242 244 246 197 2 FIG. 1 FIG. 2 FIG. 1 FIG. According to an embodiment, the (1-1)-th RFIC-, the (1-2)-th RFIC-, the second RFIC, the first RFFE, and the second RFFEofmay be included in the communication module(e.g., the wireless communication module) of, and the first antenna module, the second antenna module, and the third antenna moduleofmay be included in the antenna moduleof.

210 292 292 210 294 294 210 294 According to an embodiment, the processormay establish a communication channel of a band to be used for wireless communication with the first cellular networkand support legacy network communication through the established communication channel. The first cellular networkmay be, for example, a legacy network including a second generation (2G), 3G, 4G, or long-term evolution (LTE) network. The processormay establish a communication channel corresponding to a first band (e.g., approximately 6 GHz to 60 GHz) (or a 5G standard frequency range (FR) 2 (e.g., 24.25 GHz to 52.6 GHz) of bands to be used for wireless communication with the second cellular networkand may support 5G network communication through the established communication channel. The second cellular networkmay be a 5G network defined by a third generation partnership project (3GPP). The processormay establish a communication channel corresponding to a second band (e.g., approximately less than or equal to 6 GHz) (or a 5G standard FR1 (e.g., 410 MHz to 7.125 GHz) of bands to be used for wireless communication with the second cellular networkand may support 5G network communication through the established communication channel.

222 1 222 210 292 292 242 232 222 1 222 210 According to an embodiment, during transmission, the (1-1)-th RFIC-(or the first RFIC) may convert a baseband signal generated by the processorinto a radio frequency (RF) signal of a frequency band (e.g., about 700 MHz to about 3 GHz) to be used in the first cellular network. During reception, an RF signal may be received or acquired from the first cellular networkvia the first antenna moduleand may be preprocessed through the first RFFE. The (1-1)-th RFIC-(or the first RFIC) may convert the preprocessed RF signal into a baseband signal such that the signal may be processed by the processor.

222 2 222 210 294 294 244 234 222 2 222 210 According to an embodiment, during transmission, the (1-2)-th RFIC-(or the first RFIC) may convert a baseband signal generated by the processorinto an RF signal (hereinafter, referred to as a “5G Sub6 RF signal”) of a Sub6 band (e.g., about 6 GHz or less) to be used in the second cellular network. During reception, the 5G Sub6 RF signal may be received or acquired from the second cellular networkvia the second antenna moduleand may be preprocessed through the second RFFE. The (1-2)-th RFIC-(or the first RFIC) may convert the preprocessed 5G Sub6 RF signal into a baseband signal such that the signal may be processed by the processor.

226 210 294 294 246 248 236 226 210 236 226 According to an embodiment, the third RFICmay convert a baseband signal generated by the processorinto an RF signal (hereinafter, referred to as a “5G Above6 RF signal”) of a 5G Above6 band (e.g., about 6 GHz to about 60 GHz) to be used in the second cellular network. During reception, the 5G Above6 RF signal may be received or obtained from the second cellular networkthrough the third antenna module(e.g., an antenna) and may be preprocessed through the third RFFE. The third RFICmay convert the preprocessed 5G Above6 RF signal into a baseband signal to be processed by the processor. According to an embodiment, the third RFFEmay be formed as a portion of the third RFIC.

201 224 226 226 224 210 226 226 294 246 248 226 224 210 According to an embodiment, the electronic devicemay include the second RFICseparately from the third RFICor as at least a portion of the third RFIC. In this case, the second RFICmay convert the baseband signal generated by the processorinto an RF signal (hereinafter, referred to as an IF signal) of an intermediate frequency band (e.g., approximately 9 GHz to 11 GHz) and may transmit the IF signal to the third RFIC. The third RFICmay convert the IF signal into the 5G Above6 RF signal. During reception, the 5G Above6 RF signal may be received or obtained from the second cellular networkthrough the third antenna module(e.g., the antenna) and may be converted into an IF signal by the third RFIC. The second RFICmay convert the IF signal into a baseband signal such that the processormay process the IF signal.

242 244 According to an embodiment, at least one of the first antenna moduleand the second antenna modulemay be omitted or may be combined with another antenna module to process RF signals in a plurality of corresponding bands.

226 248 246 120 226 248 246 226 248 226 248 201 294 According to an embodiment, the third RFICand the antennamay be disposed on the same substrate and may form the third antenna module. For example, the processormay be disposed on a first substrate (e.g., a main PCB). In this case, as the third RFICis disposed on a partial area (e.g., a bottom surface) of a second substrate (e.g., a sub PCB) separate from the first substrate and the antennais disposed on the other partial area (e.g., a top surface) of the second substrate (e.g., the sub PCB), the third antenna modulemay be formed. The length of a transmission line between the third RFICand the antennamay be reduced by disposing the third RFICand the antennaon the same substrate. This may reduce, for example, the loss (e.g., attenuation) of a signal in a high frequency band (e.g., approximately 6 GHz to 60 GHz) used for 5G network communication due to a transmission line. Thus, the electronic devicemay enhance the quality or speed of communication with the second cellular network(e.g., a 5G network).

248 226 238 236 238 201 238 201 According to an embodiment, the antennamay be formed as an antenna array including a plurality of antenna elements that may be used for beamforming. In this case, the third RFICmay include, for example, a plurality of phase shifterscorresponding to the plurality of antenna elements as a portion of the third RFFE. During transmission, each of the plurality of phase shiftersmay convert a phase of a 5G Above6 RF signal to be transmitted to the outside (e.g., a base station of a 5G network) of the electronic devicethrough a corresponding antenna element. During reception, each of the plurality of phase shiftersmay convert a phase of a 5G Above6 RF signal received from the outside (e.g., the base station of the 5G network) through the corresponding antenna element into the same or substantially the same phase. This may enable a transmission or reception through beamforming between the electronic deviceand the outside.

294 292 292 201 130 210 1 FIG. The second cellular networkmay be operated independently of the first cellular network(e.g., standalone (SA)) or in connection to the first cellular network(e.g., non-standalone (NSA)). For example, a 5G network may include only an access network (e.g., a 5G radio access network (RAN) or a next generation RAN (NG RAN)) and may not include a core network (e.g., a next generation core (NGC)). In this case, after accessing an access network of the 5G network, the electronic devicemay access an external network (e.g., the Internet) under a control of a core network (e.g., an evolved packet core (EPC)) of a legacy network. Protocol information (e.g., LTE protocol information) for communication with the legacy network or protocol information (e.g., new radio (NR) protocol information) for communication with the 5G network may be stored in a memory (e.g., the memoryof) and may be accessed by the processor.

3 FIG. is a diagram illustrating a problem resulting from a conventional local subscriber identification module (SIM) change.

3 FIG. 1 FIG. 2 FIG. 2 FIG. 2 FIG. 2 FIG. 301 101 201 301 301 1 2 301 1 199 292 294 2 Referring to, an electronic device(e.g., the electronic deviceofand the electronic deviceof) is illustrated. The electronic devicemay support dual SIM dual standby (DSDS). The electronic devicemay include two SIMs (e.g., SIMand SIM). For example, the electronic devicemay include SIMthat supports the connection with a mobile network (e.g., the second networkof, the first cellular networkof, and the second cellular networkof) provided by carrier B in country Y and SIMthat supports the connection with a mobile network provided by carrier A of country X.

301 1 2 301 1 2 301 2 301 2 301 According to an embodiment, when the electronic deviceis located in country X, SIMmay be determined to be a roaming SIM and SIMmay be determined to be a local SIM. When the electronic deviceis located in country Y, SIMmay be determined to be a local SIM and SIMmay be determined to be a roaming SIM. For example, when the electronic deviceis located in country X and SIMis set as a default SIM card, the electronic devicemay be connected to a mobile network via SIM, which is the local SIM. For example, the electronic devicemay be provided with the mobile network from carrier A.

301 301 301 2 1 301 1 2 According to an embodiment, the electronic devicemay move from country X to country Y. For example, the electronic devicemay be an electronic device of a user who frequently travels from country X to country Y. When the location of the electronic devicemoves from country X to country Y, the local SIM may be changed from SIMto SIM. When the location of the electronic devicemoves from country X to country Y, the local sim may be changed from SIMto SIM.

2 2 301 2 2 301 According to an embodiment, SIMmay not provide a roaming service. For example, when the user does not subscribe to the roaming service, SIMmay not provide the roaming service. Although the electronic devicemoves from country X to country Y, since SIMis still set as the default SIM card and SIMdoes not provide the roaming service, the electronic devicemay not provide a calling service, a short message service (SMS), and a data service to the user.

1 1 2 301 1 According to an embodiment, SIM, which is the local SIM, may be successfully registered with the mobile network provided by carrier B in country Y. Even though SIMis registered with the mobile network provided by carrier B, since the default SIM card is still set to SIM, the electronic devicemay not provide the calling, SMS, and data services to the user via SIM.

Accordingly, when the country is changed, a method of receiving the calling, SMS, and data services via a local SIM corresponding to the changed country may be required.

4 5 FIGS.and are diagrams illustrating a problem that occurs when repeatedly attempting to register a conventional local SIM with a mobile network.

4 FIG. 1 FIG. 2 FIG. 3 FIG. 401 101 201 301 402 Referring to, a flowchart for illustrating operations between an electronic device(e.g., the electronic deviceof, the electronic deviceof, and the electronic deviceof) and a base stationis illustrated.

401 199 292 294 401 401 1 FIG. 2 FIG. 2 FIG. According to an embodiment, the electronic devicemay include a roaming SIM. The roaming SIM may support a connection with a mobile network service (e.g., the second networkof, the first cellular networkof, and the second cellular networkof) provided by a specific carrier in a foreign country other than a country where the electronic deviceis currently located. Herein, it is assumed that the electronic deviceis not subscribed to a roaming service using a roaming SIM.

402 401 402 401 402 401 According to an embodiment, the base stationmay be a base station in the country where the electronic deviceis currently located. The base stationmay perform communication with the electronic device. The base stationmay provide registration of a roaming SIM through the communication with the electronic device.

400 490 401 130 120 210 400 490 1 FIG. 1 FIG. 2 FIG. In the following embodiments, operations may be performed sequentially but not necessarily. For example, the order of the operations may change, and at least two of the operations may be performed in parallel. At least some of operationstomay be performed by at least one component of the electronic device. For example, instructions stored in memory (e.g., the memoryof) may be collectively and/or individually executed by at least one processor (e.g., the processorofand the processorof), and the instructions may cause the electronic device to perform at least some of operationstobelow.

400 401 402 401 402 401 402 In operation, the electronic devicemay transmit, to the base station, a message to request registration of a roaming SIM with a wireless network. For example, when requesting registration with a 5G network, the electronic devicemay transmit a registration request message to the base station. For example, when requesting registration with a 4G network, the electronic devicemay transmit an attach request message to the base station.

410 402 402 402 401 402 401 In operation, the base stationthat receives the message may identify a roaming state and a roaming service for the roaming SIM. The base stationmay identify the roaming state and the roaming service for the roaming SIM. The base stationmay determine whether the SIM that transmits the message corresponds to the roaming state (e.g., whether the SIM is a roaming SIM) and whether the electronic deviceis subscribed to the roaming service with respect to the roaming SIM. For example, the base stationmay determine that the SIM that the electronic devicerequests to register corresponds to the roaming SIM, but the roaming SIM is not subscribed to the roaming service.

420 402 401 401 402 401 401 402 401 402 401 In operation, the base stationmay transmit a registration reject message to the electronic device. For example, when the electronic devicerequests registration with the 5G network, the base stationmay transmit the registration reject message to the electronic device. For example, when the electronic devicerequests registration with the 4G network, the base stationmay transmit an attach reject message to the electronic device. For example, the base stationmay transmit a message to the electronic deviceindicating that the registration of the roaming SIM has failed due to reject cause #29 of the 3GPP specification.

430 401 401 401 401 401 401 401 In operation, the electronic devicemay disable 4G or 5G. The electronic devicemay start a timer for a re-registration attempt. The electronic devicemay be connected to 4G or 3G. For example, when the electronic deviceattempts to register the roaming SIM with the 5G network, the electronic devicethat receives the registration reject message may disable a 5G function of the roaming SIM, may start a timer (e.g., T3502) for a re-registration attempt, and may connect the roaming SIM to the 4G network. For example, when the electronic deviceattempts to register the roaming SIM with the 4G network, the electronic devicethat receives the registration reject message may disable a 4G function of the roaming SIM, may start a timer (e.g., T3402) for a re-registration attempt, and may connect the roaming SIM to the 3G network.

440 401 401 401 401 In operation, the electronic devicemay re-attempt the registration by activating the 4G or 5G function for the roaming SIM and reselecting 4G or 5G. The electronic devicemay attempt to register the roaming SIM with the 4G network or the 5G network after a waiting time (e.g., 60 seconds) has elapsed according to the start of the timer. For example, when the registration of the roaming SIM with the 5G network is rejected, after the waiting time has elapsed, the electronic devicemay enable the 5G function of the roaming SIM and may re-attempt the registration with the 5G network. For example, when the registration of the roaming SIM with the 4G network is rejected, after the waiting time has elapsed, the electronic devicemay enable the 4G function of the roaming SIM and may re-attempt the registration with the 4G network.

450 490 400 440 Since operationstocorrespond to operationsto, respectively, a detailed description thereof is omitted.

401 400 440 401 According to an embodiment, the electronic devicemay iteratively perform operationstountil the roaming SIM is successfully registered with the mobile network. The registration with the mobile network may use an RF resource of the electronic devicepreferentially over other operations. Due to repeated registration attempts to register the roaming SIM with the mobile network, other operations (e.g., using a mobile network service via a local SIM) using the RF resource may be interrupted.

Hereinafter, performance degradation of the mobile network due to repeated registration attempts to register the roaming SIM with the mobile network is described.

5 FIG. 4 FIG. 1 FIG. 2 FIG. 3 FIG. 4 FIG. 1 FIG. 1 FIG. 2 FIG. 2 501 1 502 503 504 402 2 501 1 502 503 101 201 301 401 2 501 1 502 2 501 2 511 539 130 120 210 511 539 illustrates SIM, SIM, a CP, and a base station(e.g., the base stationof). SIM, SIM, and the CPmay be included in an electronic device (e.g., the electronic deviceof, the electronic deviceof, the electronic deviceof, and the electronic deviceof). The electronic device may include a device that supports DSDS. Hereinafter, it is assumed that SIMis a roaming SIM and SIMis a local SIM. Hereinafter, it is assumed that SIMdoes not provide a roaming service because, for example, SIMis not subscribed to the roaming service. In the following embodiments, operations may be performed sequentially but not necessarily. For example, the order of the operations may change, and at least two of the operations may be performed in parallel. At least some of operationstomay be performed by at least one component of the electronic device. For example, instructions stored in memory (e.g., the memoryof) may be collectively and/or individually executed by at least one processor (e.g., the processorofand the processorof), and the instructions may cause the electronic device to perform at least some of operationstobelow.

511 1 502 503 1 502 503 1 502 199 292 294 1 FIG. 2 FIG. 2 FIG. In operation, SIM(e.g., the local SIM) may send, to the CP, a request to allocate resources. For example, SIMmay send, to the CP, a request to allocate resources because of cause 0 that has an RF priority of 7. For example, cause 0 may include a resource request to register SIMwith a mobile network (e.g., the second networkof, the first cellular networkof, and the second cellular networkof).

513 503 1 502 1 502 503 197 242 244 246 1 FIG. 2 FIG. 2 FIG. 3 FIG. In operation, the CPmay allocate (grant) the RF resource to SIMin response to the resource allocation request of SIM. An RF resourcemay include an antenna module (e.g., the antenna moduleof, the first antenna moduleof, the second antenna moduleof, and the third antenna moduleof) included in the electronic device.

515 1 502 1 502 504 1 502 504 1 502 504 In operation, SIMmay transmit a message to request registration of SIMwith a wireless network to the base station. SIMmay transmit a message to request registration with the wireless network to the base stationvia the allocated RF resource. For example, SIMmay transmit a registration request message that requests registration with the 5G network to the base station.

517 504 1 502 504 1 502 504 1 In operation, the base stationmay transmit a message to accept the registration to SIM. For example, the base stationmay transmit a registration accept message that accepts the registration with the 5G network to SIM. The base stationmay register SIMwith the wireless network.

519 2 501 503 2 501 503 1 502 In operation, SIM(e.g., the roaming SIM) may send a request to the CPto allocate the RF resource. For example, SIMmay send a request to the CPto allocate the RF resource because of cause 0 that has the RF priority of 7. For example, cause 0 may include a resource request to register SIMwith the mobile network.

521 503 2 501 2 501 In operation, the CPmay allocate the RF resource to SIMin response to the resource allocation request of SIM.

523 2 501 2 501 504 2 501 504 2 501 504 In operation, SIMmay transmit a message to request registration of SIMwith the wireless network to the base station. SIMmay transmit a message to request registration with the wireless network to the base stationvia the allocated RF resource. For example, SIMmay transmit a registration request message that requests registration with the 5G network to the base station.

525 504 2 501 504 2 501 In operation, the base stationmay transmit a message to reject the registration to SIM. For example, the base stationmay transmit the registration reject message that rejects the registration with the 5G network to SIM.

504 2 501 2 504 2 2 402 401 According to an embodiment, the base stationthat receives the registration request message from SIMmay identify the roaming state and the roaming service for SIM. For example, the base stationmay determine that SIMcorresponds to the roaming SIM and whether SIMis subscribed to the roaming service. For example, the base stationmay transmit the registration reject message to the electronic deviceindicating that the registration of the roaming SIM has failed due to reject cause #29 of the 3GPP specification.

527 1 502 503 1 502 503 1 502 In operation, SIMmay request allocation of resources to CP. For example, SIMmay send a request to the CPto allocate the RF resource because of cause 6 that has the RF priority of 1. For example, cause 6 may include a request for the RF resource to provide a data service to SIM. Herein, it is assumed that as the number increases, the RF priority increases.

529 503 1 502 1 502 In operation, the CPmay allocate the RF resource to SIMin response to the resource allocation request of SIM.

531 1 502 In operation, SIMmay provide the data service by receiving the RF resource.

533 2 501 503 519 533 2 501 2 501 1 502 In operation, SIMmay send a request to the CPto allocate the RF resource. Since the description provided in operationabove may be applied to operation, a detailed description thereof is omitted. Since SIMrequests resource allocation to register with the mobile network, the RF priority (e.g., 7) of the request of SIMmay be higher than the RF priority (e.g., 1) of SIMto provide the data service.

535 503 2 501 2 501 2 501 1 502 2 501 2 501 1 502 1 502 1 502 In operation, the CPmay allocate the resource to SIMin response to the resource allocation request of SIM. In DSDS, the RF resource may be provided to one SIM at a time. Since the RF priority of the request of SIMis higher than the RF priority of SIMto provide the data service, the RF resource may be allocated to SIM. As the RF resource is allocated to register SIMwith the mobile network, the resource allocation for the data service of SIMmay be canceled. The data service via SIMmay be suspended because the allocation of the RF resource to SIMis canceled.

537 2 501 2 501 504 In operation, SIMmay transmit a message to request registration of SIMwith the wireless network to the base station.

539 504 2 501 525 539 In operation, the base stationmay transmit a message to reject the registration to SIM. Since the description of operationmay be applied to operation, a detailed description thereof is omitted.

2 501 1 520 1 502 2 2 501 1 502 1 502 2 501 The RF priority for registration of SIMwith the mobile network may be higher than the RF priority of SIMfor the data service. Since the RF resource may be allocated to one SIM at a time, the allocation of the RF resource for the data service of SIMmay be deprioritized as the RF resource is iteratively allocated to SIMto register SIMwith the mobile network. The communication performance provided by SIMmay be degraded because the allocation of the RF resource to SIMis repeatedly interrupted by repeated registration attempts of SIM.

1 502 2 501 Hereinafter, a method of preventing and/or reducing degradation of the communication performance provided by SIMby preventing and/or reducing repeated registration attempts of the roaming SIM (e.g., SIM) is described.

6 FIG. is a diagram illustrating an operation of an electronic device according to an embodiment.

610 680 101 201 301 401 130 120 210 610 680 1 FIG. 2 FIG. 3 FIG. 4 FIG. 1 FIG. 1 FIG. 2 FIG. In the following embodiments, operations may be performed sequentially but not necessarily. For example, the order of the operations may change, and at least two of the operations may be performed in parallel. Operationstomay be performed by at least one component of an electronic device (e.g., the electronic deviceof, the electronic deviceof, the electronic deviceof, and the electronic deviceof). For example, instructions stored in memory (e.g., the memoryof) may be collectively and/or individually executed by at least one processor (e.g., the processorofand the processorof), and the instructions may cause the electronic device to perform operationstobelow.

610 In operation, the electronic device may receive a broadcast message indicating that the electronic device is moved to a new country.

7 FIG. According to an embodiment, the electronic device may identify that the electronic device is moved to the new country based on mobile country code (MCC) included in the broadcast message. The MCC may include a unique number assigned to each country. For example, in the case of the Republic of Korea, the MCC may be “450”. A method of determining whether the electronic device is moved to a new country is described below with reference to.

620 1 502 2 501 5 FIG. 5 FIG. In operation, the electronic device may determine whether the electronic device includes a local SIM (e.g., SIMof) for the new country, and the other SIM is a roaming SIM (e.g., SIMof).

1 2 According to an embodiment, the electronic device may include a device that supports DSDS. The electronic device may include two SIMs (e.g., SIMand SIM) based on DSDS. According to an embodiment, the electronic device may determine whether one of the two SIMs is a SIM (e.g., the local SIM) issued by a carrier in the country where the electronic device is currently located and the other one is a SIM (e.g., the roaming SIM) issued by a foreign carrier, based on the broadcast message.

According to an embodiment, the electronic device may determine which one of the two SIMs is the local SIM and the other is the roaming SIM based on the MCC included in the broadcast message.

630 6 FIG. 6 FIG. 13 FIG. According to an embodiment, when one of the two SIMs is the local SIM and the other one is the roaming SIM, the electronic device may perform operation. When both SIMs are local SIMs, the electronic device may terminate operations of. When both SIMs are roaming SIMs, the electronic device may terminate operations of. The operation of the electronic device when both SIMs are roaming SIMs is described below with reference to.

630 199 292 294 511 517 1 FIG. 2 FIG. 2 FIG. 5 FIG. In operation, the electronic device may perform registration of the local SIM with the mobile network (e.g., the second networkof, the first cellular networkof, and the second cellular networkof). The electronic device may perform registration of the local SIM with the mobile network based on operationstoof.

640 402 504 4 FIG. 5 FIG. In operation, the electronic device may determine whether the local SIM is successfully registered. The electronic device may determine whether the local SIM is successfully registered based on a message received from a base station (e.g., the base stationofand the base stationof).

650 In operation, the electronic device may change the usage setting of a SIM card to the local SIM based on the user's selection.

According to an embodiment, when the electronic device is set to use the local SIM (e.g., the roaming SIM after the move) before the move, even though the electronic device is moved to a new country, the electronic device may notify that the local SIM has been changed via a user interface (UI).

According to an embodiment, the electronic device may receive a command to change the usage setting of the SIM card from a past local SIM to a current local SIM via the UI. The electronic device may change the usage setting of the SIM card to the current local SIM based on the received command.

8 FIG. The UI described above is described below with reference to.

519 525 5 FIG. According to an embodiment, the electronic device may perform registration of the roaming SIM with the mobile network after the local SIM is registered. The electronic device may perform the registration of the roaming SIM based on operationstoof.

610 650 610 650 According to an embodiment, operationstomay be performed by at least one AP included in the electronic device. For example, instructions stored in memory may be collectively and/or individually executed by at least one AP, and the instructions may cause the electronic device to perform operationsto.

660 In operation, the electronic device may determine whether the roaming SIM is successfully registered. The electronic device may determine whether the roaming SIM is successfully registered based on the message received from the base station. For example, the electronic device may determine that the registration is successful when the registration accept message or the attach accept message with respect to the roaming SIM is received from the base station. For example, the electronic device may determine that the registration is rejected when the registration reject message and the attach reject message with respect to the roaming SIM is received from the base station.

6 FIG. 670 According to an embodiment, when the roaming SIM is successfully registered, the electronic device may terminate the operation of. When the registration of the roaming SIM is rejected, the electronic device may perform operation.

670 In operation, the electronic device may determine whether a count of consecutive registration failures (e.g., a count of consecutive registration rejections) of the roaming SIM exceeds a threshold value.

660 660 670 According to an embodiment, when the count of consecutive registration failures of the roaming SIM does not exceed the threshold value, the electronic device may perform operationagain. The electronic device may iteratively perform operationsanduntil the roaming SIM is successfully registered or the count of consecutive registration failures of the roaming SIM exceeds the threshold value. The electronic device may retry the registration of the roaming SIM until the roaming SIM is successfully registered or the count of consecutive registration failures of the roaming SIM exceeds the threshold value.

680 According to an embodiment, when the count of consecutive registration failures of the roaming SIM exceeds the threshold value, the electronic device may perform operation.

680 In operation, the electronic device may control the priority of the roaming SIM for the RF resource and/or a waiting time for retrying the registration of the roaming SIM.

According to an embodiment, the electronic device may decrease the priority of the roaming SIM for the RF resource. When the priority of the roaming SIM for the RF resource decreases and the RF priority for the registration of the roaming SIM becomes lower than the RF priority for the data service of the local SIM, the allocation of the RF resource allocated to the local SIM may not be canceled even if the registration of the roaming SIM is rejected.

According to an embodiment, the electronic device may increase the waiting time (e.g., the time of a timer (e.g., T3402 and T3502)) for retrying the registration of the roaming SIM. A frequency of retrying the registration of the roaming SIM may be reduced by increasing the waiting time for retrying the registration of the roaming SIM.

According to an embodiment, the electronic device may decrease the priority of the roaming SIM for the RF resource and may increase the waiting time for retrying the registration of the roaming SIM.

660 680 503 660 680 5 FIG. According to an embodiment, operationstomay be executed by at least one CP (e.g., the CPof) included in the electronic device. For example, instructions stored in memory may be collectively and/or individually executed by at least one CP, and the instructions may cause the electronic device to perform operationsto.

The electronic device may prevent and/or reduce cancellation of the allocation of the RF resource allocated to the local SIM or may decrease the frequency by controlling the waiting time and the RF priority of the roaming SIM. The electronic device may reduce power consumption due to repeated allocation of the RF resource and cancellation of allocation by controlling the RF priority of the roaming SIM and the waiting time.

Hereinafter, a method of determining whether the electronic device is located in a new country is described.

7 FIG. is a diagram illustrating a method of determining whether a country that provides a mobile network is changed according to an embodiment.

7 FIG. 1 FIG. 2 FIG. 3 FIG. 4 FIG. 701 101 201 301 401 701 1 710 2 720 Referring to, an electronic device(e.g., the electronic deviceof, the electronic deviceof, the electronic deviceof, and the electronic deviceof) is illustrated. The electronic devicemay include a device that supports DSDS. The electronic device may include two SIMs (e.g., SIMand SIM) based on DSDS.

199 292 294 1 FIG. 2 FIG. 2 FIG. According to an embodiment, each SIM may include an IMSI. The IMSI may be used to identify a user in a mobile network (e.g., the second networkof, the first cellular networkof, and the second cellular networkof). The IMSI may include an MCC, a mobile network code (MNC), and a mobile subscription identification number (MSIN). The MCC may be mobile country code and may include a three-digit unique code for identifying a country. For example, the MCC of Republic of Korea may be “450”, and the MCC of Vietnam may be “452”. The MNC may include a two-digit or three-digit unique code for identifying a carrier that provides a mobile network service. For example, the MCN of carrier A may be “08”, and the MCN of carrier B may be “04”. The MSIN may include a unique code for identifying a SIM.

1 710 1 710 2 702 2 702 For example, the MCC and MNC of SIMmay be “450” and “08”, respectively, and may indicate that the SIMis issued by carrier A in the Republic of Korea. The MCC and MNC of SIMmay be “452” and “04”, respectively, and may indicate that SIMis issued by carrier B in Vietnam.

701 Hereinafter, it is assumed the electronic deviceis currently located in the Republic of Korea.

701 703 402 504 701 703 4 FIG. 5 FIG. According to an embodiment, the electronic devicemay communicate with a base station(e.g., the base stationofand the base stationof). The electronic devicemay receive a broadcast message from the base station. The broadcast message may include a network identifier (e.g., the MCC and the MNC), a location area code (LAC), a cell identifier (ID), and network status information.

701 According to an embodiment, the electronic devicemay determine a local SIM and a roaming SIM based on the MCC included in the broadcast message. Herein, it is assumed that the MCC included in the broadcast message is “450”.

701 701 701 1 710 1 502 2 720 2 501 5 FIG. 5 FIG. According to an embodiment, the electronic devicemay compare the MCC included in the broadcast message with the MCC of each SIM. As a result of the comparison, if the MCCs are the same, the electronic devicemay determine that the SIM is a local SIM and if not, the electronic devicemay determine that the SIM is a roaming SIM. For example, SIMmay be determined to be a local SIM (e.g., SIMof) and SIMmay be determined to be a roaming SIM (e.g., SIMof).

1 710 2 720 701 701 1 710 2 720 2 720 701 Even when the SIMis determined to be the local SIM, SIMmay be set as a default SIM card. The default SIM card may be a SIM that is connected, directly or indirectly, to the mobile network and is set to provide a service to the electronic device. For example, when the electronic devicewas previously located in Vietnam and is currently located in the Republic of Korea, even though SIMis determined to be the local SIM, SIMmay be set as the default SIM card. When SIMis not subscribed to the roaming service, the electronic devicemay not be provided with a service (e.g., a phone call, an SMS, and a data service) via the mobile network. Accordingly, the default SIM card may need to be changed.

8 FIG. is a diagram illustrating a UI that notifies that a local SIM is changed according to an embodiment.

8 FIG. 1 FIG. 2 FIG. 3 FIG. 4 FIG. 7 FIG. 801 101 201 301 401 701 Referring to, an electronic device(e.g., the electronic deviceof, the electronic deviceof, the electronic deviceof, the electronic deviceof, and the electronic deviceof) is illustrated.

801 801 402 504 801 801 4 FIG. 5 FIG. According to an embodiment, the electronic devicemay identify that a location of the electronic deviceis changed based on a broadcast message received from a base station (e.g., the base stationofand the base stationof). For example, the electronic devicemay identify that the electronic deviceis currently located in the Republic of Korea based on the broadcast message.

2 1 502 801 1 2 501 5 FIG. 5 FIG. Hereinafter, it is assumed that even though SIMis determined to be a local SIM (e.g., SIMof) as the location of the electronic deviceis changed to the Republic of Korea, SIMthat is a roaming SIM (e.g., SIMof) is set to the SIM card according to the previous settings.

801 801 810 160 1 FIG. According to an embodiment, when the electronic device is set to use the local SIM before the move (e.g., the roaming SIM after the move), even though the electronic deviceis moved to a new country, the electronic devicemay notify that the local SIM has been changed via a UI. For example, the electronic device may notify that the local SIM has been changed via a display module (e.g., the display moduleof).

810 801 801 199 292 294 1 FIG. 2 FIG. 2 FIG. According to an embodiment, the UImay further display buttons for obtaining a control command from the user. The electronic devicemay obtain a control command to change the default SIM card to the local SIM via the buttons. The electronic devicemay change the default SIM card to the local SIM based on the control command. As the default SIM card is changed to the local SIM, the electronic device may provide a mobile network service (e.g., the second networkof, the first cellular networkof, and the second cellular networkof) to the user via the local SIM.

801 801 810 810 2 801 For example, when the electronic device identifies that the location of the electronic deviceis changed to the Republic of Korea, the electronic devicemay display the UIon the display module. The UImay display a phrase, “You are in South Korea. Would you like to use phone/data/SMS by setting the Korean SIM card (SIM) as the default? The setting will be saved”. The electronic devicemay change the default SIM card to the local SIM by the user via a button displaying “YES”.

801 801 801 801 801 According to an embodiment, the electronic devicemay save the changed default SIM card setting. Unless the location of the electronic deviceis changed to another country, the electronic devicemay use the local SIM corresponding to the currently located country as the default SIM card by loading the saved settings. For example, when the electronic deviceis rebooted, the electronic devicemay use the local SIM corresponding to the current country as the default SIM card based on the saved settings.

801 The electronic devicemay provide the calling, SMS, and data services to the user via the local SIM by changing the local SIM to the default SIM in response to the control command of the user.

801 Hereinafter, an operation of the electronic deviceto control the RF priority of the roaming SIM for the RF resource or the waiting time to retry the registration of the roaming SIM is described.

9 FIG. is a diagram illustrating an operation between an electronic device and a base station according to an embodiment.

9 FIG. 1 FIG. 2 FIG. 3 FIG. 4 FIG. 7 FIG. 8 FIG. 4 FIG. 5 FIG. 901 101 201 301 401 701 801 902 402 504 Referring to, a flowchart for illustrating an operation between an electronic device(e.g., the electronic deviceof, the electronic deviceof, the electronic deviceof, the electronic deviceof, the electronic deviceof, and the electronic deviceof) and a base station(e.g., the base stationofand the base stationof) is illustrated.

911 933 901 130 120 210 911 933 1 FIG. 1 FIG. 2 FIG. In the following embodiments, operations may be performed sequentially but not necessarily. For example, the order of the operations may change, and at least two of the operations may be performed in parallel. At least some of operationstomay be performed by at least one component of the electronic device. For example, instructions stored in memory (e.g., the memoryof) may be collectively and/or individually executed by at least one processor (e.g., the processorofand the processorof), and the instructions may cause the electronic device to perform at least some of operationstobelow.

911 2 501 199 292 294 5 FIG. 1 FIG. 2 FIG. 2 FIG. Prior to operation, it is assumed that registrations of a roaming SIM (e.g., SIMof) with a mobile network (e.g., the second networkof, the first cellular networkof, and the second cellular networkof) are consecutively rejected, and a count of consecutive registration rejections is a threshold value.

911 901 902 In operation, the electronic devicemay transmit, to the base station, a message to request registration of a roaming SIM with a wireless network.

913 902 In operation, the base stationthat receives the message may identify a roaming state and a roaming service for the roaming SIM.

915 902 901 In operation, the base stationmay transmit a registration reject message to the electronic device.

917 401 401 In operation, the electronic devicemay disable 4G or 5G. The electronic devicemay start a timer for a re-registration attempt.

400 440 911 917 4 FIG. Since the description of operationstoofmay be applied to operationsto, a detailed description thereof is omitted.

919 911 911 915 901 In operation, the electronic device may decrease the RF priority indicating the priority of the roaming SIM to use the RF resource. Since the registrations of the roaming SIM with the mobile network are already rejected consecutively by the threshold value prior to operation, the count of consecutive registration rejections due to rejections in operationstomay exceed the threshold value. Since the count of consecutive registration rejections exceeds the threshold value, the electronic devicemay control the priority (e.g., the RF priority) of the roaming SIM for the RF resource and/or a waiting time for retrying the registration of the roaming SIM.

901 901 According to an embodiment, the electronic devicemay differently determine a decrement based on a rejection cause of the registration of the roaming SIM. The electronic devicemay decrease the RF priority of the roaming SIM based on the determined decrement.

901 10 FIG. A method of differently determining a decrement based on a rejection cause by the electronic deviceis described below with reference to.

901 901 According to an embodiment, the electronic devicemay increase the waiting time (e.g., the timer (e.g., T3402 and T3502)) for retrying the registration of the roaming SIM. For example, when an initial value of the waiting time of the roaming SIM is 60 seconds(s), the electronic devicemay control the waiting time to 70 s by adding an offset (e.g., an increment) (e.g., 10 s) to the initial value.

901 901 According to an embodiment, the electronic devicemay differently determine the increment of the waiting time based on the rejection cause of the registration of the roaming SIM. The electronic devicemay increase the waiting time based on the determined increment.

901 10 FIG. The control of the waiting time of the electronic deviceis described below with reference to.

921 901 440 921 4 FIG. In operation, the electronic devicemay re-attempt the registration by activating the 4G or 5G function for the roaming SIM and reselecting 4G or 5G. Since the description of operationofmay apply to operation, a detailed description thereof is omitted.

901 919 923 919 The electronic devicemay retry the registration of the roaming SIM based on the determined RF priority of the roaming SIM and the determined waiting time in operation. Hereinafter, prior to operation, it is assumed that the registrations of the roaming SIM are consecutively rejected based on the determined RF priority of the roaming SIM and the determined waiting time in operation, and the count of consecutive registration rejections is a threshold value.

400 440 911 917 923 929 4 FIG. 9 FIG. Since the descriptions of operationstoofand operationstoofmay apply to the description of operationsto, a detailed description thereof is omitted.

931 901 923 923 929 901 In operation, the electronic devicemay decrease the RF priority indicating the priority of the roaming SIM to use the RF resource. Since the registrations of the roaming SIM with the mobile network are already rejected consecutively by the threshold value prior to operation, the count of consecutive registration rejections due to rejections in operationstomay exceed the threshold value. Since the count of consecutive registration rejections exceeds the threshold value, the electronic devicemay control the priority (e.g., the RF priority) of the roaming SIM for the RF resource and/or a waiting time for retrying the registration of the roaming SIM.

931 919 In operation, the RF priority of the roaming SIM may be lowered than that in operationby decreasing the RF priority of the roaming SIM.

901 According to an embodiment, the electronic devicemay increase the waiting time for retrying the registration of the roaming SIM. For example, the waiting time may be controlled to 80 s by adding 10 s to the waiting time 70 s of the roaming SIM.

901 901 1 502 5 FIG. According to an embodiment, the electronic devicemay iteratively perform the operations described above until the roaming SIM is successfully registered. The electronic devicemay iteratively perform registration of the roaming SIM until the priority related to the registration among the RF priorities of the roaming SIM becomes lower than the priority related to the data service among the RF priorities of the local SIM (e.g., SIMof).

Hereinafter, the control of the roaming SIM with respect to the RF priority and the control of waiting time are described.

10 FIG. is a diagram illustrating an increase amount of a waiting time based on a rejection cause and a decrement of an RF priority according to an embodiment.

101 201 301 401 701 801 901 2 501 1 FIG. 2 FIG. 3 FIG. 4 FIG. 7 FIG. 8 FIG. 9 FIG. 5 FIG. According to an embodiment, an electronic device (e.g., the electronic deviceof, the electronic deviceof, the electronic deviceof, the electronic deviceof, the electronic deviceof, the electronic deviceof, and the electronic deviceof) may differently determine a decrement based on a rejection cause of registration of a roaming SIM (e.g., SIMof). The electronic device may decrease an RF priority based on the determined decrement.

According to an embodiment, the electronic device may determine a first decrement (e.g., 3) when a rejection cause is included in a first rejection cause to be greater than a second decrement (e.g., 1) when the rejection cause is included in a second rejection cause.

According to an embodiment, the first rejection cause may include a rejection cause that is more difficult to be resolved than the second rejection cause. The first rejection cause may include a more severe rejection cause than the second rejection cause.

According to an embodiment, the first rejection cause may include a rejection cause based on a problem that may persist longer than the second rejection cause. The second rejection cause may include a temporary rejection cause.

According to an embodiment, the first rejection cause may include rejection causes that are unlikely to be resolved when retrying the registration. The second rejection cause may include rejection causes that are highly likely to be resolved when retrying the registration. The second rejection cause may include rejection causes that are more likely to be resolved than the first rejection cause when retrying the registration. The first rejection cause may include a rejection cause of which the probability of being resolved is less than a threshold probability when retrying the registration. The second rejection cause may include a rejection cause of which the probability of being resolved is greater than or equal to the threshold probability when retrying the registration.

199 292 294 1 FIG. 2 FIG. 2 FIG. For example, the first rejection cause may include Reject causes #8, #27, #28, #29, #32, #33, #34, #66, #95 to 111, and #113 of the 3GPP standard specification. Reject cause #8 may occur because a network operator (e.g., a carrier) prohibits the provision of or connection to a mobile network (e.g., the second networkof, the first cellular networkof, and the second cellular networkof) for a specific user or a specific group. Reject cause #27 may occur because an access point name (APN) is missing or is not recognized. Reject cause #28 may occur when a packet data network (PDN) type is not recognized by the network. Reject cause #29 may occur when authorization and authentication to verify whether the user is authorized have failed. Reject cause #32 may occur when a requested service is not supported by the network. Reject cause #33 may occur when a requested service option is not included in a service contract of the user. Reject cause #34 may occur when a requested service option is temporarily unavailable. Reject cause #66 may occur when a requested APN is not supported by a combination of currently used wireless connection technology (e.g., radio access technology (RAT)) and a public land mobile network (PLMN). Reject causes #95 to 111 may occur due to protocol errors. Reject cause #113 may occur when multiple accesses to the same PDN connection are not allowed.

For example, the second rejection cause may include Reject cause #26, #30, #31, #38, #53, and #65 of the 3GPP standard specification. Reject cause #26 may occur when a requested task cannot be performed due to insufficient network resources. Reject cause #30 may occur when a request is rejected by a serving gateway or a PDN gateway. Reject cause #31 may occur when a request is rejected for an unidentified cause. Reject cause #38 may occur when a specific element of the network does not function or when a request is not processed due to a problem in the network. Reject cause #53 may occur when enhanced service mobility (ESM) information is not received. Reject cause #65 may occur when the maximum number of evolved packet system (EPS) bearers is reached.

For example, when the rejection cause of the registration is included in the first rejection cause, the RF priority of the roaming SIM may decrease by 3. When the rejection cause of the registration is included in the second rejection cause, the RF priority of the roaming SIM may decrease by 1.

According to an embodiment, the electronic device may decrease the priority with respect to all items included in the RF priority.

A loop for re-registration of the roaming SIM when the first rejection cause has occurred may be shorter than a loop for registration of the roaming SIM when the second rejection cause has occurred by determining the first decrement of the first rejection cause to be greater than the second decrement of the second rejection cause. When the registration is rejected for the first rejection cause, an attempt to re-register the roaming SIM may be terminated more rapidly than when the registration is rejected for the second rejection cause.

In the case of a rejection cause that is difficult to be resolved or takes a long time to be resolved, unnecessary repeated attempts to register the roaming SIM may be prevented and/or reduced at least by determining the first decrement of the first rejection cause to be greater than the second decrement of the second rejection cause.

According to an embodiment, the electronic device may differently determine an increment of the waiting time based on a rejection cause of the registration of the roaming SIM. The electronic device may increase the waiting time based on the determined increment.

According to an embodiment, the electronic device may determine a first increment (e.g., 30 s) when the rejection cause is included in the first rejection cause to be greater than a second increment (e.g., 10 s) when the rejection cause is included in the second rejection cause.

For example, when the rejection cause of the registration is included in the first rejection cause, the waiting time may increase by 30 s. When the rejection cause of the registration is included in the second rejection cause, the waiting time may increase by 10 s.

An attempt to retry the registration of the roaming SIM when the first rejection cause has occurred may occur less frequently than an attempt to retry the registration of the roaming SIM when the second rejection cause has occurred by determining the first increment of the first rejection cause to be greater than the second increment of the second rejection cause.

A frequency of cancellation of RF resource allocation to the local SIM may decrease as the attempt to retry the registration of the roaming SIM less frequently occurs when the first rejection cause has occurred.

Hereinafter, initialization of the RF priority and the waiting time is described.

11 FIG. is a diagram illustrating initialization of an RF priority and a waiting time according to an embodiment.

11 FIG. 5 FIG. 11 FIG. 1100 1110 2 501 1 Referring to, RF priority listsandindicating priorities of RF resource usage of a roaming SIM (e.g., SIMof) are illustrated. In, it is assumed that SIMis a roaming SIM.

1100 1110 1110 1100 According to an embodiment, the RF priority listmay indicate that the priority of RF resource usage decreases due to repeated registration rejections of the roaming SIM. The RF priority listmay indicate an initial priority of the roaming SIM for the RF resource usage. For example, the RF priority listmay be controlled by the RF priority listdue to repeated registration rejections of the roaming SIM.

1100 1110 1110 1110 1110 1110 1110 1110 1110 According to an embodiment, referring to each item of the RF priority list, requests of the roaming SIM for RF resources for a specific operation and an RF priority thereof are provided. For example, in the RF priority list, #0 Signaling may be a request for an RF resource to exchange a signal with the network for registration, authentication, and a service request and may have an RF priority of 7. In the RF priority list, #1 L1Highpriority may be a request for an RF resource to process a high priority request operation in layer 1 and may have an RF priority of 6. In the RF priority list, #2 Paging may be a request for an RF resource to decode a page message and may have an RF priority of 5. In the RF priority list, #3 Sysread may be a request for an RF resource to decode a broadcast message and may have an RF priority of 4. In the RF priority list, #4 measurement may be a request for an RF resource to measure a cell signal and may have an RF priority of 3. In the RF priority list, #5 Cellsearch may be a request for an RF resource to trigger a cell search and may have an RF priority of 2. In the RF priority list, #6 Pscall may be a request for an RF resource for a data service and may have an RF priority of 1. In the RF priority list, #7 Lowest may be for lowest priority allocation and may have an RF priority of 1. As the number corresponding to the RF priority increases, the allocation order of RF resources may increase. For example, even though the RF resource is allocated to the local SIM by #6 Pscall, when a request of the roaming SIM by #1 signaling is received, the RF resource may be provided to the roaming SIM.

According to an embodiment, the waiting time may increase due to repeated registration rejections of the roaming SIM. For example, the waiting time due to repeated registration rejections of the roaming SIM may be determined to be a sum of a default value and an offset. The offset may be determined to be the product of a decrement and the number of loops. A count of waiting time controls as a count of consecutive registration failures of the roaming SIM exceeds a threshold value may correspond to the number of loops.

For example, when the count of consecutive registration failures exceeding the threshold value is 3 and the decrement is 30 s, the waiting time may be determined to be the sum of the default value and 90 s.

101 201 301 401 701 801 901 1100 1 FIG. 2 FIG. 3 FIG. 4 FIG. 7 FIG. 8 FIG. 9 FIG. According to an embodiment, an electronic device (e.g., the electronic deviceof, the electronic deviceof, the electronic deviceof, the electronic deviceof, the electronic deviceof, the electronic deviceof, and the electronic deviceof) may initialize the RF priority listand the waiting time.

1100 According to an embodiment, when the roaming SIM is successfully registered, the electronic device may initialize the RF priority listand the waiting time.

1100 According to an embodiment, when a registration attempt of the roaming SIM is disabled, the electronic device may initialize the RF priority listand the waiting time.

1100 According to an embodiment, when a PLMN of the roaming SIM is changed, the electronic device may initialize the RF priority listand the waiting time.

1100 1100 According to an embodiment, when DSDS switching occurs, the electronic device may initialize the RF priority listand the waiting time. For example, when the default SIM card is changed to the other SIM, the electronic device may initialize the RF priority listand the waiting time.

1100 According to an embodiment, when the SIM is changed, the electronic device may initialize the RF priority listand the waiting time.

1100 According to an embodiment, when the electronic device is rebooted, the electronic device may initialize the RF priority listand the waiting time.

1100 1110 When the RF priority listand the waiting time are initialized, the electronic device may perform the registration of the roaming SIM with the RF priority listand the waiting time (e.g., the default value).

1100 1110 Hereinafter, a method of terminating repeated registration attempts of the roaming SIM with the mobile network by controlling the RF priority listsandis described.

12 FIG. is a diagram illustrating an operation between an electronic device and a base station according to an embodiment.

12 FIG. 1 FIG. 5 FIG. 5 FIG. 4 FIG. 5 FIG. 3 FIG. 1 FIG. 2 FIG. 3 FIG. 4 FIG. 7 FIG. 8 FIG. 9 FIG. 2 1201 2 501 1 1202 1 502 1203 503 1204 402 504 703 2 1201 1 1202 1203 101 201 301 401 701 801 901 2 1201 1 1202 2 1201 2 1202 Referring to, SIM(e.g., SIMof), SIM(e.g., SIMof), a CP(e.g., the CPof), and a base station(e.g., the base stationof, the base stationof, and the base stationof) are illustrated. SIM, SIM, and the CPmay be included in an electronic device (e.g., the electronic deviceof, the electronic deviceof, the electronic deviceof, the electronic deviceof, the electronic deviceof, the electronic deviceof, and the electronic deviceof). The electronic device may include a device that supports DSDS. Hereinafter, it is assumed that SIMis a roaming SIM, and SIMis a local SIM. Hereinafter, it is assumed that SIMdoes not provide a roaming service because, for example, SIMis not subscribed to the roaming service.

1250 1 1202 1260 1100 1110 2 1201 1250 1260 11 FIG. 11 FIG. According to an embodiment, an RF priority listmay be an RF priority list of SIM, an RF priority list(e.g., the RF priority listsandof) may be an RF priority list of SIM. Since the descriptions of the RF priority listsandare provided above with reference to, the descriptions are omitted.

1211 1239 130 120 210 1211 1239 1 FIG. 1 FIG. 2 FIG. In the following embodiments, operations may be performed sequentially but not necessarily. For example, the order of the operations may change, and at least two of the operations may be performed in parallel. At least some of operationstomay be performed by at least one component of the electronic device. For example, instructions stored in memory (e.g., the memoryof) may be collectively and/or individually executed by at least one processor (e.g., the processorofand the processorof), and the instructions may cause the electronic device to perform at least some of operationstobelow.

1211 1225 511 525 5 FIG. Since the descriptions of operationstoare provided above with reference to operationstoof, a detailed description thereof is omitted.

1260 1227 2 199 292 294 1219 1225 1227 1 FIG. 2 FIG. 2 FIG. It is assumed that the RF priority listis a decreased priority by operation. It is assumed that registrations of SIM(e.g., the roaming SIM) with a mobile network (e.g., the second networkof, the first cellular networkof, and the second cellular networkof) are consecutively rejected by operationstoprior to operation, and a count of consecutive registration rejections exceeds a threshold value.

1227 2 1201 1260 2 1201 In operation, the electronic device may decrease the priority of SIM. The electronic device may obtain the RF priority listby decreasing the priority of SIM.

10 FIG. According to an embodiment, the electronic device may differently determine a decrement of the priority based on a rejection cause. Since the method of differently determining a decrement of the priority based on a rejection cause is described above with reference to, the description thereof is omitted.

1229 1 1202 1203 1 1202 1203 In operation, SIMmay send a request to the CPto allocate resources. For example, SIMmay send a request to the CPto allocate the RF resource because of cause 6 (e.g., Pscall) having an RF priority of 1.

1231 1203 1 1202 1 1202 In operation, the CPmay allocate the RF resource to SIMin response to the request of SIMfor resource allocation.

1233 1 1202 In operation, SIMmay provide a data service by receiving the RF resource.

1235 2 1201 1203 2 1201 1203 In operation, SIMmay request allocation of the RF resource to the CP. For example, SIMmay send a request to the CPto allocate the RF resource because of cause 0 (e.g., signaling) having an RF priority of 0.

2 1201 1235 1225 According to an embodiment, SIMmay perform operationafter the waiting time is terminated according to the rejection in operation.

1237 1203 1260 2 1201 1250 1 1202 1203 1260 In operation, the CPmay determine whether the RF priority (e.g., the RF priority of 0 for cause 0 in the RF priority list) related to the registration of SIM(e.g., the roaming SIM) is less than the RF priority (e.g., the RF priority of 1 for cause 6 in the RF priority list) related to the data service of SIM(e.g., the local SIM). For example, the CPmay determine whether the priority (e.g., the priority of signaling) related to the registration of the roaming SIM in the RF priority listis less than the RF priority (e.g., the priority of Pscall) related to the data service of the local SIM.

2 1201 1 1202 1203 2 2 1204 According to an embodiment, when the RF priority related to the registration of SIMis greater than or equal to the RF priority related to the data service of SIM, the CPmay allocate the RF resource to SIM. SIMthat receives the RF resource may send a request to the base stationfor registration with the mobile network.

2 1201 1 1202 1203 2 According to an embodiment, when the RF priority related to the registration of SIMis less than the RF priority related to the data service of SIM, the CPmay reject the request of SIM.

2 1201 2 1201 1 1202 2 1201 Repeated registration requests of SIMmay be terminated by rejecting the request of SIM. The degradation of communication performance between SIMand the mobile network may be prevented and/or reduced by terminating the repeated registration requests of SIM.

13 FIG. is a diagram illustrating an operation of an electronic device when both SIMs are roaming SIMs according to an embodiment.

1310 1370 101 201 301 401 701 801 901 130 120 210 1310 1370 1 FIG. 2 FIG. 3 FIG. 4 FIG. 7 FIG. 8 FIG. 9 FIG. 1 FIG. 1 FIG. 2 FIG. In the following embodiments, operations may be performed sequentially but not necessarily. For example, the order of the operations may change, and at least two of the operations may be performed in parallel. Operationstomay be performed by at least one component of an electronic device (e.g., the electronic deviceof, the electronic deviceof, the electronic deviceof, the electronic deviceof, the electronic deviceof, the electronic deviceof, and the electronic deviceof). For example, instructions stored in memory (e.g., the memoryof) may be collectively and/or individually executed by at least one processor (e.g., the processorofand the processorof), and the instructions may cause the electronic device to perform operationstobelow.

1310 In operation, the electronic device may receive a broadcast message indicating that the electronic device is moved to a new country.

According to an embodiment, the electronic device may identify that the electronic device is moved to the new country based on an MCC included in the broadcast message.

1320 2 501 2 1201 5 FIG. 12 FIG. In operation, the electronic device may determine whether both SIMs correspond to roaming SIMs (e.g., SIMofand SIMof).

According to an embodiment, when MCCs of both SIMs are different from the MCC included in the broadcast message, the electronic device may determine that both SIMs are roaming SIMs.

13 FIG. 5 FIG. 12 FIG. 6 FIG. 1 502 1 1202 630 630 According to an embodiment, when both SIMs do not correspond to roaming SIMs, the electronic device may terminate the operation of. When it is determined that one of two SIMs is a local SIM (e.g., SIMofand SIMof) and the other one is a roaming SIM, the electronic device may perform operationand the following operations of operationin.

1330 In operation, the electronic device may determine whether there is a roaming SIM out of the two that performs better (e.g., the first roaming SIM and the second roaming SIM).

According to an embodiment, the electronic device may assess throughput speed, signal conditions, and call technology of two roaming SIMs. Based on an assessment result, the electronic device may determine whether there is a roaming SIM out of the two that performs better. For example, it is assumed that the performance of the first roaming SIM is better.

1340 In operation, the electronic device may change the usage setting of a SIM card to the first roaming SIM based on a selection of a user.

160 1 FIG. According to an embodiment, the electronic device may display a UI on a display module (e.g., the display moduleof) for notifying the user that the first roaming SIM has the better performance and receiving a command to change the default SIM card to the first roaming SIM.

According to an embodiment, the electronic device may change the first roaming SIM as the default SIM card in response to the received command.

519 525 1219 1225 5 FIG. 12 FIG. According to an embodiment, the electronic device may register the second roaming SIM with the mobile network after registering the first roaming SIM. The electronic device may register the second roaming SIM based on operationstoofand operationstoof.

1350 402 504 703 1204 4 FIG. 5 FIG. 7 FIG. 12 FIG. In operation, the electronic device may determine whether the second roaming SIM is successfully registered. The electronic device may determine whether the second roaming SIM is successfully registered based on a message received from a base station (e.g., the base stationof, the base stationof, the base stationof, and the base stationof).

13 FIG. 1360 According to an embodiment, when the second roaming SIM is successfully registered, the electronic device may terminate the operations of. When the registration of the second roaming SIM is rejected, the electronic device may perform operation.

1360 In operation, the electronic device may determine whether a count of consecutive registration failures (e.g., a count of consecutive registration rejections) of the second roaming SIM exceeds a threshold value.

1350 1350 1360 According to an embodiment, when the count of consecutive registration failures of the second roaming SIM does not exceed the threshold value, the electronic device may perform operationagain. The electronic device may iteratively perform operationsanduntil the second roaming SIM is successfully registered or the count of consecutive registration failures of the second roaming SIM exceeds the threshold value. The electronic device may retry the registration of the roaming SIM until the second roaming SIM is successfully registered or the count of consecutive registration failures of the second roaming SIM exceeds the threshold value.

1370 According to an embodiment, when the count of consecutive registration failures of the second roaming SIM exceeds the threshold value, the electronic device may perform operation.

1370 In operation, the electronic device may control the priority of the second roaming SIM for the RF resource and/or a waiting time for retrying the registration of the second roaming SIM.

According to an embodiment, the electronic device may decrease the priority of the second roaming SIM for the RF resource. When the priority of the second roaming SIM for the RF resource decreases and the RF priority for the registration of the second roaming SIM becomes lower than the RF priority for the data service of the first roaming SIM, the allocation of the RF resource to the first roaming SIM may not be canceled, even if the registration of the second roaming SIM is rejected.

According to an embodiment, the electronic device may increase the waiting time (e.g., the time of a timer (e.g., T3402 and T3502)) for retrying the registration of the second roaming SIM. A frequency of retrying the registration of the second roaming SIM may be reduced by increasing the waiting time for retrying the registration of the second roaming SIM.

According to an embodiment, the electronic device may decrease the priority of the second roaming SIM for the RF resource and may increase the waiting time for retrying the registration of the second roaming SIM.

The electronic device may prevent cancellation of the allocation of the RF resource to the first roaming SIM or may decrease the frequency by controlling the waiting time and the RF priority of the second roaming SIM. The electronic device may reduce power consumption due to repeated allocation of the RF resource and cancellation of allocation by controlling the RF priority of the second roaming SIM and the waiting time.

14 FIG. is a flowchart illustrating an operating method of an electronic device according to an embodiment.

1410 1420 101 201 301 401 701 801 901 130 120 210 1410 1440 1 FIG. 2 FIG. 3 FIG. 4 FIG. 7 FIG. 8 FIG. 9 FIG. 1 FIG. 1 FIG. 2 FIG. In the following embodiments, operations may be performed sequentially but not necessarily. For example, the order of the operations may change, and at least two of the operations may be performed in parallel. Operationstomay be performed by at least one component of an electronic device (e.g., the electronic deviceof, the electronic deviceof, the electronic deviceof, the electronic deviceof, the electronic deviceof, the electronic deviceof, and the electronic deviceof). For example, instructions stored in memory (e.g., the memoryof) may be collectively and/or individually executed by at least one processor (e.g., the processorofand the processorof), and the instructions may cause the electronic device to perform operationstobelow.

1410 199 292 294 1 FIG. 2 FIG. 2 FIG. In operation, the electronic device may detect a change of a country that provides a mobile network based on a broadcast message received via the mobile network (e.g., the second networkof, the first cellular networkof, and the second cellular networkof).

1420 2 501 2 1201 1 502 1 1202 5 FIG. 12 FIG. 5 FIG. 12 FIG. In operation, the electronic device may determine a roaming SIM (e.g., SIMofand SIMof) and a local SIM (e.g., SIMofand SIMof) based on the change of country.

1430 In operation, the electronic device may be connected to the mobile network via the local SIM.

1440 In operation, the electronic device may prevent and/or reduce the degradation of communication performance between the local SIM and the mobile network by restricting repeated resource requests of the roaming SIM for the RF resource to register the roaming SIM with the mobile network.

1410 1440 1 13 FIGS.to Since the description of operationstois provided above with reference to, a detailed description thereof is omitted.

According to an embodiment, the electronic device may include memory storing instructions. The electronic device may include at least one processor executing the instructions. When the at least one processor individually and/or collectively executes the instructions, the instructions may cause the electronic device to detect a change of a country that provides a mobile network based on a broadcast message received via the mobile network. When the at least one processor individually and/or collectively executes the instructions, the instructions may cause the electronic device to change a roaming SIM and a local SIM based on the change of country. When the at least one processor individually and/or collectively executes the instructions, the instructions may cause the electronic device to connect to the mobile network via the local SIM. When the at least one processor individually and/or collectively executes the instructions, the instructions may cause the electronic device to prevent and/or reduce degradation of communication performance between the local SIM and the mobile network by restricting repeated resource requests of the roaming SIM for an RF resource to register the roaming SIM with the mobile network.

According to an embodiment, when the at least one processor individually and/or collectively executes the instructions, the instructions may cause the electronic device to identify whether the roaming SIM is successfully registered. When the at least one processor individually and/or collectively executes the instructions, the instructions may cause the electronic device to, when the registration of the roaming SIM is rejected, determine whether a count of consecutive registration rejections of the roaming SIM exceeds a threshold value. When the at least one processor individually and/or collectively executes the instructions, the instructions may cause the electronic device to prevent and/or reduce the degradation of the communication performance due to a registration attempt of the roaming SIM, wherein the count of consecutive registration rejections of the roaming SIM exceeds the threshold value.

According to an embodiment, when the at least one processor individually and/or collectively executes the instructions, the instructions may cause the electronic device to prevent and/or reduce providing the RF resource to the roaming SIM when an RF priority related to the registration of the roaming SIM is less than an RF priority related to a data service of the local SIM.

According to an embodiment, when the at least one processor individually and/or collectively executes the instructions, the instructions may cause the electronic device to decrease an RF priority indicating a priority of using the RF resource of the roaming SIM.

According to an embodiment, when the at least one processor individually and/or collectively executes the instructions, the instructions may cause the electronic device to differently determine a decrement of the RF priority based on a rejection cause of the registration of the roaming SIM. When the at least one processor individually and/or collectively executes the instructions, the instructions may cause the electronic device to decrease the RF priority based on the determined decrement.

According to an embodiment, when the at least one processor individually and/or collectively executes the instructions, the instructions may cause the electronic device to determine a first decrement corresponding to a case in which the rejection cause is comprised in a first rejection cause to be greater than a second decrement corresponding to a case in which the rejection cause is comprised in a second rejection cause.

According to an embodiment, when the at least one processor individually and/or collectively executes the instructions, the instructions may cause the electronic device to increase a waiting time for retrying the registration of the roaming SIM.

According to an embodiment, when the at least one processor individually and/or collectively executes the instructions, the instructions may cause the electronic device to differently determine an increment of the waiting time based on a rejection cause of the registration of the roaming SIM. When the at least one processor individually and/or collectively executes the instructions, the instructions may cause the electronic device to increase the waiting time based on the determined increment.

According to an embodiment, when the at least one processor individually and/or collectively executes the instructions, the instructions may cause the electronic device to determine a first increment corresponding to a case in which the rejection cause is comprised in a first rejection cause to be greater than a second increment corresponding to a case in which the rejection cause is comprised in a second rejection cause.

810 8 FIG. According to an embodiment, when the at least one processor individually and/or collectively executes the instructions, the instructions may cause the electronic device to display a UI (e.g., the UIof) to connect the electronic device to the mobile network via the local SIM, when the change of the country is detected.

According to an embodiment, an electronic device may include memory storing instructions. The electronic device may include at least one processor executing the instructions. When the at least one processor individually and/or collectively executes the instructions, the instructions may cause the electronic device to attempt to register a roaming SIM, in response to changing a local SIM connected to a mobile network. When the at least one processor individually and/or collectively executes the instructions, the instructions may cause the electronic device to identify whether the roaming SIM is successfully registered. When the at least one processor individually and/or collectively executes the instructions, the instructions may cause the electronic device to determine whether a count of consecutive registration rejections of the roaming SIM exceeds a threshold value, when the registration of the roaming SIM is rejected. When the at least one processor individually and/or collectively executes the instructions, the instructions may cause the electronic device to control an RF priority indicating a priority of using an RF resource of the roaming SIM and/or a waiting time for retrying the registration of the roaming SIM, when the count of consecutive registration rejections of the roaming SIM exceeds the threshold value.

According to an embodiment, a method of operating an electronic device may include detecting a change of country that provides a mobile network based on a broadcast message received via the mobile network. The method may include determining a roaming SIM and a local SIM based on the change of country. The method may include connecting to the mobile network via the local SIM. The method may include preventing degradation of communication performance between the local SIM and the mobile network by restricting repeated resource requests of the roaming SIM for an RF resource to register the roaming SIM with the mobile network.

According to an embodiment, the preventing of the degradation of the communication performance may include identifying whether the roaming SIM is successfully registered. The preventing of the degradation of the communication performance may include, when the registration of the roaming SIM is rejected, determining whether a count of consecutive registration rejections of the roaming SIM exceeds a threshold value. The preventing of the degradation of the communication performance may include preventing the degradation of the communication performance due to a registration attempt of the roaming SIM, when the count of consecutive registration rejections of the roaming SIM exceeds the threshold value.

According to an embodiment, the preventing of the degradation of the communication performance due to the registration attempt of the roaming SIM may include preventing provision of the RF resource to the roaming SIM when an RF priority related to the registration of the roaming SIM is less than an RF priority related to a data service of the local SIM.

According to an embodiment, the preventing of the degradation of the communication performance due to the registration attempt of the roaming SIM may include decreasing an RF priority indicating a priority of using the RF resource of the roaming SIM.

According to an embodiment, the decreasing of the RF priority may include differently determining a decrement of the RF priority based on a rejection cause of the registration of the roaming SIM. The decreasing of the RF priority may include decreasing the RF priority based on the determined decrement.

According to an embodiment, the differently determining of the decrement of the RF priority based on the rejection cause of the registration of the roaming SIM may include determining a first decrement corresponding to a case in which the rejection cause is comprised in a first rejection cause to be greater than a second decrement corresponding to a case in which the rejection cause is comprised in a second rejection cause.

According to an embodiment, the preventing of the degradation of the communication performance due to the registration attempt of the roaming SIM may include increasing a waiting time for retrying the registration of the roaming SIM.

According to an embodiment, the increasing of the waiting time for retrying the registration of the roaming SIM may include differently determining an increment of the waiting time based on a rejection cause of the registration of the roaming SIM. The increasing of the waiting time for retrying the registration of the roaming SIM may include increasing the waiting time based on the determined increment. “Based on” as used herein covers based at least one.

Each embodiment herein may be used in combination with any other embodiment(s) described herein.

According to an embodiment, a non-transitory computer-readable storage medium may store one or more computer programs including instructions. The instructions, when executed individually and/or collectively by at least one processor, may cause an electronic device to detect a change of a country that provides a mobile network based on a broadcast message received via the mobile network. The instructions, when executed individually and/or collectively by at least one processor, may cause the electronic device to determine a roaming SIM and a local SIM based on the change of the country. The instructions, when executed individually and/or collectively by at least one processor, may cause the electronic device to connect to the mobile network via the local SIM. The instructions, when executed individually and/or collectively by at least one processor, may cause the electronic device to prevent degradation of communication performance between the local SIM and the mobile network by restricting repeated resource requests of the roaming SIM for an RF resource to register the roaming SIM with the mobile network.

The embodiments of the present disclosure disclosed in the specification and the drawings are merely presented to easily describe technical contents of various embodiments of the present disclosure and help the understanding of them and are not intended to limit the various embodiments. Therefore, all changes or modifications derived from the technical idea of the various embodiments of the present disclosure as well as the various embodiments disclosed herein should be construed to fall within the various embodiments.

Classification Codes (CPC)

Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.

Patent Metadata

Filing Date

September 4, 2025

Publication Date

April 2, 2026

Inventors

Van Hau TRUONG
Van Thinh NGUYEN
The Thoi NGUYEN
Duc Doan NGUYEN
Van Hung NGUYEN

Want to explore more patents?

Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.

Citation & reuse

Analysis on this page is generated by Patentable — an AI-powered patent intelligence platform. AI-generated summaries, explanations, and analysis may be reused with attribution and a visible link back to the canonical URL below. Patent abstracts and claims are USPTO public domain.

Cite as: Patentable. “ELECTRONIC DEVICE FOR LIMITING REPEATED REGISTRATION ATTEMPTS OF ROAMING SUBSCRIBER IDENTIFICATION MODULE AND OPERATING METHOD THEREOF” (US-20260095747-A1). https://patentable.app/patents/US-20260095747-A1

© 2026 Patentable. All rights reserved.

Patentable is a research and drafting-assistant tool, not a law firm, and does not provide legal advice. Documents we generate are drafts for review by a licensed patent attorney.