WO2021031655A1 - Procédé et appareil de mise à niveau de réseau de chaînes de blocs, support de stockage et dispositif électronique - Google Patents

Procédé et appareil de mise à niveau de réseau de chaînes de blocs, support de stockage et dispositif électronique Download PDF

Info

Publication number
WO2021031655A1
WO2021031655A1 PCT/CN2020/093588 CN2020093588W WO2021031655A1 WO 2021031655 A1 WO2021031655 A1 WO 2021031655A1 CN 2020093588 W CN2020093588 W CN 2020093588W WO 2021031655 A1 WO2021031655 A1 WO 2021031655A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
node
low
blockchain network
level
Prior art date
Application number
PCT/CN2020/093588
Other languages
English (en)
Chinese (zh)
Inventor
谢丹力
宦鹏飞
陆陈一帆
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2021031655A1 publication Critical patent/WO2021031655A1/fr

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Definitions

  • This application relates to the field of blockchain technology, and specifically to a method for upgrading a blockchain network, a device for upgrading a blockchain network, a computer-readable storage medium, and electronic equipment.
  • Blockchain technology is an Internet database technology, which is characterized by decentralization, openness and transparency, and everyone can participate in database records.
  • the inventor realized that due to the particularity of data storage on blockchain nodes, simply offline old versions and online new versions are not suitable for upgrading the blockchain system, which may be due to data interfaces, storage formats or encryption methods. Incompatibility causes the data on the old version of the blockchain system to be unable to be transferred to the new version of the blockchain, resulting in the lack of data in the blockchain system, making the blockchain system lose its meaning.
  • the embodiments of the present application provide a method for upgrading a blockchain network, a device for upgrading a blockchain network, a computer-readable storage medium, and electronic equipment.
  • a method for upgrading a blockchain network which includes: when receiving an upgrade request for the blockchain network, respectively connecting a low-level node of the low-level blockchain network and being connected to the low-level node The corresponding high-level node of the high-level blockchain network; the low-level node obtains the data ID list of the data established by the low-level node; based on the data ID list, the low-level node obtains each data ID list from the low-level node The operation record corresponding to the data ID; each obtained operation record is written into the high-level blockchain network for storage; the low-level node obtains the data permissions owned by the low-level node; writes each data permission Into the advanced node for storage.
  • an upgrade device for a blockchain network including: a connection module configured to respectively connect the low-level nodes and nodes of the low-level blockchain network when an upgrade request to the blockchain network is received The high-level node of the high-level blockchain network corresponding to the low-level node; the first acquisition module is configured to acquire the data ID list of the data established by the low-level node from the low-level node; the second acquisition module is configured to be based on The data ID list obtains the operation record corresponding to each data ID in the data ID list from the low-level node; the first writing module is configured to write each obtained operation record correspondingly to the high-level block The storage is performed in the chain network; the third obtaining module is configured to obtain the data authority owned by the low-level node from the low-level node; the second writing module is configured to write each data authority to the high-level node for storage.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the method for upgrading a blockchain network as described in any one of the above is implemented.
  • an electronic device including: a processor; and a memory on which a computer program is stored; wherein the processor is configured to implement any one of the foregoing by executing the computer program The upgrade method of the blockchain network described in the item.
  • the low-level blockchain node of the low-level blockchain network and the high-level node of the high-level blockchain network corresponding to the low-level node are respectively connected , Respectively connect the low-level blockchain network and the high-level blockchain network to prevent data from being unable to be transferred due to incompatibility of data interfaces and causing upgrade failure.
  • the low-level node obtains the data ID list of the data established by the low-level node, and then obtains the operation record corresponding to each data ID in the data ID list from the low-level node, and records each operation Correspondingly write to the advanced blockchain network for storage.
  • the low-level node obtains the data authority owned by the low-level node, and writes each data authority into the high-level node.
  • the low-level node By obtaining operation records and data permissions from low-level nodes and then writing them into the high-level blockchain network, the integrity of the data is guaranteed when the blockchain network is upgraded, and data loss is prevented. And the method of rewriting is used to avoid the data unreadable due to the different encryption methods of the low-level blockchain network and the high-level blockchain network caused by simple copying.
  • Fig. 1 shows a schematic diagram of an application scenario of a method for upgrading a blockchain network according to an exemplary embodiment of the present application.
  • Fig. 2 shows a schematic flowchart of a method for upgrading a blockchain network according to an exemplary embodiment of the present application.
  • Fig. 3 shows a schematic flowchart of step S203 in the method for upgrading the blockchain network of Fig. 2 according to an exemplary embodiment of the present application.
  • Fig. 4 shows a schematic block diagram of a block chain network upgrading device according to an exemplary embodiment of the present application.
  • Fig. 5 shows a schematic block diagram of an electronic device according to an exemplary embodiment of the present application.
  • Fig. 6 shows a schematic diagram of a computer-readable storage medium according to an exemplary embodiment of the present application.
  • FIG. 1 is a schematic diagram of an application scenario of a method for upgrading a blockchain network according to an exemplary embodiment of the present application.
  • a low-level blockchain network 100 As shown in the embodiment in FIG. 1, a low-level blockchain network 100, A high-level blockchain network 200 and at least one upgrade end 300, where the low-level blockchain network 100 includes multiple low-level nodes 101, the high-level blockchain network 200 includes multiple high-level nodes 201, and the upgrade end 300 is available
  • the terminal operated by the user may be a mobile or non-movable terminal, such as a mobile phone, a computer, a server, or a gateway.
  • the upgrade terminal 300 can respectively communicate with a low-level node 101 in the low-level blockchain network 100 and a high-level node 201 in the high-level blockchain network 200. For example, when the upgrade terminal 300 is connected to a low-level node 101 and a high-level node respectively When 201 is connected, the upgrade terminal 300 can obtain data from the connected low-level node 101, and write the data to the corresponding connected high-level node 201 for storage, to complete the node upgrade.
  • a method for upgrading a blockchain network is provided.
  • the method for upgrading a blockchain network can be run in any computing device, such as a terminal or a server, or a server cluster or Cloud servers, etc.
  • the upgrade method of the exemplary blockchain network includes: step S201, when an upgrade request to the blockchain network is received, connect the low-level node of the low-level blockchain network and the corresponding low-level node respectively Advanced node of advanced blockchain network.
  • the low-level blockchain network refers to the blockchain network with a lower version. Compared with the high-level blockchain network with a higher version, the blockchain nodes of the low-level blockchain network run slower and have smaller storage capacity. . In order to increase the operating speed of blockchain nodes and expand the operating speed of blockchain nodes, it is necessary to upgrade the blockchain network so that the blockchain network can operate efficiently.
  • Low-level nodes refer to the blockchain nodes of the low-level blockchain network
  • high-level nodes refer to the blockchain nodes of the high-level blockchain network.
  • a low-level node corresponds to a high-level node for data migration.
  • the upgrade of the blockchain network is completed.
  • the upgrade request to the blockchain network refers to the information used to request the upgrade of the blockchain network.
  • the upgrade request to the blockchain network can be sent by the user clicking a specific area on the interface, such as the user Click the "upgrade" button on the interface to send an upgrade request to the blockchain network, etc.
  • the upgrade request for the blockchain network can be automatically sent when an advanced blockchain network is detected. This embodiment does not specifically limit this.
  • the low-level node of the low-level blockchain and the high-level node of the high-level blockchain network corresponding to the low-level node can be connected with Low-level nodes and high-level nodes are connected, such as buses, data transmission lines, or network cables.
  • Low-level nodes and high-level nodes are connected, such as buses, data transmission lines, or network cables.
  • Step S202 Obtain the data ID list of the data established by the low-level node from the low-level node.
  • the data established by the lower-level node refers to the data established by the lower-level node and that the lower-level node has ownership.
  • the above operation record means: when creating data content 1, the data ID corresponding to data content 1 is 123456, and the data content 1 Owned by node A, the operation record is executed by node A, and the executed action is input.
  • the data ID list is used to store the data IDs of all the data created by the lower-level node. In one example, when the lower-level node detects that new data is created, the data ID corresponding to the new data is stored in the data ID list To avoid data omissions.
  • Step S203 based on the data ID list, obtain the operation record corresponding to each data ID in the data ID list from the low-level node.
  • the operation record refers to the record of each operation action of the user on the blockchain network, such as modifying data content, creating data, and so on.
  • the operation record of the data corresponding to the data ID is searched in the low-level node to ensure the integrity of the operation record and prevent the occurrence of omission of the operation record.
  • FIG. 3 is a schematic flowchart of step S203 in a method for upgrading a blockchain network according to an exemplary embodiment of the present application.
  • step S203 is based on the data ID list
  • Obtaining the operation record corresponding to each data ID in the data ID list from the low-level node includes: step S301, obtaining the block and secret key corresponding to each data ID in the data ID list from the low-level node .
  • the blockchain network since the blockchain network generates blocks for storage according to the data that needs to be stored, and encrypts the blocks to prevent leakage of data stored in the blocks. According to each data ID, find the block corresponding to the data ID in the low-level node, and the secret key of the data corresponding to the data ID, and the secret key of the data corresponding to the data ID can be compared with the data The block corresponding to the ID is decrypted.
  • Step S302 According to the obtained secret key, decrypt the block corresponding to the data ID to obtain the operation record corresponding to the data ID.
  • the block corresponding to the data ID may be one or more, and the corresponding block is decrypted according to the obtained secret key to obtain the operation record stored in the block.
  • Decrypt the block by obtaining the secret key to obtain the operation record stored in the block, avoiding the simple copying of the block and the incompatibility of the encryption method of the high-level blockchain network and the low-level blockchain network. The data cannot be read, resulting in missing data and ensuring the readability of the data.
  • step S204 each obtained operation record is correspondingly written into the advanced blockchain network for storage.
  • the acquired operation records include operation records of other low-level nodes in the low-level blockchain network for the data corresponding to the data ID in the data ID list, each operation record needs to be written
  • the advanced node in the advanced blockchain network corresponding to the operating node of the operation record is stored to ensure the correctness of the data stored in the blockchain network.
  • said writing each obtained operation record correspondingly to the advanced blockchain network for storage includes: obtaining the time stamp of each operation record; according to the time stamp of each operation record In sequence, the operation content of each operation record is written into the node of the advanced blockchain network corresponding to the operation node of the operation record for storage.
  • the time stamp refers to the recording time of each operation record of the blockchain.
  • the blockchain network guarantees the continuity of the stored data according to the sequence of the time stamps to form a blockchain.
  • each operation record is written into the advanced node of the advanced blockchain network corresponding to the operation node of the operation record for storage.
  • the operation node of the first operation record is node A.
  • the operation record is written by the advanced node of the advanced blockchain network corresponding to node A, that is, the advanced node of the advanced blockchain network corresponding to node A is created
  • the data ID is the data of 123456, and the data content of the input data is data content 1.
  • the operation node of the second operation record is node B, and the operation record is assigned by the advanced node of the advanced blockchain network corresponding to node B Write, that is, the advanced node of the advanced blockchain network corresponding to node B updates the data with data ID 123456, and the updated data content is data content 2; the operation node of the third operation record is node A, The operation record is written by the advanced node of the advanced blockchain network corresponding to node A, that is, the advanced node of the advanced blockchain network corresponding to node A deletes the data with the data ID of 123456.
  • the advanced node in the advanced blockchain network when each acquired operation record is correspondingly written into the advanced blockchain network for storage, the advanced node in the advanced blockchain network writes the operation record for each The data generates a secret key and saves it.
  • the operation record of the data is written and stored, the operation record is encrypted by the secret key corresponding to the data to prevent data leakage and ensure the security of the data.
  • Step S205 Obtain the data authority owned by the low-level node from the low-level node.
  • the data authority owned by a low-level node refers to the data authority of the low-level node to all data stored in the low-level blockchain network.
  • the data can be created by the low-level node or by the low-level blockchain network. Created by other low-level nodes in the.
  • the lower-level node may have different data permissions for each data. For example, the lower-level node A has the read permission for the data with the data ID of 123456, the write permission for the data with the data ID of 123457, and so on.
  • Step S206 Write each data authority to the advanced node for storage.
  • each acquired data authority is written into the high-level node corresponding to the low-level node, and the operation record and data authority are migrated to complete the upgrade of the low-level blockchain to prevent Data is missing or missing during the upgrade.
  • the writing each data authority to the advanced node for storage includes: according to the authorized node of each data authority, sending the data to the node in the advanced blockchain network corresponding to the authorized node Send the corresponding authorization request.
  • the authorized node of the data authority refers to the node that owns the data corresponding to the data authority.
  • the node A that owns the data with the data ID of 123456 is node A
  • the authorized node of the data is node A.
  • An authorization request refers to a signal to request authorization sent to the data owner node when other nodes need to use or view the data.
  • the data owner node receives the authorization request, it can decide whether to allow authorization.
  • the authorization permission signal sent by the node in the advanced blockchain network corresponding to the authorized node is received, the data permission is written into the advanced node for storage.
  • the low-level node when the low-level node receives the authorization permission signal sent by the node in the high-level blockchain network corresponding to the authorized node of the data authority, the data authority is written into the high-level node for storage. , Complete the migration of data permissions.
  • the data authority in the high-level node is traceable, ensuring the legitimacy of the data authority, and at the same time ensuring the integrity of the data migrated by the low-level blockchain network.
  • the low-level node of the low-level blockchain network after connecting the low-level node of the low-level blockchain network and the high-level node of the high-level blockchain network corresponding to the low-level node, respectively, It also includes: when receiving a user's operation request for the low-level node, recording the user's operation content on the low-level node; when receiving a signal that the operation content is successful, generating a recent operation record according to the operation content and storing it in In the recent operation record list.
  • the user can use the blockchain network normally during the upgrade of the blockchain network, which ensures the normal operation of the user on the blockchain network. Work requirements have improved user experience.
  • each data permission after each data permission is written to the advanced node for storage, it also includes: writing each recent operation record in the recent operation record to the advanced blockchain network in turn; when the advanced zone is received When the block chain network sends a write success signal for each recent operation record, the recent operation record is deleted from the recent operation record list.
  • each recent operation record in the recent operation record list is correspondingly written into the high-level blockchain network.
  • the writing method is consistent with the above-mentioned operation record and data permission migration method, so it will not be repeated.
  • the node of the advanced blockchain network corresponding to the recent operation record sends a write success signal.
  • the write success signal is received, the recent operation record is assigned to the most recent operation. Delete from the record list. Write cyclically until the migration is completed when there is no recent operation record in the recent operation record list.
  • the The upgrade method of the exemplary blockchain network further includes: when it is detected that the recent operation record list is empty, deactivating the low-level node, enabling the high-level node, and disconnecting the low-level node and the high-level node.
  • that the recent operation record list is empty means that there is no recent operation record in the recent operation record list, which means that the data in the recent operation record list has been successfully written into the advanced blockchain network. Therefore, stop using the low-level node, enable the high-level node, and disconnect the connection with the low-level node and the high-level node, and the upgrade of the blockchain network is completed.
  • the upgrade apparatus of this exemplary blockchain network may include a connection module 410, a first acquisition module 420, a second acquisition module 430, a first write module 440, a third acquisition module 450, and a second write module. ⁇ module 460.
  • connection module 410 is configured to connect the low-level node of the low-level blockchain network and the high-level node of the high-level blockchain network corresponding to the low-level node when receiving an upgrade request for the blockchain network;
  • An acquiring module 420 is configured to acquire from the lower-level node the data ID list of the data established by the lower-level node;
  • the second acquiring module 430 is configured to: acquire the data ID list from the lower-level node based on the data ID list.
  • the operation record corresponding to each data ID in the data ID list; the first writing module 440 is configured to: write each acquired operation record correspondingly to the advanced blockchain network for storage; the third acquisition module 450 It is configured to obtain the data authority owned by the low-level node from the low-level node; the second writing module 460 is configured to write each data authority to the high-level node for storage.
  • modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory.
  • the features and functions of two or more modules or units described above may be embodied in one module or unit.
  • the features and functions of a module or unit described above can be further divided into multiple modules or units to be embodied.
  • the exemplary embodiments described herein can be implemented by software, or can be implemented by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (can be a CD-ROM, U disk, mobile hard disk, etc.) or on the network , Including several instructions to make a computing device (which can be a personal computer, server, mobile terminal, or network device, etc.) execute the method according to the embodiment of the present application.
  • a non-volatile storage medium can be a CD-ROM, U disk, mobile hard disk, etc.
  • Including several instructions to make a computing device which can be a personal computer, server, mobile terminal, or network device, etc.
  • the apparatus may be implemented as an electronic device that includes a memory and a processor, and a computer program is stored in the memory, and the computer program, when executed by the processor, causes The processor executes any of the foregoing method embodiments, or the computer program, when executed by the processor, causes the electronic device to implement the constituent units/modules of the foregoing apparatus embodiments The realized function.
  • the processor described in the above embodiments may refer to a single processing unit, such as a central processing unit CPU, or it may be a distributed processor system including multiple dispersed processing units.
  • the memory described in the above embodiments may include one or more memories, which may be internal memories of the computing device, such as transient or non-transitory memories, or may be connected to the external of the computing device through a memory interface Storage device.
  • the electronic device 500 according to this embodiment of the present application will be described below with reference to FIG. 5.
  • the electronic device 500 shown in FIG. 5 is only an example, and should not bring any limitation to the function and scope of use of the embodiments of the present application.
  • the electronic device 500 is represented in the form of a general computing device.
  • the components of the electronic device 500 may include, but are not limited to: the aforementioned at least one processing unit 510, the aforementioned at least one storage unit 520, and a bus 530 connecting different system components (including the storage unit 520 and the processing unit 510).
  • the storage unit stores program code, and the program code can be executed by the processing unit 510, so that the processing unit 510 executes the various exemplary methods described in the “exemplary method” section of this specification.
  • the processing unit 510 may perform step S201 as shown in FIG. 2, when receiving an upgrade request to the blockchain network, connect the lower-level node of the lower-level blockchain network and the lower-level node corresponding to the lower-level node respectively.
  • step S202 obtain the data ID list of the data created by the low-level node from the low-level node
  • step S203 obtain the data ID from the low-level node based on the data ID list
  • the operation record corresponding to each data ID in the list step S204, each obtained operation record is correspondingly written into the high-level blockchain network for storage
  • step S205 the low-level node obtains the ownership of the low-level node Data authority
  • Step S206 write each data authority to the advanced node for storage.
  • the storage unit 520 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 5201 and/or a cache storage unit 5202, and may further include a read-only storage unit (ROM) 5203.
  • RAM random access storage unit
  • ROM read-only storage unit
  • the storage unit 520 may also include a program/utility tool 5204 having a set (at least one) program module 5205.
  • program module 5205 includes but is not limited to: an operating system, one or more application programs, other program modules, and program data, Each of these examples or some combination may include the implementation of a network environment.
  • the bus 530 may represent one or more of several types of bus structures, including a storage unit bus or a storage unit controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local area using any bus structure among multiple bus structures. bus.
  • the electronic device 500 may also communicate with one or more external devices 700 (such as keyboards, pointing devices, Bluetooth devices, etc.), and may also communicate with one or more devices that enable a user to interact with the electronic device 500, and/or communicate with Any device (such as a router, modem, etc.) that enables the electronic device 500 to communicate with one or more other computing devices. This communication can be performed through an input/output (I/O) interface 550.
  • the electronic device 500 may also communicate with one or more networks (for example, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through the network adapter 560.
  • networks for example, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet
  • the network adapter 560 communicates with other modules of the electronic device 500 through the bus 530.
  • other hardware and/or software modules can be used in conjunction with the electronic device 500, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives And data backup storage system, etc.
  • the exemplary embodiments described herein can be implemented by software, or can be implemented by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (can be a CD-ROM, U disk, mobile hard disk, etc.) or on the network , Including several instructions to make a computing device (which may be a personal computer, server, terminal device, or network device, etc.) execute the method according to the embodiment of the present application.
  • a non-volatile storage medium can be a CD-ROM, U disk, mobile hard disk, etc.
  • Including several instructions to make a computing device which may be a personal computer, server, terminal device, or network device, etc.
  • a computer-readable storage medium is also provided, on which is stored a program product capable of implementing the foregoing method of this specification.
  • the computer-readable storage medium may be non-volatile or volatile.
  • each aspect of the present application can also be implemented in the form of a program product, which includes program code.
  • the program product runs on a terminal device, the program code is used to make the The terminal device executes the steps according to various exemplary embodiments of the present application described in the above-mentioned "Exemplary Method" section of this specification.
  • a program product 600 for implementing the above method according to an embodiment of the present application is described. It can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be installed in a terminal device, For example, running on a personal computer.
  • CD-ROM compact disk read-only memory
  • the program product of this application is not limited to this.
  • the readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or combined with an instruction execution system, device, or device.
  • the program product can use any combination of one or more readable media.
  • the readable medium may be a readable signal medium or a readable storage medium.
  • the readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Type programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • the computer-readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the readable signal medium may also be any readable medium other than a readable storage medium, and the readable medium may send, propagate, or transmit a program for use by or in combination with the instruction execution system, apparatus, or device.
  • the program code contained on the readable medium can be transmitted by any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

L'invention concerne un procédé et un appareil de mise à niveau d'un réseau de chaînes de blocs, se rapportant au domaine technique des chaînes de blocs, le procédé comprenant les étapes suivantes : lors de la réception d'une demande de mise à niveau pour un réseau de chaînes de blocs, connexion respectivement d'un nœud de bas niveau d'un réseau de chaînes de blocs de bas niveau et d'un nœud de haut niveau d'un réseau de chaînes de blocs de haut niveau correspondant au nœud de bas niveau (S201) ; acquisition, auprès du nœud de bas niveau, d'une liste d'ID de données de données établies par le nœud de bas niveau (S202) ; sur la base de la liste d'ID de données, acquisition, auprès du nœud de bas niveau, d'un enregistrement d'opération correspondant à chaque ID de données figurant dans la liste d'ID de données (S203) ; écriture, de manière correspondante, de chaque enregistrement d'opération acquis sur le réseau de chaînes de blocs de haut niveau pour l'y stocker (S204) ; acquisition, auprès du nœud de bas niveau, de la permission de données possédée par le nœud de bas niveau (S205) ; et écriture de la permission de données sur le nœud de haut niveau pour l'y stocker (S206). Le présent procédé assure l'intégrité des données, de telle sorte qu'une perte de données ne se produit pas facilement.
PCT/CN2020/093588 2019-08-21 2020-05-30 Procédé et appareil de mise à niveau de réseau de chaînes de blocs, support de stockage et dispositif électronique WO2021031655A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910781248.9A CN110704392B (zh) 2019-08-21 2019-08-21 区块链网络的升级方法及装置、存储介质、电子设备
CN201910781248.9 2019-08-21

Publications (1)

Publication Number Publication Date
WO2021031655A1 true WO2021031655A1 (fr) 2021-02-25

Family

ID=69193337

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/093588 WO2021031655A1 (fr) 2019-08-21 2020-05-30 Procédé et appareil de mise à niveau de réseau de chaînes de blocs, support de stockage et dispositif électronique

Country Status (2)

Country Link
CN (1) CN110704392B (fr)
WO (1) WO2021031655A1 (fr)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110704392B (zh) * 2019-08-21 2023-03-31 平安科技(深圳)有限公司 区块链网络的升级方法及装置、存储介质、电子设备
CN111563121A (zh) * 2020-04-27 2020-08-21 中国银行股份有限公司 一种信息管理系统
CN112052021A (zh) * 2020-08-12 2020-12-08 中钞信用卡产业发展有限公司杭州区块链技术研究院 联盟区块链升级的方法、装置、设备及存储介质
CN112241436A (zh) * 2020-10-26 2021-01-19 云账户技术(天津)有限公司 一种区块链网络的切换方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107577427A (zh) * 2017-08-31 2018-01-12 上海保险交易所股份有限公司 用于区块链系统的数据迁移方法、设备和存储介质
US20190052453A1 (en) * 2017-08-14 2019-02-14 Honeywell International Inc. Apparatus and method for using blockchains with secure custody transfer data, sealing data, and other data associated with material transfers
CN110083372A (zh) * 2019-03-07 2019-08-02 上海七印信息科技有限公司 一种区块链数据版本升级方法
CN110134668A (zh) * 2019-04-28 2019-08-16 阿里巴巴集团控股有限公司 应用于区块链的数据迁移方法、装置和设备
CN110704392A (zh) * 2019-08-21 2020-01-17 平安科技(深圳)有限公司 区块链网络的升级方法及装置、存储介质、电子设备

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107911421B (zh) * 2017-10-30 2020-05-15 上海点融信息科技有限责任公司 用于配置区块链中跨网络通信的方法、设备和计算机存储介质
CN109889589B (zh) * 2019-02-18 2021-11-23 闪联信息技术工程中心有限公司 一种基于区块链实现嵌入式硬件ota升级系统及方法
CN109992285B (zh) * 2019-04-02 2022-09-16 杭州秘猿科技有限公司 区块链代码块独立升级方法、装置及电子设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190052453A1 (en) * 2017-08-14 2019-02-14 Honeywell International Inc. Apparatus and method for using blockchains with secure custody transfer data, sealing data, and other data associated with material transfers
CN107577427A (zh) * 2017-08-31 2018-01-12 上海保险交易所股份有限公司 用于区块链系统的数据迁移方法、设备和存储介质
CN110083372A (zh) * 2019-03-07 2019-08-02 上海七印信息科技有限公司 一种区块链数据版本升级方法
CN110134668A (zh) * 2019-04-28 2019-08-16 阿里巴巴集团控股有限公司 应用于区块链的数据迁移方法、装置和设备
CN110704392A (zh) * 2019-08-21 2020-01-17 平安科技(深圳)有限公司 区块链网络的升级方法及装置、存储介质、电子设备

Also Published As

Publication number Publication date
CN110704392A (zh) 2020-01-17
CN110704392B (zh) 2023-03-31

Similar Documents

Publication Publication Date Title
WO2021031655A1 (fr) Procédé et appareil de mise à niveau de réseau de chaînes de blocs, support de stockage et dispositif électronique
US10133804B2 (en) Content item block replication protocol for multi-premises hosting of digital content items
US9516016B2 (en) Storage array password management
CN102855452B (zh) 基于加密组块的快速数据加密策略遵从
TWI540443B (zh) 用於在主機與行動裝置間之任務的雙向動態卸載之方法、系統及電腦可讀儲存裝置(二)
US8356105B2 (en) Enterprise device policy management
US9286477B2 (en) Secure app ecosystem with key and data exchange according to enterprise information control policy
US9436814B2 (en) Fail-safe licensing for software applications
US11256815B2 (en) Object storage system with secure object replication
CN102945355A (zh) 基于扇区映射的快速数据加密策略遵从
US20180107493A1 (en) Synchronous control method and device via external apparatus
US10318272B1 (en) Systems and methods for managing application updates
WO2024021861A1 (fr) Procédé de récupération de données et dispositif électronique
WO2022174737A1 (fr) Procédé permettant de faire fonctionner un modèle de réseau neuronal, dispositif électronique et support de stockage
KR20120044550A (ko) 가상 nas를 이용한 클라우드 스토리지 서버, 시스템 및 방법
US9137219B1 (en) Methods and systems for securely managing multimedia data captured by mobile computing devices
US9037821B1 (en) Systems and methods for replicating snapshots across backup domains
EP4348933A1 (fr) Gestion de clés sur l'ensemble d'une série de noeuds, sur la base d'instantanés de modifications journalisées de clés clientes
CN109995774B (zh) 基于部分解密的密钥认证方法、系统、设备及存储介质
CN115934640A (zh) 一种数据存储方法、系统、电子设备及存储介质
KR20110050631A (ko) 암호화 파일 시스템에서 입력/출력의 제어 및 효율성을 향상시키기 위한 방법 및 시스템
JP2019515381A (ja) 一貫性を有する散在ストレージ・ネットワークにおけるデータの格納
CN112968763B (zh) 用于传输数据的方法、装置和系统
US10200499B1 (en) Systems and methods for reducing network traffic by using delta transfers
US20220407770A1 (en) Blockchain system, program and network connection apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20855162

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20855162

Country of ref document: EP

Kind code of ref document: A1