Establishment method, communication method, first intercom terminal, server and intercom group

Obtaining and managing key information through the server solves the problem that intercom terminals of different cryptosystems cannot encrypt communication across systems, realizes safe and convenient intercom communication, and uses quantum key distribution technology to ensure the security of the key.

CN118660273BActive Publication Date: 2024-10-18中电信量子信息科技集团有限公司
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411122313.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-15
Publication Date
2024-10-18
Estimated Expiration
2044-08-15

AI Technical Summary

Technical Problem

Public network intercom terminals with different password systems cannot perform cross-system encrypted communication, resulting in inconvenient communication and security risks.

Method used

The management key information is obtained through the server, used to establish communication connections between intercom terminals of different cryptosystems, and quantum key distribution technology is used to ensure the security of the keys.

Benefits of technology

It realizes secure communication connections between intercom terminals with different cryptography systems, enhances the convenience and security of communication, and ensures the confidentiality of management keys during the transfer process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118660273B_ABST
    Figure CN118660273B_ABST
Patent Text Reader

Abstract

The present application discloses a method for establishing a cross-cryptosystem intercom group, a communication method, a first intercom terminal, a server, a cross-cryptosystem intercom group and a storage medium. The establishment method includes: selecting a second intercom terminal to join the intercom group, the first intercom terminal communicates based on the first cryptographic system, and the second intercom terminal communicates based on the second cryptographic system. Obtaining the second intercom terminal association information of the second intercom terminal from the server. Obtaining management key information from the server according to the second intercom terminal association information. Sending a first session message to the server, the first session message is generated according to the management key information, and the server performs an intercom group establishment verification according to the first session message and the second identity information of the second intercom terminal, so as to establish the intercom group if the verification passes. In this way, the first intercom terminal and the second intercom terminal based on different cryptographic systems establish an intercom group by transmitting the management key information between the server and the first intercom terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless communications, and more specifically, to a method for establishing a cross-cryptographic system intercom group, a communication method of the intercom group, a first intercom terminal, a server, a cross-cryptographic system intercom group, and a computer-readable storage medium. Background Art

[0002] Public network intercom terminals that use wireless communication technology and public networks for communication are not limited by distance and can achieve instant voice calls. However, since public network intercom terminals use public networks for communication, there are certain security risks. In related technologies, the security of public network intercom terminals during communication is enhanced by building a privatized system. However, public network intercom terminals under different systems cannot perform cross-system encrypted communication, and communication is not convenient enough. Summary of the invention

[0003] The present application provides a method for establishing a cross-cryptosystem intercom group, a communication method for an intercom group, a first intercom terminal, a server, a cross-cryptosystem intercom group and a computer-readable storage medium.

[0004] The embodiment of the present application provides a method for establishing a cross-crypto system intercom group, the intercom group includes a first intercom terminal and a server, the method is used for the first intercom terminal, and the method includes:

[0005] Selecting a second intercom terminal to join the intercom group, the first intercom terminal communicating based on a first password system, and the second intercom terminal communicating based on a second password system;

[0006] Acquire second intercom terminal associated information of the second intercom terminal from the server;

[0007] Acquire management key information from the server according to the second intercom terminal association information;

[0008] A first session message is sent to the server, where the first session message is generated according to the management key information. The server performs an intercom group establishment verification according to the first session message and the second identity information of the second intercom terminal, so as to establish the intercom group if the verification passes.

[0009] In this way, during the communication connection between the first intercom terminal and the second intercom terminal based on different cryptographic systems, the first intercom terminal obtains the management key information from the server. Then, the first intercom terminal obtains the first session message according to the management key information and sends the first session message to the server. Next, the server confirms that the first intercom terminal and the second intercom terminal can establish an intercom group and communicate based on the first session message and the second identity information of the second intercom terminal. In this way, by transmitting the acquired management key information between the server and the first intercom terminal, the relevant information in the management key information can enable the second intercom terminal to decrypt the data sent by the first intercom terminal, so that the first intercom terminal and the second intercom terminal based on different cryptographic systems can establish an intercom group that can communicate. And because the management key information is generated according to the quantum key distribution technology, it has good confidentiality, ensuring the security of the management key information during the transmission process between the server and the first intercom terminal.

[0010] In some implementations, the selecting a second intercom terminal to join the intercom group includes:

[0011] Sending a group establishment application to the server according to the first identity information of the first intercom terminal;

[0012] When the group establishment application is approved, receiving a group identifier sent by the server;

[0013] The second intercom terminal is selected to join the intercom group.

[0014] In this way, the first intercom terminal sends a group establishment application to the server according to the first identity information of the first intercom terminal. Then, if the group establishment application is approved, the first intercom terminal receives the group identifier sent by the server. Finally, the first intercom terminal selects the second intercom terminal to join the intercom group. In this way, the first intercom terminal preliminarily establishes an intercom group without communication connection capability by sending a group establishment application, that is, the second intercom terminal in the intercom group can only receive messages sent by the first intercom terminal, and does not have the decryption authority for the messages sent by the first intercom terminal, and obtains the group identifier of the intercom group for subsequent processes.

[0015] In some implementations, the acquiring the second intercom terminal association information of the second intercom terminal from the server includes:

[0016] Sending a query request for the associated information of the second intercom terminal to the server;

[0017] The second intercom terminal association information sent by the server according to the query application is received, where the second intercom terminal association information includes a correspondence between a second cryptographic system identifier of the second cryptographic system and a second quantum network node connected to the second cryptographic system.

[0018] In this way, the first intercom terminal sends a query application for the second intercom terminal association information to the server. Then, the first intercom terminal receives the second intercom terminal association information sent by the server according to the query application, and the second intercom terminal association information includes the correspondence between the second cryptographic system identifier of the second cryptographic system and the second quantum network node connected to the second cryptographic system. In this way, the first intercom terminal obtains the correspondence between the second cryptographic system identifier of the second cryptographic system and the second quantum network node connected to the second cryptographic system, and this information can be used to subsequently apply to the server for management key information.

[0019] In some implementations, the acquiring management key information from the server according to the second intercom terminal association information includes:

[0020] Sending a first management key application to the server according to the first identity information, the first terminal identifier of the first intercom terminal, the second terminal identifier of the second intercom terminal, the group identifier, the first cryptographic system identifier of the first cryptographic system, and the second intercom terminal association information;

[0021] Receive a management key identifier and a first encrypted message distributed by the server according to the first management key application, wherein the management key identifier is obtained by the server identifying the first management key according to the first cryptographic system identifier, the first management key is obtained by the server from a quantum network connected to the server according to the first management key application, and the first encrypted message is obtained by the server encrypting the first terminal identifier, the second terminal identifier, the group identifier and the management key identifier according to the first management key.

[0022] In this way, the first intercom terminal sends a first management key application to the server according to the first identity information, the first terminal identifier of the first intercom terminal, the second terminal identifier of the second intercom terminal, the group identifier, the first cryptographic system identifier of the first cryptographic system, and the second intercom terminal association information. Then, the first intercom terminal receives the management key identifier and the first encrypted message distributed by the server according to the first management key application. Among them, the management key identifier is obtained by the server through identification processing of the first management key according to the first cryptographic system identifier, and the first management key is obtained by the server from the quantum network connected to the server according to the first management key application. The first encrypted message is obtained by the server through encryption processing of the first terminal identifier, the second terminal identifier, the group identifier, and the management key identifier according to the first management key. In this way, the first intercom terminal applies to the server for the management key identifier and the first encrypted message through the relevant information of the first intercom terminal and the relevant information of the second intercom terminal. The management key identifier can better manage and use the management key, and the first encrypted message can be used for subsequent intercom group establishment verification.

[0023] In some implementations, sending the first session message to the server includes:

[0024] generating the first session message according to the first terminal identifier, the second terminal identifier, the group identifier, the management key identifier, and the first encrypted message;

[0025] The first session message is sent to the server.

[0026] In this way, the first intercom terminal generates the first session message according to the first terminal identifier, the second terminal identifier, the group identifier, the management key identifier and the first encrypted message. Then, the first intercom terminal sends the first session message to the server. In this way, the first intercom terminal sends the management key identifier, the first encrypted message and the relevant information of the intercom group to the server, and the server can confirm the establishment of the intercom group according to this information.

[0027] The embodiment of the present application provides a method for establishing a cross-password system intercom group, the intercom group includes a first intercom terminal and a server, the method is used for the server, and the method includes:

[0028] In response to selecting a second intercom terminal to join the intercom group through the first intercom terminal, sending second intercom terminal association information of the second intercom terminal to the first intercom terminal;

[0029] Generate management key information according to the second intercom terminal association information, and send the management key information to the first intercom terminal;

[0030] receiving a first session message sent by the first intercom terminal, where the first session message is generated by the first intercom terminal according to the management key information;

[0031] An intercom group establishment verification is performed according to the first conversation message and the second identity information of the second intercom terminal, so as to establish the intercom group if the verification passes.

[0032] In this way, during the communication connection between the first intercom terminal and the second intercom terminal based on different cryptographic systems, by transmitting the acquired management key information between the server and the first intercom terminal, the relevant information in the management key information can enable the second intercom terminal to decrypt the data sent by the first intercom terminal, so that the first intercom terminal and the second intercom terminal based on different cryptographic systems can establish an intercom group that can communicate. And because the management key information is generated according to the quantum key distribution technology, it has good confidentiality, ensuring the security of the management key information during the transmission process between the server and the first intercom terminal.

[0033] In certain embodiments, the method further comprises:

[0034] receiving a group establishment application sent by the first intercom terminal according to the first identity information of the first intercom terminal;

[0035] A group is established according to the group establishment application, and a group identifier is sent to the first intercom terminal.

[0036] In this way, the server receives the group establishment application sent by the first intercom terminal according to the first identity information of the first intercom terminal. Then, the server establishes a group according to the group establishment application and sends a group identifier to the first intercom terminal. In this way, an intercom group without a communication connection is initially established by receiving the group establishment application sent by the first intercom terminal, and the group identifier of the intercom group is obtained for subsequent completion of the intercom group establishment verification.

[0037] In some implementations, the sending the second intercom terminal association information of the second intercom terminal to the first intercom terminal includes:

[0038] receiving a query request for associated information of the second intercom terminal sent by the first intercom terminal;

[0039] The second intercom terminal association information is sent to the first intercom terminal according to the query application, where the second intercom terminal association information includes a correspondence between a second cryptographic system identifier of a second cryptographic system and a second quantum network node connected to the second cryptographic system.

[0040] In this way, the server receives a query application for the second intercom terminal association information sent by the first intercom terminal. Then, the server sends the second intercom terminal association information to the first intercom terminal according to the query application, and the second intercom terminal association information includes the correspondence between the second cryptographic system identifier of the second cryptographic system and the second quantum network node connected to the second cryptographic system. In this way, the server obtains the correspondence between the second cryptographic system identifier of the second cryptographic system and the second quantum network node connected to the second cryptographic system, and sends this information to the first intercom terminal, which uses this information to complete the subsequent process.

[0041] In some implementations, generating management key information according to the second intercom terminal association information and sending the management key information to the first intercom terminal includes:

[0042] Receiving a first management key application sent by the first intercom terminal according to the first identity information, the first terminal identifier of the first intercom terminal, the second terminal identifier of the second intercom terminal, the group identifier, the first cryptographic system identifier of the first cryptographic system, and the second intercom terminal association information;

[0043] Obtaining a first management key and a management key identifier from the quantum network accessed according to the first management key application;

[0044] Encrypting the first terminal identifier, the second terminal identifier, the group identifier, and the management key identifier according to the first management key to obtain a first encrypted message;

[0045] The management key identifier and the first encrypted message are sent to the first intercom terminal.

