Communication verification method and device, electronic equipment and storage medium

By monitoring the identification information of the modem in an electronic device and automatically sending the identification password, the problem of users frequently manually verifying the SIM card PIN is solved, and communication verification efficiency and user experience are improved.

CN119865821APending Publication Date: 2025-04-22BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311369668.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-20
Publication Date
2025-04-22

AI Technical Summary

Technical Problem

In electronic devices such as mobile phones, it is necessary to frequently manually verify the PIN of the SIM card, resulting in poor user experience.

Method used

By monitoring the identification information of the modem in the electronic device, when the preset conditions are met, the identification password of the identity identification module is automatically sent to the modem to realize automatic verification.

Benefits of technology

It improves the communication verification efficiency of electronic devices, reduces the number of times users manually verify, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119865821A_ABST
    Figure CN119865821A_ABST
Patent Text Reader

Abstract

The invention relates to a communication verification method and device, electronic equipment and a storage medium. The communication verification method comprises the following steps: monitoring identification information of a modem in the electronic equipment; under the condition that the identification information meets a preset condition, sending an identification password of an identity identification module in the electronic equipment to the modem; and verifying the identification password based on the modem. According to the embodiment of the invention, the communication verification efficiency of the electronic equipment can be improved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a communication verification method and device, an electronic device, and a storage medium. Background Art

[0002] At present, in order to improve the security of electronic devices such as mobile phones, the Subscriber Identity Module (SIM) of the mobile phone is equipped with a Personal Identification Number (PIN).

[0003] After the user inserts the SIM card into the phone, if the PIN is enabled, the user needs to enter the PIN to unlock the phone when the phone is restarted or turned on.

[0004] However, mobile phones that usually support different communication methods require users to manually verify the PIN of the SIM card repeatedly in scenarios such as switching between different modems, resulting in a poor user experience. Summary of the invention

[0005] In order to overcome the problems existing in the related art, the present disclosure provides a communication verification method and device, an electronic device and a storage medium, which can improve the communication verification efficiency of the electronic device and enhance the user experience.

[0006] According to a first aspect of an embodiment of the present disclosure, a communication verification method is provided, comprising at least:

[0007] monitoring identification information of modems in electronic devices;

[0008] When the identification information satisfies a preset condition, sending an identification password of an identity recognition module in the electronic device to the modem;

[0009] The identification code is verified based on the modem.

[0010] In some embodiments, when the identification information satisfies a preset condition, sending the identification password of the identity recognition module in the electronic device to the modem includes:

[0011] When the working state of the modem whose identification information points to a different communication type is switched or the modem is restarted, the identification password of the identity recognition module is sent to the modem.

[0012] In some embodiments, the switching of the working states of the modems of different communication types includes: switching the modem used for terrestrial network communication into a working state or switching the modem used for non-terrestrial network communication into a working state.

[0013] In some embodiments, the sending the identification password of the identity identification module in the electronic device to the modem includes:

[0014] In a case where the use status of the identification password is updated from an unusable state to an usable state, the identification password is transmitted to the modem.

[0015] In some embodiments, the method further comprises:

[0016] When the modem verification succeeds, or the duration of the usage status of the identification password being updated to the available status is greater than or equal to a preset duration, the usage status of the identification password is updated from the available status to the unavailable status.

[0017] In some embodiments, the method further comprises:

[0018] When the usage status of the identification password is the unavailable status or the modem verification fails, the identification password is verified in response to a verification operation performed on the electronic device.

[0019] In some embodiments, the method further comprises:

[0020] When the electronic device is in a powered-on state and the position of the identity recognition module in the electronic device changes, the usage state of the identification password is updated to the unavailable state.

[0021] In some embodiments, the method further comprises:

[0022] Obtaining an encrypted password from a memory of the electronic device;

[0023] The encrypted password is decrypted to obtain the identification password.

[0024] In some embodiments, the method further comprises:

[0025] In the event that the modem verification fails, the encryption password is deleted.

[0026] In some embodiments, the method further comprises:

[0027] When the identity recognition module is initialized, the recognition password is encrypted and stored.

[0028] According to a second aspect of an embodiment of the present disclosure, a communication verification device is provided, comprising at least:

