Information verification method based on SIM card

By displaying the verification interface on the electronic device and using the SIM card's second card guarantee program to verify the information entered by the user, the user information leakage problem caused by the use of the mobile phone number after the SIM card is lost is solved, and the effect of reducing security risks is achieved.

CN119545359APending Publication Date: 2025-02-28CHINA MOBILE INTERNET CO LTD +1
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411687969.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-22
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

After the SIM card is lost, the relevant mobile phone number may be used by others, resulting in user information leakage and security risks.

Method used

The first card guarantee program opening request is sent to the TSM server through the electronic device, the verification interface is displayed and the verification information entered by the user is obtained, the second card guarantee program of the SIM card is used to verify whether the information is a preset verification information, and the communication function of the SIM card is turned off when the verification fails.

Benefits of technology

It effectively reduces the security risk of user information leakage after SIM card is lost and prevents others from using unverified SIM cards to communicate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119545359A_ABST
    Figure CN119545359A_ABST
Patent Text Reader

Abstract

The invention discloses an information verification method based on an SIM (Subscriber Identity Module) card, which is applied to the technical field of communication. The information verification method comprises the steps that under the condition that a first card protection program starting request sent by a trusted service TSM server side is received, a first interface of a first card protection program is displayed, and the first interface comprises a verification information input area; obtaining first verification information input by a user in the verification information input area; inputting the first verification information into the SIM card, and verifying whether the first verification information is preset verification information through a second card protection program of the SIM card; under the condition that the SIM card outputs a first verification result, the communication function of the SIM card is closed, and the first verification result comprises a verification result that the first verification information is not the preset verification information. According to the method, the security risk of user information leakage caused by loss of the SIM card can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and in particular, relates to an information verification method based on a SIM card. Background Art

[0002] A subscriber identity module (SIM) is a smart card built into electronic devices. Through the SIM card, electronic devices can be connected to the communication network to realize functions such as voice calls, text message sending, and data Internet access.

[0003] In the related art, users usually use the mobile phone number associated with the SIM card to register various accounts, such as social accounts and financial accounts. Subsequently, in the account login verification process, users often use electronic devices to receive SMS verification codes to complete the verification and login operations of various accounts. However, once the SIM card is accidentally lost, the mobile phone number associated with the SIM card may be used by other users, such as for verification and login operations of various accounts, thereby causing user information leakage. Summary of the invention

[0004] The embodiments of the present application provide a SIM card-based information verification method, device, equipment, storage medium, and program product, which can reduce the security risk of user information leakage caused by SIM card loss.

[0005] In a first aspect, an embodiment of the present application provides an information verification method based on a SIM card, which is applied to an electronic device. The information verification method includes:

[0006] In case of receiving a first warranty card program activation request sent by the trusted service TSM server, displaying a first interface of the first warranty card program, the first interface including a verification information input area;

[0007] Obtaining the first verification information entered by the user in the verification information input area;

[0008] Input the first verification information into the SIM card, and verify whether the first verification information is the preset verification information through the second card protection program of the SIM card;

[0009] In the case where the SIM card outputs a first verification result, the communication function of the SIM card is turned off, and the first verification result includes a verification result that the first verification information is not preset verification information.

[0010] In a second aspect, an embodiment of the present application provides a SIM card-based information verification method, which is applied to a TSM server. The information verification method includes:

[0011] Receive a loss reporting request submitted by a user, the loss reporting request carrying identification information of the SIM card;

[0012] Based on the loss report request, a first card insurance program activation request for the SIM card is generated;

[0013] A first insurance card program activation request is sent to an electronic device electrically connected to the SIM card; wherein the first insurance card program activation request is used to request the electronic device to display the first interface of the first insurance card program, and input the first verification information input by the user in the verification information input area of ​​the first interface into the SIM card, so that the second insurance card program in the SIM card outputs a first verification result when verifying that the first verification information is not the preset verification information; the first verification result is used to prompt the electronic device to turn off the communication function of the SIM card.

[0014] In a third aspect, an embodiment of the present application provides an information verification method based on a SIM card, which is applied to a SIM card, the SIM card is electrically connected to an electronic device, and the SIM card is configured with a second card protection program; the information verification method includes:

[0015] Receiving first verification information input by the electronic device, the first verification information is information input by the user in a verification information input area of ​​the electronic device, and the verification information input area is displayed on a first interface of the first warranty card program when the electronic device receives a first warranty card program activation request sent by the TSM server;

[0016] Through the second card preservation program, verify whether the first verification information is the preset verification information, and output a first verification result, the first verification result including a verification result that the first verification information is not the preset verification information, and the first verification result is used to prompt the electronic device to turn off the communication function of the SIM card.

[0017] In a fourth aspect, an embodiment of the present application provides an information verification device based on a SIM card, which is applied to an electronic device, and the information verification device includes:

[0018] A first display module is used to display a first interface of the first warranty card program when receiving a first warranty card program activation request sent by the trusted service TSM server, wherein the first interface includes a verification information input area;

[0019] A first acquisition module, used to acquire first verification information input by the user in the verification information input area;

[0020] A first verification module, used for inputting the first verification information into the SIM card, and verifying whether the first verification information is the preset verification information through the second card protection program of the SIM card;

[0021] The shut-down module is used to shut down the communication function of the SIM card when the SIM card outputs a first verification result, wherein the first verification result includes a verification result that the first verification information is not the preset verification information.

[0022] In a fifth aspect, an embodiment of the present application provides an information verification device based on a SIM card, which is applied to a TSM server, and the information verification device includes:

[0023] A first receiving module is used to receive a loss reporting request submitted by a user, where the loss reporting request carries identification information of the SIM card;

[0024] A generating module, used for generating a first card insurance program activation request for the SIM card based on the loss report request;

[0025] The first sending module is used to send a first insurance card program activation request to an electronic device electrically connected to the SIM card; wherein the first insurance card program activation request is used to request the electronic device to display the first interface of the first insurance card program, and input the first verification information input by the user in the verification information input area of ​​the first interface into the SIM card, so that the second insurance card program in the SIM card outputs a first verification result when verifying that the first verification information is not the preset verification information; the first verification result is used to prompt the electronic device to turn off the communication function of the SIM card.

[0026] In a sixth aspect, an embodiment of the present application provides an information verification device based on a SIM card, which is applied to a SIM card, the SIM card is electrically connected to an electronic device, and the SIM card is configured with a second card protection program; the information verification device includes:

[0027] A second receiving module is used to receive first verification information input by the electronic device, where the first verification information is information input by the user in a verification information input area of ​​the electronic device, and the verification information input area is displayed on a first interface of the first warranty card program when the electronic device receives a first warranty card program activation request sent by the TSM server;

[0028] The second verification module is used to verify whether the first verification information is the preset verification information through the second card preservation program, and output a first verification result. The first verification result includes a verification result that the first verification information is not the preset verification information. The first verification result is used to prompt the electronic device to turn off the communication function of the SIM card.

[0029] In a seventh aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, it implements a SIM card-based information verification method as described in any one of the first to third aspects.

[0030] In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a processor, a SIM card-based information verification method as described in any one of the first to third aspects is implemented.

[0031] In a ninth aspect, an embodiment of the present application provides a computer program product, which includes a computer program or instructions. When the computer program or instructions are executed by a processor, an information verification method based on a SIM card as described in any one of the first to third aspects is implemented.

[0032] The information verification method, device, equipment, storage medium and program product based on the SIM card of the embodiment of the present application can send a first card protection program activation request to the TSM server through an electronic device when the user finds that the SIM card is lost. In this way, the electronic device electrically connected to the SIM card will display a verification interface, i.e., a first interface, on the electronic device after receiving the first card protection program activation request sent by the TSM server to obtain the first verification information input by the user holding the SIM card. Then, the electronic device inputs the first verification information into the SIM card, and uses the second card protection program of the SIM card itself to verify whether the first verification information is the preset verification information, thereby enhancing the security of the verification. Then, when the SIM card outputs the first verification result, i.e., the verification of the user holding the SIM card fails, the communication function of the SIM card is turned off. In this way, even if the SIM card is accidentally lost, other users cannot use the SIM card for communication if they cannot provide the correct verification information, thereby avoiding other users from using the mobile phone number associated with the SIM card to perform various operations, effectively reducing the security risk of user information leakage. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0034] Figure 1 A schematic diagram showing a flow chart of applying a SIM card-based information verification method provided in some embodiments of the present application to an electronic device;

[0035] Figure 2 A schematic diagram showing a first interface provided by some embodiments of the present application is shown;

[0036] Figure 3 A flowchart showing a specific implementation of step 130 provided in some embodiments of the present application is shown;

[0037] Figure 4 A flowchart showing a specific implementation of step 1301 provided in some embodiments of the present application is shown;

[0038] Figure 5a An illustrative diagram showing a file FE90 in a second warranty card program provided in some embodiments of the present application;

[0039] Figure 5b An illustration diagram showing the file FE91 in the second warranty card program provided by some embodiments of the present application;

[0040] Figure 5c An explanatory diagram showing the file FE93 in the second warranty card program provided by some embodiments of the present application;

[0041] Figure 6a A schematic diagram showing an interface displayed when password verification is inconsistent or the user cancels input provided by some embodiments of the present application;

[0042] Figure 6b A schematic diagram showing an interface displayed when a counter C provided in some embodiments of the present application reaches an upper limit and the user still fails to enter a password correctly;

[0043] Figure 7 A schematic diagram showing a second interface provided by some embodiments of the present application is shown;

[0044] Figure 8 A schematic flow chart of a method for receiving and processing a first resource package and a second resource package sent by a TSM server provided in some embodiments of the present application is shown;

[0045] Fig. 9 A schematic diagram showing a flow chart of a SIM card-based information verification method provided in some embodiments of the present application applied to a TSM server;

[0046] Fig.10 A flow chart of a method for receiving and processing a request for activation of an insurance card service submitted by a user provided in some embodiments of the present application is shown;

[0047] Fig.11 A schematic diagram showing a flow chart of applying a SIM card-based information verification method provided by some embodiments of the present application to a SIM card;

[0048] Fig.12 A flowchart showing a specific implementation of step 620 provided in some embodiments of the present application is shown;

[0049] Fig.13 A schematic diagram showing a structure of an information verification device based on a SIM card provided in some embodiments of the present application applied to an electronic device;

[0050] Fig.14 A schematic diagram showing a structure of a SIM card-based information verification device provided in some embodiments of the present application applied to a TSM server;

[0051] Fig.15A schematic diagram showing a structure of a SIM card-based information verification device provided by some embodiments of the present application applied to a SIM card;

[0052] Fig.16 A schematic structural diagram of an electronic device provided in some embodiments of the present application is shown. DETAILED DESCRIPTION

[0053] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0054] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0055] It should be noted that the acquisition, storage, use and processing of data in the embodiments of the present application are in compliance with the relevant provisions of national laws and regulations.

[0056] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.

[0057] Before explaining the technical solutions provided by the embodiments of the present application, in order to facilitate the understanding of the embodiments of the present application, the present application first specifically describes the related technologies involved.

[0058] In today's digital age, users usually use the mobile phone number associated with the SIM card to register various accounts, including social accounts and financial accounts. For example, when a user registers an account on a mobile banking application (Application, APP), he will enter the mobile phone number bound to the SIM card as one of the account identifiers. After completing the registration, in the account login verification stage, the user usually uses an electronic device to receive a text message verification code to complete the verification login operation of various accounts.

[0059] In the fund transaction scenario, when a user initiates an online fund transfer operation, he or she first needs to log in to the fund account. At this time, the operating system of the electronic device will identify the mobile phone number associated with the fund account and send a text message verification code to the mobile phone number to confirm that the person performing the operation is the legitimate owner of the account. After the user's electronic device receives the text message containing the text message verification code, the user enters the received verification code on the verification interface of the fund transfer. The electronic device will submit the verification code entered by the user to the fund transaction system for verification. After the fund transaction system receives the verification code submitted by the user, it will compare it with the verification code sent previously. If the verification is successful, that is, the verification code entered by the user is consistent with the one sent by the system, then the user can continue to complete the transfer operation, such as filling in the transfer amount, receiving account and other information and finally confirming the transfer.

[0060] However, once the SIM card is accidentally lost, the mobile phone number associated with the SIM card may be used. The mobile phone number may be used to verify and log in to various accounts. For example, attempts may be made to log in to the user's financial account and conduct illegal fund transfers or transactions, which will seriously threaten the user's financial security. At the same time, the user's personal information will also be leaked, causing immeasurable losses to the user.

[0061] In order to solve the above problems in the related art, the embodiments of the present application provide a SIM card-based information verification method, device, equipment, storage medium and program product. Figure 1 To Attachment Fig.12 , the SIM card-based information verification method provided by the embodiment of the present application is described in detail through specific embodiments and application scenarios.

[0062] Figure 1 The following is a flow chart showing the application of the SIM card-based information verification method to an electronic device according to some embodiments of the present application. Figure 1As shown, the execution subject of the SIM card-based information verification method can be an electronic device, and the electronic device is electrically connected to the user identification module SIM card to establish a communication channel. In the embodiment of the present application, the electronic device can be, but is not limited to, a personal computer (PC), a smart phone, a tablet computer or a personal digital assistant (PDA). The SIM card-based information verification method can specifically include steps 110 to 140.

[0063] Step 110, when receiving a first warranty card program activation request sent by the trusted service TSM server, displaying a first interface of the first warranty card program, the first interface including a verification information input area.

[0064] Step 120: Obtain the first verification information input by the user in the verification information input area.

[0065] Step 130, input the first verification information into the SIM card, and verify whether the first verification information is the preset verification information through the second card protection program of the SIM card.

[0066] Step 140: shut down the communication function of the SIM card when the SIM card outputs a first verification result, wherein the first verification result includes a verification result that the first verification information is not preset verification information.

[0067] Therefore, when the user finds that the SIM card is lost, the first preservation card program activation request can be sent to the TSM server through the electronic device. In this way, after receiving the first preservation card program activation request sent by the TSM server, the electronic device electrically connected to the SIM card will display a verification interface, i.e., the first interface, on the electronic device to obtain the first verification information input by the holder of the SIM card. Then, the electronic device inputs the first verification information into the SIM card, and uses the second preservation card program of the SIM card itself to verify whether the first verification information is the preset verification information, thereby enhancing the security of the verification. Then, when the SIM card outputs the first verification result, i.e., the holder of the SIM card fails the verification, the communication function of the SIM card is turned off. In this way, even if the SIM card is accidentally lost, other users cannot use the SIM card for communication if they cannot provide the correct verification information, thereby avoiding other users from using the mobile phone number associated with the SIM card to perform various operations, effectively reducing the security risk of user information leakage.

[0068] The above steps are described in detail below, as shown below.

[0069] First, step 110 is involved, and then the meaning and function of the trusted service TSM server, the first insurance card program activation request, the first insurance card program, the first interface, and the verification information input area involved in the embodiment of the present application are specifically explained.

[0070] Trusted Service TSM server refers to the server used to manage and provide secure and trusted services. TSM server interacts with electronic devices to ensure the security of SIM card information and the normal operation of related services.

[0071] The first card protection program refers to a program or software module running on an electronic device, which is used to interact with the user and process operations related to SIM card information verification. Exemplarily, the first card protection program is started after receiving the first card protection program start request from the TSM server, and provides the user with an interface for inputting verification information, namely the first interface, and is used to input the verification information input by the user into the SIM card for verification, and perform corresponding operations according to the verification result returned by the SIM card, such as prompting the electronic device to turn off the communication function of the SIM card.

[0072] The first interface refers to the graphical user interface displayed to the user after the first warranty card program is started. The first interface provides the user with an intuitive and convenient operation interface, which facilitates the user to interact with the first warranty card program.

[0073] The verification information input area refers to a specific area located on the first interface for receiving the first verification information input by the user. For example, the verification information input area can be presented in the form of a text box, an input box, etc., and the user can input characters, numbers, and other information in the verification information input area through input devices such as a keyboard and a touch screen.

[0074] Exemplarily, when the electronic device receives a first warranty card program activation request sent by the trusted service TSM server, the operating system of the electronic device will call and activate the first warranty card program according to a preset program activation mechanism. After the first warranty card program is activated, a first interface including a verification information input area will be generated and displayed on the display screen of the electronic device according to a pre-designed interface layout and style for the user to operate.

[0075] In some embodiments of the present application, the communication function of the SIM card remains enabled during the verification process, and there may be a risk that others may use the time gap of identity verification to communicate through the SIM card. Based on this, before displaying the first interface of the first card protection program, the above-mentioned SIM card-based information verification method may also include interrupting the communication function of the SIM card through the first card protection program.

[0076] For example, if a SIM card is lost and picked up by someone else, if the communication function is not disabled in time, others may immediately use the SIM card to make calls, send text messages, receive verification codes to log in to various accounts, etc., thereby obtaining the user's communication records and contact information, or using the mobile phone number to commit fraud and other illegal activities. Therefore, disabling the communication function before identity verification directly cuts off the way for others to communicate using unverified SIM cards, effectively avoiding the security risk of user information leakage caused by the failure to disable the communication function in time.

[0077] Secondly, in step 120, the first verification information refers to the information entered by the user in the verification information input area of ​​the first interface of the first insurance card program, which is used to verify the identity and authority of the user. For example, the user can enter the first verification information in the verification information input area through an input device such as a keyboard or a touch screen, and the electronic device can obtain the first verification information through the user's input operation in the verification information input area.

[0078] For example, the first interface is as follows: Figure 2 As shown, there is an input box, i.e., the verification information input area, on the first interface for the user to input verification information. Above the input box, "Please enter your SIM card password:" is displayed to prompt the user the type of information that needs to be entered, i.e., the SIM card password. In addition, two buttons, "Cancel" and "Confirm", are displayed at the bottom of the first interface to facilitate the user to select and operate.

[0079] Next, step 130 is involved, and the meaning and function of the SIM card, the second insurance card program and the preset verification information involved in the embodiment of the present application are specifically explained.

[0080] SIM card refers to a smart card that stores user information and network authentication information. SIM card can be inserted into electronic devices such as mobile phones to identify the user, store the user's phone number, contact information, etc., and interact with the mobile communication network to realize communication functions.

[0081] The second card warranty program refers to a program module running inside the SIM card, which is used to verify the first verification information input by the user. Exemplarily, the second card warranty program includes a preset verification logic and a preset algorithm, which is used to compare and verify the first verification information input by the user with the preset verification information stored in the SIM card.

[0082] The preset verification information refers to the information pre-stored in the SIM card for verifying the user's identity. The preset verification information is determined when the second card protection program is initialized or configured. For example, it can be a password set by the actual user of the SIM card after identity verification.

[0083] Exemplarily, the first insurance card program inputs the first verification information into the SIM card through the communication interface between the electronic device and the SIM card, such as the standard SIM card communication protocol. After the SIM card receives the first verification information, the second insurance card program inside it will start the verification process and use the preset verification logic and preset algorithm to verify whether the first verification information is the preset verification information.

[0084] In some embodiments of the present application, the SIM card stores preset verification information. Based on this, Figure 3 As shown, the above step 130 may specifically include steps 1301 to 1303.

[0085] Step 1301, input the first verification information into the SIM card, encrypt the first verification information using a preset algorithm stored in the second insurance card program, and obtain the second verification information.

[0086] For example, when the first insurance card program inputs the first verification information into the SIM card, the second insurance card program in the SIM card will call the pre-stored encryption algorithm. The encryption algorithm will perform mathematical operations and conversions on the first verification information according to its established rules and keys, and finally generate a second verification information that has a different form of expression from the original first verification information but contains the same information essence.

[0087] Step 1302, through the second insurance card program, the second verification information and the preset verification information are matched.

[0088] For example, after obtaining the second verification information, the second card protection program reads the pre-stored preset verification information from the secure storage area of ​​the SIM card, and then compares the second verification information with the preset verification information bit by bit or according to certain rules using a specific matching algorithm or comparison function.

[0089] Step 1303, through the second card insurance program, based on the matching result between the second verification information and the preset verification information, verify whether the first verification information is the preset verification information.

[0090] For example, if the matching result shows that the two pieces of information are completely consistent or meet the preset matching rules, then the first verification information is considered to be the preset verification information, that is, the user has passed the verification. On the contrary, if the matching result is inconsistent, it means that the first verification information is not the preset verification information and the user has failed the verification.

[0091] It can be understood that in order to achieve the matching of the preset verification information and the second verification information and obtain a matching result, the preset verification information also uses the encryption algorithm in the second insurance card program to perform mathematical operations and conversions on the verification information pre-entered by the user according to its established rules and keys, and finally generates information that has a different form of expression from the original verification information but contains the same information essence.

[0092] Thus, the first verification information is encrypted by a preset algorithm to obtain the second verification information, which increases the security of the information. Since the preset verification information is stored in the SIM card, it is relatively safe and not easily obtained or tampered with by the outside, so the encrypted second verification information is matched with the preset verification information stored in the SIM card. Only when the second verification information successfully matches the preset verification information can the correctness of the first verification information be confirmed, further ensuring the accuracy and security of the verification.

[0093] In some embodiments of the present application, the preset algorithm is sent to the SIM electronic device through the TSM server, and then input into the second warranty card program of the SIM card by the electronic device. The preset algorithm includes a first encryption algorithm and a second encryption algorithm. Exemplarily, the first encryption algorithm may be the SM4-ECB algorithm. The SM4-ECB algorithm is a block cipher working mode, which uses an electronic code book mode, that is, directly encrypts the plaintext group without the need for an XOR operation with the previous ciphertext group. The second encryption algorithm may be the SM3 national secret algorithm, that is, the hash algorithm. The HASH operation of the SM3 national secret algorithm can generate a fixed-length summary value for the data, which is unique and irreversible, that is, the original data cannot be deduced from the summary value, thereby further improving the security and confidentiality of the first verification information. Based on this, if Figure 4 As shown, the above step 1301 may specifically include steps 13011 to 13012.

[0094] Step 13011, input the first verification information into the SIM card, encrypt the first verification information using the first encryption algorithm stored in the second insurance card program, and obtain relay verification information.

[0095] Step 13012, encrypt the relay verification information using the second encryption algorithm stored in the second insurance card program to obtain the second verification information.

[0096] The following is a specific description of the encryption process of the first verification information, taking the first verification information "123456" as an example.

[0097] First, before using the SM4-ECB algorithm to encrypt the first verification information, "123456" is padded according to the data format requirements of the SM4-ECB algorithm. Specifically, the first verification information "123456" is padded to obtain "123456800000000000000000000000000". Then, after using the SM4-ECB algorithm to encrypt the padded information "123456800000000000000000000000000", the obtained relay verification information is "6548F0F52277D6C1740D20249C3431CD". Then, the SM3 national encryption algorithm is used to perform a HASH operation on the above relay verification information "6548F0F52277D6C1740D20249C3431CD", and the final result "91BD88BB5314ED45E209DCCC95DEC230A6075F8F98455DC38AF9678125aB E2CD" is the second verification information.

