Invention Grant
- Patent Title: Electronic device and method for packaging blocks of blockchain
-
Application No.: US17347881Application Date: 2021-06-15
-
Publication No.: US12074964B2Publication Date: 2024-08-27
- Inventor: Shiaw-Herng Liu
- Applicant: HON HAI PRECISION INDUSTRY CO., LTD.
- Applicant Address: TW New Taipei
- Assignee: HON HAI PRECISION INDUSTRY CO., LTD.
- Current Assignee: HON HAI PRECISION INDUSTRY CO., LTD.
- Current Assignee Address: TW New Taipei
- Agency: ScienBiziP, P.C.
- Priority: CN 2010544660.1 2020.06.15
- Main IPC: H04L9/06
- IPC: H04L9/06 ; G06F7/58 ; G06F16/27 ; H04L9/00

Abstract:
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.
Public/Granted literature
- US20210391980A1 ELECTRONIC DEVICE AND METHOD FOR PACKAGING BLOCKS OF BLOCKCHAIN Public/Granted day:2021-12-16
Information query