[0029] A monitoring module configured to monitor identification information of a modem in an electronic device;

[0030] a sending module, configured to send an identification password of an identity recognition module in the electronic device to the modem if the identification information meets a preset condition;

[0031] A verification module is configured to verify the identification password based on the modem.

[0032] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, comprising at least:

[0033] processor;

[0034] a memory for storing processor-executable instructions;

[0035] Wherein, the processor is configured to execute the communication verification method as described in the first aspect.

[0036] According to a fourth aspect of an embodiment of the present disclosure, a storage medium is provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the communication verification method as described in the first aspect.

[0037] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0038] A communication verification method provided by an embodiment of the present disclosure may include: monitoring identification information of a modem in an electronic device; sending an identification password of an identity recognition module in the electronic device to the modem when the identification information meets a preset condition; and verifying the identification password based on the modem. That is, unlike the related art that requires a user to manually verify the identification password of an identity recognition module in an electronic device, an embodiment of the present disclosure can send the identification password of the identity recognition module to the modem when the electronic device monitors that the identification information of the modem meets a preset condition, so that the modem can automatically verify the identification password, thereby improving the communication verification efficiency of the electronic device and enhancing the user experience.

[0039] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0041] Figure 1 A communication verification method according to an exemplary embodiment is shown in FIG. Figure 1 .

[0042] Figure 2 A communication verification method according to an exemplary embodiment is shown in FIG. Figure 2 .

[0043] Figure 3 A communication verification method according to an exemplary embodiment is shown in FIG. Figure 3 .

[0044] Figure 4 A communication verification method according to an exemplary embodiment is shown in FIG. Figure 4 .

[0045] Figure 5 It is a flow chart of a communication verification method according to an exemplary embodiment.

[0046] Figure 6 The present invention is a structural block diagram of a communication verification device according to an exemplary embodiment.

[0047] Figure 7 The diagram is a schematic structural diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0048] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0049] The technical solutions provided by various embodiments of the present disclosure are described in detail below in conjunction with the accompanying drawings.

[0050] In the related art, in order to improve the security of SIM cards installed in electronic devices such as mobile phones, a PIN needs to be entered to unlock the phone when the phone is restarted or turned on. However, mobile phones that usually support different communication methods, when switching between different modems, require users to repeatedly manually verify the PIN of the SIM card, resulting in a poor user experience.

[0051] Based on this, an embodiment of the present disclosure provides a communication verification method. Figure 1 A communication verification method according to an exemplary embodiment is shown in FIG. Figure 1 ,like Figure 1 As shown, the communication verification method provided by the embodiment of the present disclosure includes at least the following steps:

[0052] Step 110: monitoring identification information of a modem in an electronic device;

[0053] Step 120: When the identification information meets a preset condition, send an identification password of the identity recognition module in the electronic device to the modem;

[0054] Step 130: Verify the identification password based on the modem.

[0055] In the disclosed embodiment, the communication verification method can be executed by the application processor (AP) in the electronic device. The electronic device can include: mobile phones, tablet computers, smart watches, digital cameras, head mounted display devices (HMD), etc., which are not limited in the disclosed embodiment; AP belongs to the software side of the electronic device, plays the role of computing and calling other functional components in the electronic device, and integrates multiple modules such as the central processing unit, graphics processor, video codec, memory subsystem, etc.

[0056] In step 110, the above-mentioned modem can be the abbreviation of modulator and demodulator, a kind of computer hardware. Modem can translate the computer's digital signal into analog signal that can be transmitted along ordinary telephone lines. These analog signals can be received by another modem at the other end of the line and translated into a language understandable to the computer to complete the communication between the two computers.

[0057] The identification information may be information used to characterize the current state of the modem. For example, the identification information may be used to characterize that the working state of the modem has switched; or, the identification information may be used to characterize that the modem has restarted; or, the identification information may be used to characterize that the modem has not changed; and so on.

[0058] It can be understood that a Radio Interface Layer (RIL) is connected between the above-mentioned modem and the AP, and the RIL can be used to manage the one-to-one response between the AP and the Modem, the Modem actively reporting commands, and controlling the driver of the Modem hardware.

