WO2017133485A1

Method of establishing communication between apparatuses, device, and system

Abstract

The present invention provides a method of establishing communication between apparatuses, device, and system. The method comprises: a second apparatus acquires a first apparatus public key, and encrypts, according to the first apparatus public key, a session key; the second apparatus transmits to the first apparatus the encrypted session key; the first apparatus decrypts, in a trusted environment, using a first apparatus private key, the received session key; and the first apparatus performs, using the decrypted session key, digital communication with the second apparatus. In the invention, the private key of the apparatus is used and the decryption of the session key is performed in a trusted environment, thereby preventing interception of the key and the session key owing to an OS security hole, and increasing security of communication between apparatuses.

WO2017133485A1, drawing sheet 1
Sheet 1 of 12

Term

No projected expiry on record.

  1. Priority
  2. Filed
  3. Published
  4. Today

41 claims: 7 independent, 34 dependent

  1. 1
    A method for establishing communication between devices, characterized in that the method includes:一种建立设备间通信的方法,其特征在于,该方法包括: The first device receives the encrypted session key sent by the second device;第一设备接收第二设备发送的加密后的会话密钥;In a trusted environment, the private key of the first device is used to decrypt the encrypted session key, and the decrypted session key is used to perform data communication with the second device. 在可信环境中利用第一设备私钥解密所述加密后的会话密钥,并利用解密得到的会话密钥与所述第二设备进行数据通信。
  2. 10
    A method for establishing communication between devices, characterized in that the method includes:一种建立设备间通信的方法,其特征在于,该方法包括: The second device obtains the public key of the first device;第二设备获取第一设备公钥;Use the public key of the first device to encrypt the session key and send it to the first device;利用第一设备公钥对会话密钥进行加密后发送给第一设备;Use the session key to perform data communication with the first device. 利用所述会话密钥与所述第一设备进行数据通信。
  3. 17
    A method for establishing communication between devices, characterized in that the method includes:一种建立设备间通信的方法,其特征在于,该方法包括: The identification service device receives the identification information of the first device sent by the second device;标识服务设备接收第二设备发送的第一设备的标识信息;Return the first device public key corresponding to the identification information of the first device to the second device, so that the second device uses the first device public key to encrypt the session key and then sends it to the first device. The session key is used for data communication between the first device and the second device. 向所述第二设备返回所述第一设备的标识信息对应的第一设备公钥,以便所述第二设备利用第一设备公钥对会话密钥进行加密后发送给第一设备,所述会话密钥用于第一设备与第二设备之间的数据通信。
  4. 21
    A device for establishing communication between devices is set in a first device, and is characterized in that the device includes:一种建立设备间通信的装置,设置于第一设备,其特征在于,该装置包括: The key receiving unit is used to receive the encrypted session key sent by the second device;密钥接收单元,用于接收第二设备发送的加密后的会话密钥;The trusted execution unit is used to decrypt the encrypted session key using the private key of the first device in a trusted environment, and use the decrypted session key to perform the exchange between the first device and the second device Data communication between. 可信执行单元,用于在可信环境中利用第一设备私钥解密所述加密后的会话密钥,并利用解密得到的会话密钥,进行所述第一设备与所述第二设备之间的数据通信。
  5. 30
    A device for establishing communication between devices is set in a second device, and is characterized in that the device includes:一种建立设备间通信的装置,设置于第二设备,其特征在于,该装置包括: The public key acquisition unit is used to acquire the public key of the first device;公钥获取单元,用于获取第一设备公钥;The key processing unit is used to encrypt the session key using the public key of the first device and send it to the first device;密钥处理单元,用于利用第一设备公钥对会话密钥进行加密后发送给第一设备;The data communication unit is configured to use the session key to perform data communication between the second device and the first device. 数据通信单元,用于利用所述会话密钥,进行所述第二设备与所述第一设备之间的数据通信。
  6. 37
    A device for establishing communication between devices, which is set in an identification service device, and is characterized in that the device includes:一种建立设备间通信的装置,设置于标识服务设备,其特征在于,该装置包括: The receiving unit is used to receive the identification information of the first device sent by the second device;接收单元,用于接收第二设备发送的第一设备的标识信息;The determining unit is used to determine the first device public key corresponding to the identification information of the first device;确定单元,用于确定所述第一设备的标识信息对应的第一设备公钥;The sending unit is configured to return the first device public key to the second device, so that the second device uses the first device public key to encrypt the session key and then sends it to the first device. The session key Used for data communication between the first device and the second device. 发送单元,用于向所述第二设备返回所述第一设备公钥,以便所述第二设备利用第一设备公钥对会话密钥进行加密后发送给第一设备,所述会话密钥用于第一设备与第二设备之间的数据通信。
  7. 40
    A system for establishing communication between devices, characterized in that the system includes a first device and a second device;一种建立设备间通信的系统,其特征在于,该系统包括第一设备和第二设备;The first device includes the device according to any one of claims 21 to 28;所述第一设备包括如权利要求21至28任一权项所述的装置;The second device includes the device according to any one of claims 30 to 34. 所述第二设备包括如权利要求30至34任一权项所述的装置。