Systems and methods for efficiently and securely processing, accessing, and transmitting data via a blockchain network

By building a hierarchical blockchain transaction on the blockchain, using technologies such as encryption keys and Rabin signatures, the problem of low blockchain data storage and access efficiency is solved, and secure and efficient data sharing and access control is achieved.

CN113169876BActive Publication Date: 2025-06-13NCHAIN HLDG LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN201980078226.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-11-27
Filing Date
2019-11-27
Publication Date
2025-06-13
Estimated Expiration
2039-11-27

AI Technical Summary

Technical Problem

It is difficult for the prior art to effectively utilize the distributed, immutable and permanent characteristics of blockchain for data storage, processing, retrieval and sharing, especially in cross-electronic networks.

Method used

By building a hierarchical blockchain transaction on the blockchain, using technologies such as encryption keys and Rabin signatures to achieve secure and efficient storage, access and sharing of data.

Benefits of technology

It realizes efficient and secure storage, processing, retrieval and sharing of data on the blockchain, improves the efficiency of data-related activities, and provides improved access control and licensing mechanisms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113169876B_ABST
    Figure CN113169876B_ABST
Patent Text Reader

Abstract

The present disclosure provides improved methods and systems for processing, storing, sharing, retrieving, writing, and accessing data (content) on a blockchain. The present invention may form part of a protocol for storing, searching, and accessing data. In particular, improved efficiency and enhanced access control permissions are provided. Embodiments of the present disclosure include the steps of processing at least one blockchain transaction (Tx), the at least one blockchain transaction (Tx) including: a protocol flag; a discretionary public key (DPK); and a discretionary transaction ID (DTxID). They are discretionary in the sense that they are not required as part of the underlying blockchain protocol but according to the present invention. This combination of features enables portions of data to be identified, retrieved, and shared on the blockchain and, when provided in multiple transactions, also enables them to be linked / associated with each other. It enables the construction of a graphical or tree-like structure that reflects the hierarchical relationships between the various portions of data, thereby facilitating their processing, searching, and sharing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure generally relates to improvements in data communication and exchange across electronic networks, particularly peer-to-peer networks such as blockchain networks and the like. It relates to data storage, access, retrieval, and processing, and particularly to such data-related activities on a blockchain. The present disclosure is particularly suitable for, but not limited to, use when processing data in a manner similar to that provided by websites and web pages, but using a blockchain as the underlying mechanism or platform instead of a web server. Accordingly, the present disclosure provides a secure, efficient, cryptographically implemented alternative infrastructure for data processing and transfer. It also provides technical solutions for controlling access to data stored on a blockchain, including improved permissioning and access control mechanisms for granting access rights to authorized users. It also provides advantageous embodiments that reduce the amount of time and computational resources required to locate and access data stored on a blockchain. Other technical advantages are also provided. Background Art

[0002] In this document, we use the term "blockchain" to include all forms of electronic computer-based distributed ledgers. These include consensus-based blockchain and transaction chain technologies, permissioned and unpermissioned ledgers, shared ledgers, and their variants. The term "user" in this context can refer to a person or a processor-based resource.

[0003] A blockchain is a peer-to-peer electronic ledger that is implemented as a computer-based decentralized distributed system consisting of blocks, which in turn consist of transactions. Each transaction is a data structure that encodes the transfer of digital asset control rights between participants in the blockchain system and includes at least one input and at least one output. Each block contains the hash value of the previous block, such that the blocks are linked together to create a permanent, immutable record of all transactions that have been written to the blockchain since its inception. Transactions contain small programs called scripts embedded in their inputs and outputs that specify how and by whom the output of the transaction can be accessed.

[0004] To write a transaction to the blockchain, it must be "validated". Network nodes perform work to ensure that each transaction is valid, and invalid transactions are rejected by the network. The software client installed on the node performs this validation work on unspent transactions (UTXOs) by executing their locking scripts and unlocking scripts. If the execution of the locking script and the unlocking script evaluates to true, the transaction is valid and the transaction is written to the blockchain. Therefore, to write a transaction to the blockchain, it is necessary to: i) have the transaction validated by the first node receiving the transaction - if the transaction is validated, the node relays it to other nodes in the network; ii) add the transaction to a new block; and iii) the transaction is added to the public ledger of past transactions.

[0005] In applications, the blockchain can leverage the benefits of the blockchain (e.g., permanence of events, tamper-proof records, distributed processing, etc.) while having more uses in its applications.

[0006] One such area of concern is using the blockchain to store, share, access, and control data among users. Today, this is achieved via the Internet, where servers host websites and pages that users typically access via search engines to access the required data.

[0007] However, some observers have begun to envision using the blockchain to address certain drawbacks of the Internet, such as the control of large amounts of data and content by centralized parties. For example, see "Life After Google: The Fall of Big Data and the Rise of the Blockchain Economy", George Gilder, Gateway Editions, July 2018, ISBN-10: 9781621575764 and ISBN-13: 978-1621575764. Summary of the Invention

[0008] Accordingly, it is desirable to provide an arrangement that enables the advantageous use of the distributed, immutable, and permanent nature of the blockchain for storing, processing, retrieving, searching, and / or sharing such data on the blockchain. Such an improved solution has now been devised. Embodiments of the present disclosure provide at least alternative efficient and secure techniques for implementing blockchain solutions and for storing, processing, searching, and / or retrieving data thereon or therefrom. The embodiments also provide at least an alternative technical infrastructure for a blockchain implementation for storing, processing, retrieving, transferring, searching, and / or sharing data between computing nodes. Since the present invention enables the use of the blockchain network in a new way and for providing improved technical results, the present disclosure provides an improved network for blockchain implementation.

[0009] The embodiments also provide a solution for securely controlling access to digital resources on technically different and improved computing platforms, which computing platforms include a blockchain and a blockchain protocol.

[0010] The present invention is defined in the appended claims. According to the present disclosure, computer-implemented methods and corresponding systems can be provided. The method can be described as a method for enabling or controlling the processing, storage, retrieval, identification, and / or sharing of data via a blockchain. Additionally or alternatively, it can be described as a method for associating or linking data stored in (separate / different) blockchain transactions to enable the identification, retrieval, and / or sharing of the data.

[0011] According to one aspect of the present disclosure, a plurality of blockchain transactions are arranged in a (logical) hierarchy such that a portion of the data provided or referenced in at least one additional transaction at a lower level of the hierarchy can be accessed or identified by comparison with the cryptographic key used to sign a first transaction in a higher level of the hierarchy.

[0012] According to another aspect that can be used in combination with or separately from the first aspect, a first blockchain transaction can be used to control access to a portion of the data provided or referenced in at least one additional transaction at a lower level of the hierarchy of blockchain transactions based on the cryptographic key used to sign the first blockchain transaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] These and other aspects of the present invention will become apparent from and be elucidated with reference to the embodiments described herein. Embodiments of the present invention will now be described, by way of example only, and with reference to the accompanying drawings, in which:

[0014] Figure 1 A blockchain transaction embodying the present invention is shown in which data is stored in a plurality of outputs;

[0015] Figure 2 Shows a blockchain transaction embodying the present invention, in which data is stored in the input.

[0016] Figure 3 Shows a series of blockchain transactions embodying the present invention, in which data is stored on the outputs of multiple blockchain transactions;

[0017] Figure 4 Shows a blockchain transaction embodying the present invention that transfers a payment to allow access to data by means of an atomic swap;

[0018] Figure 5 Shows a blockchain transaction embodying the present invention for exchanging Figure 4 the payment for a transaction;

[0019] Figure 6 Shows a secret value held by a participant in a blockchain transaction embodying the present invention, the blockchain transaction issuing a token to allow access to data by means of an atomic swap;

[0020] Figure 7 and Figure 8 Shows a blockchain transaction embodying the present invention for issuing a token to allow access to data by means of an atomic swap;

[0021] Figure 9 and Figure 10 Shows a blockchain transaction embodying the present invention for exchanging a token issued by a transaction by means of Figure 7 and Figure 8 ;

[0022] Figure 11 and Figure 12 Shows a blockchain transaction for accessing a secret exchanged by a transaction of Figure 9 and Figure 10 ;

[0023] Figure 13 Provides an illustration of a meta-network graph structure according to an embodiment of the present invention.

[0024] Figure 14 Shows an illustration of a meta-network graph tree for a domain "bobsblog" including an MURL search path according to an embodiment of the present invention.

[0025] Figure 15 Provides a diagram showing how to perform a search for content within the infrastructure of an embodiment of the present invention.

[0026] Figure 16 Shows an illustrative interaction between a local full-copy peer and a global full-copy peer according to an embodiment of the present invention.

[0027] Figure 17 A meta-network tree (or graph) is shown for reference in the illustrative use cases described below.

[0028] Figure 18 A flowchart is shown that illustrates the process embodied in the illustrative use cases provided below.

[0029] Figure 19 is a schematic diagram showing a computing environment in which various embodiments may be implemented.

[0030] Figure 20 An example logical data structure according to an embodiment of the present disclosure is shown, which is used in techniques for enhancing the efficiency of data identification, access, and retrieval from transactions stored on a blockchain.

[0031] Figure 21 shows a representation Figure 20 of the meta-network structure of the logical data structure. Detailed Description

[0032] As used herein, "sharing" may include providing, sending, communicating, transmitting a portion of data to a node or user or providing access to a portion of data. As used herein, the term "processing" may be interpreted to mean any activity related to a transaction or its associated data, including or synchronized with the following: using, generating, transmitting, verifying, accessing, searching, accessing, sharing, submitting to a blockchain network, and / or identifying.

[0033] In the remainder of this document, the protocol that determines the operation of the embodiments of the present invention will be referred to as the "meta-network protocol".

[0034] According to embodiments of the present invention, the terms "content", "digital content", and "data" may be used interchangeably herein to refer to data stored in a blockchain transaction, data referenced via a blockchain transaction, or otherwise accessed. Data is additional / optional data that is transmitted, communicated, or stored via a blockchain, as opposed to data required by the underlying blockchain protocol that is part of the transaction code itself.

[0035] Overview

[0036] As described above, there is a recognized need for an improved and / or alternative infrastructure for storing, writing, accessing, and viewing data among and by computing nodes. Leveraging the inherent advantages of blockchain technology (e.g., immutable records, cryptographically enforced control and access, built-in payment mechanisms, ability to publicly inspect the ledger, distributed architecture, etc.) would be advantageous. However, building a "blockchain-enabled Internet" is challenging from many technical perspectives.

[0037] These challenges may include, but are not limited to: how to locate specific portions of data in a network; how to protect and control access to data so that only authorized parties can gain access; how to transfer data from one party to another in a peer-to-peer manner; how to arrange data such that it can be logically associated but still stored at different locations within the network, and subsequently how to combine it from different locations to provide an overall and enhanced result; how to provide and / or store data in a hierarchical manner; how to allow users and parties with different computing platforms to access the required data; how to store, provide, and share data across (potentially global) computing networks without relying on or requiring large storage servers and centralized data controllers, and how to increase the efficiency of such data-related activities on the network.

[0038] The present disclosure provides such an improved solution in such a way that is similar to the Internet in some aspects, but uses a platform of hardware components and software components that are completely different from those known in the prior art and achieves its results in a completely different way. According to an embodiment of the present invention, a server that stores Internet / network data and provides it to end users is replaced by a blockchain exchange residing on a blockchain network. To achieve this, several innovations must be designed. These will be described in the following sections.

[0039] Insert data into the blockchain "Meta Network"

[0040] Referring to Figure 1 , a blockchain transaction embodying the present invention is shown, in which first data to be stored on the blockchain is stored in one or more first outputs of the transaction, and second data representing the attributes of the first data is stored in one or more second outputs of the transaction. One or more first portions <content1> of the first data are stored in the spendable outputs of the transaction. Data <attribute1> and <attribute2> corresponding to the attributes of the first data and a flag indicating that data is being stored according to the MetaNet protocol are stored in the second non-spendable output of the transaction. The term "non-spendable" is used to indicate that at least one of the first and / or second outputs of the transaction may include a script opcode (OP RETURN) that is used to mark the output as invalid for subsequent use as an input to a subsequent transaction.