[0098] Thus, the first verification information is encrypted using the first encryption algorithm to obtain the relay verification information, which increases the complexity and confidentiality of the first verification information. Then, the relay verification information is encrypted again using the second encryption algorithm to obtain the second verification information, which further enhances the security of the first verification information. Through this double encryption method, the security of the first verification information is improved and the risk of the first verification information being cracked is reduced.

[0099] Then, step 140 is involved. The first verification result refers to the result output by the second insurance card program in the SIM card after verifying the first verification information input by the user. After completing the verification of the first verification information, the second insurance card program in the SIM card will feed back the verification result to the first insurance card program on the electronic device through the communication interface. If the verification result is the first verification result, indicating that the first verification information is not the preset verification information, that is, the verification fails, the first insurance card program will call the system function of the electronic device, and send instructions to the SIM card through the relevant modules that communicate with the SIM card or call the interface (Application Programming Interface, API) to turn off the SIM card communication function.

[0100] In some embodiments of the present application, the above-mentioned SIM card-based information verification method may also include: when the SIM card outputs a second verification result, turning on the communication function of the SIM card, the second verification result includes a verification result that the first verification information is the preset verification information; and exiting the first card protection program.

[0101] Exemplarily, after the verification is completed and the corresponding communication function operation is performed according to the verification result, that is, the communication function is turned on, the first warranty card program is no longer required to run continuously. Exiting the first warranty card program can prevent the first warranty card program from continuously occupying the memory and other system resources of the electronic device, which can make the system operation of the electronic device more efficient and stable.

[0102] Therefore, by enabling the SIM card communication function after the user verification is passed, it is ensured that legitimate users can normally use the SIM card-related communication services, ensuring the continuity and availability of the communication services.

[0103] In some embodiments of the present application, before the communication function of the SIM card is interrupted by the first card maintenance program, the method also includes: obtaining the network data of the SIM card from the storage space of the electronic device; inputting the network data into the SIM card, storing the network data through the second card maintenance program of the SIM card, and deleting the network data of the SIM card stored in the storage space. Among them, the storage space of the electronic device refers to the physical or virtual space used by the electronic device to store various data and files, which may include internal memory such as flash memory. Network data refers to information such as configuration data or parameters related to network communication with the SIM card, which may include network access point information, operator-specific network configuration parameters, IP address allocation related information, etc.

[0104] Exemplarily, network data may be provided to the SIM card by the SIM card operator during SIM card initialization or network configuration, and may be updated and managed during the interaction between the electronic device and the SIM card, and the electronic device may read and write the network data through the communication interface with the SIM card.

[0105] In some embodiments of the present application, network data may include location information (LOCI) value and International Mobile Subscriber Identity (IMSI) value. Among them, the LOCI value is a value of location information, which can be used to record location information related to the SIM card, such as the location of the SIM card in the file system, the location in a certain communication network such as the base station coverage area location, or the user location information associated with the card. The IMSI value is a number that uniquely identifies a mobile user in the world. The IMSI value ensures that only users with a legitimate SIM card including the correct IMSI value can access the network. If there is no correct IMSI value, or the IMSI value is tampered with, the network will reject the access request of the electronic device, effectively preventing unauthorized users from attempting to use the communication network by forging an identity.

[0106] Based on this, when the SIM card outputs the second verification result, the communication function of the SIM card is turned on, including: when the SIM card outputs the second verification result, network data is read from the second card protection program of the SIM card; and the communication function of the SIM card is started through the network data.

[0107] Exemplarily, the network data files or records stored in the storage space can be read through the file system interface or specific database access interface provided by the operating system according to the SIM card identification or related storage path to ensure that the correct network data can be obtained, effectively avoiding the loss of network data after the SIM card communication function is interrupted, thereby ensuring that accurate configuration information is available when communication needs to be restored.

[0108] Therefore, before suspending the communication function of the SIM card, the second protection card program in the SIM card is used to store and read the login data. When the communication function needs to be reopened later, the data stored in the second protection card program in the SIM card can be directly read to quickly restore the communication function of the SIM card.

[0109] Figure 5a to Figure 5c Three transparent files in the second warranty card program are shown. Each file has its specific file identifier, type, capacity, update frequency and access conditions, and contains different byte structures for storing specific data information.

[0110] exist Figure 5a As shown in the file FE90, only those with Application Data Management (ADM) can read (READ), update (UPDATE), deactivate (DEACTIVATE) and activate (ACTIVATE) the file FE90. The IMSI tag is used to indicate whether the IMSI has been written to the file. 00 means not written, and 01 means written. The IMSI length records the length information of the IMSI so that the second card protection program can correctly read and process subsequent IMSI data. The backup IMSI is used to store the actual data of the IMSI. When the IMSI needs to be backed up or needs to be used in some specific logical processing, it can be read from these bytes.

[0111] exist Figure 5bAs shown in file FE91, file FE91 is the same as file FE90, and only those with ADM authority can perform related operations. Temporary Mobile Subscriber Identity (TMSI) is used to indicate whether the temporary mobile subscriber identity has been written into the file. 00 means not written, and 01 means written. TMSI is usually a temporary identifier used to enhance security and reduce the frequent transmission of IMSI during communication, which helps the second warranty card program manage the writing and use of TMSI. The backup TMSI is used to store the data portion of the TMSI. After the network assigns a TMSI to the user's electronic device, it can be backed up at the backup TMSI for use in subsequent communications. For example, when performing operations such as cell switching, TMSI is needed to identify the user device. The backup location area identity (LAI) is used to identify the location area where the electronic device is located. The backup LAI helps the device quickly determine its location area, and can provide it to the network for operations such as location updates when necessary. Reserved for Future Use (RFU) means that the byte may not have a specific use at present, but space is reserved for possible future functional expansion or protocol upgrade. The backup location update status is used to record the location update status of the device. For example, 00 may indicate that the location update is not completed, and 01 indicates that the location update is completed.

[0112] exist Figure 5c In the file FE92, the file FE92 is the same as the file FE90. Only users with ADM authority can perform related operations. The HASH value is the preset verification information calculated by using the SM3 algorithm with the original verification information as input.

[0113] Based on the above Figure 5a to Figure 5c In some embodiments of the present application, obtaining the network data of the SIM card from the storage space of the electronic device and backing it up may specifically include the following steps:

[0114] Step 201, the second card protection program counts and monitors the "Status" command sent by the terminal. When counter A reaches different thresholds such as 6 and 11, different operations are triggered. When counter A reaches 6, it will further judge the status of counter B to decide whether to continue monitoring the "Status" command; when it reaches 11, the second card protection program reads the first byte status bit value of transparent files FE90 and FE91 to prepare for subsequent corresponding operations based on the status bit.

[0115] Step 202, when the first byte status bit of transparent file FE90 is 00, read the IMSI value and write it to a specific byte position of transparent file FE90, then compare and update the IMSI value, and finally set the first byte status bit of transparent file FE90 to 01.

[0116] Step 203, when the first byte status bit of transparent file FE91 is 00, read the LOCI value and write it to the corresponding byte position of transparent file FE91, compare and update the LOCI value, and finally set the first byte status bit of transparent file FE91 to 01.

[0117] Step 204, counter B is set to 1 and counter A is set to 0. This may be to reset part of the counting state so as to enter the next stage of operation or to prepare for the next possible similar process. The setting of counter B to 1 may indicate the completion of a certain stage or the change of state, while the resetting of counter A to 0 prepares for the next possible counting monitoring to prevent the last count from affecting the subsequent judgment and operation.

[0118] Step 205, the second card maintenance program sends a "REFRESH" command to a module of the electronic device (which may be a module or component of the device). If a module of the electronic device does not respond or reports an error, it will resend through a retry mechanism (interval of 5 "status", counter D controls the number of retries) until counter D equals 3 and then stops retrying. When it is detected that counter D is equal to 3, stop sending the "REFRESH" command and call the "DISPLAYTEXT" command to the terminal instead, and a pop-up window prompts to manually restart the terminal.

[0119] Therefore, by reading, comparing and updating the network data such as IMSI value and LOCI value in the transparent file, the accuracy and consistency of these important information stored in the SIM card are ensured.

[0120] Step 206, after the electronic device responds to the "REFLASH" command, the SIM card restarts, and the second card protection program restarts to judge the electronic device instructions. If counter A reaches 6 and counter B is 1, an active command is sent to the electronic device to display the verification information input area.

[0121] Step 207, after the user enters the first verification information, encryption and HASH calculation are performed through the second card protection program to obtain the second verification information, and the HASH value stored in the FE92 transparent file is compared for password verification to confirm whether the password verification is consistent. If the password verification is consistent, execute steps 2081 and 2082; if the password verification is inconsistent or the user cancels the input, execute step 209.

[0122] For example, if the password verification is inconsistent or the user cancels the input, the display Figure 6a The interface shown is as follows Figure 6a As shown, "The password is wrong. You can enter it again 2 times", "Yes" button and "No" button are displayed. This indicates that the current user has made an error in the process of entering the password for verification, and the error message and the remaining number of inputs are fed back to the user.

[0123] Step 2081, read the backup IMSI and LOCI values, write them into the corresponding files and compare the values, update the file status bit to 00, and restore the network communication function of the SIM card to ensure the accuracy of the data.

[0124] Step 2082, a pop-up window prompts the user to manually restart the electronic device, and then steps 2010 and 2011 are executed.

[0125] Step 209, counter C is incremented by 1, a password input error is displayed, and the verification information input area is repeatedly displayed. When counter C=3, it is displayed that the number of password input times reaches the upper limit, and then steps 2010 and 2011 are executed.

[0126] For example, during the SIM card verification process, if the user enters the wrong password multiple times in a row, the mobile phone card may be locked. For example, if the counter C reaches the upper limit and the user still fails to enter the password correctly, the electronic device may shut down the communication function of the SIM card and display Figure 7 The interface shown is as follows Figure 6b As shown, it displays "Your SIM card is locked, please contact SIM card customer service", "Yes" button and "No" button. This indicates that the SIM card has entered a locked state and the user cannot use the communication function of the SIM card normally.

[0127] Step 2010, set counters A, B, C and D to 0.

[0128] Step 2011, call the private interface to exit the second insurance card program.

[0129] In some embodiments of the present application, after the above-mentioned exit from the first card maintenance program, the SIM card-based information verification method may also include: displaying a second interface, the second interface including a device restart prompt option; upon receiving input from the user selecting a confirmation restart option from the device restart prompt option, restarting the electronic device.

[0130] For example, the electronic device displays Figure 7The second interface shown, in which the document display area includes "Your SIM card has activated the protection mechanism, please restart your electronic device." The device restart prompt options include a confirmation restart option "Yes" and a confirmation not to restart option "No". This second interface is used to prompt the user that the electronic device has activated the warranty service and requires the user to manually restart the terminal device.

[0131] Therefore, the first insurance card program makes changes to the SIM card configuration and the first insurance card program during the identity authentication process. Restarting the electronic device can make these changes effective, ensuring that the system and related applications of the electronic device can run normally, thereby improving the stability of the operation of the electronic device.

[0132] In some embodiments of the present application, before the above step 110, as Figure 8 As shown, the SIM card-based information verification method may further include steps 310 to 330.

[0133] Step 310, when the SIM card is associated with the insurance card service, a first resource package and a second resource package sent by the TSM server are received, the first resource package includes resources required for configuring the first insurance card program, and the second resource package includes resources required for configuring the second insurance card program.

[0134] Exemplarily, the first resource package includes resources required to configure the first warranty card program, such as program code, configuration files, etc. The second resource package includes resources required to configure the second warranty card program, such as program code, configuration files, etc.

[0135] Step 320: Install the first resource package.

[0136] Exemplarily, the program code, configuration files, etc. in the first resource package are installed on the electronic device, and the first warranty card program is granted full access rights and ADM permissions to certain permissions or all data so that the first warranty card program can run normally on the electronic device.

[0137] Step 330: Write the second resource package into the SIM card.

[0138] Exemplarily, the content in the second resource package is directly stored in the storage space of the SIM card, and the second insurance card program is granted full access rights and ADM rights to certain permissions or all data so that the second insurance card program can run on the SIM card.

[0139] Thus, receiving and installing the first resource package provides resource support for the operation of the first warranty card program on the electronic device. Writing the second resource package into the SIM card provides resource support for the normal operation of the second warranty card program in the SIM card. The installation and writing of the first resource package and the second resource package help ensure the stability of the warranty service for the SIM card implemented by the entire first warranty card program and the second warranty card program.

[0140] It is worth noting here that in the embodiments of the present application, the description of each embodiment has its own focus. For the parts that are not described in detail in a certain embodiment, please refer to the detailed description of the information processing method in the context, and will not be repeated here.

[0141] The execution subject of the SIM card-based information verification method may be a TSM server, such as Fig. 9 As shown, the SIM card-based information verification method may include steps 410 to 430.

[0142] Step 410: receiving a loss report request submitted by a user, the loss report request carrying identification information of the SIM card.

[0143] Step 420: Generate a first card insurance program activation request for the SIM card based on the loss report request.

[0144] Step 430, sending a first insurance card program activation request to an electronic device electrically connected to the SIM card; wherein the first insurance card program activation request is used to request the electronic device to display the first interface of the first insurance card program, and input the first verification information input by the user in the verification information input area of ​​the first interface into the SIM card, so that the second insurance card program in the SIM card outputs a first verification result when verifying that the first verification information is not the preset verification information; the first verification result is used to prompt the electronic device to turn off the communication function of the SIM card.

[0145] For example, when a user loses a SIM card, he or she can log in to the service program corresponding to the SIM card, successfully enter the insurance card service page after identity verification such as face recognition, and then click the insurance card service activation button on the insurance card service page. At this time, the insurance card service will be remotely activated, and the electronic device will then send a report loss request carrying the identification information of the SIM card to the TSM server according to the user's input. In this process, the user's operation triggers the activation of the insurance card service and the submission of the report loss request, so that the TSM server can obtain the report loss information related to the SIM card, so as to start the first insurance card program and other operations to protect the information security of the SIM card and the rights and interests of the user.

[0146] Therefore, after receiving the report loss request submitted by the user carrying the identification information of the SIM card, the TSM server can process the user's report loss request, and quickly start the remote report loss process of the SIM card by generating and sending the first card insurance program activation request, effectively preventing other users from using the mobile phone number associated with the SIM card to perform various operations, and effectively reducing the security risk of user information leakage.

[0147] In some embodiments of the present application, the above-mentioned SIM card-based information verification method may also include, when no response result based on the first warranty card program activation request sent by the electronic device is received within a preset time period, sending the first warranty card program activation request to the electronic device electrically connected to the SIM card again, until a response result based on the first warranty card program activation request sent by the electronic device is received within a preset time period, and the response result includes a result for characterizing the activation of the first warranty card program of the electronic device.

[0148] For example, if the TSM server fails to receive the receipt information of the Anxinbao second warranty card program within a time range of 10 minutes, the retry mechanism will be activated. The retry limit of the retry mechanism can be set to 100 times. It is worth noting that the first warranty card program has the feature of supporting multiple activations. In this case, the activation operation will continue until the TSM server successfully receives the response result of the electronic device.

