- 专利标题: Electronic device and method for packaging blocks of blockchain
-
申请号: US17347881申请日: 2021-06-15
-
公开(公告)号: US12074964B2公开(公告)日: 2024-08-27
- 发明人: Shiaw-Herng Liu
- 申请人: HON HAI PRECISION INDUSTRY CO., LTD.
- 申请人地址: TW New Taipei
- 专利权人: HON HAI PRECISION INDUSTRY CO., LTD.
- 当前专利权人: HON HAI PRECISION INDUSTRY CO., LTD.
- 当前专利权人地址: TW New Taipei
- 代理机构: ScienBiziP, P.C.
- 优先权: CN 2010544660.1 2020.06.15
- 主分类号: H04L9/06
- IPC分类号: H04L9/06 ; G06F7/58 ; G06F16/27 ; H04L9/00
摘要:
A method for packaging blocks of a blockchain implemented in an electronic device. The method identifies whether a packaged block is valid, and extracts from a header of valid packaged block geographic location information of the submitting blockchain node. A mining difficulty of the electronic device is calculated according to the geographic location information of the electronic device and the blockchain node, and a random number is generated. A hash value is calculated according to the random number and a determination made as to whether the calculated hash value conforms to the mining difficulty. If the calculated hash value is determined to conform to the mining difficulty, the geographic location information of the electronic device is encoded into a new block and the new block is written into the blockchain.
公开/授权文献
信息查询