Search

CN-121986508-A - Communication method and device

CN121986508ACN 121986508 ACN121986508 ACN 121986508ACN-121986508-A

Abstract

The present application relates to a communication method, apparatus, computer-readable storage medium, computer program product, and computer program. The method comprises the steps of sending a group request message to a first service node, wherein the group request message carries a group parameter, the group parameter is calculated based on the identifiers of a plurality of target devices, and receiving a group response message from the first service node, wherein the group response message carries a private key corresponding to the group parameter.

Inventors

  • GAN LU
  • LIU XUEFENG
  • GONG DAN
  • LIU WENYA
  • SHI CONG

Assignees

  • OPPO广东移动通信有限公司

Dates

Publication Date
20260505
Application Date
20230921

Claims (20)

  1. A method of communication performed by a first device, comprising: Transmitting a group request message to a first service node, wherein the group request message carries a group parameter, and the group parameter is calculated based on the identifiers of a plurality of target devices; And receiving a group response message from the first service node, wherein the group response message carries a private key corresponding to the group parameter.
  2. The method of claim 1, wherein the method further comprises: Calculating a parameter value of each target device based on the identification of each target device in the plurality of target devices; the group parameters are calculated based on the parameter values of each target device.
  3. The method of claim 2, wherein the calculating the group parameter based on the parameter value of each target device comprises: the group parameters are calculated based on the parameter value of each target device and the identification of the first device.
  4. A method according to any one of claims 1-3, wherein the method further comprises: and receiving a registration request from each target device in the plurality of target devices, wherein the registration request of each target device carries an identifier of each target device.
  5. The method of any of claims 1-4, wherein the method further comprises: Uploading the group parameters to a blockchain.
  6. The method of any of claims 1-5, wherein the method further comprises: Transmitting a group update message to the first service node under the condition that the revoked devices exist in the plurality of target devices, wherein the group update message carries updated group parameters, and the updated group parameters are updated based on the identification of the revoked devices; And receiving a group update response message from the first service node, wherein the group update response message carries a private key corresponding to the updated group parameter.
  7. The method of any of claims 1-6, wherein the first device comprises one of a terminal, an access network device, and the target device comprises one of an internet of things device, a zero power consumption device.
  8. A method of communication performed by a first serving node, comprising: Receiving a group request message from a first device, wherein the group request message carries a group parameter; calculating a private key corresponding to the group parameter based on the group parameter; and sending a group response message to the first device, wherein the group response message carries a private key corresponding to the group parameter.
  9. The method of claim 8, wherein the calculating, based on the group parameter, a private key corresponding to the group parameter comprises: Transmitting the group parameters to a first joint node; receiving a first group security parameter from the first joint node, wherein the first group security parameter is calculated based on the group parameter; And calculating a private key corresponding to the group parameter based on the first group security parameter and the group parameter.
  10. The method of claim 9, wherein the calculating a private key corresponding to the group parameter based on the first group security parameter and the group parameter comprises: calculating a second group security parameter based on the group parameter and a primary private key of the first service node; and calculating a private key corresponding to the group parameter based on the first group security parameter and the second group security parameter.
  11. The method according to any one of claims 8-10, wherein the method further comprises: Uploading the group parameters to a blockchain.
  12. The method according to any one of claims 8-11, wherein the method further comprises: Receiving a group update message from a first device, wherein the group update message carries the updated group parameters; calculating a private key corresponding to the updated group parameter based on the updated group parameter; and sending a group update response message to the first device, wherein the group update response message carries a private key corresponding to the updated group parameter.
  13. The method of any of claims 8-12, wherein the first device comprises one of a terminal, an access network device.
  14. A method of communication performed by a second device, comprising: Sending a first request message to a second service node, wherein the first request message carries an identifier of the second equipment; And receiving a first response message from the second service node, wherein the first response message carries a private key corresponding to the second device, and the private key corresponding to the second device is obtained based on the identification of the second device.
  15. The method of claim 14, wherein the first response message further carries location information of the second service node's certificate on a blockchain.
  16. The method of claim 14 or 15, wherein the second device comprises one of an internet of things device, a zero power device, a terminal, an access network device.
  17. A method of communication performed by a second service node, comprising: Receiving a first request message from a second device, wherein the first request message carries an identifier of the second device; calculating a private key corresponding to the second equipment based on the identification of the second equipment and a second joint node; And sending a first response message to the second device, wherein the first response message carries a private key corresponding to the second device.
  18. The method of claim 17, wherein the computing, with a second binding node, a private key corresponding to the second device based on the identification of the second device, comprises: Sending an identification of the second device to the second joining node; Receiving a first security parameter from the second joint node, wherein the first security parameter is calculated based on the identification of the second device; And calculating a private key corresponding to the second equipment based on the first security parameter and the identification of the second equipment.
  19. The method of claim 18, wherein the calculating a private key corresponding to the second device based on the first security parameter, the identity of the second device, comprises: calculating a second security parameter based on the identity of the second device and a master private key of the second service node; And calculating a private key corresponding to the second equipment based on the first security parameter and the second security parameter.
  20. The method of any of claims 17-19, wherein the first response message further carries location information of the second service node's certificate on a blockchain.

Description

Communication method and device Technical Field The present application relates to the field of communications, and more particularly, to a communication method, apparatus, computer-readable storage medium, computer program product, and computer program. Background With the development of technology, there is a communication requirement between an internet of things device (or group) or a zero power consumption device (or group) and a network side device or other internet of things devices (or zero power consumption devices), and authentication processing needs to be completed for the internet of things device (or group) or the zero power consumption device (or group) to realize communication. In the authentication processing of the zero power consumption or the internet of things group, a private key related to the group or a private key related to the internet of things device or the zero power consumption device is required to be used, however, how to ensure the generation efficiency and the security of the private key becomes a problem to be solved. Disclosure of Invention Embodiments of the present application provide a communication method, apparatus, computer-readable storage medium, computer program product, and computer program. The embodiment of the application provides a communication method executed by first equipment, which comprises the following steps: Transmitting a group request message to a first service node, wherein the group request message carries a group parameter, and the group parameter is calculated based on the identifiers of a plurality of target devices; And receiving a group response message from the first service node, wherein the group response message carries a private key corresponding to the group parameter. The embodiment of the application provides a communication method executed by a first service node, which comprises the following steps: Receiving a group request message from a first device, wherein the group request message carries a group parameter; calculating a private key corresponding to the group parameter based on the group parameter; and sending a group response message to the first device, wherein the group response message carries a private key corresponding to the group parameter. The embodiment of the application provides a communication method executed by second equipment, which comprises the following steps: Sending a first request message to a second service node, wherein the first request message carries an identifier of the second equipment; And receiving a first response message from the second service node, wherein the first response message carries a private key corresponding to the second device, and the private key corresponding to the second device is obtained based on the identification of the second device. The embodiment of the application provides a communication method executed by a second service node, which comprises the following steps: Receiving a first request message from a second device, wherein the first request message carries an identifier of the second device; calculating a private key corresponding to the second equipment based on the identification of the second equipment and a second joint node; And sending a first response message to the second device, wherein the first response message carries a private key corresponding to the second device. The embodiment of the application provides a communication method executed by a second service node, which comprises the following steps: Sending a second request message to the issuing node; And receiving a second response message from the issuing node, wherein the second response message carries the position information of the certificate of the second service node on a blockchain. The embodiment of the application provides a communication method executed by an issuing node, which comprises the following steps: Receiving a second request message from a second service node; Generating a certificate of the second service node; Uploading the certificate of the second service node to a blockchain to obtain the position information of the certificate of the second service node on the blockchain; And sending a second response message to the second service node, wherein the second response message carries the position information of the certificate of the second service node on a blockchain. The embodiment of the application provides first equipment, which comprises: The first communication unit is used for sending a group request message to a first service node, wherein the group request message carries a group parameter, the group parameter is obtained by calculation based on the identifiers of a plurality of target devices, and the first communication unit is used for receiving a group response message from the first service node, wherein the group response message carries a private key corresponding to the group parameter. An embodiment of the present application provides a first servic