[0046] In this way, the server receives the first management key application sent by the first intercom terminal according to the first identity information, the first terminal identifier of the first intercom terminal, the second terminal identifier of the second intercom terminal, the group identifier, the first cryptographic system identifier of the first cryptographic system, and the second intercom terminal association information. Then, the server obtains the first management key and the management key identifier from the quantum network to which it is connected according to the first management key application. Next, the server encrypts the first terminal identifier, the second terminal identifier, the group identifier, and the management key identifier according to the first management key to obtain the first encrypted message. Finally, the server sends the management key identifier and the first encrypted message to the first intercom terminal. In this way, the server obtains the management key from the quantum network through the first management key application sent by the first intercom terminal. The management key has strong confidentiality, and the confidentiality of subsequent processes can be greatly enhanced according to the management key. In addition, the server also generates a first encrypted message, which can be used for subsequent intercom group establishment verification.

[0047] In certain embodiments, the method further comprises:

[0048] The corresponding relationship between the first encrypted message and the second intercom terminal is stored.

[0049] In this way, the server stores the correspondence between the first encrypted message and the second intercom terminal. This correspondence can be used to verify the existence of the decryption authority of the second intercom terminal when the first intercom terminal and the second intercom terminal communicate subsequently, thereby enhancing the security of communication between the first intercom terminal and the second intercom terminal.

[0050] In some implementations, performing intercom group establishment verification according to the first conversation message and the second identity information of the second intercom terminal, so as to establish the intercom group if the verification passes, includes:

[0051] Sending the first terminal identifier, the group identifier, the management key identifier and the first encrypted message to the second intercom terminal;

[0052] receiving the second identity information of the second intercom terminal, the first terminal identifier, the group identifier, the management key identifier and the first encrypted message returned by the second intercom terminal;

[0053] Obtaining a second management key from the quantum network accessed according to the management key identifier;

[0054] Encrypting the first terminal identifier, the second terminal identifier, the group identifier, and the management key identifier according to the second management key to obtain a second encrypted message;

[0055] The intercom group establishment verification is performed according to the second identity information, the first encrypted message and the second encrypted message.

[0056] In this way, the server sends the first terminal identifier, group identifier, management key identifier and the first encrypted message to the second intercom terminal. Then, the server receives the second identity information, first terminal identifier, group identifier, management key identifier and first encrypted message of the second intercom terminal returned by the second intercom terminal. Then, the server obtains the second management key from the quantum network to which it is connected according to the management key identifier. Then, the server encrypts the first terminal identifier, the second terminal identifier, the group identifier and the management key identifier according to the second management key to obtain the second encrypted message. Finally, the server performs intercom group establishment verification according to the second identity information, the first encrypted message and the second encrypted message. In this way, the server exchanges information with the second intercom terminal to obtain the second identity information, which is used to verify whether the second intercom terminal that exchanges information with the server is consistent with the second intercom terminal that joins the intercom group. When the second intercom terminal that exchanges information with the server is consistent with the second intercom terminal that joins the intercom group, a second encrypted message is generated through the information obtained by the exchange, which is used to confirm that the intercom group establishment verification has passed, and the intercom group is established.

[0057] In some implementations, performing the intercom group establishment verification according to the second identity information, the first encrypted message, and the second encrypted message includes:

[0058] In the case where the second identity information is invalid, confirming that the intercom group establishment verification fails and the intercom group establishment fails;

[0059] If the second identity information is valid and the second encrypted message is consistent with the first encrypted message, confirm that the intercom group establishment verification is passed, establish the intercom group, and send an intercom group establishment verification pass message to the second intercom terminal;

[0060] When the second identity information is valid and the second encrypted message is inconsistent with the first encrypted message, it is confirmed that the intercom group establishment verification has failed and the intercom group establishment has failed.

[0061] In this way, when the second identity information is invalid, the server confirms that the intercom group establishment verification has failed and the intercom group establishment has failed. When the second identity information is valid and the second encrypted message is consistent with the first encrypted message, the server confirms that the intercom group establishment verification has passed, establishes the intercom group, and sends an intercom group establishment verification pass message to the second intercom terminal. When the second identity information is valid and the second encrypted message is inconsistent with the first encrypted message, the server confirms that the intercom group establishment verification has failed and the intercom group establishment has failed. In this way, through multiple verifications, the server confirms that the second intercom terminal can establish an intercom group that can communicate with the first intercom terminal.

[0062] The embodiment of the present application provides a communication method for an intercom group, wherein the intercom group is established based on any one of the establishment methods described above, the intercom group includes a first intercom terminal, a second intercom terminal and a server, and the method is used for the server, and the method includes:

[0063] Receiving a working key application sent by the first intercom terminal;

[0064] Generate first key data according to the working key application, and send the first key data to the first intercom terminal;

[0065] Receiving first intercom information sent by the first intercom terminal, and synchronizing the first intercom information to the second intercom terminal, where the first intercom information is generated by the first intercom terminal according to the first key data;

[0066] Generate second key data according to the first intercom information, and send the second key data to the second intercom terminal, so that the second intercom terminal can decrypt the first intercom information according to the second key data to complete the communication.

[0067] In this way, when the first intercom terminal and the second intercom terminal based on different cryptographic systems have established an intercom group, the server obtains the first key data including the working key according to the working key application sent by the first intercom terminal, and the first key data has good confidentiality. When the working key encrypts the intercom data, the intercom data is synchronized to the second intercom terminal. The server obtains the working key according to the first key data and sends it to the second intercom terminal, and the second intercom terminal decrypts the encrypted intercom data according to the working key to obtain the intercom data. In this way, between the first intercom terminal and the second intercom terminal based on different cryptographic systems, the server generates, distributes and manages the working key to encrypt and decrypt the intercom data, completes the working key negotiation between the first intercom terminal and the second intercom terminal, and realizes the secure intercom communication between the first intercom terminal and the second intercom terminal across the cryptographic system. The transmission process of the working key between different intercom terminals in the intercom group is protected by quantum key distribution technology to ensure that the working key will not be accessed by unauthorized persons, and enhance the security of the working key during the transmission process.

[0068] In some embodiments, the working key application includes a group identifier, first identity information of the first intercom terminal, a first encrypted message, a first cryptographic system identifier of the first cryptographic system, and a second cryptographic system identifier of the second cryptographic system, and generating first key data according to the working key application and sending the first key data to the first intercom terminal includes:

[0069] Randomly generate a working key according to the working key application sent by the first intercom terminal;

[0070] Encrypting the working key according to the first pre-filled key pre-filled in the first intercom terminal to obtain a first working ciphertext in the first key data;

[0071] Applying for a first encryption key from the quantum network to which the access is based on the working key application, and performing identification processing on the first encryption key to obtain an encryption key identifier in the first key data;

[0072] Encrypting the working key according to the first encryption key to obtain the quantum working ciphertext in the first key data;

[0073] The first working ciphertext, the encryption key identifier and the quantum working ciphertext are sent to the first intercom terminal.

[0074] In this way, the server randomly generates a working key according to the working key application sent by the first intercom terminal. The server then encrypts the working key according to the first pre-filled key pre-filled in the first intercom terminal to obtain the first working ciphertext in the first key data. Next, the server applies for the first encryption key from the quantum network to which it is connected according to the working key application, and identifies the first encryption key to obtain the encryption key identifier in the first key data. Finally, the server encrypts the working key according to the first encryption key to obtain the quantum working ciphertext in the first key data. The first working ciphertext, the encryption key identifier and the quantum working ciphertext are sent to the first intercom terminal. In this way, the server generates a working key and a first encryption key according to the working key application sent by the first intercom terminal. When the working key is encrypted and protected by the first encryption key, the working key is sent to the first intercom terminal. Using the first encryption key to protect the working key enhances the confidentiality of the working key during transmission. The first intercom terminal can use the working key to encrypt and protect the intercom data.

[0075] In some embodiments, the receiving the first intercom information sent by the first intercom terminal and synchronizing the first intercom information to the second intercom terminal includes:

[0076] Receive first intercom information sent by the first intercom terminal, the first intercom information including the quantum working ciphertext, the encryption key identifier, the group identifier, the first terminal identifier, the second terminal identifier, the first cryptographic system identifier and the first encrypted intercom data, the first encrypted intercom data is obtained by the first intercom terminal encrypting the first intercom data according to the working key, and the working key is obtained by the first intercom terminal decrypting the first working ciphertext according to the first pre-filled key;

[0077] According to the second terminal identifier, when it is determined that the corresponding relationship between the first encrypted message and the second intercom terminal is stored in the server, the first intercom information is synchronized to the second intercom terminal.

[0078] In this way, the server receives the first intercom information sent by the first intercom terminal, the first intercom information includes the quantum working ciphertext, the encryption key identifier, the group identifier, the first terminal identifier, the second terminal identifier, the first cryptographic system identifier and the first encrypted intercom data, the first encrypted intercom data is obtained by the first intercom terminal encrypting the first intercom data according to the working key, and the working key is obtained by the first intercom terminal decrypting the first working ciphertext according to the first pre-filled key. Then, based on the second terminal identifier, the server synchronizes the first intercom information to the second intercom terminal when it is determined that the server stores the corresponding relationship between the first encrypted message and the second intercom terminal. In this way, the server confirms whether the second intercom terminal has joined the intercom group based on the first intercom information sent by the first intercom terminal. When the second intercom terminal has joined the intercom group, the intercom data is sent to the second intercom terminal.

[0079] In some implementations, generating second key data according to the first intercom information and sending the second key data to the second intercom terminal includes:

[0080] Receiving the first encrypted message, the second identity information of the second intercom terminal, the group identifier, the first terminal identifier, the first cryptographic system identifier, the quantum working ciphertext, and the encryption key identifier returned by the second intercom terminal;

[0081] Decryption authority verification is performed based on the second identity information, the first encrypted message, and the second encrypted message.

[0082] In this way, the server receives the first encrypted message, the second identity information of the second intercom terminal, the group identifier, the first terminal identifier, the first cryptographic system identifier, the quantum working ciphertext and the encryption key identifier returned by the second intercom terminal. The server then verifies the decryption authority based on the second identity information, the first encrypted message and the second encrypted message. In this way, the server confirms whether the second intercom terminal has the decryption authority for the first intercom information based on the information returned by the second intercom terminal.

[0083] In some implementations, the performing decryption authority verification according to the second identity information, the first encrypted message, and the second encrypted message includes:

[0084] In the case where the second identity information is invalid, confirming that the decryption authority verification fails and the communication fails;

[0085] If the second identity information is valid and the second encrypted message is inconsistent with the first encrypted message, confirming that the decryption authority verification has failed and the communication has failed;

[0086] When the second identity information is valid and the second encrypted message is consistent with the first encrypted message, it is confirmed that the decryption authority verification is passed, and the second intercom terminal can decrypt the first encrypted intercom data.

[0087] In this way, when the second identity information is invalid, the server confirms that the decryption authority verification has failed and the communication has failed. When the second identity information is valid and the second encrypted message is inconsistent with the first encrypted message, the server confirms that the decryption authority verification has failed and the communication has failed. When the second identity information is valid and the second encrypted message is consistent with the first encrypted message, the server confirms that the decryption authority verification has passed and the second intercom terminal can decrypt the first encrypted intercom data. In this way, the server confirms whether the second intercom terminal can decrypt the first encrypted intercom data through multiple layers of verification.

[0088] In some implementations, the confirming that the decryption authority verification is passed includes:

[0089] Apply to the connected quantum network for obtaining a second encryption key according to the encryption key identifier;

[0090] Decrypting the quantum working ciphertext according to the second encryption key to obtain the working key;

[0091] The working key is encrypted by the second pre-injected key pre-injected in the second intercom terminal to obtain the second working ciphertext in the second key data, and the second working ciphertext is sent to the second intercom terminal, so that the second intercom terminal can decrypt the first encrypted intercom data according to the second working ciphertext to obtain the first intercom data, thereby completing the communication.

