Search

WO-2026091641-A1 - DATA TRANSMISSION METHOD AND APPARATUS

WO2026091641A1WO 2026091641 A1WO2026091641 A1WO 2026091641A1WO-2026091641-A1

Abstract

The present application relates to the technical field of communications, and provides a data transmission method and apparatus. Data in one distributed ledger can be transmitted to another distributed ledger, achieving information interaction between different distributed ledgers, improving user experience. The method comprises: a first node determines a first message, sends the first message to a second node, and then receives a second message, wherein the first message is used for indicating a first identifier, a second identifier, and information of first data, the first identifier is an identifier of a first distributed ledger, the second identifier is an identifier of a second distributed ledger, the first distributed ledger and the second distributed ledger belong to different operators, the first data is data in the first distributed ledger, the information of the first data comprises the first data or an identifier of the first data, the second node is a node in the second distributed ledger, and the second message is used for indicating whether the first data is successfully stored in the second distributed ledger.

Inventors

  • SONG, Yurong
  • WANG, DONGHUI
  • LIU, Faye
  • XIAO, Xun

Assignees

  • 华为技术有限公司

Dates

Publication Date
20260507
Application Date
20250630
Priority Date
20241104

Claims (20)

  1. A data transmission method, characterized in that the method is applied to a first node, the first node being a node in a first distributed ledger, the method comprising: A first message is determined, which is used to indicate information about a first identifier, a second identifier, and first data. The first identifier is the identifier of a first distributed ledger, the second identifier is the identifier of a second distributed ledger, the first distributed ledger and the second distributed ledger belong to different operators, the first data is data in the first distributed ledger, and the information of the first data includes the first data or the identifier of the first data. Send the first message to the second node, where the second node is a node in the second distributed ledger; A second message is received, which indicates whether the first data has been successfully stored in the second distributed ledger.
  2. The method according to claim 1, characterized in that, when the second message indicates that the first data has been successfully stored in the second distributed ledger, the method further includes: Sign the information, the first identifier, and the second identifier of the first data to generate a data output transaction; The data output transactions are stored in the first distributed ledger.
  3. The method according to claim 2, wherein the second message is further used to indicate a second verification path, the second verification path being the verification path of the first data in the second distributed ledger; The step of signing the information of the first data, the first identifier, and the second identifier to generate a data output transaction includes: When it is determined based on the second verification path that the first data has been stored in the second distributed ledger, the information of the first data, the first identifier, and the second identifier are signed to generate the data output transaction.
  4. The method according to claim 1, characterized in that, before determining the first message, the method further includes: Sign the information, the first identifier, and the second identifier of the first data to generate a data output transaction; Based on the data output transaction, a first verification path is determined. The first verification path is the verification path of the first data in the first distributed ledger. The first message is also used to indicate the first verification path.
  5. The method according to claim 4, characterized in that the method further comprises: The data output transactions are stored in the first distributed ledger.
  6. The method according to any one of claims 2-5, characterized in that, The first distributed ledger includes a first blockchain and a first database. The data output transactions are stored in the first blockchain. The first database includes information about the first data and a first timestamp, where the first timestamp is the timestamp when the node to which the first data belongs joins the first distributed ledger. The method further includes: Delete the information of the first data from the first database; or, The first timestamp is updated to an output indication, which indicates that the first data has been output from the first distributed ledger.
  7. The method according to any one of claims 1-6, characterized in that, when the information of the first data includes the identifier of the first data, before receiving the second message, the method further includes: Send the first data to the second node.
  8. The method according to any one of claims 1-7, wherein the first message is further used to indicate one or more of the following: the reason for the output of the first data, the identifier of the node to which the first data belongs, and the signature of the first node; The reasons for the output of the first data include the node to which the first data belongs joining the second distributed ledger, or the second distributed ledger subscribing to data in the first distributed ledger.
  9. The method according to any one of claims 1-8, characterized in that determining the first message includes: Determine whether to allow the first data to be output from the first distributed ledger; The first message is determined when it is determined that the first data can be output from the first distributed ledger.
  10. According to the method of claim 9, the data access policy of the first distributed ledger indicates that data output from the first distributed ledger is permitted, meaning that the first data is permitted to be output from the first distributed ledger.
  11. The method according to claim 9 or 10, characterized in that, before determining whether to allow the first data to be output from the first distributed ledger, the method further includes: Receive a third message, the third message being used to indicate the identifier of the first data; The step of determining whether to allow the first data to be output from the first distributed ledger includes: When the first data exists in the first distributed ledger, it is determined that the first data is allowed to be output from the first distributed ledger.
  12. According to the method of claim 11, the third message further indicates the second identifier, and/or the reason for the output of the first data, wherein the reason for the output of the first data includes the node to which the first data belongs joining the second distributed ledger, or the second distributed ledger subscribing to data in the first distributed ledger.
  13. The method according to any one of claims 9-12, characterized in that, If the time difference between the first timestamp and the current time is less than a first threshold, it means that the first data is allowed to be output from the first distributed ledger; Wherein, the first timestamp is the timestamp when the node to which the first data belongs is added to the first distributed ledger.
  14. According to the method of claim 13, when the reason for the output of the first data is that the node to which the first data belongs is added to the second distributed ledger, the time difference between the first timestamp and the current time is less than a first threshold, indicating that the first data is allowed to be output from the first distributed ledger.
  15. The method according to any one of claims 9-14, wherein the first distributed ledger contains the second identifier, indicating that the first data is allowed to be output from the first distributed ledger.
  16. The method according to any one of claims 1-15, characterized in that, before determining the first message, the method further comprises: Receive a fourth message, the fourth message being used to indicate the identifier of the first data and the second identifier; Determining the first message includes: The first message is determined based on the fourth message.
  17. According to the method of claim 16, the fourth message is further used to indicate the reason for the output of the first data, the reason for the output of the first data including the node to which the first data belongs joining the second distributed ledger, or the second distributed ledger subscribing to data in the first distributed ledger.
  18. The method according to claim 16 or 17, wherein the fourth message is used to indicate that the second distributed ledger has permission to access the first data.
  19. A data transmission method, characterized in that the method is applied to a second node, the second node being a node in a second distributed ledger, the method comprising: Receive a first message from a first node, the first message including information for indicating a first identifier, a second identifier and first data, the first node is a node in a first distributed ledger, the first identifier is an identifier of the first distributed ledger, the second identifier is an identifier of a second distributed ledger, the first distributed ledger and the second distributed ledger belong to different operators, the first data is data in the first distributed ledger, and the information of the first data includes the first data or the identifier of the first data. Based on the first identifier, determine whether the second distributed ledger allows the first data input; When it is determined that the second distributed ledger allows the first data input, the first identifier, the second identifier, the information of the first data and the second timestamp are signed to generate a data input transaction, where the second timestamp is the timestamp when the node to which the first data belongs is added to the second distributed ledger. The data input transaction is stored in the second distributed ledger; A second message is sent to the first node, the second message indicating whether the first data has been successfully stored in the second distributed ledger.
  20. The method according to claim 19, wherein the first message is further used to indicate the signature of the first node; The method further includes: verifying the signature of the first node; When it is determined that the second distributed ledger allows the first data input, the first identifier, the second identifier, the information of the first data, and the second timestamp are signed to generate a data input transaction, including: When it is determined that the second distributed ledger allows the first data input and the signatures of the first nodes are all verified, the first identifier, the second identifier, the information of the first data, the signature of the first node, and the second timestamp are signed to generate a data input transaction.

Description

Data transmission method and apparatus This application claims priority to Chinese Patent Application No. 202411565083.9, filed on November 4, 2024, entitled "Data Transmission Method and Apparatus", the entire contents of which are incorporated herein by reference. Technical Field This application relates to the field of communication technology, and in particular to data transmission methods and apparatus. Background Technology A distributed ledger (DL) is a database that is shared, replicated, and synchronized among network members. Distributed ledgers can record transactions between network members, such as the exchange of assets or data. Essentially, a distributed ledger is a shared database where the data or information stored is characterized by being unforgeable, fully traceable, auditable, transparent, and collectively maintained. Therefore, distributed ledger technology has a high probability of being introduced into communication networks in the future to improve communication network security. If distributed ledger technology is introduced into communication networks, multiple operators can establish distributed ledgers based on equipment within the network, such as access network equipment or core network equipment. A distributed ledger can store information (such as data) about its nodes. However, if different distributed ledgers cannot exchange information, it will negatively impact the user experience. Summary of the Invention This application provides a data transmission method and apparatus, which can transmit data from one distributed ledger to another, enabling information interaction between different distributed ledgers and improving user experience. To achieve the above objectives, this application adopts the following technical solution: Firstly, a data transmission method is provided, which can be executed by a first node. Here, the first node can refer to the first node itself, or to a processor, circuit, module, logic node, chip, or chip system within the first node that implements the method. For example, the first node can be any node in a first distributed ledger, such as a distributed ledger enabler (DLE) network element, which can be deployed in a terminal, radio access network (RAN) node, or a network element in the core network. Alternatively, the first node can be a node associated with the first distributed ledger, such as a distributed ledger anchor function (DLAF) network element, or the first node can simultaneously possess both DLE and DLAF functions. The method includes: determining a first message, sending the first message to a second node, and then receiving a second message; wherein the first message is used to indicate information about a first identifier, a second identifier, and first data, the first identifier being an identifier of a first distributed ledger, the second identifier being an identifier of a second distributed ledger, the first distributed ledger and the second distributed ledger belonging to different operators, the first data being data in the first distributed ledger, the information of the first data including the first data or the identifier of the first data, the second node being a node in the second distributed ledger, and the second message being used to indicate whether the first data was successfully stored in the second distributed ledger. Based on the method provided in the first aspect above, when there is a need for cross-ledger data transmission between distributed ledgers built by different operators (for example, data stored in the first distributed ledger (such as first data) needs to be transmitted to the second distributed ledger for storage, and the first and second distributed ledgers are built by different operators), the node in the first distributed ledger (i.e., the first node) can send the identifier of the first distributed ledger (i.e., the first identifier), the identifier of the second distributed ledger (the second identifier), and the information of the data to be transmitted (i.e., the first data) to the node in the second distributed ledger (i.e., the second node). That is, the first node can send a first message to the second node, wherein the first message is used to indicate the information of the first identifier, the second identifier, and the first data. Understandably, different operators use SEPP to exchange information to ensure the security of information exchange between operators. Therefore, the first node can send the first message to the SEPP of the operator to which the first distributed ledger belongs, and then the SEPP of the operator to which the first distributed ledger belongs will send the first message to the SEPP of the operator to which the second distributed ledger belongs, so as to ensure that the transmission of the first message between the two operators is secure. Furthermore, since the first message is used to indicate the first identifier and the second identifier, the second no