Communication method, terminal, device, and medium

By using the encryption and integrity protection mechanism of shared keys and derived keys in the communication system, the problem of low user identity authentication security is solved, the high security of symmetric cryptography is achieved, false caller attacks are prevented, and communications are ensured. The authenticity of the identity authentication of both parties.

WO2024183628A1PCT designated stage expired Publication Date: 2024-09-12CHINA MOBILE COMM LTD RES INST +1

Patent Information

Application Number
PCT/CN2024/079528
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-03
Filing Date
2024-03-01
Publication Date
2024-09-12

AI Technical Summary

Technical Problem

In existing communication systems, the security of user identity authentication mechanisms is low, especially in false caller attacks. Attackers can hide or replace the number information of the calling user, causing the called user to be unable to confirm the true identity of the communication initiator. .

Method used

By introducing encryption and integrity protection mechanisms of shared keys and derived keys into the communication system, the secure transmission of information between terminals is ensured, and the key management center is used to verify the identity of the calling terminal to ensure the identity authentication and integrity of both communicating parties. Security of the key agreement process.

Benefits of technology

It improves the security of the communication system, prevents false caller attacks, ensures the authenticity of the identity authentication of the calling terminal, ensures that encrypted calls are conducted between real and legitimate users, enhances the security of symmetric cryptography technology, and resists quantum computing attacks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024079528_12092024_PF_FP_ABST
    Figure CN2024079528_12092024_PF_FP_ABST
Patent Text Reader

Abstract

The present disclosure relates to the field of communications. Provided are a communication method, a terminal, a device, and a medium. The communication method comprises: sending a first message to a first device; receiving a second message sent by the first device, the second message comprising first information; and sending a third message to a second terminal, the third message comprising the first information, and the first information being related to identification information of the first terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Communication method, terminal, device and medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to Chinese patent application No. 202310233835.0 filed in China on March 3, 2023, the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present disclosure relates to the field of communication technologies, and in particular to a communication method, terminal, device, and medium. Background Art

[0004] With the advancement of informatization, communication security is receiving more and more attention. Communication methods based on encryption mechanisms can protect the security of communication information.

[0005] Existing communication methods for user identity authentication typically use in-band transmission to complete session identity authentication. Taking call communication as an example, for users who have activated the caller ID service, after receiving the call request from the caller, the called terminal can obtain the calling terminal's mobile phone / telephone number information through the communication network to authenticate the calling user's identity. Spoof call is a security attack method that exists in communication networks. The attacker can hide or replace the calling user's real number information with a non-existent number or someone else's number, thereby deceiving the called user. Therefore, existing communication methods for user identity authentication only perform identity authentication based on the identity identifier provided by the communication initiator (for example, the calling terminal). The communication receiver (for example, the called user) cannot confirm the true identity of the communication initiator. Therefore, it can be seen that the identity authentication mechanism of the existing communication system is less secure.

[0006] Summary of the Invention

[0007] The embodiments of the present disclosure provide a communication method, terminal, device, and medium to solve the problem of low security of the identity authentication mechanism of the existing communication system.

[0008] To solve the above technical problems, the present disclosure is implemented as follows:

[0009] In a first aspect, an embodiment of the present disclosure provides a communication method, applied to a first terminal, the method comprising:

[0010] Sending a first message to a first device;

[0011] receiving a second message sent by the first device, where the second message includes the first information;

[0012] Sending a third message to the second terminal, where the third message includes the first information;

[0013] The first information is related to the identification information of the first terminal.

[0014] Optionally, the first information is obtained by the first device encrypting and / or integrity protecting the identification information of the first terminal based on the second shared key or its derivative key; wherein the second shared key is a shared key between the first device and the second terminal.

[0015] Optionally, the second message further includes third information and / or fourth information:

[0016] The third information is: information obtained by encrypting and / or integrity protecting the third shared key based on the first shared key or a derived key thereof;

[0017] The fourth information is: information obtained by encrypting and / or integrity protecting the third shared key based on the second shared key or a derived key thereof;

[0018] The first shared key is a shared key between the first device and the first terminal, the second shared key is a shared key between the first device and the second terminal, and the third shared key is a shared key allocated by the first device and used between the first terminal and the second terminal.

[0019] Optionally, the third message also includes fourth information.

[0020] Optionally, the third message also includes fifth information, and the fifth information is used for verification between the first terminal and the second terminal.

[0021] Optionally, the third message also includes: information obtained by encrypting and / or integrity protecting the fifth information based on the third shared key or its derivative key, and the fifth information is used for verification between the first terminal and the second terminal.

[0022] Optionally, the method further includes:

[0023] A fourth message sent by the second terminal is received, and the second terminal is verified according to sixth information in the fourth message.

[0024] In a second aspect, an embodiment of the present disclosure provides a communication method, applied to a second terminal, the method including:

[0025] receiving a third message sent by the first terminal, where the third message includes the first information;

[0026] The first terminal obtains the first information by receiving a second message sent by the first device, where the second message includes the first information; and the first information is related to the identification information of the first terminal.

[0027] Optionally, the first information is obtained by the first device encrypting and / or integrity protecting the identification information of the first terminal based on the second shared key or its derivative key; wherein the second shared key is a shared key between the first device and the second terminal.

[0028] Optionally, the second message further includes third information and / or fourth information:

[0029] The third information is: information obtained by encrypting and / or integrity protecting the third shared key based on the first shared key or a derived key thereof;

[0030] The fourth information is: information obtained by encrypting and / or integrity protecting the third shared key based on the second shared key or a derived key thereof;

[0031] The first shared key is a shared key between the first device and the first terminal, the second shared key is a shared key between the first device and the second terminal, and the third shared key is a shared key allocated by the first device and used between the first terminal and the second terminal.

[0032] Optionally, the third message also includes fourth information.

[0033] Optionally, the third message also includes fifth information, and the fifth information is used for verification between the first terminal and the second terminal.

[0034] Optionally, the third message also includes: information obtained by encrypting and / or integrity protecting the fifth information based on the third shared key or its derivative key, and the fifth information is used for verification between the first terminal and the second terminal.

[0035] Optionally, the method further includes:

[0036] A fourth message is sent to the first terminal, where the fourth message includes sixth information; the sixth information is used for verification between the first terminal and the second terminal.

[0037] In a third aspect, an embodiment of the present disclosure provides a communication method, applied to a first device, the method comprising:

[0038] receiving a first message sent by a first terminal;

[0039] Sending a second message to the first terminal based on the first message, where the second message includes the first information;

[0040] The first information is related to the identification information of the first terminal.

[0041] Optionally, the first information is obtained by the first device encrypting and / or integrity protecting the identification information of the first terminal based on the second shared key or its derivative key; wherein the second shared key is a shared key between the first device and the second terminal.

[0042] Optionally, at least part of the first message is encrypted and / or integrity protected by a first shared key; the first shared key is a shared key between the first device and the first terminal.

[0043] In a fourth aspect, an embodiment of the present disclosure provides a first terminal including:

[0044] A first sending module, configured to send a first message to a first device;

[0045] A first receiving module is configured to receive a second message sent by the first device, where the second message includes first information;

[0046] A second sending module is configured to send a third message to the second terminal, where the third message includes the first information;

[0047] The first information is related to the identification information of the first terminal.

[0048] In a fifth aspect, an embodiment of the present disclosure provides an electronic device including a transceiver,

[0049] The transceiver is configured to send a first message to the first device;

[0050] receiving a second message sent by the first device, where the second message includes the first information;

[0051] Sending a third message to the second terminal, where the third message includes the first information;

[0052] The first information is related to the identification information of the electronic device.

[0053] In a sixth aspect, an embodiment of the present disclosure provides a second terminal, including:

[0054] A second receiving module is configured to receive a third message sent by the first terminal, where the third message includes the first information;

[0055] The first terminal obtains the first information by receiving a second message sent by the first device, where the second message includes the first information; and the first information is related to the identification information of the first terminal.

[0056] In a seventh aspect, an embodiment of the present disclosure provides an electronic device, including a transceiver,

[0057] The transceiver is configured to receive a third message sent by the first terminal, where the third message includes the first information;

[0058] The first terminal obtains the first information by receiving a second message sent by the first device, where the second message includes the first information; and the first information is related to the identification information of the first terminal.

[0059] In an eighth aspect, an embodiment of the present disclosure provides an electronic device, applied to a first device, including:

[0060] A third receiving module, configured to receive a first message sent by the first terminal;

[0061] a third sending module, configured to send a second message to the first terminal based on the first message, where the second message includes the first information;

[0062] The first information is related to the identification information of the first terminal.

[0063] In a ninth aspect, an embodiment of the present disclosure provides an electronic device including a transceiver,

[0064] The transceiver is configured to receive a first message sent by a first terminal;

[0065] Sending a second message to the first terminal based on the first message, where the second message includes the first information;

[0066] The first information is related to the identification information of the first terminal.

[0067] In the tenth aspect, an embodiment of the present disclosure provides an electronic device, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the communication method as described in the first aspect above; or, when executed by the processor, implements the steps of the communication method as described in the second aspect above; or, when executed by the processor, implements the steps of the communication method as described in the third aspect above.

[0068] In an eleventh aspect, an embodiment of the present disclosure provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the communication method described in the first aspect are implemented; or, when the computer program is executed by a processor, the steps of the communication method described in the second aspect are implemented; or, when the computer program is executed by a processor, the steps of the communication method described in the third aspect are implemented.

[0069] In the disclosed embodiment, a first message is sent to a first device; a second message sent by the first device is received, the second message including the first information; and a third message is sent to a second terminal, the third message including the first information; wherein the first information is related to the identification information of the first terminal. In the disclosed embodiment, the first terminal sends information related to the identification information of the first terminal obtained from the first device to the second terminal. The receiving party can obtain a verification identifier from a third-party device in an in-band manner, implement identity authentication in the in-band transmission mode, and improve the communication security of the system within the existing communication system mechanism. BRIEF DESCRIPTION OF THE DRAWINGS

[0070] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following briefly introduces the drawings required for use in the description of the embodiments of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0071] FIG1 is a flow chart of a communication method provided by an embodiment of the present disclosure;

[0072] FIG2 is a flow chart of another communication method provided by an embodiment of the present disclosure;

[0073] FIG3 is a flow chart of another communication method provided by an embodiment of the present disclosure;

[0074] FIG4 is a flow chart of another communication method provided by an embodiment of the present disclosure;

[0075] FIG5 is a flow chart of another communication method provided by an embodiment of the present disclosure;

[0076] FIG6 is a schematic diagram of a first terminal provided by an embodiment of the present disclosure;

[0077] FIG7 is a schematic diagram of an electronic device provided by an embodiment of the present disclosure;

[0078] FIG8 is a schematic diagram of a second terminal provided by an embodiment of the present disclosure;

[0079] FIG9 is a schematic diagram of another electronic device provided by an embodiment of the present disclosure;

[0080] FIG10 is a schematic diagram of another electronic device provided by an embodiment of the present disclosure;

[0081] FIG11 is a schematic diagram of another electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0082] The following will clearly and completely describe the technical solutions in the embodiments of the present disclosure in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of them. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present disclosure without making any creative efforts shall fall within the scope of protection of the present disclosure.

[0083] For ease of understanding, some contents involved in the embodiments of the present disclosure are described below:

[0084] Taking the voice call system as an example, Voice over Long Term Evolution (VoLTE) encrypted voice calls can prevent users' sensitive voice content from being eavesdropped and leaked. It usually uses asymmetric cryptography technology to achieve user identity authentication.

[0085] With the development of quantum security technology, the quantum VoLTE encrypted phone system, based on existing VoLTE encrypted voice calls, will be further developed. By introducing quantum keys, it will achieve even safer and more reliable confidential communications, meeting the high-security application needs of users. Considering the significant impact of quantum computing on the security of asymmetric cryptographic algorithms, the quantum VoLTE encrypted phone system will be implemented entirely using symmetric cryptographic mechanisms to effectively defend against potential future quantum computing attacks.

[0086] In secure communication systems using symmetric cryptography, both the calling and called terminals trust a key management center (KMC). Therefore, the KMC typically authenticates the calling and called terminals separately for encrypted calls. Successful authentication ensures the authenticity of both the calling and called terminals.

[0087] Existing quantum VoLTE encrypted phone systems use in-band key transmission to negotiate quantum session keys. The caller accesses the quantum key management center (QKMC) to request a session key for the call. The key is then securely forwarded to the called terminal, which then receives the same key to encrypt the call. During this process, the called terminal never accesses the QKMC and only obtains the session key and other relevant information from the caller to verify the caller's identity. Under symmetric cryptography, existing authentication methods based on the QKMC are inapplicable to this scenario.

[0088] For users who have subscribed to the Caller ID service, upon receiving a call request, the called terminal can obtain the calling terminal's mobile phone / phone number information through the communications network to authenticate the caller's identity. Spoofing is a security attack method used in communications networks. An attacker can hide or replace the caller's real number with a non-existent number or someone else's, thereby deceiving the called user. Therefore, the called user cannot verify the caller's true identity based solely on the calling terminal number information provided by the communications system.

[0089] Therefore, the digital certificate-based terminal identity authentication method used in existing VoLTE encrypted phone systems will not work in quantum VoLTE encrypted phone systems. New technical methods, based on the architecture and cryptographic scheme of the new quantum system, will be needed to effectively authenticate the identities of both parties in a quantum encrypted call. In short, to ensure the security of quantum VoLTE encrypted call services, effective technical methods are needed to authenticate the identity of the calling terminal and ensure that encrypted calls are conducted between authentic and legitimate users.

[0090] Similarly, in other encrypted communication scenarios, such as encrypted video calls, encrypted short messages / 5G messages (i.e., Rich Communication Suite (RCS) / instant messaging), encrypted intercom messages, encrypted file transfers, encrypted emails, etc., existing user identity authentication communication methods usually use in-band transmission to complete session key negotiation, rather than the key management center separately authenticating each communication terminal of the encrypted communication. That is, the communication receiving end (e.g., the called end) cannot obtain encrypted communication from the key management center. In other words, the confidential communication method using existing symmetric encryption technology cannot be applied to the existing communication system, that is, the confidential communication method using existing symmetric encryption technology cannot achieve in-band key negotiation. In other words, the existing communication system cannot adopt the existing symmetric encryption technology, resulting in its encryption mechanism with low security.

[0091] In order to use existing symmetric key technology for encrypted communication, the entire system architecture needs to be adjusted, which is highly complex.

[0092] In an embodiment of the present disclosure, a communication method is proposed to solve the problem of low security of the encryption mechanism of the existing communication system.

[0093] Referring to FIG. 1 , FIG. 1 is a flow chart of a communication method provided by an embodiment of the present disclosure, which is used for a first terminal. As shown in FIG. 1 , the method includes the following steps:

[0094] Step 101: Send a first message to a first device;

[0095] In the embodiment of the present disclosure, the first terminal (terminal A) sends a first message to the first device to trigger subsequent steps. It is understood that the embodiment of the present disclosure is not limited to obtaining the second message in a manner triggered by the first message, and the first device may also actively send the second message to the first terminal.

[0096] The first terminal sends a first message to the first device, thereby obtaining first information from the first device; the first message can be understood as a request message sent by the first terminal to the first device.

[0097] Optionally, at least part of the first message is encrypted and / or integrity protected by the first shared key, the request message carries an identifier of the first shared key, and the first shared key is a shared key between the first device and the first terminal.

[0098] In an embodiment of the present disclosure, in order to improve the security of information interaction, the first terminal may utilize a shared key (first shared key) between the first device and the first terminal during communication with the first device, that is, utilize the first shared key (Ka) or its derivative key to encrypt the first message.

[0099] The same terminal may have different first shared keys (Ka) based on different business requirements or processes. In order to improve the efficiency of key verification, the identifier of the first shared key (K ID _A).

[0100] Step 102: Receive a second message sent by the first device, where the second message includes first information.

[0101] The first device may send a second message to the first terminal to carry identification information of the first terminal.

[0102] Step 103: Send a third message to the second terminal, where the third message includes the first information;

[0103] The first information is related to the identification information of the first terminal.

[0104] The second terminal (terminal B) obtains the identification information related information of the first terminal indirectly from the first device through the first terminal.

[0105] Among them, the above-mentioned first information can be information related to the terminal identification, such as information related to the user number or terminal number, such as the user identification IMSI, the terminal equipment number IMEI, the mobile phone number MSISDN, etc. IMSI refers to the International Mobile Subscriber Identity; IMEI refers to the International Mobile Equipment Identity; MSISDN refers to the Mobile Station International Subscriber Directory Number. Another example can be the identification information assigned to the first terminal by the first device (such as the password card number, password module identification, password module number, etc.), which can be assigned when the first terminal is registered. The first information can simultaneously include one or more of the above-mentioned information related to the terminal identification. The above-mentioned multiple different identification information are all identifications of the terminal, are correlated with each other, and can be mapped to each other.

[0106] The above-mentioned first information can be understood as information used by the second terminal to verify the identity of the first terminal.

[0107] Optionally, the first information is obtained by the first device encrypting and / or integrity protecting the identification information of the first terminal based on the second shared key (Kb) or its derivative key; wherein the second shared key is a shared key between the first device and the second terminal.

[0108] In the embodiment of the present disclosure, the first device encrypts the first information based on the shared key (Kb) between the first device and the second terminal, so that the first terminal can only forward the first information and cannot tamper with the first information, thereby ensuring that the first information obtained by the second terminal is authentic and not interfered with by the first terminal.

[0109] It is understandable that the embodiments of the present disclosure are not limited to protecting the first information by the above-mentioned second shared key method, but can also be based on other communication mechanisms, so that the first terminal directly forwards the above-mentioned first information (for example, transparent transmission) after receiving the second message, thereby ensuring that the first information obtained by the second terminal is authentic and not interfered with by the first terminal.

[0110] The disclosed embodiments relate to the field of communication security, and include sending a first message to a first device; receiving a second message sent by the first device, the second message including the first information; and sending a third message to a second terminal, the third message including the first information; wherein the first information is related to the identification information of the first terminal. That is, the first terminal sends the identification information related to the first terminal obtained from the first device to the second terminal, and the second terminal indirectly obtains the identification information related to the first terminal from the first device through the first terminal, thereby enabling the recipient to obtain a verification identifier from a third-party device in an in-band manner, and achieve symmetric verification in the in-band transmission mode, that is, it is possible to improve the communication security of the system under the existing communication system mechanism.

[0111] Referring to FIG. 2 , FIG. 2 is a flow chart of another communication method provided by an embodiment of the present disclosure, which is used for a first terminal. As shown in FIG. 2 , the method includes the following steps:

[0112] Step 201: Send a first message to a first device.

[0113] For the above optional implementation manner, reference may be made to the relevant description in the embodiment shown in FIG1 . To avoid repeated description, this embodiment will not be described in detail.

[0114] Step 202: Receive a second message sent by the first device, where the second message includes the first information and further includes third information and / or fourth information.

[0115] The third information is: information obtained by encrypting and / or integrity protecting the third shared key based on the first shared key or a derived key thereof;

[0116] The fourth information is: information obtained by encrypting and / or integrity protecting the third shared key based on the second shared key or a derived key thereof;

[0117] The first shared key is a shared key between the first device and the first terminal, the second shared key is a shared key between the first device and the second terminal, and the third shared key is a shared key allocated by the first device and used between the first terminal and the second terminal.

[0118] In the embodiment of the present disclosure, based on the embodiment shown in FIG1 , the first device not only provides the first information for identity authentication, but also further provides a third shared key.

[0119] It is understandable that, since the first shared key is a shared key between the first device and the first terminal, the third shared key encrypted with the first shared key (Ka) can only be read by the first device and the first terminal; and since the second shared key is a shared key between the first device and the second terminal, the third shared key encrypted with the second shared key (Kb) can only be read by the first device and the second terminal. Through the above information distribution method, the first terminal and the second terminal respectively obtain the third shared key from the first device in different forms. The first terminal can obtain the third shared key by obtaining the third information from the first device, and the second terminal can obtain the third shared key by forwarding the fourth information from the first terminal.

[0120] It is understandable that the first device may send the third information only to the first terminal, or may send the fourth information only to the first terminal, or the first terminal may send the third information and the fourth information at the same time.

[0121] In the disclosed embodiment, the first information and the fourth information in the second message may be independent, that is, the first device uses the second shared key to encrypt and / or integrity-protect the identification information of the first terminal and the third shared key, respectively, and sends them to the first terminal. Furthermore, the first information and the fourth information in the second message may be combined, that is, the first device uses the second shared key to encrypt and / or integrity-protect the identification information of the first terminal and the third shared key, and sends them to the first terminal.

[0122] Of course, other information may also be included when performing independent or unified encryption and / or integrity protection.

[0123] Step 203: Send a third message to the second terminal, where the third message includes the first information;

[0124] The first information is related to the identification information of the first terminal.

[0125] For the above optional implementation manner, reference may be made to the relevant description in the embodiment shown in FIG1 . To avoid repeated description, this embodiment will not be described in detail.

[0126] Optionally, the third message also includes fourth information.

[0127] In the disclosed embodiment, the first device sends fourth information to the first terminal, which then forwards the fourth information to the second terminal. This means that the second terminal can obtain the third shared key by forwarding the fourth information from the first terminal. Similar to the embodiment shown in FIG1 , in-band information transmission is also used to enable both the first terminal and the second terminal to obtain verification information (Ks) from a third-party device (the first device), thus implementing symmetric cryptography through in-band key negotiation.

[0128] When sending the first and fourth information to the second terminal, they can be sent as two independent messages, or they can be carried in one message. When the first and fourth information are carried in a third message, the first and fourth information can be independent or combined. Whether they are sent in an independent or combined form depends on whether the first information and the fourth information in the second message are independent or combined when the first terminal receives the second message. If the first information and the fourth information in the second message received by the first terminal are independent, then the first and fourth information sent by the first terminal to the second terminal are independent; if the first information and the fourth information in the second message received by the first terminal are combined, then the first information and the fourth information sent by the first terminal to the second terminal are combined.

[0129] Optionally, receiving a confirmation message sent by the second terminal when determining that the first information matches the second information; and establishing an encrypted session communication between the first terminal and the second terminal based on the confirmation message;

[0130] and / or, receiving a rejection message sent by the second terminal when determining that the first information does not match the second information; terminating the encrypted session communication between the first terminal and the second terminal based on the rejection message;

[0131] The second information is the terminal identifier carried in the first session information sent by the first terminal to the second terminal.

[0132] It is understandable that when terminal A initiates a conversation with terminal B, it carries its own terminal identification or the identification of a terminal it intends to impersonate (denoted as A1). Terminal B can obtain terminal A's identification (denoted as A2) from the first device (quantum key management center) through terminal A. By verifying whether A1 and A2 match, the security of the current call can be verified. If they match, the call is confirmed to be secure; if not, the call can be rejected.

[0133] In order to further improve communication security, optionally, at least part of the confirmation message is encrypted and / or integrity protected by the third shared key;

[0134] The establishing, based on the confirmation message, an encrypted session communication between the first terminal and the second terminal includes:

[0135] In a case where the confirmation information is parsed successfully based on the third shared key, an encrypted session communication is established between the first terminal and the second terminal.

