-
公开(公告)号:US20200241981A1
公开(公告)日:2020-07-30
申请号:US16847171
申请日:2020-04-13
Applicant: Huawei Technologies Co., Ltd.
Abstract: A consensus process recovery method and a related node, where the method includes determining, by a plurality of nodes, a target instance from one or more secondary instances, where a throughput of the target instance is higher than a throughput of a primary instance, and obtaining, by a first node and all second nodes, a consensus to replace the primary instance with the target instance as a new primary instance, where the second nodes are backup nodes running the target instance, and the first node is a primary node running the target instance.
-
公开(公告)号:US11847135B2
公开(公告)日:2023-12-19
申请号:US17166718
申请日:2021-02-03
Applicant: Huawei Technologies Co., Ltd.
Inventor: Qi Liu , Jian Ding , Yanlan Wei
CPC classification number: G06F16/27 , G06F16/2455 , G06F16/284 , G06Q20/0658 , G06Q20/389
Abstract: A transaction method and a node design in a blockchain system, where a client initiates a transaction using a Structured Query Language (SQL) write command including transaction data or queries transaction data using an SQL query command. A node parses an SQL command, executes a simulated transaction, and checks block data based on a transaction result of the simulated transaction after obtaining the block data. After the check succeeds, the node converts the block data into an SQL write command that writes the block data, thereby writing the block data to a relational database (RDB).
-
公开(公告)号:US20210157823A1
公开(公告)日:2021-05-27
申请号:US17166718
申请日:2021-02-03
Applicant: Huawei Technologies Co., Ltd.
Inventor: Qi Liu , Jian Ding , Yanlan Wei
IPC: G06F16/27 , G06F16/2455 , G06F16/28
Abstract: A transaction method and a node design in a blockchain system, where a client initiates a transaction using a Structured Query Language (SQL) write command including transaction data or queries transaction data using an SQL query command. A node parses an SQL command, executes a simulated transaction, and checks block data based on a transaction result of the simulated transaction after obtaining the block data. After the check succeeds, the node converts the block data into an SQL write command that writes the block data, thereby writing the block data to a relational database (RDB).
-
公开(公告)号:US11200123B2
公开(公告)日:2021-12-14
申请号:US16847171
申请日:2020-04-13
Applicant: Huawei Technologies Co., Ltd.
Abstract: A consensus process recovery method and a related node, where the method includes determining, by a plurality of nodes, a target instance from one or more secondary instances, where a throughput of the target instance is higher than a throughput of a primary instance, and obtaining, by a first node and all second nodes, a consensus to replace the primary instance with the target instance as a new primary instance, where the second nodes are backup nodes running the target instance, and the first node is a primary node running the target instance.
-
公开(公告)号:US20240061861A1
公开(公告)日:2024-02-22
申请号:US18501225
申请日:2023-11-03
Applicant: Huawei Technologies Co., Ltd.
Inventor: Qi Liu , Jian Ding , Yanlan Wei
IPC: G06F16/27 , G06F16/2455 , G06F16/28
CPC classification number: G06F16/27 , G06F16/2455 , G06F16/284 , G06Q20/0658
Abstract: The present invention provides a transaction method and a node design in a blockchain system. A client initiates a transaction by using an SQL write command including transaction data or queries transaction data by using an SQL query command. A node parses an SQL command, executes a simulated transaction, and checks block data based on a transaction result of the simulated transaction after obtaining the block data. After the check succeeds, the node converts the block data into an SQL write command used to write the block data, thereby writing the block data to an RDB database. In embodiments of the present invention, an RDB data block is connected to the blockchain system, so that data query and processing capabilities of the blockchain system are improved.
-
公开(公告)号:US11902450B2
公开(公告)日:2024-02-13
申请号:US16992455
申请日:2020-08-13
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
CPC classification number: H04L9/3247 , G06F21/6245 , G06Q20/3825
Abstract: A method for blockchain generation is provided. The method includes: sending, by a client, transaction information to a first node device, where the transaction information includes basic information and digest information; receiving, by the client, an endorsement result sent by the first node device, where the endorsement result includes a signature generated after the first node device successfully performs transaction simulation; and if the endorsement result meets a preset transaction condition, sending, by the client, the digest information and the endorsement result to a second node device, so that the second node device sends, to the first node device the digest information to generate a complete blockchain. In this way, only the digest information is transmitted between the first node device and the second node device. Therefore, the second node device does not obtain the complete transaction information, so that information security is improved.
-
-
-
-
-