[0149] In actual applications, the electronic device may fail to receive the first warranty card program activation request sent by the TSM server in time, or fail to return a response result in time after receiving the first warranty card program activation request due to network failure, busy electronic device system, etc. Therefore, by setting a retry mechanism, the probability of successfully starting the first warranty card program can be increased, ensuring that the first warranty card program can be activated in time when the SIM card faces security risks.

[0150] In some embodiments of the present application, before the above step 410, as Fig.10 As shown, the SIM card-based information verification method may further include step 510 and step 520.

[0151] Step 510: receiving a request for activating an insurance card service submitted by a user, wherein the request for activating an insurance card service carries identification information of the SIM card.

[0152] Among them, user refers to an individual who wishes to use or activate the warranty card service. The warranty card service activation request refers to a request submitted by a user to a service provider through a certain method such as a mobile phone application, web page, text message, 5G message, etc., in order to activate or activate the warranty card service related to the SIM card. The identification information of the SIM card refers to the information used to uniquely identify the SIM card, such as the SIM card number, serial number, international mobile subscriber identity code, etc.

[0153] Step 520, sending a first resource package and a second resource package to an electronic device electrically connected to the SIM card, the first resource package including resources required for configuring a first insurance card program, the first resource package is used for the electronic device to configure the first insurance card program; the second resource package including resources required for configuring a second insurance card program, the second resource package is used for the electronic device to configure the second insurance card program for the SIM card.

[0154] Among them, electronic devices refer to devices that are installed with SIM cards and can communicate with them, such as smart phones, tablets, etc. The first resource package is a data package that includes all resources required to configure the first insurance card program, such as program code, configuration files, keys, etc. The first insurance card program is a specific application or software module used to implement certain protection or verification functions related to the SIM card on the electronic device. The second resource package is the resources required to configure the second insurance card program. The second insurance card program is another specific application or software module.

[0155] For example, first, a request for activating the insurance card service submitted by a user is received, and the request includes the identification information of the SIM card. Then, two resource packages are sent to the electronic device electrically connected to the SIM card, which are used to configure two different insurance card programs respectively. These two insurance card programs may be used to implement different security or verification functions to ensure the security and reliability of the SIM card and its related services.

[0156] Therefore, by receiving a request to activate the insurance card service carrying the SIM card identification information, the TSM server can accurately identify which specific SIM card the user needs to activate the insurance card service for, ensuring that the sending and configuration of the first resource package and the second resource package can be accurately targeted at the specific SIM card, avoiding the situation where the wrong configuration is made to other unrelated SIM cards, and improving the accuracy and pertinence of the service.

[0157] In some embodiments of the present application, the execution subject of the SIM card-based information verification method may be a SIM card, the SIM card is electrically connected to the electronic device, and the SIM card is configured with a second card protection program; Fig.11 As shown, the SIM card-based information verification method may include steps 610 to 620.

[0158] Step 610, receiving the first verification information input by the electronic device. The first verification information is information input by the user in the verification information input area of ​​the electronic device. The verification information input area is displayed on the first interface of the first warranty card program when the electronic device receives the first warranty card program activation request sent by the TSM server.

[0159] Step 620: Verify whether the first verification information is the preset verification information through the second card preservation program, and output a first verification result, the first verification result including a verification result that the first verification information is not the preset verification information. The first verification result is used to prompt the electronic device to turn off the communication function of the SIM card.

[0160] As a result, the verification information can be processed and verified directly inside the SIM card, reducing the risk of information being stolen or tampered with during transmission. Compared with transmitting the verification information to other external devices or servers for verification, this method is safer and more reliable. Because the SIM card is electrically connected to the electronic device, the first verification information input by the electronic device is directly received and verified, which avoids the potential safety hazards of information in network transmission and improves the security and confidentiality of the verification process.

[0161] In some embodiments of the present application, the second warranty card program stores preset verification information and preset algorithms; based on this, Fig.12 As shown, the above step 620 includes steps 6201 to 6203.

[0162] Step 6201, through the second card insurance program, use a preset algorithm to encrypt the first verification information to obtain the second verification information.

[0163] Step 6202, through the second insurance card program, the second verification information and the preset verification information are matched.

[0164] Step 6203, through the second card insurance program, when the first verification information and the preset verification information fail to match, output the first verification result.

[0165] Thus, the verification information is encrypted in the SIM card, so that the first verification information is immediately encrypted and processed into the second verification information after leaving the electronic device and entering the SIM card. This method of encrypting on the SIM card side greatly reduces the time and space in which the verification information exists in plain text during transmission and processing, and reduces the risk of information being stolen or tampered with.

[0166] In some embodiments of the present application, the preset algorithm includes a first encryption algorithm and a second encryption algorithm. Based on this, the above step 6201 may include: through the second insurance card program, using the first encryption algorithm to encrypt the first verification information to obtain relay verification information; through the second insurance card program, using the second encryption algorithm to encrypt the relay verification information to obtain the second verification information.

[0167] Thus, two different encryption algorithms are used to encrypt the first verification information step by step, which significantly improves the security of encryption. A single encryption algorithm may be at risk of being cracked, but by combining two algorithms, the difficulty of cracking by attackers is greatly increased.

[0168] Based on the SIM card-based information verification method provided in the above embodiment, the present application also provides a specific implementation of a SIM card-based information verification device. Please refer to the following embodiment.

[0169] See also Fig.13 The SIM card-based information verification device 700 provided in the embodiment of the present application is applied to an electronic device, and the information verification device 700 includes:

[0170] The first display module 710 is used to display the first interface of the first warranty card program when receiving the first warranty card program opening request sent by the trusted service TSM server, and the first interface includes a verification information input area;

[0171] A first acquisition module 720 is used to acquire first verification information input by the user in the verification information input area;

[0172] The first verification module 730 is used to input the first verification information into the SIM card, and verify whether the first verification information is the preset verification information through the second card protection program of the SIM card;

[0173] The closing module 740 is used to close the communication function of the SIM card when the SIM card outputs a first verification result, wherein the first verification result includes a verification result that the first verification information is not the preset verification information.

[0174] Therefore, when the user finds that the SIM card is lost, the first card maintenance program activation request can be sent to the TSM server through the electronic device. In this way, the first display module 710 is used to display the verification interface, i.e., the first interface, on the electronic device after receiving the first card maintenance program activation request sent by the TSM server, so as to obtain the first verification information input by the user holding the SIM card using the first acquisition module 720. Then, the first verification module 730 is used to input the first verification information into the SIM card, and use the second card maintenance program of the SIM card itself to verify whether the first verification information is the preset verification information, thereby enhancing the security of the verification. Then, the closing module 740 is used to close the communication function of the SIM card when the SIM card outputs the first verification result, i.e., the user holding the SIM card fails the verification. In this way, even if the SIM card is accidentally lost, other users cannot use the SIM card for communication if they cannot provide the correct verification information, thereby avoiding other users from using the mobile phone number associated with the SIM card to perform various operations, effectively reducing the security risk of user information leakage.

[0175] In some embodiments of the present application, the first verification module 730 includes:

[0176] The encryption submodule is used to input the first verification information into the SIM card when the preset verification information is stored in the SIM card, and encrypt the first verification information by using the preset algorithm stored in the second insurance card program to obtain the second verification information;

[0177] A matching submodule, used for matching the second verification information with the preset verification information through the second warranty card program;

[0178] The verification submodule is used to verify whether the first verification information is the preset verification information based on the matching result between the second verification information and the preset verification information through the second card insurance program.

[0179] In some embodiments of the present application, the encryption submodule includes:

[0180] A first encryption unit is used to input the first verification information into the SIM card when the preset algorithm includes the first encryption algorithm and the second encryption algorithm, and encrypt the first verification information by the first encryption algorithm stored in the second insurance card program to obtain relay verification information;

[0181] The second encryption unit is used to encrypt the relay verification information through the second encryption algorithm stored in the second insurance card program to obtain the second verification information.

[0182] In some embodiments of the present application, the above-mentioned SIM card-based information verification device 700 may further include:

[0183] The interruption module is used to interrupt the communication function of the SIM card through the first insurance card program before displaying the first interface of the first insurance card program.

[0184] In some embodiments of the present application, the above-mentioned SIM card-based information verification device 700 may further include:

[0185] an enabling module, configured to enable a communication function of the SIM card when the SIM card outputs a second verification result, wherein the second verification result includes a verification result that the first verification information is the preset verification information;

[0186] Exit module, used to exit the first warranty card program.

[0187] In some embodiments of the present application, the above-mentioned SIM card-based information verification device 700 may further include:

[0188] A second acquisition module is used to acquire the network data of the SIM card from the storage space of the electronic device before interrupting the communication function of the SIM card through the first card protection program;

[0189] A deletion module, used to input network data into the SIM card, store the network data through the second card protection program of the SIM card, and delete the network data of the SIM card stored in the storage space;

[0190] Based on this, the above-mentioned opening module includes:

[0191] The reading submodule is used to read the network data from the second card protection program of the SIM card when the SIM card outputs the second verification result;

[0192] The starter module is used to start the communication function of the SIM card through network data.

[0193] In some embodiments of the present application, the above-mentioned SIM card-based information verification device 700 may further include:

[0194] A second display module, used to display a second interface after exiting the first warranty card program, the second interface including a device restart prompt option;

[0195] The restart module is used to restart the electronic device when receiving the input of the user selecting the confirm restart option from the device restart prompt option.

[0196] In some embodiments of the present application, the above-mentioned SIM card-based information verification device 700 may further include:

[0197] A third receiving module is used to receive, when receiving a first insurance card program start request sent by a trusted service TSM server, before displaying the first interface of the first insurance card program and when the SIM card is associated with the insurance card service, a first resource package and a second resource package sent by the TSM server, wherein the first resource package includes resources required for configuring the first insurance card program, and the second resource package includes resources required for configuring the second insurance card program;

[0198] An installation module, used for installing a first resource package;

[0199] The writing module is used to write the second resource package into the SIM card.

[0200] The various modules of the SIM card-based information verification device 700 provided in the embodiment of the present application can realize Figures 1 to 8 The functions of each step of the provided SIM card-based information verification method and the ability to achieve corresponding technical effects are described briefly and will not be repeated here.

[0201] The present application embodiment provides a SIM card-based information verification device 800, which is applied to a TSM server. Fig.14 , the information verification device 800 comprises:

[0202] The first receiving module 810 is used to receive a loss reporting request submitted by a user, where the loss reporting request carries identification information of the SIM card;

[0203] A generating module 820 is used to generate a first card insurance program activation request for the SIM card based on the loss report request;

[0204] The first sending module 830 is used to send a first insurance card program activation request to an electronic device electrically connected to the SIM card; wherein the first insurance card program activation request is used to request the electronic device to display the first interface of the first insurance card program, and input the first verification information input by the user in the verification information input area of ​​the first interface into the SIM card, so that the second insurance card program in the SIM card outputs a first verification result when verifying that the first verification information is not the preset verification information; the first verification result is used to prompt the electronic device to turn off the communication function of the SIM card.

[0205] Therefore, when the first receiving module 810 receives the report loss request submitted by the user and carrying the identification information of the SIM card, the TSM server can process the user's report loss request, use the generation module 820 to generate and use the first sending module 830 to send the first card preservation program activation request, and quickly start the remote report loss process of the SIM card, effectively preventing other users from using the mobile phone number associated with the SIM card to perform various operations, and effectively reducing the security risk of user information leakage.

[0206] In some embodiments of the present application, the above-mentioned first sending module 830 can also be used for: when no response result based on the first warranty card program activation request sent by the electronic device is received within a preset time period, the first warranty card program activation request is sent to the electronic device electrically connected to the SIM card again, until a response result based on the first warranty card program activation request is received from the electronic device within a preset time period, and the response result includes a result for characterizing the activation of the first warranty card program of the electronic device.

[0207] In some embodiments of the present application, the above-mentioned SIM card-based information verification device 800 may further include:

[0208] The fourth receiving module is used to receive an insurance card service activation request submitted by a user before receiving a loss report request submitted by the user. The insurance card service activation request carries the identification information of the SIM card, and the loss report request carries the identification information of the SIM card.

[0209] The second sending module is used to send the first resource package and the second resource package to the electronic device electrically connected to the SIM card, the first resource package includes resources required for configuring the first insurance card program, and the first resource package is used for the electronic device to configure the first insurance card program; the second resource package includes resources required for configuring the second insurance card program, and the second resource package is used for the electronic device to configure the second insurance card program of the SIM card.

[0210] The various modules of the SIM card-based information verification device 800 provided in the embodiment of the present application can realize Fig. 9 and Fig.10 The functions of each step of the provided SIM card-based information verification method and the ability to achieve corresponding technical effects are described briefly and will not be repeated here.

[0211] The embodiment of the present application provides a SIM card-based information verification device 800, which is applied to a SIM card. The SIM card is electrically connected to an electronic device, and the SIM card is configured with a second card protection program; see Fig.15 , the information verification device 900 comprises:

[0212] The second receiving module 910 is used to receive first verification information input by the electronic device, where the first verification information is information input by the user in the verification information input area of ​​the electronic device, and the verification information input area is displayed on the first interface of the first warranty card program when the electronic device receives a first warranty card program activation request sent by the TSM server;

[0213] The second verification module 920 is used to verify whether the first verification information is the preset verification information through the second card preservation program, and output a first verification result. The first verification result includes a verification result that the first verification information is not the preset verification information. The first verification result is used to prompt the electronic device to turn off the communication function of the SIM card.

[0214] Therefore, the second receiving module 910 and the second verification module 920 can directly process and verify the verification information inside the SIM card, thereby reducing the risk of the information being stolen or tampered with during the transmission process.

[0215] In some embodiments of the present application, the above-mentioned SIM card-based information verification device 800 may further include:

[0216] The encryption module is used to encrypt the first verification information using the preset algorithm through the second warranty card program to obtain the second verification information when the second warranty card program stores the preset verification information and the preset algorithm.

[0217] The matching module is used to match the second verification information with the preset verification information through the second warranty card program.

[0218] The output module is used to output the first verification result through the second card insurance procedure when the first verification information fails to match the preset verification information.

[0219] In some embodiments of the present application, the above-mentioned encryption module is also used to encrypt the first verification information using the first encryption algorithm through the second insurance card program to obtain relay verification information; and to encrypt the relay verification information using the second encryption algorithm through the second insurance card program to obtain second verification information.

[0220] Fig.16 A schematic diagram of the hardware structure of an electronic device provided in some embodiments of the present application is shown.

[0221] See also Fig.16 The electronic device may include a processor 1001 and a memory 1002 storing computer program instructions.

[0222] Specifically, the processor 1001 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0223] The memory 1002 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 1002 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 1002 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 1002 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 1002 is a non-volatile solid-state memory.

[0224] In a particular embodiment, the memory 1002 may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Therefore, generally, the memory 1002 includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the data processing method according to the first aspect of the present application.

[0225] The processor 1001 reads and executes the computer program instructions stored in the memory 1002 to implement any one of the SIM card-based information verification methods in the above embodiments.

[0226] In one example, the electronic device may further include a communication interface 1010 and a bus 1003. Fig.16 As shown, the processor 1001, the memory 1002, and the communication interface 1010 are connected via a bus 1003 and communicate with each other.

[0227] The communication interface 1010 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0228] Bus 1003 includes hardware, software or both, and the parts of electronic equipment are coupled to each other.For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In suitable cases, bus 1003 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the application considers any suitable bus or interconnection.

[0229] The electronic device can execute the information verification method based on the SIM card in the embodiment of the present application, thereby realizing the combination Figures 1 to 15 The invention describes a SIM card-based information verification method and device.

[0230] In addition, in combination with the SIM card-based information verification method in the above-mentioned embodiment, the embodiment of the present application may provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by the processor, any one of the SIM card-based information verification methods in the above-mentioned embodiments is implemented. Examples of computer-readable storage media include non-transitory computer-readable storage media, such as portable disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, etc.

[0231] In addition, in combination with the SIM card-based information verification method in the above embodiment, the embodiment of the present application can provide a computer program product for implementation. The program product is stored in a storage medium, and may specifically include a computer program or instruction, which is executed by a processor to implement any one of the SIM card-based information verification methods in the above embodiment. The program product is executed by at least one processor to implement the various processes of the above data processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0232] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0233] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0234] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0235] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.

[0236] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

Claims

1. A SIM card-based information verification method, characterized in that: Applied to an electronic device, the electronic device is electrically connected to a user identification module SIM card, and the method comprises: In case of receiving a first warranty card program activation request sent by the trusted service TSM server, displaying a first interface of the first warranty card program, wherein the first interface includes a verification information input area; Acquire the first verification information input by the user in the verification information input area; Input the first verification information into the SIM card, and verify whether the first verification information is the preset verification information through the second card protection program of the SIM card; In a case where the SIM card outputs a first verification result, the communication function of the SIM card is turned off, the first verification result comprising a verification result that the first verification information is not the preset verification information.

2. The information verification method according to claim 1, characterized in that: The SIM card stores preset verification information; the inputting the first verification information into the SIM card, and verifying whether the first verification information is the preset verification information through the second card protection program of the SIM card, comprises: Input the first verification information into the SIM card, and encrypt the first verification information using a preset algorithm stored in the second insurance card program to obtain second verification information; Matching the second verification information with the preset verification information through the second warranty card program; Through the second warranty card program, based on the matching result between the second verification information and the preset verification information, it is verified whether the first verification information is the preset verification information.

3. The information verification method according to claim 2, characterized in that: The preset algorithm includes a first encryption algorithm and a second encryption algorithm; the first verification information is input into the SIM card, and the first verification information is encrypted by the preset algorithm stored in the second insurance card program to obtain the second verification information, including: Input the first verification information into the SIM card, encrypt the first verification information using the first encryption algorithm stored in the second insurance card program, and obtain relay verification information; The relay verification information is encrypted using a second encryption algorithm stored in the second warranty card program to obtain the second verification information.

4. The information verification method according to claim 1, characterized in that: Before displaying the first interface of the first warranty card program, the method further includes: The communication function of the SIM card is interrupted by the first card maintenance program.

5. The information verification method according to claim 4, characterized in that: The method further comprises: In a case where the SIM card outputs a second verification result, enabling a communication function of the SIM card, wherein the second verification result includes a verification result that the first verification information is the preset verification information; Exit the first warranty card program.

6. The information verification method according to claim 5, characterized in that: Before interrupting the communication function of the SIM card through the first card protection program, the method further includes: Acquiring network data of the SIM card from a storage space of the electronic device; Input the network data into the SIM card, store the network data through the second card protection program of the SIM card, and delete the network data of the SIM card stored in the storage space; When the SIM card outputs the second verification result, enabling the communication function of the SIM card includes: When the SIM card outputs a second verification result, reading the network data from a second card protection program of the SIM card; The communication function of the SIM card is activated through the network data.

7. The information verification method according to claim 5, characterized in that: After exiting the first card warranty program, the method further includes: Displaying a second interface, wherein the second interface includes a device restart prompt option; When receiving an input from a user selecting a confirm restart option from the device restart prompt options, the electronic device is restarted.

8. The method according to claim 1, characterized in that In the case of receiving the first warranty card program activation request sent by the trusted service TSM server, before displaying the first interface of the first warranty card program, the method further includes: In the case where the SIM card is associated with a warranty card service, receiving a first resource package and a second resource package sent by the TSM server, wherein the first resource package includes resources required for configuring the first warranty card program, and the second resource package includes resources required for configuring the second warranty card program; Install the first resource package; The second resource package is written into the SIM card.

9. A SIM card-based information verification method, characterized in that: Applied to TSM server, including: Receiving a loss reporting request submitted by a user, wherein the loss reporting request carries identification information of the SIM card; Based on the loss report request, generating a first card insurance program activation request for the SIM card; Send the first insurance card program activation request to an electronic device electrically connected to the SIM card; wherein the first insurance card program activation request is used to request the electronic device to display the first interface of the first insurance card program, and input the first verification information input by the user in the verification information input area of ​​the first interface into the SIM card, so that the second insurance card program in the SIM card outputs a first verification result when verifying that the first verification information is not the preset verification information; the first verification result is used to prompt the electronic device to turn off the communication function of the SIM card.

10. The information verification method according to claim 9, characterized in that: The method further comprises: If a response result based on the first warranty card program activation request sent by the electronic device is not received within a preset time period, the first warranty card program activation request is sent again to the electronic device electrically connected to the SIM card until a response result based on the first warranty card program activation request is received from the electronic device within a preset time period, and the response result includes a result for characterizing the activation of the first warranty card program of the electronic device.

11. The information verification method according to claim 9, characterized in that: Before receiving the loss reporting request submitted by the user, the method further includes: Receive a request for activating an insurance card service submitted by a user, wherein the request for activating an insurance card service carries identification information of the SIM card; A first resource package and a second resource package are sent to an electronic device electrically connected to the SIM card, wherein the first resource package includes resources required for configuring the first insurance card program, and the first resource package is used by the electronic device to configure the first insurance card program; the second resource package includes resources required for configuring the second insurance card program, and the second resource package is used by the electronic device to configure the second insurance card program of the SIM card.

12. A SIM card-based information verification method, characterized in that: Applied to a SIM card, the SIM card is electrically connected to an electronic device, and the SIM card is configured with a second card protection program; the method comprises: Receiving first verification information input by the electronic device, the first verification information is information input by a user in a verification information input area of ​​the electronic device, the verification information input area is displayed on a first interface of the first warranty card program when the electronic device receives a first warranty card program activation request sent by the TSM server; Through the second card preservation program, verify whether the first verification information is the preset verification information, and output a first verification result; the first verification result includes a verification result that the first verification information is not the preset verification information; the first verification result is used to prompt the electronic device to turn off the communication function of the SIM card.

13. The information verification method according to claim 12, characterized in that: The second warranty card program stores preset verification information and a preset algorithm; the second warranty card program verifies whether the first verification information input by the user in the verification information input area of ​​the electronic device is the preset verification information, and outputs a first verification result, including: Through the second warranty card program, the first verification information is encrypted using a preset algorithm to obtain second verification information; Matching the second verification information with the preset verification information through the second warranty card program; Through the second warranty card program, when the first verification information and the preset verification information fail to match, a first verification result is output.

14. The information verification method according to claim 13, characterized in that: The preset algorithm includes a first encryption algorithm and a second encryption algorithm; the second security card program uses the preset algorithm to encrypt the first verification information to obtain the second verification information, including: By using the second warranty card program, the first verification information is encrypted using the first encryption algorithm to obtain relay verification information; Through the second warranty card program, the relay verification information is encrypted using the second encryption algorithm to obtain the second verification information.

Citation Information

Cited By

  • Network connection processing method, system and device, storage medium and product

    CN120264503A

  • Network connection processing method, system, device, storage medium and product

    CN120264503B