[0059] In the disclosed embodiment, the identification information of the modem may be reported to the RIL, and then the AP may monitor the identification information reported by the RIL.

[0060] In step 120, the identification information meeting a preset condition may include: the working state of the modem of a different communication type is switched, or the modem is restarted.

[0061] The above-mentioned identity recognition module may be a SIM card held by a mobile user of the Global System for Mobile Communications (GSM). The GSM system identifies GSM users through the SIM card, and the same SIM card can be used on different electronic devices.

[0062] Among them, the SIM card is the key for GSM electronic devices to connect to the GSM network. Once the SIM card is removed from an electronic device such as a mobile phone, the mobile phone will not be able to enjoy the various services provided by the network operator except for emergency calls.

[0063] The identification password may be a passcode consisting of a string of numbers, which is used to authenticate the identity of the user and authorize the user to use the corresponding SIM card.

[0064] In one embodiment of the present disclosure, step 120 may specifically include: when the working state of the modem where the identification information points to a different communication type is switched or the modem is restarted, sending the identification password of the identity recognition module to the modem.

[0065] In this way, when the modem of the electronic device needs to be verified, the identification password can be sent to the modem, so that the subsequent modem can automatically verify the identification password, thereby improving the efficiency of electronic device communication verification and improving user experience.

[0066] The above-mentioned modems of different communication types may include: a modem for terrestrial network communication and a modem for non-terrestrial (such as satellite) network communication.

[0067] It should be noted that the electronic device in which the above-mentioned modems of different communication types are located may have a satellite communication function, that is, the electronic device can support different types of communication modes.

[0068] Here, in one embodiment of the present disclosure, switching the working state of the modems of different communication types may include: switching the modem for terrestrial network communication into a working state or switching the modem for non-terrestrial network communication into a working state.

[0069] That is to say, the above-mentioned electronic device can send an identification password to the modem when successfully switching from terrestrial network communication to non-terrestrial (such as satellite) network communication; or, the above-mentioned electronic device can also send an identification password to the modem when switching from non-terrestrial (such as satellite) network communication to terrestrial network communication.

[0070] It can be understood that the identification password sent by the above-mentioned electronic device to the above-mentioned modem can be pre-stored in the password manager of the above-mentioned electronic device; when the identification information monitored by the AP of the above-mentioned electronic device meets the preset conditions, the AP of the above-mentioned electronic device can obtain the identification password in an available state from the password manager to send the identification password to the above-mentioned modem.

[0071] In step 130, after receiving the identification code sent by the AP, the modem may verify the identification code.

[0072] In the disclosed embodiment, if the above-mentioned modem successfully verifies the above-mentioned identification password, the SIM card in the above-mentioned electronic device can communicate; if the above-mentioned modem fails to verify the above-mentioned identification password, the user is required to manually enter the PIN for verification so that the SIM card in the above-mentioned electronic device can communicate.

[0073] A communication verification method provided by an embodiment of the present disclosure may include: monitoring identification information of a modem in an electronic device; sending an identification password of an identity recognition module in the electronic device to the modem when the identification information meets a preset condition; and verifying the identification password based on the modem. That is, unlike the related art that requires a user to manually verify the identification password of an identity recognition module in an electronic device, the embodiment of the present disclosure can send the identification password of the identity recognition module to the modem when the electronic device monitors that the identification information of the modem meets a preset condition, so that the modem can automatically verify the identification password, thereby improving the efficiency of communication verification of the electronic device and improving the user experience.

[0074] In one embodiment of the present disclosure, step 120 may be implemented in various ways.

[0075] A specific implementation example is given below. It should be noted that what is listed below is only an example and is not intended to be limiting.

[0076] Figure 2 A communication verification method according to an exemplary embodiment is shown in FIG. Figure 2 See also Figure 2In step 120 of the communication verification method provided in the embodiment of the present disclosure, sending the identification password of the identity identification module in the electronic device to the modem may include:

[0077] Step 121: When the usage status of the identification password is updated from an unavailable status to an available status, send the identification password to the modem.

[0078] In step 121, the usage status of the identification password is unavailable, that is, the identification password stored in the password manager of the electronic device is in a locked state; that is, in the locked state, the AP cannot obtain the identification password from the password manager.