[0136] For example, the aforementioned communication method uses VoLTE encrypted calls as an example. Quantum VoLTE encrypted call services require that the user password carried in a secure medium be bound to the registered user's mobile phone number. This prohibits user A's password and user B's mobile phone number from making or receiving encrypted calls. Therefore, it is necessary to ensure that the user password and call service identity match and remain consistent when establishing a quantum VoLTE encrypted call.

[0137] 1. VoLTE encrypted calls require registration before they can be used:

[0138] When registering for the quantum VoLTE encrypted call service, the end user must register and file their real identity information (for example, mobile phone number MSISDN, user ID IMSI, terminal device number IMEI, etc.) with the quantum key management center.

[0139] The quantum key management center generates a pre-shared quantum symmetric key (or multiple keys) and installs the key into a secure medium (e.g., a password card, Subscriber Identity Module (SIM) card, USB shield, terminal security hardware, or security software such as a software cryptographic module) for distribution to the user. The pre-shared quantum symmetric key is then associated with the user's identity information and stored locally.

[0140] 2. As shown in Figure 3, the above encrypted communication process includes:

[0141] 1. When a user makes an encrypted call, calling terminal A initiates an encrypted call request.

[0142] 2. The calling and called terminals A and B establish a call connection through an application server (AS). For encrypted phone services based on Voice over Internet Protocol (VoIP), the AS can be a Session Initialization Protocol (SIP) server responsible for implementing phone service functions. For encrypted phone services based on VoLTE, VoNR, or fixed-line phones, the AS can be a server responsible for phone services in the IP Multimedia Subsystem (IMS).

[0143] 3. The called terminal has activated the caller ID function. Therefore, after receiving the call request signaling sent by the communication network, it can obtain the calling terminal identification information provided by the communication system, denoted as A1, such as the mobile phone number MSISDN.

[0144] 4. During the call connection process, terminal A simultaneously sends a key request message to the quantum key management center to request the quantum session key for this encrypted phone call. The key request message should carry the identification information of the calling and called terminals A and B, such as the MSISDN.

[0145] In order to verify the authenticity of the message source and ensure the security of the message content during transmission, terminal A uses the pre-configured quantum symmetric key K A Or based on K A The derived symmetric key K A 'Encrypt and / or integrity protect all or part of the key request message, and A Key identifier K ID A. The integrity check value HMAC1 is sent along with the message. HMAC (Hash-based Message Authentication Code) is a hash-based message authentication code.

[0146] It is understandable that, for a non-call process, the key transmission process starts from step 4 above. The first device may allocate a set of key identifiers, K ID _A can be used once, similarly, the K ID _B can also be a first device that can be allocated to the second terminal (terminal B) for one-time use.

[0147] 5. After receiving the key request message, the quantum key management center obtains the quantum symmetric key K pre-shared between it and terminal A based on the calling terminal ID and key ID query A , and use K A Or based on K A The derived symmetric key K A 'Perform integrity protection check and decryption on the key request message.

[0148] After verification, the quantum key management center generates a quantum session key Ks for this call, and obtains the quantum symmetric key K pre-shared with terminal B based on the called terminal ID query. B and K B The corresponding key identifier K ID _B.

[0149] The quantum key management center builds a key response message. For the calling terminal A, the quantum key management center uses K A Or based on K A The derived symmetric key K A'Encrypt and integrity protect the quantum session key Ks and related information to form the securely protected information Msg_A and the integrity protection check value HMAC A For the called terminal B, the quantum key management center uses K B Or based on K B The derived symmetric key K B 'For quantum session key Ks, key identifier K ID _B (not encrypted), the identifier of the calling terminal A (such as MSISDN) and related information are encrypted and integrity protected to form the securely protected information Msg_B and the integrity protection check value HMAC B .

[0150] 6. The quantum key management center returns a key response message to the calling terminal A, including Msg_A and HMAC A 、Msg_B、HMAC B etc., safely provide the session key Ks and related information to A, and safely provide the session key Ks and key identifier K to B. ID _B. Identification and related information of calling terminal A.

[0151] If the key request message verification fails, the quantum key management center will reject the key request from terminal A.

[0152] 7. Calling terminal A uses K A Or based on K A The derived symmetric key K A 'Perform integrity protection check and decryption on Msg_A in the key response message to obtain the quantum session key Ks.

[0153] 8. The calling terminal A sends the session key to the called terminal B, which carries the information provided by the quantum key management center to B, including Msg_B, HMAC B Msg_B includes the encrypted identification information of the calling terminal A.

[0154] 9. According to the key identifier K in Msg_B ID _B, the called terminal B obtains the corresponding pre-configured shared quantum symmetric key K locally B , and use K B Or based on K B The derived symmetric key K B Perform integrity protection check and decryption on Msg_B carried in the message to obtain the quantum session key Ks and the calling terminal identification information provided by the cryptographic system, recorded as A2.

[0155] If the Msg_B message verification fails, terminal B rejects terminal A's encrypted call request.

[0156] 10. The called terminal B compares the calling terminal identification A1 provided by the communication system with the calling terminal identification A2 provided by the cryptographic system to determine whether they are consistent. If so, the process proceeds to steps 11a to 14a; if not, the process proceeds to steps 11b to 12b.

[0157] 11a. Callee B uses Ks to perform integrity protection on the session's identification information and obtains the checksum HMAC2.

[0158] 12a. Callee B returns a message to caller A, confirming that the caller's identity has been authenticated. This message may include information such as the session identifier and HMAC2 for this call. To reduce message overhead, this confirmation message also confirms that terminal B has successfully received the quantum session key Ks.

[0159] 13a. Calling terminal A uses Ks to verify HMAC2 and confirm the authenticity of the message. If the verification succeeds, the called user's password and service identity are confirmed to match. Otherwise, the two are determined to be mismatched, and the caller can terminate the call by sending a BYE message.

[0160] 14a. The two parties begin an encrypted conversation.

[0161] 11b. Callee B returns a message to caller A, rejecting the encrypted call. The message may carry the session identifier for the call.

[0162] 12b. Calling terminal A terminates the encrypted call.

[0163] The technical solution of the disclosed embodiment is applicable to secure communication systems based on symmetric cryptography, that is, it is applicable not only to secure communication systems based on quantum keys, but also to secure communication systems based on ordinary keys. In this case, the key management center is a traditional ordinary key management center.

[0164] The above communication method can be understood as an encrypted call user identity authentication and consistency verification method, which is mainly used to solve the problem of how the called terminal can effectively authenticate the identity of the calling terminal in the quantum VoLTE encrypted telephone system, and at the same time solve the problem of how to ensure that the passwords of the calling and called users match the service identity (such as mobile phone number).

[0165] Specifically, the called terminal B compares the calling mobile phone number A1 provided by the communication system with the calling mobile phone number A2 provided by the password system in a secure manner, and authenticates the authenticity of the calling terminal A's identity by determining whether the two are consistent, and determines the consistency between the calling user password and the service identity.

[0166] Terminal B obtains A1 through the communication system's caller ID service and A2 from a message sent by the key management center. A2 is protected by a shared symmetric key between terminal B and the key management center, preventing forgery or tampering, ensuring its authenticity. The key management center associates the terminal's identity information with the pre-shared (quantum) symmetric key information between the two parties and maintains this association. After verifying the authenticity of terminal A's identity using the pre-shared (quantum) symmetric key, the key management center sends a message containing A2 to terminal B. If the comparison between A1 and A2 matches, the called party B returns a confirmation message, continuing the (quantum) encrypted call. If the comparison between A1 and A2 does not match, the called party B returns a rejection message, terminating the (quantum) encrypted call. Calling terminal A uses the message returned by called terminal B to determine the consistency between the called party's password and service identity. If terminal B returns a confirmation message, the (quantum) encrypted call and the conversation continue. If terminal B returns a rejection message, the (quantum) encrypted call is terminated.