[0041] It is advantageous to store the content and attribute portions of data separately in separate outputs of the transaction.

[0042] Figure 2 A blockchain transaction embodying the present invention is shown, in which first data <content1> to be stored on the blockchain is stored in the input of the transaction. The MetaNet flag and the attribute data <attribute1> and <attribute2> are stored in the non-spendable output of the transaction in a manner similar to the arrangement shown in Figure 1 shown.

[0043] Data insertion

[0044] Data insertion method

[0045] It is hoped that the following data can be inserted into the blockchain

[0046] a) Metanet Flag

[0047] b) Attributes

[0048] c) Content

[0049] The content is the data to be stored on the blockchain. The Metanet Flag is a 4-byte prefix that serves as an identifier for any data related to the Metanet protocol, and the attributes contain indexing, permission, and encoding information about the content. This can include, but is not limited to, data types, encryption, and / or compression schemes. Such attributes are often also referred to as metadata. To avoid confusion with transaction metadata, this term will be avoided in this document.

[0050] The following techniques can be used to embed this data into the blockchain script:

[0051] 1. OP_RETURN - In this method, all data (attributes and content) is placed after OP_RETURN in the locking script of a provably unspendable transaction output.

[0052] An example of the output script using this operator is as follows:

[0053] UTXO0: OP_RETURN <Metanet Flag> <attributes> <content>

[0054] 2. OP_RETURN with OP_DROP - In this case, OP_RETURN contains attributes, and the content is stored before OP_DROP in the spendable transaction script (lock or unlock). The content can be split into multiple data packets in the transaction inputs and outputs. If data is inserted into the transaction input, OP_MOD can be used as a checksum for the data instead of network node verification to ensure its validity. For example, a 32-bit OP_MOD operation can be performed and checked if it equals a pre-computed value.

[0055] In this case, the attributes can contain information on how to recombine the content data packets. Additionally, providing the hash of the recombined data packet H(content1 + content2) as an attribute enables verification that the recommended recombination scheme has been used.

[0056] Figure 1 A transaction implementing the second data insertion method is shown. For simplicity, the transaction only includes inserting the content in its output, which is signed by its single input. Using Figure 2 the method shown to use the OP_DROP statement can also insert content into additional inputs.

[0057] If the content is large, it may be advantageous to split it across multiple transactions. Such an arrangement is shown in Figure 3 . Figure 3 A pair of blockchain transactions embodying the present invention is shown, in which the first data <content> to be stored on the blockchain is split into two chunks <content chunk1> and <content chunk2>, which can then be recombined as <content> = <content chunk1> ∥ <content chunk2>, where the operator "∥" concatenates the content data of the two chunks. This concatenation operator can be replaced by any desired bitwise or similar segmented binary operator. Then the two chunks <content chunk1> and <content chunk2> are stored in the respective spendable outputs of separate blockchain transactions, while the data related to the attributes of the content data is stored in the respective unspendable outputs of the blockchain transactions. Again, the attributes can contain information on the recombination scheme. For example, the content can be raw data, an executable program, or an HTML web page. Additionally, content1 can include a pointer to the location of content2 on the blockchain, which functions in the same way as an embedded HTML link within a web page.

[0058] It should be noted that the two transactions will use the same public key P (and ECDSA signature) as an input, such that although <content chunk1> and <content chunk2> are stored in different transactions with TxID1 and TxID2 respectively, they can be related by the same public key P.

[0059] Function of using network node verification

[0060] Here, the transaction verification process performed by the network nodes is used to gain an advantage when storing this data. This is because all the data in the transaction output will be signed by the owner of the public key P in at least one transaction input (if the SIGHASH|ALL flag exists), and this signature will be checked during the transaction verification process performed by all network nodes.

[0061] This ensures

[0062] · Data integrity - If the data is damaged, the CHECKSIG operation will fail.

[0063] · Data authenticity - The owner of P has provably witnessed and signed the data.

[0064] This is especially beneficial for content split across multiple transactions, as the input signature of P provides a provable link between the split components of the data, as described by the arrangement shown in the reference above Figure 3 as shown.

[0065] Rabin signature

[0066] Another way to ensure data authenticity is to use Rabin signatures, which can be used to sign the data itself rather than the entire message. This can be advantageous because the signer does not need to sign each individual transaction in which the data appears, and the signature can be reused across multiple transactions.

[0067] Rabin signatures can be easily verified in a script. By inserting Rabin signature verification before the OP_DROP command, these can be incorporated into case (2) above, i.e.,

[0068] <content1><Rabin Sig(content1)>FUNC_CHECKRABSIG OP_DROP<H(P 1 )>[CheckSigP 1

[0069] It should be noted that this cannot be done in case (1) above, because in any case, the script containing OP_RETURN fails and thus verification cannot be achieved.

[0070] Specific example of using Rabin signature

[0071] Introduction

[0072] Digital signatures are a fundamental part of blockchain protocols. They ensure that any transaction recorded on the blockchain has been authorized by the legitimate holder of the tokens being sent. In standard blockchain transactions, the Elliptic Curve Digital Signature Algorithm (ECDSA) is used to sign transaction messages. However, ECDSA signatures are typically applied to the entire transaction.

[0073] There are some use cases for blockchains where participants from outside the network may want to provide signatures for arbitrary data types, which can then be used by network participants. By using Rabin digital signatures, any data segment can be signed - even if it originates outside the blockchain - and then placed in one or more transactions.

[0074] Now it will be shown how data can be directly signed and verified in a script by leveraging the algebraic structure of the Rabin cryptosystem.

[0075] Rabin Digital Signature

[0076] Rabin Digital Signature Algorithm

[0077] Background Mathematics

[0078] Definition - Integers modulo p

[0079] Integers modulo p are defined as the following set

[0080]

[0081] Fermat's Little Theorem

[0082] Let p be a prime number. Then for any integer a, the following condition holds

[0083] a p-1 ≡ 1 mod p

[0084] Euler's Criterion

[0085] Let p be a prime number. Then r is a quadratic residue modulo p if and only if the following holds​

[0086]

[0087] Modular square root (p = 3 mod 4)

[0088] Let p be a prime number such that p ≡ 3 mod 4. Then for any integer r satisfying Euler's criterion, if a is an integer, then such that

[0089] a 2 ≡ r mod p

[0090] Then, a has a solution in the form of

[0091]

[0092] Chinese Remainder Theorem

[0093] Given pairs of relatively prime positive integers n 1 , n 2 , …, n k and any integers a 1 , a 2 , …, a k , the system of simultaneous congruences

[0094]

[0095] has a unique solution modulo N = n 1 n 2 … n k . As a special case of the Chinese Remainder Theorem, it can be shown that:

[0096] if and only if

[0097] x ≡ r mod n 1 · n 2 then

[0098] x ≡ r mod n 1 and x ≡ r mod n 2 Rabin Digital Signature Algorithm

[0099] The Rabin Digital Signature Algorithm can be described as follows:

[0100] For any message m, let H be a collision-resistant hash algorithm with k output bits.

[0101] To generate the key, select prime numbers p and q, each with a bit length approximately k / 2, such that p ≡ 3 mod 4, q ≡ 3 mod 4 and calculate the product n = p · q. The private key is (p, q) and the public key is n = p · q.

[0102] To sign message m, the signer selects padding U such that H(m||U) satisfies

[0103]

[0104] The signature S is calculated using the following formula

[0105]

[0106] The signature of message m is (S, U). Verification can be simply performed by checking the following equation for given m, U, and S

[0107] H(m||U) ≡ S 2 mod n (Equation 1).

[0108] This is true if and only if there exists an integer λ in the range 0, …, n−1 such that

[0109] H(m||U) + λ·n = S 2 (Equation 2).

[0110] The factor λ can be safely included in the signature to provide the combination (S, λ, U).

[0111] The advantageous features of the Rabin signature scheme are as follows

[0112] a) Signature generation is computationally expensive, while signature verification is computationally easy.

[0113] b) The security of the signature depends only on the difficulty of integer factorization. Thus, the Rabin signature is inherently unforgeable (unlike RSA).

[0114] c) The hash function value H(m||U) must have a size similar to the public key n.

[0115] Verification in the script is straightforward because it only requires squaring the given signature, performing modular reduction, and then checking whether the result is equal to H(m||U).

[0116] Rabin signature proof

[0117] Let p, q be relatively prime, and n = p·q. By the Chinese Remainder Theorem, it can be shown that

[0118] if and only if

[0119] S 2 ≡ H(m||U) mod p

[0120] S 2 ≡ H(m||U) mod q,

[0121] Then

[0122] S 2 ≡ H(m || U) mod n

[0123] Using the following equation

[0124]

[0125] it can be shown that

[0126] S 2 ≡ H(m || U) mod q

[0127] So

[0128]

[0129] where it has been assumed that H(m || U) satisfies Euler's criterion. By similar calculations, it can also be shown that

[0130] S 2 ≡ H(m || U) mod p.

[0131] Rabin signature in blockchain

[0132] Signature verification in script

[0133] A small number of arithmetic and stack manipulation opcodes are needed to verify a Rabin signature. Consider a redemption script of the following form

[0134] OP_DUP OP_HASH160 <H 160 (n)> OP_EQUALVERIFY OP_MUL OP_SWAP OP_2 OP_ROLL OP_CAT FUNC_HASH3072 OP_ADD OP_SWAP OP_DUP OP_MUL OP_EQUAL

[0135] where n is the signer's public key. This will evaluate to true if and only if the following input is available

[0136] <s> <m><λ> <n>

[0137] where m is any message and (S, λ, U) is a valid Rabin signature. Alternatively, if the Rabin signature is verified using equation 1 above, the redemption script is given by:

[0138] OP_DUP OP_HASH160<H 160 (n)>OP_DUP OP_TOALTSTACK OP_SWAP<roll index>OP_ROLL OP_CAT FUNC_HASH3072 OP_SWAP OP_MOD OP_SWAP OP_DUP OP_MUL OP_FROMALTSTACK OP_MOD OP_EQUAL

[0139] In this case, this will evaluate to true if and only if the following inputs are present

[0140] S> <m> <n>

[0141] In both of these redemption scripts, the 3072-bit hash projection function "FUNC_HASH3072" is used. For a given message / padding concatenation, the following script is used to generate the FUNC_HASH3072 hash projection:

[0142] OP_SHA256{OP_2OP_SPLIT OP_SWAP OP_SHA256 OP_SWAP}(x11)

[0143] OP_SHA256 OP_SWAP OP_SHA256{OP_CAT}(x11)

[0144] Data compression

[0145] Internet data consists of JavaScript and common file types (e.g., text files (SML, HTML, etc.), video files (MPEG, M-JPEG, etc.), image files (GIF, JPEG, etc.), and audio files (AU, WAV, etc.)), for example, as described in more detail at the following link: https: / / www.doc.ic.ac.uk / ~nd / surprise_97 / journal / vol1 / mmp / #text. Using the above data insertion techniques, these different data types can also be embedded on the blockchain.

[0146] Before embedding a larger file size on the blockchain, it can be compressed using one of several existing coding schemes. Lossless data compression algorithms such as run-length and Huffman coding can be used for several applications, including ZIP files, executable programs, text documents, and source code.

[0147] Depending on the specific input data, there are many different algorithms. Apple Lossless and Adaptive Transform Acoustic Coding can be used to compress audio files, PNG and TIFF for graphic files, and movie files can be compressed using one of many lossless video codecs. Flags within the attributes can be used to indicate any compression of the data content. For example, the flag for the LZW lossless coding scheme in the attribute will be <lzw>。

[0148] Decryption of encryption and payment

[0149] Data encryption

[0150] The owner of the content can choose to protect the content before embedding it on the blockchain. This ensures that the content cannot be viewed without obtaining the necessary permission.

[0151] There are many well - recognized techniques for encrypting data (plaintext or other data types). These techniques can be classified as asymmetric encryption or symmetric encryption.