[0079] Similarly, the usage status of the above-mentioned identification password is an available state, that is, the above-mentioned identification password stored in the password manager of the above-mentioned electronic device is in an unlocked state; that is, in this unlocked state, the AP can obtain the above-mentioned identification password from the password manager to send the identification password to the above-mentioned modem.

[0080] In this way, the identification password can be obtained by updating the usage status of the identification password from an unavailable state to an available state, so as to send it to the modem, thereby preventing the identification password of the identity recognition module from being mistakenly obtained and improving the security of storing the identification password in the electronic device.

[0081] In some embodiments, the communication verification method may further include:

[0082] When the modem verification succeeds, or the duration of the usage status of the identification password being updated to the available status is greater than or equal to a preset duration, the usage status of the identification password is updated from the available status to the unavailable status.

[0083] In this way, when the modem verification is successfully completed or the time when the identification password is in an available state is greater than or equal to the preset time, the usage status of the identification password can be updated from an available state to an unavailable state to prevent the identification password stored in the password manager from being leaked, thereby improving the security of the identification password stored in the electronic device.

[0084] The preset time length may be a time length that is custom set in the electronic device; for example, the preset time length may be 5 seconds (s), 10s or 20s, etc.

[0085] Here, if the above-mentioned modem verification is successful, a response message of successful verification can be returned to the RIL, and the RIL will return the response message to the AP to enable the SIM card in the above-mentioned electronic device to communicate, and then update the usage status of the identification password in the password manager from an available state to an unavailable state to lock the above-mentioned identification password.

[0086] In the embodiment of the present disclosure, after the usage status of the above-mentioned identification password is updated to the above-mentioned available status, when the time duration for the AP to obtain the identification password from the password manager is greater than or equal to the above-mentioned preset time duration, the usage status of the above-mentioned identification password will be updated from the available status to the unavailable status; that is, after the usage status of the above-mentioned identification password is updated to the above-mentioned available status, if the AP does not obtain the identification password from the password manager for a long time, the above-mentioned identification password will be locked, and the AP will no longer be able to obtain the identification password.

[0087] For example, after the usage status of the PIN is updated to the available status, if the AP does not obtain the PIN from the password manager within 20 seconds, the usage status of the PIN will be updated to the unavailable status; or, after the usage status of the PIN is updated to the available status, if the AP successfully sends the obtained PIN to the modem, the usage status of the PIN will also be updated to the unavailable status after more than 20 seconds.

[0088] In some embodiments, the communication verification method may further include:

[0089] When the usage status of the identification password is the unavailable status or the modem verification fails, the identification password is verified in response to a verification operation performed on the electronic device.

[0090] In this way, when the use status of the identification password is unavailable or the modem verification fails, the user can manually input the identification password for verification to implement communication verification of the electronic device.

[0091] Here, the verification operation on the electronic device may include an operation in which a user manually verifies an identification password of an identity recognition module in the electronic device.

[0092] It can be understood that if the above-mentioned modem verification fails, a verification failure response message can be returned to the RIL, and the RIL will return the response message to the AP so that the AP can request a verification operation on the above-mentioned electronic device, thereby realizing communication verification of the electronic device.

[0093] In some embodiments, the communication verification method may further include:

[0094] When the electronic device is in a powered-on state and the position of the identity recognition module in the electronic device changes, the usage state of the identification password is updated to the unavailable state.

[0095] In this way, when the electronic device is turned on and the position of the identity recognition module in the electronic device changes, the usage status of the identification password can be updated to an unavailable state so that the user can manually enter the identification password for verification, thereby being consistent with the user's usage habits and improving the user experience.

[0096] In the disclosed embodiment, the position change of the above-mentioned identification module in the above-mentioned electronic device may include: the identification module is inserted into the card slot of the electronic device, or the identification module is removed from the card slot of the electronic device. In other words, when the user manually hot-plugs the SIM card, the identification password is not automatically verified, and the user needs to manually enter the identification password for verification.

[0097] Figure 3 A communication verification method according to an exemplary embodiment is shown in FIG. Figure 3 See also Figure 3 The communication verification method provided by the embodiment of the present disclosure may also include the following steps:

[0098] Step 140: Obtain an encrypted password from a memory of the electronic device;

[0099] Step 150: decrypt the encrypted password to obtain the identification password.

[0100] In step 140, the memory of the electronic device may be a password manager for storing the encrypted password; the encrypted password may be a password stored after encrypting the PIN of the SIM card.

[0101] It can be understood that the memory of the electronic device pre-stores the encrypted password of the SIM card; that is, when the electronic device enables the PIN of the SIM card, the PIN needs to be encrypted and stored, that is, the encrypted password in the memory.

[0102] In one embodiment of the present disclosure, the communication verification method may further include: when the identity recognition module is initialized, encrypting and storing the identification password, so as to better improve the security of storing the identification password in the electronic device.

[0103] Here, initializing the identity recognition module can be understood as the user activating the SIM card of the electronic device for the first time; encrypting the identification password can be understood as a coding operation in a computer program.

[0104] In step 150, decrypting the encrypted password can be understood as a decoding operation in a computer program; that is, decoding the computer language of the encrypted password into an identification password that a user can understand, so as to subsequently send the identification password to the modem.

[0105] In one embodiment of the present disclosure, the communication verification method may further include: deleting the encryption password when the modem verification fails. In this way, the error identification password stored in the memory of the electronic device can be deleted in time to improve the efficiency of subsequent electronic device communication verification.

[0106] It should be noted that when the user updates the PIN of the SIM card, the encrypted password stored in the above memory may be updated; or, when the user turns off the SIM card PIN function, the encrypted password stored in the above memory may be deleted.

[0107] The communication verification method provided by the embodiment of the present disclosure can encrypt and store the identification password of the identity recognition module. When obtaining the identification password, the encrypted password needs to be decrypted to obtain the identification password, so as to subsequently send the identification password of the identity recognition module to the modem, so that the modem can automatically verify the identification password, thereby better improving the security of storing the identification password in the electronic device, improving the efficiency of communication verification of the electronic device, and improving the user experience.

[0108] Figure 4 A communication verification method according to an exemplary embodiment is shown in FIG. Figure 4 .like Figure 4 As shown, the communication verification method provided in the embodiment of the present disclosure is only an example and not a limitation, and is intended to facilitate those skilled in the art to better understand the technical solution of the present disclosure. Figure 4 The communication verification method provided by the embodiment of the present disclosure is applied to an electronic device and may specifically include the following steps:

[0109] Step 401: When the identity recognition module of the electronic device is initialized, an identification password is encrypted and stored.

[0110] Step 402: monitor identification information of a modem in the electronic device.

[0111] Step 403: When the working state of the modem whose identification information points to a different communication type is switched or the modem is restarted, update the usage state of the identification password from an unavailable state to an available state.

[0112] Step 404: Obtain an encrypted password from the memory of the electronic device.

[0113] Step 405: decrypt the encrypted password to obtain the identification password.

[0114] Step 406: Send the identification password of the identity recognition module to the modem.

[0115] Step 407: Verify the identification password based on the modem.

[0116] Step 408: When the modem verification succeeds or the duration of the usage status of the identification password being updated to the available status is greater than or equal to a preset duration, the usage status of the identification password is updated from the available status to the unavailable status.

[0117] Step 409: When the modem verification fails, in response to a verification operation performed on the electronic device, the identification password is verified and the encryption password is deleted.

[0118] Step 410: When the electronic device is powered on and the position of the identity recognition module in the electronic device changes, the identification password is verified in response to a verification operation performed on the electronic device.

[0119] It should be noted that step 408 and step 409 are two parallel situations in the embodiment of the present disclosure; that is, step 408 or step 409 can be performed after step 407. Steps 403-407 and step 410 are also two parallel situations in the embodiment of the present disclosure; that is, after step 402, steps 403-407 or step 410 can be performed.

