CN111737361A - Block chain processing method, device, equipment and storage medium - Google Patents

Block chain processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN111737361A
CN111737361A CN202010707476.4A CN202010707476A CN111737361A CN 111737361 A CN111737361 A CN 111737361A CN 202010707476 A CN202010707476 A CN 202010707476A CN 111737361 A CN111737361 A CN 111737361A
Authority
CN
China
Prior art keywords
certificate
block chain
storing
target
evidence
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
CN202010707476.4A
Other languages
Chinese (zh)
Other versions
CN111737361B (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.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202010707476.4A priority Critical patent/CN111737361B/en
Publication of CN111737361A publication Critical patent/CN111737361A/en
Application granted granted Critical
Publication of CN111737361B publication Critical patent/CN111737361B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • 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
    • G06F16/211Schema design and management
    • 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
    • G06F16/217Database tuning
    • 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/24Querying
    • G06F16/245Query processing
    • G06F16/2453Query optimisation

Abstract

The application discloses a block chain processing method, a block chain processing device, block chain processing equipment and a storage medium, relates to the technical field of block chains, and can be used for cloud computing and cloud services. The specific implementation scheme is as follows: if the original evidence block chain is detected to meet the capacity expansion condition, controlling block chain deployment service to create a new evidence block chain; transferring the user to be transferred in the original certificate-storing block chain to the new certificate-storing block chain; writing the transaction information and/or the summary of the certificate-storing data and a first association relation between the certificate-storing block chain in which the certificate-storing data is stored into a fragment management service; and providing evidence storage query service according to the first association relation. The method and the device can improve the efficiency of inquiring the evidence storage data and the reliability and the safety of the block chain system.

Description

Block chain processing method, device, equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for processing a block chain.
Background
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm.
In a conventional blockchain network, blocks are continuously created by block generation nodes and added to the tail of a blockchain to form a blockchain. Blocks are not deleted or modified after they are added to the chain. Thus, over time, more and more data is available on the blockchain, resulting in blockchain warranty performance and capacity bottlenecks.
Disclosure of Invention
The disclosure provides a method, an apparatus, a device and a storage medium for block chain processing.
According to an aspect of the present disclosure, there is provided a block chain processing method, including:
if the original evidence block chain is detected to meet the capacity expansion condition, controlling block chain deployment service to create a new evidence block chain;
transferring the user to be transferred in the original certificate-storing block chain to the new certificate-storing block chain;
writing the transaction information and/or the summary of the certificate-storing data and a first association relation between the certificate-storing block chain in which the certificate-storing data is stored into a fragment management service;
and providing evidence storage query service according to the first association relation.
According to another aspect of the present disclosure, there is provided a block chain processing method, including:
generating a certificate storage inquiry request; the evidence storing and inquiring request comprises target transaction information and/or a target evidence storing data abstract of the evidence storing data to be inquired;
initiating the certificate storing and inquiring request to a fragment management service, wherein the certificate storing and inquiring request is used for indicating the fragment management service to provide a certificate storing and inquiring service according to a first association relation; the first association relationship is an association relationship between transaction information and/or a certificate storing data abstract of the certificate storing data and a certificate storing block chain storing the certificate storing data.
According to still another aspect of the present disclosure, there is provided a block chain processing apparatus including:
the certificate storing and expanding module is used for controlling the block chain deployment service to create a new certificate storing block chain if the original certificate storing block chain is detected to meet the expanding condition;
the user transferring module is used for transferring the user to be transferred in the original certificate-storing block chain to the new certificate-storing block chain;
the first relation construction module is used for writing a first association relation between transaction information and/or an abstract of the certificate-storing data and a certificate-storing block chain storing the certificate-storing data into the fragment management service;
and the inquiry service module is used for providing evidence storage inquiry service according to the first incidence relation.
According to still another aspect of the present disclosure, there is provided a block chain processing apparatus including:
the inquiry request generating module is used for generating a certificate storing inquiry request; the evidence storing and inquiring request comprises target transaction information and/or a target evidence storing data abstract of the evidence storing data to be inquired;
the inquiry request sending module is used for initiating the certificate storing inquiry request to the fragment management service and indicating the fragment management service to provide the certificate storing inquiry service according to the first association relation; the first association relationship is an association relationship between transaction information and/or a certificate storing data abstract of the certificate storing data and a certificate storing block chain storing the certificate storing data.
According to a fifth aspect, there is provided an electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method of block chain processing as described in any one of the embodiments of the present application.
According to a sixth aspect, there is provided a non-transitory computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method of blockchain processing according to any one of the embodiments of the present application.
According to the technology of the application, the certificate data query efficiency can be improved, and the reliability and the safety of the block chain system can be improved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
fig. 1a is a schematic flowchart illustrating a block chain processing method according to an embodiment of the present disclosure;
FIG. 1b is a block chain processing system according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of another block chain processing method according to an embodiment of the present application;
fig. 3 is a flowchart illustrating another block chain processing method according to an embodiment of the present application;
fig. 4 is a flowchart illustrating another block chain processing method according to an embodiment of the present application;
fig. 5 is a flowchart illustrating another block chain processing method according to an embodiment of the present application;
fig. 6 is a flowchart illustrating another block chain processing method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a block chain processing apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of another block chain processing apparatus provided in an embodiment of the present application;
fig. 9 is a block diagram of an electronic device for implementing the block chain processing method according to the embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1a is a flowchart illustrating a block chain processing method according to an embodiment of the present disclosure. The embodiment can be applied to the condition of expanding the block chain storage and verification system based on the fragment management service. The blockchain processing method disclosed in this embodiment may be executed by an electronic device, and specifically may be executed by a blockchain processing apparatus, where the apparatus may be implemented by software and/or hardware, and is configured in the electronic device, and the electronic device may be a fragment management service. Referring to fig. 1a, the block chain processing method provided in this embodiment includes:
s110, if the original evidence block chain is detected to meet the capacity expansion condition, controlling the block chain deployment service to create a new evidence block chain.
Fig. 1b is a schematic structural diagram of a block chain processing system according to an embodiment of the present application. Referring to fig. 1b, a blockchain processing system may include a user node, a fragment management service, and a certified blockchain network. The fragment management service is used for detecting whether each certificate-storing block chain in the certificate-storing block chain network meets an expansion condition, if any one original certificate-storing block chain meets the expansion condition, the fragment management service controls the block chain deployment service to create a new certificate-storing block chain, and shares the certificate-storing request of the original certificate-storing block chain through the new certificate-storing block chain, so that the stability and the safety of the certificate-storing block chain system are improved.
In the embodiment of the present application, the original certificate-storing block chain refers to a created certificate-storing block chain, the original certificate-storing block chain is associated with a certain number of users and is used to provide certificate-storing services for the associated users, and the association relationship between the original certificate-storing block chain and the users is written into the fragment management service in advance.
Specifically, the fragment management service detects whether the original certificate block chains meet the capacity expansion condition, if any original certificate block chain meets the capacity expansion condition, the fragment management service sends a capacity expansion request to the block chain deployment service, and the block chain deployment service selects a needed node from the idle nodes in the node library to deploy a new certificate block chain in response to the capacity expansion request. Whether an original certificate-storing block chain needing capacity expansion exists or not is automatically detected through the fragment management service, and a new certificate-storing block chain is automatically constructed through the block chain deployment service, so that the problem of single chain upper limit can be solved, and the reliability and the safety of a block chain system are improved.
S120, transferring the user to be transferred in the original certificate-storing block chain to the new certificate-storing block chain.
Specifically, the user to be transferred can be selected from the original certificate-storing block chain, and the user to be transferred is transferred to the new storage block chain, that is, the certificate-storing data writing service is continuously provided for the user to be transferred through the new certificate-storing block chain subsequently.
S130, writing the transaction information and/or the summary of the certificate-storing data and the first association relationship between the certificate-storing block chain stored with the certificate-storing data into the fragment management service.
The Transaction information of the evidence data may be a Transaction ID (Transaction ID) of the evidence data, and the summary of the evidence data may be hash information of the evidence data. The fragment management service can acquire transaction information and/or an abstract of the evidence data and information of a chain of evidence storage blocks in which the evidence data are stored, and write a first association relationship between the transaction information and/or the abstract of the evidence data and the chain of the evidence storage blocks in which the evidence data are stored into the fragment management service. The evidence storing block chain can be any one of an original evidence storing block chain and a new evidence storing block chain.
Specifically, the fragment management service may construct the first association relationship in real time after any certificate storing data is written into the certificate storing block chain, for example, the transaction information of the certificate storing data may be used as a main key (key), and the first association relationship is written into the fragment management service. The structured data of the first association relation is stored through the fragment management service, so that a user can conveniently and quickly query the certificate storing data through the transaction information of the certificate storing data to be queried and/or the abstract of the certificate storing data to be queried, the fragment management service can accurately position a target certificate storing block chain, and the query efficiency of the certificate storing data is improved. In addition, in order to further improve the query efficiency, the fragment management service can also perform word segmentation on the evidence storage data abstract, so that the user can query through word segmentation results.
And S140, providing evidence storage inquiry service according to the first association relation.
Specifically, the fragment management service is used as a blockchain browser supporting a multi-certificate-storage blockchain, and supports a user to inquire certificate-storage data through object information and/or a certificate-storage data abstract of the certificate-storage data, so that user operation can be simplified, and inquiry efficiency can be improved.
According to the technical scheme, the capacity of the certificate-storing block chain is automatically expanded through the fragment management service, a new certificate-storing block chain can be automatically created under the condition that the capacity of the certificate-storing block chain needs to be expanded, and the reliability and the safety of a block chain system are improved. Moreover, by constructing the transaction information and/or the abstract of the certificate-storing data and the first association relationship between the certificate-storing block chain in which the certificate-storing data is stored, the inquiry efficiency of the certificate-storing data can be improved, and the inquiry operation of a user can be simplified.
Fig. 2 is a flowchart illustrating a block chain processing method according to an embodiment of the present disclosure. The present embodiment is an alternative proposed on the basis of the above-described embodiments. Referring to fig. 2, the block chain processing method provided in this embodiment includes:
s210, if the original evidence block chain is detected to meet the capacity expansion condition, controlling the block chain deployment service to create a new evidence block chain.
S220, transferring the user to be transferred in the original certificate-storing block chain to the new certificate-storing block chain.
S230, writing the transaction information and/or the summary of the certificate-storing data and the first association relationship between the certificate-storing block chain in which the certificate-storing data is stored into the fragment management service.
S240, acquiring a certificate storage inquiry request of a target user node; the evidence storing and inquiring request comprises target transaction information and/or a target evidence storing data abstract of the evidence storing data to be inquired.
The target user node can be any user node with evidence data query requirements. The target user node can initiate a certificate storing inquiry request according to the target transaction information and/or the target certificate storing data abstract of the certificate storing data to be inquired. Furthermore, the target user node can also initiate a certificate storing query request according to the abstract word segmentation. Taking the evidence data as the prize-winning certificate of a certain sports event as an example, the evidence data abstract can comprise a certain sports event, namely, the certain sports event can be used as the word segmentation of the evidence data abstract, so that the use by a user is facilitated.
S250, determining a target deposit certificate query block chain associated with the target transaction information and/or the target deposit certificate data abstract according to the first association relation.
The target certificate storage inquiry block chain is a certificate storage block chain for storing the certificate storage data to be inquired. In the embodiment of the application, along with the expansion of the evidence storing block chain system, the evidence storing block chain associated with a user is dynamically adjusted, and the target evidence storing and inquiring block chain can be accurately positioned through the first association relation, so that the inquiry result can be obtained through the target evidence storing and inquiring block chain subsequently, cross-chain inquiry is not needed, and the evidence storing data inquiry efficiency can be improved.
And S260, sending the information of the target certificate storage inquiry block chain to the target user node, wherein the information is used for indicating the target user node to inquire certificate storage data from the target certificate storage inquiry block chain.
Specifically, the target user node may initiate an inquiry request to the target certificate storage inquiry block chain, so that the target certificate storage inquiry block chain feeds back an inquiry result.
According to the technical scheme of the embodiment of the application, the fragment management service is used for automatically expanding the capacity of the block chain with the certificate stored, and the reliability and the safety of the block chain system are improved. Moreover, the fragment management service serving as a block chain browser supporting multi-chains can accurately position the target evidence storing and inquiring block chain where the evidence storing data to be inquired is located, and therefore the evidence storing data inquiring efficiency is further improved.
Fig. 3 is a flowchart illustrating a block chain processing method according to an embodiment of the present disclosure. The present embodiment is an alternative proposed on the basis of the above-described embodiments. Referring to fig. 3, the block chain processing method provided in this embodiment includes:
s310, if the original evidence block chain is detected to meet the capacity expansion condition, controlling the block chain deployment service to create a new evidence block chain.
S320, writing a second association relation between the user to be transferred in the original certificate-storing block chain and the new certificate-storing block chain into the fragment management service.
The fragmentation management service distributes the user to be transferred in the original evidence block chain to the new evidence block chain, namely, the association relationship between the user to be transferred and the new evidence block chain is determined, and the second association relationship between the user to be transferred and the new evidence block chain is written into the fragmentation management service, so that the subsequent data chaining evidence storage efficiency can be improved.
In an alternative embodiment, S320 includes: determining a second association relation between the user to be transferred and the new evidence storage block chain according to the ID of the user to be transferred and the number of the new evidence storage block chains; and writing the second association relationship into the fragment management service.
Specifically, the hash residue of the user id to be transferred can be obtained according to the number m of the new certificate storage block chains, and the user to be transferred is distributed to the new certificate storage block chains. And writing a second association relation between the user to be transferred and the new evidence storage block chain into the fragment management service. The users to be transferred are distributed to the new certificate storage block chains based on load balance, so that the new certificate storage block chains are respectively responsible for the users to be transferred, and the uneven distribution of certificate storage requests of the new certificate storage block chains is avoided.
S330, providing storage certificate writing service according to the second association relation.
The fragment management service writes an association relationship between a user and a certificate-storing block chain, which may include an association relationship between a user and an original certificate-storing block chain, an association relationship between a user to be transferred and a new certificate-storing block chain, and an association relationship between a new user and an original certificate-storing block chain or a new certificate-storing block chain. As new chain of credentialing blocks are created, the association between the user and chain of credentialing blocks is changing. If any user is associated with two or more certificate-storing block chains, the associated latest certificate-storing block chain is taken as the standard, namely, the certificate-storing service is provided for the user through the latest associated certificate-storing block chain of the user.
In an alternative embodiment, S330 includes: responding to a deposit writing request of a target user node, wherein the deposit writing request comprises information of a target user; determining a target deposit certificate write block chain associated with the target user according to the second association relation; and sending the information of the target certificate storage writing block chain to the target user node, wherein the information is used for indicating the target user node to write the certificate storage data into the target certificate storage writing block chain. The relation between the user and the certificate storing block chain is managed in a centralized mode through the fragment management service, and each certificate storing block chain only needs to pay attention to the certificate storing logic, so that the burden of the certificate storing block chain is avoided being increased, the certificate storing service efficiency is improved, and the system stability is further improved.
When a target user needs to chain the certificate storing data, a target user node sends a certificate storing writing request to a fragment management service, and the fragment management service determines a target certificate storing writing block chain associated with the target user according to a first association relation between a user and the certificate storing block chain written in advance and feeds back information of the target certificate storing writing block chain to the target user node. And the target user node initiates a data uplink request to the target certificate-storing writing block chain according to the information of the target certificate-storing writing block chain.
In an alternative embodiment, in response to the block chain query request of the target user node, an extension condition detection event of the original proof block chain is generated.
S340, writing the transaction information and/or the summary of the evidence storing data and the first incidence relation between the evidence storing block chain storing the evidence storing data into the fragment management service.
And S350, providing evidence storage inquiry service according to the first association relation.
It should be noted that, in the embodiment of the present application, writing of the first association relation and the second association relation does not have a fixed execution order, and providing the certificate writing service and providing the certificate querying service also do not have a fixed execution order. The second association relationship can be updated after the new certificate-storing block chain is successfully deployed; the first association relation can be updated after new certificate storage data are written into the certificate storage block chain; the certificate storage writing service and the certificate storage inquiring service are provided according to the requirements of the user nodes.
According to the technical scheme of the embodiment of the application, the fragment management service is used for expanding the capacity of the certificate-storing block chain in a centralized mode and managing the first incidence relation and the second incidence relation in a centralized mode, so that the burden of increasing the certificate-storing block chain is avoided, and the stability of the system is further improved.
Fig. 4 is a flowchart illustrating a block chain processing method according to an embodiment of the present disclosure. The present embodiment is an alternative proposed on the basis of the above-described embodiments. Referring to fig. 4, the block chain processing method provided in this embodiment includes:
s410, if the original memory card block chain is detected to meet the capacity expansion condition, determining the target capacity expansion condition met by the original memory card block chain from preset candidate capacity expansion conditions.
The fragment management service provides at least two candidate capacity expansion conditions in advance according to the performance and/or capacity of the original certificate block chain. Specifically, the performance and/or capacity information of the original memory card block chain is obtained, and the obtained information is matched with the candidate capacity expansion condition to obtain a target capacity expansion condition met by the original memory card block chain.
In an optional implementation manner, the capacity expansion condition is that load information of the original memory card block chain is greater than a load threshold, and/or a capacity of the original memory card block chain is greater than a capacity threshold. Wherein the load information may include at least one of: CPU utilization, memory utilization, and disk I/O utilization. By constructing the new evidence-storing blockchain when the performance or capacity of the evidence-storing blockchain is bottleneck, the problem that the single chain is difficult to meet the requirement of long-term evidence-storing growth can be solved, namely the problem of the upper limit of the single evidence-storing blockchain is solved.
And S420, determining the number of the new evidence storage block chains according to the target capacity expansion condition.
Specifically, different candidate capacity expansion conditions may be associated with different capacity expansion numbers. Performance bottlenecks are more detrimental to blockchains, so the number of newly demoted blockchains required for load performance to reach the bottleneck is greater than the number of newly demoted blockchains required for capacity bottlenecks.
And S430, controlling a block chain deployment service to create a new evidence storing block chain according to the number of the new evidence storing block chains.
Specifically, the fragment management service sends a new evidence storing block chain creation request to the block chain deployment service according to the number of the new evidence storing block chains, and creates and deploys the new evidence storing block chains through the block chain deployment service. After the new certificate-storing blockchain is successfully deployed, the blockchain deployment service returns the id and the address of the new certificate-storing blockchain to the fragment management service.
S440, transferring the user to be transferred in the original certificate-storing block chain to the new certificate-storing block chain.
S450, writing the transaction information and/or the abstract of the certificate-storing data and the first association relationship between the certificate-storing block chain in which the certificate-storing data is stored into the fragment management service.
And S460, providing evidence storage inquiry service according to the first association relation.
According to the technical scheme, the block chain evidence storing system automatic capacity expanding technology is adopted, the new evidence storing block chain can be automatically established when the evidence storing block chain reaches the performance or capacity bottleneck, and the performance and capacity bottleneck is solved.
Fig. 5 is a flowchart illustrating a block chain processing method according to an embodiment of the present disclosure. The embodiment can be applied to the decentralized capacity expansion situation of the block chain credit card system based on the fragment management service. The block chain processing method disclosed in this embodiment may be executed by an electronic device, and specifically may be executed by a block chain processing apparatus, where the apparatus may be implemented by software and/or hardware, and is configured in the electronic device, and the electronic device may be a user node. Referring to fig. 5, the block chain processing method provided in this embodiment includes:
s510, generating a certificate storing inquiry request; the evidence storing and inquiring request comprises target transaction information and/or a target evidence storing data abstract of the evidence storing data to be inquired.
Specifically, when the target user has a certificate storage data query requirement, the target user generates a certificate storage query request. The target Transaction information may be a Transaction ID (Transaction ID) of the data to be queried, and the target digest of the data may be hash information of the data to be queried. And, the certificate of deposit inquiry request can also include the word segmentation information of the target certificate of deposit data abstract. It should be noted that the target user may be any user.
S520, initiating the certificate storing and inquiring request to a fragment management service, and indicating the fragment management service to provide the certificate storing and inquiring service according to a first incidence relation; the first association relationship is an association relationship between transaction information and/or a certificate storing data abstract of the certificate storing data and a certificate storing block chain storing the certificate storing data.
The fragment management service centrally manages a first association relation of the certificate storage data. The target user node sends the evidence storing and inquiring request to the fragment management service, so that the fragment management service is accurately positioned to the target evidence storing and inquiring block chain where the evidence storing data to be inquired is located.
In an alternative embodiment, S520 further includes: acquiring information of a target certificate storage inquiry block chain fed back by the fragment management service according to the first incidence relation; wherein the target certificate-deposit query block chain is associated with the target transaction information and/or the target certificate-deposit data digest; and inquiring the certificate storing data from the target certificate storing and inquiring block chain according to the information of the target certificate storing and inquiring block chain.
Specifically, the target user node may initiate an inquiry request to the target certificate-storing inquiry block chain according to the information of the target certificate-storing inquiry block chain, so that the target certificate-storing inquiry block chain feeds back an inquiry result.
According to the technical scheme of the embodiment of the application, the fragment management service is used for automatically expanding the capacity of the block chain with the certificate stored, and the reliability and the safety of the block chain system are improved. Moreover, the fragment management service serving as a block chain browser supporting multi-chains can accurately position the target evidence storing and inquiring block chain where the evidence storing data to be inquired is located, and therefore the evidence storing data inquiring efficiency is further improved.
Fig. 6 is a flowchart illustrating a block chain processing method according to an embodiment of the present disclosure. The present embodiment is an alternative proposed on the basis of the above-described embodiments. Referring to fig. 6, the block chain processing method provided in this embodiment includes:
s610, generating a certificate storing inquiry request; the evidence storing and inquiring request comprises target transaction information and/or a target evidence storing data abstract of the evidence storing data to be inquired.
S620, initiating the certificate storing and inquiring request to a fragment management service, and indicating the fragment management service to provide the certificate storing and inquiring service according to a first incidence relation; the first association relationship is an association relationship between transaction information and/or a certificate storing data abstract of the certificate storing data and a certificate storing block chain storing the certificate storing data.
S630, generating a storage certificate writing request; wherein the certificate-deposit-write request includes information of a target user.
Specifically, when the target user has a need for storing the certificate data uplink, the target user generates a certificate storing write request. The information of the target user may be an ID of the target user. In the embodiment of the present application, S610 and S630 have no fixed execution sequence, and S610 or S630 is executed according to the requirement of the user node.
S640, sending the certificate storing and writing request to the fragment management service, wherein the certificate storing and writing request is used for indicating the fragment management service to provide a certificate storing and writing service according to a second association relation; and the second association relationship is the association relationship between the user and the evidence storage block chain.
And the fragment management service centrally manages a second association relation between the user and the certificate storing block chain. And the target user node sends a certificate storing write-in request to the fragment management service, so that the fragment management service takes the latest certificate storing block chain associated with the target user as a target certificate storing write-in block chain. The relation between the user and the certificate storing block chain is managed in a centralized mode through the fragment management service, and each certificate storing block chain only needs to pay attention to the certificate storing logic, so that the burden of the certificate storing block chain is avoided being increased, the certificate storing service efficiency is improved, and the system stability is further improved.
In an alternative embodiment, S640 is followed by: acquiring information of a target certificate storage written into a block chain, which is fed back by the fragment management service according to the second incidence relation; wherein the target credential write block chain is associated with the target user; and writing the evidence storage data into the target evidence storage writing block chain according to the information of the target evidence storage writing block chain.
Specifically, the fragment management service determines a target certificate storage writing block chain associated with the target user according to a first association relationship between a user and the certificate storage block chain written in advance, and feeds back information of the target certificate storage writing block chain to the target user node. And the target user node initiates a data uplink request to the target certificate-storing writing block chain according to the information of the target certificate-storing writing block chain.
The fragment management service may include a fragment management module, a data mapping module, and a data query module. The fragment management module comprises functions of fragment state monitoring, fragment expansion and the like. The fragment management service can monitor the pressure state of each certificate-storing block chain (which can be called fragment chain) in the certificate-storing service block chain network in real time, wherein the pressure state comprises performance pressure and storage pressure, and starts automatic capacity expansion operation of the certificate-storing block chain when the pressure of the certificate-storing block chain reaches a threshold value. Data mapping module the data mapping module is mainly used for recording the association relationship between the user and the evidence storage block chain. The user id will be mapped to different evidence-storing block chains after hashing. Only one certificate storing block chain is used initially, so that all certificate storing data are stored on the certificate storing block chain, and as the certificate storing block chain reaches an upper limit, part of the partitioned intervals are mapped onto the newly-built certificate storing block chain again, so that the purposes of balancing performance or storing and expanding capacity are achieved.
The data query module can synchronize the chain certificate storage data on all certificate storage block chains in real time, records the transaction ID of the certificate storage data and information such as the certificate storage block chain and the certificate storage content abstract, and forms structured data to be stored in the database.
According to the technical scheme, the capacity of the certificate storing block chain is expanded in a centralized mode through the fragment management service, the first incidence relation and the second incidence relation are managed in a centralized mode, the burden of increasing the certificate storing block chain is avoided, and the inquiry efficiency and the writing efficiency of the certificate storing data are further improved.
Fig. 7 is a schematic structural diagram of a block chain processing apparatus according to an embodiment of the present disclosure. Referring to fig. 7, a block chain processing apparatus 700 provided in an embodiment of the present application may include:
a certificate storage capacity expansion module 701, configured to control a block chain deployment service to create a new certificate storage block chain if it is detected that the original certificate storage block chain meets a capacity expansion condition;
a user transferring module 702, configured to transfer a user to be transferred in the original certificate-storing blockchain to the new certificate-storing blockchain;
a first relationship building module 703, configured to write a first association relationship between transaction information and/or an abstract of the certificate-deposited data and a certificate-deposited block chain in which the certificate-deposited data is stored into a fragment management service;
and the query service module 704 is configured to provide a certificate storage query service according to the first association relationship.
In an optional implementation manner, the evidence storage and expansion module 701 includes:
the condition selection unit is used for determining a target capacity expansion condition which is met by the original memory card block chain from preset candidate capacity expansion conditions;
the capacity expansion quantity unit is used for determining the quantity of the block chains of the new certificate of storage according to the target capacity expansion condition;
and the evidence storing and expanding unit is used for controlling the block chain deployment service to create a new evidence storing block chain according to the number of the new evidence storing block chains.
In an optional implementation manner, the capacity expansion condition is that load information of the original memory card block chain is greater than a load threshold, and/or a capacity of the original memory card block chain is greater than a capacity threshold.
In an alternative embodiment, the query service module 704 includes:
the inquiry request acquisition unit is used for acquiring a certificate storage inquiry request of a target user node; the evidence storing and inquiring request comprises target transaction information and/or a target evidence storing data abstract of the evidence storing data to be inquired;
the target inquiry chain unit is used for determining a target deposit evidence inquiry block chain associated with the target transaction information and/or the target deposit evidence data abstract according to the first association relation;
and the first chain information sending unit is used for sending the information of the target certificate storing and inquiring block chain to the target user node and indicating the target user node to inquire certificate storing data from the target certificate storing and inquiring block chain.
In an alternative embodiment, the apparatus further comprises:
a second relation construction module, configured to write a second association relation between the user to be transferred in the original credential block chain and the new credential block chain into the fragment management service;
and the writing service module is used for providing certificate storage writing service according to the second association relation.
In an alternative embodiment, the second relationship building module comprises:
a second relationship establishing unit, configured to determine, according to the ID of the user to be transferred and the number of the new credential block chains, a second association relationship between the user to be transferred and the new credential block chains;
and the second relation writing unit is used for writing the second association relation into the fragment management service.
In an optional embodiment, the write service module comprises:
the write-in request acquisition unit is used for responding to a certificate-storing write-in request of a target user node, wherein the certificate-storing write-in request comprises information of a target user;
the target writing chain unit is used for determining a target certificate storage writing block chain associated with the target user according to the second association relation;
and a second chain information sending unit, configured to send, to the target user node, information of the target credential writing block chain, and to instruct the target user node to write credential data into the target credential writing block chain.
According to the technical scheme of the embodiment of the application, the fragment management service is used for expanding the capacity of the certificate-storing block chain in a centralized mode, so that a new certificate-storing block chain can be automatically created when the certificate-storing block chain reaches the performance or capacity bottleneck, and the performance and capacity bottleneck is solved; and moreover, the first association relation and the second association relation are managed in a centralized mode through the fragment management service, so that the burden of increasing the certificate storage block chain is avoided, and the query efficiency and the write-in efficiency of the certificate storage data are further improved.
Fig. 8 is a schematic structural diagram of a block chain processing apparatus according to an embodiment of the present disclosure. Referring to fig. 8, a block chain processing apparatus 800 provided in an embodiment of the present application may include:
a query request generating module 801, configured to generate a certificate storing query request; the evidence storing and inquiring request comprises target transaction information and/or a target evidence storing data abstract of the evidence storing data to be inquired;
a query request sending module 802, configured to initiate the certificate storing query request to a fragment management service, and indicate the fragment management service to provide a certificate storing query service according to a first association relationship; the first association relationship is an association relationship between transaction information and/or a certificate storing data abstract of the certificate storing data and a certificate storing block chain storing the certificate storing data.
In an alternative embodiment, the apparatus further comprises:
the query chain information acquisition module is used for acquiring the information of the target certificate-storing query block chain fed back by the fragment management service according to the first incidence relation; wherein the target certificate-deposit query block chain is associated with the target transaction information and/or the target certificate-deposit data digest;
and the certificate storing data query module is used for querying the certificate storing data from the target certificate storing query block chain according to the information of the target certificate storing query block chain.
In an alternative embodiment, the apparatus further comprises:
the write-in request generating module is used for generating a certificate-storing write-in request; wherein the certificate-storing write-in request comprises information of a target user;
a write request sending module, configured to send the certificate storing write request to the fragment management service, and instruct the fragment management service to provide a certificate storing write service according to a second association relationship; and the second association relationship is the association relationship between the user and the evidence storage block chain.
In an alternative embodiment, the apparatus further comprises:
a write-in chain information obtaining module, configured to obtain information of a target deposit certificate write-in block chain, which is fed back by the fragment management service according to the second association relationship; wherein the target credential write block chain is associated with the target user;
and the certificate storing data writing module is used for writing the certificate storing data into the target certificate storing and writing block chain according to the information of the target certificate storing and writing block chain.
According to the technical scheme of the embodiment of the application, the fragment management service is used for expanding the capacity of the certificate-storing block chain in a centralized mode, so that a new certificate-storing block chain can be automatically created when the certificate-storing block chain reaches the performance or capacity bottleneck, and the performance and capacity bottleneck is solved; and moreover, the first association relation and the second association relation are managed in a centralized mode through the fragment management service, so that the burden of increasing the certificate storage block chain is avoided, and the query efficiency and the write-in efficiency of the certificate storage data are further improved.
Fig. 9 is a block diagram of an electronic device according to an embodiment of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 9, the electronic apparatus includes: one or more processors 901, memory 902, and interfaces for connecting the various components, including a high-speed interface and a low-speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). Fig. 9 illustrates an example of a processor 901.
Memory 902 is a non-transitory computer readable storage medium as provided herein. Wherein the memory stores instructions executable by at least one processor to cause the at least one processor to perform the method of block chain processing provided herein. The non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to perform the method of block chain processing provided herein.
The memory 902, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the method for block chain processing in the embodiment of the present application (for example, the evidence-storing and capacity-expanding module 701, the user transferring module 702, the first relationship building module 703, and the query service module 704 shown in fig. 7; and the query request generating module 801 and the query request sending module 802 shown in fig. 8). The processor 901 executes various functional applications of the server and blockchain processing, i.e., a method of implementing blockchain processing in the above-described method embodiments, by executing non-transitory software programs, instructions, and modules stored in the memory 902.
The memory 902 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the electronic device processed by the block chain, and the like. Further, the memory 902 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 902 may optionally include memory located remotely from the processor 901, which may be connected to block chain processing electronics over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the method of blockchain processing may further include: an input device 903 and an output device 904. The processor 901, the memory 902, the input device 903 and the output device 904 may be connected by a bus or other means, and fig. 9 illustrates the connection by a bus as an example.
The input device 903 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the block chain processed electronic device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointing stick, one or more mouse buttons, a track ball, a joystick, or other input devices. The output devices 904 may include a display device, auxiliary lighting devices (e.g., LEDs), tactile feedback devices (e.g., vibrating motors), and the like. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), blockchain networks, and the internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
According to the technical scheme of the embodiment of the application, the fragment management service is used for expanding the capacity of the certificate-storing block chain in a centralized mode, so that a new certificate-storing block chain can be automatically created when the certificate-storing block chain reaches the performance or capacity bottleneck, and the performance and capacity bottleneck is solved; and moreover, the first association relation and the second association relation are managed in a centralized mode through the fragment management service, so that the burden of increasing the certificate storage block chain is avoided, and the query efficiency and the write-in efficiency of the certificate storage data are further improved.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (24)