[0152] Elliptic Curve Cryptography (ECC) is asymmetric because it relies on a public - key / private - key pair. It is one of the most secure cryptographic systems. For ECC cryptography, the Koblitz algorithm can be used to encrypt data.

[0153] In a symmetric scheme, a single key is used to both encrypt and decrypt data. The Advanced Encryption Standard (AES) algorithm is considered one of the most secure symmetric algorithms seeded by such a secret, for example, as described in more detail in the following literature: Chapter 4 in C. Paar and J. Pelzl, "Understanding Cryptography", Springer - Verlag Berlin Heidelberg, 2nd edition, 2010, pp. 87 - 118.

[0154] When encrypting data stored on the blockchain, there are advantages to using the same cryptographic system as the underlying blockchain. These advantages are:

[0155] - The security level of the encryption is the same as the underlying system on which the data is stored.

[0156] - The software architecture required to store encrypted data will have a smaller codebase.

[0157] - Key management in the wallet can be used for both transactions and encryption / decryption.

[0158] - Since the same key can be used for encryption and payment, it is more efficient and thus fewer keys are required. This also reduces storage space.

[0159] - The ability to exchange / buy decrypted data may require fewer communication channels.

[0160] - Since the keys used for encryption and transactions are the same data structure, security is enhanced, thus mitigating targeted attacks on specific key types.

[0161] For illustrative purposes, a description of how the Koblitz algorithm can be used to encrypt data using ECC is provided.

[0162] Koblitz algorithm

[0163] Given an ECC key pair P 1 = S 1 ·G, the Koblitz algorithm allows anyone to use the public key P 1 to encrypt a message such that only the person who knows the corresponding private key S 1 can decrypt the message.

[0164] Suppose it is desired to encrypt the plaintext message 'hello world' using the Koblitz method. This is done character by character. The first character 'h' is encrypted and decrypted as follows.

[0165] 1. The character 'h' ′ is mapped to a point on the secp256k1 curve. This is achieved by mapping the plaintext character to an 8-bit number using the ASCII convention. Then the point on the curve is calculated by multiplying the base point G by that number. In this example, 'h' maps to 104 in ASCII, and the elliptic curve point is given by P m = 104·G.

[0166] 2. Then the public key P 1 is used to encrypt the point P m . This is done by choosing a random temporary key k 0 and calculating the point pair C m = {k 0 ·G, Q} (where Q := P m + k 0 ·P 1 ), and then the point pair can be broadcast.

[0167] 3. The owner of the private key S 1 can decrypt the original point by calculating P m = Q - S 1 ·k 0 ·G. Then they can recover the original ASCII number by trial and error or by means of a lookup table to establish which number x corresponds to P m = x·G.

[0168] Use blockchain to purchase license

[0169] Storing data on a blockchain has the distinct advantage of having a payment mechanism built into the system. Payments can be used to purchase

[0170] - decrypting data for viewing / use

[0171] - Permission to Insert Data at a Specific Address

[0172] In both cases, the buyer uses a token to purchase the secret that grants them permission to do something. This secret can be a hash preimage or a private key.

[0173] An efficient and secure way to make such a purchase is to use an atomic swap. This keeps the secure communication channel to a minimum and ensures that payment is made to the seller and the secret is revealed to the buyer, or that nothing happens.

[0174] It is also convenient to purchase permissions using an access token. This is a secret value (usually a hash preimage) that the buyer has and can use to make the purchase. The buyer can purchase a large number of such access tokens in advance and then activate them when they actually want to use the permission.

[0175] Now we will refer to Figure 4 and Figure 5 to describe how to perform an atomic swap.

[0176] Atomic swap using hash puzzle or private key puzzle

[0177] Suppose Alice is the owner of the secret. This secret can be a hash preimage of a known hash digest or a private key of a known public key. Suppose Bob wants to use a token to buy this secret from Alice. Describe the mechanism called atomic swap that enables this transaction to occur. This is atomic in the sense that either Alice receives the token for payment and reveals the secret to Bob, or nothing happens.

[0178] The method is as follows:[[]]

[0179] Alice has a public key / private key pair P A = S A · G's private key S A , and Bob has a public key / private key pair P B = S B · G's private key S B .

[0180] Alice has a secret that is either the preimage X of a known hash digest H(X) or a private key S 1 = S 1 · G's private key S 1 of a known public key P.

[0181] They agree that Alice will sell this secret to Bob at the token price.

[0182] Before that, Bob must set up the transaction to send a temporary key k 0 to Alice outside the block so that Alice can calculate the component r 0 of the digital signature.

[0183] Now refer to Figure 4 ,

[0184] 1. Bob transfers the token locked by the following redemption script R (schematically written) to Alice:

[0185] For the hash preimage:

[0186] R = [Hash PuzzleH(X)][CheckSig P A

[0187] This forces the preimage X to be exposed in the input of the redemption script.

[0188] For the private key:

[0189] R = [Private Key Puzzle P 1 ,r 0 [CheckSig P A

[0190] This forces the private key S 1 to be computable from the input of the redemption script. In this case, Bob and Alice must agree on the ephemeral key k 0 used to construct r 0 , where, (r 0 ,R y ) = k 0 ·G.

[0191] 2. Since Alice knows her secret (X or S 1 ), she can spend her funds on the blockchain with the help of Figure 5 the transaction shown. This enables Bob to determine her secret.

[0192] As an optional security feature, Alice and Bob can use their public keys P A ,P B to establish a shared secret S known only to the two of them. This can be achieved in the manner outlined in International Patent Publication No. WO 2017 / 145016. In this case, S can be added to the preimage X in the hash puzzle so that X is not publicly revealed on the blockchain. Similarly, in the private key puzzle, S can be used as the ephemeral key k 0 to ensure that only Alice or Bob can compute the private key.

[0193] If Alice decides not to spend her funds, a time-locked refund can be introduced into the program to prevent Bob's funds from being locked by Alice.

[0194] Purchase using tokens

[0195] ​​Assume the same situation as described above, but Bob wishes to redeem an access token purchased in advance in exchange for a secret.

[0196] The procedure that Alice and Bob must follow is similar to the situation described in the previous section, but uses a sequence of similar atomic exchanges. The process has two phases; token issuance and token redemption.

[0197] Phase 1: Token Issuance

[0198] The token issuance phase is actually Bob's single purchase of tokens. For example, consider the following scenario: Alice has 10 different secrets X 1 ,X 2 ,…,X 10 , and Bob wishes to purchase 10 tokens T 1 ,T 2 ,…,T 10 .

[0199] First, Bob generates a set of 10 tokens from a secret seed value known only to him. These tokens are created by hashing the order of the seed to form a hash chain, where each token is calculated as:

[0200] T i =H 10-i (Y) for i ∈ {1,2,…,10}.

[0201] Alice and Bob now each have 10 secret values that can be revealed in a hash puzzle for, e.g., redeeming tokens. However, to issue these tokens, they must also generate secret initialisation values I Alice and I Bob . These values are given as follows:

[0202]

[0203] I Bob =H 10 (Y).

[0204] It should be noted that Alice's initialiser is simply a random integer with no specific meaning, but Bob's initialiser should be the hash of his first token T 1 =H 9 (Y). Extending the token chain to the initialisation value in this way allows token issuance to also define the tokens to be used for subsequent redemption. Figure 6 All the secret values held by each participant are shown in.

[0205] Now Alice and Bob can agree to purchase 10 tokens at a price of 10 units. The purchase of these tokens can be made in various ways, and atomic swap is used for illustration here. The atomic swap starts with Alice and Bob broadcasting the transactions shown in Figure 7 and Figure 8 respectively. In both of these transactions, the output requires the solution of two hash puzzles and a valid signature.

[0206] Once the two transactions appear in the blockchain, Alice and Bob can share their shared initialization values I Alice and I Bob , and complete the atomic swap for token release.

[0207] Due to this atomic swap, Alice receives the payment for purchasing 10 tokens and the two initialization values are revealed secretly. It should be noted that only Bob's secret I Bob = H 10 (Y) makes sense here because it will define the first hash puzzle to be solved [hash puzzle (T 1 )], and the solution is the preimage H 10 (Y) of the initialization value H 9 (Y).

[0208] Phase 2: Token redemption

[0209] At some point in the future, Bob wants to redeem his first token T 1 = H 9 (Y) and receive his first secret X 1 , but as mentioned before, he has already paid for this secret by purchasing a valid token. The process of redeeming the token will take the form of another atomic swap, where the solution to the locked hash puzzle is the token T i and the corresponding secret X i .

[0210] To redeem his token, Bob should broadcast the transaction shown in Figure 9 . The output of this transaction is locked with two hash puzzles. When Alice sees this transaction, she broadcasts her own similar transaction as shown in Figure 10 . The output of this transaction is locked with the same two hash puzzles. The two participants can now exchange their secrets T 1 and X 1 , and unlock the output of these transactions. The two parties can now redeem the nominal fee x by providing the correct unlocking scripts that also expose the two secrets. Figure 11 and Figure 12 show the transactions with these unlocking scripts.

[0211] The completion of this atomic swap for token redemption reveals Alice's first secret X 1 , revealing Bob's first token T to Alice 1 , and given that the amount x is large enough to encourage both parties to spend the locked output, there is a net-zero exchange of funds. Crucially, this also establishes that the next token available to Bob must be the solution T of the hash puzzle [hash puzzle H(T 2 )] 2 , where the target hash H(T 2 ) = T 1 has just been revealed to Alice. This process can be repeated recursively until Bob has used his last token T 10 = Y

[0212] Naming and addressing

[0213] Node and edge structure

[0214] It has been explained above how data can be inserted into the blockchain by providing data within a transaction. Now presented is a protocol for structuring these transactions in a logical manner that allows for node addressing, permissioning, and content version control. The protocol also enables the creation of a hierarchy of data transfer transactions. The structure of this distributed peer-to-peer metanet is similar to the existing Internet.

[0215] It should be noted that this is a "tier-2" protocol that does not modify the protocol or consensus rules of the underlying blockchain.

[0216] The goals of the structure described herein are:

[0217] (i) To associate relevant content in different transactions to enable searching, identification, and access to data, and to allow the logical hierarchy of related parts of the data to be reflected in the transactions on the blockchain

[0218] (ii) To allow the identification of content using human-readable keyword searches to improve search speed, accuracy, and efficiency

[0219] (iii) To construct and simulate a server-like structure in the blockchain

[0220] Our approach is to structure the data associated with the metanet as a directed graph. The nodes and edges of this graph correspond to:

[0221] Nodes - Transactions associated with the metanet protocol. Nodes store content. (The terms "content" and "data" are used interchangeably within this document).

[0222] Nodes are created by including an OP_RETURN just before the <Metanet Flag>. Each node is assigned a public key P node . The combination of the public key and the transaction ID uniquely specifies the index ID of the node node := H(P node || TxID node ).

[0223] The hash function used should conform to the underlying blockchain protocol that this invention will use, e.g., together with SHA-256 or RIPEMD-160.

[0224] Association of edge-subnode with parent node.

[0225] The edge is created when the signature Sig P parent appears in the input of a meta-network transaction, so only the parent can give permission to create the edge. All nodes can have at most one parent, and a parent node can have any number of children. In the language of graph theory, the in-degree of each node is at most 1, and the out-degree of each node is arbitrary.

[0226] It should be noted that the edge is an aspect of the meta-network protocol and is not itself a transaction associated with the underlying blockchain.

[0227] A valid meta-network node (with a parent) is given by a transaction having the following form:

[0228]

[0229] This transaction contains all the information required to specify the node and the index of its parent:

[0230] ID node := H(P node || TxID node ),

[0231] ID parent := H(P parent || TxID parent ).

[0232] Furthermore, since the signature of the parent node is required, only the parent can create an edge to a child. If the <TxID parent > field does not exist or it does not point to a valid meta-network transaction, the node is an orphan. There is no higher-level node that can reach it.

[0233] Additional attributes can be added to each node. These attributes can include flags, names, and keywords. These attributes will be discussed later in this document.

[0234] As shown, the index of the node (transaction) can be partitioned into

[0235] a) public key P node , which we interpret as the address of the node

[0236] b) Transaction ID TxID node , which we interpret as the version of the node

[0237] This structuring gives rise to two beneficial features:

[0238] 1. Version control - If there are two nodes with the same public key, then we interpret the node with the transaction ID that has the maximum proof of work as the latest version of that node. If the nodes are in different blocks, this can be checked by the block height. For transactions in the same block, this is determined by the topological transaction ordering rule (TTOR).

[0239] 2. Permission - A child of a node can only be created if the owner of the public key P node signs the transaction input when creating the child node. Thus, P node represents not only the address of the node but also the permission to create child nodes. This is intentionally similar to a standard blockchain transaction - the public key is not only an address but also the permission associated with that address.

[0240] It should be noted that since the signature of the parent node appears in the UXTO unlocking script, it is verified through the standard network node verification process when the network accepts the transaction. This means that the permission to create child nodes is verified by the blockchain network itself. The permission and access control aspects of the present disclosure, as well as the mechanisms for enhancing these technical benefits, are described in more detail below.

[0241] It is worth noting that a standard Internet Protocol (IP) address is only unique within a network at a given point in time. On the other hand, the index of a node in the metanet is unique at all times and there is no concept of separate networks, which allows data to be permanently anchored to a single object ID node .

[0242] The node and edge structure allows the metanet to be visualized as a graph, as Figure 13 shown.

[0243] Enhanced scheme for efficient data location and retrieval

[0244] Like the Internet, the metanet provides a technical platform and infrastructure for storing and accessing large amounts of data. It is highly desirable to perform this operation in such a way that data can be identified and accessed in an efficient and timely manner, otherwise the system may become impractical for use as it takes too long or requires too many resources (e.g., energy and computing devices) to locate and retrieve what the user needs. This is especially important for arrangements implemented on a peer-to-peer, decentralized architecture (e.g., blockchain).

[0245] To further improve efficiency, embodiments of the present disclosure described herein may include a hierarchical data architecture that is implemented via relevant transactions on a blockchain. Figure 20 and 21 shows a simple example where, according to Figure 21 such enhancements in Figure 20 illustrative logical data structures of Figure 21 can be implemented using the naming and addressing techniques described herein and other techniques to construct multiple associated transactions that include or reference respective data portions that are related in a logical hierarchy.

[0246] Data can be organized in a hierarchy at the same logical level. The logical level and hierarchy can be specified, influenced, or determined according to the needs of entities such as institutions, enterprises, computing networks, data stores, or other types of entities that need to store (potentially large amounts of) data related to the items with which they interact, provide, or use. For example, within a company, an employee can have a name, address, DoB, etc., or a shareholder can have an associated name, shares, and history, etc. Instead of storing information related to these data types in transactions at the same hierarchical level in a meta-network structure (as shown by the solid boxes on the right side in Figure 20 ), they can be stored and arranged at different hierarchical levels, as shown by the solid boxes in Figure 21 . The order of the levels is not related to the functionality of the scheme.

[0247] For example, at level n, a transaction can store the name of a shareholder, and at level n + 1, a transaction can store the shares of the shareholder, and so on. A mapping is stored and maintained that provides a mechanism for determining the hierarchical level at which different data types are stored. The mapping can be stored on or off the blockchain in any suitable form. Thus, a user who wishes to locate and retrieve a particular type of data (e.g., shareholder, shareholder history) can use the mapping to inform them which level of the meta-network they need to go directly to. In other words, the depth of the structure provides an indication of the type of data stored there (level n + 1 = shareholder share data). A query can be performed based on the determination of which key signed the transaction being examined.

[0248] Consider Figure 20 , which shows a logical data structure including data stored in a hierarchy at various logical levels LL-01 to LL-06, and Figure 20 is contrasted with Figure 21 , Figure 21 shows a meta-network structure representing the same data structure according to such an embodiment and implemented on the corresponding blockchain level "BL". Transactions can be generated according to the meta-network protocol techniques described herein. It can be seen that the same logical level (e.g., Figure 20 The data in LL-03) can be stored in Figure 21 different levels of transactions within the meta-network system shown in Figure 21 . If the user knows the mapping, they can go to the transaction at level BL-05 to find the history of the shareholders without having to traverse the previous transactions to locate the required data. Regardless of the amount of data stored in the entire system, this enables faster results to be provided to the user, facilitates the scaling of the implemented solution, and reduces the computational resources required for data identification and access from the peer-to-peer network. The mapping records and stores the relationship between the items in the hierarchy and the levels at which the data types are stored. Using the indexing technique of the protocol, a hierarchy / graph of the associated transactions is generated. When a user wishes to access a specific type of data (e.g., shareholder name), the mapping is referenced to obtain an indication of the level at which that data type is stored, and then the transaction at that level can be quickly and efficiently accessed to obtain the required data. The mapping can be stored on-chain or off-chain in any suitable manner.

[0249] Enhanced license and access control

[0250] In addition to the license-related advantages discussed above, the control- and security-related aspects of the present disclosure can be further enhanced by organizing, storing, identifying, and retrieving data based on a hierarchy. In such a hierarchy, the data is stored as pairs of related categories and instances. For example, at level n in the hierarchy, a transaction will store an indication of some type or class of the data stored at level n+1 ("type" or "category"). Then, the transaction at level n+1 stores an instance of that data category. At level n+2, the transaction stores an indication of a different type of the data stored at level n+3, where the transaction at level n+3 stores an instance of that data type. In effect, the transactions at levels n and n+2 act as headers, while the transactions at levels n+1 and n+3 store the actual data. The advantage of this is that we can prove how many instances exist in a category by disclosing the least amount of information (i.e., the headers). Each instance transaction is signed by the same public key, so an administrator or owner can provide that public key to an authorized party, enabling them to identify from an inspection of the blockchain how many transactions were signed by that public key.

[0251] This is illustrated in Figure 20 and 21 which provide simple examples of how to achieve this, where the instance transactions depend on the category transactions. Figure 20 and 21 For purposes of comparison and explanation,

[0252] Figure 20 ​Shows the hierarchical structure of data items that can be achieved using embodiments of the present disclosure described herein without an additional enhanced access control mechanism. The items on the left side of the hierarchy (dashed boxes) are shown at logical levels LL-01 to LL-06. The number of annual leave days taken by an employee is stored as a data item in LL-06. To determine how many days of annual leave a particular employee has taken, the user needs to disclose the "Annual Leave" transaction at LL-05, as the annual leave transaction has been signed by an encryption key that provides access to the transactions provided below it in the hierarchy. (Recall that the party having the key to access LL05 can use that key to access data at all levels below, but not data at higher levels (i.e., LL-04 or higher)). However, the drawback of doing so is that LL-05 may contain data that the owner does not wish to disclose. For example, sensitive or secret data may be stored at this level, or data that the owner does not wish to share with the access party for some other reason. Therefore, an enhanced degree of access control is needed, which can allow the data owner / controller to protect the data in the blockchain in an improved and more fine-grained manner.

[0253] Turning to Figure 21 the improved access mechanism shown, which is implemented using transactions formed according to the meta-network protocol described herein, we see that a new P node has been inserted into the hierarchy at blockchain level (BL) 06 between the "Annual Leave" transaction at BL-05 and the transaction at BL-07 that includes the actual data of the days taken. Thus, the BL-05 transaction introduces a permission control or key provision mechanism that prevents any party granted level BL-06 and below from accessing other data stored higher up in the structure. In our simple example, only the "Annual Leave (Taken)" transaction at BL-06 needs to be disclosed by providing the key for BL-06 to the authorized party so that they can calculate the days taken so far. More complex arrangements can be designed to provide subtly different permission levels and access rights to different authorized users and for the purpose of partitioning data stored across multiple non-adjacent blockchain transactions, thus achieving a more flexible and useful data storage facility on the blockchain.

[0254] The permission control node at BL-06 may or may not include additional data or metadata.

[0255] Domain, naming and location content in Meta Network

[0256] The hierarchical structure of the meta-network graph allows for rich domain-like structures to emerge. We interpret orphan nodes as top-level domains (TLDs), the children of orphan nodes as subdomains, the grandchildren as sub-subdomains, etc., and childless nodes as end-points. See Figure 13 。

[0257] The domain name is translated into an ID node 。Each top-level domain in the Meta-Net can be regarded as a tree, where the root is an orphan node and the leaves are nodes without children. The Meta-Net itself is a global set of trees that form a graph.

[0258] The Meta-Net protocol does not specify that any node contains content data, but the leaf (childless) nodes represent the ends of the directed paths in the data tree and will therefore typically be used to store content data. However, content can be stored at any node in the tree. Protocol-specific flags included as attributes in the nodes can be used to specify the role of the nodes in the data tree (disk space, folder, file, or permission change).

[0259] As previously mentioned, the Internet uses the Domain Name System (DNS) to associate human-readable names with Internet Protocol (IP) addresses. DNS is decentralized in a sense, although in practice it is controlled by a small number of key players (e.g., governments and large companies). Depending on your DNS provider, the same name can take you to different addresses. This problem is inherent in mapping human-readable short names to computer-generated numbers.

[0260] We assume the existence of an equivalent distributed system that maps human-readable top-level domain names to root node decentralized index IDs root In other words, there exists a one-to-one function κ that maps human-readable names to the Meta-Net root node index, e.g.:

[0261] κ('bobsblog') = ID bobsblog (= H(P bobsblog ||TxID bobsblog ))

[0262] The input on the left is the human-readable word, while the output on the right is the hash digest, which will typically be a 256-bit data structure. It should be noted that P bobsblog and TxID bobsblog are usually not human-readable either. In the standard IP protocol, this would be the mapping from www.bobsblog.com to the IP address of the corresponding domain within the network.

[0263] The mapping κ should be interpreted as a measure to ensure backward compatibility between the Meta-Net and the Internet when replicating the human readability of domain names published by DNS, but the naming and addressing scheme that provides the structure of the Meta-Net does not explicitly depend on this mapping.

[0264] Possible existing forms of the mapping function include the DNSLink system employed by the InterPlanetary File System (IPFS) or the OpenNIC service (https: / / www.openic.org). This mapping can be stored as part of DNS in existing TXT records. This is similar to DNSLink in IPFS, see https: / / docs.ipfs.io / guides / concepts / dnslink / . However, generally speaking, these sacrifice some elements of decentralization in order to provide a 1-1 mapping, see https: / / hackernoon.com / ten-terrible-attempts-to-make-the-inter-planetary-file-system-human-friendly-e4e95df0c6fa

[0265] The public key used as the address of the meta-network node is not a human-readable object. This can make the search, reference, and input activities of human users error-prone and slow. However, a human-recognizable public key address can be created, which includes a plaintext prefix that can be directly interpreted by the user.

[0266] The difficulty of creating such an address depends on the character length of the required prefix. This means that a human-recognizable address can be used as a node address, which only depends on the creation effort of the owner rather than a central publication. For a given prefix, due to the remaining characters in the suffix, there are many different human-recognizable addresses, so many node addresses can share a common prefix while still remaining unique.

[0267] An example of a human-recognizable address with the required prefix is:

[0268] P bobsblog :bobsblogHtKNngkdXEeobR76b53LETtpyT

[0269] Prefix: bobsblog

[0270] Suffix: HtKNngkdXEeobR76b53LETtpyT

[0271] The human-recognizable address above can be used to sense-check the mapping from the name 'bobsblog' to the node index ID bobsblog and assist the meta-network node through the searchability of the address. It should be noted that the prefix is not unique here, but the entire address itself is a unique entity.

[0272] The selected address P vanity forms an ID together with the TxID node The combination is also beneficial because it means there is no central publisher of domain names (TxIDs are generated by a decentralized proof of work), and the names are recoverable from the blockchain itself. Advantageously, there will no longer be points of failure that exist within the Internet DNS.

[0273] Since the metadomain already provides a permissioning system (public keys), there is no need to issue credentials to prove ownership. Using the blockchain for this purpose has been explored. However, according to the present invention, there is no need to use a separate blockchain for this function because everything can be achieved within one blockchain.

[0274] Compared to the prior art, this significantly reduces the amount of resources (hardware, processing resources, and energy) required by the present invention. In terms of the arrangement of device and system components, it also provides a completely different architecture.

[0275] The advantage of this naming system is that users can identify top-level domains in the metanetwork by memorable words (e.g., company names) rather than hash digests. This also makes searching for domains faster because searching by keyword is faster than by hash digest. This also reduces input errors, thus providing an improved search tool for data stored on the blockchain.

[0276] Given the mapping from domain names to node indices, we can establish a resource locator similar to the Internet's Uniform Resource Locator (URL). We call this the metanetwork URL (MURL), and it has the following form

[0277] MURL ='mnp:' + ′ / / domain name ′+′ / path′ + ′ / file′.

[0278] Each component of the URL - protocol, domain name, path, and file - has been mapped to the structure of the MURL, making the object more user-intuitive and enabling it to integrate with the existing structure of the Internet.

[0279] This assumes that each node has a name associated with its public key (address), which is unique at the level within the domain tree. This name is always the rightmost component of the MURL for a given node. If two nodes at the same level in the tree have the same name, they will have the same public key and thus the latest version will be adopted.

[0280] The following table gives the analogy between the metanetwork protocol and the Internet protocol:

[0281]

[0282] Table: Summary of the analogy between Internet protocols and metanetwork protocols

[0283] Search Meta Network

[0284] We have defined the meta-network graph structure of the exemplary embodiments such that each node has a unique index and may have a name attributed to it. This allows content to be located using MURLs. To also implement a fast search function, we allow additional keywords to be attributed to nodes.

[0285] The fixed attributes of a node are the index and the index of the parent node, and the optional attributes are the name and keywords.

[0286]

[0287] In one example, a utility method for searching the meta-network could be to first trawl through the blockchain using a block detector and identify all transactions via the meta-network flag, checking whether they are valid meta-network nodes and, if so, recording their indexes and keywords in a database or other storage resource. The database can then be used to efficiently search for nodes by the required keywords. Once the index of a node is found by the required keyword, its content can be extracted from the block detector and viewed.

[0288] For example, consider Figure 14 branch P 1 , where the nodes corresponding to public keys P 0 , P 1 and P 1,1 represent a home page, a topic page, and a sub-topic page, respectively. These nodes are given the names ‘bobsblog’, ‘summer’, and ‘caribbean’, and their attributes are as follows:

[0289]

[0290]

[0291] In this example, the leaf nodes P 1,1,1 , P 1,1,2 and P 1,1,3 are given the names ‘beaches’, ‘nightlife’, and ‘food’ respectively and are used to store individual blog posts. The complete domain structure is shown in the diagram overleaf, including the MURL search paths associated with each node in the tree.

[0292] We should note that the meta-network can also be incorporated into a content-addressable network (CAN) by storing the hash of the content stored in node transactions as an additional attribute. This means that meta-network nodes can also be indexed and searched by content hash.

[0293] The naming and addressing methods described above provide numerous technical advantages over the prior art, including:

[0294] 1. Public key addresses - The system uses the same public-private key pairs as the blockchain to allocate node addresses. This means that the same set of keys is used for both the management of funds and the permissioning of content data. This provides an efficient and secure solution.

[0295] 2. Decentralized domains - The publication of domain names is fully decentralized by including TxIDs that can only be generated by proof-of-work. Domain names can also incorporate human-readable public keys that achieve an equitable distribution of the required domain public keys. Again, this solution provides enhanced efficiency and security. node The domain names can also incorporate human-readable public keys that achieve an equitable distribution of the required domain public keys. Again, this solution provides enhanced efficiency and security.

[0296] 3. Graph structure - The naming and addressing architecture specifies a graph that can be constructed from a subset of the blockchain data including the metaweb nodes. This design uses an ordered structure to map the complexity of the Internet onto the blockchain, such that the blockchain fully replicates its functionality and scalability while maintaining security.

[0297] Browser wallet application

[0298] As previously described, in the metaweb protocol, all data exists directly on the blockchain itself. In this section, we provide an example of an illustrative computer application that can effectively access, display, and interact with the metaweb data stored on the blockchain, which is referred to herein for convenience as the "browser wallet".

[0299] We will first discuss how the browser wallet interfaces with the core components and functionality of the distributed peer-to-peer Internet, and then provide a more detailed description for the remainder of this section.

[0300] The browser wallet is an application designed to allow end-users to interact with the metaweb infrastructure on the blockchain. This application should allow for exploratory searches of the metaweb graph to find specific content embedded within the tree. Additionally, the browser wallet will handle the retrieval, decryption, recombination, and caching (optional) of content.

[0301] Blockchain search engine

[0302] Search engines - Prior art

[0303] Search engines (SEs) known in the prior art rely on powerful web crawlers to locate, index, and rank web content based on user queries. (The same basic principle can be extended to third-party blockchain SEs that crawl the metaweb.)

[0304] The SE searches for relevant HTML meta-tags and content by keywords in the query. Subsequently, it indexes the crawling results, where any embedded images / videos / media files are analyzed and cataloged. Then, considering the user's location, language, and device, it programmatically rates the most relevant results in the index.

[0305] A typical SE should have the following functionality:

[0306] 1. Crawling - Identify Internet data and crawl it through relevant metadata such as domain names, linked pages, and relevant keywords. Discover new Internet content through existing content and also crawl for any relevant information.

[0307] 2. Indexing - Analyze and catalog content data. This information is stored in a database.

[0308] 3. Serving and rating - Rate the content index in order of relevance to the user's query.

[0309] Block explorer

[0310] The blockchain analogue closest to an Internet search engine (SE) is the blockchain explorer, which is sometimes referred to as a 'block explorer' or 'blockchain browser'. A blockchain explorer is a web application that enables user-friendly queries on the blockchain at a high level and functions similarly to a web browser, but connects to the blockchain instead of the Internet.

[0311] In most cases, these explorers allow blocks (indexed by the hash of the block header), transactions (indexed by TxID), addresses, and unspent transaction outputs (UTXOs) to be input and searched for. Many explorers also provide their own application programming interface (API) for retrieving raw transaction and block data. See https: / / blockexplorer.com / api-ref.

[0312] Block explorers, although of varying capabilities, are generally useful for cataloging transactions in a user-friendly extractable form and displaying their basic information - for example, addresses. Many explorers also allow viewing of the individual inputs and locking scripts of a transaction, although there is an inconsistency between how these explorers and more advanced sites (e.g., Blockchair https: / / blockchair.com / ) choose to present this information.

[0313] Recently, there have been many extensions to the basic blockchain detectors for running network applications based on blockchain data. These applications (e.g., Memo.cash https: / / memo.cash / protocol and Matter https: / / www.mttr.app / home) catalog and organize blockchain transactions containing specific protocol identifiers like a block detector, and display the data encoded within those specific transactions.

[0314] However, there are two important problems with using blockchain detectors, and embodiments of the present invention solve these problems:

[0315] 1. Generalizability - There is currently no industry standard for browsing content data stored in transactions. Content data refers to any data that does not pertain to the protocols used to create and secure the underlying blockchain.

[0316] 2. Keyword search - The content data stored in transactions needs to be retrievable by human-readable keywords. This is generally not a function of current block detectors, as current block detectors are used to query the protocol-based nature of transactions (e.g., block height, TxID, and address), rather than using keywords as search inputs. (However, some detectors such as Blockchair can search for words if they are directly included in the transaction's script).

[0317] Importantly, as described above, the powerful naming and addressing structure of the present invention facilitates and enables the construction of blockchain detectors that are more complex than those known in the art.

[0318] Proposed Meta Network search engine

[0319] The browser wallet application communicates with a third-party search engine to discover node identities (ID node ). It is envisioned that this third party can provide a powerful and versatile service that replicates the capabilities of existing Internet search engines.

[0320] The meta-web search engine third party maintains a database of all meta-web transactions mined into the blockchain that can be identified by meta-web protocol flags. This database can catalog all meta-web nodes through a range index including ID node , node name, keyword, TxID, and block height.

[0321] There already exist services that continuously synchronize with the blockchain and maintain transaction data in a standard database format. The browser wallet transfers the responsibility of crawling, indexing, serving, and rating meta-web transactions to this third party and connects to its service when locating content stored on the meta-web graph.

[0322] Efficiency can be saved by having a database dedicated solely to metanet data. This database will not store data associated with all transactions, but only those containing metanet flags. Some databases, such as non-relational databases like MongoDB, may be more efficient in storing the graph structure of the metanet. This will allow for faster queries, lower storage space, and more efficient association of relevant content within the metanet domain.

[0323] Figure 15 Illustrates how the browser wallet interacts with a third-party search engine when a user searches for content within the metanet infrastructure. Importantly, it should be noted that, in contrast to the Internet, there is no need for routing, so the present invention provides significant advantages in terms of efficiency, speed, processing, and resources required.

[0324] The process is as follows:

[0325] 1. The end user enters a keyword in the browser wallet search bar.

[0326] 2. The browser wallet sends the keyword query to the third-party SE.

[0327] 3. The SE checks the keyword against its database and returns the IDs of any metanet nodes containing relevant content node . The third party may also return other indexes on each node to the user and provide suggestions for relevant content.

[0328] 4. The browser wallet uses the node identifier and the domain name associated with it to construct an MURL.

[0329] 5. The browser wallet requests the content belonging to the specified node from any network peer having a full copy of the blockchain.

[0330] 6. The network peer provides the requested content to the browser wallet. Since the peer has a copy of the blockchain, it must also have a copy of the content, so only one request is made and the request is never forwarded to other network peers.

[0331] It should be emphasized that the third-party SE is only responsible for indexing and maintaining the property records of metanet nodes, while the original content data stored on the nodes is stored by network peers (e.g., full-copy peers, archives) having a full copy of the blockchain.

[0332] Content display – Meta Network browser

[0333] The browser wallet application emulates the same front-end capabilities that any typical web browser should provide. These functions include, but are not limited to:

[0334] 1. Search - Provide access to a search engine (SE) to locate content.

[0335] 2. Retrieval - Communicate with the server to facilitate the transfer of content using a known protocol (e.g., Hypertext Transfer Protocol (HTTP)).

[0336] 3. Interpretation - Parse the original code (e.g., in JavaScript) and execute it.

[0337] 4. Rendering - Efficiently display the parsed content for the end - user to view.

[0338] 5. User Interface (UI) - Provide an intuitive interface for the user to interact with the content, including action buttons and mechanisms for user input.

[0339] 6. Storage - Local temporary storage capacity for caching Internet content, cookies, etc. to improve repeated access to content.

[0340] In some embodiments, the software component of the browser wallet application that acts as a web browser is capable of performing the above - mentioned functions on the meta - web content embedded in the blockchain, which is searchable using its attributes (using SE) and retrievable (from peers).

[0341] Reorganization, decompression and decryption

[0342] According to certain embodiments of the present invention, the web browser software component of the browser wallet application is capable of handling all operations required to be performed on a given meta - web content. Generally speaking, there are many such operations to be performed, but we assume that at least the following operations are performed by the application using the meta - web protocol and infrastructure.

[0343] Re - assembly - In the case where the meta - web content needs to be split and inserted into multiple separate node transactions, the application will request the content from all relevant nodes and reconstruct the original content. The sorting and structure of the fragmented content can be encoded using additional flags in the attributes of each node.

[0344] De - compression - In the case where the content data is stored in compressed form on the blockchain, a flag indicating which standard compression scheme has been used should be included. The application will decompress the content according to this flag.

[0345] De - encryption - In the case where the content is encrypted, a flag should be used to indicate the encryption scheme. The application will locate the key from its decryption key wallet (discussed below) and decrypt the content data for use according to the encryption scheme used.

[0346] When performing these operations on the content data, flags can be used to indicate to the browser wallet that a given operation needs to be performed. This applies to any other operation, for which a suitable <operation_flag> can be included as part of the attributes of the node to which the operation is applied.

[0347] Cache

[0348] The caching of local files and cookies is a common and important feature of typical web browsers. Browser wallet applications also use local storage in a similar way to optionally save records of IDs related to content of interest node and other node attributes. This allows for more efficient lookup and retrieval of content from frequently accessed metanet nodes.

[0349] The metanet addresses the inherent problem of caching Internet data, which is variable and can be changed or deleted by web browsing software according to the provider. When caching metanet data, users can always easily verify that the data is in the same state as when it was originally included as an immutable record on the blockchain.

[0350] Hierarchical deterministic key management

[0351] A deterministic key Dk is a private key initialized from a single "seed" key. The seed is a randomly generated number that acts as the master key. A hash function can be used to combine the seed with other data (e.g., an index number or "chain code") to derive the deterministic key. These keys are related to each other and can be fully recovered from the seed key. If a user wishes to use an external wallet in combination with a metanet browser wallet, the seed also allows for easy import / export of the wallet between different wallet implementations, thus giving additional freedom.

[0352] Read and write Meta Network transactions

[0353] The essential advantage of the metanet is its use of the same data structure - the blockchain - to record both payment and content data.

[0354] The built-in local wallet in the application is able to write transactions to the blockchain, which are more complex compared to a typical Simplified Payment Verification (SPV) client. The wallet allows users to directly write metanet node transactions from the application to the blockchain by selecting content data from their computer to be embedded in the blockchain.

[0355] Since the browser wallet application has a user interface (UI), it allows the wallet component to create and broadcast transactions including content data that has been pre-constructed in the browser component or on the user's computer. It would be very difficult for a specially configured wallet that processes on its own to achieve this functionality.

[0356] Access key

[0357] As previously described, built into the MetaNet protocol is the ability to encrypt content using ECC key pairs or AES symmetric key pairs, and the ability to purchase the corresponding decryption keys or tokens. We refer to these keys or tokens as access keys or access tokens.

[0358] These keys / tokens grant the user permission to view or edit content (either single-use or multi-instance use). For this reason, it is advantageous to introduce a new wallet for storing and managing access keys and tokens.

[0359] The concept of timed access to MetaNet content can also be introduced by allowing access keys / tokens to be burned after a certain period of time. This can be achieved by requiring the access keys / tokens to be stored in a trusted execution environment (TEE) and not directly accessible to the user.

[0360] Decryption keys and access tokens can be deterministically stored and managed to facilitate efficient processing and deployment. Decryption keys (e.g., ECC private keys) can be generated and recovered by subsequent addition to a master key, while access tokens can be reconstructed using a hash chain seeded with some initial token.

[0361] Block height permission

[0362] Time locks can be included in the script language to implement block height permission. The op_code OP_CHECKLOCKTIMEVERIFY (CLTV) sets the block height at which a transaction output (UTXO) can be spent.

[0363] The advantages of block height permission are twofold:

[0364] 1. Version control - In the MetaNet protocol, the latest version of a node can be identified from the maximum block height. Browser wallets can be set up to display only the most recent version of a file by block height, thus implementing proof-of-work version control.

[0365] 2. Timed access - Browser wallet applications can periodically burn decryption keys purchased by users atomically. This ensures that viewers can only access content data during the period for which they have made a payment. Cloning of decryption keys can be prevented by storing the decryption keys in a trusted execution environment (TEE). Additionally, atomic swaps involve the purchase of a deterministic key Dk (for decrypting content data). Although this deterministic key is publicly visible, the TEE can be used to sign the combination of Dk and the securely enclaved private key.

[0366] A browser wallet can be arranged to synchronize with the current state of the blockchain so as to use the block height as its own time proxy instead of relying on any external clock or third-party time announcements.

[0367] Bypass network server

[0368] The present invention allows a browser (client) and a web server to communicate and exchange information through a new mechanism of distributed peer-to-peer Internet bypassing the domain name system (DNS) server and typical network routers. See http: / / www.theshulers.com / whitepapers / internet_whitepaper / . The present invention provides a new network architecture including peers that maintain a full copy of the blockchain, from which content can be provided to a browser wallet application.

[0369] Local full-copy peer

[0370] Consider a system of local peers in each geographical area (e.g., postal district, town, city). We assume that within this local area network, at least one peer maintains a full copy of the blockchain, and we refer to this peer as the local full-copy peer (LFCP). For our purposes, the LFCP only needs to store blockchain transactions including the meta-network flag, but is not limited to this.

[0371] All users by default send 'get' requests to the LFCP. Since the peer maintains a complete and up-to-date copy of the entire blockchain, all requests can be satisfied because any node ID queried will be available to the LFCP. It should be noted that if the SE is powerful and large enough to store meta-network content and perform the main functions of a typical SE, the meta-network search engine can also act as an LFCP.

[0372] In the simplest case, each LFCP will have the same storage and disk space overhead because each of them will need to be able to store the entire blockchain (about 200GB when written). The difference between each LFCP is that the LFCP should expand its capabilities to respond to the requirements of local requests from meta-network users. Therefore, if by default every meta-network user in the world queries its closest LFCP, each LCFP should strive to expand its operating capabilities to meet its local requirements. Populated areas such as cities will require LFCP operations including many cluster servers, while sparsely populated areas such as small towns will require fewer LCFP operations.

[0373] It is important to note that the disk space requirements are generic, while the CPU requirements for each LFCP adapt to the local area network needs. This is an example of an adaptive network, for example, Freenet - see https: / / blockstack.org / papers / .

[0374] One advantage of such a system is that when retrieving content associated with a given ID node the user only needs to make a single (local) connection to its LFCP. The LFCP does not need to forward the request to other peers, as it guarantees to be able to provide the required content itself.

[0375] The Metaweb offers many advantages over the Internet - for example, decentralization and removal of duplicates - similar to other peer-to-peer (P2P) file sharing services such as IPFS. However, the Metaweb improves these existing P2P models by ensuring immutability and, crucially, by removing the need to flood the network with requests for a given piece of content.

[0376] The Metaweb infrastructure is also robust to the failure of any one LFCP by adopting the network of these peers. This means that if an LFCP is deactivated, the end user simply defaults to using its next closest LFCP. This can be more efficient if the LFCPs communicate with each other to indicate at any given time which nearby peers are below or above capacity in terms of requests. This can allow users to send their requests to the most appropriate peers and establish a dynamic balance of request distribution among nearby LFCPs.

[0377] Global full-copy peer

[0378] Now consider the scenario when the generic disk space requirements become too large for smaller peers, which can happen as the Metaweb part of the blockchain expands and grows with adoption.

[0379] In this case, smaller LFCPs should use their disk space capacity to store Metaweb node transactions based on a popularity system (there is existing technology for rating content by request volume and intrinsic value). This means that the LFCPs now trim both their CPU (for request processing capabilities) and their storage allocation (for content serving capabilities) to adapt to their local geographical needs in terms of both content volume and intrinsic value.

[0380] To address the fact that LFCPs can no longer store all Metaweb transaction content, the concept of a Global Full Copy Peer (GFCP) can be utilized. A GFCP is a full copy peer with the following properties:

[0381] 1. The GFCP grows its disk space capacity so as to always maintain a full copy of the blockchain.

[0382] 2. GFCP has a significant amount of CPU resources, such that compared to LFCP, it can handle significantly more requests. In case many LFCPs are damaged, the global full - replica peers should be able to cope with the sudden increase in demand.

[0383] GFCP has two main functions. First, it acts as a fail - safe for user requests for metanet content when requests overflow from LFCP. Second, GFCP acts as an archival peer to store all metanet content mined historically, which ensures that any metanet node content can be accessed even if many LFCPs omit some content from their local storage provisions.

[0384] Global database (data bank)

[0385] The concept of GFCP is powerful and illustrates how the overall metanet architecture provides a solution to existing problems; creating a global database that encompasses all.

[0386] Prior to this, it was not possible to securely construct a general - purpose and globally accessible database because a central authority was required to maintain the database. This central authority injected points of failure and trust into the system. Crucially, if we rely on an organization to store and maintain all Internet data, we need to trust that the organization operates correctly and legally without destroying information.

[0387] Through the metanet infrastructure, the two issues of trust and centrality are effectively removed from the concept of a global data center. Now, a GFCP can be created because it only depends on it to provide the disk space required for storage without verifying and authenticating the information to be stored.

[0388] Through the metanet, the process of verifying stored content is carried out by network nodes, so a general - purpose global database can be trusted because it cannot corrupt blockchain information. GFCP does not need to be trusted, only to provide storage.

[0389] The fact that all GFCPs can store the same information that is always verifiable and provable for the blockchain itself means that information can be replicated among many such GFCPs.

[0390] This means that the problem of having a single point of failure is also solved by having many global databases exist in parallel and provably store the same information.

[0391] Figure 17 A system with two LFCPs and one GFCP is shown, and it illustrates how each peer can support the other in a network that is robust to damage to individual peers.

[0392] Aspects of the present invention that can be implemented in the embodiments of the browser wallet application described above provide many distinguishing features and advantages over the prior art, including but not limited to:

[0393] 1. Deterministic Keys - Hierarchical deterministic key management for both tokens and meta-network addresses is performed within the same wallet component of the application. This allows for organizing keys by reducing their storage requirements and enabling multiple functions for key recovery.

[0394] 2. Payment Mechanism - The application allows consumers to pay merchants directly without referring to another application or third-party payment service that would conventionally authenticate and provide trust. This enables the purchase and delivery of digital content via the same blockchain platform.

[0395] 3. Bypassing Network Servers - The application facilitates bypassing of conventional network servers that would conventionally handle large amounts of traffic, requests, and routing. This is because the application only needs to request content from a single LFCP, which ensures that requests do not need to be forwarded to other LFCPs to serve users. This reduces total traffic and the completion time for each request.

[0396] 4. Timed Access - The application facilitates timed access to content by synchronizing with the blockchain and using the blockchain based on its current state to enforce access permissions. This removes the need for third-party services to monitor user privileges over time while protecting the rights of the original owner.

[0397] Use case - Decentralized application store (Swapp store)

[0398] The first use case (for illustrative purposes only) of the meta-network architecture presented here is for decentralized payment and distribution of applications (apps).

[0399] Consider the following scenario: App developer Alice and consumer Bob wish to transact with each other. The transaction will take the form of an atomic swap, where a token is exchanged for a secret key that grants Bob access to the app data. The encrypted app data has been made public as part of a meta-network node transaction.

[0400] Apps exchanged atomically are called Swapps. A third-party platform (the Swapp Store) can be used to catalog and advertise apps that exist on the meta-network, but the payment and transfer of access keys to users (e.g., Bob) do not need to involve any third party and can occur directly between the merchant and the consumer.

[0401] The following sections detail the process for purchasing and selling Swapps from the creation of an app by Alice to the deployment of the app by Bob. Throughout the process, Alice and Bob will use their respective browser wallets to interact with the meta-network.

[0402] Publish

[0403] 1. Alice writes an application. The data that makes up the application is from <app>The content represented. She also uses the secret key S k to encrypt it as <e(App)>.

[0404] 2. Alice creates a node transaction ID AliceApp to set up her first metanet domain (tree). She generates 1AliceAppHtKNngkdXEeobR76b53LETtpy(P which will be used as the node address AliceApp ).

[0405] 3. Then, Alice creates the children of the first node to form a tree that corresponds to the metanet library of her application. Alice's tree domain is shown in Figure 17 .

[0406] One of the leaf nodes on this tree corresponds to her application with index ID App <app>The node. In this node, Alice inserts the encrypted application data <e(App)> into the input script (scriptSig) of the node. Using the secret key s k to encrypt the app data using the Koblitz method.

[0407] The node transaction is as follows.

[0408]

[0409] 4. Alice publicly broadcasts the ID AliceApp , P AliceApp and the domain name 'AliceApp'. This can be achieved via social media, internet websites, or by using a third-party metaweb website.

[0410] Purchase

[0411] 1. Bob wants to download a puzzle game and sees Alice's app listed on the metaweb website (Swapp Store) viewed on his browser wallet.

[0412] 2. Then, Bob uses the information from the website to communicate with Alice and sets up an atomic swap. The swap is designed such that Bob will pay Alice the agreed-upon price, and Alice will reveal the secret key s k , or neither of these events will occur.

[0413] 3. The atomic swap is completed, and Bob's browser wallet stores the secret key s k in its access key.

[0414] Deploy

[0415] Bob now has the key s k that will allow him to decrypt the application data previously released by Alice. To download and deploy the app, Bob does the following.

[0416] 1. Bob uses the metaweb search engine (SE) to find the MURL associated with the encrypted app data <e(App)>. He uses the keywords 'AliceApp' and 'App' as the input to the search bar in his browser wallet. The third-party SE parses the query and returns the following MURL:

[0417] mnp: / / aliceapp / games / puzzle / app

[0418] This locator corresponds to the unique metaweb node ID App , which includes the encrypted app data in its input script.

[0419] 2. Bob's browser wallet receives the MURL and then sends a request to the nearest appropriate LFCP. This peer provides Bob with the requested data <e(App)>.

[0420] 3. The browser wallet processes the data according to the attributes of the ID App . This includes using the secret key s k to decrypt the application data and process <app>。

[0421] 4. Bob will apply <app>Downloaded from his browser to his computer. Now, Bob can deploy the application locally without having to repurchase access rights.

[0422] Figure 18 Illustrates the entire process outlined in the above illustrative use case. The flowchart shows two action branches: Alice's branch (starting on the left) and Bob's branch (starting on the right). The branch corresponding to Alice shows the initial release phase and the Bob branch shows the phase of setting up a purchase via an atomic swap.

[0423] On Bob's branch, he broadcasts the following transaction TxID Bob As the atomic swap setup phase:

[0424]

[0425] In this transaction, the output is locked by a private key puzzle that requires the secret decryption key s k To be revealed to Bob for Alice to spend.

[0426] The branches of Alice and Bob in this figure converge at the point where Alice successfully completes the atomic swap transaction. This is achieved when Alice broadcasts the transaction TxID Alice When:

[0427]

[0428] Once this transaction is broadcast, the action branches of Alice and Bob diverge again. Alice receives payment of x tokens, while Bob receives the secret decryption key s k And is able to retrieve and decrypt Alice's application from the meta-network.

[0429] Example embodiments are now provided for illustration:

[0430] An embodiment of one aspect of the present disclosure may provide a computer-implemented method that includes the steps of: providing or using a plurality of blockchain transactions in a (logical) hierarchy such that a data portion provided or referenced in at least one additional transaction in a lower level of the hierarchy can be accessed or identified by comparing it with an encryption key used to sign a first transaction in a higher level of the hierarchy for signing the hierarchy; at least one transaction (the first transaction or the additional transaction) in the hierarchy may include: a transaction ID (TxID); a protocol flag; a discretionary public key (DPK); and / or a discretionary transaction ID (DTxID).

[0431] Additionally or alternatively, the method may include: using a first blockchain transaction to provide access to or prohibit access to portions of data provided or referenced in at least one additional transaction in a lower level of a hierarchy of blockchain transactions, based on a cryptographic key used to sign the first blockchain transaction. The first transaction and / or the additional transaction(s) may include: a transaction ID (TxID); a protocol flag; a discretionary public key (DPK); and a discretionary transaction ID (DTxID).

[0432] The method may further include the step of storing and / or maintaining a mapping between the key used to sign the first transaction and at least one additional transaction in the lower level of the hierarchy.

[0433] A method according to one or more aspects of the present disclosure may include the steps of generating or providing a plurality of associated blockchain transactions, wherein at least some of the transactions are generated or provided according to an embodiment of the metanet protocol described herein; the plurality of associated transactions may implement a logical hierarchy of data items related to an entity or be based on a logical hierarchy of data items related to an entity.

[0434] Additionally or alternatively, embodiments of the present disclosure may include a method that includes using at least one blockchain transaction (Tx) that includes a transaction ID (TxID), the transaction including:

[0435] a protocol flag;

[0436] a discretionary public key (DPK); and

[0437] a discretionary transaction ID (DTxID)

[0438] The transaction (Tx) may be the first transaction and / or an additional transaction in the lower level of the hierarchy. The use of the transaction may include processing, accessing, generating, accessing data from a peer-to-peer network (e.g., a blockchain), and / or searching within the peer-to-peer network.

[0439] This combination of features enables individual data portions to be identified on the blockchain and, when provided in multiple transactions, also enables them to be linked / associated with each other. It enables the construction of a graphical or tree-like structure that reflects the hierarchical relationships between the individual data portions, thus facilitating their processing, searching, accessing, generating, and sharing.

[0440] As is known in the blockchain protocol art, a transaction ID (TxID) is an identifier of a transaction - every blockchain transaction has a unique ID as part of the underlying blockchain protocol. In contrast, a discretionary public key (DPK) and / or a discretionary transaction ID (DTxID) can be "discretionary" in that they are provided as part of the present invention and not as an essential part of a transaction as provided for by the underlying blockchain protocol. In other words, according to the underlying blockchain protocol, they are not required for a transaction to be valid. Additionally or alternatively, they can be described as additional non-essential items provided as part of the present invention rather than because they are required by the blockchain protocol.

[0441] Preferably, a protocol flag is associated with and / or indicates a blockchain-based protocol that is used to search for, store, and / or retrieve data in one or more blockchain transactions. The protocol flag can be an indicator or a marker. It can indicate that a transaction is formed according to a predetermined protocol. This can be a protocol other than the underlying blockchain protocol. It can be a search protocol according to any of the embodiments described herein (i.e., a search protocol that can be referred to as the "metaweb" protocol described herein).

[0442] According to an embodiment of the present invention, a discretionary transaction ID can be an identifier, label, indicator, or marker associated with a transaction (Tx). We use the term "indicator" to include all of these terms. It should be noted that, as is known in the art and as will be readily understood by those skilled in the art, each transaction on a blockchain is uniquely identified by an identifier that is commonly referred to in the art as a TxID. The TxID is a fundamental, essential, and non-discretionary part of the underlying blockchain protocol. This non-discretionary TxID should not be confused with the discretionary transaction ID (DTxID) referred to herein.

[0443] Preferably, a blockchain transaction (Tx) also includes a portion of data, or a reference to a portion of data. The reference to a portion of data can be a pointer, address, or other indicator of the location of the data storage. The portion of data can be any type of data or digital content, e.g., a computer-executable item, text, video, image, sound file, etc. The portion of data can be referred to as "content". The portion of data or the reference thereto can be in a processed form. For example, it can be a hash digest of the portion of data. The data can be stored on-chain or off-chain (i.e., "off-chain").

[0444] Preferably, a part of the data or a reference to a part of the data, a protocol flag, a discretionary public key (DPK), and / or a discretionary transaction ID (DTxID) are provided in the output (UTXO) of the blockchain transaction. One or more of them can be provided in the locking script associated with the output (UTXO).

[0445] Preferably, a part of the data, a reference to a part of the data, a protocol flag, a discretionary public key (DPK), and / or a discretionary transaction ID (DTxID) are provided at a position after the script opcode within the transaction (Tx), which is used to mark the output as invalid for subsequent use as an input to a subsequent transaction.

[0446] The script opcode can be the OP_RETURN opcode in one or more variants of the blockchain protocol, or a functionally similar / equivalent opcode of another blockchain protocol.

[0447] Preferably, the transaction (Tx) also includes one or more attributes. This makes the method of searching for data / content more detailed. Attributes can also be referred to as "values", "tags", or "marks" or "identifiers". They can be used to describe or annotate a part of the data, or provide additional information related to the part of the data.

[0448] Preferably, one or more attributes include keywords, tags, or identifiers associated with the following:[[]]END

[0449] i) A part of the data provided or referenced in the transaction (Tx); and / or

[0450] ii) The transaction (Tx).

[0451] Preferably, the transaction (T X ) also includes an input, which includes:

[0452] A parent public key (PPK) associated with a logical parent transaction (LPTx), which is identified by a discretionary transaction ID (DTxID); and

[0453] A signature generated using the parent public key (PPK).

[0454] This enables the construction of a logical hierarchy between the transaction and the data embedded therein. Thus, multiple associated or logically linked transactions on the blockchain can be processed efficiently, securely, and quickly. Logically associated transactions may not be stored at consecutive block heights on the blockchain, but they can be easily, efficiently, and securely identified and / or accessed.

[0455] Preferably, the method further comprises the steps of: using a discretionary public key (DPK) and a transaction ID (TxID) to identify a transaction (Tx) or a logical parent transaction within a blockchain.

[0456] Additionally or alternatively, the present disclosure may provide a computer-implemented method, comprising the steps of:

[0457] associating a public key with a blockchain transaction (Tx) comprising a transaction ID; and

[0458] searching for the blockchain transaction (Tx) based on the transaction ID and the transaction public key.

[0459] Thus, the method may be an improved solution for storing, searching, identifying, communicating, and / or accessing data via a blockchain. The method may provide improvements for data communication and exchange across electronic networks, particularly peer-to-peer (blockchain) networks.

[0460] As described above, the public key and / or the transaction ID may be discretionary. According to this embodiment of the present invention, any of the features described above or herein may also be utilized, but for the sake of brevity and clarity, they are not repeated or reproduced herein.

[0461] It may further comprise the steps of: accessing or otherwise processing a portion of the data provided within or referenced from the transaction (Tx). The transaction may include a transaction ID (TxID), a protocol flag, a discretionary public key (DPK), and a discretionary transaction ID (DTxID). The transaction (Tx) may also include a portion of the data or a reference to a portion of the data. The portion of the data or the reference to the portion of the data, the protocol flag, the discretionary public key (DPK), and / or the discretionary transaction ID (DTxID) may be provided in an output (UTXO), preferably in a locking script associated with the output (UTXO).

[0462] The portion of the data, the reference to the portion of the data, the protocol flag, the discretionary public key (DPK), and / or the discretionary transaction ID (DTxID) may be provided at a position after a script opcode within the transaction (Tx) that is used to mark the output as invalid for subsequent use as an input to a subsequent transaction.

[0463] The transaction (Tx) may include one or more attributes. The one or more attributes may include keywords, tags, or identifiers associated with:

[0464] i) a portion of the data provided in or referenced from the transaction (Tx); and / or ii) the transaction (Tx).

[0465] The transaction (T X )It may also include an input, which includes: a parent public key (PPK) associated with a logical parent transaction (LPTx), where the logical parent transaction (LPTx) is identified by a freely determined transaction ID (DTxID); and a signature generated using the parent public key (PPK).

