CN110941676B - Configuration method, device, equipment and medium - Google Patents
Configuration method, device, equipment and medium Download PDFInfo
- Publication number
- CN110941676B CN110941676B CN201911180914.XA CN201911180914A CN110941676B CN 110941676 B CN110941676 B CN 110941676B CN 201911180914 A CN201911180914 A CN 201911180914A CN 110941676 B CN110941676 B CN 110941676B
- Authority
- CN
- China
- Prior art keywords
- block
- configuration
- block chain
- blocks
- configuration parameters
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 238000012795 verification Methods 0.000 claims description 6
- 230000007246 mechanism Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 8
- 238000012423 maintenance Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 6
- 238000004590 computer program Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000010200 validation analysis Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000002776 aggregation Effects 0.000 description 1
- 238000004220 aggregation Methods 0.000 description 1
- 238000009412 basement excavation Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- G06F16/275—Synchronous replication
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Computing Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the application provides a configuration method, a configuration device and a configuration medium, which are applied to a block chain system, wherein the block chain system comprises a block chain and a plurality of node devices, the block chain comprises a plurality of blocks and generation timestamps of the blocks, and the blocks of the block chain are connected in a sequence from small to large according to the generation timestamps; the node device stores the block chain; the method comprises the following steps: when the node equipment joins the block chain system, acquiring the block chain from the node equipment; determining a target block among a plurality of blocks of the blockchain, the target block being a block for storing configuration parameters of the blockchain system; and executing configuration operation according to the configuration parameters stored in the target block. The configuration efficiency can be effectively improved.
Description
Technical Field
The present application relates to the field of blockchain technology, and in particular, to the field of data processing based on blockchains, and more particularly, to a configuration method, a configuration apparatus, a configuration device, and a computer storage medium.
Background
The blockchain system generally includes many configuration parameters, such as protocol version information, software version information, public keys of node devices, and the like, according to which each node device in the blockchain system needs to perform configuration operations to meet the relevant configuration requirements of the blockchain system. In the prior art, configuration parameters of a blockchain system are usually maintained manually by operation and maintenance personnel, specifically, when a node device is newly added to the blockchain system, the operation and maintenance personnel needs to manually write the configuration parameters in the blockchain system into the newly added node device, and the newly added node device performs configuration operation according to the written configuration parameters, which is limited by the efficiency problem of manual operation, and the configuration process is tedious and takes a long time, which may affect the synchronization progress between the newly added node device and other node devices in the blockchain system.
Disclosure of Invention
The embodiment of the application provides a configuration method, a configuration device, equipment and a medium, which can effectively improve configuration efficiency.
On one hand, the embodiment of the present application provides a configuration method, which is applied to a block chain system, where the block chain system includes a block chain and a plurality of node devices, the block chain includes a plurality of blocks and generation timestamps of the blocks, and the blocks of the block chain are connected in an order from small to large according to the generation timestamps; the node device stores the block chain; the method comprises the following steps:
when the node equipment joins the block chain system, acquiring the block chain from the node equipment;
determining a target block among a plurality of blocks of the blockchain, the target block being a block for storing configuration parameters of the blockchain system;
and executing configuration operation according to the configuration parameters stored in the target block.
On one hand, an embodiment of the present application provides a configuration apparatus, which is applied to a block chain system, where the block chain system includes a block chain and a plurality of node devices, the block chain includes a plurality of blocks and generation timestamps of the blocks, and the blocks of the block chain are connected in an order from small to large according to the generation timestamps; the node device stores the block chain; the device comprises:
an obtaining unit, configured to obtain the blockchain from the node device when joining the blockchain system;
a determining unit, configured to determine a target block among a plurality of blocks of the block chain, where the target block is a block for storing configuration parameters of the block chain system;
and the configuration unit is used for executing configuration operation according to the configuration parameters stored in the target block.
In one aspect, an embodiment of the present application provides a configuration device, which includes an input interface and an output interface, and further includes:
a processor adapted to implement one or more instructions; and the number of the first and second groups,
a computer storage medium having stored thereon one or more instructions adapted to be loaded by the processor and to perform the above-described configuration method.
In one aspect, the present embodiments also provide a computer storage medium, where one or more instructions are stored, where the one or more instructions are adapted to be loaded by the processor and to execute the configuration method described above.
In the embodiment of the application, the configuration parameters of the blockchain system are directly recorded in the blocks of the blockchain; when new node equipment is added into the block chain system, based on the characteristic of multipoint consistency of the block chain system, the newly added node equipment needs to load the whole block chain, so that configuration parameters can be directly read from blocks of the block chain to execute configuration operation, the configuration process can realize effective management of the configuration parameters of the block chain system, and the cost of manual maintenance is avoided; meanwhile, the configuration efficiency can be effectively improved, so that the newly added node equipment can quickly complete the configuration operation, and the synchronization efficiency between the newly added node equipment and other node equipment in the block chain system is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 illustrates an architecture diagram of a blockchain system provided by an exemplary embodiment of the present application;
FIG. 2 illustrates a block chain structure provided by an exemplary embodiment of the present application;
fig. 3 is a block chain network architecture diagram provided in an exemplary embodiment of the present application;
FIG. 4 illustrates a flow chart of a configuration method provided by an exemplary embodiment of the present application;
FIG. 5 illustrates a flow chart of a configuration method provided by an exemplary embodiment of the present application;
FIG. 6 illustrates a schematic structural diagram of a configuration device provided by an exemplary embodiment of the present application;
fig. 7 shows a schematic structural diagram of a configuration device according to an exemplary embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiments of the present application relate to blockchains. The block chain is a set of decentralized infrastructure with distributed storage characteristics, and particularly is a data structure formed by data blocks in a linked list-like manner according to a time sequence, so that data which are in a sequential relationship and can be verified in a system can be safely stored, and the data cannot be tampered and counterfeited in a cryptographic manner.
FIG. 1 illustrates an architecture diagram of a blockchain system provided by an exemplary embodiment of the present application; as shown in fig. 1, the block chain system mainly includes 5 hierarchies of 101-105 in bottom-to-top order. Wherein:
(1) the informational data and Merkle (Merkle) tree are located at the bottom level 101. The message data here refers to the original data that is requested to be distributed to the blockchain network but has not yet formed blocks, and may be, for example, loan data, transaction data, and the like. These raw data need further processing (e.g., authentication of each node in the blockchain network, hashing, etc.) to be written into the blocks. The Merkle tree is an important component of the blockchain technology, the blockchain does not directly store the plaintext original data, and the original data needs to be hashed and stored in the form of a hash value. The merkel tree is used for organizing hash values formed by hashing a plurality of original data according to a binary tree structure and storing the hash values in a block of blocks.
(2) The blocks are located at level 102. Blocks, i.e., data blocks (or data blocks), are used to store transactional data in a blockchain system. The information data of the bottom layer 101 (i.e., the original transaction data) is written into blocks in the hierarchy 102 after further processing. The blocks are sequentially connected into a chain structure, namely a block chain is formed. FIG. 2 illustrates a block chain structure provided by an exemplary embodiment of the present application; as shown in fig. 2, block 201, block 202, and block 203 are connected in sequence in a chain structure. The block 202 is divided into a block header and a block body, where the block header includes the digest value of the previous block 201, the digest value of the current block 202, and the merkel (Merkle) root of the current block. The block body contains the complete data of this block 202 and is organized together in the form of a Merkle tree. In the block chain shown in fig. 2, each block corresponds to a generation timestamp, where the generation timestamp is used to indicate the generation time of the block; the block chain is formed by connecting the generation time stamps of a plurality of blocks from small to large in sequence.
(3) The protocols and mechanisms followed by the blockchain are located at level 103. These protocols may include: P2P (Peer-to-Peer) protocol; mechanisms may include, but are not limited to: broadcast mechanism, consensus mechanism (including core mechanisms such as PoW (Proof Of Work) mechanism, POS (Proof Of rights) mechanism, etc.).
(4) The blockchain network is located at level 104. The block chain network consists of a plurality of nodes; devices that may act as nodes may include, but are not limited to: a PC (Personal Computer), a server, an ore machine for bitcoin excavation design, a smart phone, a tablet Computer, a mobile Computer, and the like. Fig. 3 is a block chain network architecture diagram provided in an exemplary embodiment of the present application; in the figure, 7 nodes are taken as an example for explanation, each node in the block chain network is networked in a P2P mode, and the nodes communicate with each other according to a P2P protocol; all the nodes commonly follow a broadcasting mechanism and a consensus mechanism (including core mechanisms such as a PoW mechanism and a POS mechanism), so that the data on the block chain can be ensured to be not tampered and counterfeited, and meanwhile, the characteristics of decentralized and trust-removed block chains are realized.
(5) The smart contracts are located at upper layer 105. An intelligent contract is a set of scenarios-a countermeasure-type of programmed rules and logic, which is decentralized, information-shareable program code deployed on a blockchain. Each party signing the contract agrees on the contract content, and the contract is deployed in the block chain in the form of an intelligent contract, so that the contract can be automatically executed on behalf of each signing party without any central authority.
Due to the characteristics of decentralized, distributed storage, data non-falsification and non-falsification, more and more business activities (such as loan activities and financial transaction activities) are spread based on the blockchain technology, so as to ensure the fairness and the openness of the business activities by using the characteristics of the blockchain.
The blockchain system is essentially a distributed system, and the system has the characteristic of multipoint consistency, wherein the multipoint consistency means that all node devices in the blockchain system must keep synchronous, which requires that all node devices in the blockchain system need to store a complete blockchain to keep consistency of block height among all node devices; the block height is used to indicate the number of blocks connected in a block chain. The block height is an identifier of the block, which can be used to indicate the position of the block in the block chain; the block height of the starting block in the block chain is default to 0, the block height of the first block after the starting block is 1 (the first block is simply referred to as block 1), the block height of the second block after the starting block is 2 (the second block is simply referred to as block 2), and so on. For example, the block height of the current block of a block chain is 300 (this current block may be referred to as block 300), which means that 300 blocks are already stacked on the starting block, i.e. the number of blocks in the block chain formed from the starting block to block 300 is 301. When a new node device joins the blockchain system, the newly joined node device needs to load and store all blocks on the entire blockchain to keep synchronization with other node devices in the blockchain system. As a distributed system, the blockchain system usually includes many configuration parameters, which may include but are not limited to: the configuration parameters of each node device in the blockchain system are used to perform configuration operations to meet the configuration requirements of the blockchain system.
The embodiment of the application provides a configuration scheme, which directly records configuration parameters of a block chain system in a block of the block chain by utilizing the characteristic of multipoint consistency of the block chain system; when new node equipment is added into the block chain system, the newly added node equipment needs to load the whole block chain based on the characteristic of multipoint consistency, so that configuration parameters can be directly read from blocks of the block chain to execute configuration operation, the configuration scheme can realize effective management of the configuration parameters of the block chain system, and the maintenance cost is saved; meanwhile, the configuration efficiency can be effectively improved, so that the newly added node equipment can quickly complete the configuration operation, and the synchronization efficiency between the newly added node equipment and other node equipment in the block chain system is improved.
FIG. 4 illustrates a flow chart of a configuration method provided by an exemplary embodiment of the present application; the method may be performed by any node device newly added to the blockchain system; the method may comprise the following steps S401-S403:
s401, when the node equipment joins the block chain system, the block chain is obtained from the node equipment.
When a new node device is added to the blockchain system, based on the multi-point consistency characteristic of the blockchain system, the newly added node device needs to load the whole blockchain, that is, all blocks in the whole blockchain need to be obtained. Specifically, the newly added node device may communicate with other nodes in the blockchain system, and receive the blockchain transmitted by other node devices in the blockchain system.
S402, determining a target block among the plurality of blocks of the block chain, where the target block is a block for storing configuration parameters of the block chain system.
The target block refers to a block in the block chain, where the configuration parameters of the block chain system are stored, and in one embodiment, the target block may be any one of the blocks in the block chain, for example, an area for storing the configuration parameters may be set in the block of the block chain, and then any one of the blocks may be used to store the configuration parameters of the block chain system, that is, any one of the blocks may be used as the target block. In another embodiment, the target block may also be a designated block in the block chain, and the designated block may be, for example, a block in the block chain that is specifically configured to store the configuration parameters, for example, a block is configured at regular intervals to specifically store the configuration parameters of the block chain system, and with the regular intervals being 10, the block indicated by the block height 10 (referred to as block 10) is used to store the configuration parameters of the block chain system, the block indicated by the block height 20 (referred to as block 20) is also used to store the configuration parameters of the block chain system, and so on; the target block refers to all or a portion of the blocks indicated by these fixed height intervals. Unless otherwise noted, the block denoted by the block height M (M is a positive integer) in the following embodiments is simply referred to as block M, for example: the block indicated by the block height 10 is referred to as block 10, the block indicated by the block height 12 is referred to as block 12, and so on.
S403, executing configuration operation according to the configuration parameters stored in the target block.
After the target block is determined from the block chain, the newly added node device can perform configuration operation according to the configuration parameters of the block chain system recorded in the target block, and complete the configuration of the newly added node device to meet the configuration requirement of the block chain system. For example: recording a node public key configuration parameter of the blockchain system in the target block, wherein the node public key configuration parameter indicates that newly added node equipment needs to disclose a public key of the newly added node equipment in the blockchain system; then, in step S403, the configuration operation performed by the newly added node device according to the node public key configuration parameters recorded in the target block includes: the newly joined node device generates its own key pair (including a public key and a private key), and broadcasts the public key of the key pair to other node devices in the blockchain system. The following steps are repeated: if a certain configuration parameter of the blockchain system recorded in the target block is "a" is 1, in step S403, the newly added node device configures the value of the parameter "a" corresponding to the newly added node device as "1" according to the record in the target block.
In the embodiment of the application, the configuration parameters of the blockchain system are directly recorded in the blocks of the blockchain; when new node equipment is added into the block chain system, based on the characteristic of multipoint consistency of the block chain system, the newly added node equipment needs to load the whole block chain, so that configuration parameters can be directly read from blocks of the block chain to execute configuration operation, the configuration process can realize effective management of the configuration parameters of the block chain system, and the maintenance cost is saved; meanwhile, the configuration efficiency can be effectively improved, so that the newly added node equipment can quickly complete the configuration operation, and the synchronization efficiency between the newly added node equipment and other node equipment in the block chain system is improved.
FIG. 5 illustrates a flow chart of a method of configuration provided by another exemplary embodiment of the present application; the method may be performed by any node device newly added to the blockchain system; the method may comprise the following steps S501-S506:
s501, when the node equipment joins the block chain system, the block chain is obtained from the node equipment.
S502, determining a target block among the plurality of blocks of the block chain, where the target block is a block for storing configuration parameters of the block chain system.
The target block is a block in the blockchain, in which configuration parameters of the blockchain system are stored, and the target block may be any block in the blockchain or a block designated in the blockchain.
In one embodiment, the blocks of the block chain include a plurality of data blocks and at least one allocation block; the data block is a block for storing transaction data of the blockchain system; the configuration block is a block for storing configuration parameters of the blockchain system; and all the configuration blocks in the block chain are arranged in the block chain at intervals according to a preset height. In this embodiment, configuration blocks for storing configuration parameters are specifically configured in the blockchain, that is, the blockchain of the embodiment of the present application is different from the conventional blockchain in structure in that: while a conventional blockchain only includes blocks for storing transaction data (i.e., data blocks), the blockchain of the embodiment of the present application includes both data blocks and allocation blocks; the allocation block differs from the data block in that: the configuration block is only used for storing configuration parameters of the blockchain system and is not used for storing transaction data in the blockchain system; the data blocks, on the contrary, are used only for storing transaction data in the blockchain system and are not used for storing configuration parameters of the blockchain system. The preset height interval may be set according to actual conditions, for example, the preset height interval may be 10, 20, and so on. Taking the preset height interval as 10 as an example, one allocation block is set every 10 block heights in the block chain, and the first 9 blocks are data blocks and the last 1 block is an allocation block in every 10 blocks obtained by dividing the whole block chain according to the 10 block heights.
In this embodiment, if each configuration block of the blockchain is used to store the full configuration parameters of the blockchain system; then step S502 specifically includes the following steps S11-S12:
s11, acquiring the generation time stamp of each configuration block of the block chain according to the preset height interval;
and s12, determining the configured block with the largest generation timestamp as the target block.
In steps s11-s12, the full configuration parameters refer to all configuration parameters generated by the blockchain system within the time range indicated between the generation timestamp of the starting block of the blockchain and the generation timestamp of each configuration block; specifically, the method comprises the following steps: the full configuration parameters stored in the first configuration block refer to all configuration parameters generated by a block chain system in a time range between a generation time stamp of a starting block of a block chain and a generation time stamp of the first configuration block; the full configuration parameters stored in the second configuration block refer to all configuration parameters generated by the block chain system in a time range between the generation time stamp of the starting block of the block chain and the generation time stamp of the second configuration block; and so on. Since the generation time stamp of each configuration block is different, the total configuration parameters stored in each configuration block may also be different, specifically: if the block chain system generates a new configuration parameter in the time range between the generation time stamp of the first configuration block and the generation time stamp of the second configuration block, the full configuration parameter stored in the first configuration block is different from the full configuration parameter stored in the second configuration block; if the block chain system does not generate new configuration parameters in the time range between the generation time stamp of the first configuration block and the generation time stamp of the second configuration block, the full configuration parameters stored in the first configuration block are the same as the full configuration parameters stored in the second configuration block. In steps s11-s12, since each allocation block is used to store the full configuration parameters of the blockchain system, the allocation block with the largest generation timestamp (i.e. the latest generated allocation block) among these allocation blocks stores the currently most complete full configuration parameters of the blockchain system, so that the allocation block with the largest generation timestamp can be determined as the target block; for example: the preset height interval is 10, that is, one allocation block is set every 10 block heights in the block chain, and the block height of the current block in the block chain is 34, then the block chain includes three allocation blocks, that is, block 10, block 20, and block 30, and since the generation timestamp of block 30 is the largest, block 30 is determined as the target block.
If each configuration block of the block chain is used for storing the incremental configuration parameters of the block chain system; then step S502 specifically includes the following steps S13-S14:
s13, obtaining each configuration block of the block chain according to the preset height interval.
s14, all the acquired allocation blocks are determined as target blocks.
In steps s13-s14, the incremental configuration parameters stored in the first configuration chunk of the blockchain refer to all configuration parameters generated by the blockchain system in the time range between the generation time stamp of the starting chunk of the blockchain and the generation time stamp of the first configuration chunk. The incremental configuration parameters stored by other configuration blocks except the first configuration block in the block chain refer to new configuration parameters generated by the block chain system in a time range from the generation time stamp of the last configuration block of the block chain to the generation time stamp of the current configuration block; the new configuration parameters comprise newly added configuration parameters or modified configuration parameters of the existing configuration parameters; for example: the preset height interval is 10, namely, a block chain is provided with an allocation block every 10 block heights; assuming that the block height of the current block of the block chain is 34, the block chain includes three allocated blocks, block 10, block 20, and block 30; the incremental configuration parameter stored in the block 10 is a ═ 1, and the incremental configuration parameter stored in the block 20 is b ═ 1; this means that in the time range between the generation time stamp of the block 10 and the generation time stamp of the block 20, a new configuration parameter b is added to the blockchain system, which is equal to 1. Let the incremental configuration parameter stored in the block 30 be b-2, which means that the value of the parameter b is modified from 1 to 2 in the blockchain system in the time range between the generation timestamp of the block 20 and the generation timestamp of the block 30. In steps s13-s14, each configuration block is used to store an incremental configuration parameter of the blockchain system, and the configuration blocks are all collected to obtain a complete full configuration parameter of the blockchain system, so that the configuration blocks need to be determined as target blocks; according to the above example, the block 10, the block 20, and the block 30 are all target blocks, and the total configuration parameters a-1 and b-2 of the block chain system can be obtained by summarizing all incremental configuration parameters in the three configuration blocks.
In one embodiment, the blocks of the block chain include a plurality of data blocks; the data block is provided with a transaction area and a configuration area, and the transaction area is used for storing transaction data of the blockchain system; the configuration area is used for storing configuration parameters of the blockchain system. This embodiment does not need to set a special configuration block in the blockchain to store the configuration parameters of the blockchain system, but uses the data blocks in the blockchain to store the configuration parameters; that is, in this embodiment, the blockchain of the embodiment of the present application has the same structure as the conventional blockchain, and both of them include only data blocks; however, the data block of the embodiment of the present application is different from the conventional data block in structure, and the difference between the data block and the conventional data block is that the conventional data block only includes a transaction area for storing transaction data because the conventional data block is only used for storing transaction data; the data block of the present application is used for storing configuration parameters in addition to transaction data, so that the data block of the present application is provided with an additional configuration area on the basis of the conventional data block for exclusively storing configuration parameters of the blockchain system.
In this embodiment, if the allocation area in the data block is used to store the full allocation parameters of the blockchain system; then step S502 specifically includes the following steps S21-S23:
s21, checking whether the allocation area of each data chunk in the chunk chain is empty.
s22, determining at least one data block with non-empty allocation area as the candidate block.
s23, the candidate block with the largest generation timestamp is determined as the target block.
In steps s21-s23, if the allocation area of a certain data chunk is empty, it indicates that the allocation block of the data chunk does not store the allocation parameters of the blockchain system; if the allocation area of a certain data block is not empty, the data block is indicated to store the allocation parameters of the block chain system; therefore, at least one data block with non-empty allocation areas in the block chain needs to be screened out as a candidate block. Since each candidate block is used to store the full configuration parameters of the blockchain system, among the candidate blocks, the candidate block with the largest generation timestamp (i.e. the candidate block generated latest) stores the current most complete full configuration parameters of the blockchain system, and therefore, the candidate block with the largest generation timestamp can be determined as the target block; for example: assuming that the block chain includes 3 candidate blocks with non-empty allocation areas, namely, block 15, block 20 and block 34, the generation timestamp of block 34 is the largest, and the current most complete full allocation parameters of the block chain system are stored in block 34, so that block 34 is determined as the target block.
If the allocation area in the data block is used for storing the increment allocation parameter of the block chain system; then step S502 specifically includes the following steps S24-S25:
s24, checking whether the allocation area of each data chunk in the chunk chain is empty.
s25, determining at least one data block with non-empty allocation area as the target block.
In steps s24-s25, if the allocation area of a certain data chunk is empty, it indicates that the allocation block of the data chunk does not store the allocation parameters of the blockchain system; if the allocation area of a certain data block is not empty, the data block is indicated to store the allocation parameters of the block chain system; therefore, at least one data block with non-empty allocation areas in the block chain needs to be screened out first. Since the at least one screened data block is used to store the incremental configuration parameters of the blockchain system, the current complete full configuration parameters of the blockchain system can be obtained only after the at least one screened data block is completely summarized, and thus, the at least one screened data block needs to be determined as the target block.
S503, executing configuration operation according to the configuration parameters stored in the target block.
In one embodiment, if the target block stores the full configuration parameters, step S503 specifically includes the following steps S31-S32:
s31, reading the full configuration parameters of the blockchain system from the target blocks;
and s32, executing configuration operation by using the read full-quantity configuration parameters.
In steps s31-s32, if the target chunk stores the full configuration parameters, that is, the target chunk is the configuration chunk with the largest generation timestamp determined in steps s11-s12, or the data chunk with the largest generation timestamp among the data chunks with non-empty configuration areas determined in steps s21-s23, the current most complete full configuration parameters of the blockchain system can be read from the target chunk, and the configuration operation can be directly performed according to the full configuration parameters.
In one embodiment, if the incremental configuration parameters are stored in the target block, step S503 specifically includes the following steps S33-S35:
s33, reading at least one incremental configuration parameter of the blockchain system from the target block.
s34, summarizing the read incremental configuration parameters to obtain the full configuration parameters of the blockchain system.
And s35, executing the configuration operation by using the total configuration parameters obtained by aggregation.
In steps s33-s35, if the target tile stores incremental configuration parameters, which indicate that the target tile is all configuration tiles in the tile chain determined in the above steps s13-s14, or all data tiles whose configuration areas are determined in the above steps s24-s25 are not empty, a plurality of incremental configuration parameters of the tile chain system may be read from the target tile, and the current complete full configuration parameters of the tile chain system may be obtained by summarizing the incremental configuration parameters; and executing configuration operation according to the total configuration parameters obtained by the summarization.
S504, when detecting that the configuration parameters of the block chain system are updated, acquiring update information.
And S505, broadcasting the update information to each node device in the blockchain system.
In steps S504-S505, any node device in the blockchain system may update the configuration parameters of the blockchain system, and the update information is broadcasted to other node devices in the blockchain system for verification, for example, when a user on the newly joined node device side modifies a parameter a to 1 to a to 2 in this embodiment, the newly joined node device obtains the update information and broadcasts the update to other node devices in the blockchain system, and these node devices verify the update information, such as verifying whether the user has modification authority and whether the user approves the update information. If most (more than a preset number, for example, more than 51% of the node devices, or more than 2/3 of the node devices) approves the update information, the update information is verified; and if the number of the node devices which approve the updating information is less than the preset number, the updating information is not verified.
S506, if the updating information passes the verification, the configuration updating operation is executed according to the updating information.
If the update information is verified, each node device in the blockchain system performs configuration update operation according to the update information. In one embodiment, the update information includes update content and an effective time of the update content; step S506 is specifically: and when the effective time is reached, executing configuration updating operation according to the updating content. According to the above example, if the updated content a is modified to 1 to 2, and further, the updater may set an effective time of the updated content, for example, 5 minutes after the verification passes, or specify an effective timestamp, then when the effective time is reached, each node device in the blockchain system modifies the value of the parameter a in its own device from 1 to 2.
In one embodiment, the update information includes update content and an effective height of the update content; step S506 is specifically: when the height of the block chain reaches the effective height, writing the updated content into the blocks of the block chain. According to the above example, if the updated content a is modified to 1, and a is modified to 2, the updater may further set the validation height of the updated content, for example, the validation height of the updated content is 50, and when the block chain generates the block 50, the validation height is reached, and the out-block node device of the block 50 writes the updated content into the block 50. It is understood that the updated content may be written into the block by using the full configuration parameter, or may be written into the block by using the incremental configuration parameter.
In the embodiment of the application, the configuration parameters of the blockchain system are directly recorded in the blocks of the blockchain; when new node equipment is added into the block chain system, based on the characteristic of multipoint consistency of the block chain system, the newly added node equipment needs to load the whole block chain, so that configuration parameters can be directly read from blocks of the block chain to execute configuration operation, the configuration process can realize effective management of the configuration parameters of the block chain system, and the maintenance cost is saved; meanwhile, the configuration efficiency can be effectively improved, so that the newly added node equipment can quickly complete the configuration operation, and the synchronization efficiency between the newly added node equipment and other node equipment in the block chain system is improved. Moreover, when the configuration parameters of the blockchain system change, the configuration parameters in the blockchain system can be updated according to the agreed effective time or effective height, so that all node devices in the blockchain system can update the configuration in time, and the performance of the blockchain system is ensured.
FIG. 6 illustrates a schematic structural diagram of a configuration device provided by an exemplary embodiment of the present application; the configuration means may be a computer program (including program code) running on any node device newly added to the blockchain system, for example, the configuration means may be an application software in the node device newly added to the blockchain system; the configuration means may be used to perform the corresponding steps in the methods shown in fig. 4-5. Referring to fig. 6, the configuration apparatus includes the following units:
an obtaining unit 601, configured to obtain the blockchain from the node device when joining the blockchain system.
A determining unit 602, configured to determine a target block among the plurality of blocks of the block chain, where the target block is a block for storing configuration parameters of the block chain system.
A configuration unit 603, configured to perform configuration operations according to the configuration parameters stored in the target block.
In one embodiment, the blocks of the block chain include a plurality of data blocks and at least one allocation block; the data block is a block for storing transaction data of the blockchain system; the allocation block is a block for storing allocation parameters of the blockchain system; and all the configuration blocks in the block chain are arranged in the block chain at intervals according to a preset height.
In this embodiment, each configuration block of the block chain is used to store the full configuration parameters of the block chain system; the determining unit 602 is specifically configured to:
acquiring the generation time stamp of each configuration block of the block chain according to the preset height interval;
and determining the configured block with the largest generation timestamp as the target block.
In this embodiment, each configured block of the block chain is used for storing an incremental configuration parameter of the block chain system; the determining unit 602 is specifically configured to:
acquiring each configuration block of the block chain according to the preset height interval;
and determining all the acquired allocation blocks as target blocks.
In another embodiment, the blocks of the block chain include a plurality of data blocks; the data block is provided with a transaction area and a configuration area, and the transaction area is used for storing transaction data of the blockchain system; the configuration area is used for storing configuration parameters of the blockchain system.
In this embodiment, the allocation area in the data block is used to store the full allocation parameters of the blockchain system; the determining unit 602 is specifically configured to:
checking whether the allocation area of each data block in the block chain is empty;
determining at least one data block with a non-empty allocation area as an alternative block;
and determining the candidate block with the largest generation timestamp as the target block.
In this embodiment, the allocation area in the data block is used to store the incremental configuration parameters of the blockchain system; the determining unit 602 is specifically configured to:
checking whether the allocation area of each data block in the block chain is empty;
and determining at least one data block with a non-empty allocation area as a target block.
In another embodiment, the configuration unit 603 is specifically configured to:
reading the full configuration parameters of the blockchain system from the target block;
and executing configuration operation by adopting the read full configuration parameters.
In another embodiment, the configuration unit 603 is specifically configured to:
reading at least one incremental configuration parameter of the blockchain system from the target block;
summarizing the read increment configuration parameters to obtain the full configuration parameters of the block chain system;
and executing configuration operation by adopting the total configuration parameters obtained by the summarization.
In another embodiment, the apparatus further comprises an updating unit 604, wherein the updating unit 604 is configured to:
when detecting that the configuration parameters of the block chain system are updated, acquiring update information;
broadcasting the update information to each node device in the blockchain system;
and if the updating information passes the verification, executing configuration updating operation according to the updating information.
In another embodiment, the update information includes update content and an effective time of the update content; the updating unit 604 is specifically configured to:
and when the effective time is reached, executing configuration updating operation according to the updating content.
In another embodiment, the update information includes update content and an effective height of the update content; the updating unit 604 is specifically configured to:
when the height of the block chain reaches the effective height, writing the updated content into the blocks of the block chain.
According to an embodiment of the present application, the units in the configuration apparatus shown in fig. 6 may be respectively or entirely combined into one or several other units to form the configuration apparatus, or some unit(s) therein may be further split into multiple functionally smaller units to form the configuration apparatus, which may achieve the same operation without affecting the achievement of the technical effect of the embodiment of the present application. The units are divided based on logic functions, and in practical application, the functions of one unit can be realized by a plurality of units, or the functions of a plurality of units can be realized by one unit. In other embodiments of the present application, the configuration device may also include other units, and in practical applications, the functions may also be implemented by being assisted by other units, and may be implemented by cooperation of a plurality of units. According to another embodiment of the present application, the configuration apparatus as shown in fig. 6 may be constructed by running a computer program (including program codes) capable of executing the steps involved in the respective methods as shown in fig. 4 to 5 on a general-purpose computing device such as a computer including a Central Processing Unit (CPU), a random access storage medium (RAM), a read-only storage medium (ROM), and the like as well as a storage element, and the configuration method of the embodiment of the present application may be implemented. The computer program may be recorded on a computer-readable recording medium, for example, and loaded and executed in the above-described computing apparatus via the computer-readable recording medium.
In the embodiment of the application, the configuration parameters of the blockchain system are directly recorded in the blocks of the blockchain; when new node equipment is added into the block chain system, based on the characteristic of multipoint consistency of the block chain system, the newly added node equipment needs to load the whole block chain, so that configuration parameters can be directly read from blocks of the block chain to execute configuration operation, the configuration process can realize effective management of the configuration parameters of the block chain system, and the maintenance cost is saved; meanwhile, the configuration efficiency can be effectively improved, so that the newly added node equipment can quickly complete the configuration operation, and the synchronization efficiency between the newly added node equipment and other node equipment in the block chain system is improved. Moreover, when the configuration parameters of the blockchain system change, the configuration parameters in the blockchain system can be updated according to the agreed effective time or effective height, so that all node devices in the blockchain system can update the configuration in time, and the performance of the blockchain system is ensured.
Fig. 7 shows a schematic structural diagram of a configuration device according to an exemplary embodiment of the present application. The configuration device may be any node device newly added to the blockchain system. Referring to fig. 7, the configuration device includes at least a processor 701, an input device 702, an output device 703, and a computer storage medium 704. The processor 701, the input device 702, the output device 703, and the computer storage medium 704 may be connected by a bus or other means. A computer storage medium 704 may be stored in the memory of the terminal, the computer storage medium 704 being used for storing a computer program comprising program instructions, the processor 701 being used for executing the program instructions stored by the computer storage medium 704. The processor 701 (or CPU) is a computing core and a control core of the configuration device, and is adapted to implement one or more instructions, and in particular, is adapted to load and execute one or more instructions to implement a corresponding method flow or a corresponding function.
An embodiment of the present application further provides a computer storage medium (Memory), which is a Memory device in the configuration device and is used to store programs and data. It is understood that the computer storage medium herein may include both a built-in storage medium in the configuration device and, of course, an extended storage medium supported by the configuration device. The computer storage medium provides a storage space that stores an operating system that configures the device. Also stored in the memory space are one or more instructions, which may be one or more computer programs (including program code), suitable for loading and execution by processor 701. The computer storage medium may be a high-speed RAM memory, or may be a non-volatile memory (non-volatile memory), such as at least one disk memory; and optionally at least one computer storage medium located remotely from the processor.
In one embodiment, the computer storage medium has one or more instructions stored therein; one or more instructions stored in the computer storage medium are loaded and executed by the processor 701 to implement the corresponding steps in the above configuration method embodiments; in particular implementations, one or more instructions in the computer storage medium are loaded by processor 701 and perform the following steps:
when the node equipment joins the block chain system, acquiring the block chain from the node equipment;
determining a target block among a plurality of blocks of the blockchain, the target block being a block for storing configuration parameters of the blockchain system;
and executing configuration operation according to the configuration parameters stored in the target block.
In one embodiment, the blocks of the block chain include a plurality of data blocks and at least one allocation block; the data block is a block for storing transaction data of the blockchain system; the allocation block is a block for storing allocation parameters of the blockchain system; and all the configuration blocks in the block chain are arranged in the block chain at intervals according to a preset height.
In this embodiment, each configuration block of the block chain is used to store the full configuration parameters of the block chain system; one or more instructions in the computer storage medium are loaded by the processor 701 and when performing the step of determining a target block among the plurality of blocks in the block chain, the following steps are specifically performed:
acquiring the generation time stamp of each configuration block of the block chain according to the preset height interval;
and determining the configured block with the largest generation timestamp as the target block.
In this embodiment, each configured block of the block chain is used for storing an incremental configuration parameter of the block chain system; one or more instructions in the computer storage medium are loaded by the processor 701 and when performing the step of determining a target block among the plurality of blocks in the block chain, the following steps are specifically performed:
acquiring each configuration block of the block chain according to the preset height interval;
and determining all the acquired allocation blocks as target blocks.
In another embodiment, the blocks of the block chain include a plurality of data blocks; the data block is provided with a transaction area and a configuration area, and the transaction area is used for storing transaction data of the blockchain system; the configuration area is used for storing configuration parameters of the blockchain system.
In this embodiment, the allocation area in the data block is used to store the full allocation parameters of the blockchain system; one or more instructions in the computer storage medium are loaded by the processor 701 and when performing the step of determining a target block among the plurality of blocks in the block chain, the following steps are specifically performed:
checking whether the allocation area of each data block in the block chain is empty;
determining at least one data block with a non-empty allocation area as an alternative block;
and determining the candidate block with the largest generation timestamp as the target block.
In this embodiment, the allocation area in the data block is used to store the incremental configuration parameters of the blockchain system; one or more instructions in the computer storage medium are loaded by the processor 701 and when performing the step of determining a target block among the plurality of blocks in the block chain, the following steps are specifically performed:
checking whether the allocation area of each data block in the block chain is empty;
and determining at least one data block with a non-empty allocation area as a target block.
In another embodiment, one or more instructions in the computer storage medium are loaded by the processor 701 and when the step of performing the configuration operation according to the configuration parameters stored in the target block is executed, the following steps are specifically executed:
reading the full configuration parameters of the blockchain system from the target block;
and executing configuration operation by adopting the read full configuration parameters.
In another embodiment, one or more instructions in the computer storage medium are loaded by the processor 701 and when the step of performing the configuration operation according to the configuration parameters stored in the target block is executed, the following steps are specifically executed:
reading at least one incremental configuration parameter of the blockchain system from the target block;
summarizing the read increment configuration parameters to obtain the full configuration parameters of the block chain system;
and executing configuration operation by adopting the total configuration parameters obtained by the summarization.
In another embodiment, one or more instructions in a computer storage medium are loaded by processor 701 and further perform the steps of:
when detecting that the configuration parameters of the block chain system are updated, acquiring update information;
broadcasting the update information to each node device in the blockchain system;
and if the updating information passes the verification, executing configuration updating operation according to the updating information.
In another embodiment, the update information includes update content and an effective time of the update content; one or more instructions in the computer storage medium are loaded by the processor 701 and when executing the step of performing the configuration update operation according to the update information, the following steps are specifically performed:
and when the effective time is reached, executing configuration updating operation according to the updating content.
In another embodiment, the update information includes update content and an effective height of the update content; one or more instructions in the computer storage medium are loaded by the processor 701 and when executing the step of performing the configuration update operation according to the update information, the following steps are specifically performed:
when the height of the block chain reaches the effective height, writing the updated content into the blocks of the block chain.
In the embodiment of the application, the configuration parameters of the blockchain system are directly recorded in the blocks of the blockchain; when new node equipment is added into the block chain system, based on the characteristic of multipoint consistency of the block chain system, the newly added node equipment needs to load the whole block chain, so that configuration parameters can be directly read from blocks of the block chain to execute configuration operation, the configuration process can realize effective management of the configuration parameters of the block chain system, and the maintenance cost is saved; meanwhile, the configuration efficiency can be effectively improved, so that the newly added node equipment can quickly complete the configuration operation, and the synchronization efficiency between the newly added node equipment and other node equipment in the block chain system is improved. Moreover, when the configuration parameters of the blockchain system change, the configuration parameters in the blockchain system can be updated according to the agreed effective time or effective height, so that all node devices in the blockchain system can update the configuration in time, and the performance of the blockchain system is ensured.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and is not to be construed as limiting the scope of the present application, so that the present application is not limited thereto, and all equivalent variations and modifications can be made to the present application.
Claims (15)
1. A configuration method is applied to a block chain system, the block chain system comprises a block chain and a plurality of node devices, the block chain comprises a plurality of blocks and generation timestamps of the blocks, and the blocks of the block chain are connected in the sequence of the generation timestamps from small to large; the node device stores the block chain; characterized in that the method comprises:
when the node equipment joins the block chain system, acquiring the block chain from the node equipment;
determining a target block among a plurality of blocks of the blockchain, the target block being a block for storing configuration parameters of the blockchain system;
executing configuration operation according to the configuration parameters stored in the target block;
wherein the target block is at least one configuration block of the block chain that is set exclusively for storing the configuration parameters; each configuration block in the block chain is arranged in the block chain at intervals according to a preset height; if each allocation block is used for storing the full allocation parameters of the block chain system, the target block is the allocation block with the largest timestamp generated in the block chain; if all the configuration blocks are used for storing the increment configuration parameters of the block chain system, the target block refers to all the configuration blocks in the block chain, and the increment configuration parameters in all the configuration blocks are summarized to obtain the full configuration parameters; or,
the target block is at least one data block in the block chain, and a configuration area which is specially used for storing the configuration parameters is arranged in the target block; if the allocation area in the data block is used for storing the full allocation parameters of the block chain system, the target block is the data block of which the allocation area in the block chain is not empty and the generated timestamp is maximum; if the allocation area in the data block is used for storing the incremental configuration parameters of the block chain system, the target block refers to all data blocks in the block chain, the allocation area of which is not empty.
2. The method of claim 1, wherein the blocks of the block chain include a plurality of data blocks and at least one allocation block; the data block is a block for storing transaction data of the blockchain system.
3. The method of claim 2, wherein each configured tile of the blockchain is used to store a full configuration parameter of the blockchain system; said determining a target block among a plurality of blocks of said block chain comprises:
acquiring the generation time stamp of each configuration block of the block chain according to the preset height interval;
and determining the configured block with the largest generation timestamp as the target block.
4. The method of claim 2, wherein each configured tile of the blockchain is to store incremental configuration parameters for the blockchain system; said determining a target block among a plurality of blocks of said block chain comprises:
acquiring each configuration block of the block chain according to the preset height interval;
and determining all the acquired allocation blocks as target blocks.
5. The method of claim 1, wherein a block of the block chain comprises a plurality of data blocks; the data block is provided with a transaction area and a configuration area, and the transaction area is used for storing transaction data of the blockchain system.
6. The method of claim 5, wherein the allocation area in the data block is used to store a full allocation parameter of the blockchain system; said determining a target block among a plurality of blocks of said block chain comprises:
checking whether the allocation area of each data block in the block chain is empty;
determining at least one data block with a non-empty allocation area as an alternative block;
and determining the candidate block with the largest generation timestamp as the target block.
7. The method of claim 5, wherein the allocation area in the data block is used for storing incremental configuration parameters of the blockchain system; said determining a target block among a plurality of blocks of said block chain comprises:
checking whether the allocation area of each data block in the block chain is empty;
and determining at least one data block with a non-empty allocation area as a target block.
8. The method of claim 3 or 6, wherein the performing a configuration operation according to the configuration parameters stored in the target block comprises:
reading the full configuration parameters of the blockchain system from the target block;
and executing configuration operation by adopting the read full configuration parameters.
9. The method according to claim 4 or 7, wherein the performing a configuration operation according to the configuration parameters in the target block comprises:
reading at least one incremental configuration parameter of the blockchain system from the target block;
summarizing the read increment configuration parameters to obtain the full configuration parameters of the block chain system;
and executing configuration operation by adopting the total configuration parameters obtained by the summarization.
10. The method of claim 1, wherein the method further comprises:
when detecting that the configuration parameters of the block chain system are updated, acquiring update information;
broadcasting the update information to each node device in the blockchain system;
and if the updating information passes the verification, executing configuration updating operation according to the updating information.
11. The method of claim 10, wherein the update information includes update content and an effective time of the update content; the executing the configuration updating operation according to the updating information comprises:
and when the effective time is reached, executing configuration updating operation according to the updating content.
12. The method of claim 10, wherein the update information includes update content and an effective height of the update content; the executing the configuration updating operation according to the updating information comprises:
when the height of the block chain reaches the effective height, writing the updated content into the blocks of the block chain.
13. A configuration device is applied to a block chain system, the block chain system comprises a block chain and a plurality of node devices, the block chain comprises a plurality of blocks and generation timestamps of the blocks, and the blocks of the block chain are connected in the sequence of the generation timestamps from small to large; the node device stores the block chain; characterized in that the device comprises:
an obtaining unit, configured to obtain the blockchain from the node device when joining the blockchain system;
a determining unit, configured to determine a target block among a plurality of blocks of the block chain, where the target block is a block for storing configuration parameters of the block chain system;
the configuration unit is used for executing configuration operation according to the configuration parameters stored in the target block;
wherein the target block is at least one configuration block of the block chain that is set exclusively for storing the configuration parameters; each configuration block in the block chain is arranged in the block chain at intervals according to a preset height; if each allocation block is used for storing the full allocation parameters of the block chain system, the target block is the allocation block with the largest timestamp generated in the block chain; if all the configuration blocks are used for storing the increment configuration parameters of the block chain system, the target block refers to all the configuration blocks in the block chain, and the increment configuration parameters in all the configuration blocks are summarized to obtain the full configuration parameters; or,
the target block is at least one data block in the block chain, and a configuration area which is specially used for storing the configuration parameters is arranged in the target block; if the allocation area in the data block is used for storing the full allocation parameters of the block chain system, the target block is the data block of which the allocation area in the block chain is not empty and the generated timestamp is maximum; if the allocation area in the data block is used for storing the incremental configuration parameters of the block chain system, the target block refers to all data blocks in the block chain, the allocation area of which is not empty.
14. A configuration device comprising an input interface and an output interface, further comprising:
a processor adapted to implement one or more instructions; and the number of the first and second groups,
a computer storage medium having stored thereon one or more instructions adapted to be loaded by the processor and to execute the configuration method of any of claims 1-12.
15. A computer storage medium having stored thereon one or more instructions adapted to be loaded by a processor and to perform a method of configuring as claimed in any one of claims 1 to 12.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911180914.XA CN110941676B (en) | 2019-11-27 | 2019-11-27 | Configuration method, device, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911180914.XA CN110941676B (en) | 2019-11-27 | 2019-11-27 | Configuration method, device, equipment and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110941676A CN110941676A (en) | 2020-03-31 |
CN110941676B true CN110941676B (en) | 2021-12-21 |
Family
ID=69908774
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911180914.XA Active CN110941676B (en) | 2019-11-27 | 2019-11-27 | Configuration method, device, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110941676B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112054928B (en) * | 2020-09-02 | 2022-06-24 | 杭州复杂美科技有限公司 | Parallel chain node configuration method, equipment and storage medium |
CN112448855B (en) * | 2021-01-28 | 2021-05-11 | 支付宝(杭州)信息技术有限公司 | Method and system for updating block chain system parameters |
CN113259463B (en) * | 2021-06-02 | 2021-11-02 | 支付宝(杭州)信息技术有限公司 | Cross-chain interaction method and block chain system |
CN113067897B (en) * | 2021-06-02 | 2021-09-24 | 支付宝(杭州)信息技术有限公司 | Cross-chain interaction method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110149202A (en) * | 2019-04-26 | 2019-08-20 | 平安科技(深圳)有限公司 | Parameter configuration, reconstructing method, device, equipment and medium based on block chain |
CN110263014A (en) * | 2019-05-15 | 2019-09-20 | 广州致链科技有限公司 | Block chain storage system and method towards timing type data |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108550037B (en) * | 2018-04-11 | 2022-05-17 | 北京知金链网络技术有限公司 | File processing method and device based on block chain |
CN109461079B (en) * | 2018-10-29 | 2022-04-05 | 众安信息技术服务有限公司 | Transaction processing method and device based on block chain |
CN110417857B (en) * | 2019-06-19 | 2021-08-10 | 北京百度网讯科技有限公司 | Block chain protocol processing device, processing method and block chain |
CN110413621B (en) * | 2019-07-31 | 2021-08-06 | 中国工商银行股份有限公司 | Offline filing system and method based on block chain |
EP3785759A1 (en) * | 2019-09-01 | 2021-03-03 | CereGate GmbH | Data integrity for medical devices using blockchain solutions |
-
2019
- 2019-11-27 CN CN201911180914.XA patent/CN110941676B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110149202A (en) * | 2019-04-26 | 2019-08-20 | 平安科技(深圳)有限公司 | Parameter configuration, reconstructing method, device, equipment and medium based on block chain |
CN110263014A (en) * | 2019-05-15 | 2019-09-20 | 广州致链科技有限公司 | Block chain storage system and method towards timing type data |
Also Published As
Publication number | Publication date |
---|---|
CN110941676A (en) | 2020-03-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110941676B (en) | Configuration method, device, equipment and medium | |
CN111061769B (en) | Consensus method of block chain system and related equipment | |
KR102392944B1 (en) | Data backup methods, storage media and computing devices | |
US20240348442A1 (en) | Maintaining blocks of a blockchain in a partitioned blockchain network | |
CN110647582B (en) | Method, device, storage medium and computer equipment for block chain network consensus verification | |
CN111512591A (en) | Trackable key blockchain ledger | |
EP1265122A2 (en) | Shared file editing system with file content secrecy, version management and asynchronous editing | |
CN111163148B (en) | Synchronization method and related equipment for consensus state of block chain system | |
CN109919691B (en) | Data processing system, method and device | |
CN109948003B (en) | Block chain system of isomorphic dual-mode main and auxiliary chains and block production method thereof | |
JP7553554B2 (en) | Synchronization processing method and related device | |
WO2023011022A1 (en) | Blockchain-based data processing method, and device and computer-readable storage medium | |
CN111444204B (en) | Synchronous processing method, device, equipment and medium | |
CN110704438B (en) | Method and device for generating bloom filter in blockchain | |
CN112862490A (en) | Output consensus method under asynchronous network | |
CN112307501A (en) | Big data system based on block chain technology, storage method and using method | |
CN111767144A (en) | Transaction routing determination method, device, equipment and system for transaction data | |
CN112232619A (en) | Block output and sequencing method, node and block chain network system of alliance chain | |
CN110989934B (en) | Block chain link point data storage method, block chain system and block chain node | |
WO2024188134A1 (en) | Host file check method, electronic device and storage medium | |
CN107920131A (en) | A kind of metadata management method and device of HDFS storage systems | |
CN111444206B (en) | Synchronous processing method, device, equipment and medium | |
CN111949634A (en) | Method for synchronously migrating block chain data | |
CN113590643B (en) | Data synchronization method, device, equipment and storage medium based on dual-track database | |
CN116701452A (en) | Data processing method, related device, storage medium and program product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 40021514 Country of ref document: HK |
|
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |