Network connection processing method, system, device, storage medium and product
Automatically control the network connection status through SIM card, solving the problem of operators' difficulty in preventing telecommunications fraud in a timely manner, realizing minute-level network on-off control, improving user security and convenience.
Patent Information
- Application Number
- CN202510745978.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-05
- Publication Date
- 2025-08-15
- Estimated Expiration
- 2045-06-05
AI Technical Summary
In the prior art, it is difficult for operators to identify and prevent telecommunications fraud in a timely manner. The network connection permissions of user terminals are only controlled by the user or operators, which makes it difficult for the elderly, minors and other vulnerable groups to effectively protect in case of fraud. The recovery of network interruptions requires users to apply to the business hall by themselves, which is inefficient.
The SIM card receives instructions automatically disconnect or restores the network connection, and uses the SIM card internal information to set it to the first value or the second value to realize minute-level network on-off control, avoiding manual user intervention, and is suitable for network protection of specific user terminals.
It realizes rapid disconnection of network connections in fraud scenarios, prevents fraudulent behavior, restores network connections with high timeliness, reduces the risk of users being cheated, avoids inconvenience caused by long-term disconnection, and improves anti-fraud efficiency and user experience.
Smart Images

Figure CN120264503B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication processing technology, and in particular to network connection processing methods, systems, devices, storage media and products. Background Art
[0002] In recent years, with the development of network communication technology, telecom fraud has become increasingly common. Currently, telecom operators play a crucial role in telecom fraud prevention. Operators conduct fraud detection on subscribers' calls, text messages, and web pages, alerting subscribers at risk of fraud. Operators can also directly configure the core network to disconnect the user's SIM card network. After a network interruption, users must wait for the platform to restore their SIM card network. Currently, users must apply for a network restoration at a business hall, and network restoration typically takes one to two business days. While this reduces the risk of fraud, it does introduce significant inconvenience. Furthermore, operators cannot accurately identify and prevent every fraud risk, and each user's network connection is controlled solely by the user or the operator. Therefore, for vulnerable groups such as the elderly and minors, even if their guardians discover the anomaly through remote communication, they are unable to effectively prevent the fraud due to their absence. Summary of the Invention
[0003] The purpose of the embodiments of the present application is to provide a network connection processing method, system, device, storage medium and product to solve the problem of how to disconnect the network connection of a specific user terminal in a timely manner, thereby effectively preventing the user from falling into the risk of telecommunications fraud.
[0004] In order to achieve the above objectives, the embodiments of the present application adopt the following technical solutions:
[0005] In a first aspect, an embodiment of the present application provides a network connection processing method, which is applied to a SIM card, including: receiving a first instruction, setting information related to a user identifier in the SIM card to a first value, and then the terminal where the SIM card is located is in a state of disconnecting the network; after the information related to the user identifier is in the first value, setting the information related to the user identifier to a second value, and then the terminal where the SIM card is located is in a state of connecting to the network.
[0006] In a second aspect, an embodiment of the present application provides a network connection processing method, which is applied to a SIM card, including: receiving a first instruction, information related to a user identifier in the SIM card is in a first value, and then the terminal where the SIM card is located is in a state of disconnecting the network connection; after the information related to the user identifier is in the first value, the information related to the user identifier is in a second value, and then the terminal where the SIM card is located is in a state of network connection.
[0007] In a third aspect, an embodiment of the present application provides a network connection processing system, comprising: a first processing unit, configured to set the information related to the user identifier in the SIM card to a first value after the SIM card receives a first instruction, and thereafter, the terminal where the SIM card is located is in a state of disconnecting the network; and a second processing unit, configured to set the information related to the user identifier to a second value after the information related to the user identifier is in the first value, and thereafter, the terminal where the SIM card is located is in a state of network connection.
[0008] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the network connection processing method is implemented when the processor executes the computer program.
[0009] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by an electronic device, the network connection processing method is implemented.
[0010] In a sixth aspect, an embodiment of the present application provides a computer program product, including a computer program, which implements the network connection processing method when executed by an electronic device.
[0011] At least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects:
[0012] When the user terminal is in a scenario where it may be defrauded, such as receiving a fraudulent call, receiving a fraudulent text message, browsing a fraudulent web page / application, etc., the first instruction is received through the SIM card. After parsing the first instruction, the SIM card triggers the setting of information related to the user identifier to a first value, thereby disconnecting the network connection of the terminal where the SIM card is located. This method effectively prevents specific users from falling into fraud, such as communicating with fraudsters by phone, checking fraudulent text messages, browsing and operating fraudulent web pages / applications, and then performing further operations such as transferring money and sharing private information, thereby improving communication security; further, the SIM card will trigger the restoration of the network connection by setting the information related to the user identifier to a second value, thereby realizing that the terminal where the SIM card is located is in a normal network connection state, and the entire process from disconnecting the network connection to restoring the network connection is completed. The entire process is automatically completed by the SIM card. Based on the solution provided by this patent, the terminal's network interruption can be instantly achieved through the SIM card, and the network restoration can be automatically triggered afterwards. At present, the user's network connection and disconnection can only be controlled by the core network, and because the core network needs to control the network of a large number of user terminals, the timeliness of the network connection and disconnection control for each terminal is very poor. Once the user terminal is disconnected from the network and shut down, the user needs to apply for it at the business hall by himself, and the network can generally be restored after 1-2 working days. This patent realizes the control of the network connection and disconnection of the terminal by the SIM card, which can achieve higher timeliness and can achieve minute-level network connection and disconnection control. It is more suitable in anti-fraud scenarios, effectively reducing the risk of users being defrauded, and will not cause users to be continuously disconnected from the network, which will not cause trouble to users. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0014] Figure 1 A flowchart of a network connection processing method provided in one embodiment of the present application;
[0015] Figure 2 A flowchart of a network connection processing method provided in another embodiment of the present application;
[0016] Figure 3 A flowchart of a network connection processing method provided in another embodiment of the present application;
[0017] Figure 4 A flowchart of a network connection processing method provided in another embodiment of the present application;
[0018] Figure 5A flowchart of a network connection processing method provided in another embodiment of the present application;
[0019] Figure 6 is a structural diagram of a network connection processing system according to another exemplary embodiment;
[0020] Figure 7 A schematic structural diagram of an electronic device provided in accordance with an embodiment of the present application. DETAILED DESCRIPTION
[0021] To make the purpose, technical solutions, and advantages of this application more clear, the technical solutions of this application will be clearly and completely described below in conjunction with the specific embodiments of this application and the corresponding drawings. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0022] The terms "first," "second," and the like in this specification and claims are used to distinguish similar objects and are not intended to describe a particular order or precedence. It should be understood that such terms are interchangeable where appropriate so that the embodiments of the present application can be implemented in sequences other than those illustrated or described herein. In addition, the term "and / or" in this specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the connected objects are in an "or" relationship.
[0023] Before providing a detailed introduction to the network connection processing method provided in the embodiments of this application, we will first briefly introduce the SIM card technology involved in the embodiments of this application. The SIM card disclosed in this application is a Universal Integrated Circuit Card (UICC), a smart card used in mobile phones on GSM and UMTS networks. This type of SIM card can provide a carrier for card applications. That is, the SIM card can be installed with card applications, which can implement the relevant functions of the SIM card.
[0024] In existing technology, after a user subscribes to an anti-fraud service from a carrier, if the carrier's platform detects a potential scam through call numbers and mobile data usage, the platform can directly configure parameters in the core network to disconnect the user's network, thereby blocking the fraudulent activity. However, in the event of a network outage, the user must bring their ID card and SIM card to a business hall for manual processing to restore their mobile network. While this reduces the risk of fraud, it also causes significant inconvenience. Furthermore, since carriers struggle to accurately identify all fraud risks and promptly address them, and network connection permissions are controlled solely by the user or the carrier, when vulnerable groups such as the elderly and minors encounter suspected fraud, if their guardians are not around, even if they detect the fraud risk through a phone call or social media app, they often cannot prevent the fraud in a timely manner.
[0025] Based on this, the present application provides a network connection processing method, which is applied to the SIM card to solve the problem of how to disconnect the network connection of a specific user terminal in a timely manner, thereby effectively preventing the user from falling into the risk of telecommunications fraud. Figure 1 As shown, the method includes the following steps:
[0026] S202: Receive a first instruction, set the information related to the user identification in the SIM card to a first value, and then, the terminal where the SIM card is located is in a state of being disconnected from the network.
[0027] In step S202, when the mobile equipment (ME) receives an SMS point-to-point message sent from an external source to the SIM card, it transparently transmits the content of the point-to-point message to the SIM card via a command. This command is specifically an Envelope (SMS-PP download) command. The SIM card responds to this command, with different responses depending on the content of the command. In this step, the SIM card receives a first command, which is used to trigger the SIM card to set information related to the subscriber identity to a first value upon receipt. The first command can be an Envelope (SMS-PP download) command.
[0028] The SIM card receives the first instruction and sets the information related to the user identity stored in the SIM card to the first value. When the terminal where the SIM card is located is normally connected to the network, the value of the information related to the user identity can be recorded as the zeroth value, and the first value and the zeroth value are different.
[0029] In a specific implementation, the value of the information related to the user identification can be read through a related instruction such as Read Binary, and the read value can be used to determine that the value of the information related to the user identification has been set to the first value (already at the first value).
[0030] After setting the subscriber identity information stored in the SIM card to the first value, since the internal file data of the SIM card is already stored in the terminal cache during initialization, directly setting the subscriber identity information to the first value will not immediately change the terminal's network status. After the SIM card is reset, the terminal will re-acquire the information on the SIM card and use the re-acquired information to apply for network access. At this time, since the subscriber identity information is already at the first value, the terminal's user identity and its identifier cannot be matched, and network access cannot be achieved, causing the terminal containing the SIM card to be disconnected from the network. In a specific embodiment, there are at least three ways to reset the SIM card, including the SIM card issuing a SIM card reset command to the terminal, manually removing the SIM card from the terminal and reinserting it, or restarting the terminal containing the SIM card. All three of the aforementioned SIM card reset methods require the SIM card to issue an ATR (Answer to reset) signal to formally complete the reset. The command used to reset the SIM card can be an active REFRESH command, one of the functions of which is to reset the SIM card (UICC Reset).
[0031] Compared with achieving terminal network connectivity and disconnection through core network configuration, disconnecting the network connection by the SIM card can accurately control the network connectivity and disconnection of a single user's SIM card, and can achieve time granularity at the minute level. When a number suspected of being involved in fraud is found, the network of the specific user can be quickly and effectively disconnected to prevent it from continuing to commit fraud. Or when a user suspected of being involved in a fraud is found, it can effectively prevent the user from taking further actions after communicating with the fraudsters or browsing fraudulent information, effectively blocking telecommunications fraud activities.
[0032] In a preferred embodiment, the first instruction received in step S202 is triggered by an account that is not corresponding to the SIM card.
[0033] An account that is not corresponding to the SIM card, for example, includes but is not limited to an account whose account information has no direct association with the SIM card executing the method of this embodiment. In actual application scenarios, a direct association means that the mobile phone number of the SIM card can be used to log in to the account and is one of the login IDs of the account. If the above conditions are met, the account is said to have a direct association with the SIM card, and the account is also said to be an account corresponding to the SIM card. Based on this, an account that is not corresponding to a SIM card means that the mobile phone number of the SIM card cannot be used to log in to the account, and the mobile phone number used to log in to the account is not the same as the mobile phone number corresponding to the SIM card. The account can be a personal account or a platform or system account, which is not limited in this embodiment.
[0034] In one practical application scenario, an account not corresponding to the SIM card may be indirectly associated with the account corresponding to the SIM card, such as if the two accounts belong to relatives, friends, colleagues, or other relationships. The account not corresponding to the SIM card that triggers the first instruction can be regarded as the guardian, and the account corresponding to the SIM card can be regarded as the protected party. The guardian can subscribe to anti-fraud services for the protected party, and when it is identified that the protected user may be defrauded by telecommunications fraud or when other guardians believe that the protected party needs to be disconnected from the network to achieve the protection effect, the guardian can trigger the first instruction directly or indirectly, thereby triggering the SIM card corresponding to the protected party to execute step S202, and the terminal corresponding to the protected party is in a disconnected state, effectively blocking fraud, or economic losses or privacy leaks caused by fraud or deception, or protecting the protected party (a person with limited or no civil capacity) from economic losses or privacy leaks due to insufficient knowledge.
[0035] The manner of triggering the first instruction through an account that does not correspond to the SIM card includes direct triggering and indirect triggering. There are multiple ways to indirectly trigger the first instruction, including but not limited to, an account that does not correspond to the SIM card can submit an application / request related to disconnecting the terminal where the SIM card is located from the network on a computer program associated with interacting with the SIM card, thereby indirectly contacting the SIM card to receive the first instruction.
[0036] There are many ways for an account that does not correspond to the SIM card to submit an application / request related to disconnecting the protected party from the network. For example, the account can click a button related to disconnecting the terminal where the SIM card is located from the network on a computer program associated with interacting with the SIM card, such as a button with words such as "shutdown" or "disconnect" or "temporary shutdown" or "temporary disconnection". After clicking the button, it can indirectly trigger the SIM card to receive the first instruction.
[0037] The computer program associated with the interaction with the SIM card can be a WeChat applet or other general-purpose computer program. The association between the two is reflected in that when an account other than the account corresponding to the SIM card submits a request for network disconnection to the account corresponding to the SIM card on the computer program, for example, by clicking a button related to network disconnection, the SIM card of the protected party will be triggered to execute step S202, so that the terminal where the SIM card is located is disconnected from the network. The computer program can also display information related to the network disconnection / shutdown of the terminal where the SIM card is located, such as the expected duration of the network disconnection, whether recovery is in progress, and other information.
[0038] In one of the actual application scenarios, the account not corresponding to the SIM card can be an account of the platform / system. When the platform / system identifies a suspected fraudulent number for fraudulent activities, this step can be used to disconnect the network of the terminal where the SIM card corresponding to the fraudulent number is located, thereby preventing it from continuing to commit fraud.
[0039] S204: After the information related to the user identification is at the first value, the information related to the user identification is set to a second value. Thereafter, the terminal where the SIM card is located is in a network connection state.
[0040] In step S204, the information related to the user identity is set to a second value, which is the same as the aforementioned zeroth value (the value of the information related to the user identity when the terminal where the SIM card is located is in a normal network connection state).
[0041] In this step, the information related to the user identifier is set to the second value (the information related to the user identifier is in the second value), which can cancel the impact of the first value on the terminal network connection. Since the internal file data of the SIM card has been saved in the terminal cache when it is initialized, directly setting the first value for the information related to the user identifier will not immediately change the network status of the terminal. After the SIM card is reset (Reset), the terminal will re-acquire the information on the SIM card and use the re-acquired information to apply for network access. At this time, since the information related to the user identifier is already in the second value, the user identity of the terminal can correspond to its identifier, and the network is successfully accessed. The terminal where the SIM card is located is thus in a normal network connection state. In a specific embodiment, there are at least three ways to reset the SIM card, including the SIM card sending a command for resetting the SIM card to the terminal, manually removing the SIM card from the terminal and reinserting it, or restarting the terminal where the SIM card is located. The aforementioned three SIM card reset methods all require that the reset be formally completed after the SIM card sends an ATR (Anser to reset) response. The command for resetting the SIM card may be an active command REFRESH, one of the functions of which is for resetting the SIM card (UICC Reset).
[0042] In a specific embodiment, in step S204, after the first event or the second event, the information related to the user identification is at the second value;
[0043] The first event includes receiving a timer expiration instruction from a timer; the second event includes receiving N status instructions, where N is an integer greater than or equal to 2.
[0044] In step S204, the information related to the user identification is at the second value after the first event or the second event. The first event includes receiving a timer expiration instruction from a timer. Such an instruction can be expressed as an Envelope (TIMEREXPIRATION) instruction, which is used to prompt the timer to expire.
[0045] The second event includes receiving N status commands, where N is an integer greater than or equal to 2. The status command is a STATUS command. The terminal where the SIM card resides sends status commands (STATUS) to the SIM card at regular intervals. The SIM card's response to the STATUS command is used to determine whether the SIM card is online or to determine the card's current status. Therefore, the number of status commands received by the SIM card can also be used to measure time.
[0046] In a specific embodiment, the SIM card further includes an operation for starting a timer, which can be implemented using the proactive command "Timer management." The timer started is the same timer as the timer corresponding to the timer expiration instruction received in the first event. The timer start time can be determined according to actual needs, and the timer duration can be adaptively adjusted based on the timer start time.
[0047] In a specific embodiment, the first status instruction received in the second event may be the first status instruction received after the SIM card receives the first instruction, or the first status instruction received after the terminal where the SIM card is located is disconnected from the network, or the first status instruction received after the SIM card completes its first reset after receiving the first instruction. The Nth status instruction received may be the last status instruction received by the terminal where the SIM card is located before the terminal where the SIM card is located is connected to the network as described in step S204, or the last status instruction received by the SIM card before the terminal completes its last reset (i.e., the SIM card issues an ATR response) before the terminal where the SIM card is located is connected to the network as described in step S204. The possible situations described above can be arbitrarily combined to obtain at least six possible implementations, and this embodiment is not limited to a specific implementation.
[0048] In a specific implementation, the interval between the first status instruction and the Nth status instruction among the N status instructions received in the second event is greater than the timing duration of the timer.
[0049] If the timer timing status is normal, then theoretically the first event will occur earlier than the second event (the timer duration is less than the interval duration between 1-N status instructions). In step S204, if the first event occurs earlier than the second event, the information related to the user identifier is at the second value. After that, when the second event occurs, the value of the information related to the user identifier no longer changes.
[0050] If the timer timing is abnormal, for example, the timer expires in the middle of the timing, the first event may not occur, or may occur later than the second event. In this case, if the second event occurs first, the information related to the user identifier is at the second value, and then when the first event occurs, the value of the information related to the user identifier no longer changes.
[0051] Timing by receiving status instructions is a backup timing solution for timers, used to ensure that a disconnected SIM card can restore network connectivity. When the terminal corresponding to the SIM card is unable to connect to the network, it is reasonable to assume that most users will try to unplug the SIM card from the terminal or restart the terminal to restore the network through these methods. However, in reality, plugging the SIM card or restarting the terminal will cause the SIM card to reset, which will cause the timer to expire. If the timer expires, the first event will not occur or will occur later, causing the progress of the information related to the user identity to be in the second value to be delayed, or the information to remain in the first value state. The terminal containing the SIM card is continuously disconnected from the network, and the SIM card may be considered a waste card and can no longer be used. Unless the user replaces the SIM card with a new one, the terminal will be unable to access the mobile network again.
[0052] In order to avoid the above situation, it is necessary to set up a backup timing mechanism to ensure that even if the timer expires, the information related to the user identification can still be in the second value, thereby triggering the recovery of the terminal network. In this embodiment, the backup timing mechanism is to use the mechanism in which the terminal will continue to send status instructions to the SIM card at intervals for timing. In the prior art, the status instruction itself is not used for timing, but is only used to query the current status of the SIM card. This embodiment cleverly uses the status instruction mechanism for timing. Although this timing mechanism is not as accurate as the timer, as a backup solution, it can effectively prevent the terminal where the SIM card is located from being unable to reconnect to the network due to reasons such as timer expiration and timer application failure. At the same time, by triggering network restoration through a dual timing system, network control can be achieved at the minute level, which is more suitable in anti-fraud scenarios, effectively reducing the risk of users being defrauded, and will not cause users to be continuously disconnected from the network, which will not cause trouble to users.
[0053] In a specific implementation, before step S204, the method further includes: starting a timer;
[0054] When starting the timer, you need to set the timer duration. Set it according to the rule that the interval between the first state instruction and the Nth state instruction is greater than the timer duration to achieve the effect of double timing system.
[0055] In a specific embodiment, the timing duration of the timer is determined based on a first duration. The first duration is configured by an account that does not correspond to the SIM card. The first duration may be configured by the account that does not correspond to the SIM card on a computer program associated with interaction with the SIM card. Preferably, the first duration may also be modified on a scheduled / real-time basis according to requirements of the account that does not correspond to the SIM card.
[0056] In a preferred embodiment, the system further includes: after each SIM card reset, if a timer already exists on the SIM card, restarting the timer. If, after the SIM card reset is officially completed (i.e., after the SIM card sends an ATR response), it is discovered that a timer already existed before the reset, the timer has effectively expired and cannot continue counting normally. In this case, a new timer can be restarted.
[0057] In a specific embodiment, the SIM card can set the information related to the user identity to the first value in a variety of ways, and can also set the information related to the user identity to the second value in a variety of ways, such as Figure 2 As shown, one method includes the following steps:
[0058] S302: Receive a first instruction and set the value of the international mobile subscriber identity code to a first value. After that, the terminal where the SIM card is located is disconnected from the network.
[0059] The International Mobile Subscriber Identity (IMSI) is related to the user identity and its value is stored in the EF file of the SIM card. IMSI Among the files, a basic file is a file type used to store individual records or data in the file system of the SIM card.
[0060] By modifying the value of the International Mobile Subscriber Identity code, interference will occur when the terminal is authenticated and verifies the user's identity when entering the network, so that the terminal cannot subsequently connect to the network.
[0061] In an optional implementation, the operation of setting the value of the international mobile user identity code to the first value can be replaced by deactivating the file where the international mobile user identity code is located. Since the SIM card file supports deactivation / activation operations, when the file is in an inactivated state, its content will not be accessible. Since the international mobile user identity code is a key identifier for user network authentication, the terminal can be prevented from reading it by deactivating the file where it is located, thereby blocking the subsequent network login process. At this time, if an attempt is made to access the file, the SIM card will return an error code 0x6283.
[0062] In this step, the most preferred implementation is to modify the value of the International Mobile Subscriber Identity code to the first value, which has the highest success rate of network disconnection.
[0063] In an optional implementation scheme, the files and parameters in the SIM card basic files that have a significant impact on network authentication, resulting in network authentication failure and network connection failure, can be modified to invalid values or directly deactivated to disconnect the terminal where the SIM card is located from the network.
[0064] S304: After the value of the international mobile subscriber identity code is at the first value, the value of the international mobile subscriber identity code is set to a second value, and then the terminal where the SIM card is located is in a network connection state.
[0065] In this step, the information related to the user identifier can be set to a second value at a specific time point by using a timer and a status instruction count as mentioned in the above embodiment, thereby restoring the network connection timer of the terminal where the SIM card is located. This process can refer to the contents of the above embodiment and will not be repeated here.
[0066] In a preferred embodiment, step S302 further includes the step of converting the location information file (EF LOCI ), Packet Exchange File Information File (EF PSLOCI ), EPS location information file (EF EPSLOCI ) are set to default values.
[0067] To avoid the terminal using the location information file (EF LOCI ), Packet Exchange File Information File (EF PSLOCI ), EPS location information file (EF EPSLOCI ) These temporary identification files can continue to access the network normally, and the values contained in the above files need to be invalidated. The specific steps are: LOCI ), Packet Exchange File Information File (EF PSLOCI ), EPS location information file (EF EPSLOCI ) is set to the default value or cleared, thereby interfering with the terminal's network access and user identity authentication, resulting in the terminal being unable to access the network and being in a disconnected state.
[0068] In an optional embodiment, as Figure 3 As shown, the method provided in this embodiment includes the following steps:
[0069] S402: Receive a first instruction, set the length of the network code of the mobile device to a first value, and then the terminal where the SIM card is located is in a state of disconnecting from the network.
[0070] Mobile Network Code (MNC) is used to uniquely identify the network operator of a mobile device. The length of the mobile network code specifically refers to the length of the mobile network code in the International Mobile Subscriber Identity (IMSI). This length value will affect the terminal's parsing of the international mobile subscriber identity during network authentication. Therefore, you can try to set the length of the mobile network code in the management information file to the first value (the first value is different from the value of the MNC when the terminal is normally connected to the network) to interfere with the subsequent user's network login process and achieve the effect of disconnecting the network. The length of the mobile network code is stored in the management information file (EF AD document).
[0071] S404: After the length of the mobile device network code is at the first value, the length of the mobile device network code is set to a second value. After that, the terminal where the SIM card is located is in a network connection state.
[0072] In an alternative embodiment, Figure 4 As shown, the method provided in this embodiment includes the following steps:
[0073] S502: Receive the first instruction, update the PLMN value of the operator to which the SIM card belongs to the list of restricted PLMNs, and remove the PLMN of the operator to which the SIM card belongs from the list of PLMNs for user network access. After that, the terminal where the SIM card is located is in a state of disconnecting from the network.
[0074] The PLMN value of the operator to be restricted can be updated to the restricted PLMN list and removed from the PLMN list selected by the user to affect the user's network access process and achieve the effect of disconnecting the network. In a specific implementation, the restricted PLMN list is included in the EF of the basic file. FPLMN In the file, the PLMN list that the user selects to access is included in the EF EHPLMN In the file, when executing step S502, specifically EF EHPLMN File and EF EHPLMN Update the values in the corresponding list in the file.
[0075] S504: After updating the PLMN value of the operator to which the SIM card belongs to the list of restricted PLMNs and removing the PLMN value of the operator to which the SIM card belongs from the list of PLMNs for network access selected by the user, the PLMN value of the operator to which the SIM card belongs is removed from the list of restricted PLMNs, and the PLMN value of the operator to which the SIM card belongs is updated to the list of PLMNs for network access selected by the user. After that, the terminal where the SIM card is located is in a network connected state.
[0076] The specific implementation of this embodiment also provides a network connection processing method, which is applied to a SIM card. Figure 5 As shown, the following steps are included:
[0077] S601: receiving a first instruction, information related to a user identifier in a SIM card is at a first value, and then the terminal where the SIM card is located is in a state of being disconnected from the network;
[0078] For detailed explanation and description of the first instruction, the first value and the like, please refer to the contents of the aforementioned embodiments and will not be repeated here.
[0079] S602: After the information related to the user identity is at the first value, the information related to the user identity is at the second value, and then the terminal where the SIM card is located is in a network connection state.
[0080] For the specific explanation and description of the second value and other contents, please refer to the contents of the aforementioned embodiments and will not be repeated here.
[0081] In a specific implementation, the first instruction is triggered by an account that is not corresponding to the SIM card.
[0082] For detailed explanation and description of the first instruction being triggered by an account other than the one corresponding to the SIM card, please refer to the contents of the aforementioned embodiment and will not be repeated here.
[0083] In a specific embodiment, after a first event or a second event, the information related to the user identifier is at a second value; the first event includes receiving a timer expiration instruction from a timer; and the second event includes receiving N status instructions, where N is an integer greater than or equal to 2.
[0084] For detailed explanations and descriptions of the first event, the second event, the timer expiration instruction, the status instruction, etc., please refer to the contents of the aforementioned embodiments and will not be repeated here.
[0085] In a specific embodiment, the first status instruction received in the second event is the first status instruction received after the SIM card receives the first instruction, or the first status instruction received after the terminal where the SIM card is located is in a state of network disconnection, or the first status instruction received after the SIM card completes the first reset after receiving the first instruction; the Nth status instruction received is the last status instruction received by the terminal where the SIM card is located before being in a state of network connection, or the last status instruction received by the SIM card before completing the last reset before being in a state of network connection.
[0086] For the specific explanation and description of the first state instruction, the Nth state instruction and other contents, please refer to the contents of the aforementioned embodiment and will not be repeated here.
[0087] In a specific implementation manner, the interval between the first status instruction and the Nth status instruction among the N status instructions is greater than the timing duration of the timer.
[0088] For detailed explanation and description of the interval between the first status instruction and the Nth status instruction, please refer to the contents of the aforementioned embodiment and will not be repeated here.
[0089] In a specific implementation, the timing duration of the timer is determined according to a first duration, and the first duration is configured by an account that is not corresponding to the SIM card.
[0090] For detailed explanation and description of the first duration, configuration through an account other than the SIM card, etc., please refer to the contents of the aforementioned embodiment and will not be repeated here.
[0091] In a specific implementation, the information related to the user identity at least includes an International Mobile Subscriber Identity code.
[0092] For detailed explanation and description of the International Mobile Subscriber Identity code and other contents, please refer to the contents of the aforementioned embodiments and will not be repeated here.
[0093] Figure 6FIG. 7 is a structural diagram of a network connection processing system 700 according to another exemplary embodiment.
[0094] like Figure 6 As shown, the network connection processing system 700 may include:
[0095] The first processing unit 710 is configured to set the information related to the user identification in the SIM card to a first value after the SIM card receives the first instruction, and then the terminal where the SIM card is located is in a state of disconnecting from the network;
[0096] The second processing unit 720 is configured to set the information related to the user identity to a second value after the information related to the user identity is at the first value, and then the terminal where the SIM card is located is in a network connected state.
[0097] When a user encounters fraud (such as a fraudulent call, text message, or malicious website), the SIM card automatically identifies the risk and immediately disconnects from the network, preventing the user from performing dangerous actions such as transferring money or leaking information. Once the risk is resolved, the SIM card automatically restores the network, requiring no manual intervention from the user or the operator. This patented technology, through localized control of the SIM card, can complete network connectivity and disconnection within minutes, effectively protecting users from fraud while avoiding the inconvenience of prolonged network disconnections. This significantly improves anti-fraud efficiency and user experience.
[0098] In a specific implementation, the first instruction is triggered by an account that is not corresponding to the SIM card.
[0099] In a specific embodiment, after a first event or a second event, the information related to the user identifier is at the second value; the first event includes receiving a timer expiration instruction from a timer; the second event includes receiving N status instructions, where N is an integer greater than or equal to 2.
[0100] In a specific implementation manner, the interval between the first status instruction and the Nth status instruction among the N status instructions is greater than the timing duration of the timer.
[0101] In a specific implementation, the timing duration of the timer is determined according to a first duration, and the first duration is configured by an account that is not corresponding to the SIM card.
[0102] In a specific implementation manner, the user identity-related information further includes at least an International Mobile Subscriber Identity code.
[0103] In a specific implementation, the user identification-related information at least includes information in a location information file, information in a packet exchange information file, and information in an EPS location information file.
[0104] In a specific implementation, setting the information related to the user identification to the first value specifically includes: setting the international mobile user identification code to the first value, and setting the information in the location information file, the packet exchange file information file, and the EPS location information file to the default value; setting the information related to the user identification to the second value specifically includes: setting the international mobile user identification code to the second value.
[0105] In a specific implementation, the user identification-related information at least includes length information of the mobile device network code.
[0106] Figure 7 This is a schematic diagram of the structure of an electronic device provided in one embodiment of the present application. Figure 7 At the hardware level, the electronic device includes a processor and, optionally, an internal bus, a network interface, and memory. The memory may include internal memory, such as high-speed random-access memory (RAM), or non-volatile memory, such as at least one disk drive. Of course, the electronic device may also include other hardware required for its services.
[0107] The processor, network interface, and memory can be interconnected via an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, Figure 7 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or one type of bus.
[0108] The memory is used to store programs. Specifically, the program may include program code, such as the code of a business applet, which includes computer operating instructions. The memory may include internal memory and non-volatile memory, and provides instructions and data to the processor.
[0109] The processor reads the corresponding computer program from the non-volatile memory into the internal memory and then runs it, forming a network connection processing system at the logical level. The processor executes the program stored in the memory and is specifically used to perform the following operations:
[0110] receiving a first instruction, setting information related to the user identifier in the SIM card to a first value, and then the terminal where the SIM card is located is in a state of being disconnected from the network;
[0111] After the information related to the user identification is at the first value, the information related to the user identification is set to a second value, and then the terminal where the SIM card is located is in a network connection state.
[0112] Alternatively, the processor executes the program stored in the memory and is specifically configured to perform the following operations:
[0113] receiving a first instruction, the information related to the user identification in the SIM card is at a first value, and then the terminal where the SIM card is located is in a state of being disconnected from the network;
[0114] After the information related to the user identification is at the first value, the information related to the user identification is at the second value, and then the terminal where the SIM card is located is in a network connection state.
[0115] The above application Figure 6 The methods performed by the network connection processing system disclosed in the illustrated embodiments can be applied to or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be performed by hardware integrated logic circuits in the processor or by software instructions. The above processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The methods, steps, and logic block diagrams disclosed in the embodiments of this application can be implemented or executed. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium well-known in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in the memory, and the processor reads the information in the memory and, in conjunction with its hardware, completes the steps of the above method.
[0116] The electronic device may also perform Figure 1 Method, and realize the network connection processing system in Figure 1 Alternatively, the electronic device may also perform the functions of the embodiment shown. Figure 5 Method, and realize the network interception processing system in Figure 5 The functions of the illustrated embodiment will not be described in detail in the embodiments of the present application.
[0117] Of course, in addition to software implementation, the electronic device of this application does not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc. That is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0118] The embodiment of the present application also provides a computer-readable storage medium, which stores one or more programs, wherein the one or more programs include instructions, which, when executed by an electronic device including multiple application programs, can enable the electronic device to execute Figure 1 The method of the embodiment shown is specifically used to perform the following operations:
[0119] receiving a first instruction, setting information related to the user identifier in the SIM card to a first value, and then the terminal where the SIM card is located is in a state of being disconnected from the network;
[0120] After the information related to the user identification is at the first value, the information related to the user identification is set to a second value, and then the terminal where the SIM card is located is in a network connection state.
[0121] Alternatively, when the instruction is executed by an electronic device including multiple applications, the electronic device can execute Figure 5 The method of the embodiment shown is specifically used to perform the following operations:
[0122] receiving a first instruction, the information related to the user identification in the SIM card is at a first value, and then the terminal where the SIM card is located is in a state of being disconnected from the network;
[0123] After the information related to the user identification is at the first value, the information related to the user identification is at the second value, and then the terminal where the SIM card is located is in a network connection state.
[0124] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present application that follow the general principles of the present application and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0125] It should be understood that the present application is not limited to the exact structure described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
[0126] The foregoing description of this specification describes specific embodiments. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that described in the embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order shown or the sequential order to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
Claims
1. A network connection processing method, characterized in that: Applicable to SIM cards, including: receiving a first instruction, setting information related to the user identifier in the SIM card to a first value, and then the terminal where the SIM card is located is in a state of being disconnected from the network; After the information related to the user identification is at the first value, the information related to the user identification is set to a second value, and then the terminal where the SIM card is located is in a network connected state; Wherein, when the terminal is normally connected to the network, the value of the information related to the user identification is the zeroth value, the first value is different from the zeroth value, and the second value is the same as the zeroth value.
2. The network connection processing method according to claim 1, wherein: The first instruction is triggered by an account that does not correspond to the SIM card.
3. The network connection processing method according to claim 1 or 2, characterized in that: After the first event or the second event, the information related to the user identification is at the second value; The first event includes receiving a timer expiration instruction from a timer; The second event includes receiving N status instructions, where N is an integer greater than or equal to 2.
4. The network connection processing method according to claim 3, wherein: The first status instruction received in the second event is the first status instruction received after the SIM card receives the first instruction, or the first status instruction received by the terminal where the SIM card is located after being in the network disconnected state, or the first status instruction received after the SIM card is reset for the first time after receiving the first instruction; The Nth status instruction received in the second event is the last status instruction received by the terminal where the SIM card is located before being in the network connected state, or the last status instruction received by the SIM card before completing the last reset before being in the network connected state.
5. The network connection processing method according to claim 4, characterized in that: The interval between the first status instruction and the Nth status instruction in the N status instructions is longer than the timing duration of the timer.
6. The network connection processing method according to claim 4 or 5, characterized in that: The timing duration of the timer is determined according to a first duration, and the first duration is configured by an account that does not correspond to the SIM card.
7. The network connection processing method according to claim 1 or 2, characterized in that: The information related to the user identity is the value of the International Mobile Subscriber Identity code.
8. The network connection processing method according to claim 1, wherein: The information related to the user identity includes at least the value of the international mobile subscriber identity code, information in the location information file, information in the packet exchange information file and information in the EPS location information file.
9. The network connection processing method according to claim 1 or 2, characterized in that: The user identification-related information at least includes length information of the mobile device network code.
10. The network connection processing method according to claim 1 or 2, characterized in that: Before the terminal where the SIM card is located is disconnected from the network, the method further includes: Update the PLMN value of the operator to which the SIM card belongs to the list of restricted PLMNs, and remove the PLMN value of the operator to which the SIM card belongs from the list of PLMNs to be accessed by the user; After the information related to the user identification is at the first value, the method further includes: The PLMN value of the operator to which the SIM card belongs is removed from the restricted access PLMN list, and the PLMN value of the operator to which the SIM card belongs is updated to the PLMN list for the user to select and access the network.
11. A network connection processing method, characterized in that: Applicable to SIM cards, including: receiving a first instruction, the information related to the user identification in the SIM card is at a first value, and then the terminal where the SIM card is located is in a state of being disconnected from the network; After the information related to the user identity is at the first value, the information related to the user identity is at the second value, and then the terminal where the SIM card is located is in a network connected state; Wherein, when the terminal is normally connected to the network, the value of the information related to the user identification is the zeroth value, the first value is different from the zeroth value, and the second value is the same as the zeroth value.
12. The network connection processing method according to claim 11, characterized in that: The first instruction is triggered by an account that does not correspond to the SIM card.
13. The network connection processing method according to claim 11 or 12, characterized in that: After the first event or the second event, the information related to the user identification is at the second value; The first event includes receiving a timer expiration instruction from a timer; The second event includes receiving N status instructions, where N is an integer greater than or equal to 2.
14. The network connection processing method according to claim 13, wherein: The first status instruction received in the second event is the first status instruction received after the SIM card receives the first instruction, or the first status instruction received by the terminal where the SIM card is located after being in the network disconnected state, or the first status instruction received after the SIM card is reset for the first time after receiving the first instruction; The Nth status instruction received in the second event is the last status instruction received by the terminal where the SIM card is located before being in the network connected state, or the last status instruction received by the SIM card before completing the last reset before being in the network connected state.
15. The network connection processing method according to claim 14, characterized in that: The interval between the first status instruction and the Nth status instruction in the N status instructions is longer than the timing duration of the timer.
16. The network connection processing method according to claim 14 or 15, characterized in that: The timing duration of the timer is determined according to a first duration, and the first duration is configured by an account that does not correspond to the SIM card.
17. The network connection processing method according to claim 11 or 12, characterized in that: The information related to the user identity at least includes an International Mobile Subscriber Identity code.
18. A network connection processing system, characterized in that: include: A first processing unit is configured to set the information related to the user identification in the SIM card to a first value after the SIM card receives the first instruction, and then the terminal where the SIM card is located is in a state of disconnecting from the network; a second processing unit, configured to set the information related to the user identifier to a second value after the information related to the user identifier is at the first value, and thereafter, the terminal where the SIM card is located is in a network connected state; Wherein, when the terminal is normally connected to the network, the value of the information related to the user identification is the zeroth value, the first value is different from the zeroth value, and the second value is the same as the zeroth value.
19. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the network connection processing method according to any one of claims 1 to 10 is implemented, or the network connection processing method according to any one of claims 11 to 17 is implemented.
20. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by an electronic device, it implements the network connection processing method according to any one of claims 1 to 10, or implements the network connection processing method according to any one of claims 11 to 17.
21. A computer program product, characterized in that The invention comprises a computer program, which, when executed by an electronic device, implements the network connection processing method according to any one of claims 1 to 10, or implements the network connection processing method according to any one of claims 11 to 17.
Citation Information
Patent Citations
Information verification method based on SIM card
CN119545359A