1. A method of block chain processing, comprising:
if the original evidence block chain is detected to meet the capacity expansion condition, controlling block chain deployment service to create a new evidence block chain;
transferring the user to be transferred in the original certificate-storing block chain to the new certificate-storing block chain;
writing the transaction information and/or the summary of the certificate-storing data and a first association relation between the certificate-storing block chain in which the certificate-storing data is stored into a fragment management service;
and providing evidence storage query service according to the first association relation.
2. The method of claim 1, wherein the control blockchain deployment service creates a new certified blockchain comprising:
determining a target capacity expansion condition met by the original evidence block chain from preset candidate capacity expansion conditions;
determining the number of the new evidence storage block chains according to the target capacity expansion condition;
and controlling a block chain deployment service to create a new evidence storing block chain according to the number of the new evidence storing block chains.
3. The method according to claim 1 or 2, wherein the capacity expansion condition is that load information of the original evidence block chain is greater than a load threshold value, and/or capacity of the original evidence block chain is greater than a capacity threshold value.
4. The method of claim 1, wherein the providing the evidence-based query service according to the first association comprises:
acquiring a certificate storage query request of a target user node; the evidence storing and inquiring request comprises target transaction information and/or a target evidence storing data abstract of the evidence storing data to be inquired;
determining a target evidence storing and inquiring block chain associated with the target transaction information and/or the target evidence storing data abstract according to the first association relation;
and sending the information of the target certificate storing and inquiring block chain to the target user node, wherein the information is used for indicating the target user node to inquire certificate storing data from the target certificate storing and inquiring block chain.
5. The method of claim 1, wherein transferring the user to be transferred in the preexisting witness blockchain to the new witness blockchain comprises:
writing a second association relation between the user to be transferred in the original certificate-storing block chain and the new certificate-storing block chain into the fragment management service;
and providing a certificate storage writing service according to the second association relation.
6. The method of claim 5, wherein the writing the second association relationship between the user to be transferred in the original chain of LC blocks and the new chain of LC blocks to the fragment management service comprises:
determining a second association relation between the user to be transferred and the new evidence storage block chain according to the ID of the user to be transferred and the number of the new evidence storage block chains;
and writing the second association relationship into the fragment management service.
7. The method of claim 5, wherein the providing the credentialing write service according to the second incidence relation comprises:
responding to a deposit writing request of a target user node, wherein the deposit writing request comprises information of a target user;
determining a target deposit certificate write block chain associated with the target user according to the second association relation;
and sending the information of the target certificate storage writing block chain to the target user node, wherein the information is used for indicating the target user node to write the certificate storage data into the target certificate storage writing block chain.
8. A method of block chain processing, comprising:
generating a certificate storage inquiry request; the evidence storing and inquiring request comprises target transaction information and/or a target evidence storing data abstract of the evidence storing data to be inquired;
initiating the certificate storing and inquiring request to a fragment management service, wherein the certificate storing and inquiring request is used for indicating the fragment management service to provide a certificate storing and inquiring service according to a first association relation; the first association relationship is an association relationship between transaction information and/or a certificate storing data abstract of the certificate storing data and a certificate storing block chain storing the certificate storing data.
9. The method of claim 8, after initiating the credential storage query request to a sharded management service, further comprising:
acquiring information of a target certificate storage inquiry block chain fed back by the fragment management service according to the first incidence relation; wherein the target certificate-deposit query block chain is associated with the target transaction information and/or the target certificate-deposit data digest;
and inquiring the certificate storing data from the target certificate storing and inquiring block chain according to the information of the target certificate storing and inquiring block chain.
10. The method of claim 8 or 9, further comprising:
generating a storage certificate writing request; wherein the certificate-storing write-in request comprises information of a target user;
sending the certificate storing and writing request to the fragment management service, wherein the certificate storing and writing request is used for indicating the fragment management service to provide a certificate storing and writing service according to a second association relation; and the second association relationship is the association relationship between the user and the evidence storage block chain.
11. The method of claim 10, after sending the credential write request to the fragmentation management service, further comprising:
acquiring information of a target certificate storage written into a block chain, which is fed back by the fragment management service according to the second incidence relation; wherein the target credential write block chain is associated with the target user;
and writing the evidence storage data into the target evidence storage writing block chain according to the information of the target evidence storage writing block chain.
12. A block chain processing apparatus comprising:
the certificate storing and expanding module is used for controlling the block chain deployment service to create a new certificate storing block chain if the original certificate storing block chain is detected to meet the expanding condition;
the user transferring module is used for transferring the user to be transferred in the original certificate-storing block chain to the new certificate-storing block chain;
the first relation construction module is used for writing a first association relation between transaction information and/or an abstract of the certificate-storing data and a certificate-storing block chain storing the certificate-storing data into the fragment management service;
and the inquiry service module is used for providing evidence storage inquiry service according to the first incidence relation.
13. The apparatus of claim 12, wherein the evidence expansion module comprises:
the condition selection unit is used for determining a target capacity expansion condition which is met by the original memory card block chain from preset candidate capacity expansion conditions;
the capacity expansion quantity unit is used for determining the quantity of the block chains of the new certificate of storage according to the target capacity expansion condition;
and the evidence storing and expanding unit is used for controlling the block chain deployment service to create a new evidence storing block chain according to the number of the new evidence storing block chains.
14. The apparatus according to claim 12 or 13, wherein the capacity expansion condition is that load information of the legacy certificate block chain is greater than a load threshold value, and/or a capacity of the legacy certificate block chain is greater than a capacity threshold value.
15. The apparatus of claim 12, wherein the query service module comprises:
the inquiry request acquisition unit is used for acquiring a certificate storage inquiry request of a target user node; the evidence storing and inquiring request comprises target transaction information and/or a target evidence storing data abstract of the evidence storing data to be inquired;
the target inquiry chain unit is used for determining a target deposit evidence inquiry block chain associated with the target transaction information and/or the target deposit evidence data abstract according to the first association relation;
and the first chain information sending unit is used for sending the information of the target certificate storing and inquiring block chain to the target user node and indicating the target user node to inquire certificate storing data from the target certificate storing and inquiring block chain.
16. The apparatus of claim 12, wherein the apparatus further comprises:
a second relation construction module, configured to write a second association relation between the user to be transferred in the original credential block chain and the new credential block chain into the fragment management service;
and the writing service module is used for providing certificate storage writing service according to the second association relation.
17. The apparatus of claim 16, wherein the second relationship building module comprises:
a second relationship establishing unit, configured to determine, according to the ID of the user to be transferred and the number of the new credential block chains, a second association relationship between the user to be transferred and the new credential block chains;
and the second relation writing unit is used for writing the second association relation into the fragment management service.
18. The apparatus of claim 16, wherein the write service module comprises:
the write-in request acquisition unit is used for responding to a certificate-storing write-in request of a target user node, wherein the certificate-storing write-in request comprises information of a target user;
the target writing chain unit is used for determining a target certificate storage writing block chain associated with the target user according to the second association relation;
and a second chain information sending unit, configured to send, to the target user node, information of the target credential writing block chain, and to instruct the target user node to write credential data into the target credential writing block chain.
19. A block chain processing apparatus comprising:
the inquiry request generating module is used for generating a certificate storing inquiry request; the evidence storing and inquiring request comprises target transaction information and/or a target evidence storing data abstract of the evidence storing data to be inquired;
the inquiry request sending module is used for initiating the certificate storing inquiry request to the fragment management service and indicating the fragment management service to provide the certificate storing inquiry service according to the first association relation; the first association relationship is an association relationship between transaction information and/or a certificate storing data abstract of the certificate storing data and a certificate storing block chain storing the certificate storing data.
20. The apparatus of claim 19, the apparatus further comprising:
the query chain information acquisition module is used for acquiring the information of the target certificate-storing query block chain fed back by the fragment management service according to the first incidence relation; wherein the target certificate-deposit query block chain is associated with the target transaction information and/or the target certificate-deposit data digest;
and the certificate storing data query module is used for querying the certificate storing data from the target certificate storing query block chain according to the information of the target certificate storing query block chain.
21. The apparatus of claim 19 or 20, further comprising:
the write-in request generating module is used for generating a certificate-storing write-in request; wherein the certificate-storing write-in request comprises information of a target user;
a write request sending module, configured to send the certificate storing write request to the fragment management service, and instruct the fragment management service to provide a certificate storing write service according to a second association relationship; and the second association relationship is the association relationship between the user and the evidence storage block chain.
22. The apparatus of claim 21, the apparatus further comprising:
a write-in chain information obtaining module, configured to obtain information of a target deposit certificate write-in block chain, which is fed back by the fragment management service according to the second association relationship; wherein the target credential write block chain is associated with the target user;
and the certificate storing data writing module is used for writing the certificate storing data into the target certificate storing and writing block chain according to the information of the target certificate storing and writing block chain.
23. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-11.
24. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-11.
CN202010707476.4A 2020-07-22 2020-07-22 Block chain processing method, device, equipment and storage medium Active CN111737361B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010707476.4A CN111737361B (en) 2020-07-22 2020-07-22 Block chain processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010707476.4A CN111737361B (en) 2020-07-22 2020-07-22 Block chain processing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111737361A true CN111737361A (en) 2020-10-02
CN111737361B CN111737361B (en) 2021-01-15