[0167] The technical solution of the disclosed embodiments is not limited to a specific network communication technology used to establish encrypted calls. It can be combined with any call establishment method to achieve secure communication, authenticate the calling terminal identity, and ensure the consistency of the calling and called user passwords with the service identity. This solution is applicable to secure communication systems implemented based on IMS network technology, such as those based on VoLTE, Voice over New Radio (VoNR), and IMS landline phones. It can also be applied to secure communication systems implemented based on other technologies, such as Internet Protocol (IP)-based (VoIP), non-IP-based, and SIP server-based.

[0168] The called terminal compares the calling mobile phone number provided by the communication system with the calling mobile phone number provided by the password system in a secure manner. By determining whether the two are consistent, the calling terminal's identity is authenticated and the user password and service identity are confirmed to match. If the two are consistent, it indicates that the calling identity is authentic and valid, and the calling user's password and service number match, and the VoLTE encrypted call can continue. Otherwise, it indicates that the calling identity is false and the VoLTE encrypted call process should not be allowed to continue to avoid the leakage of sensitive user call content.

[0169] The calling terminal determines the consistency of the called terminal's identity based on whether the called terminal can return a confirmation message indicating successful reception of the session key. If successful, this proves that the called terminal can use the correct pre-shared symmetric key to decrypt the session key sent by the quantum key management center, indicating that the called terminal's cryptographic identity and service identity are consistent. Otherwise, they are inconsistent.

[0170] Optionally, in the embodiment of the present disclosure, the first terminal is further configured to provide the fifth information to the second terminal, and different providing methods may be used:

[0171] Method 1

[0172] Optionally, the third message also includes fifth information, and the fifth information is used for verification between the first terminal and the second terminal.

[0173] The fifth information here can be information specifically used for verification between terminal A and terminal B, or it can use the original information in the third message, for example, the original session identifier can be used, that is, in addition to identifying the session, the session identifier can also be used by terminal A and terminal B for verification.

[0174] In addition, the fifth information here may be included in the third message in plain text.

[0175] Method 2

[0176] Optionally, the third message also includes: information obtained by encrypting and / or integrity protecting the fifth information based on the third shared key or its derivative key, and the fifth information is used for verification between the first terminal and the second terminal.

[0177] Method 1 and Method 2 describe two situations. Method 1 can be understood as the fifth information being included in the third message in plain text, and Method 2 can be understood as the message obtained by encrypting and / or integrity protecting the fifth information using Ks and carrying it in the third message.

[0178] Optionally, the method further includes: receiving a fourth message sent by the second terminal, and verifying the second terminal according to sixth information in the fourth message.

[0179] For method 1, the third message (i.e., step 8) may include: Ks encrypted and / or integrity-protected with Kb (corresponding to Msg_B in the figure), the identifier of terminal A encrypted and / or integrity-protected with Kb (corresponding to Msg_B in the figure), and the plaintext fifth information (taking the session identifier shown in the figure as an example; the processing of other fifth information can also refer to the processing of the session identifier). In this case, after receiving the third message, terminal B includes the following implementation steps:

[0180] (1) Terminal B uses the pre-stored Kb to decrypt and / or integrity-check Msg_B and obtain Ks.

[0181] (2) Terminal B uses the pre-stored Kb to decrypt and / or perform integrity verification on Msg_B, and obtains the identification of Terminal A. There is no order for steps (1) or (2).

[0182] (3a) Terminal B determines the authenticity of Terminal A's identity based on whether Msg_B is successfully decrypted and / or integrity-checked. If successful, it proceeds to step (4) or step (3b). If unsuccessful, it rejects the call.

[0183] (3b) Terminal B compares the identifier of calling terminal A provided by the secret management system with the identifier of terminal A provided by the communication system in step (2) to determine whether the two are consistent or inconsistent. If they are consistent, step (4) is continued; if they are inconsistent, the call is rejected. It should be noted that step (3b) here is optional. Step (3b) is intended to verify the authenticity of calling terminal A from another perspective.

[0184] (4) Use Ks obtained in step (1) to encrypt and / or integrity protect the session identifier; and send the encrypted and / or integrity protected session identifier and / or integrity protection check value HMAC2 (sixth message) to terminal A, so that terminal A can verify the identity of terminal B by using Ks to decrypt and / or integrity check the session identifier and / or HMAC2. If successful, terminal B is verified to be legal; if unsuccessful, terminal B is proven to be illegal.

[0185] For mode 2, the third message (i.e., step 8) may include: Ks encrypted and / or integrity-protected with Kb (corresponding to Msg_B in the figure), the identifier of terminal A encrypted and / or integrity-protected with Kb (corresponding to Msg_B in the figure), and fifth information encrypted and / or integrity-protected with Ks (using the session identifier shown in the figure as an example; the processing of other fifth information can also refer to the processing of the session identifier). In this case, after receiving the third message, terminal B includes the following implementation steps:

[0186] (1) Terminal B uses the pre-stored Kb to decrypt and / or integrity-check Msg_B and obtain Ks.

[0187] (2) Terminal B uses the pre-stored Kb to decrypt and / or perform integrity verification on Msg_B, and obtains the identification of Terminal A. There is no order for steps (1) or (2).

[0188] (3a) Terminal B determines the authenticity of Terminal A's identity based on whether Msg_B is successfully decrypted and / or integrity-checked. If successful, it proceeds to step (4) or step (3b). If unsuccessful, it rejects the call.

[0189] (3b) Terminal B compares the identifier of calling terminal A provided by the secret management system with the identifier of terminal A provided by the communication system in step (2) to determine whether the two are consistent or inconsistent. If they are consistent, step (4) is continued; if they are inconsistent, the call is rejected. It should be noted that step (3b) here is optional. Step (3b) is intended to verify the authenticity of calling terminal A from another perspective.

[0190] (4) Use Ks obtained in step (1) to decrypt and / or perform integrity check on the session identifier.

[0191] (5) First, the session identifier is processed accordingly so that the session identifier is changed (for example, the session identifier is increased by 1, etc.), and then the processed session identifier is encrypted and / or integrity protected using Ks obtained in step (1).

[0192] Here, the session identifier is first processed accordingly (for example, by adding 1 to the session identifier), and then the processed session identifier is encrypted and / or integrity-protected using Ks obtained in step (1). The main purpose is that: since terminal B may be an illegal terminal, although terminal B cannot correctly obtain Ks, it can send the session identifier encrypted and / or integrity-protected by Ks in the third message intact to terminal A, so that terminal A cannot determine the legitimacy of terminal B based on the content sent by terminal B. To avoid this situation, the session identifier needs to be changed according to the processing method agreed upon in advance by terminal A and terminal B, and then sent to terminal A after encryption and / or integrity protection so that terminal A can verify it.

[0193] (6) Send the encrypted and / or integrity protected processed session identifier and / or integrity protection check value HMAC2 (sixth message) to terminal A, so that terminal A can decrypt and / or integrity check the session identifier and / or HMAC by using Ks. 2, To verify the identity of terminal B. If successful, it proves that terminal B is legal; if unsuccessful, it proves that terminal B is illegal.

[0194] It can be understood that in addition to being applicable to voice encryption call services between the caller and the called party, the embodiments of the present disclosure can also be applied to other confidential communication services, such as encrypted video calls, encrypted short messages / 5G messages (RCS, Rich Communication Suite, converged communication) / instant messages, encrypted intercom messages, encrypted file transfers, encrypted emails, etc., and can also be applied to confidential communication services between multiple users, such as multi-party encrypted voice / video calls, encrypted multi-party conferences, encrypted group messages / emails, etc.

