CN110597923A - Block chain resource management method, device and storage medium - Google Patents

Block chain resource management method, device and storage medium Download PDF

Info

Publication number
CN110597923A
CN110597923A CN201910933790.1A CN201910933790A CN110597923A CN 110597923 A CN110597923 A CN 110597923A CN 201910933790 A CN201910933790 A CN 201910933790A CN 110597923 A CN110597923 A CN 110597923A
Authority
CN
China
Prior art keywords
resource
management
target
block chain
management node
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.)
Granted
Application number
CN201910933790.1A
Other languages
Chinese (zh)
Other versions
CN110597923B (en
Inventor
李亮
曾锦辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Cloud Computing Beijing Co Ltd
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 Tencent Cloud Computing Beijing Co Ltd filed Critical Tencent Cloud Computing Beijing Co Ltd
Priority to CN201910933790.1A priority Critical patent/CN110597923B/en
Publication of CN110597923A publication Critical patent/CN110597923A/en
Application granted granted Critical
Publication of CN110597923B publication Critical patent/CN110597923B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5083Techniques for rebalancing the load in a distributed system
    • G06F9/5088Techniques for rebalancing the load in a distributed system involving task migration

Abstract

The application discloses a block chain resource management method, a block chain resource management device and a storage medium, and relates to the technical field of networks. The method can obtain resource locking information of a target management node of the block chain, wherein the resource locking information is used for indicating that the target resource in the block chain is locked, and when the target resource is not locked, the resource locking information is sent to other management nodes except the target management node of the block chain. When determining that the target resource is not locked, the blockchain resource management device can send resource locking information to other management nodes except the target management node of the blockchain, so that the target resource can be ensured not to be occupied by other management nodes when being occupied by the target management node, and the phenomenon of management operation failure caused by incapability of guaranteeing atomicity of management operation when a plurality of management nodes simultaneously manage and operate the blockchain based on the target resource is avoided.

Description

Block chain resource management method, device and storage medium
Technical Field
The present application relates to the field of network technologies, and in particular, to a method, an apparatus, and a storage medium for managing block chain resources.
Background
Currently, a plurality of organizations may deploy nodes to establish a blockchain for data sharing, and the plurality of organizations may be referred to as participants of the blockchain, and each participant may perform management operations on the blockchain through a management node thereof, for example, may process join requests of other organizations and install intelligent contracts.
In the related art, when a certain participant performs a management operation on a block chain, other participants may perform the same management operation, that is, a plurality of participants may simultaneously occupy a shared resource corresponding to the management operation, and perform the management operation on the block chain based on the shared resource. For example, when processing join requests of other organizations, there may be a plurality of participants occupying a shared resource corresponding to the initiation of the vote at the same time, and initiating the vote among the participants of the blockchain based on the shared resource to determine whether to approve the other organizations to join the zone cross chain.
However, since the shared resource can be generally used by only one participant at a time, there is mutual exclusivity in the management operations performed on the blockchain by multiple participants based on the same shared resource, and it cannot be guaranteed that the management operations are performed in sequence, that is, atomicity of the management operations performed on the blockchain by each participant cannot be guaranteed, so that the management operations performed on the blockchain by the participants fail. Here, atomicity refers to a property that the management operation has without being interrupted.
Disclosure of Invention
The application provides a method, a device and a storage medium for managing block chain resources, which can solve the problem that in the related art, the management operation of each participant on a block chain fails because the atomicity of the management operation of each participant on the block chain cannot be guaranteed. The technical scheme is as follows:
in one aspect, a method for managing block chain resources is provided, where the method includes:
acquiring resource locking information of a target management node of a block chain, wherein the resource locking information is used for indicating that a target resource in the block chain is locked, the block chain is provided with at least two management nodes, and the target management node is any one of the at least two management nodes;
determining whether the target resource has been locked;
when the target resource is not locked, sending the resource locking information to other management nodes except the target management node of the block chain.
In another aspect, an apparatus for block chain resource management is provided, the apparatus comprising:
a first obtaining module, configured to obtain resource locking information of a target management node of a block chain, where the resource locking information is used to indicate that a target resource in the block chain is locked, and the block chain has at least two management nodes;
a determination module to determine whether the target resource has been locked;
a first sending module, configured to send the resource locking information to other management nodes of the block chain except the target management node when the target resource is not locked.
Optionally, each management node of the blockchain includes a management component and an auxiliary component, the apparatus is disposed in the auxiliary component, and the first obtaining module is configured to:
and acquiring the resource locking information sent by the management component in the target management node.
Optionally, the first sending module is configured to:
when the target resource is not locked, sending the resource lock information to secondary components in other management nodes of the blockchain except the target management node.
Optionally, the first obtaining module is further configured to:
acquiring resource unlocking information sent by the management component, wherein the resource unlocking information is used for indicating to unlock the target resource;
the first sending module is further configured to:
and sending the resource unlocking information to auxiliary components of other management nodes except the target management node of the block chain.
Optionally, the auxiliary components in the management nodes of the block chain constitute a sub-block chain, and the first sending module is configured to:
broadcasting the resource lock information in the chain of sub-blocks when the target resource is not locked.
Optionally, the apparatus further comprises:
the second acquisition module is used for acquiring the data to be stored sent by the management component;
the storage module is used for storing the data to be stored into a database of the target management node;
and the second sending module is used for sending the data to be stored to auxiliary components of other management nodes except the target management node of the block chain.
Optionally, the apparatus further comprises:
a receiving module, configured to receive data to be stored, where the data is sent by auxiliary components of other management nodes except the target management node of the block chain;
the storage module is used for:
and storing the data to be stored into a database of the target management node.
In yet another aspect, there is provided a blockchain resource management apparatus comprising a processor and a memory having stored therein at least one instruction, at least one program, set of codes, or set of instructions that is loaded and executed by the processor to implement the blockchain resource management method as described in the above aspect.
In a further aspect, there is provided a storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded by the processor and executes the method for block chain resource management as described in the above aspect.
The beneficial effect that technical scheme that this application provided brought includes at least:
the method can acquire resource locking information of a target management node of a block chain, wherein the resource locking information is used for indicating that a target resource in the block chain is locked, and when the target resource is not locked, the resource locking information is sent to other management nodes except the target management node of the block chain. When determining that the target resource is not locked, the blockchain resource management device can send resource locking information to other management nodes except the target management node of the blockchain, so that the target resource can be ensured not to be occupied by other management nodes when being occupied by the target management node, and the phenomenon of management operation failure caused by incapability of guaranteeing atomicity of management operation when a plurality of management nodes simultaneously manage and operate the blockchain based on the target resource is avoided.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic block diagram of an implementation environment in accordance with an embodiment of the present application;
fig. 2 is a flowchart of a method for managing block chain resources according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a management node according to an embodiment of the present application;
fig. 4 is a flowchart of another method for managing blockchain resources according to an embodiment of the present disclosure;
FIG. 5 is a schematic structural diagram of an auxiliary assembly provided in an embodiment of the present application;
fig. 6 is a schematic diagram of data synchronization between management nodes according to an embodiment of the present application;
fig. 7 is a flowchart of another method for managing blockchain resources according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a device for managing blockchain resources according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of another blockchain resource management device according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of another block chain resource management apparatus according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of another block chain resource management apparatus according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1 is a schematic configuration diagram of an implementation environment according to an embodiment of the present application. As shown in FIG. 1, the implementation environment may include: a pre-established blockchain 10, and at least two management nodes 20, e.g., 3 management nodes 20 are shown in fig. 1, which establish a communication connection with the blockchain 10. Each management node 20 may establish a communication connection with the blockchain 10 in a wired or wireless manner. Each management node 20 may manage the blockchain 10 through the communication connection, for example, issue an intelligent contract, that is, each management node 20 has a management right for the blockchain 10.
Wherein the blockchain 10 may include a plurality of nodes, for example, only 6 nodes (node 101 to node 106) are shown in fig. 1. The plurality of nodes can establish communication connection through a wired network or a wireless network, and synchronize data through the communication connection. When any node receives data, the data may be broadcast to all nodes in the entire blockchain 10 (i.e., broadcast to the blockchain 10) so that other nodes in the blockchain 10 may receive and store the data. Any two management nodes 20 of the at least two management nodes 20 may also establish a communication connection in a wired or wireless manner, and may synchronize management operation data for the blockchain 10 based on the communication connection. The management operation data is data obtained by performing management operation on the block chain.
In the embodiment, each management node 20 of the at least two management nodes 20 and each node of the block chain 10 may be an electronic device. Optionally, the electronic device may be a smart phone, a tablet computer, a notebook computer, a desktop computer, a Moving Picture expert Audio Layer Iv (MP 4) player or a server, and the like.
It should be noted that, among the plurality of nodes included in the blockchain 10, there are at least two nodes deployed by different organizations, for example, referring to fig. 1, the 6 nodes may be nodes deployed by three different organizations. Each organization has an Internet Data Center (IDC) that may include a plurality of nodes, at least one of which is deployed in the blockchain 10 and at least one of which is a management node 20 of the blockchain 10. Accordingly, the 3 management nodes shown in fig. 1 are nodes in IDCs of 3 different organizations.
For example, referring to fig. 1, node 101 and node 102 in blockchain 10 may be the first enterprise deployed node, i.e., also the node in IDC 1; node 103 and node 104 in blockchain 10 may be nodes deployed by a second organization, i.e., also nodes in IDC 2; nodes 105 and 106 in blockchain 10 may be nodes deployed by a third organization, i.e., also nodes in IDC 3.
The embodiment of the application provides a method for managing block chain resources, which can be applied to a block chain resource management device. Referring to fig. 2, the method may include:
step 301, acquiring resource locking information of a target management node of a block chain.
The resource locking information is used for indicating a target resource in a locking block chain. The target resource refers to any one of a plurality of shared resources in the block chain, and the target management node may perform a target management operation on the block chain based on the target resource. The block chain is provided with at least two management nodes, and the target management node is any one of the at least two management nodes.
Optionally, the resource locking information may carry an identifier of the target resource.
Step 302, determine whether the target resource is locked.
In the embodiment of the present application, the corresponding relationship between the identifier of the shared resource and the locking flag of the shared resource is recorded in the blockchain resource management device. When acquiring the resource locking information of the target management node, the blockchain resource management device may determine whether the target resource is already locked according to the identifier of the target resource carried in the resource locking information, and the corresponding relationship between the identifier of the shared resource and the locking flag of the shared resource.
Step 303, when the target resource is not locked, sending resource locking information to other management nodes except the target management node of the block chain.
Alternatively, the blockchain resource management device may send the resource locking information to other management nodes of the blockchain except for the target management node based on a consensus algorithm.
To sum up, the embodiment of the present application provides a method for managing resource of a block chain, where the method may obtain resource locking information of a target management node of the block chain, where the resource locking information is used to indicate that a target resource in the block chain is locked, and send the resource locking information to other management nodes of the block chain except the target management node when the target resource is not locked. When determining that the target resource is not locked, the blockchain resource management device can send resource locking information to other management nodes except the target management node of the blockchain, so that the target resource can be ensured not to be occupied by other management nodes when being occupied by the target management node, and the phenomenon of management operation failure caused by incapability of guaranteeing atomicity of management operation when a plurality of management nodes simultaneously manage and operate the blockchain based on the target resource is avoided.
In the embodiment of the present application, referring to fig. 3, each management node 20 of the blockchain may include a management component 201 and an auxiliary component 202 (also referred to as a multi-party administration plug-in), and the method for managing blockchain resources provided by the embodiment of the present application may be applied to the auxiliary component of the target management node. The following description will be made by taking the application of the blockchain resource management method to an auxiliary component of a target management node as an example. Referring to fig. 3, the method may include:
step 401, obtaining resource locking information sent by a management component in a target management node.
The resource locking information is used for indicating a target resource in a locking block chain. The target resource refers to any one of a plurality of shared resources in the block chain, and the target management node may perform a target management operation on the block chain based on the target resource. The block chain is provided with at least two management nodes, and the target management node is any management node of the block chain.
Optionally, the resource locking information may carry an identifier of the target resource.
Step 402, determine if the target resource has been locked.
In the embodiment of the present application, the auxiliary component of each management node records a correspondence between an identifier of a shared resource and a lock flag of the shared resource. When the auxiliary component of the target management node acquires the resource locking information, whether the target resource is locked or not can be determined according to the identifier of the target resource carried in the resource locking information, the recorded identifier of the shared resource and the corresponding relation of the locking mark of the shared resource.
If the target resource has been locked, step 403 may be performed. If the target resource is not locked, step 404 may be performed.
And step 403, sending locking prompt information to a management component in the target management node.
The locking prompt message is used for indicating that the target resource is locked and cannot be acquired.
Step 404, sending the resource locking information to auxiliary components in other management nodes except the target management node of the blockchain.
In this embodiment, the auxiliary component of the target management node may synchronize the resource locking information to auxiliary components in other management nodes of the blockchain except the target management node based on a consensus algorithm, so as to ensure consistency of the resource locking information received by each of the other management nodes.
Optionally, the consensus algorithm may include: a Practical Byzantine Fault Tolerant (PBFT) algorithm, or a RAFT algorithm.
When the auxiliary component of the target management node determines that the target resource is not locked, the auxiliary component of the target management node can send the resource locking information to the auxiliary components in other management nodes except the target management node, so that the auxiliary components in the other management nodes update the recorded corresponding relation between the identifier of the shared resource and the locking mark of the shared resource according to the resource locking information, thereby ensuring that the other management nodes do not repeatedly occupy the target resource, realizing the locking of the target resource, further ensuring the atomicity of the management operation of the target management node on the block chain based on the target resource, and ensuring that the management operation of the target management node on the block chain is not interrupted.
Fig. 5 is a schematic structural diagram of an auxiliary assembly provided in an embodiment of the present application. Referring to fig. 5, the auxiliary component 202 of each management node may include a consensus module 2021, and the auxiliary component 202 of the target management node may synchronize the resource lock information to the consensus module 2021 of other management nodes through the consensus module 2021, so that the other management nodes may obtain the resource lock information. Optionally, the consensus module may be developed based on a RAFT algorithm, for example, the consensus module may be an ETCD. Among them, the ETCD is a highly available key-value storage system, and is mainly used for shared configuration and service discovery.
It should be noted that the auxiliary component in each management node of the block chain may form the sub-block chain, that is, the auxiliary component in each management node is a node in the sub-block chain. The target management node may broadcast the resource lock information in the sub-block chain when determining that the target resource is not locked, so that each node (i.e., the auxiliary component) in the sub-block chain may acquire the resource lock information.
Because the block chain has the property of tamper resistance, and each auxiliary component is a node in the sub-block chain, the credibility of the synchronous resource locking information can be effectively ensured, and the atomicity of the target management operation of the target management node on the block chain based on the target resource is further ensured after the target management node occupies the target resource.
The auxiliary component can determine the locking state of the target resource by performing the above steps 401 to 404, and lock the target resource when the target resource is not locked.
In this embodiment of the application, a management component of a target management node may obtain management operation data (that is, data to be stored described below) for a block chain, and after obtaining the management operation data, the target management node may synchronize the management operation data to other management nodes, so that the other management nodes perform subsequent management operations.
Because the management components of the management nodes of the block chain are mutually independent, the auxiliary components of the management nodes are communicated, and the management component and the auxiliary component of each management node are in communication connection, the management component of the target management node can communicate with the management components of other management nodes through the auxiliary components, so that data synchronization is performed. In order to ensure consistency of Data written into the databases of the management nodes of the block chain, the management component may write the acquired management operation Data into its database (Data Base, DB) through the auxiliary component. In the process of writing the management operation data into the database through the auxiliary component, if the management operation data can be written into the database, the management operation data can be synchronized to the auxiliary components of other management nodes. If the management operation data cannot be written into the database, the management operation data cannot be synchronized to the auxiliary components of other management nodes.
Step 405, acquiring data to be stored sent by the management component.
When the target management node acquires the data to be stored, the data to be stored can be sent to the auxiliary component, and correspondingly, the auxiliary component can acquire the data to be stored sent by the management component.
The data to be stored may be management operation data of the block chain by the management component described above. For example, the data to be stored may be an intelligent contract installed on a certain node of the blockchain for the management component. An intelligent contract is a contract program that executes automatically according to certain conditions.
And step 406, storing the data to be stored in the database of the target management node.
The auxiliary component may write the data to be stored into the database of the target management node, that is, store the data to be stored into the database of the target management node.
In this embodiment, referring to fig. 5, each auxiliary component of the management node may include an interface module 2022, where the interface module 2022 may provide a service for writing data to be stored in the database to the management component. That is, the interface module 2022 may be a channel (also referred to as an interface) for writing data between the management component and the database of the management node. Optionally, the interface module may be a Hypertext Transfer Protocol (HTTP) interface module.
For example, referring to fig. 6, after the management component of the target management node acquires the data to be stored, step a may be performed, that is, the data to be stored is sent to the interface module 2022 of the auxiliary component 202. Accordingly, the interface module 2022 may obtain the data to be stored, and may perform step b, that is, directly write the data to be stored into the database DB of the target management node, even if the data to be stored falls to the database DB of the target management node 20.
It should be noted that the database is provided with a task monitor, and the task monitor can monitor whether new data is written in the database in real time (i.e. whether new data exists in the database). And if the task monitor detects that new data is written in the database, the task monitor can send prompt information to prompt the auxiliary component to synchronize the newly added data to other management nodes. In this way, consistency between the data written in the database of the target management node and the data written in the database of the other management node can be ensured. The newly added data refers to data to be stored written into the database of the management node.
Step 407, sending the data to be stored to the auxiliary components of other management nodes except the target management node of the block chain.
After writing the data to be stored into the database, the auxiliary component of the target management node may acquire the data to be stored from the database, and may send the data to be stored to the auxiliary components of other management nodes except the target management node.
In this embodiment, referring to fig. 5, the auxiliary component of each management node may further include: a write (writer) module 2023, which writer module 2023 can monitor in real time whether a task monitor that manages the database of the node issues a prompt message. If the prompt message is sent, the writer module 2023 may determine that new data (at this time, the new data may also be referred to as data to be synchronized) exists in the database of the target management node, that is, the new data may be read from the database and written into the consensus module 2021 of the auxiliary component. That is, the writer module 2023 may read the data to be stored written to the database and asynchronously write it to the consensus module 2021. The consensus module 2021 may then synchronize the new data into the auxiliary components of other management nodes based on a consensus algorithm. Accordingly, other management nodes can obtain the newly added data.
For example, when the writer module 2023 detects that there is prompt information in the database, as shown in fig. 6, step c may be performed, that is, new data in the database DB is read, and then step d may be performed, that is, the read new data is written into the consensus module 2021. The consensus module 2021 may then perform step e, synchronizing the newly added data to the auxiliary component 202 of the other management node.
The auxiliary component can implement data synchronization between the target management node and other management nodes by performing the above steps 405 to 407. Moreover, according to the above data synchronization process, after writing the data to be stored in the database of the management node, the auxiliary component can write the data to be stored written in the database into the consensus module, thereby effectively ensuring atomicity of two-step write operations (i.e., writing the data to be stored in the database of the management node and writing the data to be stored in the database into the consensus module), ensuring that the data to be stored written in the database of the management node can be written in the consensus module, and then synchronizing to the databases of other management nodes through the consensus module, thereby ensuring consistency between the data written in the database of the target management node and the data written in the databases of other management nodes.
And step 408, acquiring the resource unlocking information sent by the management component.
The resource unlocking information is used for indicating the unlocking target resource.
In the embodiment of the present application, if the management component determines that the management operation based on the target resource is completed, the resource unlocking information may be sent to the auxiliary component, and accordingly, the auxiliary component may obtain the resource unlocking information.
Step 409, sending the resource unlocking information to the auxiliary components of other management nodes except the target management node of the block chain.
The auxiliary component may synchronize the resource unlocking information to auxiliary components in other management nodes of the block chain except the target management node based on a consensus algorithm, so as to ensure consistency of the resource unlocking information received by each of the other management nodes.
After the auxiliary component of the target management node determines that the management operation based on the target resource is completed, the auxiliary component can send the resource unlocking information to the auxiliary component, so that the auxiliary component in other management nodes can update the recorded corresponding relation between the identifier of the shared resource and the locking mark of the shared resource according to the resource unlocking information, and therefore it is ensured that other management nodes can obtain the target resource later, namely, the target resource is unlocked.
For example, the auxiliary component may synchronize the resource unlocking information to the common identification modules of the other management nodes through the common identification modules thereof, so that the other management nodes can obtain the resource unlocking information.
It should be noted that, in the embodiment of the present application, a timer may be set in each auxiliary component of the management node, and each auxiliary component stores a resource unlocking period. When the auxiliary component of the target management node sends the resource locking information to the auxiliary components in other management nodes except the target management node of the block chain, the timer is started and starts timing, if the auxiliary component does not receive the resource unlocking information sent by the management component in the resource unlocking period, the auxiliary component can generate resource unlocking information according to the identifier of the target resource and send the resource unlocking information to the auxiliary components of other management nodes, namely, the target resource is forcibly unlocked.
Fig. 7 is a flowchart of another method for managing blockchain resources according to an embodiment of the present application, where the method may be applied to a blockchain resource management apparatus, and the apparatus may be disposed in an auxiliary component of a target management node, or the apparatus may be an auxiliary component of the target management node. Referring to fig. 7, the method may include:
and step 410, receiving data to be stored sent by auxiliary components of other management nodes except the target management node of the block chain.
Wherein, the data to be stored refers to: and other management nodes manage operation data of the block chain.
In this embodiment of the application, the auxiliary component of the other management node may synchronize the data to be stored to the consensus module of the target management node through the consensus module, and accordingly, the target management node may receive the data to be stored sent by the other management node.
And 411, storing the data to be stored in the database of the target management node.
The auxiliary component of the target management node may write the received data to be stored into the database of the target management node, that is, may store the data to be stored into the database of the target management node.
In the embodiment of the present application, referring to fig. 5, the auxiliary component 202 of each management node may further include: a monitor (watch) module 2024. The watchdog module 2024 may monitor the data change of the consensus module 2021 in real time, that is, monitor whether the data to be stored is received, and may write the received data to be stored in the database of the management node in time, thereby implementing the synchronization of the data of each management node.
For example, referring to fig. 6, the watchdog module 2024 of the target management node may perform step f, that is, read the data to be stored in the consensus module 2021, when detecting that the consensus module 2021 receives the data to be stored, and then may perform step g, that is, write the read data to be stored into the database DB, so that the data written into the database of the target management node is consistent with the data written into the databases of other management nodes.
It should be noted that, in the embodiment of the present application, the auxiliary component stores the identifier of the target management node, and the data to be stored received by the auxiliary component carries the identifier of the data receiver. When receiving the data to be stored, the auxiliary component may determine, based on an identifier of a data receiving party carried by the data to be stored, whether the data to be stored is related to the target management node, that is, determine whether an identifier identical to the identifier of the target management node exists in the identifier of the data receiving party carried by the data to be stored. If the auxiliary component determines that the identifier of the data receiver carried by the data to be stored is the same as the identifier of the target management node, the received data to be stored can be decrypted to obtain the control logic of the data to be stored.
It should be further noted that, the sequence of the steps of the block chain resource management method provided in the embodiment of the present application may be appropriately adjusted, and the steps may also be increased or decreased according to the situation. For example, after the target resource is acquired, if the data synchronization operation is not required, the step of performing data synchronization may not be required, that is, the steps 405 to 407 are not required to be performed; in the data synchronization, if the target resource is not required to be locked, the operations of locking and unlocking the resource, i.e., steps 401 to 404, 408 and 409, are not required to be performed. Any method that can be easily conceived by those skilled in the art within the technical scope disclosed in the present application shall be covered by the protection scope of the present application, and therefore, the detailed description thereof shall not be repeated.
To sum up, the embodiment of the present application provides a method for managing resource of a block chain, where the method may obtain resource locking information of a target management node of the block chain, where the resource locking information is used to indicate that a target resource in the block chain is locked, and send the resource locking information to other management nodes of the block chain except the target management node when the target resource is not locked. When determining that the target resource is not locked, the blockchain resource management device can send resource locking information to other management nodes except the target management node of the blockchain, so that the target resource can be ensured not to be occupied by other management nodes when being occupied by the target management node, and the phenomenon of management operation failure caused by incapability of guaranteeing atomicity of management operation when a plurality of management nodes simultaneously manage and operate the blockchain based on the target resource is avoided.
It should be noted that, in the embodiment of the present application, the auxiliary component may also be a separate node in which the management node establishes a communication connection. The implementation mode of the auxiliary assembly is not limited, and the auxiliary assembly can be used for only ensuring the resource locking and data synchronization functions provided by the management node.
An embodiment of the present invention provides a device for managing blockchain resources, and referring to fig. 8, the device 500 may include:
a first obtaining module 501, configured to obtain resource locking information of a target management node of a block chain, where the resource locking information is used to indicate that a target resource in the block chain is locked, the block chain has at least two management nodes, and the target management node is any one of the at least two management nodes.
A determination module 502 for determining whether the target resource has been locked.
A first sending module 503, configured to send the resource locking information to other management nodes except the target management node of the blockchain when the target resource is not locked.
To sum up, the present application provides a device for managing resource of a blockchain, where the device may obtain resource locking information of a target management node of the blockchain, where the resource locking information is used to indicate that a target resource in the blockchain is locked, and send the resource locking information to other management nodes except the target management node of the blockchain when the target resource is not locked. When determining that the target resource is not locked, the blockchain resource management device can send resource locking information to other management nodes except the target management node of the blockchain, so that the target resource can be ensured not to be occupied by other management nodes when being occupied by the target management node, and the phenomenon of management operation failure caused by incapability of guaranteeing atomicity of management operation when a plurality of management nodes simultaneously manage and operate the blockchain based on the target resource is avoided.
Optionally, each management node of the blockchain includes a management component and an auxiliary component, and the apparatus may be disposed in the auxiliary component, where the first obtaining module 501 is configured to:
and acquiring resource locking information sent by the management component in the target management node.
Optionally, the first sending module 502 is configured to:
when the target resource is not locked, sending resource lock information to auxiliary components in other management nodes of the blockchain except the target management node.
Optionally, the first obtaining module 501 is further configured to:
and acquiring resource unlocking information sent by the management component, wherein the resource unlocking information is used for indicating to unlock the target resource.
The first sending module 502 is further configured to:
and sending the resource unlocking information to auxiliary components of other management nodes except the target management node of the block chain.
Optionally, the auxiliary components in the management nodes of the block chain form a sub-block chain, and the first sending module 501 is configured to:
when the target resource is not locked, resource lock information is broadcast in the chain of sub-blocks.
Fig. 9 is a schematic structural diagram of another block chain resource management device according to an embodiment of the present application. Referring to fig. 9, the apparatus 500 further comprises:
a second obtaining module 504, configured to obtain the data to be stored sent by the management component.
And a storage module 505, configured to store the data to be stored in the database of the target management node.
A second sending module 506, configured to send the data to be stored to an auxiliary component of a management node of the block chain other than the target management node.
Optionally, the apparatus further comprises:
the receiving module 507 is configured to receive data to be stored, where the data is sent by auxiliary components of other management nodes outside a target management node of the block chain.
The storage module 505 is further configured to:
and storing the data to be stored into a database of the target management node.
To sum up, the present application provides a device for managing resource of a blockchain, where the device may obtain resource locking information of a target management node of the blockchain, where the resource locking information is used to indicate that a target resource in the blockchain is locked, and send the resource locking information to other management nodes except the target management node of the blockchain when the target resource is not locked. When determining that the target resource is not locked, the blockchain resource management device can send resource locking information to other management nodes except the target management node of the blockchain, so that the target resource can be ensured not to be occupied by other management nodes when being occupied by the target management node, and the phenomenon of management operation failure caused by incapability of guaranteeing atomicity of management operation when a plurality of management nodes simultaneously manage and operate the blockchain based on the target resource is avoided.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the apparatus and the modules described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Fig. 10 is a schematic structural diagram of another block chain resource management device according to an embodiment of the present application, where the device 600 may be a server. Illustratively, as shown in fig. 10, the apparatus 600 includes a Central Processing Unit (CPU) 601, a system Memory 604 including a Random Access Memory (RAM) 602 and a Read-Only Memory (ROM) 603, and a system bus 605 connecting the system Memory 604 and the CPU 601. The apparatus 600 also includes a basic Input/Output (I/O) system 606 to facilitate information transfer between various devices within the computer, and a mass storage device 607 for storing an operating system 613, application programs 614, and other program modules 615.
The basic input/output system 606 includes a display 608 for displaying information and an input device 609 such as a mouse, keyboard, etc. for user input of information. Wherein a display 608 and an input device 609 are connected to the central processing unit 601 through an input output controller 610 connected to the system bus 605. The basic input/output system 606 may also include an input/output controller 610 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, an input/output controller 610 may also provide output to a display screen, a printer, or other type of output device.
The mass storage device 607 is connected to the central processing unit 601 through a mass storage controller (not shown) connected to the system bus 605. The mass storage device 607 and its associated computer-readable media provide non-volatile storage for the apparatus 600. That is, mass storage device 607 may include a computer-readable medium (not shown) such as a hard disk or compact disk-Only Memory (CD-ROM) drive.
Without loss of generality, computer-readable storage media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes Random Access Memory (RAM), Read-Only Memory (ROM), Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), flash Memory or other solid state Memory technology, CD-ROM, Digital Versatile Disks (DVD), or other optical, magnetic, or other magnetic storage devices. Of course, those skilled in the art will appreciate that computer storage media is not limited to the foregoing. The system memory 604 and mass storage device 607 described above may be collectively referred to as memory.
According to various embodiments of the present application, the apparatus 600 may also operate as a remote computer connected to a network via a network, such as the Internet. That is, the apparatus 600 may be connected to the network 612 through the network interface unit 611 connected to the system bus 605, or may be connected to other types of networks or remote computer systems (not shown) using the network interface unit 611.
The memory further includes one or more programs, and the one or more programs are stored in the memory and configured to be executed by the CPU to implement the method provided by the embodiment of the present application.
Fig. 11 is a schematic structural diagram of another block chain resource management apparatus according to an embodiment of the present application. The blockchain resource management device 700 may be: a smart phone, a tablet computer, an MP3(Moving Picture Experts group audio Layer III) player, an MP4 player, a notebook computer or a desktop computer, etc. The blockchain resource management device 700 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc. Alternatively, the blockchain resource management device 700 may be a server.
Generally, the blockchain resource management device 700 comprises: a processor 701 and a memory 702.
The processor 701 may include one or more processing cores, such as a 4-core processor, a 12-core processor, and so on. The processor 701 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 701 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 701 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 701 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 702 may include one or more computer-readable storage media, which may be non-transitory. Memory 702 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 702 is used to store at least one instruction for execution by the processor 701 to implement the blockchain based data sharing method provided by the embodiments of the present application.
In some embodiments, the blockchain resource management device 700 may further include: a peripheral interface 703 and at least one peripheral. The processor 701, the memory 702, and the peripheral interface 703 may be connected by buses or signal lines. Various peripheral devices may be connected to peripheral interface 703 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 704, touch screen display 705, camera 706, audio circuitry 707, positioning components 708, and power source 709.
Peripheral interface 703 may be used to connect at least one peripheral associated with I/O to processor 701 and memory 702. In some embodiments, processor 701, memory 702, and peripheral interface 703 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 701, the memory 702, and the peripheral interface 703 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 704 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 704 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 704 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 704 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 704 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or Wireless Fidelity (WIFI) networks. In some embodiments, the radio frequency circuit 704 may also include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 705 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 705 is a touch display screen, the display screen 705 also has the ability to capture touch signals on or over the surface of the display screen 705. The touch signal may be input to the processor 701 as a control signal for processing. At this point, the display 705 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 705 may be one, disposed on the front panel of the blockchain resource management device 700; in other embodiments, the number of the display screens 705 may be at least two, and the at least two display screens are respectively disposed on different surfaces of the blockchain resource management device 700 or in a folding design; in still other embodiments, the display 705 may be a flexible display disposed on a curved surface or on a folding surface of the blockchain resource management device 700. Even more, the display 705 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. The Display 705 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or the like.
The camera assembly 706 is used to capture images or video. Optionally, camera assembly 706 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 706 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuitry 707 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 701 for processing or inputting the electric signals to the radio frequency circuit 704 to realize voice communication. For stereo acquisition or noise reduction, a plurality of microphones may be disposed at different positions of the blockchain resource management device 700. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 701 or the radio frequency circuit 704 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 707 may also include a headphone jack.
The Location component 708 is used to locate the current geographic Location of the blockchain resource management device 700 to implement navigation or LBS (Location Based Service). The Positioning component 708 can be a Positioning component based on the GPS (Global Positioning System) in the united states, the beidou System in china, the graves System in russia, or the galileo System in the european union.
The power supply 709 is used to supply power to the various components in the blockchain resource management device 700. The power source 709 may be alternating current, direct current, disposable batteries, or rechargeable batteries. When power source 709 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. Rechargeable batteries may also be used to support fast charge technologies.
In some embodiments, the blockchain resource management device 700 further includes one or more sensors 710. The one or more sensors 710 include, but are not limited to: acceleration sensor 711, gyro sensor 712, pressure sensor 713, fingerprint sensor 714, optical sensor 715, and proximity sensor 716.
The acceleration sensor 711 can detect the magnitude of acceleration on three coordinate axes of the coordinate system established by the blockchain resource management device 700. For example, the acceleration sensor 711 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 701 may control the touch screen 705 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 711. The acceleration sensor 711 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 712 may detect a body direction and a rotation angle of the blockchain resource management device 700, and the gyro sensor 712 and the acceleration sensor 711 cooperate to collect a 3D motion of the user on the blockchain resource management device 700. From the data collected by the gyro sensor 712, the processor 701 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
The pressure sensors 713 may be disposed on the side frame of the blockchain resource management device 700 and/or on the lower layer of the touch screen 705. When the pressure sensor 713 is disposed on a side frame of the blockchain resource management device 700, a user holding signal of the blockchain resource management device 700 may be detected, and the processor 701 performs left-right hand recognition or quick operation according to the holding signal collected by the pressure sensor 713. When the pressure sensor 713 is disposed at a lower layer of the touch display 705, the processor 701 controls the operability control on the UI interface according to the pressure operation of the user on the touch display 705. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 714 is used for collecting a fingerprint of a user, and the processor 701 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 714, or the fingerprint sensor 714 identifies the identity of the user according to the collected fingerprint. When the user identity is identified as a trusted identity, the processor 701 authorizes the user to perform relevant sensitive operations, including unlocking a screen, viewing encrypted information, downloading software, paying, changing settings, and the like. The fingerprint sensor 714 may be disposed on the front, back, or side of the blockchain resource management device 700. When a physical button or vendor Logo is provided on the blockchain resource management device 700, the fingerprint sensor 714 may be integrated with the physical button or vendor Logo.
The optical sensor 715 is used to collect the ambient light intensity. In one embodiment, the processor 701 may control the display brightness of the touch display 705 based on the ambient light intensity collected by the optical sensor 715. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 705 is increased; when the ambient light intensity is low, the display brightness of the touch display 705 is turned down. In another embodiment, processor 701 may also dynamically adjust the shooting parameters of camera assembly 706 based on the ambient light intensity collected by optical sensor 715.
A proximity sensor 716, also known as a distance sensor, is typically disposed on the front panel of the blockchain resource management device 700. The proximity sensor 716 is used to collect the distance between the user and the front of the blockchain resource management device 700. In one embodiment, the processor 701 controls the touch display 705 to switch from the bright screen state to the dark screen state when the proximity sensor 716 detects that the distance between the user and the front face of the blockchain resource management device 700 is gradually decreased; when the proximity sensor 716 detects that the distance between the user and the front surface of the blockchain resource management device 700 is gradually increased, the processor 701 controls the touch display screen 705 to switch from the screen-on state to the screen-on state.
Those skilled in the art will appreciate that the configuration shown in fig. 11 does not constitute a limitation of the blockchain resource management device 700 and may include more or fewer components than shown, or combine certain components, or employ a different arrangement of components.
Also provided in an embodiment of the present application is a computer-readable storage medium, where at least one instruction, at least one program, a set of codes, or a set of instructions may be stored in the storage medium, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by a processor to implement the method for managing resource of a blockchain as shown in any one of fig. 2, fig. 4, or fig. 7.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. A method for block chain resource management, the method comprising:
acquiring resource locking information of a target management node of a block chain, wherein the resource locking information is used for indicating that a target resource in the block chain is locked, the block chain is provided with at least two management nodes, and the target management node is any one of the at least two management nodes;
determining whether the target resource has been locked;
when the target resource is not locked, sending the resource locking information to other management nodes except the target management node of the block chain.
2. The method according to claim 1, characterized in that each management node of the blockchain comprises a management component and an auxiliary component, the method being used for the auxiliary component,
the acquiring resource locking information of the target management node of the block chain includes:
and acquiring the resource locking information sent by the management component in the target management node.
3. The method of claim 2, wherein sending the resource lock information to other management nodes of the blockchain except the target management node when the target resource is unlocked comprises:
when the target resource is not locked, sending the resource lock information to secondary components in other management nodes of the blockchain except the target management node.
4. The method of claim 2, further comprising:
acquiring resource unlocking information sent by the management component, wherein the resource unlocking information is used for indicating to unlock the target resource;
and sending the resource unlocking information to auxiliary components of other management nodes except the target management node of the block chain.
5. The method according to claim 2, characterized in that the auxiliary components in the respective management nodes of the blockchain constitute a subblockchain,
when the target resource is not locked, the sending the resource locking information to other management nodes except the target management node of the block chain comprises:
broadcasting the resource lock information in the chain of sub-blocks when the target resource is not locked.
6. The method of claim 2, further comprising:
acquiring data to be stored sent by the management component;
storing the data to be stored into a database of the target management node;
and sending the data to be stored to auxiliary components of other management nodes except the target management node of the block chain.
7. The method of claim 2, further comprising:
receiving data to be stored sent by auxiliary components of other management nodes except the target management node of the block chain;
and storing the data to be stored into a database of the target management node.
8. A blockchain resource management apparatus comprising means for performing the method of any one of claims 1 to 7.
9. A blockchain resource management apparatus comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, set of codes, or set of instructions, which is loaded and executed by the processor to implement the method of any one of claims 1 to 7.
10. A storage medium having stored therein at least one instruction, at least one program, set of codes, or set of instructions, which is loaded and executed by a processor to implement the method of any one of claims 1 to 7.
CN201910933790.1A 2019-09-29 2019-09-29 Block chain resource management method, device and storage medium Active CN110597923B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910933790.1A CN110597923B (en) 2019-09-29 2019-09-29 Block chain resource management method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910933790.1A CN110597923B (en) 2019-09-29 2019-09-29 Block chain resource management method, device and storage medium

