Blockchain data search method
A blockchain data search method is proposed, the method including receiving a search term for identifying a block from a user terminal, and selecting a blockchain network to be searched from among multiple blockchain networks; accessing the selected blockchain network to enter the search term and thus searching the selected blockchain network for a block corresponding to the search term; receiving data stored in the searched block from the selected blockchain network; and transmitting the received data to the user terminal.
1. A blockchain data search method, comprising:
receiving a hash value or a block number as a search term for identifying a block, the hash value or block number received from a user interface of a user terminal, and the hash value or block number comprising a value type of the search term as entered by a user,
selecting a blockchain network based on the value type, the value type initiating a search for a blockchain network candidate from among multiple blockchain network candidates based on the value type of the search term;
selecting, from the multiple blockchain network candidates, a blockchain network that has a same value type as the value type corresponding to the value type corresponding to the search term;
searching the selected blockchain network to directly access the selected blockchain network without having to directly access blockchain networks of each of the multiple blockchain network candidates, the search comprising a search for a block corresponding to the search term within only the selected blockchain network;
receiving data stored in the searched block from the selected blockchain network; and
transmitting the received data to the user terminal.
2. The method of claim 1 , wherein the search term is entered in a form of a QR code.
3. The method of claim 1 , wherein the receiving includes:
receiving the search term from the user terminal and then providing the user terminal with blockchain network candidates in which a block is capable of being searched for using the search term on the basis of a type of the search term; and
selecting any one from among the blockchain network candidates as the blockchain network by the user terminal.
4. The method of claim 1 , wherein the transmitting the received data to the user terminal includes, when the data stored in the found block is a URL link, accessing a specific data storage server corresponding to the URL link to transmit data received from the specific data storage server to the user terminal.
5. The method of claim 4 , wherein the data received from the specific data storage server is an image or a video.
6. The method of claim 1 , wherein the transmitting the received data to the user terminal includes, when the data stored in the found block indicates a specific service, executing a client of the specific service to transmit the received data to the user terminal.
7. The method of claim 6 , wherein the specific service is at least one of a messenger service, a news providing service, a music providing service, and a game.
8. The method of claim 1 , further comprising, between the receiving of the search term and the accessing of the selected blockchain network,
receiving a private key from the user terminal, to release security of the selected blockchain network using the received private key and a public key.