[0195] The disclosed embodiments solve the problem of identity authentication of the communication initiator (e.g., the calling terminal) by the communication counterpart (e.g., the called terminal) in an encrypted communication system based on a symmetric cryptographic mechanism, as well as the matching problem of the user passwords and service identities of the two communicating parties. Compared with the method of implementing identity authentication with digital certificates based on an asymmetric cryptographic mechanism, this solution is more secure and can resist quantum computing attacks. Compared with the method of implementing identity authentication purely through a key management center under a symmetric cryptographic system, this solution can verify the identity of the communication initiator without the communication counterpart directly accessing the key management center, thus meeting the security technical requirements for system identity authentication. At the same time, it solves the security problem of false identities in the communication system.

[0196] The method provided in the embodiments of the present disclosure is applicable to both quantum-based encrypted call systems and non-quantum encrypted call systems. That is, the first device recorded in the embodiments of the present disclosure can be a quantum-based key management center or a non-quantum key management center.

[0197] Referring to FIG. 4 , FIG. 4 is a flow chart of another communication method provided by an embodiment of the present disclosure, which is used for a second terminal. As shown in FIG. 4 , the method includes the following steps:

[0198] Step 401: Receive a third message sent by a first terminal, where the third message includes first information;

[0199] The first terminal obtains the first information by sending a first message to a first device and receiving a second message sent by the first device, where the second message includes the first information;

[0200] The first information is related to the identification information of the first terminal.

[0201] Optionally, the first information is obtained by the first device encrypting and / or integrity protecting the identification information of the first terminal based on the second shared key or its derivative key; wherein the second shared key is a shared key between the first device and the second terminal.

[0202] Optionally, the second message further includes third information and / or fourth information:

[0203] The third information is: information obtained by encrypting and / or integrity protecting the third shared key based on the first shared key or a derived key thereof;

[0204] The fourth information is: information obtained by encrypting and / or integrity protecting the third shared key based on the second shared key or a derived key thereof;

[0205] The first shared key is a shared key between the first device and the first terminal, the second shared key is a shared key between the first device and the second terminal, and the third shared key is a shared key allocated by the first device and used between the first terminal and the second terminal.

[0206] Optionally, the third message also includes fourth information.

[0207] Optionally, the third message also includes fifth information, and the fifth information is used for verification between the first terminal and the second terminal.

[0208] Optionally, the third message also includes: information obtained by encrypting and / or integrity protecting the fifth information based on the third shared key or its derivative key, and the fifth information is used for verification between the first terminal and the second terminal.

[0209] Optionally, the method further includes:

[0210] A fourth message is sent to the first terminal, where the fourth message includes sixth information; the sixth information is used for verification between the first terminal and the second terminal.

[0211] The method further comprises:

[0212] If the first information matches the second information, sending a confirmation message to the first terminal;

[0213] and / or,

[0214] If the first information does not match the second information, a rejection message is sent to the first terminal.

[0215] At least part of the confirmation message is encrypted and / or integrity protected by the third key.

[0216] It should be noted that this embodiment is an implementation of the second terminal corresponding to the embodiments shown in Figures 1 and 2. Its specific implementation can refer to the relevant descriptions in the embodiments shown in Figures 1 and 2. To avoid repetition, this embodiment will not be repeated.

[0217] Referring to FIG5 , FIG5 is a flowchart of another communication method provided by an embodiment of the present disclosure, which is used for a first device. As shown in FIG5 , the method includes the following steps:

[0218] Step 501: Receive a first message sent by a first terminal;

[0219] Step 502: Send a second message to the first terminal based on the first message, where the second message includes the first information;

[0220] The first information is related to the identification information of the first terminal.

[0221] Optionally, the first information is obtained by the first device encrypting and / or integrity protecting the identification information of the first terminal based on the second shared key or its derivative key; wherein the second shared key is a shared key between the first device and the second terminal.

[0222] Optionally, at least part of the first message is encrypted and / or integrity protected by a first shared key; the first shared key is a shared key between the first device and the first terminal.

[0223] Optionally, at least part of the first message is encrypted and / or integrity protected by the first key; the first message carries an identifier of the first key.

[0224] It should be noted that this embodiment is an implementation of the first device corresponding to the embodiments shown in Figures 1 and 2. Its specific implementation can refer to the relevant descriptions in the embodiments shown in Figures 1 and 2. To avoid repetition, this embodiment will not be described again.

[0225] 6 , which is a schematic structural diagram of a first terminal provided in an embodiment of the present disclosure. As shown in FIG6 , the first terminal 600 includes:

[0226] A first sending module 601 is configured to send a first message to a first device;

[0227] A first receiving module 602 is configured to receive a second message sent by the first device, where the second message includes first information;

[0228] A second sending module 603 is configured to send a third message to the second terminal, where the third message includes the first information;

[0229] The first information is related to the identification information of the first terminal.

[0230] Optionally, the first information is obtained by the first device encrypting and / or integrity protecting the identification information of the first terminal based on the second shared key or its derivative key; wherein the second shared key is a shared key between the first device and the second terminal.

[0231] Optionally, the second message further includes third information and / or fourth information:

[0232] The third information is: information obtained by encrypting and / or integrity protecting the third shared key based on the first shared key or a derived key thereof;

[0233] The fourth information is: information obtained by encrypting and / or integrity protecting the third shared key based on the second shared key or a derived key thereof;

[0234] The first shared key is a shared key between the first device and the first terminal, the second shared key is a shared key between the first device and the second terminal, and the third shared key is a shared key allocated by the first device and used between the first terminal and the second terminal.

[0235] Optionally, the third message also includes fourth information.

[0236] Optionally, the third message also includes fifth information, and the fifth information is used for verification between the first terminal and the second terminal.

[0237] Optionally, the third message also includes: information obtained by encrypting and / or integrity protecting the fifth information based on the third shared key or its derivative key, and the fifth information is used for verification between the first terminal and the second terminal.

[0238] Optionally, the first terminal 600 further includes:

[0239] The fourth receiving module is configured to receive a fourth message sent by the second terminal, and verify the second terminal according to sixth information in the fourth message.

[0240] It should be noted that the first terminal provided in the embodiment of the present disclosure is a device capable of executing the above-mentioned communication method, so all implementation methods in the above-mentioned communication method embodiment are applicable to the first terminal and can achieve the same or similar beneficial effects.

[0241] Specifically, as shown in FIG. 7 , an embodiment of the present disclosure further provides an electronic device, including a bus 701 , a transceiver 702 , an antenna 703 , a bus interface 704 , a processor 705 , and a memory 706 .

[0242] The transceiver 702 is configured to send a first message to the first device;

[0243] receiving a second message sent by the first device, where the second message includes the first information;

[0244] Sending a third message to the second terminal, where the third message includes the first information;

[0245] The first information is related to the identification information of the electronic device.

[0246] Optionally, the first information is obtained by the first device encrypting and / or integrity protecting the identification information of the first terminal based on the second shared key or its derivative key; wherein the second shared key is a shared key between the first device and the second terminal.

[0247] Optionally, the second message further includes third information and / or fourth information:

[0248] The third information is: information obtained by encrypting and / or integrity protecting the third shared key based on the first shared key or a derived key thereof;

[0249] The fourth information is: information obtained by encrypting and / or integrity protecting the third shared key based on the second shared key or a derived key thereof;

[0250] The first shared key is a shared key between the first device and the first terminal, the second shared key is a shared key between the first device and the second terminal, and the third shared key is a shared key allocated by the first device and used between the first terminal and the second terminal.

[0251] Optionally, the third message also includes fourth information.

[0252] Optionally, the third message also includes fifth information, and the fifth information is used for verification between the first terminal and the second terminal.

[0253] Optionally, the third message also includes: information obtained by encrypting and / or integrity protecting the fifth information based on the third shared key or its derivative key, and the fifth information is used for verification between the first terminal and the second terminal.

[0254] Optionally, the transceiver is further used for:

[0255] A fourth message sent by the second terminal is received, and the second terminal is verified according to sixth information in the fourth message.