[0092] In this way, the server applies to the quantum network to obtain the second encryption key according to the encryption key identifier. Then, the server decrypts the quantum working ciphertext according to the second encryption key to obtain the working key. Then, the server encrypts the working key with the second pre-filled key pre-filled in the second intercom terminal to obtain the second working ciphertext in the second key data, and sends the second working ciphertext to the second intercom terminal, so that the second intercom terminal can decrypt the first encrypted intercom data according to the second working ciphertext to obtain the first intercom data and complete the communication. In this way, the server obtains the working key, and sends the working key to the second intercom terminal under the protection of the second filling key, so that the second intercom terminal can decrypt the first encrypted intercom data according to the second working ciphertext to obtain the first intercom data and complete the communication.

[0093] The embodiment of the present application provides that the first intercom terminal includes one or more processors and a memory, the memory stores a computer program, and when the computer program is executed by the processor, the above-mentioned establishment method is implemented.

[0094] An embodiment of the present application provides a server, which includes one or more processors and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the above-mentioned establishment method and communication method are implemented.

[0095] An embodiment of the present application provides a cross-password system intercom group, which includes the above-mentioned first intercom terminal, the above-mentioned server, and a second intercom terminal.

[0096] An embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium memory stores a computer program, and when the computer program is executed by one or more processors, the above method is implemented.

[0097] Additional aspects and advantages of the embodiments of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the embodiments of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0098] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0099] Figure 1 It is one of the flow charts of the establishment method of the implementation mode of the present application;

[0100] Figure 2 It is a schematic diagram of a scenario of an implementation method of the present application;

[0101] Figure 3 This is the second flow chart of the establishment method of the implementation method of the present application;

[0102] Figure 4 This is the third flow chart of the establishment method of the implementation method of the present application;

[0103] Figure 5 This is the fourth flow chart of the establishment method of the implementation method of the present application;

[0104] Figure 6 This is the fifth flow chart of the establishment method of the implementation method of the present application;

[0105] Figure 7 This is the sixth flow chart of the establishment method of the implementation method of the present application;

[0106] Figure 8 This is the seventh flow chart of the establishment method of the implementation method of the present application;

[0107] Fig. 9 This is the eighth flow chart of the establishment method of the implementation method of the present application;

[0108] Fig.10 This is the ninth flow chart of the establishment method of the implementation method of the present application;

[0109] Fig.11 This is the tenth flowchart of the establishment method of the implementation method of the present application;

[0110] Fig.12 This is the eleventh flowchart of the establishment method of the implementation method of the present application;

[0111] Fig.13 This is the twelfth flow chart of the establishment method of the implementation mode of the present application;

[0112] Fig.14 It is one of the flow charts of the communication method of the implementation mode of the present application;

[0113] Fig.15 This is the second flow chart of the communication method according to the implementation mode of the present application;

[0114] Fig.16 This is the third flow chart of the communication method according to the implementation mode of the present application;

[0115] Fig.17 This is a fourth flow chart of the communication method according to the embodiment of the present application;

[0116] Fig.18 This is the fifth flow chart of the communication method according to the implementation mode of the present application;

[0117] Fig.19 This is the sixth flow chart of the communication method according to the embodiment of the present application;

[0118] Fig. 20 is a signaling diagram of an example of a method for establishing an embodiment of the present application;

[0119] Fig.21 It is a signaling diagram of an example of a communication method according to an embodiment of the present application. DETAILED DESCRIPTION

[0120] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of the present application, and cannot be understood as limiting the embodiments of the present application.

[0121] Public network intercom terminals that use wireless communication technology and public networks for communication are not limited by distance and can achieve instant voice calls. Depending on the different operator signals used, public network intercom terminals have different names. For example, intercom terminals using 4G or 5G networks are called 4G / 5G intercom terminals. The intercom terminals used by users are connected to the operator's network through 4G or 5G networks to achieve communication with other users. This communication method takes advantage of the high speed and wide coverage of mobile communication networks, which significantly improves the scope and convenience of intercom terminals.

[0122] Public network intercom terminals support the establishment of intercom groups, which can divide public network intercom terminal users into different groups, and conduct voice communications based on the same password service system or different password service systems as needed, so that multiple users can conduct group calls. However, since public network intercom terminals use public networks for communication, there are certain privacy and security risks. Therefore, in scenarios involving the transmission of sensitive information or the need for confidentiality, special attention should be paid to the security and data protection measures of public network intercom terminals.

[0123] In the related art, a private cryptographic service system is built to enhance the security of public network intercom terminals during communication. However, public network intercom terminals under different systems cannot perform cross-system encrypted communication. For example, the public network intercom terminals used by inter-provincial seconded staff have different corresponding cryptographic service systems, and the public network intercom terminals cannot encrypt and interconnect. This results in inconvenient communication and high communication costs.

[0124] Based on the above questions, please refer to Figure 1 The embodiment of the present application provides a method for establishing a cross-password system intercom group, the intercom group includes a first intercom terminal and a server, the method is used for the first intercom terminal, and the establishment method includes the steps of:

[0125] 011: Select the second intercom terminal to join the intercom group;

[0126] 012: Obtain second intercom terminal association information of the second intercom terminal from the server;

[0127] 013: Obtain management key information from the server according to the second intercom terminal association information;

[0128] 014: Send the first session message to the server.

[0129] The embodiment of the present application also provides an intercom group establishment device. The intercom group establishment method of the embodiment of the present application can be implemented by the intercom group establishment device of the embodiment of the present application. Specifically, the intercom group establishment device includes a selection module, an acquisition module and a sending module. The selection module is used to select a second intercom terminal to join the intercom group, the first intercom terminal communicates based on the first password system, and the second intercom terminal communicates based on the second password system. The acquisition module is used to obtain the second intercom terminal association information of the second intercom terminal from the server and obtain the management key information from the server according to the second intercom terminal association information. The sending module is used to send a first session message to the server, the first session message is generated according to the management key information, and the server performs an intercom group establishment verification according to the first session message and the second identity information of the second intercom terminal, so as to establish the intercom group if the verification passes.

[0130] The embodiment of the present application also provides a first intercom terminal, including a memory and a processor. The establishment method of the embodiment of the present application can be implemented by the first intercom terminal of the embodiment of the present application. Specifically, a computer program is stored in the memory, and the processor is used to select a second intercom terminal to join the intercom group, the first intercom terminal communicates based on the first password system, and the second intercom terminal communicates based on the second password system. And obtain the second intercom terminal association information of the second intercom terminal from the server. And obtain the management key information from the server according to the second intercom terminal association information and send the first session message to the server, the first session message is generated according to the management key information, and the server is based on the first session message. The processor is also used to verify the establishment of the intercom group based on the second identity information of the second intercom terminal, so as to establish the intercom group if the verification passes.

[0131] The embodiment of the present application also provides a cross-password system intercom group, which includes the first intercom terminal and server of the above embodiment, and a second intercom terminal.

[0132] Specifically, the server may include a cryptographic system, an intercom service system, and a quantum intercom resource control center. It should be noted that the first intercom terminal and the second intercom terminal discussed in the implementation mode of the present application are based on different cryptographic service systems, the first intercom terminal is based on the first cryptographic system, and the second intercom terminal is based on the second cryptographic system. The first intercom terminal is a central intercom terminal, responsible for processing and forwarding communication requests, managing intercom group members, and performing other key communication control tasks.

[0133] The intercom service system is maintained by the quantum intercom resource control center and the quantum network. It can support the establishment of intercom communication groups between intercom terminals across domains and quantum resource pools, realize the synchronization of working keys between different cryptographic systems, and achieve secure communication between different intercom terminals.

[0134] The Quantum Intercom Resource Control Center manages and controls the national privatized cryptographic system, which is used to determine the cryptographic system corresponding to the intercom terminal and the corresponding network node relationship. The Quantum Intercom Resource Control Center can connect the quantum network and QKD key distribution equipment, manage the accessed quantum cryptographic service system and identity authentication system, and realize the synchronization of working keys between different cryptographic service systems.

[0135] The quantum network consists of quantum network nodes, quantum metropolitan area network and quantum backbone network, etc., which are used to deploy quantum key distribution (QKD) equipment to distribute symmetric keys. The first cryptographic system and the second cryptographic system are connected to different quantum network nodes respectively. The first cryptographic system is connected to the first quantum network node, and the second cryptographic system is connected to the second quantum network node.

[0136] See also Figure 2 An example of a cross-crypto system intercom group provided in an embodiment of the present application is shown in the figure, where the cryptographic system is a cryptographic service system and the intercom terminal is an intercom device.

[0137] It should be noted that the establishment method provided in the embodiment of the present application is applicable to intercom terminals based on different cryptographic systems for quantum key acquisition and quantum key transmission, and to establish an intercom group, so that the first intercom terminal and the second intercom terminal in the intercom group can call the key services of different cryptographic systems for secure and reliable encrypted communication. The intercom terminal implements operations related to the quantum network by calling the quantum security SDK downloaded and installed by the intercom terminal itself, including but not limited to applying for quantum keys, querying the association between the cryptographic system and the quantum network node, etc.

[0138] Specifically, the first intercom terminal selects the second intercom terminal to join the intercom group, the first intercom terminal communicates based on the first password system, and the second intercom terminal communicates based on the second password system. Then, the first intercom terminal obtains the second intercom terminal association information of the second intercom terminal from the server. Then, the first intercom terminal obtains the management key information from the server according to the second intercom terminal association information. Finally, the first intercom terminal sends the first session message to the server, and the first session message is generated according to the management key information. The server performs intercom group establishment verification according to the first session message and the second identity information of the second intercom terminal, so as to establish the intercom group if the verification passes.

[0139] In summary, in the process of communication connection between the first intercom terminal and the second intercom terminal based on different cryptographic systems, the first intercom terminal obtains the management key information from the server. Then, the first intercom terminal obtains the first session message according to the management key information, and sends the first session message to the server. Next, the server confirms that the first intercom terminal and the second intercom terminal can establish an intercom group and communicate based on the first session message and the second identity information of the second intercom terminal. In this way, by transmitting the acquired management key information between the server and the first intercom terminal, the relevant information in the management key information can enable the second intercom terminal to decrypt the data sent by the first intercom terminal, so that the first intercom terminal and the second intercom terminal based on different cryptographic systems can establish an intercom group that can communicate. And because the management key information is generated according to the quantum key distribution technology, it has good confidentiality, which ensures the security of the management key information during the transmission process between the server and the first intercom terminal.

[0140] See also Figure 3 In some implementations, step 011 (selecting a second intercom terminal to join the intercom group) includes:

[0141] 0111: Sending a group establishment application to the server according to the first identity information of the first intercom terminal;

[0142] 0112: When the group establishment application is approved, the group ID sent by the server is received;

[0143] 0113: Select the second intercom terminal to join the intercom group.

[0144] In some embodiments, the sending module is further used to send a group establishment application to the server according to the first identity information of the first intercom terminal. The receiving module is used to receive the group identifier sent by the server when the group establishment application is approved. The selection module is further used to select a second intercom terminal to join the intercom group.

[0145] In some embodiments, the processor is further configured to send a group establishment application to the server according to the first identity information of the first intercom terminal, and when the group establishment application is approved, receive a group identifier sent by the server, and select a second intercom terminal to join the intercom group.

[0146] Specifically, the first intercom terminal sends a group establishment application to the server according to the first identity information of the first intercom terminal, and the first identity information ensures the legitimacy of the application. Then, if the group establishment application is approved, the first intercom terminal receives the group identifier sent by the server. Finally, the first intercom terminal selects the second intercom terminal to join the intercom group.

[0147] In this way, the first intercom terminal preliminarily establishes an intercom group without communication connection capability by sending a group establishment application, that is, the second intercom terminal in the intercom group can only receive messages sent by the first intercom terminal, does not have the decryption authority for the messages sent by the first intercom terminal, and obtains the group identifier of the intercom group for subsequent processes.