[0120] For example, Figure 5As shown, an electronic device supporting satellite communication, such as a mobile phone, may include a mobile phone process, a RIL, and a Modem (such as a ground base station Modem and a space satellite Modem). Among them, when the mobile phone enables the satellite communication function, the mobile phone process may send the message to the RIL, and the RIL will send the instruction to switch the Modem to the Modem. When switching from the ground base station Modem to the space satellite Modem, the Modem may broadcast the event of successfully switching to the space satellite Modem, and the mobile phone process may monitor the switching of the Modem; then, the mobile phone process may set the PIN pre-stored in the memory to an available state, and set a 20s timeout, and after the timeout, update the PIN in the memory to an unavailable state; when switching from the ground base station Modem to the space satellite Modem, the Modem will re-report the SIM card to be verified PIN, and request the SIM card to verify the PIN from the mobile phone process; the mobile phone process may obtain the PIN in an available state from the memory, decrypt it and send it to the Modem for verification; if the verification is successful, it indicates that the SIM card of the mobile phone is ready, and the PIN in the memory may be updated to an unavailable state; if the verification fails, the user is requested to manually enter the PIN for verification, and the locally pre-stored PIN is deleted.

[0121] The communication verification method provided by the embodiment of the present disclosure can send the identification password of the identity recognition module to the modem when the electronic device monitors that the identification information of the modem meets the preset conditions, so that the modem can automatically verify the identification password, thereby improving the efficiency of communication verification of the electronic device and improving the user experience; at the same time, when the electronic device is in the power-on state and the position of the identity recognition module in the electronic device changes, the user can manually enter the identification password for verification to realize communication verification of the electronic device, thereby being consistent with the user's usage habits and improving the user experience.

[0122] Figure 6 This is a structural block diagram of a communication verification device provided by an embodiment of the present disclosure. Figure 6 The communication verification device 600 provided in the embodiment of the present disclosure may include: a monitoring module 610, a sending module 620 and a verification module 630.

[0123] Wherein, the monitoring module 610 is configured to monitor the identification information of the modem in the electronic device;

[0124] The sending module 620 is configured to send the identification password of the identity recognition module in the electronic device to the modem when the identification information meets the preset condition;

[0125] The verification module 630 is configured to verify the identification password based on the modem.

[0126] The communication verification device provided by the embodiment of the present disclosure monitors the identification information of the modem in the electronic device; when the identification information meets the preset conditions, sends the identification password of the identity recognition module in the electronic device to the modem; and verifies the identification password based on the modem. That is to say, unlike the related art that requires the user to manually verify the identification password of the identity recognition module in the electronic device, the embodiment of the present disclosure can send the identification password of the identity recognition module to the modem when the electronic device monitors that the identification information of the modem meets the preset conditions, so that the modem can automatically verify the identification password, thereby improving the communication verification efficiency of the electronic device and enhancing the user experience.

[0127] for Figure 6 In a possible implementation of the technical solution shown, the sending module 620 may be specifically configured to send an identification password of the identity recognition module to the modem when the working state of the modem, in which the identification information points to a different communication type, switches or the modem is restarted.

[0128] for Figure 6 In the technical solution shown, in a possible implementation, the switching of the working states of the modems of different communication types includes: switching the modem used for terrestrial network communication to a working state or switching the modem used for non-terrestrial network communication to a working state.

[0129] for Figure 6 In a possible implementation of the technical solution shown, the sending module 620 may also be configured to: send the identification password to the modem when the usage status of the identification password is updated from an unavailable state to an available state.

[0130] for Figure 6 In a possible implementation of the technical solution shown, the communication verification device 600 may further include: an update module, configured to update the usage status of the identification password from the available status to the unavailable status when the modem verification is successful or the duration of the usage status of the identification password being updated to the available status is greater than or equal to a preset duration.

[0131] for Figure 6 In a possible implementation of the technical solution shown, the verification module 630 may also be configured to verify the identification password in response to a verification operation performed on the electronic device when the usage status of the identification password is the unavailable status or the modem verification fails.

[0132] for Figure 6 In a possible implementation of the technical solution shown, the update module may also be configured to update the usage status of the identification password to the unavailable status when the electronic device is powered on and the position of the identity recognition module in the electronic device changes.

[0133] for Figure 6 In the technical solution shown, in a possible implementation, the communication verification device 600 may also include: an acquisition module, configured to obtain an encrypted password from a memory of the electronic device; and a processing module, configured to decrypt the encrypted password to obtain the identification password.