Family

ID=72656099

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010707476.4A Active CN111737361B (en) 2020-07-22 2020-07-22 Block chain processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111737361B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112511605A (en) * 2020-11-17 2021-03-16 上海万向区块链股份公司 Management method, system and medium based on equipment asynchronous polling uplink state
CN113111382A (en) * 2021-04-19 2021-07-13 杭州奇宁数据科技有限公司 System and method for chain certificate storage and source tracing batch processing of sports block
CN113810359A (en) * 2021-03-08 2021-12-17 京东科技信息技术有限公司 Certificate storage method, device and equipment
CN113918102A (en) * 2021-12-10 2022-01-11 北京百度网讯科技有限公司 Data processing method, device and equipment based on block chain and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190182313A1 (en) * 2017-12-07 2019-06-13 Electronics And Telecommunications Research Institute Apparatus and method for processing blockchain transaction in distributed manner
CN110020902A (en) * 2018-12-27 2019-07-16 阿里巴巴集团控股有限公司 Card method and access method, device, electronic equipment are deposited across chain
CN110083661A (en) * 2019-04-30 2019-08-02 翟红鹰 A kind of expansion method of block catenary system, block catenary system, terminal device and storage medium
CN110310119A (en) * 2019-07-06 2019-10-08 辽宁大学 Extendible capacity storage method towards the transaction of transregional piece of chain
CN110377228A (en) * 2019-06-19 2019-10-25 深圳壹账通智能科技有限公司 Automatic expansion method, device, O&M terminal and the storage medium of block chain node
CN111061735A (en) * 2019-12-13 2020-04-24 上海优扬新媒信息技术有限公司 Capacity expansion method and device based on single-chain block chain

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190182313A1 (en) * 2017-12-07 2019-06-13 Electronics And Telecommunications Research Institute Apparatus and method for processing blockchain transaction in distributed manner
CN110020902A (en) * 2018-12-27 2019-07-16 阿里巴巴集团控股有限公司 Card method and access method, device, electronic equipment are deposited across chain
CN110083661A (en) * 2019-04-30 2019-08-02 翟红鹰 A kind of expansion method of block catenary system, block catenary system, terminal device and storage medium
CN110377228A (en) * 2019-06-19 2019-10-25 深圳壹账通智能科技有限公司 Automatic expansion method, device, O&M terminal and the storage medium of block chain node
CN110310119A (en) * 2019-07-06 2019-10-08 辽宁大学 Extendible capacity storage method towards the transaction of transregional piece of chain
CN111061735A (en) * 2019-12-13 2020-04-24 上海优扬新媒信息技术有限公司 Capacity expansion method and device based on single-chain block chain

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
冒小乐 等: ""基于区块链的电子数据存证的设计与实现"", 《中兴通讯技术》 *
文痞I快抖: ""第五代区块链Telegram Open Network白皮书翻译"", 《HTTPS://ZHUANLAN.ZHIHU.COM/P/37397919》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112511605A (en) * 2020-11-17 2021-03-16 上海万向区块链股份公司 Management method, system and medium based on equipment asynchronous polling uplink state
CN113810359A (en) * 2021-03-08 2021-12-17 京东科技信息技术有限公司 Certificate storage method, device and equipment
CN113810359B (en) * 2021-03-08 2023-06-23 京东科技信息技术有限公司 Certificate storing method, device and equipment thereof
CN113111382A (en) * 2021-04-19 2021-07-13 杭州奇宁数据科技有限公司 System and method for chain certificate storage and source tracing batch processing of sports block
CN113918102A (en) * 2021-12-10 2022-01-11 北京百度网讯科技有限公司 Data processing method, device and equipment based on block chain and storage medium