[0148] See also Figure 4 In some implementations, step 012 (obtaining second intercom terminal association information of the second intercom terminal from the server) includes:

[0149] 0121: Send a query request for the associated information of the second intercom terminal to the server;

[0150] 0122: receiving the second intercom terminal association information sent by the server according to the query application, where the second intercom terminal association information includes the correspondence between the second cryptographic system identifier of the second cryptographic system and the second quantum network node connected to the second cryptographic system.

[0151] In some embodiments, the sending module is used to send a query application for the second intercom terminal association information to the server. The receiving module is also used to receive the second intercom terminal association information sent by the server according to the query application, and the second intercom terminal association information includes the correspondence between the second cryptographic system identifier of the second cryptographic system and the second quantum network node connected to the second cryptographic system.

[0152] In some embodiments, the processor is also used to send a query application for the second intercom terminal association information to the server, and receive the second intercom terminal association information sent by the server according to the query application, the second intercom terminal association information includes the correspondence between the second cryptographic system identifier of the second cryptographic system and the second quantum network node connected to the second cryptographic system.

[0153] Specifically, the first identity information is the identity token of the first intercom terminal. The first terminal identifier is the account of the first intercom terminal, and the second terminal identifier is the account of the second intercom terminal. The first cryptographic system identifier is the cryptographic system ID corresponding to the first intercom terminal, and the second cryptographic system identifier is the cryptographic system ID corresponding to the second intercom terminal. The first management key is the group management key, which is the quantum key obtained by the first cryptographic system from the quantum network. The management key identifier is the ID of the management key. The group identifier is the group ID.

[0154] The first intercom terminal sends a query application for the second intercom terminal association information to the server. Then, the first intercom terminal receives the second intercom terminal association information sent by the server according to the query application, and the second intercom terminal association information includes the corresponding relationship between the second cryptographic system identifier of the second cryptographic system and the second quantum network node accessing the second cryptographic system.

[0155] In this way, the first intercom terminal obtains the correspondence between the second cryptographic system identifier of the second cryptographic system and the second quantum network node connected to the second cryptographic system, and this information can be used to subsequently apply to the server for management key information.

[0156] See also Figure 5 In some implementations, step 013 (obtaining management key information from the server according to the second intercom terminal association information) includes:

[0157] 0131: Sending a first management key application to the server according to the first identity information, the first terminal identifier of the first intercom terminal, the second terminal identifier of the second intercom terminal, the group identifier, the first cryptographic system identifier of the first cryptographic system, and the second intercom terminal association information;

[0158] 0132: Receive the management key identifier and the first encrypted message distributed by the server according to the first management key application, wherein the management key identifier is obtained by the server identifying the first management key according to the first cryptographic system identifier, the first management key is obtained by the server from the quantum network connected to the server according to the first management key application, and the first encrypted message is obtained by the server encrypting the first terminal identifier, the second terminal identifier, the group identifier and the management key identifier according to the first management key.

[0159] In some embodiments, the sending module is used to send a first management key application to the server according to the first identity information, the first terminal identifier of the first intercom terminal, the second terminal identifier of the second intercom terminal, the group identifier, the first cryptographic system identifier of the first cryptographic system, and the second intercom terminal association information. The receiving module is used to receive the management key identifier and the first encrypted message distributed by the server according to the first management key application, wherein the management key identifier is obtained by the server performing identification processing on the first management key according to the first cryptographic system identifier, the first management key is obtained by the server from the quantum network connected to the server according to the first management key application, and the first encrypted message is obtained by the server performing encryption processing on the first terminal identifier, the second terminal identifier, the group identifier, and the management key identifier according to the first management key.

[0160] In some embodiments, the processor is further configured to send a first management key application to the server based on the first identity information, the first terminal identifier of the first intercom terminal, the second terminal identifier of the second intercom terminal, the group identifier, the first cryptographic system identifier of the first cryptographic system, and the second intercom terminal association information. The processor is also configured to receive a management key identifier and a first encrypted message distributed by the server based on the first management key application, wherein the management key identifier is obtained by the server performing identification processing on the first management key based on the first cryptographic system identifier, the first management key is obtained by the server from a quantum network connected to the server based on the first management key application, and the first encrypted message is obtained by the server performing encryption processing on the first terminal identifier, the second terminal identifier, the group identifier, and the management key identifier based on the first management key.

[0161] Specifically, the first intercom terminal sends a first management key application to the server based on the first identity information, the first terminal identifier of the first intercom terminal, the second terminal identifier of the second intercom terminal, the group identifier, the first cryptographic system identifier of the first cryptographic system, and the second intercom terminal association information. Then, the first intercom terminal receives the management key identifier and the first encrypted message distributed by the server based on the first management key application. Among them, the management key identifier is obtained by the server performing identification processing on the first management key according to the first cryptographic system identifier, and the first management key is obtained by the server from the quantum network connected to the server according to the first management key application. The first encrypted message is obtained by the server encrypting the first terminal identifier, the second terminal identifier, the group identifier, and the management key identifier according to the first management key.

[0162] In this way, the first intercom terminal applies to the server for a management key identifier and a first encrypted message through relevant information of the first intercom terminal and relevant information of the second intercom terminal. The management key identifier can better manage and use the management key, and the first encrypted message can be used for subsequent intercom group establishment verification.

[0163] See also Figure 6 In some implementations, step 014 (sending the first session message to the server) includes:

[0164] 0141: Generate a first session message according to the first terminal identifier, the second terminal identifier, the group identifier, the management key identifier and the first encrypted message;

[0165] 0142: Send the first session message to the server.

[0166] In some implementations, the generating module is further configured to generate a first session message according to the first terminal identifier, the second terminal identifier, the group identifier, the management key identifier and the first encrypted message. The sending module is further configured to send the first session message to the server.

[0167] In some implementations, the processor is further configured to generate a first session message according to the first terminal identifier, the second terminal identifier, the group identifier, the management key identifier, and the first encrypted message, and send the first session message to the server.

[0168] Specifically, the first intercom terminal generates a first session message according to the first terminal identifier, the second terminal identifier, the group identifier, the management key identifier and the first encrypted message. Then, the first intercom terminal sends the first session message to the server.

[0169] In this way, the first intercom terminal will send the management key identifier, the first encrypted message and the related information of the intercom group to the server, and the server can confirm the establishment of the intercom group based on the information.

[0170] See also Figure 7 The embodiment of the present application provides a method for establishing a cross-password system intercom group, the intercom group includes a first intercom terminal and a server, the method is used for the server, and the establishment method includes the steps of:

[0171] 021: in response to selecting a second intercom terminal to join an intercom group through the first intercom terminal, sending second intercom terminal association information of the second intercom terminal to the first intercom terminal;

[0172] 022: Generate management key information according to the second intercom terminal association information, and send the management key information to the first intercom terminal;

[0173] 023: receiving a first conversation message sent by a first intercom terminal;

[0174] 024: Perform intercom group establishment verification according to the first conversation message and the second identity information of the second intercom terminal, and establish the intercom group if the verification passes.

[0175] The embodiment of the present application also provides an intercom group establishment device. The intercom group establishment method of the embodiment of the present application can be implemented by the intercom group establishment device of the embodiment of the present application. Specifically, the intercom group establishment device includes a sending module, a generating module, a receiving module and a verification module. The sending module is used to send the second intercom terminal association information of the second intercom terminal to the first intercom terminal in response to selecting the second intercom terminal to join the intercom group through the first intercom terminal. The generating module is used to generate management key information according to the second intercom terminal association information, and send the management key information to the first intercom terminal. The receiving module is used to receive a first session message sent by the first intercom terminal, and the first session message is generated by the first intercom terminal according to the management key information. The verification module is used to perform intercom group establishment verification according to the first session message and the second identity information of the second intercom terminal, so as to establish the intercom group if the verification passes.

[0176] The embodiment of the present application also provides a server, including a memory and a processor. The establishment method of the embodiment of the present application can be implemented by the server of the embodiment of the present application. Specifically, a computer program is stored in the memory, and the processor is used to send the second intercom terminal association information of the second intercom terminal to the first intercom terminal in response to selecting the second intercom terminal to join the intercom group through the first intercom terminal. And generate management key information based on the second intercom terminal association information, and send the management key information to the first intercom terminal. And receive a first session message sent by the first intercom terminal, the first session message is generated by the first intercom terminal based on the management key information. The processor is also used to perform intercom group establishment verification based on the first session message and the second identity information of the second intercom terminal, so as to establish the intercom group if the verification passes.

[0177] The embodiment of the present application also provides a cross-password system intercom group, which includes the first intercom terminal and the server of the above embodiment, and the second intercom terminal.

[0178] Specifically, the intercom group establishment method of this embodiment is basically the same as the intercom group establishment method of the aforementioned embodiment with the first intercom terminal as the execution object. For details, please refer to the explanation of the corresponding part. The difference is that this embodiment takes the server as the execution object, which will not be repeated here.

[0179] In summary, in the process of communication connection between the first intercom terminal and the second intercom terminal based on different cryptographic systems, by transmitting the acquired management key information between the server and the first intercom terminal, the relevant information in the management key information can enable the second intercom terminal to decrypt the data sent by the first intercom terminal, so that the first intercom terminal and the second intercom terminal based on different cryptographic systems can establish an intercom group that can communicate. And because the management key information is generated according to the quantum key distribution technology, it has good confidentiality, ensuring the security of the management key information during the transmission process between the server and the first intercom terminal.

[0180] See also Figure 8 In some embodiments, the method further comprises the steps of:

[0181] 025: receiving a group establishment application sent by the first intercom terminal according to the first identity information of the first intercom terminal;

[0182] 026: Create a group according to the group creation application, and send the group identifier to the first intercom terminal.

[0183] In some embodiments, the receiving module is used to receive a group establishment application sent by the first intercom terminal according to the first identity information of the first intercom terminal. The establishing module is used to establish a group according to the group establishment application and send a group identifier to the first intercom terminal.

[0184] In some implementations, the processor is further configured to receive a group establishment application sent by the first intercom terminal according to the first identity information of the first intercom terminal, establish a group according to the group establishment application, and send a group identifier to the first intercom terminal.

[0185] Specifically, the server receives a group establishment application sent by the first intercom terminal according to the first identity information of the first intercom terminal. Then, the server establishes a group according to the group establishment application and sends a group identifier to the first intercom terminal.

[0186] In this way, the server preliminarily establishes an intercom group without communication connection by receiving the group establishment application sent by the first intercom terminal, and obtains the group identifier of the intercom group for subsequent completion of the intercom group establishment verification.

[0187] See also Fig. 9 In some implementations, step 021 (sending second intercom terminal association information of the second intercom terminal to the first intercom terminal) includes:

[0188] 0211: receiving a query request for associated information of a second intercom terminal sent by the first intercom terminal;

[0189] 0212: Sending second intercom terminal association information to the first intercom terminal according to the query application, where the second intercom terminal association information includes a correspondence between a second cryptographic system identifier of the second cryptographic system and a second quantum network node connected to the second cryptographic system.

[0190] In some embodiments, the receiving module is used to receive a query application for the second intercom terminal association information sent by the first intercom terminal. The sending module is also used to send the second intercom terminal association information to the first intercom terminal according to the query application, and the second intercom terminal association information includes the corresponding relationship between the second cryptographic system identifier of the second cryptographic system and the second quantum network node connected to the second cryptographic system.

[0191] In some embodiments, the processor is further configured to receive a query application for the second intercom terminal association information sent by the first intercom terminal. And send the second intercom terminal association information to the first intercom terminal according to the query application, where the second intercom terminal association information includes a correspondence between a second cryptographic system identifier of the second cryptographic system and a second quantum network node accessing the second cryptographic system.

[0192] Specifically, the server receives a query request for the second intercom terminal association information sent by the first intercom terminal. Then, the server sends the second intercom terminal association information to the first intercom terminal according to the query request, and the second intercom terminal association information includes the corresponding relationship between the second cryptographic system identifier of the second cryptographic system and the second quantum network node connected to the second cryptographic system.

[0193] In this way, the server obtains the correspondence between the second cryptographic system identifier of the second cryptographic system and the second quantum network node connected to the second cryptographic system, and sends this information to the first intercom terminal, which uses this information to complete subsequent processes.

[0194] See also Fig.10 In some implementations, step 022 (generating management key information according to the second intercom terminal association information, and sending the management key information to the first intercom terminal) includes:

[0195] 0221: receiving a first management key application sent by the first intercom terminal according to the first identity information, the first terminal identifier of the first intercom terminal, the second terminal identifier of the second intercom terminal, the group identifier, the first cryptographic system identifier of the first cryptographic system, and the second intercom terminal association information;

[0196] 0222: Obtain the first management key and the management key identifier from the quantum network to which the access is made according to the first management key application;

[0197] 0223: encrypt the first terminal identifier, the second terminal identifier, the group identifier and the management key identifier according to the first management key to obtain a first encrypted message;

[0198] 0224: Send a management key identifier and a first encrypted message to the first intercom terminal.

[0199] In some embodiments, the receiving module is further used to receive a first management key application sent by the first intercom terminal according to the first identity information, the first terminal identifier of the first intercom terminal, the second terminal identifier of the second intercom terminal, the group identifier, the first cryptographic system identifier of the first cryptographic system, and the second intercom terminal association information. The acquisition module is used to obtain the first management key and the management key identifier from the connected quantum network according to the first management key application. The acquisition module is used to encrypt the first terminal identifier, the second terminal identifier, the group identifier, and the management key identifier according to the first management key to obtain a first encrypted message. The sending module is also used to send the management key identifier and the first encrypted message to the first intercom terminal.

[0200] In some embodiments, the processor is further configured to receive a first management key application sent by the first intercom terminal according to the first identity information, the first terminal identifier of the first intercom terminal, the second terminal identifier of the second intercom terminal, the group identifier, the first cryptographic system identifier of the first cryptographic system, and the second intercom terminal association information. And obtain the first management key and management key identifier from the quantum network connected according to the first management key application. And encrypt the first terminal identifier, the second terminal identifier, the group identifier, and the management key identifier according to the first management key to obtain a first encrypted message. The processor is also configured to send the management key identifier and the first encrypted message to the first intercom terminal.

[0201] Specifically, the server receives a first management key application sent by the first intercom terminal according to the first identity information, the first terminal identifier of the first intercom terminal, the second terminal identifier of the second intercom terminal, the group identifier, the first cryptographic system identifier of the first cryptographic system, and the second intercom terminal association information. Then, the server obtains the first management key from the connected quantum network according to the first management key application. Next, the server encrypts the first terminal identifier, the second terminal identifier, the group identifier, and the management key identifier according to the first management key to obtain a first encrypted message. Finally, the server sends the management key identifier and the first encrypted message to the first intercom terminal.

[0202] In this way, the server obtains the management key from the quantum network through the first management key application sent by the first intercom terminal. The management key has strong confidentiality, and the confidentiality of subsequent processes can be greatly enhanced according to the management key. In addition, the server also generates a first encrypted message, which can be used for subsequent intercom group establishment verification.

[0203] See also Fig.11 In some embodiments, the method further comprises the steps of:

[0204] 027: Store the corresponding relationship between the first encrypted message and the second intercom terminal.

[0205] In some implementations, the storage module is used to store the corresponding relationship between the first encrypted message and the second intercom terminal.

[0206] In some implementations, the processor is further configured to store a correspondence between the first encrypted message and the second intercom terminal.

[0207] Specifically, the server stores the correspondence between the first encrypted message and the second intercom terminal. The correspondence can be used to verify the existence of the decryption authority of the second intercom terminal when the first intercom terminal and the second intercom terminal communicate subsequently, thereby enhancing the security of communication between the first intercom terminal and the second intercom terminal.

[0208] See also Fig.12In some implementations, step 024 (performing intercom group establishment verification according to the first conversation message and the second identity information of the second intercom terminal, and establishing the intercom group if the verification passes) includes:

[0209] 0241: Sending the first terminal identifier, the group identifier, the management key identifier and the first encrypted message to the second intercom terminal;

[0210] 0242: receiving the second identity information of the second intercom terminal, the first terminal identifier, the group identifier, the management key identifier and the first encrypted message returned by the second intercom terminal;

[0211] 0243: Obtain a second management key from the quantum network to which the user is connected according to the management key identifier;

[0212] 0244: encrypt the first terminal identifier, the second terminal identifier, the group identifier and the management key identifier according to the second management key to obtain a second encrypted message;

[0213] 0245: Perform intercom group establishment verification based on the second identity information, the first encrypted message and the second encrypted message.

[0214] In some embodiments, the sending module is used to send the first terminal identifier, the group identifier, the management key identifier and the first encrypted message to the second intercom terminal. The receiving module is used to receive the second identity information of the second intercom terminal, the first terminal identifier, the group identifier, the management key identifier and the first encrypted message returned by the second intercom terminal. The acquisition module is also used to obtain the second management key from the quantum network connected according to the management key identifier. The encryption module is used to encrypt the first terminal identifier, the second terminal identifier, the group identifier and the management key identifier according to the second management key to obtain the second encrypted message. The verification module is also used to verify the establishment of the intercom group according to the second identity information, the first encrypted message and the second encrypted message.

[0215] In some embodiments, the processor is also used to send the first terminal identifier, the group identifier, the management key identifier and the first encrypted message to the second intercom terminal. And receive the second identity information of the second intercom terminal, the first terminal identifier, the group identifier, the management key identifier and the first encrypted message returned by the second intercom terminal. And obtain the second management key from the quantum network connected according to the management key identifier. The processor is also used to encrypt the first terminal identifier, the second terminal identifier, the group identifier and the management key identifier according to the second management key to obtain the second encrypted message. And perform intercom group establishment verification according to the second identity information, the first encrypted message and the second encrypted message.

[0216] Specifically, the second identity information is the identity Token of the second intercom terminal. The server sends the first terminal identifier, the group identifier, the management key identifier and the first encrypted message to the second intercom terminal. Then, the server receives the second identity information, the first terminal identifier, the group identifier, the management key identifier and the first encrypted message of the second intercom terminal returned by the second intercom terminal. Then, the server obtains the second management key from the quantum network to which it is connected according to the management key identifier. Then, the server encrypts the first terminal identifier, the second terminal identifier, the group identifier and the management key identifier according to the second management key to obtain the second encrypted message. Finally, the server performs intercom group establishment verification according to the second identity information, the first encrypted message and the second encrypted message.

[0217] In this way, the server exchanges information with the second intercom terminal to obtain the second identity information, which is used to verify whether the second intercom terminal that exchanges information with the server is consistent with the second intercom terminal that joins the intercom group. If the second intercom terminal that exchanges information with the server is consistent with the second intercom terminal that joins the intercom group, a second encrypted message is generated through the information obtained from the exchange, which is used to confirm that the intercom group establishment verification has passed, thereby completing the establishment of the intercom group.

[0218] See also Fig.13 In some embodiments, step 0245 (performing intercom group establishment verification according to the second identity information, the first encrypted message and the second encrypted message) includes:

[0219] 02451: If the second identity information is invalid, the intercom group establishment verification fails and the intercom group establishment fails;

[0220] 02452: If the second identity information is valid and the second encrypted message is consistent with the first encrypted message, confirm that the intercom group establishment verification is passed, establish the intercom group, and send an intercom group establishment verification pass message to the second intercom terminal;

[0221] 02453: When the second identity information is valid and the second encrypted message is inconsistent with the first encrypted message, it is confirmed that the intercom group establishment verification has failed and the intercom group establishment has failed.

[0222] In some embodiments, the confirmation module is further used to confirm that the intercom group establishment verification fails and the intercom group establishment fails when the second identity information is invalid. And when the second identity information is valid and the second encrypted message is consistent with the first encrypted message, confirm that the intercom group establishment verification passes, establish the intercom group, and send an intercom group establishment verification pass message to the second intercom terminal. The confirmation module is also used to confirm that the intercom group establishment verification fails and the intercom group establishment fails when the second identity information is valid and the second encrypted message is inconsistent with the first encrypted message.

[0223] In some embodiments, the processor is further configured to, when the second identity information is invalid, confirm that the intercom group establishment verification fails and the intercom group establishment fails. And when the second identity information is valid and the second encrypted message is consistent with the first encrypted message, confirm that the intercom group establishment verification passes, establish the intercom group, and send an intercom group establishment verification pass message to the second intercom terminal. And when the second identity information is valid and the second encrypted message is inconsistent with the first encrypted message, confirm that the intercom group establishment verification fails and the intercom group establishment fails.

[0224] Specifically, when the second identity information is invalid, the server confirms that the intercom group establishment verification has failed and the intercom group establishment has failed. When the second identity information is valid and the second encrypted message is consistent with the first encrypted message, the server confirms that the intercom group establishment verification has passed, establishes the intercom group, and sends an intercom group establishment verification pass message to the second intercom terminal. When the second identity information is valid and the second encrypted message is inconsistent with the first encrypted message, the server confirms that the intercom group establishment verification has failed and the intercom group establishment has failed.

[0225] In this way, through multiple verifications, the server confirms that the second intercom terminal can establish an intercom group capable of communication connection with the first intercom terminal.

[0226] See also Fig.14 The embodiment of the present application provides a communication method of an intercom group. The intercom group is established based on the above-mentioned establishment method. The intercom group includes a first intercom terminal, a second intercom terminal and a server. The method is used for the server. The communication method includes the steps of:

[0227] 031: receiving a working key application sent by the first intercom terminal;

[0228] 032: Generate first key data according to the working key application, and send the first key data to the first intercom terminal;

[0229] 033: receiving the first intercom information sent by the first intercom terminal, and synchronizing the first intercom information to the second intercom terminal, where the first intercom information is generated by the first intercom terminal according to the first key data;

[0230] 034: Generate second key data according to the first intercom information, and send the second key data to the second intercom terminal, so that the second intercom terminal can decrypt the first intercom information according to the second key data to complete the communication.

[0231] The embodiment of the present application also provides a communication device. The communication method of the embodiment of the present application can be implemented by the communication device of the embodiment of the present application. Specifically, the communication device includes a receiving module and a generating module. The receiving module is used to receive a working key application sent by a first intercom terminal. The generating module is used to generate first key data according to the working key application, and send the first key data to the first intercom terminal. The receiving module is also used to receive a first intercom message sent by the first intercom terminal, and synchronize the first intercom message to the second intercom terminal, and the first intercom message is generated by the first intercom terminal according to the first key data. The generating module is also used to generate second key data according to the first intercom message, and send the second key data to the second intercom terminal, so that the second intercom terminal can decrypt the first intercom message according to the second key data to complete the communication.

[0232] The embodiment of the present application also provides a server, including a memory and a processor. The establishment method of the embodiment of the present application can be implemented by the server of the embodiment of the present application. Specifically, a computer program is stored in the memory, and the processor is used to receive a work key application sent by a first intercom terminal. And generate first key data according to the work key application, and send the first key data to the first intercom terminal. And receive a first intercom message sent by the first intercom terminal, and synchronize the first intercom message to the second intercom terminal, the first intercom message is generated by the first intercom terminal according to the first key data. The processor is also used to generate second key data according to the first intercom message, and send the second key data to the second intercom terminal, so that the second intercom terminal can decrypt the first intercom message according to the second key data to complete the communication.

[0233] Specifically, when the first intercom terminal and the second intercom terminal complete the establishment of an intercom group that can be connected for communication, the first intercom terminal communicates with the second intercom terminal, and the server performs the following processing. First, the server receives a work key application sent by the first intercom terminal. Next, the server generates first key data based on the work key application, and sends the first key data to the first intercom terminal. Then, the server receives the first intercom information sent by the first intercom terminal, and synchronizes the first intercom information to the second intercom terminal. The first intercom information is generated by the first intercom terminal based on the first key data. Finally, the server generates second key data based on the first intercom information, and sends the second key data to the second intercom terminal, so that the second intercom terminal can decrypt the first intercom information based on the second key data to complete the communication.