[0466] The method may include: using a freely determined public key (DPK) and a transaction ID (TxID) to identify a transaction (Tx) or a logical parent transaction within a blockchain. This may be performed during a search step.

[0467] A protocol flag may be associated with and / or indicate a blockchain-based protocol for searching, storing, and / or retrieving data in one or more blockchain transactions.

[0468] Additionally or alternatively, the method of the present disclosure may include any one or more of the following:

[0469] Generating a plurality of blockchain transactions, where each of the plurality of blockchain transactions stores a corresponding portion of first data to be stored on the blockchain and second data indicating that the portions of the first data are related to each other.

[0470] Preferably: a corresponding digital signature may be applied to the portion of the first data; preferably, at least some of the portions of the first data are each digitally signed by means of a single private key of a public-private key pair of a cryptosystem. Preferably, at least some of the portions of the first data are each digitally signed by means of a corresponding private key of a public-private key pair of a cryptosystem, and the private keys are related to each other. Preferably, at least one of the digital signatures is based on a cryptosystem having a public-private key pair, wherein the private key is based on a plurality of prime numbers, and the corresponding public key is based on the product of the plurality of prime numbers. At least one of the digital signatures may be a Rabin signature. The second data may include data related to the recombination of the first data. The first data may be included in a plurality of first inputs and / or first outputs of the plurality of blockchain transactions. Preferably, at least one second input and / or at least one second output of at least one of the blockchain transactions includes indication data indicating that the transaction includes the first data. The second data may represent at least one attribute of the first data, and the at least one attribute is at least one of a data type, a data encryption scheme, a data compression scheme, index information, permission information, encoding information, keyword information, or search information of the first data. The first data may be included only in at least one corresponding first output of the plurality of blockchain transactions. At least one first output and / or second output of at least one of the blockchain transactions may include a script opcode for marking the output as invalid for subsequent use as an input to a subsequent transaction. Additionally or alternatively, the method of the present disclosure may include any one or more of the following:

[0471] Generating a blockchain transaction having at least one first input and / or at least one first output, and at least one second input and / or at least one second output, wherein the at least one first input and / or at least one first output contains first data to be stored on the blockchain, and the at least one second input and / or at least one second output contains second data representing at least one attribute of the first data, wherein at least one of the at least one second input and / or at least one of the second outputs is separate from the or each first input and / or first output.

[0472] Preferably: the first data is included in a plurality of the first inputs and / or the first outputs; the second data may include data related to the recombination of the first data; at least one of the second inputs and / or at least one of the second outputs may include indication data indicating that the transaction includes the first data; the second data may represent at least one attribute of the first data, and the at least one attribute is at least one of the data type, data encryption scheme, data compression scheme, index information, permission information, encoding information, keyword information, or search information of the first data; the first data may be included in at least one of the first outputs; at least one of the first outputs and / or the second outputs may include script operation codes for marking the output as invalid for subsequent use as an input to a subsequent transaction; at least one of the first outputs may be redeemable by means of at least one key corresponding to the respective digital signature applied to the first data; a digital signature may be applied to the first data - preferably, at least one of the digital signatures is based on a cryptosystem having a public-private key pair, wherein the private key is based on a plurality of prime numbers, and the corresponding public key is based on the product of the plurality of prime numbers. At least one of the digital signatures may be a Rabin signature; a data compression technique or process or algorithm may be applied to the first data and / or the second data.

[0473] The present invention also provides a corresponding system, which is arranged and configured to perform the steps of any embodiment of the method disclosed herein. It may include a computer-implemented system, which includes:

[0474] a processor; and

[0475] a memory including executable instructions, which, when executed by the processor, cause the system to perform any embodiment of the computer-implemented method described herein.

[0476] It may include a peer-to-peer network or may be implemented on a peer-to-peer network, preferably, the peer-to-peer network is a blockchain network.

[0477] The present disclosure also provides a non-transitory computer-readable storage medium storing executable instructions, which, when executed by a processor of a computer system, cause the computer system to at least perform an embodiment of the method described herein.

[0478] Now turning to Figure 19 , an illustrative simplified block diagram of a computing device 2600 that can be used to practice at least one embodiment of the present disclosure is provided. In various embodiments, the computing device 2600 can be used to implement any of the systems shown and described above. For example, the computing device 2600 can be configured to be used as a data server, a network server, a portable computing device, a personal computer, or any electronic computing device. As Figure 19 As shown, the computing device 2600 may include one or more processors (collectively 2602) having one or more levels of cache memory and a memory controller, which may be configured to communicate with a storage subsystem 2606 including a main memory 2608 and a permanent storage device 2610. As shown, the main memory 2608 may include dynamic random access memory (DRAM) 2618 and read only memory (ROM) 2620. The storage subsystem 2606 and the cache memory 2602 may be used to store information, such as details associated with transactions and blocks described in this disclosure. The (one or more) processors 2602 may be used to provide the steps or functions of any of the embodiments described in this disclosure.

[0479] The (one or more) processors 2602 may also communicate with one or more user interface input devices 2612, one or more user interface output devices 2614, and a network interface subsystem 2616.

[0480] The bus subsystem 2604 may provide a mechanism for enabling the various components and subsystems of the computing device 2600 to communicate with each other as expected. Although the bus subsystem 2604 is schematically shown as a single bus, alternative embodiments of the bus subsystem may utilize multiple buses.

[0481] The network interface subsystem 2616 may provide an interface to other computing devices and networks. The network interface subsystem 2616 may serve as an interface for receiving data from other systems different from the computing device 2600 and for transmitting data to other systems. For example, the network interface subsystem 2616 may enable a data technician to connect a device to a network such that the data technician can transmit data to and receive data from the device while located at a remote location (e.g., a data center).

[0482] The user interface input devices 2612 may include one or more user input devices, such as a keyboard; a pointing device such as an integrated mouse, trackball, touchpad, or graphics tablet; a scanner; a barcode scanner; a touchscreen incorporated into a display; an audio input device such as a voice identification system, a microphone; and other types of input devices. Generally, the use of the term "input device" is intended to include all possible types of devices and mechanisms for inputting information into the computing device 2600.

[0483] One or more user interface output devices 2614 may include a display subsystem, a printer, or a non-visual display such as an audio output device. The display subsystem may be a cathode ray tube (CRT), a flat panel device such as a liquid crystal display (LCD), a light emitting diode (LED) display, or a projector, or other display device. Generally, the use of the term "output device" is intended to include all possible types of devices and mechanisms for outputting information from the computing device 2600. One or more user interface output devices 2614 may be used, for example, to present a user interface to facilitate interaction of a user with an application that performs the described processes and variations thereof, when such interaction is appropriate.

[0484] The storage subsystem 2606 may provide a computer-readable storage medium for storing the basic programming and data constructs that can provide the functionality of at least one embodiment of the present disclosure. When executed by one or more processors, application programs (programs, code modules, instructions) may provide the functionality of one or more embodiments of the present disclosure and may be stored in the storage subsystem 2606. These application modules or instructions may be executed by one or more processors 2602. Additionally, the storage subsystem 2606 may provide a repository for storing data used in accordance with the present disclosure. For example, the main memory 2608 and the cache memory 2602 may provide volatile storage for programs and data. The permanent storage device 2610 may provide permanent (non-volatile) storage for programs and data and may include flash memory, one or more solid state drives, one or more magnetic hard disk drives, one or more floppy disk drives with associated removable media, one or more optical drives (e.g., CD-ROM or DVD or Blue-Ray) with associated removable media, and other similar storage media. Such programs and data may include programs for performing the steps of one or more embodiments described in the present disclosure and data associated with the transactions and blocks described in the present disclosure.

[0485] The computing device 2600 may be of various types, including a portable computer device, a tablet computer, a workstation, or any other device described below. Additionally, the computing device 2600 may include another device that can be connected to the computing device 2600 through one or more ports (e.g., USB, headphone jack, Lightning connector, etc.). Devices that can be connected to the computing device 2600 may include a plurality of ports configured to accept fiber optic connectors. Thus, the device may be configured to convert an optical signal into an electrical signal that can be transmitted through the port connecting the device to the computing device 2600 for processing. Due to the ever-changing nature of computers and networks, Figure 19 The description of the computing device 2600 depicted is only intended as a specific example for the purpose of illustrating the preferred embodiments of the device. Many other configurations with more or fewer components than the Figure 19 system depicted are possible.

[0486] It should be noted that the above embodiments illustrate rather than limit the invention, and those skilled in the art will be able to design many alternative embodiments without departing from the scope of the invention as defined by the appended claims. In the claims, any reference signs in parentheses shall not be construed as limiting the claim. The word "comprising" etc. does not exclude the presence of elements or steps other than those listed in any claim or the whole specification. In this specification, "comprise" means "include or consist of", and "comprising" means "including or consisting of". The singular form of an element does not exclude the plural form of such element and vice versa. The invention can be implemented by hardware including several different elements and by a suitably programmed computer. In a device claim enumerating several components, several of these components may be implemented by one and the same piece of hardware. The fact that certain means are recited in mutually different dependent claims does not indicate that a combination of these means cannot be used to advantage.< / app> < / app> < / app> ​< / app> < / lzw> < / n> < / m> < / n> < / m> < / s> < / content> < / attributes>

Claims

1. A computer-implemented method, comprising the steps of: providing or using multiple blockchain transactions in a hierarchy of blockchain transactions implemented on a blockchain, such that a portion of the data provided or referenced in at least one additional blockchain transaction at a lower level of the hierarchy can be accessed or identified on the blockchain by comparison with a cryptographic key used to sign a first blockchain transaction in a higher level of the hierarchy.

2. The method according to claim 1, further comprising the steps of: storing and / or maintaining a mapping between the key used to sign the first blockchain transaction and at least one additional blockchain transaction at a lower level of the hierarchy.

3. The method according to claim 1, wherein, the first blockchain transaction and / or the at least one additional blockchain transaction at a lower level of the hierarchy comprises: a transaction ID (TxID); a protocol flag; a discretionary public key (DPK); and a discretionary transaction ID (DTxID).

4. The method according to claim 3, wherein: the transaction ID (TxID) is an identifier of the first blockchain transaction and / or at least one additional blockchain transaction, and this identifier is a basic, required, and non-discretionary part of the blockchain protocol; the protocol flag indicates that the transaction is formed according to a protocol other than the blockchain transaction; and the discretionary public key (DPK) and the discretionary transaction ID (DTxID) are not specified or required by the blockchain protocol.

5. The method according to claim 4, wherein, the protocol flag indicating that the transaction is formed according to a protocol other than the blockchain transaction includes: the protocol flag indicating that the transaction is formed according to a protocol for searching, storing, or obtaining data in one or more blockchain transactions.

6. The method according to claim 3, wherein: the portion of the data or a reference to the portion of the data, the protocol flag, the discretionary public key (DPK), and / or the discretionary transaction ID (DTxID) are provided within the output (UTXO) of the first blockchain transaction and / or at least one additional blockchain transaction.

7. The method according to claim 6, wherein, the portion of the data or a reference to the portion of the data, the protocol flag, the discretionary public key (DPK), and / or the discretionary transaction ID (DTxID) are provided within a locking script associated with the output (UTXO).

8. The method according to claim 3, wherein, the portion of the data, the reference to the portion of the data, the protocol flag, the discretionary public key (DPK), and / or the discretionary transaction ID (DTxID) are provided at a position after a script opcode within a blockchain transaction (Tx), and the script opcode is used to mark the output as invalid for subsequent use as an input to a subsequent blockchain transaction.

9. The method according to claim 1, wherein: The first blockchain transaction and / or at least one additional blockchain transaction includes one or more attributes.

10. The method according to claim 9, wherein: The one or more attributes include keywords, tags, or identifiers associated with: i) a portion of the data provided or referenced in the first blockchain transaction and / or at least one additional blockchain transaction; and / or ii) the first blockchain transaction and / or at least one additional blockchain transaction.

11. The method according to claim 3, wherein, The first blockchain transaction and / or at least one additional blockchain transaction further includes an input, the input including: a parent public key (PPK) associated with a logical parent transaction (LPTx), wherein the logical parent transaction (LPTx) is identified by the freely determined transaction ID (DTxID); and a signature generated using the parent public key (PPK).

12. The method according to claim 11, further comprising the steps of: using the freely determined public key (DPK) and the transaction ID (TxID) to identify the first blockchain transaction, the at least one additional blockchain transaction, and / or the logical parent transaction within the blockchain.

13. The method according to claim 1, wherein, The first blockchain transaction and / or at least one additional blockchain transaction includes a unique index, the unique index including: a concatenation of a public key and a transaction ID; and / or a hash of a public key and a transaction ID; and / or a hash of a concatenation of a freely determined public key and a freely determined transaction ID.

14. A computer-implemented system, comprising: a processor; and a memory including executable instructions that, when executed by the processor, cause the system to perform any implementation of the computer-implemented method according to any one of claims 1 to 13.

15. A non-transitory computer-readable storage medium having stored thereon executable instructions that, when executed by a processor of a computer system, cause the computer system to perform at least an implementation of the method according to any one of claims 1 to 13.

Citation Information

Patent Citations

  • Determining a common secret for the secure exchange of information and hierarchical, deterministic cryptographic keys

    WO2017145016A1