Also Published As

Publication number Publication date
CN111737361B (en) 2021-01-15

Similar Documents

Publication Publication Date Title
CN111737361B (en) Block chain processing method, device, equipment and storage medium
CN111769957B (en) Block chain cross-chain query method, device, equipment and storage medium
JP7271045B2 (en) Electronic bill identifier assignment method, electronic bill generation method, apparatus and system thereof, storage medium and computer program
US10360199B2 (en) Partitioning and rebalancing data storage
CN111277647A (en) Block chain network member management method, device, equipment and medium
CN113656176B (en) Cloud equipment distribution method, device and system, electronic equipment, medium and product
CN111737362B (en) Block chain processing method, device, equipment and storage medium
CN110866740A (en) Processing method and device for block chain transaction request, electronic equipment and medium
CN111680015A (en) File resource processing method, device, equipment and medium
CN110633046A (en) Storage method and device of distributed system, storage equipment and storage medium
CN111259060B (en) Data query method and device
KR20210042865A (en) Data processing method and apparatus
JP2021144731A (en) File directory traversal method, apparatus, facility, medium, and program
CN115640110A (en) Distributed cloud computing system scheduling method and device
US20140129598A1 (en) Dynamic management of log persistence
CN111625195A (en) Method and device for server capacity expansion
CN111770176B (en) Traffic scheduling method and device
CN111966471A (en) Access method, device, electronic equipment and computer storage medium
EP4102360A1 (en) Method and apparatus for starting up blockchain system, electronic device, and non-transitory computer-readable storage medium
WO2022000851A1 (en) Data processing method and apparatus, and device and storage medium
CN110659184B (en) Health state checking method, device and system
CN110750313B (en) Middleware hot loading method and device, electronic equipment and storage medium
US8671186B2 (en) Computer system management method and management apparatus
CN111901254A (en) Bandwidth allocation method and device for all nodes, electronic equipment and storage medium
CN111475572A (en) Block generation method, device, equipment and 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