Prompting method and electronic device

By obtaining SIM card information and destination network shutdown information, the system uses a notification device to alert users to potential communication problems and provide solutions. This solves the problem of SIM cards not working properly in areas where 2G/3G networks have been shut down, thus improving the user experience.

CN122268978APending Publication Date: 2026-06-23HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
HUAWEI TECH CO LTD
Filing Date
2024-12-19
Publication Date
2026-06-23

Smart Images

  • Figure CN122268978A_ABST
    Figure CN122268978A_ABST
Patent Text Reader

Abstract

The application provides a prompting method and an electronic device. The prompting method is applied to the electronic device, a first SIM card is inserted into the electronic device, and the method comprises the following steps: when the first SIM card is a SIM card which only supports performing a first communication function by using a target mobile communication network, a prompting device is controlled to prompt a user. The technical scheme provided by the application can effectively prompt the user about possible problems and specific solutions to the problems, accurately, timely and effectively prompts, and avoids inconvenience caused by the fact that the user cannot use the communication function at the destination.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of mobile communications, and more particularly to a notification method and an electronic device. Background Technology

[0002] With the development and widespread adoption of 4G and 5G networks, many countries and regions worldwide have begun to gradually reduce or discontinue 2G and 3G network services. This network upgrade helps free up spectrum resources, supporting faster data services and new applications, and is an inevitable trend in technological development. However, some users still rely on 2G / 3G networks for communication, which means that when users are in countries / regions where 2G / 3G networks have been phased out, they may encounter problems making or receiving calls, sending or receiving text messages, or using cellular data for internet access.

[0003] Therefore, ensuring that these users can continue to use their communication functions in countries / regions where 2G / 3G networks have been phased out has become an urgent problem to be solved. Summary of the Invention

[0004] This application provides a prompting method and electronic device that can accurately and promptly prompt users of potential problems and specific solutions, effectively avoiding the inconvenience caused by users being unable to use communication functions during their trips abroad.

[0005] In a first aspect, a prompting method is provided, which is applied to an electronic device having a first subscriber identification module (SIM) card inserted therein. The method includes: when the first SIM card is a SIM card that only supports performing a first communication function using a target mobile communication network, controlling a prompting device to prompt the user.

[0006] For example, the target mobile communication network may include at least one of the following: 2G network, 3G network, 4G network, 5G network, etc.

[0007] For example, the first communication function may include at least one of the following: making and receiving phone calls, sending and receiving text messages, and using cellular data to access the Internet.

[0008] For example, the SIM card that only supports performing the first communication function using the target mobile communication network can be a SIM card of a preset type. For instance, it could be SIM card B, which was issued by operator A before March 2020. When roaming internationally, SIM card B can use cellular data to access the internet via 2G / 3G / 4G networks, but can only make and receive calls and send and receive text messages via 2G / 3G networks.

[0009] In some possible implementations, the control prompting device prompts the user, including prompting the user when the first SIM card is first inserted into the electronic device.

[0010] In some possible implementations, the control prompting device prompts the user, including: the control prompting device prompts the user periodically.

[0011] For example, if an electronic device has SIM card B inserted, and the device prompts the user every two months while SIM card B is in use, the device will provide a reminder.

[0012] Based on the above technical solution, accurate and timely prompts can be given to the user according to the information of the first SIM card.

[0013] In conjunction with the first aspect, in some implementations of the first aspect, before the control prompting device prompts the user, the method further includes: obtaining network decommissioning information of the target mobile communication network in the destination, wherein the electronic device is in roaming state at the destination; the control prompting device prompts the user, including: prompting the user based on the network decommissioning information.

[0014] For example, an electronic device with the aforementioned SIM card B inserted is in roaming mode when in country A. When the user arrives in country A, the electronic device obtains the network decommissioning information of the target mobile communication network in country A. If the network decommissioning information indicates that the 2G and 3G networks in country A have been decommissioned, the control prompt device will prompt the user.

[0015] Based on the above technical solution, the information of the first SIM card and the network deactivation information can be combined to determine whether the user will encounter communication problems, thereby providing targeted prompts to the user. At the same time, it can effectively avoid disturbing irrelevant users, so that users can receive timely, accurate and effective prompts, which is conducive to improving the user experience.

[0016] In conjunction with the first aspect, in some implementations of the first aspect, the control prompting device prompts the user based on the network deactivation information, including: when the network deactivation information indicates that the target mobile communication network in the destination has been deactivated, the control prompting device prompts the user that the first SIM card cannot be used to perform the first communication function at the destination, or prompts the user to replace the first SIM card.

[0017] Based on the above technical solution, by prompting users with possible communication problems and solutions for replacing SIM cards, users can take timely measures to deal with communication problems, avoid being unable to use primary communication functions at their destination, and effectively reduce the trouble and inconvenience caused by communication problems.

[0018] In some possible implementations, control prompts are used to prompt the user, including pop-up prompts, negative one screen prompts, lock screen prompts, and notification bar prompts.

[0019] In some possible implementations, the control prompt device prompts the user, including prompting the user to change the SIM card in non-roaming scenarios.

[0020] This solution provides users with advance warnings about potential communication issues they may encounter after traveling abroad, even in non-roaming scenarios. This helps resolve problems before users leave the country, preventing them from experiencing communication difficulties abroad and ensuring a smoother journey.

[0021] In some possible implementations, the control prompting device prompts the user, including: in roaming scenarios, the control prompting device prompts the user that the first SIM card cannot be used to perform the first communication function at the destination, and suggests the corresponding solution.

[0022] This solution provides users with solutions to communication problems encountered during roaming, enabling them to obtain timely solutions when encountering communication issues while traveling abroad or out of the country, thus reducing the inconvenience caused by communication interruptions.

[0023] In some possible implementations, before the control prompting device prompts the user, the method further includes: determining that the user has encountered a problem of being unable to make or receive phone calls or send or receive text messages; the control prompting device prompts the user, including: explaining the cause of the problem and providing corresponding solutions.

[0024] This solution enables users to receive timely explanations and guidance when encountering communication problems during roaming, effectively reducing user anxiety, helping them calmly resolve issues, and further enhancing the user experience.

[0025] In some possible implementations, before the control prompting device prompts the user, the method further includes: obtaining information on the user's usage habits of the first communication function after going abroad / leaving the country; the control prompting device prompts the user, including: when the usage habit information indicates that the user uses the first communication function at a frequency greater than or equal to a preset frequency after going abroad / leaving the country, the control prompting device prompts the user.

[0026] For example, by analyzing user usage habit information, if it is determined that the user frequently uses electronic devices to make or receive calls or send or receive text messages after going abroad / out of the country, a prompting device can be controlled to prompt the user.

[0027] For example, by analyzing user usage habits, if it is determined that a user does not use electronic devices to make or receive calls or send or receive text messages after going abroad / out of the country, no prompt may be given to the user.

[0028] This effectively avoids disturbing irrelevant users, ensuring that users receive timely, accurate, and effective prompts, which helps improve the user experience.

[0029] In conjunction with the first aspect, in some implementations of the first aspect, before obtaining the decommissioning information of the target mobile communication network in the destination, the method further includes: when the electronic device is in the destination, obtaining the first identification information of the destination; wherein, obtaining the decommissioning information of the target mobile communication network in the destination includes: when the first identification information is one of a plurality of identification information, determining that the target mobile communication network in the destination has decommissioned, wherein each of the plurality of identification information corresponds to a country / region where the target mobile communication network has decommissioned.

[0030] The aforementioned network deactivation information may include network information that has been deactivated and network information that has not yet been deactivated in the target mobile communication network at the destination.

[0031] Based on the above technical solution, it is possible to quickly and accurately determine whether the target mobile communication network in the destination has been deactivated.

[0032] For example, information about decommissioned networks may include the country, operator, frequency band, and affected area of ​​the target mobile communication network.

[0033] For example, network information that has not yet been decommissioned may include information such as the country and operator of the target mobile communication network currently in use. Furthermore, network information that has not yet been decommissioned may also include information such as the country and operator of the target mobile communication network that is planned to be decommissioned, the expected decommissioning time, and the affected areas.

[0034] In conjunction with the first aspect, in some implementations of the first aspect, the first identification information is the mobile country code (MCC) of the destination.

[0035] In some possible implementations, information about countries / regions that have already implemented 2G / 3G network shutdown can be contained in a whitelist. This whitelist includes multiple MCCs (Multiple Control Classes) for countries / regions that have already implemented 2G / 3G network shutdown, and this whitelist supports configuration and cloud communication push updates. For example, if the destination's MCC is one of multiple MCCs in the whitelist, then it is determined that the destination has implemented 2G / 3G network shutdown.

[0036] In conjunction with the first aspect, in some implementations of the first aspect, the control prompting device prompts the user based on the network decommissioning information, including: when the network decommissioning information indicates that the target mobile communication network of one or more operators in the destination has not been decommissioned, the control prompting device prompts the user to select one of the one or more operators in the destination.

[0037] In some possible implementations, in non-roaming scenarios, after detecting that a user has purchased a ticket to their destination, the electronic device can prompt the user to select a mobile carrier for that destination via a pop-up window. Upon arrival at the destination, the electronic device automatically connects to the target mobile communication network of the user-selected carrier.

[0038] In some possible implementations, during roaming, users can manually select a carrier in the system settings. The list of carrier selection includes the carrier's name, the target mobile communication network types offered by different carriers, and the types of communication functions that the first SIM card can achieve using that carrier's network.

[0039] In conjunction with the first aspect, in some implementations of the first aspect, the control prompting device prompts the user based on the network decommissioning information, including: when the target mobile communication network corresponding to one or more public land mobile networks (PLMNs) of the first operator in the destination indicated by the network decommissioning information has not been decommissioned, the control prompting device prompts the user to select one of the one or more PLMNs of the first operator at the destination.

[0040] In some possible implementations, users can manually select a PLMN by accessing the system settings. The list of PLMN selections can include different PLMN identifiers, the target mobile communication network types provided by different PLMNs, and the types of communication functions that the first SIM card can achieve using that PLMN.

[0041] In some possible implementations, the control prompting device prompts the user, including prompting the user about the signal strength corresponding to different PLMNs.

[0042] For example, the manual network selection interface displays different signal strengths for different PLMNs. By providing different signal strength references, users can have more information to choose a suitable network.

[0043] For example, users can choose the PLMN with the strongest signal to avoid choosing a PLMN with a weaker signal that would affect their mobile data usage experience.

[0044] For example, a user can choose a PLMN that provides 2G / 3G network services but has a weak signal. Although the PLMN signal is weak, the user can still make and receive calls and send text messages.

[0045] Based on the above technical solutions, users can choose the operator or PLMN that provides the target mobile communication network. This not only effectively avoids the inability of users to use normal communication services at their destination, but also provides users with a more personalized and autonomous way of choosing a network.

[0046] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes: determining, based on the issuance time of the first SIM card, that the first SIM card is a SIM card that only supports performing the first communication function using the target mobile communication network.

[0047] In one possible implementation, obtaining information about the first SIM card based on its issuance time includes: when the issuance time of the first SIM card falls within a preset time period, determining that the first SIM card is a SIM card that only supports performing a first communication function using the target mobile communication network.

[0048] Based on the above technical solution, the information of the first SIM card can be obtained quickly and accurately according to the issuance time.

[0049] In some possible implementations, the issuance time of the first SIM card can be determined by its integrated circuit card ID (ICCID).

[0050] For example, firstly, it is determined that the first SIM card is a SIM card of operator A. Secondly, the ICCID of the first SIM card consists of "AABBCC MFSS YYGXX XXXXX", where "YY" is 18, indicating that the first SIM card was issued in 2018. Since the SIM cards issued by operator A before March 2020 are SIM cards B, the first SIM card is determined to be SIM card B, where SIM card B is a SIM card that only supports performing the first communication function using the target mobile communication network.

[0051] In conjunction with the first aspect, in some implementations of the first aspect, the home public land mobile network (HPLMN) of the first SIM card in a non-roaming scenario is the first HPLMN. The method further includes: when the electronic device is at its destination, obtaining an updated second HPLMN; if the first HPLMN is one of a preset set of first HPLMNs and / or the second HPLMN is one of a preset set of second HPLMNs, determining that the first SIM card is a SIM card that only supports performing the first communication function using the target mobile communication network.

[0052] In some possible implementations, the first SIM card can be determined to be a SIM card that only supports performing the first communication function using the target mobile communication network, provided that the first HPLMN is in the first HPLMN set or the second HPLMN is in the second HPLMN set.

[0053] In some possible implementations, both the first HPLMN and the second HPLMN must be in the first HPLMN set for it to be determined that the first SIM card is a SIM card that only supports performing the first communication function using the target mobile communication network. For example, if the first HPLMN is 46003 or 46011 and the second HPLMN is 20404, then it can be determined that the first SIM card is SIM card B.

[0054] Based on the above technical solution, the information of the first SIM card can be accurately obtained, which helps to provide accurate prompts to the user.

[0055] In conjunction with the first aspect, in some implementations of the first aspect, the HPLMN of the first SIM card in a non-roaming scenario is the first HPLMN. The method further includes: when the electronic device is in a non-roaming scenario, obtaining first information for the first SIM card, the first information being used to request the HPLMN of the electronic device at the destination; in response to obtaining the first information, obtaining an updated third HPLMN; if the first HPLMN is one of a preset first HPLMN set and / or the third HPLMN is one of a preset third HPLMN set, determining that the first SIM card is a SIM card that only supports performing the first communication function using the target mobile communication network.

[0056] In one possible implementation, the processor can generate first information and send the first information to the first SIM card.

[0057] In one possible implementation, the first information can be pseudo-location information. For example, the first information may include a first PLMN, whose MCC is different from that of a first HPLMN. For instance, the SIM card user initially registered with a network operator located in China, with an MCC of 460. Therefore, the first information can carry PLMN information with a non-460 MCC to disguise the electronic device as being located in a country / region other than China. This allows for the simulation of a roaming scenario in non-roaming situations, thereby obtaining updated HPLMN information.

[0058] For example, in a non-roaming scenario, after determining that the first SIM card belongs to operator A, the ICCID is used to determine that the SIM card was issued in 2020. However, since the ICCID cannot further determine whether the specific month of issuance was January-March 2020 or April-December 2020, the HPLMN can be updated by obtaining the first information. Then, the updated third HPLMN is obtained. If the third HPLMN is 20404, then the first SIM card is determined to be SIM card B.

[0059] In conjunction with the first aspect, in some implementations of the first aspect, obtaining the decommissioning information of the target mobile communication network in the destination includes: obtaining the decommissioning information based on at least one of the user's travel information, information stored in the memo application, and information stored in the calendar application.

[0060] Based on the above technical solution, the network cancellation information of the destination can be obtained in real time according to the user's travel plan and other information, which helps to provide timely reminders to users.

[0061] In some possible implementations, users book airline tickets through travel and transportation apps and hotels through lifestyle apps. Electronic devices can detect users' travel information and accommodation booking information through contextual intelligence recognition, thereby determining that the user is about to go to a certain destination and then obtaining the network decommissioning information of the target mobile communication network in that destination.

[0062] In some possible implementations, users record their travel plans through apps such as memo apps and calendar apps. Electronic devices can detect users' travel plans through contextual intelligence recognition, thereby determining that the user is about to go to a certain destination, and then obtaining the network decommissioning information of the target mobile communication network at the destination.

[0063] In some possible implementations, the electronic device can also receive SMS messages from the operator notifying the user to change the SIM card. If the operator sends an SMS message reminding the user to change the SIM card, the electronic device can control a notification device to prompt the user to check the SMS message content in a timely manner to prevent the user from missing important SMS notifications.

[0064] In a second aspect, an electronic device is provided, comprising: one or more processors; one or more memories; and one or more computer programs, wherein the one or more computer programs are stored in the one or more memories, and the one or more computer programs include instructions that, when executed by the one or more processors, cause the electronic device to perform any of the possible methods described in the first aspect.

[0065] Thirdly, a chip is provided that includes circuitry for performing any of the possible methods described in the first aspect.

[0066] Fourthly, a computer-readable storage medium is provided that stores instructions which, when executed on an electronic device, cause the electronic device to perform any of the possible methods described in the first aspect.

[0067] Fifthly, a computer program product is provided that, when run on an electronic device, causes the electronic device to perform any of the possible methods described in the first aspect. Attached Figure Description

[0068] Figure 1 This is a schematic diagram of the structure of an electronic device 100 provided in an embodiment of this application.

[0069] Figure 2 This is a software structure block diagram of an electronic device 100 provided in an embodiment of this application.

[0070] Figure 3 This is a prompting method 300 provided in the embodiments of this application.

[0071] Figure 4 This is a flowchart of a method 400 for obtaining information of a first SIM card, provided in an embodiment of this application.

[0072] Figure 5 This is a flowchart of a method 500 for obtaining information of a first SIM card at a destination, as provided in an embodiment of this application.

[0073] Figure 6 This is a flowchart of a method 600 for obtaining information of a first SIM card in a non-roaming scenario, as provided in an embodiment of this application.

[0074] Figure 7 This application provides a method 700 for region awareness.

[0075] Figure 8 This is a schematic diagram of a prompting method provided in an embodiment of this application.

[0076] Figure 9 This is a schematic diagram of a prompting method provided in an embodiment of this application.

[0077] Figure 10 This is a schematic diagram of a prompting method provided in an embodiment of this application.

[0078] Figure 11 This is a schematic diagram of a prompting method provided in an embodiment of this application.

[0079] Figure 12 This is a schematic diagram of a manual screen selection step provided in an embodiment of this application.

[0080] Figure 13 This is a schematic diagram of a manual screen selection method provided in an embodiment of this application.

[0081] Figure 14 This is a schematic diagram of a prompting method provided in an embodiment of this application.

[0082] Figure 15 This is a schematic diagram of a prompting method provided in an embodiment of this application.

[0083] Figure 16 This is a prompting method 1600 provided in the embodiments of this application.

[0084] Figure 17 This is a software structure block diagram of an electronic device 100 provided in an embodiment of this application.

[0085] Figure 18 This is a prompting method 1800 provided in the embodiments of this application. Detailed Implementation

[0086] The technical solutions of the embodiments of this application will be described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B; "and / or" in this document is merely a description of the association relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. "At least one" refers to one or more. For example, "at least one of A and B," similar to "A and / or B," describes the association relationship between related objects, indicating that three relationships can exist. For example, at least one of A and B can represent: A existing alone, A and B existing simultaneously, and B existing alone.

[0087] The prefixes such as "first" and "second" used in this application embodiment are merely for distinguishing different descriptive objects and do not limit the position, order, priority, quantity, or content of the described objects. The use of ordinal numbers and other prefixes used to distinguish descriptive objects in this application embodiment does not constitute a limitation on the described objects. The description of the described objects is given in the claims or the context of the embodiments, and should not constitute unnecessary restrictions due to the use of such prefixes. Furthermore, in the description of this embodiment, unless otherwise stated, "multiple" means two or more.

[0088] The methods in some embodiments of this application can be applied to electronic devices such as smartphones, tablets, laptops, personal computers (PCs), ultra-mobile personal computers (UMPCs), netbooks, in-vehicle devices, smart TVs, wearable devices, foldable devices, and Internet of Things (IoT) devices.

[0089] Figure 1This diagram illustrates the structure of an electronic device 100 according to an embodiment of this application. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, antenna 1, antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a SIM card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a proximity sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, and a touch sensor 180K.

[0090] The wireless communication function of electronic device 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.

[0091] The mobile communication module 150 can provide mobile communication solutions for use on the electronic device 100, including Global System for Mobile Communications (GSM), Universal Mobile Telecommunications System (UMTS), Long Term Evolution (LTE) technology, and New Radio (NR) technology.

[0092] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), Bluetooth low energy (BLE), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies.

[0093] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling electronic device 100 to communicate with networks and other devices via wireless communication technology. SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into or removed from SIM card interface 195 to achieve contact and separation with electronic device 100. Electronic device 100 can support one or N SIM card interfaces, where N is a positive integer greater than 1. SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. A single SIM card can be inserted into the same SIM card interface 195, or multiple cards can be inserted simultaneously, where the multiple cards can be of the same or different types. SIM card interface 195 is also compatible with different types of SIM cards. Electronic device 100 can interact with the network through the SIM card to achieve functions such as calls and data communication. In some embodiments, electronic device 100 uses eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in electronic device 100 and cannot be separated from electronic device 100.

[0094] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0095] It is understood that the interface connection relationships between the modules illustrated in the embodiments of this application are merely illustrative and do not constitute a structural limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.

[0096] Figure 2 This is a software structure block diagram of an electronic device 100 provided in an embodiment of this application. The layered architecture divides the software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the operating system is divided into four layers, from top to bottom: the application layer, the application framework layer, the system library, and the kernel layer. The application layer may include a series of application packages.

[0097] like Figure 2 As shown, the application package can include apps such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, SMS, wallet, and notes.

[0098] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.

[0099] like Figure 2 As shown, the application framework layer may include a phone manager, window manager, content provider, view system, resource manager, notification manager, etc.

[0100] The telephone manager is used to provide communication functions for electronic device 100. For example, it manages call status (including connection, hang-up, etc.).

[0101] The window manager is used to manage windowed applications. It can retrieve screen size, determine the presence of a status bar, lock the screen, and capture screenshots, among other things.

[0102] The notification manager allows applications to display notifications in the status bar. These notifications can be used to convey informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of download completion or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating electronic devices, and flashing indicator lights.

[0103] The following describes the communication problems that may be encountered when the SIM card in electronic device 100 is a SIM card that only supports certain communication functions using a specific mobile communication network during international roaming.

[0104] International roaming refers to the ability of an electronic device to use communication functions in other countries / regions when it leaves the country / region where its home network is located. Users who have activated international roaming can continue to use communication functions, including making and receiving calls, sending and receiving text messages, and using cellular data to access the internet, in other countries / regions without changing their mobile phone number or SIM card.

[0105] With the vigorous promotion of 4G / 5G networks, the resources freed up from the decommissioning of 2G / 3G networks are being reallocated for the construction and development of 4G / 5G networks. This helps to reduce overall network operating costs and improve network efficiency. Therefore, the decommissioning of 2G / 3G networks is an inevitable choice for the upgrading of mobile communication networks and is also a mainstream international practice. Currently, many countries / regions around the world have completed the complete decommissioning of their 2G / 3G networks, such as the United States and Australia. Some countries / regions have also completed the partial decommissioning of their 2G / 3G networks, such as Thailand and India.

[0106] However, some users still have SIM cards that only support some or all of the communication functions of 2G / 3G networks. Therefore, when these users arrive in countries / regions where 2G / 3G networks are being phased out, they may face problems making or receiving calls, sending or receiving text messages, or using cellular data for internet access.

[0107] For example, a domestic operator A issued a SIM card B before March 2020. SIM card B's international roaming service was offered in cooperation with a foreign operator C. During international roaming, SIM card B's International Mobile Subscriber Identity (IMSI) would be refreshed to the IMSI of an operator C SIM card. Simultaneously, SIM card B's HPLMN would also be updated to 20404. Here, the IMSI can be a unique identifier used to distinguish different users within a network; the HPLMN can be the original network to which the mobile user subscribed to the service. Therefore, in international roaming scenarios, SIM card B would be used as an operator C SIM card.

[0108] However, for business reasons, SIM card B's international roaming service does not support Voice Over Long-Term Evolution (VoLTE) and 5G network communication. Therefore, in international roaming scenarios, users can use SIM card B to access the internet via 2G / 3G / 4G networks using cellular data, but only making and receiving calls and sending / receiving text messages via 2G / 3G networks are supported. When users of SIM card B arrive in countries / regions where 2G / 3G networks are discontinued, they may not be able to make or receive calls and send / receive text messages normally.

[0109] For example, a user with SIM card B arrives in region A, where all 2G / 3G networks have been decommissioned and 4G / 5G network services are available. If the user with SIM card B chooses to connect to the 4G network, they can use cellular data to access the internet, but cannot make or receive calls or send / receive text messages. If the user with SIM card B uses an electronic device to connect to the 5G network, they will also be unable to make or receive calls, send / receive text messages, or use cellular data to access the internet.

[0110] Therefore, if SIM card B users need to travel abroad, they may face the problem of not being able to use the communication function normally, which will seriously affect the user experience. This could lead to complaints against the operator, or even the termination of use of the operator's services or specific brands of electronic devices.

[0111] Since the roaming plan for SIM card B cannot be changed, SIM card B needs to be replaced to resolve the issue of users being unable to use communication functions normally in countries / regions where 2G / 3G networks have been decommissioned.

[0112] Therefore, how to prompt users to change their SIM cards is an important issue. In some implementations, SMS notifications are used to remind users to change SIM cards. However, this method has the following drawbacks:

[0113] (1) Text messages are easily ignored by users;

[0114] (2) Text messages may disturb users who have not traveled abroad;

[0115] (3) Users who have already left the country may not receive the text message.

[0116] This shows that SMS notifications, as a means of reminders, are not very effective.

[0117] This application provides a prompting method and electronic device that can provide accurate and timely prompts to users based on SIM card information.

[0118] Some embodiments of this application are further described below. Figure 3 An embodiment of this application provides a prompting method 300, which can be used in an electronic device 100. For example... Figure 3 As shown, the method 300 includes:

[0119] S301, obtain information about the first SIM card in the electronic device and obtain network deactivation information of the target mobile communication network in the destination. The electronic device is in roaming state when it is in the destination.

[0120] The information of the first SIM card may include a series of data used to identify and verify the attributes of the SIM card itself.

[0121] Optionally, obtaining the network decommissioning information of the target mobile communication network in the destination includes: obtaining the aforementioned network decommissioning information when the electronic device is in roaming mode.

[0122] For example, when a user is traveling abroad, electronic devices can use location services to determine the user's actual location.

[0123] Optionally, obtaining the network decommissioning information of the target mobile communication network in the destination includes: obtaining the aforementioned network decommissioning information when the electronic device is in a non-roaming state.

[0124] For example, when an electronic device is in a non-roaming scenario, it can obtain the user's planned destination. For instance, when it detects that the user has purchased a ticket to that destination, it can obtain the network cancellation information for that destination.

[0125] It's important to note that the destination is different from the country / region where the user initially registered the first SIM card. For example, if the first SIM card was registered in China, the destination could be another country / region, such as the United States, Australia, or Thailand. Therefore, the electronic device will be in roaming mode at the destination.

[0126] The target mobile communication network can be any specific mobile communication network that a user chooses to access in order to use communication functions normally when located at their destination. For example, the target mobile communication network may include at least one of the following networks: 2G network, 3G network, 4G network, and 5G network. This application does not limit the target mobile communication network.

[0127] Optionally, obtaining information about the first SIM card in the electronic device includes: obtaining information about the first SIM card based on its issuance time.

[0128] For example, obtaining information about the first SIM card based on its issuance time includes: when the issuance time of the first SIM card is within a preset time period, it can be determined that the first SIM card is a SIM card that only supports performing the first communication function using the target mobile communication network.

[0129] Figure 4 A flowchart of a method 400 for obtaining information of a first SIM card according to an embodiment of this application is shown. Method 400 can be used to determine whether the first SIM card is the aforementioned SIM card B. Figure 4 As shown, the method 400 includes:

[0130] S401, determine whether the first SIM card is a SIM card from operator A.

[0131] For example, if the first SIM card is a SIM card of operator A, then S402 is executed; otherwise, S405 is executed.

[0132] For example, it can be determined whether the first SIM card belongs to operator A by judging its HPLMN. Operator A's HPLMNs include 46003, 46005, and 46011. Therefore, if the first SIM card's HPLMN is any one of 46003, 46005, and 46011, it can be determined that the first SIM card belongs to operator A. If the first SIM card's HPLMN does not belong to any one of 46003, 46005, and 46011, it can be determined that the first SIM card does not belong to operator A, and therefore is not SIM card B either.

[0133] S402, obtain the ICCID of the first SIM card.

[0134] The ICCID is a unique identification number for a SIM card, which can contain information related to the issuance of the SIM card. For example, the ICCID can consist of 20 digits, such as "AABBCC MFSS YYGXX XXXXX". Here, "AA" represents the international code; "BB" represents the country code, such as 86 for China; "CC" represents the operator code, such as 03 for operator A; "M" represents the number range, corresponding to the first three digits of the user's number, such as 0 for 159 and 1 for 158; "F" represents the fourth digit; "SS" represents the province code, such as 01 for Beijing and 03 for Hebei; "YY" represents the last two digits of the card manufacturing year, such as 19 for 2019 and 20 for 2020; "G" represents the supplier code; and the last seven digits "XX XXXXX" represent the user identification code.

[0135] In some embodiments of this application, the issuance year of the first SIM card can be obtained through the ICCID. For example, if "YY" in the ICCID is 18, it indicates that the first SIM card was issued in 2018. S403: Determine whether the issuance year of the first SIM card is in 2019 or earlier.

[0136] For example, if the first SIM card was issued in 2019 or earlier, then S404 is executed. Otherwise, S405 is executed.

[0137] S404, confirming that the first SIM card is SIM card B.

[0138] S405, confirmed that the first SIM card is not SIM card B.

[0139] Optionally, in a non-roaming scenario, the HPLMN of the first SIM card is the first HPLMN. Before obtaining the information of the first SIM card in the electronic device, the method further includes: obtaining the updated second HPLMN when the electronic device is at its destination; wherein obtaining the information of the first SIM card in the electronic device includes: if the first HPLMN is one of a preset first HPLMN set and / or the second HPLMN is one of a preset second HPLMN set, determining that the first SIM card is a SIM card that only supports performing the first communication function using the target mobile communication network.

[0140] The aforementioned first HPLMN may be the network identifier of the network operator to which the user of the first SIM card initially signed up.

[0141] The methods provided in some embodiments of this application allow for the rapid and accurate acquisition of information about a first SIM card based on its issuance time.

[0142] Figure 5 A flowchart of a method 500 for obtaining information of a first SIM card at a destination, according to an embodiment of this application, is shown. Method 500 can be used to determine whether the first SIM card is the aforementioned SIM card B in a roaming scenario. Figure 5 As shown, the method 500 includes:

[0143] S501: Determine that the electronic device is in a non-roaming scenario.

[0144] For example, a method for determining that an electronic device is in a non-roaming scenario may include: obtaining the PLMN that the electronic device is connected to, and determining whether the user's location matches the location of the network operator initially registered with the PLMN through the MCC in the PLMN. If they match, the device is determined to be in a non-roaming scenario; otherwise, it is determined to be in a roaming scenario.

[0145] A PLMN refers to a mobile communication network provided by a mobile network operator. Each country can have one or more operators; for example, country X might have operators A, R, and S. Each operator can have one or more PLMNs. For instance, operator R's PLMNs include 46000, 46002, 46007, 46008, and 46020; operator A's PLMNs include 46003, 46005, and 46011; and operator S's PLMNs include 46001, 46006, and 46009. As shown above, each PLMN has a unique identifier, consisting of an MCC (Mobile Code Classification) and a Mobile Network Code (MNC). Since each country / region has a unique MCC—for example, China's MCC is 460, and the United States' MCC is 310—the user's location can be determined through the MCC in the PLMN.

[0146] For example, if the obtained PLMN is 46003, it can be determined that the SIM card user is using operator A's network and is located in country X. For users who have signed up in country X, it can be determined that they are in a non-roaming scenario.

[0147] S502: Determine whether the first HPLMN is 46003 or 46011.

[0148] For example, if the first HPLMN is 46003 or 46011, execute S503. Otherwise, execute S506.

[0149] Since the first HPLMN of SIM card B includes 46003 or 46011, it can be determined by the first HPLMN. If the first HPLMN of the first SIM card is neither 46003 nor 46011, then the first SIM card is not SIM card B.

[0150] S503: Determine whether the electronic device is switching from a non-roaming scene to a roaming scene.

[0151] In some embodiments, the switch of an electronic device from a non-roaming scenario to a roaming scenario can be determined by acquiring changes in the PLMN accessed by the electronic device over a period of time. For example, if the MCC of the PLMN accessed by the SIM card changes from 460 to 310 within 24 hours, it indicates that the network the user is connected to has switched from a network in China to a network in the United States, thus determining that the electronic device has switched from a non-roaming scenario to a roaming scenario.

[0152] S504: Determine if the second HPLMN is 20404.

[0153] For example, if the second HPLMN is 20404, execute S505. Otherwise, execute S506.

[0154] As mentioned above, the roaming scheme used by SIM card B is as follows: in roaming scenarios, the HPLMN of SIM card B will be updated, and the updated HPLMN will be 20404. Therefore, by determining whether the first SIM card is SIM card B, it can be determined whether the second HPLMN is 20404 after the electronic device switches to a roaming scenario.

[0155] S505: Confirm that the first SIM card is SIM card B.

[0156] S506: Determined that the first SIM card is not SIM card B.

[0157] Optionally, the HPLMN of the first SIM card in a non-roaming scenario is the first HPLMN. Before obtaining the information of the first SIM card in the electronic device, the method further includes: when the electronic device is in a non-roaming scenario, obtaining first information for the first SIM card, the first information being used to request the HPLMN of the electronic device at the destination; in response to obtaining the first information, obtaining a third HPLMN; wherein obtaining the information of the first SIM card in the electronic device includes: if the first HPLMN is one of a preset first HPLMN set and / or the third HPLMN is one of a preset third HPLMN set, determining that the first SIM card is a SIM card that only supports performing the first communication function using the target mobile communication network.

[0158] For example, the first information may include a first PLMN, whose MCC is different from that of a first HPLMN. For instance, if the SIM card user initially registered with a network operator located in China, with an MCC of 460, the first information may carry PLMN information with a non-460 MCC to disguise the electronic device as being in a country / region other than China. This example method can simulate a roaming scenario in a non-roaming environment to obtain updated HPLMN information.

[0159] Figure 6 A flowchart of a method 600 for obtaining information of a first SIM card in a non-roaming scenario, according to an embodiment of this application, is shown. Method 600 can be used to determine whether the first SIM card is the aforementioned SIM card B in a non-roaming scenario. Figure 6 As shown, the method 600 includes:

[0160] S601: Determine whether the first HPLMN is 46003 or 46011.

[0161] For example, if the first HPLMN is 46003 or 46011, execute S602. Otherwise, execute S607.

[0162] S602: Obtain the ICCID of the first SIM card.

[0163] S603: Determine whether the first SIM card was issued in 2019 or earlier.

[0164] For example, if the first SIM card was issued in 2019 or earlier, execute S604. Otherwise, execute S605.

[0165] S604: Confirm that the first SIM card is SIM card B.

[0166] S605: Obtain first information, the first information carries the first PLMN.

[0167] S606: Obtain the third HPLMN and determine if the third HPLMN is 20404.

[0168] If the third HPLMN is 20404, execute S604. Otherwise, execute S607.

[0169] S607: Determined that the first SIM card is not SIM card B.

[0170] In some implementations, after determining that the first SIM card belongs to operator A, the issuance year of the SIM card is determined to be 2020 through the ICCID. However, since the ICCID cannot further determine whether the specific month of issuance is January-March 2020 or April-December 2020, the HPLMN can be updated by obtaining the first information. Then, the updated third HPLMN is obtained. If the third HPLMN is 20404, then the first SIM card is determined to be SIM card B.

[0171] Optionally, before obtaining the decommissioning information of the target mobile communication network in the destination, the method further includes: obtaining first identification information of the destination when the electronic device is in the destination; wherein obtaining the decommissioning information of the target mobile communication network in the destination includes: determining that the target mobile communication network in the destination is decommissioned when the first identification information is one of multiple identification information, wherein each identification information in the multiple identification information corresponds to a country / region where the target mobile communication network is decommissioned.

[0172] In some embodiments provided in this application, the network decommissioning information may include network information in the target mobile communication network at the destination that has been decommissioned and has not yet been decommissioned.

[0173] For example, network information that has been decommissioned may include the country, operator, frequency band of the decommissioned target mobile network, and affected area.

[0174] For example, network information that has not yet been decommissioned may include information such as the country and operator of the target mobile network currently in use. Furthermore, network information that has not yet been decommissioned may also include information such as the country, operator, expected decommissioning time, and affected areas of the target mobile network that is currently not decommissioned but is planned to be decommissioned.

[0175] Among them, network decommissioning information can serve as a general overview of the operation of the target mobile communication network in the destination. It can not only cover the historical decommissioning records of the target mobile communication network, but also include future decommissioning plans and announcements, so that electronic devices can make corresponding preparations accordingly.

[0176] Table 1 shows a schematic list reflecting the decommissioning status of a target mobile communication network, provided by an embodiment of this application.

[0177] As shown in Table 1, the list includes identifiers for different countries / regions to distinguish different destinations.

[0178] The identifier may include: the name of the country / region expressed in different languages, MCC, country code from the International Organization for Standardization (ISO) standards, etc. This application does not limit the type and content of the identifier.

[0179] Table 1 also lists the operators in each country / region, and for each operator, lists the currently operating and decommissioned PLMNs.

[0180] In some embodiments, the decommissioning information of the target mobile communication network in the destination can be obtained using the list shown in Table 1. For example, the list shown in Table 1 can be used to determine which 2G / 3G networks in the United States have been decommissioned, or the list can be used to determine which 2G / 3G networks in China have not been decommissioned.

[0181] The list shown in Table 1 comprehensively and meticulously covers the network decommissioning status of various countries / regions, operators, and PLMNs worldwide, providing a reliable basis for the notification method in this application embodiment.

[0182] Table 1

[0183]

[0184] Figure 7 This application illustrates a region-aware method 700, which can be used to determine whether an electronic device is roaming in a country where 2G / 3G networks have been decommissioned. In method 700, information on countries / regions that have implemented 2G / 3G network decommissioning can be located in a whitelist, which supports configuration and cloud communication push updates. For example, this whitelist can include the MCCs (Multi-Category Controls) of countries / regions that have implemented 2G / 3G network decommissioning. Figure 7 As shown, method 700 includes:

[0185] S701: Determine that the electronic device is in a non-roaming scenario.

[0186] S702: Determine whether the electronic device is switching from a non-roaming scene to a roaming scene.

[0187] S703: Determine if the destination's MCC is in the whitelist.

[0188] For example, if the destination's MCC is in the whitelist, execute S704. Otherwise, execute S705.

[0189] S704: Determine the destination and implement 2G / 3G network shutdown.

[0190] S705: The destination has not implemented 2G / 3G network shutdown.

[0191] For example, when a user switches from a non-roaming scenario to a roaming scenario, the PLMN accessed by the user is obtained as 23401, and the MCC of the destination is determined to be 234, corresponding to Nigeria. Since Nigeria's MCC "234" is not in the whitelist provided in this application embodiment, it can be determined that the destination has not implemented 2G / 3G network shutdown.

[0192] Optionally, obtaining the network decommissioning information of the target mobile communication network in the destination includes: obtaining the network decommissioning information based on at least one of the user's travel information, information stored in the memo application, and information stored in the calendar application.

[0193] For example, a user books a flight from Beijing to Sydney through a travel app. The electronic device detects the user's flight booking information and determines that the user plans to travel abroad to Australia. Therefore, the cancellation information for Australia can be obtained from the list shown in Table 1.

[0194] For example, a user books a hotel stay in Los Angeles through a lifestyle app. The electronic device detects the user's booking information and determines that the user plans to travel abroad to the United States. Therefore, the user's delisting information for the United States can be obtained from the whitelist described in method 700.

[0195] For example, a user adds a note about a business trip to the United States through a memo app and adds a corresponding calendar reminder. The electronic device detects the user's memo information and calendar reminder information, determines that the user is about to travel to the United States, and therefore obtains the U.S. deactivation information.

[0196] It should be noted that if the information processed in this application involves users' personal information (such as location tracking information, flight booking information, accommodation booking information, memo information, calendar reminder information, etc.), the processing of users' personal information will be based on legality, and users will be fully informed and authorized, in accordance with the relevant laws and regulations on personal information protection in the country / region where the application is made.

[0197] S302, if the information of the first SIM card indicates that the first SIM card is a SIM card that only supports performing the first communication function using the target mobile communication network, the control prompting device prompts the user according to the network deactivation information.

[0198] The first communication function may include at least one of the following: making and receiving phone calls, sending and receiving text messages, and using cellular data to access the Internet.

[0199] Optionally, based on the network deactivation information, the control prompting device prompts the user, including: if the network deactivation information indicates that the target mobile communication network in the destination has been deactivated, the control prompting device prompts the user that the first SIM card cannot be used to perform the first communication function in the destination, or prompts the user to replace the first SIM card.

[0200] For example, in a non-roaming scenario, the system intelligently identifies that the user is about to travel to the United States based on context. Because the whitelist includes the US's MCC (Multi-Channel Code for Communications), it determines that the US is implementing 2G / 3G network shutdown. The control prompt device then prompts the user with the following message: "Dear user, Operator A's international / Hong Kong, Macau, and Taiwan roaming service has been fully upgraded. We have detected that your SIM card is an older card. Users with older cards need to go to a service center to replace it with a new card to ensure uninterrupted communication during your trip abroad. Currently, we have detected that you plan to travel abroad. We recommend that you go to a service center to replace your card with a new one before your trip. There is no charge for the replacement."

[0201] Figure 8 A schematic diagram of a prompting method provided in an embodiment of this application is shown. For example... Figure 8 As shown in (A), a user purchased a plane ticket from location M to location N within China. Since location N is on the whitelist mentioned above, the electronic device can prompt the user to replace their SIM card in a timely manner.

[0202] like Figure 8 As shown in (B), after the flight ticket is issued, the electronic device displays a "SIM Card Replacement Notice," along with the specific message: "Dear user, Operator A's international / Hong Kong, Macau, and Taiwan roaming service has been fully upgraded. We have detected that your SIM card is an old card. Users with old cards need to go to a service center to replace it with a new card to ensure uninterrupted communication during your trip abroad. We recommend that you replace your card with a new one before traveling abroad. There is no charge for card replacement." The message also includes a cancel button and a "Learn More" button. Users can click the cancel button to close the pop-up window or click the "Learn More" button to view more information. This helps remind users to replace their SIM cards in a timely manner.

[0203] The methods described in some embodiments of this application can prompt users to change their SIM cards in non-roaming scenarios, which helps to resolve potential communication problems before users travel abroad, avoid the inconvenience of not being able to use communication functions normally abroad, and increase the guarantee for a smooth journey.

[0204] For example, in a roaming scenario, it is determined that the user is in the United States, and the US has already implemented 2G / 3G network shutdown. However, it may not be possible to replace the user's SIM card in the US. Therefore, the electronic device can provide a temporary solution to the user through a prompt. The prompt could be: "Dear user, Operator A's international / Hong Kong, Macau, and Taiwan roaming service has been fully upgraded. We have detected that your SIM card is an old card and you need to go to a service center to replace it with a new card to restore normal communication. Currently, we have detected that you are overseas, and it may be temporarily impossible to replace your SIM card. We suggest you contact your operator for remote support as soon as possible."

[0205] Figure 9 A schematic diagram of a prompting method provided in an embodiment of this application is shown. For example... Figure 9 As shown in (A), upon arrival at location N, the electronic device will display an "Arrival Notice" along with the message "You have arrived at location N!". Since location N is on the whitelist mentioned above, the electronic device can alert the user to potential communication problems encountered at location N. Figure 9 In the status bar of the electronic device shown in (A), icon 901 indicates that the electronic device has successfully connected to the mobile communication network, which is a 4G network; icon 902 indicates that the electronic device cannot currently make or receive phone calls; and icon 903 indicates that the electronic device cannot currently send or receive text messages. The meanings of the same icons will not be repeated below.

[0206] like Figure 9 As shown in (B), when a user is in location N, because it is inconvenient to change the SIM card in location N, the electronic device will display a "Communication Problem Notice," along with the specific message: "Dear user, hello! Operator A's international / Hong Kong, Macao and Taiwan roaming service has been fully upgraded. It has been detected that your SIM card is an old card, and you need to go to a business hall to replace it with a new card to restore normal communication. Currently, it has been detected that you are overseas, and it may be temporarily impossible to change your SIM card. We suggest you contact your operator for remote support as soon as possible, thank you." There are also a cancel control and a "Learn More" control. Users can click the cancel control to close the pop-up window and click the "Learn More" control to view more related information. This helps to promptly inform users of potential communication problems they may encounter in location N.

[0207] The methods described in some embodiments of this application can prompt users with potential communication problems in roaming scenarios and provide corresponding solutions. This helps users to obtain timely solutions when encountering communication problems during their trips abroad, reducing the inconvenience caused by communication interruptions.

[0208] Optionally, based on the network decommissioning information, the control prompting device prompts the user, including: when the network decommissioning information indicates that the target mobile communication network of one or more operators in the destination has not been decommissioned, the control prompting device prompts the user to select one of the one or more operators in the destination.

[0209] Optionally, based on the network decommissioning information, the control prompting device prompts the user, including: when the target mobile communication network corresponding to one or more PLMNs under the first operator in the destination indicated by the network decommissioning information has not been decommissioned, the control prompting device prompts the user to select one of the one or more PLMNs under the first operator in the destination.

[0210] Generally, the phasing out of 2G / 3G networks in a country / region can include both complete and partial phasing out, as explained below:

[0211] (1) Complete network shutdown: This means that in this country / region, all operators have stopped providing 2G and 3G services and only provide 4G or higher standard network services.

[0212] (2) Partial withdrawal: Partial withdrawal is further subdivided into two situations:

[0213] a. Some operators have completely shut down their 2G / 3G networks. In this case, some operators in the country / region have completely ceased 2G and 3G services, while other operators may still be providing 2G / 3G network services. For example, in country Q, operator H completely shut down its 2G / 3G network in 2023, while operators I and J in country Q are still providing 3G services.

[0214] b. Partial shutdown of a carrier's 2G / 3G PLMNs. In this case, some PLMNs of a particular carrier in that country / region have been shut down, while other PLMNs may still provide 2G or 3G services. For example, in country Q, carriers I and J have completely shut down their 2G networks, but their 3G networks are still operational.

[0215] In this embodiment of the application, the network deactivation information of the target mobile communication network in the destination can be obtained from the list shown in Table 1. This deactivation information can be used to indicate whether the target mobile communication network in the destination is completely or partially deactivated. For example, regardless of whether it is a complete or partial deactivation, this embodiment of the application can control the prompting device to provide a prompt.

[0216] For example, when a user is about to travel abroad, the PLMN of the destination is obtained as 40402, corresponding to India. Since India's MCC "404" exists in the list shown in Table 1, the decommissioning information of the target mobile communication network in India can be obtained from the list shown in Table 1. The decommissioning information indicates that India has begun to decommission its 2G / 3G networks, and also indicates that several operators' target mobile communication networks are still operational in India. This means that 2G / 3G networks are still available in India. Therefore, if a user with SIM card B arrives in India, they can choose an operator that is still providing 2G / 3G networks.

[0217] Figure 10 A schematic diagram of a prompting method provided in an embodiment of this application is shown, such as... Figure 10 As shown in (A), the electronic device displays a "Carrier Selection Prompt," along with the specific message: "Your SIM card relies on 2G / 3G for making and receiving calls and sending and receiving text messages. Please select a carrier that still provides 2G / 3G service; otherwise, normal communication will not be possible. Available carriers include: Carrier A, Carrier B, and Carrier C. You can select a carrier, and we will connect the network according to your selection," a manual selection control, and a control for understanding the charges of different carriers. Users can click the manual selection control to access... Figure 10 The interface shown in (B) allows users to select a specific carrier from the list. Users can click on controls to learn about the pricing and plans of different carriers.

[0218] Users can Figure 10 The manual selection control in (A) enters as follows Figure 10 The interface shown in (B) can also be accessed by manually entering the system settings. Figure 10 The interface shown in (B) allows you to manually select a carrier. The list of carriers displays the names of different carriers, the target mobile communication network types offered by each carrier, and the types of communication functions that the first SIM card can achieve using that carrier's network. For example... Figure 10 As shown in (B), the list of operator selections includes Operator A, Operator B, and Operator C. Operator A provides 2G, 3G, 4G, and 5G networks; the first SIM card using Operator A's network can make calls, send text messages, and use data. Operator B provides 3G, 4G, and 5G networks; the first SIM card using Operator A's network can also make calls, send text messages, and use data. Operator C provides 4G and 5G networks; the first SIM card using Operator A's network cannot make calls, but can send text messages and use data. Users can choose according to their needs. Figure 10 Choose a suitable and preferred operator from the options shown in (B).

[0219] For example, different operators can be sorted, and the embodiments of this application do not limit the sorting rules. For instance, the operator with the most comprehensive communication functions can be ranked first. Figure 10 The method shown can be applied to roaming scenarios, where, when a user is at their destination and cannot use the communication function normally, the electronic device prompts the user to manually select a network.

[0220] Figure 11 A schematic diagram of a prompting method provided in an embodiment of this application is shown. For example... Figure 11 As shown in (A), the electronic device displays a "PLMN Selection Prompt," along with the specific message: "Your SIM card relies on 2G / 3G for making and receiving calls and sending and receiving text messages. Please select a PLMN that still provides 2G / 3G service; otherwise, normal communication will not be possible. Available PLMNs include: PLMN-H, PLMN-P, PLMN-Q, and PLMN-R. You can select one PLMN, and we will connect to the network according to your selection." The device also includes a manual selection control and a control for understanding the charges for different PLMNs. Users can click the manual selection control to access... Figure 11 The interface shown in (B) allows users to select a specific PLMN from the list. Users can click on controls to learn about the pricing of different PLMNs and view their pricing standards and packages.

[0221] Users can, for example Figure 11 The manual selection control in (A) enters as follows Figure 11 The interface shown in (B) can also be accessed by manually entering the system settings. Figure 11 The interface shown in (B) allows you to manually select a PLMN. The PLMN selection list displays the identifiers of different PLMNs, the target mobile communication network types provided by each PLMN, and the types of communication functions that the first SIM card can achieve using that PLMN. For example... Figure 11 As shown in (B), the list of PLMN selection options includes PLMN-H (23415), PLMN-P (23430), and PLMN-Q (23410). Among them, PLMN-H (23415) provides 2G, 3G, 4G, and 5G networks. The first SIM card uses operator A's network to make calls, send text messages, and use data. The other PLMN conditions are the same and will not be repeated here.

[0222] For example, PLMNs can be sorted according to different priorities, but the embodiments of this application do not limit the sorting rules.

[0223] In some implementations, electronic devices can provide a manual network selection guide to instruct users to manually choose a network operator. Manual network selection allows users to independently choose a suitable network operator / PLMN from multiple available networks based on their usage habits, network coverage, network service type, and other factors.

[0224] Figure 12 A schematic diagram of a manual screen selection step provided in an embodiment of this application is shown. The manual screen selection steps are as follows:

[0225] like Figure 12 As shown in (A), this interface is a settings interface, which includes WLAN controls, Bluetooth controls, mobile network controls, satellite network controls, etc. When user input is detected by clicking the mobile network control 1201, the following is displayed on the screen: Figure 12 The graphical user interface (GUI) shown in (B) is shown in the image.

[0226] like Figure 12 As shown in (B), this interface is the mobile network settings interface, which includes controls for airplane mode, mobile data, SIM card management, and personal hotspot. Upon detecting user input by clicking the SIM card management control 1202, the following is displayed on the screen: Figure 12 The GUI shown in (C) is shown in the image.

[0227] like Figure 12 As shown in (C), this interface is for SIM card management. It includes SIM card 1 editing controls, SIM card 2 editing controls, and default mobile data controls. When user input is detected by clicking the SIM card 1 editing control, the following is displayed on the screen: Figure 12 The GUI shown in (D) is shown in the image.

[0228] like Figure 12 As shown in (D), this interface is the mobile data settings interface for SIM card 1. This interface includes mobile data controls, data roaming controls, access point name controls, and network operator controls. When user input to the network operator control is detected, the following is displayed on the screen: Figure 12 The GUI shown in (E) is shown in the image.

[0229] like Figure 12 As shown in (E), this interface is the network operator settings interface for SIM card 1, and it includes controls for an auto-selection switch. When user input to disable the auto-selection switch is detected, the following is displayed on the screen: Figure 12 The GUI shown in (F) is shown in the image.

[0230] like Figure 12As shown in (F), the electronic device prompts the user to "Turn off automatic selection" via a bottom pop-up window, along with specific instructions such as "After turning it off, it will only use the network of the operator you manually selected for registration, and the phone will not automatically select other operators," a cancel control, and a next control. Upon detecting the user clicking the next control, the screen displays the following... Figure 12 The GUI shown in (G) is shown in the image.

[0231] like Figure 12 As shown in (G), this interface is the manual network operator selection interface for SIM card 1. This interface includes controls for an automatic selection switch, operator H selection controls, operator P selection controls, operator Q selection controls, and operator R selection controls. Users can select operators based on... Figure 12 Select the operator from the list shown in (G) to connect to the network.

[0232] It is necessary to understand that Figure 12 The steps shown are merely examples of manual screen selection. The specific operation method may vary depending on different devices and system versions, and this application does not limit this.

[0233] In some implementations, the control prompting device further includes prompting the user with the signal strength corresponding to different PLMNs.

[0234] Figure 13 A schematic diagram of a manual screen selection method provided in an embodiment of this application is shown. For example... Figure 13 As shown, the "Auto Select" switch is currently off. Below are four network operators to choose from: Operator K, Operator L, Operator M, and Operator N. Operators L and M have partially decommissioned their 2G / 3G networks. Prompting the user to select Operator L or Operator M may affect the user's ability to make and receive calls and send and receive text messages.

[0235] like Figure 13 As shown, the manual network selection interface displays different signal strengths for different PLMNs. By providing different signal strength references, users can gain more information for network selection, making it easier for them to choose a suitable network.

[0236] For example, users can choose the PLMN with the strongest signal to avoid choosing a PLMN with a weaker signal that would affect their mobile data usage experience.

[0237] For example, a user can select a PLMN that provides 2G / 3G network service but has a weak signal. Although the PLMN signal is weak, the user can still make and receive calls and send text messages.

[0238] Manual network selection not only effectively prevents users from being unable to use normal communication services at their destination, but also provides users with a more personalized and autonomous way of selecting networks.

[0239] Optionally, before the control prompting device prompts the user, the method further includes: obtaining information on the user's usage habits of the first communication function after going abroad / leaving the country; the control prompting device prompts the user, including: when the usage habit information indicates that the frequency of the user's use of the first communication function after going abroad / leaving the country is greater than or equal to a preset frequency, the control prompting device prompts the user.

[0240] For example, by analyzing user usage habit information, if it is determined that the user frequently uses electronic devices to make or receive calls or send or receive text messages after going abroad / out of the country, a prompting device can be controlled to prompt the user.

[0241] For example, by analyzing user usage habits, it can be determined that users do not use electronic devices to make or receive calls or send or receive text messages after going abroad / out of the country, and no prompt may be given to the user.

[0242] The method provided in this embodiment can effectively avoid disturbing irrelevant users, provide users with timely, accurate and effective prompts, and improve the user experience.

[0243] Optionally, before the control prompt device prompts the user, the method further includes: determining that the user has encountered a problem of being unable to make or receive phone calls or send or receive text messages; the control prompt device prompts the user, including: explaining the cause of the problem and providing corresponding solutions.

[0244] Figure 14 A schematic diagram of a prompting method provided in an embodiment of this application is shown. For example... Figure 14 As shown, an attempt to send a text message was detected, but the message failed. A pop-up window immediately notified the user: "Dear user, your text message sending failed. The reason is that operator J's international / Hong Kong, Macau and Taiwan roaming service has been fully upgraded, and your SIM card is an older card. Therefore, you may experience communication problems in the current region. We suggest you contact your network operator through Wi-Fi or other means for a solution."

[0245] Through some embodiments of this application, users can receive immediate and timely explanations and guidance when encountering problems, maintaining smooth and stable communication. This can effectively reduce user anxiety, help users calmly handle problems, and further enhance the user experience.

[0246] Optionally, the control prompt device can provide prompts to the user, including: pop-up prompts, negative one screen prompts, lock screen prompts, and notification bar prompts.

[0247] For example, a pop-up notification could be a dialog box that appears on the user interface (UI) to display important information to the user. This method can immediately attract the user's attention. Figure 8 As shown in (B) in the diagram.

[0248] For example, Figure 15 Image (A) shows the negative one screen interface of an electronic device, including a search box control, shortcut function controls (scan, payment code, mobile phone recharge, etc.), application usage statistics controls, and a SIM card problem prompt card 1501. Figure 15 As shown in (A), the SIM card problem alert card 1501 clearly displays the user's current location (including country and city) and presents it intuitively through map markers. Simultaneously, it alerts the user to potential communication problems through specific messages such as, "Currently, we have detected that you are abroad and may be temporarily unable to change your SIM card. We suggest you contact your operator for remote support as soon as possible, thank you."

[0249] For example, Figure 15 Image (B) shows a lock screen interface for an electronic device, including a time control, a video control, a SIM card replacement prompt card 1502, and a slide-to-unlock control. Figure 15 As shown in (B), the SIM card replacement prompt card 1502 guides users to further understand the relevant issues of replacing the SIM card by displaying a partial prompt message such as "Dear user, the international / Hong Kong, Macao and Taiwan roaming service of operator A has been fully upgraded, and it has been detected that the SIM card you are using is an old card..."

[0250] For example, Figure 15 (C) shows the notification bar interface of an electronic device. Users can pull down to see the interface shown in the figure, which includes control center controls (including WLAN, Bluetooth, mobile data, mute, auto-select, and brightness adjustment controls) and a SIM card-related notification card 1503. The SIM card-related notification card 1503 displays notification content; since the specific content has already been described, it will not be repeated here.

[0251] It should be understood that all the above prompts are merely examples. In actual applications, the above prompts may include more or less content. This application embodiment does not limit the specific prompts.

[0252] Figure 16 An example of a prompting method 1600 provided in this application is illustrated. For example... Figure 16 As shown, the method includes:

[0253] S1601: Determine whether a text message notification has been received from the operator regarding a SIM card replacement. If yes, proceed to S1602; otherwise, end this method.

[0254] S1602: The control prompt device prompts the user.

[0255] Using the methods provided in some embodiments of this application, an electronic device can receive SMS messages from operators notifying users to replace their SIM cards. When a user receives an SMS message from an operator reminding them to replace their SIM card, the user is notified. The message content may include: "Dear user, you have received an SMS message reminding you that your SIM card is outdated and may affect your normal communication while roaming. Please check the SMS content and obtain a solution."

[0256] For example, the electronic device 100 provided in this application embodiment may include the following five modules, such as Figure 17 As shown: SIM card identification module 101, area perception module 102, context intelligent identification module 103, card replacement SMS identification module 104, and prompt module 105.

[0257] Among them, the SIM card identification module 101 can be used to obtain the information of the first SIM card in the electronic device in method 300; the area perception module 102 and the context intelligent recognition module 103 can be used to obtain the network decommissioning information of the target mobile communication network in the destination in method 300; and the prompting module 105 can be used to control the prompting device to prompt the user in method 300.

[0258] The SIM card replacement SMS recognition module 104 can be used to implement the prompt method in method 1600.

[0259] Figure 18 This application illustrates a prompting method 1800 provided in an embodiment of the present application. This prompting method can be used with an electronic device 100, which has a first SIM card inserted, such as... Figure 18 As shown, the method 1800 includes:

[0260] S1801: Determine whether the first SIM card is a SIM card that only supports performing the first communication function using the target mobile communication network.

[0261] If the first SIM card is a SIM card that only supports performing the first communication function using the target mobile communication network, then execute S1802. Otherwise, end this method.

[0262] S1802: The control prompt device reminds the user.

[0263] In some implementations, the control prompting device prompts the user, including prompting the user when the first SIM card is first inserted into the electronic device.

[0264] In some implementations, the control prompting device prompts the user periodically. For example, if an electronic device has a SIM card B inserted, the control prompting device prompts the user every two months while the electronic device is using SIM card B.

[0265] The method provided in this application embodiment can provide accurate and timely prompts to the user based on the information of the first SIM card.

[0266] Optionally, before the control prompting device prompts the user, method 1800 further includes: obtaining network deactivation information of the target mobile communication network in the destination, where the electronic device is in roaming mode at the destination; the control prompting device prompts the user, including: prompting the user based on the network deactivation information.

[0267] Optionally, based on the network deactivation information, the control prompting device prompts the user, including: if the network deactivation information indicates that the target mobile communication network in the destination has been deactivated, the control prompting device prompts the user that the first SIM card cannot be used to perform the first communication function in the destination, or prompts the user to replace the first SIM card.

[0268] Optionally, before obtaining the decommissioning information of the target mobile communication network in the destination, method 1800 further includes: when the electronic device is in the destination, obtaining first identification information of the destination; wherein, obtaining the decommissioning information of the target mobile communication network in the destination includes: when the first identification information is one of a plurality of identification information, determining that the target mobile communication network in the destination has been decommissioned, wherein each of the plurality of identification information corresponds to a country / region where the target mobile communication network has been decommissioned.

[0269] Optionally, the first identification information is the mobile country code (MCC) of the destination.

[0270] Optionally, based on the network decommissioning information, the control prompting device prompts the user, including: when the network decommissioning information indicates that one or more target mobile communication networks of operators in the destination have not been decommissioned, the control prompting device prompts the user to select one of the one or more operators in the destination. Optionally, based on the network decommissioning information, the control prompting device prompts the user, including: when the network decommissioning information indicates that one or more target mobile communication networks corresponding to the first operator's next or subsequent Public Land Mobile Networks (PLMNs) in the destination have not been decommissioned, the control prompting device prompts the user to select one of the one or more PLMNs of the first operator in the destination.

[0271] Optionally, method 1800 further includes: determining, based on the issuance time of the first SIM card, that the first SIM card is a SIM card that only supports performing the first communication function using the target mobile communication network.

[0272] Optionally, in a non-roaming scenario, the home public land mobile network (HPLMN) of the first SIM card is the first HPLMN. The method 1800 further includes: when the electronic device is at its destination, obtaining an updated second HPLMN; if the first HPLMN is one of a preset set of first HPLMNs and / or the second HPLMN is one of a preset set of second HPLMNs, determining that the first SIM card is a SIM card that only supports performing the first communication function using the target mobile communication network.

[0273] Optionally, the HPLMN of the first SIM card in a non-roaming scenario is the first HPLMN. Method 1800 further includes: when the electronic device is in a non-roaming scenario, obtaining first information for the first SIM card, the first information being used to request the HPLMN of the electronic device at the destination; in response to obtaining the first information, obtaining an updated third HPLMN; if the first HPLMN is one of a preset set of first HPLMNs and / or the third HPLMN is one of a preset set of third HPLMNs, determining that the first SIM card is a SIM card that only supports performing the first communication function using the target mobile communication network.

[0274] Optionally, obtaining the network decommissioning information of the target mobile communication network in the destination includes: obtaining the network decommissioning information based on at least one of the user's travel information, information stored in the memo application, and information stored in the calendar application.

[0275] This application also provides an electronic device, including: one or more processors; one or more memories; and one or more computer programs, wherein the one or more computer programs are stored in the one or more memories, and the one or more computer programs include instructions that, when executed by the one or more processors, cause the electronic device to perform the prompting method as described in the above embodiments.

[0276] This application also provides a chip that includes circuitry for performing the prompting method as described in the above embodiments.

[0277] This application also provides a readable storage medium storing instructions that, when executed on an electronic device, cause the electronic device to perform the aforementioned method steps to implement the prompting method in the above embodiments.

[0278] This application also provides a program product that, when run on an electronic device, causes the electronic device to perform the aforementioned related steps to implement the prompting method described in the above embodiments.

[0279] In this embodiment, the device, readable storage medium, program product or apparatus are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects of the corresponding methods provided above, and will not be repeated here.

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

[0281] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0282] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed.

[0283] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0284] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0285] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory, random access memory, magnetic disks, or optical disks.

[0286] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of protection of the claims.

Claims

1. A prompting method, characterized in that, The method is applied to an electronic device, wherein a first Subscriber Identity Module (SIM) card is inserted into the electronic device, and the method includes: When the first SIM card is a SIM card that only supports performing the first communication function using the target mobile communication network, the control prompting device will prompt the user.

2. The method according to claim 1, characterized in that, Before the control prompting device prompts the user, the method further includes: Obtain the network deactivation information of the target mobile communication network in the destination, where the electronic device is in a roaming state; The control prompting device prompts the user, including: controlling the prompting device to prompt the user based on the network withdrawal information.

3. The method according to claim 2, characterized in that, The step of controlling the prompting device to prompt the user based on the network disconnection information includes: When the network disconnection information indicates that the target mobile communication network in the destination has disconnected, the prompting device is controlled to prompt the user that the first SIM card cannot be used to perform the first communication function in the destination, or to prompt the user to replace the first SIM card.

4. The method according to claim 3, characterized in that, Before obtaining the network decommissioning information of the target mobile communication network in the destination, the method further includes: When the electronic device is at the destination, first identification information of the destination is obtained; The step of obtaining the network decommissioning information of the target mobile communication network in the destination includes: When the first identification information is one of a plurality of identification information, it is determined that the target mobile communication network in the destination is de-networked, and each of the plurality of identification information corresponds to a country / region where the target mobile communication network is de-networked.

5. The method according to claim 4, characterized in that, The first identification information is the country code (MCC) of the destination.

6. The method according to claim 2, characterized in that, The step of controlling the prompting device to prompt the user based on the network disconnection information includes: When the network deactivation information indicates that the target mobile communication network of one or more operators in the destination has not been deactivated, the prompting device is controlled to prompt the user to select one of the one or more operators in the destination.

7. The method according to claim 2, characterized in that, The step of controlling the prompting device to prompt the user based on the network disconnection information includes: When the network deactivation information indicates that the target mobile communication network corresponding to one or more Public Land Mobile Networks (PLMNs) of the first operator in the destination has not been deactivated, the prompting device is controlled to prompt the user to select one of the one or more PLMNs of the first operator in the destination.

8. The method according to any one of claims 2-7, characterized in that, The method further includes: determining, based on the issuance time of the first SIM card, that the first SIM card is a SIM card that only supports performing the first communication function using the target mobile communication network.

9. The prompting method according to any one of claims 2-8, characterized in that, In a non-roaming scenario, the home public land mobile network (HPLMN) of the first SIM card is the first HPLMN, and the method further includes: When the electronic device is at the destination, obtain the updated second HPLMN; If the first HPLMN is one of the preset first HPLMN sets and / or the second HPLMN is one of the preset second HPLMN sets, then the first SIM card is determined to be a SIM card that only supports performing the first communication function using the target mobile communication network.

10. The prompting method according to any one of claims 2-8, characterized in that, In a non-roaming scenario, the HPLMN of the first SIM card is the first HPLMN, and the method further includes: When the electronic device is in a non-roaming scenario, first information for the first SIM card is obtained, the first information being used to request the HPLMN of the electronic device at the destination; in response to obtaining the first information, an updated third HPLMN is obtained. If the first HPLMN is one of the preset first HPLMN sets and / or the third HPLMN is one of the preset third HPLMN sets, then the first SIM card is determined to be a SIM card that only supports performing the first communication function using the target mobile communication network.

11. The prompting method according to any one of claims 2-10, characterized in that, The step of obtaining the network decommissioning information of the target mobile communication network in the destination includes: The network exit information is obtained based on at least one of the user's travel information, information stored in the memo app, and information stored in the calendar app.

12. An electronic device, characterized in that, include: One or more processors; One or more memory units; And one or more computer programs, wherein the one or more computer programs are stored in the one or more memories, the one or more computer programs including instructions that, when executed by the one or more processors, cause the electronic device to perform the method as described in any one of claims 1 to 11.

13. A chip, characterized in that, The chip includes circuitry for performing the method as described in any one of claims 1 to 11.

14. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed on an electronic device, cause the electronic device to perform the method of any one of claims 1-11.

15. A computer program product, characterized in that, When the computer program product is run on an electronic device, it causes the electronic device to perform the method of any one of claims 1-11.