[0256] In Figure 7, a bus architecture (represented by bus 701) is shown. Bus 701 may include any number of interconnected buses and bridges. Bus 701 links various circuits together, including one or more processors represented by processor 705 and memory represented by memory 706. Bus 701 may also link various other circuits together, such as peripheral devices, voltage regulators, and power management circuits, all of which are well known in the art and, therefore, will not be described further herein. Bus interface 704 provides an interface between bus 701 and transceiver 702. Transceiver 702 may be a single component or multiple components, such as multiple receivers and transmitters, providing a unit for communicating with various other devices over a transmission medium. Data processed by processor 705 is transmitted over a wireless medium via antenna 703. Antenna 703 also receives data and transmits it to processor 705.

[0257] The processor 705 is responsible for managing the bus 701 and general processing, and may also provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. The memory 706 may be used to store data used by the processor 705 when performing operations.

[0258] Optionally, the processor 705 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or a complex programmable logic device (CPLD).

[0259] It should be noted that the electronic device provided in the embodiment of the present disclosure is a device capable of executing the above-mentioned communication method, so all implementation methods in the above-mentioned communication method embodiment are applicable to the electronic device and can achieve the same or similar beneficial effects.

[0260] 8 , which is a schematic structural diagram of a second terminal provided in an embodiment of the present disclosure. As shown in FIG8 , the second terminal 800 includes:

[0261] A second receiving module 801 is configured to receive a third message sent by the first terminal, where the third message includes the first information;

[0262] The first terminal obtains the first information by receiving a second message sent by the first device, where the second message includes the first information; and the first information is related to the identification information of the first terminal.

[0263] Optionally, the first information is obtained by the first device encrypting and / or integrity protecting the identification information of the first terminal based on the second shared key or its derivative key; wherein the second shared key is a shared key between the first device and the second terminal.

[0264] Optionally, the second message further includes third information and / or fourth information:

[0265] The third information is: information obtained by encrypting and / or integrity protecting the third shared key based on the first shared key or a derived key thereof;

[0266] The fourth information is: information obtained by encrypting and / or integrity protecting the third shared key based on the second shared key or a derived key thereof;

[0267] The first shared key is a shared key between the first device and the first terminal, the second shared key is a shared key between the first device and the second terminal, and the third shared key is a shared key allocated by the first device and used between the first terminal and the second terminal.

[0268] Optionally, the third message also includes fourth information.

[0269] Optionally, the third message also includes fifth information, and the fifth information is used for verification between the first terminal and the second terminal.

[0270] Optionally, the third message also includes: information obtained by encrypting and / or integrity protecting the fifth information based on the third shared key or its derivative key, and the fifth information is used for verification between the first terminal and the second terminal.

[0271] Optionally, the second terminal further includes:

[0272] The fourth sending module is used to send a fourth message to the first terminal, where the fourth message includes sixth information; the sixth information is used for verification between the first terminal and the second terminal.

[0273] It should be noted that the second terminal provided in the embodiment of the present disclosure is a device capable of executing the above-mentioned communication method, so all implementation methods in the above-mentioned communication method embodiment are applicable to the second terminal and can achieve the same or similar beneficial effects.

[0274] Specifically, as shown in FIG9 , an embodiment of the present disclosure further provides an electronic device, including a bus 901 , a transceiver 902 , an antenna 903 , a bus interface 904 , a processor 905 and a memory 906 .

[0275] The transceiver 902 is configured to receive a third message sent by the first terminal, where the third message includes the first information;

[0276] The first terminal obtains the first information by receiving a second message sent by the first device, where the second message includes the first information; and the first information is related to the identification information of the first terminal.

[0277] Optionally, the first information is obtained by the first device encrypting and / or integrity protecting the identification information of the first terminal based on the second shared key or its derivative key; wherein the second shared key is a shared key between the first device and the second terminal.

[0278] Optionally, the second message further includes third information and / or fourth information:

[0279] The third information is: information obtained by encrypting and / or integrity protecting the third shared key based on the first shared key or a derived key thereof;

[0280] The fourth information is: information obtained by encrypting and / or integrity protecting the third shared key based on the second shared key or a derived key thereof;

[0281] The first shared key is a shared key between the first device and the first terminal, the second shared key is a shared key between the first device and the second terminal, and the third shared key is a shared key allocated by the first device and used between the first terminal and the second terminal.

[0282] Optionally, the third message also includes fourth information.

[0283] Optionally, the third message also includes fifth information, and the fifth information is used for verification between the first terminal and the second terminal.

[0284] Optionally, the third message also includes: information obtained by encrypting and / or integrity protecting the fifth information based on the third shared key or its derivative key, and the fifth information is used for verification between the first terminal and the second terminal.

[0285] Optionally, the transceiver is further used to send a fourth message to the first terminal, where the fourth message includes sixth information; and the sixth information is used for verification between the first terminal and the second terminal.

[0286] In Figure 9, a bus architecture (represented by bus 901) is shown. Bus 901 may include any number of interconnected buses and bridges. Bus 901 links various circuits together, including one or more processors represented by processor 905 and memory represented by memory 906. Bus 901 may also link various other circuits together, such as peripheral devices, voltage regulators, and power management circuits, all of which are well known in the art and, therefore, will not be described further herein. Bus interface 904 provides an interface between bus 901 and transceiver 902. Transceiver 902 may be a single component or multiple components, such as multiple receivers and transmitters, providing a unit for communicating with various other devices over a transmission medium. Data processed by processor 905 is transmitted over a wireless medium via antenna 903. Antenna 903 also receives data and transmits it to processor 905.

[0287] The processor 905 is responsible for managing the bus 901 and general processing, and may also provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. The memory 906 may be used to store data used by the processor 905 when performing operations.

[0288] Optionally, the processor 905 may be a CPU, an ASIC, an FPGA, or a CPLD.

[0289] It should be noted that the electronic device provided in the embodiment of the present disclosure is a device capable of executing the above-mentioned communication method, so all implementation methods in the above-mentioned communication method embodiment are applicable to the electronic device and can achieve the same or similar beneficial effects.

[0290] Referring to FIG. 10 , FIG. 10 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. As shown in FIG. 10 , the electronic device 1000 includes:

[0291] The third receiving module 1001 is configured to receive a first message sent by a first terminal;

[0292] A third sending module 1002 is configured to send a second message to the first terminal based on the first message, where the second message includes the first information;

[0293] The first information is related to the identification information of the first terminal.

[0294] Optionally, the first information is obtained by the first device encrypting and / or integrity protecting the identification information of the first terminal based on the second shared key or its derivative key; wherein the second shared key is a shared key between the first device and the second terminal.

[0295] Optionally, at least part of the first message is encrypted and / or integrity protected by a first shared key; the first shared key is a shared key between the first device and the first terminal.

[0296] It should be noted that the electronic device provided in the embodiment of the present disclosure is a device capable of executing the above-mentioned communication method, so all implementation methods in the above-mentioned communication method embodiment are applicable to the electronic device and can achieve the same or similar beneficial effects.

[0297] Specifically, as shown in FIG11 , an embodiment of the present disclosure further provides an electronic device, including a bus 1101 , a transceiver 1102 , an antenna 1103 , a bus interface 1104 , a processor 1105 and a memory 1106 .

[0298] The transceiver 1102 is configured to receive a first message sent by a first terminal;

[0299] Sending a second message to the first terminal based on the first message, where the second message includes the first information;

[0300] The first information is related to the identification information of the first terminal.

[0301] Optionally, the first information is obtained by the first device encrypting and / or integrity protecting the identification information of the first terminal based on the second shared key or its derivative key; wherein the second shared key is a shared key between the first device and the second terminal.

[0302] Optionally, at least part of the first message is encrypted and / or integrity protected by a first shared key; the first shared key is a shared key between the first device and the first terminal.

[0303] In Figure 11, a bus architecture (represented by bus 1101) is shown. Bus 1101 may include any number of interconnected buses and bridges. Bus 1101 links various circuits together, including one or more processors represented by processor 1105 and memory represented by memory 1106. Bus 1101 may also link various other circuits together, such as peripheral devices, voltage regulators, and power management circuits, all of which are well known in the art and, therefore, will not be described further herein. Bus interface 1104 provides an interface between bus 1101 and transceiver 1102. Transceiver 1102 may be a single component or multiple components, such as multiple receivers and transmitters, providing a unit for communicating with various other devices over a transmission medium. Data processed by processor 1105 is transmitted over a wireless medium via antenna 1103. Antenna 1103 also receives data and transmits it to processor 1105.

[0304] The processor 1105 is responsible for managing the bus 1101 and general processing, and may also provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. The memory 1106 may be used to store data used by the processor 1105 when performing operations.

[0305] Optionally, the processor 1105 may be a CPU, an ASIC, an FPGA, or a CPLD.

[0306] It should be noted that the electronic device provided in the embodiment of the present disclosure is a device capable of executing the above-mentioned communication method, so all implementation methods in the above-mentioned communication method embodiment are applicable to the electronic device and can achieve the same or similar beneficial effects.

[0307] An embodiment of the present disclosure also provides an electronic device, comprising: a processor, a memory, and a program stored in the memory and executable on the processor. When the program is executed by the processor, the various processes of the above-mentioned communication method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0308] The present disclosure also provides a computer-readable storage medium having a computer program stored thereon. When executed by a processor, the computer program implements the various processes of the above-described communication method embodiment and achieves the same technical effects. To avoid repetition, the details are not described here. The computer-readable storage medium may be, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0309] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.

[0310] Through the description of the above embodiments, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better embodiment. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present disclosure.

[0311] The embodiments of the present disclosure are described above in conjunction with the accompanying drawings, but the present disclosure is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present disclosure, ordinary technicians in this field can also make many forms without departing from the scope of protection of the purpose of the present disclosure and the claims, all of which are protected by the present disclosure.

Claims

1. A communication method, applied to a first terminal, the method comprising: Sending a first message to a first device; receiving a second message sent by the first device, where the second message includes first information; Sending a third message to the second terminal, where the third message includes the first information; The first information is related to the identification information of the first terminal.

2. The method according to claim 1, wherein: The first information is obtained by the first device encrypting and / or integrity protecting the identification information of the first terminal based on the second shared key or its derivative key; wherein the second shared key is a shared key between the first device and the second terminal.

3. The method according to claim 1 or 2, wherein: The second message also includes third information and / or fourth information: The third information is: information obtained by encrypting and / or integrity protecting the third shared key based on the first shared key or its derivative key; The fourth information is: information obtained by encrypting and / or integrity protecting the third shared key based on the second shared key or a derived key thereof; The first shared key is a shared key between the first device and the first terminal, the second shared key is a shared key between the first device and the second terminal, and the third shared key is a shared key allocated by the first device and used between the first terminal and the second terminal.

4. The method according to claim 3, wherein: The third message also includes the fourth information.

5. The method according to any one of claims 1 to 4, wherein: The third message also includes fifth information, and the fifth information is used for verification between the first terminal and the second terminal.

6. The method according to any one of claims 1 to 4, wherein: The third message also includes: information obtained by encrypting and / or integrity protecting the fifth information based on the third shared key or its derivative key, and the fifth information is used for verification between the first terminal and the second terminal; the third shared key is a shared key allocated by the first device and used between the first terminal and the second terminal.

7. The method according to claim 5 or 6, further comprising: receiving a fourth message sent by the second terminal, and sending a fourth message to the second terminal according to the sixth information in the fourth message to verify.

8. A communication method, applied to a second terminal, the method comprising: receiving a third message sent by the first terminal, wherein the third message includes the first information; The first terminal obtains the first information by receiving a second message sent by a first device, where the second message includes the first information; and the first information is related to the identification information of the first terminal.

9. The method according to claim 8, wherein: The first information is obtained by the first device encrypting and / or integrity protecting the identification information of the first terminal based on the second shared key or its derivative key; wherein the second shared key is a shared key between the first device and the second terminal.

10. The method according to claim 8 or 9, wherein: The second message also includes third information and / or fourth information: The third information is: information obtained by encrypting and / or integrity protecting the third shared key based on the first shared key or its derivative key; The fourth information is: information obtained by encrypting and / or integrity protecting the third shared key based on the second shared key or a derived key thereof; The first shared key is a shared key between the first device and the first terminal, the second shared key is a shared key between the first device and the second terminal, and the third shared key is a shared key allocated by the first device and used between the first terminal and the second terminal.

11. The method according to claim 10, wherein: The third message also includes the fourth information.

12. The method according to claim 10, wherein: The third message also includes fifth information, and the fifth information is used for verification between the first terminal and the second terminal.

13. The method according to claim 10, wherein: The third message also includes: information obtained by encrypting and / or integrity protecting fifth information based on the third shared key or a derived key thereof, and the fifth information is used for verification between the first terminal and the second terminal.

14. The method according to claim 12 or 13, further comprising: A fourth message is sent to the first terminal, where the fourth message includes sixth information; and the sixth information is used for verification between the first terminal and the second terminal.

15. A communication method, applied to a first device, the method comprising: receiving a first message sent by a first terminal; Sending a second message to the first terminal based on the first message, where the second message includes the first information; The first information is related to the identification information of the first terminal.

16. The method according to claim 15, wherein: The first information is obtained by the first device encrypting and / or integrity protecting the identification information of the first terminal based on the second shared key or its derivative key; wherein the second shared key is a shared key between the first device and the second terminal.

17. The method according to claim 15 or 16, wherein: At least part of the first message is encrypted and / or integrity protected by a first shared key; the first shared key is a shared key between the first device and the first terminal.

18. A first terminal, comprising: A first sending module, configured to send a first message to a first device; A first receiving module, configured to receive a second message sent by the first device, where the second message includes first information; A second sending module, configured to send a third message to the second terminal, wherein the third message includes the first information; The first information is related to the identification information of the first terminal.

19. An electronic device comprising a transceiver, The transceiver is used to send a first message to the first device; receiving a second message sent by the first device, where the second message includes first information; Sending a third message to the second terminal, where the third message includes the first information; in, The first information is related to identification information of the electronic device.

20. A second terminal, comprising: A second receiving module, configured to receive a third message sent by the first terminal, wherein the third message includes the first information; The first terminal obtains the first information by receiving a second message sent by a first device, where the second message includes the first information; and the first information is related to the identification information of the first terminal.

21. An electronic device comprising a transceiver, The transceiver is used to receive a third message sent by the first terminal, wherein the third message includes the first information; in, The first terminal obtains the first information by receiving a second message sent by a first device, where the second message includes the first information; and the first information is related to identification information of the first terminal.

22. An electronic device, applied to a first device, comprising: A third receiving module, configured to receive a first message sent by a first terminal; A third sending module, configured to send a second message to the first terminal based on the first message, where the second message includes first information; The first information is related to the identification information of the first terminal.

23. An electronic device comprising a transceiver, The transceiver is used to receive a first message sent by a first terminal; Sending a second message to the first terminal based on the first message, where the second message includes the first information; in, The first information is related to identification information of the first terminal.

24. An electronic device comprising: A processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the steps of the communication method according to any one of claims 1 to 17 are implemented.

25. A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the communication method according to any one of claims 1 to 17.

Citation Information

Patent Citations

  • Number authentication method and device

    CN107105430A

  • Voice communication method and device based on quantum key encryption and decryption, equipment and storage

    CN114866234A

  • Systems and methods for caller verification

    US20210092227A1

  • Systems and methods for caller ID authentication, spoof detection and list based call handling

    US9060057B1

  • Quantum key distribution and negotiation method for internet-of-things wireless terminal

    WO2022213564A1

Cited By

  • Mail transmission method based on quantum local area network

    CN120582913A