[0134] for Figure 6 In a possible implementation of the technical solution shown, the processing module may also be configured to: delete the encryption password when the modem verification fails.

[0135] for Figure 6 In the technical solution shown, in a possible implementation manner, the processing module may also be configured to: encrypt and store the identification password when the identity recognition module is initialized.

[0136] It should be noted that Figure 6 The specific manner in which each module performs operations in the communication verification device in the illustrated embodiment has been described in detail in the embodiment of the method, and will not be elaborated on here.

[0137] Figure 7 8 is a schematic diagram of a structure of an electronic device according to an exemplary embodiment. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a message transceiver device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, a wearable device, etc.

[0138] Reference Figure 7 , the electronic device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .

[0139] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0140] The memory 804 is configured to store various types of data to support operations on the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0141] The power component 806 provides power to the various components of the electronic device 800. The power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.

[0142] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the electronic device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0143] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0144] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.

[0145] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the electronic device 800, the relative positioning of the components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or a component of the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0146] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as Wi-Fi, 4G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0147] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.

[0148] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by a processor 820 of an electronic device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0149] A non-temporary computer-readable storage medium, when the instructions in the storage medium are executed by the processor of an electronic device, enables the electronic device to perform a communication verification method, the method comprising: monitoring the identification information of a modem in the electronic device; sending the identification password of an identity recognition module in the electronic device to the modem when the identification information meets a preset condition; and verifying the identification password based on the modem. That is, unlike the related art that requires the user to manually verify the identification password of the identity recognition module in the electronic device, the embodiment of the present disclosure can send the identification password of the identity recognition module to the modem when the electronic device monitors that the identification information of the modem meets the preset condition, so that the modem can automatically verify the identification password, thereby improving the communication verification efficiency of the electronic device and enhancing the user experience.

[0150] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity 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, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0151] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0152] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A communication verification method, characterized in that: The method comprises: monitoring identification information of modems in electronic devices; When the identification information satisfies a preset condition, sending an identification password of an identity recognition module in the electronic device to the modem; The identification code is verified based on the modem.

2. The method according to claim 1, characterized in that When the identification information satisfies a preset condition, sending the identification password of the identity recognition module in the electronic device to the modem includes: When the working state of the modem whose identification information points to a different communication type is switched or the modem is restarted, the identification password of the identity recognition module is sent to the modem.

3. The method according to claim 2, characterized in that The switching of the working states of the modems of different communication types includes: switching the modem used for terrestrial network communication into a working state or switching the modem used for non-terrestrial network communication into a working state.

4. The method according to any one of claims 1 to 3, characterized in that: The step of sending the identification password of the identity identification module in the electronic device to the modem includes: In a case where the use status of the identification password is updated from an unusable state to an usable state, the identification password is transmitted to the modem.

5. The method according to claim 4, characterized in that The method further comprises: When the modem verification succeeds, or the duration of the usage status of the identification password being updated to the available status is greater than or equal to a preset duration, the usage status of the identification password is updated from the available status to the unavailable status.

6. The method according to claim 4, characterized in that The method further comprises: When the usage status of the identification password is the unavailable status or the modem verification fails, the identification password is verified in response to a verification operation performed on the electronic device.

7. The method according to claim 4, characterized in that The method further comprises: When the electronic device is in a powered-on state and the position of the identity recognition module in the electronic device changes, the usage state of the identification password is updated to the unavailable state.

8. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: Obtaining an encrypted password from a memory of the electronic device; The encrypted password is decrypted to obtain the identification password.

9. The method according to claim 8, characterized in that The method further comprises: In the event that the modem verification fails, the encryption password is deleted.

10. The method according to claim 8, characterized in that The method further comprises: When the identity recognition module is initialized, the recognition password is encrypted and stored.

11. A communication verification device, characterized in that: include: A monitoring module configured to monitor identification information of a modem in an electronic device; a sending module, configured to send an identification password of an identity recognition module in the electronic device to the modem if the identification information meets a preset condition; A verification module is configured to verify the identification password based on the modem.

12. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the communication verification method according to any one of claims 1 to 10.

13. A storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the communication verification method as claimed in any one of claims 1 to 10.