User identity identification card unlocking method and device, terminal and storage medium
The SIMLock function is temporarily disabled by the terminal and the unlocking request is sent to the operator server, which realizes remote unlocking of the SIM card, solves the complex and cumbersome unlocking process in the existing technology, and improves the human-computer interaction efficiency.
Patent Information
- Application Number
- CN202310749418.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-25
- Publication Date
- 2024-12-27
AI Technical Summary
In the prior art, the SIM card unlocking process is complicated and cumbersome, requiring user participation and technical support from the operator side, resulting in low human-computer interaction efficiency.
The terminal temporarily disables the SIMLock function, so that the terminal can access the network in a disabled state, and sends an unlock request to the associated operator server, requesting to turn off the SIMLock function, and realize remote unlocking.
The SIM card unlocking operation process is simplified and the human-computer interaction efficiency is improved. Users do not need to make a service phone number or go to the business hall. They only need to operate the terminal when needed to unlock the SIM card.
Smart Images

Figure CN119211901A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a method, device, terminal and storage medium for unlocking a user identity card. Background Art
[0002] The SIM (Subscriber Identity Module) card is the key for the terminal to connect to the network. Users only need to insert the SIM card into any terminal to achieve communication. In order to protect their own interests, some network operators will add the SIMLock function to the operator-customized terminals. SIMLock is equivalent to a network lock. When the information in the SIM card does not match the information stored in the terminal, the terminal will turn on the SIMLock function, and the related functions of the SIM card cannot be used normally. For example, making calls, sending text messages, and accessing the network. Therefore, how to unlock the SIM card is a technical problem that needs to be solved.
[0003] In the related art, users can actively obtain the unlocking password by calling the operator's service phone or going to the operator's business hall. Then, by entering the unlocking password on the terminal, the SIM card can be unlocked. However, this solution not only requires user participation, but also requires the operator to invest technical personnel to support the unlocking process. Therefore, the operation process is relatively complicated and cumbersome, resulting in low efficiency of human-computer interaction. Summary of the invention
[0004] The embodiment of the present application provides a user identity card unlocking method, device, terminal and storage medium, which can remotely unlock the SIM card. It not only simplifies the operation process of unlocking the SIM card, but also improves the efficiency of human-computer interaction. The technical solution is as follows:
[0005] According to one aspect of an embodiment of the present application, a method for unlocking a user identity card is provided, the method comprising:
[0006] In response to an unlocking operation on a user identity SIM card, switching a SIMLock function to a disabled state, wherein the SIMLock function is used to prohibit the terminal from using the SIM card for communication;
[0007] In response to the SIMLock function being in a disabled state, sending a network access request to a target server, the target server being a server associated with a target network operator associated with the SIM card, the network access request being used to request access to a network of the target server;
[0008] If the disabled time of the SIMLock function is not greater than the time threshold and the network of the target server is successfully connected, sending an unlock request to the target server, wherein the unlock request carries the device identification of the terminal, and the target server is configured to determine whether to disable the SIMLock function based on the device identification;
[0009] When the disabled time is not greater than the time threshold and a response message returned by the target server is received, a response operation indicated by the response message is performed, wherein the response information is to agree or refuse to unlock the SIM card, and the response operation is to disable or enable the SIMLock function.
[0010] According to another aspect of an embodiment of the present application, a user identity card unlocking device is provided, the device comprising:
[0011] A function disabling module, configured to switch a SIMLock function to a disabled state in response to an unlocking operation on a user identity SIM card, wherein the SIMLock function is configured to prohibit a terminal from using the SIM card for communication;
[0012] A first sending module, configured to send a network access request to a target server in response to the SIMLock function being in a disabled state, wherein the target server is a server associated with a target network operator associated with the SIM card, and the network access request is used to request access to a network of the target server;
[0013] A second sending module is used to send an unlock request to the target server if the disabled time of the SIMLock function is not greater than the time threshold and the network of the target server is successfully connected, the unlock request carries the device identification of the terminal, and the target server is used to determine whether to disable the SIMLock function based on the device identification;
[0014] An operation execution module is used to execute a response operation indicated by the response information when the disabled time is not greater than the time threshold and a response information returned by the target server is received, wherein the response information is to agree or refuse to unlock the SIM card, and the response operation is to turn off or enable the SIMLock function.
[0015] In some embodiments, the operation execution module includes:
[0016] a function shut-down unit, configured to shut down the SIMLock function in response to the response information indicating that the SIM card is allowed to be unlocked, if the disabled time is not greater than the time threshold and the response information is received;
[0017] The function management unit is used for switching the SIMLock function to an enabled state and prohibiting access to the network of the target server in response to the response information that the unlocking of the SIM card is refused.
[0018] In some embodiments, the function disabling module includes:
[0019] a determining unit, configured to determine a number of unlocking failures of the SIM card in response to an unlocking operation on the SIM card;
[0020] a function disabling unit, configured to switch the SIMLock function to the disabled state if the number of unlocking failures of the SIM card is not greater than a number threshold;
[0021] The display unit is used to display a first prompt message when the number of unlocking failures is greater than the number threshold, wherein the first prompt message is used to prompt that it is currently impossible to apply to unlock the SIM card.
[0022] In some embodiments, the apparatus further comprises:
[0023] The function management module switches the SIMLock function to an enabled state and prohibits access to the network of the target server in response to failure to successfully access the network or failure to receive the response information when the disabled time is greater than the time threshold.
[0024] In some embodiments, the apparatus further comprises:
[0025] The first sending module is further configured to, if the disabled time is not greater than the time threshold and the network is not successfully accessed, repeatedly send the network access request to the target server every X seconds until the network of the target server is successfully accessed, where X is a positive integer;
[0026] The second sending module is further configured to repeatedly send the unlock request to the target server every Y seconds when the disabled time is not greater than the time threshold and the response information is not received, until a response information returned by the target server is received, where Y is a positive integer.
[0027] In some embodiments, the apparatus further comprises:
[0028] The first display module is used to display second prompt information in response to failure to successfully access the network or failure to receive the response information, wherein the second prompt information is used to prompt that the SIM card unlocking fails.
[0029] In some embodiments, the apparatus further comprises:
[0030] A second display module is used to display a third prompt message when it is detected that the SIMLock function is in an enabled state, wherein the third prompt message is used to prompt whether to unlock the SIM card;
[0031] The function disabling module is used to display an unlocking interface in response to a confirmation operation on the third prompt information, wherein the unlocking interface displays an automatic unlocking mode and a manual unlocking mode; in response to a selection operation on the automatic unlocking mode, the SIMLock function is switched to the disabled state.
[0032] In some embodiments, the apparatus further comprises:
[0033] A third display module, configured to display a password input area on the unlocking interface in response to a selection operation of the manual unlocking mode;
[0034] The function closing module is used to respond to the password input operation on the password input area and close the SIMLock function when the input password in the password input area is consistent with the unlocking password of the SIM card.
[0035] According to another aspect of an embodiment of the present application, a terminal is provided, comprising a processor and a memory; the memory stores at least one program code, and the at least one program code is used to be executed by the processor to implement the user identity card unlocking method as described in the above aspect.
[0036] According to another aspect of an embodiment of the present application, a computer-readable storage medium is provided, wherein the storage medium stores at least one program code, and the at least one program code is used to be executed by a processor to implement the user identity card unlocking method as described in the above aspect.
[0037] The embodiment of the present application provides a method for unlocking a user identity card. When unlocking a SIM card, the terminal temporarily disables the SIMLock function so that the terminal can access the network normally during the period when the SIMLock function is disabled. The terminal then establishes a network connection through a server associated with a network operator associated with the SIM card, and can send an unlock request to the server to request that the SIM card be unlocked. In the above implementation method, the user does not need to call the operator's service phone or go to the operator's business hall to obtain an unlock password for unlocking. The user only needs to temporarily disable the SIMLOCK function by operating the terminal when the SIM card needs to be unlocked, and the SIM card can be remotely unlocked. This not only simplifies the operation process of unlocking the SIM card, but also improves the efficiency of human-computer interaction. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0039] Figure 1 It is a schematic diagram of an implementation environment of a user identity card unlocking method provided in an embodiment of the present application;
[0040] Figure 2 is a flow chart of a method for unlocking a user identity card provided in an embodiment of the present application;
[0041] Figure 3 is a flow chart of another method for unlocking a user identity card provided in an embodiment of the present application;
[0042] Figure 4 It is an interactive flow chart of a SIM card unlocking method provided in an embodiment of the present application;
[0043] Figure 5 It is a structural schematic diagram of a user identity card unlocking device provided in an embodiment of the present application;
[0044] Figure 6 It is a structural schematic diagram of another user identity card unlocking device provided in an embodiment of the present application;
[0045] Figure 7 It is a structural block diagram of a terminal provided in an embodiment of the present application. DETAILED DESCRIPTION
[0046] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0047] In this article, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of the associated objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.
[0048] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the device identification of the terminal involved in this application is obtained with full authorization.
[0049] The user identity card unlocking method provided in the embodiment of the present application can be executed by a terminal. Figure 1 Schematic diagram of the implementation environment of a user identity card unlocking method provided in an embodiment of the present application. Figure 1 The implementation environment includes a terminal 101 and a server 102. The terminal 101 can be directly or indirectly connected to the server 102 through wired or wireless communication, which is not limited in this application.
[0050] In some embodiments, the terminal 101 may be a mobile phone, a desktop computer, a laptop computer, a tablet computer, an intelligent voice interaction device, a vehicle-mounted terminal, or other types of terminals. The terminal 101 may be equipped with at least one SIM card, which may be an external SIM card or a built-in eSIM (embedded-SIM) card. The terminal 101 may communicate with the server 102 using the SIM card.
[0051] In some embodiments, the server 102 is an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. The server 102 is managed by the network operator associated with the SIM card in the terminal 101.
[0052] In some embodiments, the server 102 undertakes the main computing work and the terminal 101 undertakes the secondary computing work; or, the server 102 undertakes the secondary computing work and the terminal 101 undertakes the main computing work; or, the server 102 and the terminal 101 adopt a distributed computing architecture to perform collaborative computing.
[0053] Figure 2 This is a flowchart of a method for unlocking a user identity card provided in an embodiment of the present application. The method is executed by a terminal, see Figure 2 , the method comprising:
[0054] 201. In response to an unlocking operation on a user identity SIM card, switch a SIMLock function to a disabled state, where the SIMLock function is used to prohibit a terminal from using a SIM card for communication.
[0055] In an embodiment of the present application, the terminal is provided with at least one card slot, and each card slot supports the insertion of a SIM card. The terminal can communicate through the SIM card. When the SIMLock function of the terminal is in an enabled state, the functions related to the SIM card cannot be used normally, so the terminal cannot use the SIM card for communication. For example, sending text messages, making calls, and accessing the network. When the user operates the terminal to unlock the SIM card, the terminal can respond to the unlocking operation of the SIM card and change the SIMLock function from an enabled state to a disabled state, so that the terminal can communicate through the SIM card.
[0056] 202. In response to the SIMLock function being in a disabled state, sending a network access request to a target server, where the target server is a server associated with a target network operator associated with the SIM card, and the network access request is used to request access to a network of the target server.
[0057] In an embodiment of the present application, when the SIMLock function is in a disabled state, the terminal can temporarily unlock the SIM card. At this time, the functions related to the SIM card can be used normally, so the terminal can access the network normally during the period when the SIMLock function is disabled. Since the network operators associated with the SIM cards of different users may be the same or different, the servers associated with different operators are different. Therefore, the terminal can send a network access request to the server associated with the target network operator associated with the SIM card to request access to the network of the server, so that the terminal can communicate with the server normally.
[0058] 203. When the disabled time of the SIMLock function is not greater than the time threshold and the network of the target server is successfully connected, an unlock request is sent to the target server, where the unlock request carries a device identification of the terminal. The target server determines whether to disable the SIMLock function based on the device identification.
[0059] In the embodiment of the present application, the disabled duration of the SIMLock function is the duration that the SIMLock function has been in a disabled state. When the disabled duration is not greater than the duration threshold, the SIMLock function can continue to be in a disabled state. After the terminal has sent the network access request, if the terminal receives the response information to the network access request returned by the target server, it means that the terminal has successfully accessed the network of the target server. Otherwise, the network of the target server has not been successfully accessed. Therefore, when the disabled duration is not greater than the duration threshold and the terminal successfully accesses the network of the target server, it means that the terminal has successfully accessed the network when the SIMLock function is in a disabled state. At this time, the terminal can send an unlock request to the target server to request to unlock the SIM card. After receiving the unlock request, the target server can determine whether to turn off the SIMLock function of the terminal corresponding to the device identifier according to the device identifier carried in the unlock request. Among them, the device identifier can be IMEI (International Mobile Equipment Identity). The duration threshold can be 40 seconds, 50 seconds, 60 seconds, etc., and the embodiment of the present application does not limit the value of the duration threshold.
[0060] 204. When the disabled time is not greater than the time threshold and a response message returned by the target server is received, a response operation indicated by the response message is performed, the response message is approval or refusal to unlock the SIM card, and the response operation is disabling or enabling the SIMLock function.
[0061] In an embodiment of the present application, after sending the unlock request, if the terminal receives a response message to the unlock request returned by the target server when the disabled time of the SIMLock function is not greater than the time threshold, it means that the target server has successfully received the unlock request and returns a response message according to the device identifier carried in the unlock request. If the response message is to agree to unlock the SIM card, the terminal can turn off the SIMLock function and completely unlock the SIM card. At this time, the terminal can maintain the network access state for communication without being restricted by the time threshold. On the contrary, if the response message is to refuse to unlock the SIM card, the terminal immediately restores the SIMLock function and changes the SIMLock function from a disabled state to an enabled state.
[0062] The embodiment of the present application provides a method for unlocking a user identity card. When unlocking a SIM card, the terminal temporarily disables the SIMLock function so that the terminal can access the network normally during the period when the SIMLock function is disabled. The terminal then establishes a network connection through a server associated with a network operator associated with the SIM card, and can send an unlock request to the server to request that the SIM card be unlocked. In the above implementation method, the user does not need to call the operator's service phone or go to the operator's business hall to obtain an unlock password for unlocking. The user only needs to temporarily disable the SIMLOCK function by operating the terminal when the SIM card needs to be unlocked, and the SIM card can be remotely unlocked. This not only simplifies the operation process of unlocking the SIM card, but also improves the efficiency of human-computer interaction.
[0063] Figure 3 is a flowchart of another method for unlocking a user identity card provided in an embodiment of the present application. The method is executed by a terminal, see Figure 3 , the method comprising:
[0064] 301. In response to an unlocking operation on a user identity SIM card, switch a SIMLock function to a disabled state, where the SIMLock function is used to prohibit a terminal from using a SIM card for communication.
[0065] In an embodiment of the present application, the terminal is provided with at least one card slot, and each card slot supports the insertion of a SIM card. The terminal can communicate through the SIM card. When the SIMLock function of the terminal is in an enabled state, the functions related to the SIM card cannot be used normally, so the terminal cannot use the SIM card for communication. For example, sending text messages, making calls, and accessing the network. When the user operates the terminal to unlock the SIM card, the terminal can respond to the unlocking operation of the SIM card and change the SIMLock function from an enabled state to a disabled state, so that the terminal can communicate through the SIM card.
[0066] In some embodiments, by setting a times threshold, the number of times the SIM card is unlocked can be limited. Accordingly, in response to the unlocking operation of the SIM card, the number of times the SIM card is unlocked is determined; when the number of times the SIM card is unlocked is not greater than the times threshold, the SIMLock function is switched to a disabled state; when the number of times the unlocking fails is greater than the times threshold, a first prompt message is displayed, and the first prompt message is used to prompt that it is currently impossible to apply to unlock the SIM card. Before successfully unlocking the SIM card, the user can operate the terminal to unlock the SIM card multiple times, but the total number of unlocks cannot exceed the preset times threshold. Therefore, when the user unlocks the SIM card, the terminal can determine the number of times the SIM card is unlocked by detecting the unlocking process of the SIM card. When the number of unlocking failures is not greater than the times threshold, it indicates that the user can continue to unlock the SIM card, so the terminal can switch the SIMLock function to a disabled state, so that the terminal can access the network normally. On the contrary, when the number of unlocking failures is greater than the times threshold, it indicates that it is currently impossible to continue to unlock the SIM card, and the terminal cannot disable the SIMLock function. The terminal can prompt the user that it is currently impossible to apply to unlock the SIM card by displaying the first prompt message. By setting a threshold number of times, the terminal can limit the number of times the SIMLock function is temporarily disabled by the terminal, which makes it convenient for users to remotely unlock the SIM card while reasonably protecting the rights and interests of the network operator associated with the SIM.
[0067] It should be noted that the above number threshold is not the total number of times the SIM card is unlocked, but the total number of times the user can operate the terminal to unlock the SIM card within a period of time. Therefore, if the number of unlocking failures is greater than the number threshold, the SIM card cannot be unlocked at present. However, after a period of time, the user can operate the terminal again to unlock the SIM card. Alternatively, after restarting the terminal or reinserting the SIM card, the SIM card can be unlocked again. Among them, the number threshold can be 3, 4, 5, etc.
[0068] In some embodiments, the terminal can display the unlocking method of the SIM card on the unlocking interface for the user to choose. Accordingly, when it is detected that the SIMLock function is in an enabled state, a third prompt message is displayed, and the third prompt message is used to prompt whether to unlock the SIM card; in response to the confirmation operation of the third prompt message, an unlocking interface is displayed, and the unlocking interface displays an automatic unlocking method and a manual unlocking method; in response to the selection operation of the automatic unlocking method, the SIMLock function is switched to a disabled state. Among them, when it is detected that the SIMLock function is in an enabled state, it indicates that the SIM card is in a locked state at this time, and the terminal cannot use the SIM card for communication. By displaying the third prompt message, the terminal can prompt the user whether to unlock the SIM card. When the confirmation operation of the third prompt message is detected, the terminal can display the unlocking method in the unlocking interface for the user to choose. The unlocking method includes an automatic unlocking method and a manual unlocking method. When the user selects the automatic unlocking method, the terminal can switch the SIMLock function to a disabled state, so that the terminal can access the network normally, and automatically unlock after successfully accessing the network. The above unlocking method simplifies the operation process of unlocking the SIM card and improves the efficiency of SIM card unlocking.
[0069] In some embodiments, the user can also operate the terminal to manually unlock the SIM card. Accordingly, in response to the selection operation of the manual unlocking mode, the password input area is displayed on the unlocking interface; in response to the password input operation of the password input area, when the input password in the password input area is consistent with the unlocking password of the SIM card, the SIMLock function is turned off. Among them, when the user selects the manual unlocking mode, the terminal can display the password input area on the unlocking interface. By verifying the password entered by the user in the password input area, the terminal can turn off the SIMLock function when the input password is consistent with the unlocking password of the SIM card, thereby unlocking the SIM card.
[0070] 302. In response to the SIMLock function being in a disabled state, sending a network access request to a target server, where the target server is a server associated with a target network operator associated with the SIM card, and the network access request is used to request access to a network of the target server.
[0071] In an embodiment of the present application, when the SIMLock function is in a disabled state, the terminal can temporarily unlock the SIM card. At this time, the functions related to the SIM card can be used normally, so the terminal can access the network normally during the period when the SIMLock function is disabled. Since the network operators associated with the SIM cards of different users may be the same or different, the servers associated with different operators are different. Therefore, the terminal can send a network access request to the server associated with the target network operator associated with the SIM card to request access to the network of the server, so that the terminal can communicate with the server normally.
[0072] In some embodiments, the terminal can send a network access request to the target server multiple times. Accordingly, when the disabled time is not greater than the time threshold and the network is not successfully accessed, the network access request is repeatedly sent to the target server every X seconds until the network of the target server is successfully accessed, where X is a positive integer. Wherein, after the terminal has sent the network access request, if the terminal does not receive the response information to the network access request returned by the target server, it means that the terminal has not successfully accessed the network of the target server. Since the disabled time of the SIMLock function does not exceed the time threshold at this time, it indicates that the SIMLock function can continue to be disabled. Therefore, the terminal can repeatedly send a network access request to the target server every X seconds when the disabled time is not greater than the time threshold until the terminal successfully accesses the network. By repeatedly requesting to access the network of the target server during the process of temporarily disabling the SIMLock function, the terminal can improve the success rate of the terminal's access to the network and avoid sending the situation where the terminal fails to access the network due to network abnormalities or server abnormalities.
[0073] 303. When the disabled time of the SIMLock function is not greater than the time threshold and the network of the target server is successfully connected, an unlock request is sent to the target server, where the unlock request carries a device identification of the terminal. The target server determines whether to disable the SIMLock function based on the device identification.
[0074] In the embodiment of the present application, the disabled duration of the SIMLock function is the duration that the SIMLock function has been in a disabled state. When the disabled duration is not greater than the duration threshold, the SIMLock function can continue to be in a disabled state. After the terminal has sent the network access request, if the terminal receives the response information to the network access request returned by the target server, it means that the terminal has successfully accessed the network of the target server. Otherwise, the network of the target server has not been successfully accessed. Therefore, when the disabled duration is not greater than the duration threshold and the terminal successfully accesses the network of the target server, it means that the terminal has successfully accessed the network when the SIMLock function is in a disabled state. At this time, the terminal can send an unlock request to the target server to request to unlock the SIM card. After receiving the unlock request, the target server can determine whether to turn off the SIMLock function of the terminal corresponding to the device identifier according to the device identifier carried in the unlock request. Among them, the device identifier can be IMEI (International Mobile Equipment Identity). The duration threshold can be 40 seconds, 50 seconds, 60 seconds, etc., and the embodiment of the present application does not limit the value of the duration threshold.
[0075] In some embodiments, the terminal can send an unlock request to the target server multiple times. Accordingly, when the disabled time is not greater than the time threshold and no response information is received, the unlock request is repeatedly sent to the target server every Y seconds until the response information returned by the target server is received, where Y is a positive integer. Wherein, after the terminal has sent the unlock request, if the terminal does not receive the response information to the unlock request returned by the target server, it means that the target server has not successfully received the unlock request. Since the disabled time of the SIMLock function does not exceed the time threshold at this time, it indicates that the SIMLock function can continue to be disabled. Therefore, the terminal can repeatedly send an unlock request to the target server every Y seconds when the disabled time is not greater than the time threshold until the terminal receives the response information returned by the target server. By repeatedly requesting the target server to unlock the SIM card during the process of temporarily disabling the SIMLock function, the terminal can improve the success rate of unlocking the SIM card and avoid sending the situation where the SIM card unlocking fails due to network abnormalities or server abnormalities.
[0076] 304. When the disabled time is not greater than the time threshold and a response message is received, in response to the response message agreeing to unlock the SIM card, the SIMLock function is disabled.
[0077] In an embodiment of the present application, after sending the unlock request, if the terminal receives a response message to the unlock request returned by the target server when the disabled time of the SIMLock function is not greater than the time threshold, it means that the target server has successfully received the unlock request and returns the response message according to the device identifier carried in the unlock request. The terminal can perform the response operation indicated by the response message. If the response message is to agree to unlock the SIM card, the terminal can turn off the SIMLock function and completely unlock the SIM card. At this time, the terminal can maintain the network access status for communication without being restricted by the time threshold.
[0078] 305. When the disabled time is not greater than the time threshold and a response message is received, in response to the response message refusing to unlock the SIM card, the SIMLock function is switched to an enabled state, and access to the target server's network is prohibited.
[0079] In the embodiment of the present application, when the response information is to refuse to unlock the SIM card, the terminal can immediately restore the SIMLock function and change the SIMLock function from a disabled state to an enabled state. At this time, the SIM card is in a locked state, and the terminal cannot communicate through the SIM card. Therefore, the terminal is prohibited from accessing the network of the target server associated with the target network operator associated with the SIM card.
[0080] For example, Figure 4 FIG. 1 is an interactive flow chart of a SIM card unlocking method provided in an embodiment of the present application. Figure 4As shown, first, the terminal can provide an unlocking interface for the user to unlock the SIM card. In response to the unlocking operation of the SIM card, the terminal can temporarily disable the SIMLOCK function. Since the SIMLOCK function is temporarily disabled, the terminal sends a network access request to the target server to request access to the network of the target server. During the period of disabling the SIMLOCK function, if the terminal successfully accesses the network of the target server, the terminal can send an unlocking request to the target server, and the unlocking request carries the device identification of the terminal. The target server can determine whether to turn off the SIMLOCK function of the terminal based on the device identification carried in the unlocking request. During the period of disabling the SIMLOCK function, if the terminal receives a response message to the received request returned by the target server, the terminal can perform the response operation indicated by the response message. If the response message replied by the target server is to refuse to unlock the SIM card, the terminal will immediately restore the SIMLOCK function after receiving the response message, and change the SIMLOCK function from a disabled state to an enabled state. If the response message replied by the target server is to agree to unlock the SIM card, the terminal will turn off the SIMLOCK function of the terminal after receiving the response message, and maintain the network access state. In addition, in order to prevent the situation where the server does not respond to the unlock request or responds within a time limit due to server or network abnormalities during the unlocking period, the terminal can set a time threshold for temporarily disabling the SIMLOCK function. If no response is received when the SIMLOCK function has been disabled for longer than the time threshold, the SIMLOCK function is restored and the terminal is immediately disconnected from the network.
[0081] In some embodiments, the terminal can prompt the user that the SIM card unlocking failed by displaying a prompt message. Accordingly, in response to the failure to successfully access the network or the failure to receive the response message, a second prompt message is displayed, and the second prompt message is used to prompt that the SIM card unlocking failed. Among them, when the disabled time is greater than the time threshold, the SIMLock function cannot continue to be disabled. Therefore, when the disabled time is greater than the time threshold, if the terminal fails to successfully access the network or does not receive the response message, it indicates that the SIM card unlocking failed. Therefore, the terminal can display the second prompt message to prompt the user that the SIM card unlocking failed.
[0082] In some embodiments, the terminal can immediately restore the SIMLock function when the SIM card fails to be unlocked. Accordingly, in response to failure to successfully access the network or failure to receive a response message, the SIMLock function is switched to an enabled state, and access to the target server's network is prohibited. Wherein, within the duration threshold, if the terminal fails to successfully access the network or fails to receive a response message, it indicates that the SIM card has failed to be unlocked. The terminal can immediately restore the SIMLock function and change the SIMLock function from a disabled state to an enabled state. At this time, the SIM card is in a locked state, and the terminal cannot communicate through the SIM card, so the terminal is prohibited from accessing the network of the target server associated with the target network operator associated with the SIM card.
[0083] The embodiment of the present application provides a method for unlocking a user identity card. When unlocking a SIM card, the terminal temporarily disables the SIMLock function so that the terminal can access the network normally during the period when the SIMLock function is disabled. The terminal then establishes a network connection through a server associated with a network operator associated with the SIM card, and can send an unlock request to the server to request that the SIM card be unlocked. In the above implementation method, the user does not need to call the operator's service phone or go to the operator's business hall to obtain an unlock password for unlocking. The user only needs to temporarily disable the SIMLOCK function by operating the terminal when the SIM card needs to be unlocked, and the SIM card can be remotely unlocked. This not only simplifies the operation process of unlocking the SIM card, but also improves the efficiency of human-computer interaction.
[0084] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.
[0085] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.
[0086] Figure 5 It is a structural schematic diagram of a user identity card unlocking device provided in an embodiment of the present application.
[0087] See also Figure 5 , the device comprises:
[0088] A function disabling module 501, configured to switch a SIMLock function to a disabled state in response to an unlocking operation on a user identity SIM card, wherein the SIMLock function is configured to prohibit a terminal from using a SIM card for communication;
[0089] A first sending module 502 is used for sending a network access request to a target server in response to the SIMLock function being in a disabled state, where the target server is a server associated with a target network operator associated with the SIM card, and the network access request is used to request access to a network of the target server;
[0090] The second sending module 503 is used to send an unlock request to the target server when the disabled time of the SIMLock function is not greater than the time threshold and the target server's network is successfully connected, the unlock request carries the device identification of the terminal, and the target server is used to determine whether to disable the SIMLock function based on the device identification;
[0091] The operation execution module 504 is used to execute the response operation indicated by the response information when the disabled time is not greater than the time threshold and the response information returned by the target server is received. The response information is to agree or refuse to unlock the SIM card, and the response operation is to turn off or enable the SIMLock function.
[0092] In some embodiments, Figure 6 is a schematic diagram of the structure of another user identity card unlocking device provided in an embodiment of the present application. Figure 6 , the operation execution module 504 includes:
[0093] The function closing unit 601 is configured to close the SIMLock function in response to the response information indicating that the SIM card is allowed to be unlocked, if the disabled time is not greater than the time threshold and a response message is received;
[0094] The function management unit 602 is used to switch the SIMLock function to an enabled state in response to the response information that the SIM card is rejected to be unlocked, and prohibit access to the network of the target server.
[0095] In some embodiments, see Figure 6 , the function disabling module 501 includes:
[0096] The determination unit 603 is used to determine the number of SIM card unlocking failures in response to the unlocking operation of the SIM card;
[0097] The function disabling unit 604 is used to switch the SIMLock function to a disabled state when the number of unlocking failures of the SIM card is not greater than a number threshold;
[0098] The display unit 605 is used to display a first prompt message when the number of unlocking failures is greater than a number threshold, and the first prompt message is used to prompt that it is currently impossible to apply to unlock the SIM card.
[0099] In some embodiments, see Figure 6, the device further comprises:
[0100] The function management module 505 switches the SIMLock function to an enabled state and prohibits access to the target server's network in response to failure to successfully access the network or failure to receive response information when the disabled time is greater than the time threshold.
[0101] In some embodiments, see Figure 6 , the device further comprises:
[0102] The first sending module 502 is further configured to repeatedly send a network access request to the target server every X seconds until the target server's network is successfully accessed, when the disabled time is not greater than the time threshold and the network is not successfully accessed, where X is a positive integer;
[0103] The second sending module 503 is further used to repeatedly send an unlock request to the target server every Y seconds when the disabled time is not greater than the time threshold and no response information is received, until a response information returned by the target server is received, where Y is a positive integer.
[0104] In some embodiments, see Figure 6 , the device further comprises:
[0105] The first display module 506 is configured to display a second prompt message in response to failure to access the network successfully or failure to receive the response message, wherein the second prompt message is configured to prompt that the SIM card unlocking fails.
[0106] In some embodiments, see Figure 6 , the device further comprises:
[0107] The second display module 507 is used to display a third prompt message when it is detected that the SIMLock function is in an enabled state, and the third prompt message is used to prompt whether to unlock the SIM card;
[0108] The function disabling module 501 is used to display an unlocking interface in response to a confirmation operation on the third prompt information, wherein the unlocking interface displays an automatic unlocking mode and a manual unlocking mode; in response to a selection operation on the automatic unlocking mode, the SIMLock function is switched to a disabled state.
[0109] In some embodiments, see Figure 6 , the device further comprises:
[0110] The third display module 508 is used to display a password input area on the unlocking interface in response to the selection operation of the manual unlocking mode;
[0111] The function closing module 509 is used to respond to the password input operation on the password input area, and when the input password in the password input area is consistent with the unlocking password of the SIM card, close the SIMLock function.
[0112] The embodiment of the present application provides a user identity card unlocking device. When unlocking the SIM card, the terminal temporarily disables the SIMLock function so that the terminal can access the network normally during the period when the SIMLock function is disabled. The terminal then establishes a network connection through a server associated with the network operator associated with the SIM card, and can send an unlock request to the server to request to unlock the SIM card. In the above implementation method, the user does not need to call the operator's service phone or go to the operator's business hall to obtain the unlocking password for unlocking. The user only needs to temporarily disable the SIMLOCK function by operating the terminal when the SIM card needs to be unlocked, and the SIM card can be remotely unlocked. It not only simplifies the operation process of unlocking the SIM card, but also improves the efficiency of human-computer interaction.
[0113] It should be noted that the device provided in the above embodiment, when implementing its functions, only uses the division of the above functional modules as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the server is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and their specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0114] An embodiment of the present application provides a terminal, which includes a processor and a memory; the memory stores at least one program code, and the at least one program code is used to be executed by the processor to implement the user identity card unlocking method provided by the above-mentioned various method embodiments.
[0115] Figure 7 It is a block diagram of a terminal 700 provided according to an embodiment of the present application. In some embodiments, the terminal 700 is a smart phone, a tablet computer, a computer with wireless communication function, or a wearable device. The terminal 700 in the present application includes at least one or more of the following components: a processor 710, a memory 720, and at least two wireless links 730.
[0116] In some embodiments, the processor 710 includes one or more processing cores. The processor 710 uses various interfaces and lines to connect various parts of the entire terminal 700, and executes various functions and processes data of the terminal 700 by running or executing program codes stored in the memory 720, and calling data stored in the memory 720. In some embodiments, the processor 710 is implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 710 can integrate one or more combinations of central processing unit (CPU), graphics processing unit (GPU), neural network processor (NPU) and modem. Among them, the CPU mainly processes the operating system, user interface and application program; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the NPU is used to implement artificial intelligence (AI) functions; and the modem is used to process wireless communications. It is understandable that the above-mentioned modem may not be integrated into the processor 710, but may be implemented by a separate chip.
[0117] In some embodiments, the processor 710 is used to control the working conditions of at least two wireless links 730. Accordingly, the processor 710 is a processor integrated with a wireless fidelity (Wireless Fidelity, Wi-Fi) chip. The Wi-Fi chip is a chip with dual Wi-Fi processing capabilities. For example, the Wi-Fi chip is a dual-band dual concurrent (Dual Band Dual Concurrent, DBDC) chip, or a dual-band synchronous (Dual Band Simultaneous, DBS) chip, etc.
[0118] In some embodiments, the memory 720 includes a random access memory (RAM), and in some embodiments, the memory 720 includes a read-only memory (ROM). In some embodiments, the memory 720 includes a non-transitory computer-readable storage medium. The memory 720 can be used to store program codes. The memory 720 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc.; the data storage area may store data created according to the use of the terminal 700 (such as audio data, a phone book), etc.
[0119] In some embodiments, the memory 720 stores reception schemes for receiving beacon frames of different wireless links 730, as well as identifiers of access nodes connected to different wireless links 730, identifiers of wireless links 730, and the like.
[0120] The at least two wireless links 730 are used to connect different access points (APs) to receive downlink data sent by the APs, wherein the different access points are access points in the same router or access points in different routers.
[0121] In some embodiments, the terminal 700 also includes a display screen. The display screen is a display component for displaying a user interface. In some embodiments, the display screen is a display screen with a touch function, through which the user can use any suitable object such as a finger or a touch pen to perform touch operations on the display screen. In some embodiments, the display screen is usually arranged on the front panel of the terminal 700. In some embodiments, the display screen is designed to be a full screen, a curved screen, a special-shaped screen, a double-sided screen or a folding screen. In some embodiments, the display screen is also designed to be a combination of a full screen and a curved screen, a combination of a special-shaped screen and a curved screen, etc., which is not limited in this embodiment.
[0122] In addition, those skilled in the art will appreciate that the structure of the terminal 700 shown in the above drawings does not limit the terminal 700, and the terminal 700 includes more or fewer components than shown in the drawings, or combines certain components, or arranges components differently. For example, the terminal 700 also includes components such as a microphone, a speaker, an input unit, a sensor, an audio circuit, a module, a power supply, and a Bluetooth module, which will not be described in detail here.
[0123] The present application also provides a computer-readable storage medium, which stores at least one program code, and the at least one program code is loaded and executed by the processor to implement the user identity card unlocking method shown in the above embodiments.
[0124] The present application also provides a chip, which includes a programmable logic circuit and / or program instructions. When the chip runs on a terminal, it is used to implement the user identity card unlocking method shown in the above embodiments.
[0125] The present application also provides a computer program product, which stores at least one program code, and the at least one program code is used to be executed by a processor to implement the user identity card unlocking method shown in the above embodiments.
[0126] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0127] Those skilled in the art can understand that all or part of the steps in the user identification card unlocking method of the above embodiment can be completed by hardware, or by a program to instruct the relevant hardware to complete, and the program can be stored in a computer-readable storage medium, and the above-mentioned storage medium can be a read-only memory, a disk or an optical disk, etc. The above is only an optional embodiment of the present application and is not intended to limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for unlocking a user identity card, characterized in that: The method comprises: In response to an unlocking operation on a user identity SIM card, switching a SIMLock function to a disabled state, wherein the SIMLock function is used to prohibit the terminal from using the SIM card for communication; In response to the SIMLock function being in the disabled state, sending a network access request to a target server, the target server being a server associated with a target network operator associated with the SIM card, the network access request being used to request access to a network of the target server; If the disabled time of the SIMLock function is not greater than the time threshold and the network of the target server is successfully connected, sending an unlock request to the target server, wherein the unlock request carries the device identification of the terminal, and the target server is used to determine whether to disable the SIMLock function based on the device identification; When the disabled time is not greater than the time threshold and a response message returned by the target server is received, a response operation indicated by the response message is performed, wherein the response information is to agree or refuse to unlock the SIM card, and the response operation is to disable or enable the SIMLock function.
2. The method according to claim 1, characterized in that When the disabled time is not greater than the time threshold and response information returned by the target server is received, executing the response operation indicated by the response information includes: In a case where the disabled time is not greater than the time threshold and the response information is received, in response to the response information agreeing to unlock the SIM card, turning off the SIMLock function; In response to the response information being a refusal to unlock the SIM card, the SIMLock function is switched to an enabled state, and access to the network of the target server is prohibited.
3. The method according to claim 1, characterized in that In response to the unlocking operation of the user identity SIM card, switching the SIMLock function to a disabled state includes: In response to an unlocking operation on the SIM card, determining a number of unlocking failures of the SIM card; If the number of unlocking failures of the SIM card is not greater than the number threshold, switching the SIMLock function to the disabled state; When the number of unlocking failures is greater than the number threshold, a first prompt message is displayed, where the first prompt message is used to prompt that it is currently impossible to apply to unlock the SIM card.
4. The method according to claim 1, characterized in that: The method further comprises: In a case where the disabled time period is greater than the time period threshold, in response to failure to successfully access the network or failure to receive the response information, the SIMLock function is switched to an enabled state, and access to the network of the target server is prohibited.
5. The method according to claim 1, characterized in that The method further comprises: If the disabled time is not greater than the time threshold and the network is not successfully accessed, repeatedly sending the network access request to the target server every X seconds until the network of the target server is successfully accessed, where X is a positive integer; When the disabled time is not greater than the time threshold and the response information is not received, the unlock request is repeatedly sent to the target server every Y seconds until a response information returned by the target server is received, where Y is a positive integer.
6. The method according to claim 1, characterized in that The method further comprises: In response to failure to successfully access the network or failure to receive the response information, a second prompt message is displayed, where the second prompt message is used to prompt that the SIM card unlocking fails.
7. The method according to claim 1, characterized in that The method further comprises: When it is detected that the SIMLock function is in an enabled state, displaying a third prompt message, wherein the third prompt message is used to prompt whether to unlock the SIM card; In response to the unlocking operation of the user identity SIM card, switching the SIMLock function to a disabled state includes: In response to a confirmation operation on the third prompt information, an unlocking interface is displayed, wherein the unlocking interface displays an automatic unlocking mode and a manual unlocking mode; In response to a selection operation of the automatic unlocking mode, the SIMLock function is switched to the disabled state.
8. The method according to claim 7, characterized in that The method further comprises: In response to a selection operation of the manual unlocking mode, displaying a password input area on the unlocking interface; In response to a password input operation on the password input area, when the input password in the password input area is consistent with the unlocking password of the SIM card, the SIMLock function is turned off.
9. A user identification card unlocking device, characterized in that: The device comprises: A function disabling module, configured to switch a SIMLock function to a disabled state in response to an unlocking operation on a user identity SIM card, wherein the SIMLock function is configured to prohibit a terminal from using the SIM card for communication; A first sending module, configured to send a network access request to a target server in response to the SIMLock function being in the disabled state, wherein the target server is a server associated with a target network operator associated with the SIM card, and the network access request is used to request access to a network of the target server; A second sending module is used to send an unlock request to the target server if the disabled time of the SIMLock function is not greater than the time threshold and the network of the target server is successfully connected, the unlock request carries the device identification of the terminal, and the target server is used to determine whether to disable the SIMLock function based on the device identification; An operation execution module is used to execute a response operation indicated by the response information when the disabled time is not greater than the time threshold and a response information returned by the target server is received, wherein the response information is to agree or refuse to unlock the SIM card, and the response operation is to turn off or enable the SIMLock function.
10. A terminal, characterized in that: The terminal includes a processor and a memory; the memory stores at least one program code, and the at least one program code is used to be executed by the processor to implement the user identity card unlocking method as described in any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that: The storage medium stores at least one program code, and the at least one program code is used to be executed by a processor to implement the user identity card unlocking method as described in any one of claims 1 to 8.