Publications (2)

Publication Number Publication Date
CN110597923A true CN110597923A (en) 2019-12-20
CN110597923B CN110597923B (en) 2024-02-02

Family

ID=68864944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910933790.1A Active CN110597923B (en) 2019-09-29 2019-09-29 Block chain resource management method, device and storage medium

Country Status (1)

Country Link
CN (1) CN110597923B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160055241A1 (en) * 2014-08-20 2016-02-25 International Business Machines Corporation Sharing resources among remote repositories utilizing a lock file in a shared file system or a node graph in a peer-to-peer system
CN105700939A (en) * 2016-04-21 2016-06-22 北京京东尚科信息技术有限公司 Method and system for multi-thread synchronization in distributed system
CN106656600A (en) * 2016-12-22 2017-05-10 腾讯科技(深圳)有限公司 Resource transformation method and device
WO2017077616A1 (en) * 2015-11-05 2017-05-11 株式会社Murakumo Database system, transaction management node, method, and program
CN108596768A (en) * 2018-05-09 2018-09-28 神州数码融信软件有限公司 A kind of distributed transaction processing method, apparatus and system
CN108647285A (en) * 2018-05-04 2018-10-12 北京小米移动软件有限公司 Renaming method, apparatus and distributed file system in distributed file system
CN108829709A (en) * 2018-05-03 2018-11-16 广州金山安全管理系统技术有限公司 Distributed database management method, apparatus, storage medium and processor
CN110231979A (en) * 2019-05-07 2019-09-13 深圳壹账通智能科技有限公司 Transaction methods, device, equipment and storage medium based on block chain

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160055241A1 (en) * 2014-08-20 2016-02-25 International Business Machines Corporation Sharing resources among remote repositories utilizing a lock file in a shared file system or a node graph in a peer-to-peer system
WO2017077616A1 (en) * 2015-11-05 2017-05-11 株式会社Murakumo Database system, transaction management node, method, and program
CN105700939A (en) * 2016-04-21 2016-06-22 北京京东尚科信息技术有限公司 Method and system for multi-thread synchronization in distributed system
CN106656600A (en) * 2016-12-22 2017-05-10 腾讯科技(深圳)有限公司 Resource transformation method and device
CN108829709A (en) * 2018-05-03 2018-11-16 广州金山安全管理系统技术有限公司 Distributed database management method, apparatus, storage medium and processor
CN108647285A (en) * 2018-05-04 2018-10-12 北京小米移动软件有限公司 Renaming method, apparatus and distributed file system in distributed file system
CN108596768A (en) * 2018-05-09 2018-09-28 神州数码融信软件有限公司 A kind of distributed transaction processing method, apparatus and system
CN110231979A (en) * 2019-05-07 2019-09-13 深圳壹账通智能科技有限公司 Transaction methods, device, equipment and storage medium based on block chain

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李玉丽;: "指纹识别门禁系统在智能小区的研究", 黑龙江科技信息, no. 34 *
邹永贵;万建斌;: "云计算环境下的资源管理研究", 数字通信, no. 04 *