[0234] In this way, when the first intercom terminal and the second intercom terminal based on different cryptographic systems have established an intercom group, the server obtains the first key data including the working key according to the working key application sent by the first intercom terminal, and the first key data has good confidentiality. When the working key encrypts the intercom data, the intercom data is synchronized to the second intercom terminal. The server obtains the working key according to the first key data and sends it to the second intercom terminal, and the second intercom terminal decrypts the encrypted intercom data according to the working key to obtain the intercom data. In this way, between the first intercom terminal and the second intercom terminal based on different cryptographic systems, the server generates, distributes and manages the working key to encrypt and decrypt the intercom data, completes the working key negotiation between the first intercom terminal and the second intercom terminal, and realizes the secure intercom communication between the first intercom terminal and the second intercom terminal across the cryptographic system. The transmission process of the working key between different intercom terminals in the intercom group is protected by quantum key distribution technology to ensure that the working key will not be accessed by unauthorized persons, and enhance the security of the working key during the transmission process.

[0235] See also Fig.15 In some implementations, step 032 (generating first key data according to the working key application, and sending the first key data to the first intercom terminal) includes:

[0236] 0321: randomly generate a working key according to the working key application sent by the first intercom terminal;

[0237] 0322: encrypting the working key according to the first pre-filled key pre-filled in the first intercom terminal to obtain a first working ciphertext in the first key data;

[0238] 0323: applying for a first encryption key from the quantum network to be connected according to the working key application, and performing identification processing on the first encryption key to obtain an encryption key identifier in the first key data;

[0239] 0324: Encrypt the working key according to the first encryption key to obtain the quantum working ciphertext in the first key data;

[0240] 0325: Send the first working ciphertext, the encryption key identifier and the quantum working ciphertext to the first intercom terminal.

[0241] In some embodiments, the generation module is used to randomly generate a working key according to a working key application sent by the first intercom terminal. The encryption module is also used to encrypt the working key according to the first pre-filled key pre-filled in the first intercom terminal to obtain a first working ciphertext in the first key data. The application module is used to apply for a first encryption key from the connected quantum network according to the working key application, and to identify the first encryption key to obtain an encryption key identifier in the first key data. The encryption module is also used to encrypt the working key according to the first encryption key to obtain a quantum working ciphertext in the first key data. The sending module is also used to send the first working ciphertext, the encryption key identifier and the quantum working ciphertext to the first intercom terminal.

[0242] In some embodiments, the processor is also used to randomly generate a working key according to a working key application sent by the first intercom terminal, and to encrypt the working key according to the first pre-filled key pre-filled in the first intercom terminal to obtain a first working ciphertext in the first key data. The processor is also used to apply for a first encryption key from the quantum network connected according to the working key application, and to identify the first encryption key to obtain an encryption key identifier in the first key data. And to encrypt the working key according to the first encryption key to obtain a quantum working ciphertext in the first key data. And to send the first working ciphertext, the encryption key identifier and the quantum working ciphertext to the first intercom terminal.

[0243] Specifically, the work key application includes a group identifier, a first identity information of a first intercom terminal, a single work identifier, a first encrypted message, a first cryptographic system identifier of a first cryptographic system, and a second cryptographic system identifier of a second cryptographic system. Among them, the first identity information is the identity Token of the first intercom terminal. The first cryptographic system identifier is the cryptographic system ID corresponding to the first intercom terminal, and the second cryptographic system identifier is the cryptographic system ID corresponding to the second intercom terminal. The first management key is a group management key, and the first cryptographic system obtains the quantum key by applying to the quantum network. The management key identifier is the ID of the management key. The group identifier is the group ID. The single work identifier is used to ensure that different keys are used for each intercom communication. The first encrypted message is obtained by the intercom group establishment method, and is used to verify whether the second intercom terminal has decryption authority.

[0244] The first pre-charged key is pre-charged by the first intercom terminal by pre-installing a quantum sim card / quantum TF card and storing the quantum charge key.

[0245] The server randomly generates a working key according to the working key application sent by the first intercom terminal. The server then encrypts the working key according to the first pre-filled key pre-filled in the first intercom terminal to obtain the first working ciphertext in the first key data. Next, the server applies for the first encryption key from the connected quantum network according to the working key application, and identifies the first encryption key to obtain the encryption key identifier in the first key data. Finally, the server encrypts the working key according to the first encryption key to obtain the quantum working ciphertext in the first key data. The first working ciphertext, the encryption key identifier and the quantum working ciphertext are sent to the first intercom terminal.

[0246] In this way, the server generates a working key and a first encryption key based on the working key application sent by the first intercom terminal. When the working key is encrypted and protected by the first encryption key, the working key is sent to the first intercom terminal. Using the first encryption key to protect the working key enhances the confidentiality of the working key during transmission. The first intercom terminal can use the working key to encrypt and protect the intercom data.

[0247] See also Fig.16 In some implementations, step 033 (receiving the first intercom information sent by the first intercom terminal, and synchronizing the first intercom information to the second intercom terminal) includes:

[0248] 0331: receiving the first intercom information sent by the first intercom terminal, the first intercom information including the quantum working ciphertext, the encryption key identifier, the group identifier, the first terminal identifier, the second terminal identifier, the first cryptographic system identifier and the first encrypted intercom data, the first encrypted intercom data is obtained by the first intercom terminal encrypting the first intercom data according to the working key, and the working key is obtained by the first intercom terminal decrypting the first working ciphertext according to the first pre-charged key;

[0249] 0332: According to the second terminal identifier, when it is determined that a correspondence between the first encrypted message and the second intercom terminal is stored in the server, the first intercom information is synchronized to the second intercom terminal.

[0250] In some embodiments, the receiving module is further used to receive the first intercom information sent by the first intercom terminal, the first intercom information includes a quantum working ciphertext, an encryption key identifier, a group identifier, a first terminal identifier, a second terminal identifier, a first cryptographic system identifier, and a first encrypted intercom data, the first encrypted intercom data is obtained by the first intercom terminal encrypting the first intercom data according to the working key, and the working key is obtained by the first intercom terminal decrypting the first working ciphertext according to the first pre-filled key. The synchronization module is used to synchronize the first intercom information to the second intercom terminal according to the second terminal identifier, when it is determined that the server stores the corresponding relationship between the first encrypted message and the second intercom terminal.

[0251] In some embodiments, the processor is further used to receive the first intercom information sent by the first intercom terminal, the first intercom information including the quantum working ciphertext, the encryption key identifier, the group identifier, the first terminal identifier, the second terminal identifier, the first cryptographic system identifier and the first encrypted intercom data, the first encrypted intercom data is obtained by the first intercom terminal encrypting the first intercom data according to the working key, and the working key is obtained by the first intercom terminal decrypting the first working ciphertext according to the first pre-filled key. And according to the second terminal identifier, when it is determined that the corresponding relationship between the first encrypted message and the second intercom terminal is stored in the server, the first intercom information is synchronized to the second intercom terminal.

[0252] Specifically, the first terminal identifier is the account of the first intercom terminal, and the second terminal identifier is the account of the second intercom terminal. The server receives the first intercom information sent by the first intercom terminal, the first intercom information includes a quantum working ciphertext, an encryption key identifier, a group identifier, a first terminal identifier, a second terminal identifier, a first cryptographic system identifier, and a first encrypted intercom data, the first encrypted intercom data is obtained by the first intercom terminal encrypting the first intercom data according to the working key, and the working key is obtained by the first intercom terminal decrypting the first working ciphertext according to the first pre-filled key. Then, based on the second terminal identifier, the server synchronizes the first intercom information to the second intercom terminal when it is determined that the server has a corresponding relationship between the first encrypted message and the second intercom terminal.

[0253] Thus, the server sends the intercom data to the second intercom terminal according to the first intercom information sent by the first intercom terminal, the first intercom information being used to confirm whether the second intercom terminal has joined the intercom group.

[0254] See also Fig.17 In some implementations, step 034 (generating second key data according to the first intercom information, and sending the second key data to the second intercom terminal) includes:

[0255] 0341: receiving the first encrypted message, the second identity information of the second intercom terminal, the group identifier, the first terminal identifier, the first cryptographic system identifier, the quantum working ciphertext and the encryption key identifier returned by the second intercom terminal;

[0256] 0342: Perform decryption authority verification based on the second identity information, the first encrypted message and the second encrypted message.

[0257] In some embodiments, the receiving module is further used to receive the first encrypted message returned by the second intercom terminal, the second identity information of the second intercom terminal, the group identifier, the first terminal identifier, the first cryptographic system identifier, the quantum working ciphertext and the encryption key identifier. The verification module is used to perform decryption authority verification based on the second identity information, the first encrypted message and the second encrypted message.

[0258] In some embodiments, the processor is further configured to receive the first encrypted message returned by the second intercom terminal, the second identity information of the second intercom terminal, the group identifier, the first terminal identifier, the first cryptographic system identifier, the quantum working ciphertext, and the encryption key identifier, and perform decryption authority verification according to the second identity information, the first encrypted message, and the second encrypted message.

[0259] Specifically, the second identity information is the identity token of the second intercom terminal. The second encrypted message is obtained by the intercom group establishment method and is used to verify whether the second intercom terminal has decryption authority. The server receives the first encrypted message, the second identity information of the second intercom terminal, the group identifier, the first terminal identifier, the first cryptographic system identifier, the quantum working ciphertext and the encryption key identifier returned by the second intercom terminal. The server then verifies the decryption authority based on the second identity information, the first encrypted message and the second encrypted message.

[0260] In this way, the server confirms whether the second intercom terminal has the decryption authority for the first intercom information according to the various information returned by the second intercom terminal.

[0261] See also Fig.18 In some implementations, step 0342 (verifying the decryption authority based on the second identity information, the first encrypted message, and the second encrypted message) includes:

[0262] 03421: When the second identity information is invalid, the decryption authority verification fails and the communication fails;

[0263] 03422: When the second identity information is valid and the second encrypted message is inconsistent with the first encrypted message, it is confirmed that the decryption authority verification fails and the communication fails;

[0264] 03423: When the second identity information is valid and the second encrypted message is consistent with the first encrypted message, it is confirmed that the decryption authority verification is passed, and the second intercom terminal can decrypt the first encrypted intercom data.

[0265] In some embodiments, the confirmation module is further used to confirm that the decryption authority verification fails and the communication fails when the second identity information is invalid. The confirmation module is also used to confirm that the decryption authority verification fails and the communication fails when the second identity information is valid and the second encrypted message is inconsistent with the first encrypted message. The confirmation module is also used to confirm that the decryption authority verification passes and the second intercom terminal can decrypt the first encrypted intercom data when the second identity information is valid and the second encrypted message is consistent with the first encrypted message.

[0266] In some embodiments, the processor is further configured to confirm that the decryption authority verification fails and the communication fails when the second identity information is invalid. And when the second identity information is valid and the second encrypted message is inconsistent with the first encrypted message, confirm that the decryption authority verification fails and the communication fails. And when the second identity information is valid and the second encrypted message is consistent with the first encrypted message, confirm that the decryption authority verification passes and the second intercom terminal can decrypt the first encrypted intercom data.

[0267] Specifically, when the second identity information is invalid, the server confirms that the decryption authority verification has failed and the communication has failed. When the second identity information is valid and the second encrypted message is inconsistent with the first encrypted message, the server confirms that the decryption authority verification has failed and the communication has failed. When the second identity information is valid and the second encrypted message is consistent with the first encrypted message, the server confirms that the decryption authority verification has passed and the second intercom terminal can decrypt the first encrypted intercom data.

[0268] In this way, the server confirms whether the second intercom terminal can decrypt the first encrypted intercom data through multiple layers of verification.

[0269] See also Fig.19 In some implementations, step 03423 (confirming that the decryption authority verification is passed when the second identity information is valid and the second encrypted message is consistent with the first encrypted message) includes:

[0270] 034231: Apply to the quantum network to obtain the second encryption key according to the encryption key identifier;

[0271] 034232: Decrypt the quantum working ciphertext according to the second encryption key to obtain the working key;

[0272] 034233: The working key is encrypted by the second pre-filled key pre-filled in the second intercom terminal to obtain the second working ciphertext in the second key data, and the second working ciphertext is sent to the second intercom terminal, so that the second intercom terminal can decrypt the first encrypted intercom data according to the second working ciphertext to obtain the first intercom data, thereby completing the communication.

[0273] In some embodiments, the acquisition module is further used to apply to the connected quantum network for a second encryption key according to the encryption key identifier. The decryption module is further used to decrypt the quantum working ciphertext according to the second encryption key to obtain the working key. The encryption module is further used to encrypt the working key with the second pre-filled key pre-filled in the second intercom terminal to obtain the second working ciphertext in the second key data, and send the second working ciphertext to the second intercom terminal, so that the second intercom terminal can decrypt the first encrypted intercom data according to the second working ciphertext to obtain the first intercom data, thereby completing the communication.

[0274] In some embodiments, the processor is further configured to apply to the quantum network to obtain a second encryption key according to the encryption key identifier, and decrypt the quantum working ciphertext according to the second encryption key to obtain the working key, and encrypt the working key by the second pre-filled key pre-filled in the second intercom terminal to obtain the second working ciphertext in the second key data, and send the second working ciphertext to the second intercom terminal, so that the second intercom terminal can decrypt the first encrypted intercom data according to the second working ciphertext to obtain the first intercom data, and complete the communication.

[0275] Specifically, the second pre-filled key is pre-filled for the second intercom terminal by pre-installing a quantum sim card / quantum TF card and storing the quantum filling key. The server applies to the connected quantum network for the second encryption key according to the encryption key identifier. Then, the server decrypts the quantum working ciphertext according to the second encryption key to obtain the working key. Then, the server encrypts the working key with the second pre-filled key pre-filled in the second intercom terminal to obtain the second working ciphertext in the second key data, and sends the second working ciphertext to the second intercom terminal, so that the second intercom terminal can decrypt the first encrypted intercom data according to the second working ciphertext to obtain the first intercom data, thereby completing the communication.

[0276] In this way, the server obtains the working key and sends the working key to the second intercom terminal under the protection of the second charging key, so that the second intercom terminal can decrypt the first encrypted intercom data according to the second working ciphertext to obtain the first intercom data and complete the communication.

[0277] The following is an example of an example of a method for establishing a talkback group and a method for communicating in accordance with an embodiment of the present application:

[0278] Among them, the first intercom terminal is terminal A, the second intercom terminal is terminal B, and the cryptographic system is a quantum cryptographic service system. The server includes multiple quantum cryptographic service systems, an intercom business system and a quantum intercom resource control center. The quantum cryptographic service system corresponding to terminal A is quantum cryptographic service system C, and the quantum network node corresponding to quantum cryptographic service system C is quantum network node E. The quantum cryptographic service system corresponding to terminal B is quantum cryptographic service system D, and the quantum network node corresponding to quantum cryptographic service system D is quantum network node F. The first identity information is identity Token-A. The second identity information is identity Token-B. The group identifier is group ID, which is group X in the example. The first terminal identifier is the account information of terminal A, and the second terminal identifier is the account information of terminal B. The first management key is the group management key K12, and the management key identifier is K12. The first encrypted message is the hash operation result A, and the second encrypted message is the hash operation result B.

[0279] See also Fig. 20 , the intercom terminal A sends a request to the intercom service system to establish a group. The request carries the identity Token-A provided by terminal A. The identity Token refers to a token issued using an encrypted HMAC algorithm that is difficult to crack and is used as a working token for the terminal account. The identity Token-A is an account extension field of terminal A. After receiving the request, the intercom service system authenticates terminal A to verify whether it has the authority to establish a group. The intercom service system uses the identity Token-A provided by terminal A for verification to ensure the legitimacy of the request. If the identity authentication Token-A passes, the intercom service system creates a new group X according to the request of terminal A. The intercom service system maintains group information and returns the group ID to terminal A. The group ID is group X. Terminal A selects terminal B to enter group X as needed. Terminal B directly enters group X. Terminal B comes from quantum cryptography service system D.

[0280] Terminal A calls the quantum security SDK-A installed in terminal A and sends a query request to the quantum security intercom resource control center (CMSP) to query the quantum cryptography service system ID and quantum network node relationship of terminal B. The request contains the account information of terminal B. After the quantum security intercom resource control center queries the relevant information, it returns the result to quantum security SDK-A, including that the quantum cryptography service system corresponding to terminal B is quantum cryptography service system D, and the quantum network node corresponding to quantum cryptography service system D is quantum network node F.

[0281] Terminal A calls quantum security SDK-A to prepare identity Token-A, account information of terminal 1 and terminal 2, quantum cryptography service system ID of terminal 1 and terminal 2 and the corresponding relationship with quantum network nodes, and group ID. Then, terminal A calls quantum security SDK-A to send a request to quantum cryptography service system C, which includes the above information. After receiving the request, quantum cryptography service system C verifies the identity Token-A and account information of terminal A to ensure the legitimacy of the request. If the verification is successful, quantum cryptography service system C applies to quantum network node E in the quantum network for group management key K12 for managing group X. The quantum network uses quantum key distribution (QKD) technology to generate group management key K12. Then, quantum cryptography service system C uses group management key K12 to hash (Hash-based Message Authentication Code, HMAC) the account of terminal A, the account of terminal B, the group ID and the ID of group management key K12 to obtain the hash operation result A. The ID of group management key K12 is obtained by identifying the first management key by the device in the quantum network. The quantum cryptography service system C distributes the hash operation result A and the ID of the group management key K12 to the quantum security SDK-A.

[0282] Quantum security SDK-A uploads the account of terminal A, the account of terminal B, the group ID, the hash operation result A, and the ID of the group management key K12 to the intercom service system. The intercom service system stores the association between the hash operation result A and terminal B in the group table within the intercom service system. The association means that the hash operation result A corresponds to terminal B. Then, the intercom service system synchronizes the account of terminal A, the group ID, the hash operation result A, and the ID of the group management key K12 to the quantum security SDK-B installed on terminal B.

[0283] Quantum security SDK-B sends a verification request to the quantum cryptography service system D to which terminal B belongs based on the identity Token-B of terminal B, the account information of terminal A, the group ID, the ID of the group management key K12, and the hash operation result. After receiving the request, the quantum cryptography service system D first verifies whether the identity Token-B of terminal B is valid to ensure the legitimacy of the request. If the identity Token-B of terminal B is valid, the quantum cryptography service system D applies for the group management key K12 from the quantum network node F in the quantum network based on the ID of the group management key K12. The quantum cryptography service system D can control the application authority and key management. Then, the quantum cryptography service system D uses the group management key K12 to perform a hash operation on the account of terminal A, the account of terminal B, the group ID, and the ID of the group management key K12 to obtain the hash operation result B.

[0284] Then, the quantum cryptography service system D verifies whether the hash operation result A and the hash operation result B are consistent. When the hash operation result A and the hash operation result B are consistent, the quantum cryptography service system D passes the verification to the terminal B through the message and distributes the hash operation result B of the terminal B. In this way, the terminal B holds the hash operation result B and has the decryption authority to decrypt the data sent by the terminal A. If the decryption authority of the terminal B needs to be revoked, the hash operation result A corresponding to the terminal B is deleted in the business system. If there are multiple terminals in the intercom group, each member terminal must have the HMAC data packet corresponding to the member terminal account in order to have the decryption authority of the intercom message.

[0285] Following the above example, the communication method of the implementation mode of the present application is described. In the embodiment of the present application, the single work identifier is a single work AB1. The working key is a working key K. The first encryption key is a first symmetric key K12', the first encryption key identifier is an ID of the symmetric key K12', and the second encryption key is a second symmetric key K12'. The first working ciphertext is a first working ciphertext K1, the second working ciphertext is a second working ciphertext K2, and the quantum working ciphertext is a quantum working ciphertext E1.

[0286] See also Fig.21 , the quantum security SDK-A of terminal A carries group X, single work AB1 and identity token-A, hash operation result A, and quantum cryptography service system D where terminal B is located, and together applies for a working key from the quantum cryptography service system C corresponding to intercom terminal A. When the identity token-A and hash operation result A are verified to be correct, the quantum cryptography service system C randomly generates a working key K, and uses the first pre-filled key pre-filled in terminal A to encrypt the working key K to obtain the first working ciphertext K1 in the first key data. When the identity token-A and hash operation result A are verified to be correct, the quantum cryptography service system C applies to the quantum network node E in the quantum network to obtain the first symmetric key K12'. Then, the quantum cryptography service system C uses the first symmetric key K12' to encrypt the working key K to obtain the quantum working ciphertext E1. The quantum cryptography service system can control K12' to apply for permissions and key management. The quantum cryptography service system C sends the ID of the first working ciphertext K1, the quantum working ciphertext E1, and the first symmetric key K12' to the quantum security SDK-A of terminal A.

[0287] After receiving the identification of the first working ciphertext K1, the quantum working ciphertext E1 and the first symmetric key K12', the quantum security SDK-A decrypts the first working ciphertext K1 according to the first pre-filled key pre-filled in the terminal A to obtain the working key K, and uses the working key K to encrypt the first intercom data to obtain the first encrypted intercom data. Then, the quantum security SDK-A uploads the single work AB1, the ID of the first symmetric key K12', the group ID, the account information of the terminal A, the account information of the terminal B and the relevant information of the quantum cryptography service system C to the intercom service system.

[0288] The intercom service system queries the group table for hash operation result A based on the account information of terminal B. If hash operation result A does not exist, terminal B does not have the decryption authority for the first encrypted intercom data. If hash operation result A exists, the intercom service system synchronizes the first encrypted intercom data, quantum working ciphertext E1, ID of the first symmetric key K12', single working ID, group ID, account information of terminal A and quantum cryptography system C to terminal B.

[0289] The quantum security SDK-B of terminal B sends the hash operation result B, the identity Token-B of terminal B, the single work ID, the group ID, the account information of terminal A, the relevant information of the quantum cryptography system C, the quantum working ciphertext E1, and the ID of the symmetric key K12' to the quantum cryptography system D. The quantum cryptography system D verifies whether the identity Token-B is valid. If the identity Token-B is valid, the quantum cryptography system D confirms whether the uploaded hash operation result B is consistent with the hash operation result B stored in the quantum cryptography system D. If the uploaded hash operation result B is consistent with the hash operation result B stored in the quantum cryptography system D, the quantum cryptography system D applies to the quantum network node F in the quantum network according to the ID of the symmetric key K12' to obtain the second symmetric key K12'. In the above verification process, if any of the conditions are not met, the terminal B cannot obtain the first intercom data, and can only obtain error information. Then, the quantum cryptography system D uses the second symmetric key K12' to decrypt the quantum working ciphertext E1 to obtain the working key K. Then, the quantum cryptography system D uses the second pre-injected key pre-injected in the terminal B to encrypt the working key K to obtain the second working ciphertext K2, and sends the second working ciphertext K2 to the quantum security SDK-B of the terminal B.

[0290] The quantum security SDK-B of terminal B then decrypts the second working ciphertext K2 according to the second pre-filled key pre-filled in terminal B to obtain the working key K. Finally, the quantum security SDK-B uses the working key K to decrypt the first encrypted intercom data to obtain the first intercom data, completing the intercom communication.

[0291] It should be noted that quantum key distribution technology uses extremely weak light at the level of single photons, which provides higher security and lower energy consumption. However, key distribution methods based on physical signals are limited by distance. Therefore, although terminal A and terminal B use quantum key distribution technology to distribute keys, the safe communication distance between the two also has a limit range. Therefore, if the distance between the terminals in the intercom group is within the limit range, the quantum key distributed by the quantum network node in the quantum network is directly used to encrypt and protect the negotiated real-time working key to complete the communication. If the distance between the terminals in the intercom group exceeds the limit range, such as the distance between terminal B and terminal C exceeds the limit range, and the distance between terminal A and terminal B and terminal C is within the limit range, then terminal B and terminal C need to communicate through terminal A and combine the two-way key pool and key relay. The process of quantum key distribution is B→A→C. Terminal A has a two-way key pool for key exchange, so as to achieve long-distance cross-system distribution of quantum keys to the corresponding terminal B side and terminal C side.

[0292] The present application also provides a computer-readable storage medium containing a computer program. When the computer program is executed by one or more processors, the one or more processors execute the voice interaction method of the present application.

[0293] It is understood that a computer program includes computer program code. The computer program code may be in source code form, object code form, executable file or some intermediate form. Computer readable storage media may include: any entity or device capable of carrying computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), and software distribution medium.

[0294] In the description of this specification, the descriptions with reference to the terms "specifically", "further", "particularly", "understandably", etc. are intended to mean that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms are not intended to refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

[0295] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0296] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A method for establishing a cross-password system intercom group, characterized in that: The intercom group includes a first intercom terminal and a server, the method is used for the first intercom terminal, and the method includes: Selecting a second intercom terminal to join the intercom group, the first intercom terminal communicating based on a first password system, and the second intercom terminal communicating based on a second password system; Acquire second intercom terminal associated information of the second intercom terminal from the server; Acquire management key information from the server according to the second intercom terminal association information; A first session message is sent to the server, where the first session message is generated according to the management key information. The server performs an intercom group establishment verification according to the first session message and the second identity information of the second intercom terminal, so as to establish the intercom group if the verification passes.

2. The method according to claim 1, characterized in that: The selecting a second intercom terminal to join the intercom group includes: Sending a group establishment application to the server according to the first identity information of the first intercom terminal; When the group establishment application is approved, receiving a group identifier sent by the server; The second intercom terminal is selected to join the intercom group.

3. The method according to claim 2, characterized in that The acquiring the second intercom terminal associated information of the second intercom terminal from the server includes: Sending a query request for the associated information of the second intercom terminal to the server; The second intercom terminal association information sent by the server according to the query application is received, where the second intercom terminal association information includes a correspondence between a second cryptographic system identifier of the second cryptographic system and a second quantum network node connected to the second cryptographic system.

4. The method according to claim 3, characterized in that The acquiring management key information from the server according to the second intercom terminal association information includes: Sending a first management key application to the server according to the first identity information, the first terminal identifier of the first intercom terminal, the second terminal identifier of the second intercom terminal, the group identifier, the first cryptographic system identifier of the first cryptographic system, and the second intercom terminal association information; Receive a management key identifier and a first encrypted message distributed by the server according to the first management key application, wherein the management key identifier is obtained by the server identifying the first management key according to the first cryptographic system identifier, the first management key is obtained by the server from a quantum network connected to the server according to the first management key application, and the first encrypted message is obtained by the server encrypting the first terminal identifier, the second terminal identifier, the group identifier and the management key identifier according to the first management key.

5. The method according to claim 4, characterized in that The sending the first session message to the server includes: generating the first session message according to the first terminal identifier, the second terminal identifier, the group identifier, the management key identifier, and the first encrypted message; The first session message is sent to the server.

6. A method for establishing a cross-password system intercom group, characterized in that: The intercom group includes a first intercom terminal and a server, the method is used for the server, and the method includes: In response to selecting a second intercom terminal to join the intercom group through the first intercom terminal, sending second intercom terminal association information of the second intercom terminal to the first intercom terminal, wherein the first intercom terminal communicates based on a first password system and the second intercom terminal communicates based on a second password system; Generate management key information according to the second intercom terminal association information, and send the management key information to the first intercom terminal; receiving a first session message sent by the first intercom terminal, where the first session message is generated by the first intercom terminal according to the management key information; An intercom group establishment verification is performed according to the first conversation message and the second identity information of the second intercom terminal, so as to establish the intercom group if the verification passes.

7. The method according to claim 6, characterized in that The method further comprises: receiving a group establishment application sent by the first intercom terminal according to the first identity information of the first intercom terminal; A group is established according to the group establishment application, and a group identifier is sent to the first intercom terminal.

8. The method according to claim 6, characterized in that The sending the second intercom terminal association information of the second intercom terminal to the first intercom terminal includes: receiving a query request for associated information of the second intercom terminal sent by the first intercom terminal; The second intercom terminal association information is sent to the first intercom terminal according to the query application, where the second intercom terminal association information includes a correspondence between a second cryptographic system identifier of a second cryptographic system and a second quantum network node connected to the second cryptographic system.

9. The method according to claim 7, characterized in that: The generating management key information according to the second intercom terminal association information and sending the management key information to the first intercom terminal includes: Receiving a first management key application sent by the first intercom terminal according to the first identity information, the first terminal identifier of the first intercom terminal, the second terminal identifier of the second intercom terminal, the group identifier, the first cryptographic system identifier of the first cryptographic system, and the second intercom terminal association information; Obtaining a first management key and a management key identifier from the quantum network accessed according to the first management key application; Encrypting the first terminal identifier, the second terminal identifier, the group identifier, and the management key identifier according to the first management key to obtain a first encrypted message; The management key identifier and the first encrypted message are sent to the first intercom terminal.

10. The method according to claim 9, characterized in that The method further comprises: The corresponding relationship between the first encrypted message and the second intercom terminal is stored.

11. The method according to claim 9, characterized in that The performing intercom group establishment verification according to the first conversation message and the second identity information of the second intercom terminal, so as to establish the intercom group if the verification passes, includes: Sending the first terminal identifier, the group identifier, the management key identifier and the first encrypted message to the second intercom terminal; receiving the second identity information of the second intercom terminal, the first terminal identifier, the group identifier, the management key identifier and the first encrypted message returned by the second intercom terminal; Obtaining a second management key from the quantum network accessed according to the management key identifier; Encrypting the first terminal identifier, the second terminal identifier, the group identifier, and the management key identifier according to the second management key to obtain a second encrypted message; The intercom group establishment verification is performed according to the second identity information, the first encrypted message and the second encrypted message.

12. The method according to claim 11, characterized in that The performing the intercom group establishment verification according to the second identity information, the first encrypted message and the second encrypted message includes: In the case where the second identity information is invalid, confirming that the intercom group establishment verification fails and the intercom group establishment fails; If the second identity information is valid and the second encrypted message is consistent with the first encrypted message, confirm that the intercom group establishment verification is passed, establish the intercom group, and send an intercom group establishment verification pass message to the second intercom terminal; When the second identity information is valid and the second encrypted message is inconsistent with the first encrypted message, it is confirmed that the intercom group establishment verification has failed and the intercom group establishment has failed.

13. A communication method for an intercom group, characterized in that: The intercom group is established based on the method according to any one of claims 1 to 12, the intercom group includes a first intercom terminal, a second intercom terminal and a server, the method is used for the server, and the method includes: Receiving a working key application sent by the first intercom terminal; Generate first key data according to the working key application, and send the first key data to the first intercom terminal; Receiving first intercom information sent by the first intercom terminal, and synchronizing the first intercom information to the second intercom terminal, where the first intercom information is generated by the first intercom terminal according to the first key data; Generate second key data according to the first intercom information, and send the second key data to the second intercom terminal, so that the second intercom terminal can decrypt the first intercom information according to the second key data to complete the communication.

14. The communication method according to claim 13, characterized in that: The working key application includes a group identifier, first identity information of the first intercom terminal, a first encrypted message, a first cryptographic system identifier of the first cryptographic system, and a second cryptographic system identifier of the second cryptographic system, and generating first key data according to the working key application and sending the first key data to the first intercom terminal includes: Randomly generate a working key according to the working key application sent by the first intercom terminal; Encrypting the working key according to the first pre-filled key pre-filled in the first intercom terminal to obtain a first working ciphertext in the first key data; Applying for a first encryption key from the quantum network to which the access is based on the working key application, and performing identification processing on the first encryption key to obtain an encryption key identifier in the first key data; Encrypting the working key according to the first encryption key to obtain the quantum working ciphertext in the first key data; The first working ciphertext, the encryption key identifier and the quantum working ciphertext are sent to the first intercom terminal.

15. The communication method according to claim 14, characterized in that: The receiving the first intercom information sent by the first intercom terminal and synchronizing the first intercom information to the second intercom terminal includes: Receive first intercom information sent by the first intercom terminal, the first intercom information including the quantum working ciphertext, the encryption key identifier, the group identifier, the first terminal identifier, the second terminal identifier, the first cryptographic system identifier and the first encrypted intercom data, the first encrypted intercom data is obtained by the first intercom terminal encrypting the first intercom data according to the working key, and the working key is obtained by the first intercom terminal decrypting the first working ciphertext according to the first pre-filled key; According to the second terminal identifier, when it is determined that the corresponding relationship between the first encrypted message and the second intercom terminal is stored in the server, the first intercom information is synchronized to the second intercom terminal.

16. The communication method according to claim 15, characterized in that: The step of generating second key data according to the first intercom information and sending the second key data to the second intercom terminal includes: Receiving the first encrypted message, the second identity information of the second intercom terminal, the group identifier, the first terminal identifier, the first cryptographic system identifier, the quantum working ciphertext, and the encryption key identifier returned by the second intercom terminal; Decryption authority verification is performed based on the second identity information, the first encrypted message, and the second encrypted message.

17. The communication method according to claim 16, characterized in that: The performing decryption authority verification according to the second identity information, the first encrypted message and the second encrypted message includes: In the case where the second identity information is invalid, confirming that the decryption authority verification fails and the communication fails; If the second identity information is valid and the second encrypted message is inconsistent with the first encrypted message, confirming that the decryption authority verification has failed and the communication has failed; When the second identity information is valid and the second encrypted message is consistent with the first encrypted message, it is confirmed that the decryption authority verification is passed, and the second intercom terminal can decrypt the first encrypted intercom data.

18. The communication method according to claim 17, characterized in that: The confirming that the decryption authority verification is passed includes: Apply to the connected quantum network for obtaining a second encryption key according to the encryption key identifier; Decrypting the quantum working ciphertext according to the second encryption key to obtain the working key; The working key is encrypted by the second pre-injected key pre-injected in the second intercom terminal to obtain the second working ciphertext in the second key data, and the second working ciphertext is sent to the second intercom terminal, so that the second intercom terminal can decrypt the first encrypted intercom data according to the second working ciphertext to obtain the first intercom data, thereby completing the communication.

19. A first intercom terminal, characterized in that: The first intercom terminal includes one or more processors and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the method according to any one of claims 1 to 5 is implemented.

20. A server, characterized in that: The server includes one or more processors and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the method described in any one of claims 6 to 18 is implemented.

21. A cross-password system intercom group, characterized in that: The cross-password system intercom group includes the first intercom terminal as claimed in claim 19, the server as claimed in claim 20, and the second intercom terminal.

22. A computer-readable storage medium, characterized in that: The computer-readable storage medium memory stores a computer program, and when the computer program is executed by one or more processors, the method according to any one of claims 1 to 18 is implemented.

Citation Information

Patent Citations

  • Authentication method and device for talkback terminal

    CN107707525A

  • Public network interphone encryption communication method

    CN115278667A

  • Quantum encryption call method, device and communication system

    CN117579271A

  • Method for downloading key, client, password device, and terminal device

    US20230353389A1

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

    WO2022213564A1