Also Published As

Publication number Publication date
CN110597923B (en) 2024-02-02

Similar Documents

Publication Publication Date Title
CN110602206B (en) Data sharing method and device based on block chain and storage medium
CN108805560B (en) Numerical value integration method and device, electronic equipment and computer readable storage medium
CN110278464B (en) Method and device for displaying list
CN111190748B (en) Data sharing method, device, equipment and storage medium
CN108831513B (en) Method, terminal, server and system for recording audio data
CN111241115B (en) Data synchronization method, device, equipment and storage medium
CN110826103A (en) Block chain-based document authority processing method, device, equipment and storage medium
CN110839174A (en) Image processing method and device, computer equipment and storage medium
CN110636144A (en) Data downloading method and device
CN110598386A (en) Data processing method, device and equipment based on block chain and storage medium
CN113076051A (en) Slave control terminal synchronization method, device, terminal and storage medium
CN110677262B (en) Information notarization method, device and system based on blockchain
CN111510482A (en) Method and device for determining failed network request and computer storage medium
CN109697113B (en) Method, device and equipment for requesting retry and readable storage medium
CN110544193A (en) Donation information distributed storage method and device
CN110597868B (en) Information query method, device, terminal and storage medium based on block chain
CN112181915B (en) Method, device, terminal and storage medium for executing service
CN111881423A (en) Method, device and system for limiting function use authorization
CN110597840A (en) Partner relationship establishing method, device, equipment and storage medium based on block chain
CN113282243B (en) Method and device for storing object file
CN110971692B (en) Method and device for opening service and computer storage medium
CN111064657B (en) Method, device and system for grouping concerned accounts
CN110324791B (en) Networking method and device, computer equipment and storage medium
CN110597923A (en) Block chain resource management method, device and storage medium
CN111145034A (en) Block chain-based social security management method, device and system and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant