CN110825811B - Block chain resource processing method and system - Google Patents

Block chain resource processing method and system Download PDF

Info

Publication number
CN110825811B
CN110825811B CN201911077752.7A CN201911077752A CN110825811B CN 110825811 B CN110825811 B CN 110825811B CN 201911077752 A CN201911077752 A CN 201911077752A CN 110825811 B CN110825811 B CN 110825811B
Authority
CN
China
Prior art keywords
resource
address
signature
request
new
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911077752.7A
Other languages
Chinese (zh)
Other versions
CN110825811A (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 Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201911077752.7A priority Critical patent/CN110825811B/en
Publication of CN110825811A publication Critical patent/CN110825811A/en
Application granted granted Critical
Publication of CN110825811B publication Critical patent/CN110825811B/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
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Storage Device Security (AREA)

Abstract

The embodiment of the invention provides a method and a system for processing block chain resources. The method is applied to a blockchain platform, and comprises the following steps: and receiving an address re-request sent by the target monitoring end, generating a new multi-signature address by utilizing the new resource address of the first receiving end in response to the address re-request, and returning the new multi-signature address to the target monitoring end. The new multi-signature address is used to store the resource of the resource holder. By adopting the embodiment of the invention, the problems that the resources on the block chain cannot be operated after the user private key of the resource receiving end is lost in the prior art can be solved.

Description

Block chain resource processing method and system
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and a system for processing blockchain resources.
Background
Blockchain technology, also known as distributed ledger technology, is an emerging technology that is commonly engaged in accounting by several computing devices, together maintaining a complete distributed database. The blockchain technology has the characteristics of decentralization, disclosure transparency, capability of enabling each computing device to participate in database recording and capability of rapidly performing data synchronization between the computing devices, so that the blockchain technology has been widely applied in a plurality of fields. Especially in the financial field, to better ensure data security and legal rights of both parties to transactions, blockchain technology and cryptography technology have been applied to data transactions.
In the existing block chain-based asset transaction, a secret key is a unique identification of a user identity, a pair of secret keys (a public key and a private key) is bound with an asset, and a user uses the private key to conduct signature transaction, so that the use right of the asset is proved to be owned. When the user loses the private key, the user loses the unique identity mark on the blockchain, the asset on the blockchain cannot be operated, and the asset on the blockchain is easy to be subjected to conditions such as long-term sealing and storage.
Disclosure of Invention
The embodiment of the invention provides a method and a system for processing a blockchain resource, which can solve the problems that the operation on the resource on the blockchain cannot be performed after the user private key of a resource receiving end is lost in the prior art.
In one aspect, an embodiment of the present invention discloses a blockchain resource processing method applied to a blockchain platform, where the blockchain platform communicates with a resource holding end, a resource receiving ends and b resource monitoring ends respectively, and the method includes:
Receiving an address re-request sent by a target monitoring end, wherein the address re-request carries a new resource address of a first receiving end and is used for requesting to allocate a new multiple signature address for resources of the resource holding end again, the new resource address is generated based on a new private key of the first receiving end, the first receiving end is a receiving end monitored by the target monitoring end in the a resource receiving ends, and the target monitoring end is a monitoring end in the b resource monitoring ends;
Responding to the address re-request, and generating a new multi-signature address by utilizing a new resource address of the first receiving end, wherein the new multi-signature address is used for storing the resource of the resource holding end;
And returning the new multi-signature address to the target monitoring end.
In another aspect, the disclosure of the embodiment of the present invention provides another blockchain resource processing method, applied to a target monitor end, where the method includes:
Sending an address re-request to a blockchain platform, wherein the address re-request carries a new resource address of a first receiving end and is used for requesting the blockchain platform to re-allocate a new multi-signature address based on the new resource address of the first receiving end, and the new multi-signature address is used for storing resources of a resource holding end;
And receiving the new multi-signature address returned by the block chain platform.
In yet another aspect, the embodiment of the present invention also discloses a blockchain platform, which includes a receiving unit, a generating unit, and a transmitting unit, wherein,
The receiving unit is configured to receive an address re-request sent by a target monitoring end, where the address re-request carries a new resource address of a first receiving end, and is configured to request to allocate a new multiple signature address to a resource of the resource holding end again, where the first receiving end is a receiving end monitored by the target monitoring end in the a resource receiving ends, and the target monitoring end is a monitoring end in the b resource monitoring ends;
The generating unit is used for responding to the address re-request, generating a new multi-signature address by utilizing the new resource address of the first receiving end, wherein the new multi-signature address is used for storing the resource of the resource holding end;
and the sending unit is used for returning the new multiple signature address to the target monitoring end.
In still another aspect, the embodiment of the present invention also discloses that a target monitoring terminal is provided, which includes a transmitting unit and a receiving unit, wherein,
The sending unit is used for sending an address re-request to the blockchain platform, wherein the address re-request carries a new resource address of a first receiving end and is used for requesting the blockchain platform to re-allocate a new multi-signature address based on the new resource address of the first receiving end, and the new multi-signature address is used for storing resources of a resource holding end;
And the receiving unit is used for receiving the new multi-signature address returned by the blockchain platform.
In yet another aspect, the embodiment of the present invention also discloses a blockchain resource processing system, which includes a blockchain platform, a resource holding end, a resource receiving ends and b resource monitoring ends, wherein the blockchain platform is respectively in communication with the resource holding end, the a resource receiving ends and the b resource monitoring ends,
The target monitoring end is used for sending an address re-request to the blockchain platform, wherein the address re-request carries a new resource address of a first receiving end and is used for requesting to allocate a new multiple signature address for the resource of the resource holding end again, the first receiving end is a receiving end which is monitored by the target monitoring end in the a resource receiving ends, and the target monitoring end is a monitoring end in the b resource monitoring ends;
the block chain platform is used for receiving and responding to the address re-request, generating a new multi-signature address by utilizing the new resource address of the first receiving end, and returning the new multi-signature address to the target monitoring end; the new multi-signature address is used for storing the resource of the resource holding end;
The target monitoring end is also used for receiving the new multi-signature address returned by the blockchain platform.
In yet another aspect, an embodiment of the present invention further provides a blockchain platform, where the platform is deployed in at least one terminal, the terminal includes an input device and an output device, and the terminal further includes:
A processor adapted to implement one or more instructions; and
A computer-readable storage medium storing one or more instructions adapted to be loaded by the processor and to perform the steps of:
Receiving an address re-request sent by a target monitoring end, wherein the address re-request carries a new resource address of a first receiving end and is used for requesting to allocate a new multiple signature address for the resource of the resource holding end again, the first receiving end is a receiving end monitored by the target monitoring end in the a resource receiving ends, and the target monitoring end is a monitoring end in the b resource monitoring ends;
Responding to the address re-request, and generating a new multi-signature address by utilizing a new resource address of the first receiving end, wherein the new multi-signature address is used for storing the resource of the resource holding end;
And returning the new multi-signature address to the target monitoring end.
In still another aspect, an embodiment of the present invention further discloses that a target monitor end is provided, where the target monitor end includes an input device and an output device, and the target monitor end further includes:
A processor adapted to implement one or more instructions; and
A computer-readable storage medium storing one or more instructions adapted to be loaded by the processor and to perform the steps of:
Sending an address re-request to a blockchain platform, wherein the address re-request carries a new resource address of a first receiving end and is used for requesting the blockchain platform to re-allocate a new multi-signature address based on the new resource address of the first receiving end, and the new multi-signature address is used for storing resources of a resource holding end;
And receiving the new multi-signature address returned by the block chain platform.
In yet another aspect, embodiments of the present invention provide a computer-readable storage medium storing one or more instructions adapted to be loaded by a processor and to perform the steps of:
Receiving an address re-request sent by a target monitoring end, wherein the address re-request carries a new resource address of a first receiving end and is used for requesting to allocate a new multiple signature address for the resource of the resource holding end again, the first receiving end is a receiving end monitored by the target monitoring end in the a resource receiving ends, and the target monitoring end is a monitoring end in the b resource monitoring ends;
Responding to the address re-request, and generating a new multi-signature address by utilizing a new resource address of the first receiving end, wherein the new multi-signature address is used for storing the resource of the resource holding end;
And returning the new multi-signature address to the target monitoring end.
In yet another aspect, embodiments of the present invention provide a computer-readable storage medium storing one or more instructions adapted to be loaded by a processor and to perform the steps of:
Sending an address re-request to a blockchain platform, wherein the address re-request carries a new resource address of a first receiving end and is used for requesting the blockchain platform to re-allocate a new multi-signature address based on the new resource address of the first receiving end, and the new multi-signature address is used for storing resources of a resource holding end;
And receiving the new multi-signature address returned by the block chain platform.
In the embodiment of the invention, the blockchain platform receives an address re-request sent by a target monitoring end, so as to regenerate a new multiple signature address by utilizing a new resource address of a first receiving end in the request, wherein the new multiple signature address is used for storing resources of a resource holding end, and the new resource address of the first receiving end is generated based on a new private key of the first receiving end. Therefore, even if the first receiving end loses the old private key, the new private key can be reused to reconfigure the new multi-signature address so as to store the resource of the resource holding end, and the first receiving end can operate the resource by using the new private key. The method and the device solve the problems that in the prior art, after a user private key of a receiving end is lost, the operation of resources on a blockchain can not be carried out, and the resources on the blockchain are sealed for a long time and are not used.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a blockchain resource processing system according to an embodiment of the present invention.
Fig. 2 is a flowchart of a blockchain resource processing method according to an embodiment of the present invention.
Fig. 3 is a flowchart illustrating another blockchain resource processing method according to an embodiment of the present invention.
Fig. 4 is a flowchart illustrating another blockchain resource processing method according to an embodiment of the present invention.
Fig. 5 is a flowchart illustrating another blockchain resource processing method according to an embodiment of the present invention.
Fig. 6 is a flowchart illustrating another blockchain resource processing method according to an embodiment of the present invention.
FIG. 7 is a block chain platform according to an embodiment of the present invention.
FIG. 8 is a block chain table according to another embodiment of the present invention.
Fig. 9 is a schematic structural diagram of a target monitor end according to an embodiment of the present invention.
Fig. 10 is a schematic structural diagram of another target monitor end according to an embodiment of the present invention.
FIG. 11 is a schematic diagram of a target monitor end of another blockchain resource processing system according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
The terms first, second, third (if any) and the like in the description and in the claims and in the above-described figures, are used for distinguishing between different objects and not necessarily for describing a particular sequential or chronological order. Furthermore, the term "include" and any variations thereof is intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
In order to solve the problems that in the prior art, after a user private key of a resource receiving end is lost, resources on a blockchain cannot be operated, and the resources on the blockchain are easy to be stored for a long time and are not used. The invention provides a block chain resource processing method, a platform, a system and a computer readable storage medium, wherein the platform, the system and the computer readable storage medium are applicable to the method. Fig. 1 is a schematic diagram of a blockchain resource processing system according to an embodiment of the invention. The blockchain resource processing system 1000 shown in fig. 1 includes a blockchain platform 100, a resource holder 200, a resource receiver 300, and b resource monitor 400, where a and b are positive integers. Wherein,
The blockchain platform 100 has a blockchain deployed therein for storing data, such as supporting all resources for storing the resource holders 200. The resources to which the present invention relates include, but are not limited to, digital assets, inherent assets, electronic red packs, and the like. Digital assets, where an enterprise or individual owns or controls, are assets that exist in the form of electronic data. The present invention takes the resource as an example of a digital asset on a blockchain, which may refer to digital assets such as electronic invoices, electronic tickets, business tickets, supply chain finance or other customizations, and the like.
Resource monitoring end 400 refers to a device for monitoring resource receiving end 300 or resource holding end 200, for example, monitoring the corresponding resource of each of resource receiving end 300 or resource holding end 200, such as performing asset transfer, asset freezing, etc. The b resource monitoring terminals 400 of the present invention support the monitoring of the a resource receiving terminals 300, and are specifically used for monitoring the corresponding resources of the resource holding terminals 200 that the a resource receiving terminals 300 need to receive.
The resource holding end 200, the resource receiving end 300 and the resource monitoring end 400 according to the present invention may refer to devices with network communication capability, which may include, but are not limited to, internet devices such as a client, a server, a smart phone (e.g., an Android mobile phone, an IOS mobile phone, etc.), a personal computer, a tablet computer, a palm computer, a mobile internet device (mobile INTERNET DEVICES, MID), or a wearable smart device.
Fig. 2 is a flowchart of a blockchain resource processing method according to an embodiment of the present invention. The method provides that the multi-signature technology is combined in the blockchain to realize the safe storage of the resource at the resource holding end. The method as shown in fig. 2 comprises the following implementation steps:
in step S201, the resource holder 200 obtains the resource addresses of the a resource receivers 300 and the b resource monitors 400.
The resource address of the present invention may refer to an address for storing a resource, and the address may specifically refer to an address generated based on a resource public key, for example, the resource public key is processed by using a preset address generation algorithm to generate a corresponding resource address. Wherein the public and private keys are typically presented in the form of key pairs, which are typically generated by a preset key pair generation algorithm, which is a custom algorithm for generating key pairs, which may include, but is not limited to, random large prime number generation algorithms, large power modular arithmetic algorithms, and the like. The public resource key is used for generating a resource address, and the private resource key is used for decrypting the resource stored in the resource address so as to enable the resource, thereby being convenient for carrying out corresponding operation processing on the resource in the follow-up process, and the like.
Each resource terminal (specifically, the resource receiving terminal 300 or the resource monitoring terminal 400) can generate a corresponding resource address by utilizing a preset address generation algorithm and combining the resource public key of the resource terminal. The address generation algorithm is a system custom set algorithm for generating addresses, which may include, but is not limited to, a blockchain address generation algorithm, a short address generation algorithm, and the like.
In step S202, the resource holder 200 sends an address generation request to the blockchain platform 100, where the request carries the resource addresses of each of the a resource receivers 300 and the b resource monitors 400. Accordingly, the blockchain platform 100 receives the address generation request.
In order to ensure the safety of the block chain resource storage, the invention introduces a multi-signature technology into the block chain, and realizes the storage of the data in the block chain by utilizing the multi-signature address. Specifically, the resource holder 200 sends an address generation request to the blockchain platform 100, where the address generation request carries the resource addresses of each of the a resource receivers 300 and the b resource monitors 400. The address generation request is used to request the blockchain platform 100 to generate a corresponding original multi-signature address (hereinafter referred to as the original multi-signature address) by using the resource addresses of the a resource receivers 300 and the b resource monitors 400.
In step S203, the blockchain platform 100 responds to the address generation request to generate the original multiple signature address by using the respective resource addresses of the a resource receiving terminals 300 and the b resource monitoring terminals 400. The original multi-signature address is used by the blockchain platform 100 to store data.
After the blockchain platform 100 receives the address generation request, the address generation request may be parsed to obtain the resource addresses of the a resource receiving ends 300 and the b resource monitoring ends 400 respectively. Further, the blockchain platform 100 performs address generation processing on the respective resource addresses of the a resource receiving ends 300 and the b resource monitoring ends 400 according to a preset address generation algorithm, so as to obtain an original multiple signature address. For the address generation algorithm, reference is made to the foregoing, and details are not repeated here.
In step S204, the blockchain platform 100 sends an address generation response to the resource holder 200, where the address generation response carries the original multiple signature address.
After the blockchain platform 100 allocates the original multiple signature address to the resource holder 200, an address generation response may be fed back to the resource holder 200, where the address generation response carries the original multiple signature address, so as to return the original multiple signature address to the blockchain platform 100.
In step S205, the resource holder 200 sends a resource transfer request to the blockchain platform 100, where the resource transfer request is used to request to transfer the resource of the resource holder 200 to the original multi-signature address for storage. Accordingly, the blockchain platform 100 receives the resource transfer request.
After applying for the original multi-signed address, the resource holder 200 may send a resource transfer request to the blockchain platform 100. The resource transfer request may carry an identifier of the resource holder 200, and is used for requesting to transfer the resource of the resource holder 200 to the original multiple signature address for storage. Optionally, the resource transfer request may also carry an original multiple signature address, or other system customized information, which is not limited by the present invention.
In practical applications, the original multi-signed address is an address generated by a multiparty private key. The original multiple signature address is an address generated by the private keys of the a resource receiving ends 300 and the b resource monitoring ends 400, and one or more resources of the resource holding ends 200 may exist under the address, and the private keys of the resources participating in the address generation according to the resource transaction rule can operate the resources. Optionally, the invention adopts m of n multiple signature technology to realize the storage of resources in the blockchain, specifically, the original multiple signature address is associated with n resource private keys, when the resource operation is required, the verification can be carried out by signing by using m resource private keys in n, and the operation of corresponding resources in the multiple signature address is realized, and the invention is specifically described in detail below.
In step S206, the blockchain platform 100 responds to the resource transfer request to transfer the resource of the resource holder 200 to the original multi-signature address storage.
The blockchain platform 100 responds to the resource transfer request to transfer the resources of the resource holding end 200 to the original multi-signature address for storage, and at this time, the resources stored in the original multi-signature address are accessed by a resource receiving ends and b resource monitoring ends. The method comprises the steps that m resource terminals exist in a resource receiving terminal and b resource monitoring terminals, and the resource terminals can access resources stored in the original multiple signature addresses by utilizing own resource private keys, wherein m is smaller than n, and n is the sum of a and b. And a, b, m and n are positive integers. Thereby being beneficial to ensuring the safety of the resource storage.
In step S207, the blockchain platform 100 sends a resource transfer response to the resource holder 200, wherein the resource transfer response is used to notify that the resource of the resource holder 200 has been transferred to the original multi-signature address. Accordingly, the resource holder 200 receives the resource transfer response.
Alternatively, after completion of the resource transfer, the blockchain platform 100 may send a corresponding resource transfer response to the resource holder 200 informing the resource holder 200 that the resource transfer is currently completed. At this time, all the resources to be operated of the resource holding end 200 belong to a resource receiving ends and b resource monitoring ends, that is, the a resource receiving ends and the b resource monitoring ends can access and operate the resources of the resource holding end 200 by using their own private keys.
By implementing the embodiment of the invention, the blockchain platform 100 can apply the multi-signature technology to the blockchain, and the multi-signature address is utilized to store the resource of the resource holding end, so that the security of the resource storage is improved.
In practical application, if the private key of the resource at the resource receiving end is lost, the operation on the resource on the blockchain cannot be performed through the private key. For this reason, please refer to fig. 3, which is a flowchart illustrating another blockchain resource processing method according to an embodiment of the present invention. The method as shown in fig. 3 comprises the following implementation steps:
Step 301, the target monitor end obtains a new resource address of the first receiving end, where the new resource address is generated based on a new private key of the first receiving end. The target monitoring end is one of the b resource monitoring ends, and the first receiving end is one of the a resource receiving ends which is monitored by the target monitoring end.
The new resource address of the first receiving end is generated according to the new private key of the first receiving end, and specifically, the new resource address of the first receiving end can be obtained by adopting a preset address generation algorithm to generate the address of the new private key of the first receiving end. In practical applications, the new resource address of the first receiving end may be specifically generated at the first receiving end side or the target monitoring end side, which is not limited by the present invention. Taking the generation of the target monitoring end as an example, the target monitoring end needs to acquire a new private key of the first receiving end, and then uses a preset address generation algorithm to perform address generation on the new private key of the first receiving end to obtain a new resource address of the first receiving end. For the address generation algorithm, reference may be made specifically to the relevant description in the foregoing embodiments, and details are not repeated here. The number of the first receiving ends is not limited, and may be one or more, and the present invention is described below with reference to a first receiving end as an example.
After the first receiving end loses the original private key (also called as the original resource private key), a new resource key pair can be generated for the first receiving end according to a preset key generation algorithm, and the new resource key pair can specifically comprise a new private key and a new public key of the first receiving end. The pre-key generation algorithm may be system-custom set, which may include, but is not limited to, a digital signature algorithm (digital signature algorithm, DSA), an advanced encryption standard (advanced encryption standard, AES) algorithm, and the like.
Accordingly, the specific embodiment of the target monitor terminal obtaining the new private key of the first receiving terminal is not limited. For example, the first receiving end may actively send the new private key of the first receiving end to the target monitoring end. Or after determining that the first receiving end loses the resource private key, the target monitoring end can acquire the new private key of the first receiving end from the first receiving end, for example, by sending a private key acquisition message to the first receiving end so as to acquire the new private key of the first receiving end. The target supervision terminal is a supervision terminal used for supervising the first receiving terminal in the b resource supervision terminals. In this way, even if the first receiving end loses the private key of the resource, the new private key can be utilized to realize the re-storage and re-use of the resource, and the target monitoring end which is regulated by the new private key applies for the new multi-signature address of the re-allocation resource storage, and the new multi-signature address is specifically described in detail in the following description of the invention.
In step S302, the target monitor end sends an address re-request to the blockchain platform 100, where the address re-request carries the new resource address of the first receiving end. Accordingly, the blockchain platform 100 receives the address re-request.
The first receiving end loses the original resource private key, so that the first receiving end does not have the right to operate the resources stored in the original multiple signature addresses in the block chain. If the operation authority of the first receiving end on the resources on the blockchain needs to be restored, the storage address of the resources on the blockchain needs to be migrated again. Specifically, the target monitor end may send an address re-request to the blockchain platform 100 requesting that the resource of the resource holder be re-allocated a new multi-signed address.
The address re-request carries a new resource address of the first receiving end, so that the blockchain platform 100 can conveniently allocate a new multiple signature address by using the new resource address. Optionally, the address re-request may further carry the resource addresses of the b resource monitor ends and the resource addresses of the a resource receivers except the first receiver under the condition that the resource overhead is not considered. Since the blockchain platform 100 has obtained these resource addresses when the blockchain platform 100 allocates the original multiple signature addresses, the address re-request may only carry the new resource address of the first receiver in consideration of the resource overhead.
In step S303, the blockchain platform 100 responds to the address re-request to generate a new multi-signature address by using the new resource address of the first receiving end, where the new multi-signature address is used to store the resource of the resource holder.
After the blockchain platform 100 receives the address re-request, a preset address generation algorithm may be adopted to generate an address for the new resource address of the first receiving end, the resource addresses of the b resource monitoring ends, and the resource addresses of the other receiving ends except the first receiving end in the a resource receiving ends, so as to obtain a new multiple signature address. The new multi-signature address is used to store the resource of the resource holder.
In step S304, the blockchain platform 100 returns the new multiple signature address to the target monitor terminal.
After the blockchain platform 100 obtains the new multiple signature address, it may feed it back to the target monitor end. Specifically, the blockchain platform 100 may send an address re-response to the target monitor, where the address re-response carries a new multiple signature address, so as to feed back the new multiple signature address to the target monitor.
Optionally, following step S304, the following implementation steps may be further included, as shown in fig. 4. Fig. 4 is a flowchart of another blockchain resource processing method according to an embodiment of the invention. The method shown in fig. 4 specifically includes:
And step S401, the first resource terminal signs the resource operation request to be sent by using the resource private key of the first resource terminal to obtain a first signature request. The first resource end is a resource receiving end or a resource monitoring end.
In step S402, the m first resource ends send respective first signature requests to the blockchain platform 100. Accordingly, the blockchain platform 100 receives the first signature requests of the m first resource ends. The m first resource ends comprise target monitoring ends.
After the blockchain platform 100 stores the resource of the resource holder to the original multiple signature address by using the multiple signature technology, if the resource of the resource holder needs to be operated, the operation, such as resource transfer, can be performed on the resource in the original multiple signature address by using the private key signature of each of the m first resource ends. The m first resource ends are resource ends in a resource receiving ends and b resource monitoring ends.
Therefore, the blockchain platform can realize the corresponding operation of the resource, such as resource transfer and the like, after the signature verification of the resource private key signature of at least m first resource ends is successful. Taking a first resource end as an example, the first resource end signs a resource operation request to be sent by utilizing a self resource private key to obtain a corresponding signature request. The first resource then sends the signature request to the blockchain platform 100. After receiving the signature request of the first resource, the blockchain platform 100 may perform signature decoding and signature verification on the signature request of the first resource by using the resource public key of the first resource, and after verification is successful, correspondingly obtain the resource operation request of the first resource. The specific embodiment of how to verify the signature request based on the resource public key is not limited.
For example, taking a public resource key and a private resource key as a symmetric key pair as an example, the signature request of the first resource end carries the resource operation request of the first resource end and the signature data of the resource operation request. Accordingly, after the blockchain platform 100 receives the signature request of the first resource, the public key of the first resource may be used to encrypt the resource operation request of the first resource to obtain verification data. And then judging whether the verification data is the same as the received signature data, if so, determining that the signature request of the blockchain platform 100 on the first resource terminal is successful in verification. Otherwise, it is determined that the blockchain platform 100 fails to verify the signature request of the first resource.
In practice, the resource operation request includes, but is not limited to, a resource transfer request, a resource deactivation request, a resource activation request, a resource borrowing request, or other customized resource operation request, etc.
Step S403, the blockchain platform 100 performs signature verification on the m first signature requests.
In step S404, after the signing success of the m first signature requests, the blockchain platform 100 obtains resource operation requests of the m first resource ends. The resource operation requests of the m first resource ends comprise first resource transfer requests of the target receiving end.
After receiving the m first signature requests, the blockchain platform 100 may perform signature verification on the m first signature requests, and after the signature verification is successful, may obtain resource operation requests of the m first resource ends. And further responds to the resource operation request of any one or more of the m first resource ends. The resource operation request is executed to correspond to the operation processing of the corresponding resource requested.
In step S404, the blockchain platform 100 responds to the first resource transfer request of the target monitor terminal to transfer the corresponding resource of the resource holder terminal from the original multi-signature address to the new multi-signature address for storage.
In the present invention, the m first resource ends include a target monitor end, and the resource operation request of the target monitor end may specifically be a first resource transfer request of the target monitor end. The request is for requesting a transfer of the resource at the resource holder from the original multi-signed address to a new multi-signed address for storage. Taking the first resource transfer request of the blockchain platform 100 in response to the target monitor end as an example, the blockchain platform 100 transfers the resource of the resource holder from the original multi-signed address to the new multi-signed address in response to the first resource transfer request. At this time, the first receiving end can use its own new private key to operate the resource of the storage resource holding end in the new multiple signature address, i.e. the first receiving end has the authority to operate the resource in the blockchain.
In step S405, the blockchain platform 100 sends a first resource transfer response to the target supervision peer, where the first resource transfer response is used to notify that the resource of the resource holder has been successfully transferred to the new multi-signature address for storage.
After the blockchain platform 100 completes the resource operation request of any first resource end, a corresponding resource operation response may be returned to the first resource end, where the resource operation response is used to notify that the operation processing of the corresponding resource requested by the resource operation request is currently completed. Specifically, taking the example of executing the first resource transfer request, the blockchain platform 100 may send a first resource transfer response to the target supervision terminal after completing the resource transfer requested by the first resource transfer request, where the response is used to notify that the resource of the resource holder terminal has been successfully transferred to the new multi-signature address for storage.
It is understood that, when m=1, the 1 first resource end may be specifically the target monitor end. Correspondingly, the specific implementation of steps S401 to S405 in the present invention may be: the blockchain platform 100 receives a first signature request sent by a target monitoring end, and obtains a first resource transfer request after the first signature request is checked successfully. The method further comprises the step of transferring the resource of the resource holding end from the original multi-signature address to a new multi-signature address for storage in response to the first resource transfer request. Optionally, the blockchain platform 100 may also return a first resource transfer response to the target monitor peer, where the response is used to inform the target monitor peer that the resource of the resource holder has been successfully transferred to the new multi-signed address for storage.
Fig. 5 is a flowchart of another blockchain resource processing method according to an embodiment of the present invention. The method shown in fig. 5 specifically comprises the following implementation steps:
And step S501, the second resource terminal signs the resource operation request to be sent by using the resource private key of the second resource terminal to obtain a second signature request. The second resource end is a resource receiving end or a resource monitoring end.
In step S502, the m second resource ends send respective second signature requests to the blockchain platform 100. Accordingly, the blockchain platform 100 receives the second signature requests of the m second resource ends. The m second resource ends include a target resource end, which may specifically refer to a first receiving end or a target monitoring end.
In step S503, after the second signature request of the m second resource ends is successfully checked, the blockchain platform 100 obtains resource operation requests of the m second resource ends. The resource operation requests of the m second resource ends comprise second resource transfer requests of the target resource end, which are used for requesting to transfer corresponding resources of the resource holding end to a designated resource address, for example, a new resource address of the first receiving end for storage.
The descriptions of steps S501 to S503 may be specifically referred to the related descriptions of steps S401 to S403, and the present invention is not described in detail herein. The m second resource ends include a target resource end, which may be specifically a first receiving end or a target monitoring end for monitoring the first receiving end. The resource operation request of the target resource end may be specifically a second resource transfer request, which is used for requesting to transfer the corresponding resource of the resource holding end to a specified resource address, where the specified resource address may be specifically a target resource end custom address, for example, a new resource address of the first receiving end, etc. If the specified resource address is a new resource address of the first receiving end, the second resource transfer request is specifically used for requesting to transfer the corresponding resource of the resource holding end to the first receiving end, and specifically to the new resource address of the first receiving end.
In step S504, the blockchain platform 100 responds to the second resource transfer request of the target resource end to transfer the corresponding resource of the resource holding end from the new multiple signature address to the new resource address of the first receiving end for storage.
In step S505, the blockchain platform 100 sends a second resource transfer response to the target resource, where the response is used to notify that the corresponding resource of the resource holder has been successfully transferred to the new resource address of the first receiving end for storage.
The blockchain platform 100 may optionally also send a second resource transfer response to the target resource after executing the second resource transfer request. The second resource transfer response is used for notifying that the resource of the resource holding end is transferred to the first receiving end currently. When the target resource end is the target monitoring end, the transfer of the corresponding resource can be completed without confirmation by the first receiving end by implementing the flow, thereby being beneficial to improving the efficiency of resource transfer.
Similarly, when m=1, the 1 second resource may be specifically the target resource. Correspondingly, the specific implementation of steps S501 to S505 in the present invention may be: the blockchain platform 100 receives a second signature request sent by the target resource end, and obtains a second resource transfer request of the target resource end after the second signature request is checked successfully. And further responding to the second resource transfer request, and transferring the resource of the resource holding end from the new multi-signature address to the new resource address of the first receiving end for storage.
It should be noted that the present invention is applied to a blockchain scenario, and in particular, may be applied to a blockchain electronic invoice, an electronic ticket, a supply chain finance, a digital asset, or other scenarios requiring digital asset supervision, etc., and the present invention is not limited thereto.
The block chain platform of the embodiment of the invention receives the address re-request sent by the target monitoring end, so as to regenerate a new multi-signature address by utilizing a new resource address of a first receiving end in the request, wherein the new multi-signature address is used for storing resources of a resource holding end, and the new resource address of the first receiving end is generated based on a new private key of the first receiving end. Therefore, even if the first receiving end loses the old private key, the new private key can be reused to reconfigure the new multi-signature address so as to store the resource of the resource holding end, and the first receiving end can operate the resource by using the new private key. The method and the device solve the problems that in the prior art, after a user private key of a receiving end is lost, the operation of resources on a blockchain can not be carried out, and the resources on the blockchain are sealed for a long time and are not used.
To aid in better understanding of the present invention, a blockchain resource processing system, also referred to as a blockchain asset processing system, is described below by taking a digital asset as an example, and includes 1 blockchain platform, asset holding side, asset receiving side, and asset monitoring side, where a=b=1. And, the blockchain platform adopts a 1of 2 multiple signature technology to realize the storage of the digital asset. Fig. 6 is a flowchart of another blockchain resource processing method according to the present invention. The method as shown in fig. 6 comprises the following implementation steps:
In step S601, the asset holding end sends an address generation request to the blockchain platform, where the address generation request carries respective asset addresses of the asset receiving end and the asset monitoring end. The blockchain platform receives the address generation request accordingly.
The asset holding end needs to acquire the respective asset addresses of the asset receiving end and the asset monitoring end, and the asset addresses can be acquired actively by the asset holding end or can be received passively from other equipment (such as the asset receiving end or the asset monitoring end) and the like.
Further, the asset holding end can encapsulate the respective asset addresses of the asset receiving end and the asset monitoring end into an address generation request, and then send the address generation request to the blockchain platform. The address generation request is used for requesting the blockchain platform to allocate an original multiple signature address for the asset of the asset holder so as to store the asset of the asset holder by using the original multiple signature address, thereby improving the security of asset storage.
And step S602, the blockchain platform returns an address generation response to the asset holding end in response to the address generation request, wherein the address generation response carries the original multiple signature address. The original multiple signature addresses are generated by utilizing the respective asset addresses of the asset receiving end and the asset monitoring end.
After receiving the address generation request, the block chain platform responds to the address generation request and performs address generation processing on the respective asset addresses of the asset receiving end and the asset monitoring end by using a preset address generation algorithm to obtain the original multiple signature address. Further blockchain platforms may return the original multi-signed address to the asset holder.
Step S603, the asset holder sends a first asset transfer request to the blockchain platform, wherein the first asset transfer request is used for requesting to transfer the asset of the asset holder to the original multi-signature address for storage. The blockchain platform receives the first asset transfer request accordingly.
After the asset holding end obtains the original multiple signature address, the asset holding end can further send a first asset transfer request to the blockchain platform. The first asset transfer request is for requesting transfer of an asset at an asset holder to an original multi-signature address for storage. The blockchain platform receives the first asset transfer request and responds to transfer the asset of the asset holding end to the original multi-signature address for storage, so that the safety of asset storage is improved.
Step S604, the blockchain platform returns a first asset transfer response to the asset holder, the first asset transfer response being used to inform that the asset of the asset holder has been transferred to the original multi-signature address store.
The blockchain platform may feed back a first asset transfer response to the asset holder upon completion of the first asset transfer request. The first asset transfer response is used to inform the asset holder that the asset holder has been successfully transferred to the original multi-signature address for storage.
Step S605, the asset receiving end generates a new asset address of the asset receiving end by using the new private key of the asset receiving end, and sends the new asset address to the asset monitoring end. Accordingly, the asset monitoring end receives the new asset address of the asset receiving end.
According to the invention, under the condition that the original private key is lost by the asset receiving end, the asset receiving end can regenerate the new private key of the asset receiving end by utilizing a preset key generation algorithm. The asset receiving end can generate a new asset address of the asset receiving end by using a preset address generation algorithm and a new private key of the asset receiving end. Further, the asset receiving end can send the new asset address to the asset monitoring end. The asset monitoring end is similar to a trusted third party platform and is used for a mechanism or organization for carrying out safety supervision on the assets of the asset receiving end.
In step S606, the asset monitor end sends an address re-request to the blockchain platform, where the address re-request carries a new asset address of the asset receiver and is used for requesting to reassign a new multiple signature address. The blockchain platform receives the address re-request accordingly.
After the asset monitoring end obtains the new asset address of the asset receiving end, an address re-request can be sent to the blockchain platform. The address re-request is used to request the blockchain platform to re-assign a new multi-signed address to the asset at the asset holder. The address re-request carries the new asset address of the asset receiving end. Optionally, the address re-request may also carry an asset address of the asset monitoring end, or other system customized information, etc., which is not limited by the present invention.
Step S607, the blockchain platform returns a new multiple signature address to the asset monitoring end.
After receiving the address re-request, the blockchain platform can respond to the address re-request and generate a new multiple signature address by utilizing the new asset address of the asset receiving end and the asset address of the asset monitoring end. The blockchain platform returns the new multi-signature address to the asset monitoring end. Specifically, the blockchain platform may send an address re-response to the asset monitoring end, where the address re-response carries a new multiple signature address, so as to return the new multiple signature address to the asset monitoring end.
In step S608, the asset monitoring end sends a first signature request to the blockchain platform, where the first signature request is obtained by signing the first asset transfer request with the asset private key of the asset monitoring end. The blockchain platform receives a first signature request accordingly.
After the blockchain platform reassigns the new multiple signature address, the asset monitoring end may send a first signature request to the blockchain platform, where the first signature request is specifically obtained by the asset monitoring end signing the first asset transfer request with its own asset private key. The first asset transfer request is for requesting transfer of an asset at an asset holder to a new multi-signature address.
Step S609, the blockchain platform obtains a first asset transfer request after the first signature request is checked successfully. In response to the first asset transfer request, a first asset transfer response is returned to the asset monitor end, the response being used to inform that the asset of the asset holder has been transferred from the original multi-signed address to the new multi-signed address.
The blockchain platform receives the first signature request and performs signature verification on the first signature request. After the verification is successful, a first asset transfer request may be obtained. And further responding to the first asset transfer request, transferring the asset of the asset holding end from the original multi-signature address to a new multi-signature address, so that the asset receiving end can use the new private key to operate the asset stored in the new multi-signature address.
After the first asset transfer request is executed, the blockchain platform can send a first asset transfer response to the asset monitoring end, wherein the first asset transfer response is used for informing the asset monitoring end that the asset of the asset holding end is transferred to a new multi-signature address storage currently.
In step S610, the asset receiving end sends a second signature request to the blockchain platform, where the second signature request is obtained by signing the second asset transfer request with a new private key of the asset receiving end. The blockchain platform receives the second signature request accordingly.
After the blockchain platform transfers the asset of the asset holding end to the new multiple signature address, the asset receiving end can use the new private key of the asset receiving end to perform corresponding operation on the asset. For example, the asset receiving end may sign the second asset transfer request to be sent with the new private key of the asset receiving end to obtain a second signed request. The second signature request is then sent to the blockchain platform.
Step S611, the blockchain platform obtains a second asset transfer request after the second signature request is checked successfully. And returning a second asset transfer response to the asset receiving end in response to the second asset transfer request, the response being used for notifying that the asset of the asset holding end has been transferred from the new multiple signature address to the new asset address of the asset receiving end for storage.
And correspondingly, after the blockchain platform receives the second signature request, the second signature request can be checked, and after the check is successful, a second asset transfer request can be obtained. And further transferring the asset of the asset holding end to the new asset address of the asset receiving end for storage in response to the second asset transfer request. Optionally, the second asset transfer request carries a new asset address of the asset receiving end.
The selectable block chain platform may also send a second asset transfer response to the asset receiving end after transferring the asset of the asset holder to the new asset address of the asset receiving end for informing that the asset of the asset holder has been successfully transferred to the new asset address of the asset receiving end.
By implementing the embodiment of the invention, the problems that the operation of the resources on the block chain cannot be carried out after the user private key of the receiving end is lost, the long-term sealing of the resources on the block chain and the like exist in the existing scheme can be solved.
Based on the foregoing embodiments, the following describes related devices, platforms and systems to which the present invention is applicable. Fig. 7 is a schematic structural diagram of a blockchain platform according to an embodiment of the present invention. The blockchain platform 100 as shown in fig. 7 includes a receiving unit 102, a generating unit 104, and a transmitting unit 106. Wherein,
A receiving unit 102, configured to receive an address re-request sent by a target monitor end, where the address re-request carries a new resource address of a first receiving end, and is configured to request to re-allocate a new multiple signature address to a resource of the resource holding end, where the new resource address is generated based on a new private key of the first receiving end, the first receiving end is a receiving end monitored by the target monitor end in the a resource receiving ends, and the target monitor end is a monitor end in the b resource monitor ends;
a generating unit 104, configured to generate a new multiple signature address by using a new resource address of the first receiving end in response to the address re-request, where the new multiple signature address is used to store a resource of the resource holding end;
And the sending unit 106 is used for returning the new multi-signature address to the target monitoring end.
In one embodiment, blockchain platform 100 also includes a verification unit 108 and a transfer unit 110. The receiving unit 102 is further configured to receive a first signature request sent by the target monitor end, where the first signature request is obtained by signing a first resource transfer request to be sent by using a resource private key of the target monitor end, where the first resource transfer request is used to request to transfer a resource of the resource holding end from an original multiple signature address to the new multiple signature address for storage; the signing verification unit 104 is configured to obtain the first resource transfer request after signing the first signature request is successful; the transferring unit 110 is configured to transfer, in response to the first resource transfer request, the resource of the resource holder from an original multiple-signature address to the new multiple-signature address, where the original multiple-signature address is generated by using the old resource address of the first receiver.
In yet another embodiment, the sending unit 106 is specifically configured to send a first resource transfer response to the target monitor end, where the first resource transfer response is used to indicate that the resource of the resource holder has been successfully transferred to the new multi-signature address for storing.
In still another embodiment, the receiving unit 102 is further configured to receive a second signature request sent by a target resource end, where the second signature request is obtained by signing a second resource transfer request to be sent by using a resource private key of the target resource end, and the target resource end is the first receiving end or the target monitoring end; the signature verification unit 108 is further configured to obtain the second resource transfer request after the signature verification of the second signature request is successful; the transferring unit 110 is further configured to transfer, in response to the second resource transfer request, the resource of the resource holder from the new multi-signature address to a new resource address of the first receiver for storage.
Referring to fig. 8, a block chain platform 100 according to an embodiment of the invention is shown. The blockchain platform 100 may be deployed in one or more terminals 80, which may be devices with communication network functions, such as smart phones, tablet computers, smart wearable devices, and the like. As shown in fig. 8, the guest service platform according to the embodiment of the present invention may include a display screen, a key, a speaker, a microphone, and other modules, and further includes: at least one bus 801, at least one processor 802 coupled to the bus 801, and at least one memory 803 coupled to the bus 801, a communication device 805 implementing a communication function, a power supply device 804 providing power to each power consuming module of the blockchain platform.
The processor 802 may invoke code stored in the memory 803 to perform related functions via the bus 801, wherein the memory 803 includes an operating system, data transfer applications.
Wherein the processor 802 is configured to: receiving an address re-request sent by a target monitoring end, wherein the address re-request carries a new resource address of a first receiving end and is used for requesting to allocate a new multiple signature address for resources of the resource holding end again, the new resource address is generated based on a new private key of the first receiving end, the first receiving end is a receiving end monitored by the target monitoring end in the a resource receiving ends, and the target monitoring end is a monitoring end in the b resource monitoring ends; responding to the address re-request, and generating a new multi-signature address by utilizing a new resource address of the first receiving end, wherein the new multi-signature address is used for storing the resource of the resource holding end; and returning the new multi-signature address to the target monitoring end.
Details not described in the present invention may refer to the above-described embodiments of any of the methods of fig. 1-6, which use the blockchain platform as the main body for performing some or all of the steps, and/or related technical content.
Fig. 9 is a schematic structural diagram of a target monitor end according to an embodiment of the present invention. The target monitor terminal 900 includes a transmitting unit 902 and a receiving unit 904. Wherein,
A sending unit 902, configured to send an address re-request to a blockchain platform, where the address re-request carries a new resource address of a first receiving end, and is configured to request the blockchain platform to re-allocate a new multiple signature address based on the new resource address of the first receiving end, where the new resource address is generated based on a new private key of the first receiving end, and the new multiple signature address is used to store a resource of a resource holding end;
And the receiving unit 904 is configured to receive the new multiple signature address returned by the blockchain platform.
In one embodiment, the target monitor end 900 further includes a signature unit 906. The signature unit 906 is configured to sign a first resource transfer request to be sent by using a resource private key of the target monitor end to obtain a first signature request, where the first resource transfer request is used to request to transfer a resource of the resource holding end from an original multiple signature address to the new multiple signature address for storage, and the original multiple signature address is generated by using an old resource address of the first receiving end; the sending unit 902 is further configured to send the first signature request to the blockchain platform.
In yet another embodiment, the signature unit 906 is further configured to sign a second resource transfer request to be sent by using a resource private key of the target monitor end to obtain a second signature request, where the second resource transfer request is used to request to transfer the resource of the resource holder from the new multiple signature address to a new resource address of the first receiver for storage; the sending unit 902 is further configured to send the second signature request to the blockchain platform.
Referring to fig. 10 again, a schematic structure of a target monitor end according to an embodiment of the invention is shown. The target monitoring end can be a device with a communication network function, such as a smart phone, a tablet personal computer, an intelligent wearable device and the like. As shown in fig. 10, the target monitor end of the embodiment of the present invention may include a display screen, a key, a speaker, a pickup, and other modules, and further includes: at least one bus 1001, at least one processor 1002 connected to the bus 1001, and at least one memory 1003 connected to the bus 1001, a communication device 1005 for realizing a communication function, and a power supply device 1004 for supplying power to each power consumption module of the target monitor terminal.
The processor 1002 may invoke code stored in the memory 1003 via the bus 1001 to perform related functions, wherein the memory 1003 includes an operating system, data transfer applications.
Wherein the processor 1002 is configured to: sending an address re-request to a blockchain platform, wherein the address re-request carries a new resource address of a first receiving end and is used for requesting the blockchain platform to re-allocate a new multiple signature address based on the new resource address of the first receiving end, the new resource address is generated based on a new private key of the first receiving end, and the new multiple signature address is used for storing resources of a resource holding end; and receiving the new multi-signature address returned by the block chain platform.
Details not described in the present invention may refer specifically to some or all of the steps described in the embodiments of the methods of any of fig. 1 to fig. 6, which are performed by using the target monitor end as the main body, and/or related technical content.
Referring to fig. 11, a schematic diagram of a blockchain resource processing system according to an embodiment of the present invention is shown. The blockchain resource processing system as shown in fig. 11 includes a blockchain platform 100, a resource holder 200, a first receiver 300, and a target monitor 400. The blockchain platform 100 communicates with the resource holder 200, the first receiver 300, and the target monitor 400 monitors the first receiver 300. Specifically:
The target monitor end 400 is configured to send an address re-request to the blockchain platform 100, where the address re-request carries a new resource address of the first receiving end 300, and is configured to request to re-allocate a new multiple signature address to a resource of the resource holding end 200, where the new resource address is generated based on a new private key of the first receiving end 300;
The blockchain platform 100 is configured to receive and respond to the address re-request, generate a new multiple signature address by using the new resource address of the first receiving end 300, and return the new multiple signature address to the target monitor end 400; the new multi-signature address is used to store the resource of the resource holder 200;
The target monitor end 400 is further configured to receive the new multi-signature address returned by the blockchain platform 100.
In one embodiment, the target monitor end 400 is further configured to sign a first resource transfer request to be sent by using a resource private key of the target monitor end 400 to obtain a first signature request, and send the first signature request to the blockchain platform 100; the blockchain platform 100 is further configured to receive the first signature request, obtain the first resource transfer request after the first signature request is checked successfully, and transfer the resource of the resource holder from an original multiple signature address to the new multiple signature address for storage in response to the first resource transfer request, where the original multiple signature address is generated by using the old resource address of the first receiver 300.
In still another embodiment, the target resource end is configured to sign a second resource transfer request to be sent by using a resource private key of the target resource end to obtain a second signature request, and send the second signature request to the blockchain platform; the target resource end is the target monitor end 400 or the first receiving end 300; the blockchain platform 100 is further configured to receive the second signature request, obtain the second resource transfer request after the second signature request is checked successfully, and transfer the resource of the resource holder from the new multiple signature address to the new resource address of the first receiver 300 for storage in response to the second resource transfer request.
The embodiment of the invention also provides a computer readable storage medium, wherein the computer readable storage medium can store a program, and the program can include part or all of the steps of any blockchain resource processing method described in the above method embodiment when executed.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present invention is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present invention. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present invention.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, such as the division of the units, merely a logical function division, and there may be additional manners of dividing the actual implementation, such as multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a usb disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.

Claims (12)

1. A blockchain resource processing method, applied to a blockchain platform, the blockchain platform communicates with a resource holding end, a resource receiving end and b resource monitoring ends respectively, the blockchain platform generates corresponding original multiple signature addresses by using private keys of the a resource receiving end and the b resource monitoring ends respectively, so as to be used for storing resources of the resource holding end, the method comprising:
Receiving an address re-request sent by a target monitoring end, wherein the address re-request carries a new resource address of a first receiving end and is used for requesting to allocate a new multiple signature address for the resource of the resource holding end again, the new resource address is generated based on a new private key of the first receiving end, the first receiving end is a receiving end monitored by the target monitoring end in the a resource receiving ends, the target monitoring end is a monitoring end in the b resource monitoring ends, and a and b are positive integers;
Responding to the address re-request, and generating a new multi-signature address by utilizing a new resource address of the first receiving end, wherein the new multi-signature address is used for storing the resource of the resource holding end;
And returning the new multi-signature address to the target monitoring end.
2. The method of claim 1, wherein the method further comprises:
Receiving a first signature request sent by the target monitoring end, wherein the first signature request is obtained by signing a first resource transfer request to be sent by utilizing a resource private key of the target monitoring end, and the first resource transfer request is used for requesting to transfer the resource of the resource holding end from an original multiple signature address to the new multiple signature address for storage;
After the first signature request is successfully checked, the first resource transfer request is obtained;
And responding to the first resource transfer request, transferring the resource of the resource holding end from an original multi-signature address to the new multi-signature address for storage, wherein the original multi-signature address is generated by using the old resource address of the first receiving end.
3. The method of claim 2, wherein the method further comprises:
and sending a first resource transfer response to the target monitoring end, wherein the first resource transfer response is used for indicating that the resource of the resource holding end is successfully transferred to the new multi-signature address for storage.
4. A method according to claim 2 or 3, wherein the method further comprises:
Receiving a second signature request sent by a target resource end, wherein the second signature request is obtained by signing a second resource transfer request to be sent by utilizing a resource private key of the target resource end, and the target resource end is the first receiving end or the target monitoring end;
after the second signature request is successfully checked, the second resource transfer request is obtained;
and responding to the second resource transfer request, and transferring the resource of the resource holding end from the new multi-signature address to the new resource address of the first receiving end for storage.
5. A blockchain resource processing method, applied to a target monitor terminal, the method comprising:
Sending an address re-request to a blockchain platform, wherein the address re-request carries a new resource address of a first receiving end and is used for requesting the blockchain platform to re-allocate a new multiple signature address based on the new resource address of the first receiving end, the new resource address is generated based on a new private key of the first receiving end, and the new multiple signature address is used for storing resources of a resource holding end; the block chain platform is respectively communicated with a resource holding end, a resource receiving ends and b resource monitoring ends, the first receiving end is a receiving end monitored by the target monitoring end in the a resource receiving ends, the target monitoring end is a monitoring end in the b resource monitoring ends, and a and b are positive integers; the blockchain platform generates corresponding original multiple signature addresses by utilizing private keys of a resource receiving ends and b resource monitoring ends respectively, so as to be used for storing resources of the resource holding ends;
And receiving the new multi-signature address returned by the block chain platform.
6. The method of claim 5, wherein the method further comprises:
Signing a first resource transfer request to be sent by using a resource private key of the target monitoring end to obtain a first signature request, wherein the first resource transfer request is used for requesting to transfer a resource of the resource holding end from an original multiple signature address to the new multiple signature address for storage, and the original multiple signature address is generated by using an old resource address of the first receiving end;
And sending the first signature request to the blockchain platform.
7. The method of claim 5 or 6, wherein the method further comprises:
Signing a second resource transfer request to be sent by utilizing a resource private key of the target monitoring end to obtain a second signature request, wherein the second resource transfer request is used for requesting to transfer the resource of the resource holding end from the new multiple signature address to a new resource address of the first receiving end for storage;
And sending the second signature request to the blockchain platform.
8. A block chain resource processing system is characterized by comprising a block chain platform, a resource holding end, a resource receiving end and b resource monitoring ends, wherein the block chain platform is respectively communicated with the resource holding end, the a resource receiving end and the b resource monitoring ends,
The target monitoring end is used for sending an address re-request to the blockchain platform, the address re-request carries a new resource address of a first receiving end and is used for requesting to allocate a new multiple signature address for the resource of the resource holding end again, the new resource address is generated based on a new private key of the first receiving end, the first receiving end is a receiving end monitored by the target monitoring end in the a resource receiving ends, and the target monitoring end is a monitoring end in the b resource monitoring ends;
The block chain platform is used for receiving and responding to the address re-request, generating a new multi-signature address by utilizing the new resource address of the first receiving end, and returning the new multi-signature address to the target monitoring end; the new multi-signature address is used for storing the resource of the resource holding end; the blockchain platform generates corresponding original multiple signature addresses by utilizing private keys of the a resource receiving ends and the b resource monitoring ends respectively, so as to be used for storing resources of the resource holding ends;
The target monitoring end is also used for receiving the new multi-signature address returned by the blockchain platform.
9. The system of claim 8, wherein,
The target monitoring end is further used for signing a first resource transfer request to be sent by utilizing a resource private key of the target monitoring end to obtain a first signature request, and sending the first signature request to the blockchain platform;
The blockchain platform is further configured to receive the first signature request, obtain the first resource transfer request after the first signature request is checked successfully, and transfer the resource of the resource holding end from an original multiple signature address to the new multiple signature address for storage in response to the first resource transfer request, where the original multiple signature address is generated by using an old resource address of the first receiving end.
10. The system of claim 8 or 9, wherein,
The target resource end is used for signing a second resource transfer request to be sent by utilizing a resource private key of the target resource end to obtain a second signature request, and sending the second signature request to the blockchain platform; the target resource end is the target monitoring end or the first receiving end;
The blockchain platform is further configured to receive the second signature request, obtain the second resource transfer request after the second signature request is checked successfully, and transfer the resource of the resource holding end from the new multiple signature address to the new resource address of the first receiving end for storage in response to the second resource transfer request.
11. An apparatus, comprising: the system comprises a memory, a communication interface and a processor, wherein the memory, the communication interface and the processor are connected with each other, the memory stores computer program codes, and the processor calls the computer program codes stored in the memory for executing the blockchain resource processing method of any of claims 1 to 4.
12. A computer readable storage medium, characterized in that a computer program is stored, which when executed implements the blockchain resource processing method of any of claims 1 to 4.
CN201911077752.7A 2019-11-06 2019-11-06 Block chain resource processing method and system Active CN110825811B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911077752.7A CN110825811B (en) 2019-11-06 2019-11-06 Block chain resource processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911077752.7A CN110825811B (en) 2019-11-06 2019-11-06 Block chain resource processing method and system

Publications (2)

Publication Number Publication Date
CN110825811A CN110825811A (en) 2020-02-21
CN110825811B true CN110825811B (en) 2024-05-28

Family

ID=69553228

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911077752.7A Active CN110825811B (en) 2019-11-06 2019-11-06 Block chain resource processing method and system

Country Status (1)

Country Link
CN (1) CN110825811B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112732676B (en) * 2021-01-12 2023-12-05 库珀科技集团有限公司 Block chain-based data migration method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106533678A (en) * 2016-07-06 2017-03-22 天津米游科技有限公司 Multi-signature-based login method and system thereof
CN107370606A (en) * 2017-07-26 2017-11-21 中山大学 A kind of microblogging multi-signature method based on block chain
CN108615149A (en) * 2018-03-27 2018-10-02 马龙 Flexible block chain method of payment, device and the electronic equipment of multi-signature
CN108764907A (en) * 2018-05-30 2018-11-06 招商银行股份有限公司 Assets method for retrieving, system and computer readable storage medium
CN109493024A (en) * 2018-09-29 2019-03-19 杭州复杂美科技有限公司 Digital asset trustship method, equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10402792B2 (en) * 2015-08-13 2019-09-03 The Toronto-Dominion Bank Systems and method for tracking enterprise events using hybrid public-private blockchain ledgers

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106533678A (en) * 2016-07-06 2017-03-22 天津米游科技有限公司 Multi-signature-based login method and system thereof
CN107370606A (en) * 2017-07-26 2017-11-21 中山大学 A kind of microblogging multi-signature method based on block chain
CN108615149A (en) * 2018-03-27 2018-10-02 马龙 Flexible block chain method of payment, device and the electronic equipment of multi-signature
CN108764907A (en) * 2018-05-30 2018-11-06 招商银行股份有限公司 Assets method for retrieving, system and computer readable storage medium
CN109493024A (en) * 2018-09-29 2019-03-19 杭州复杂美科技有限公司 Digital asset trustship method, equipment and storage medium

Also Published As

Publication number Publication date
CN110825811A (en) 2020-02-21

Similar Documents

Publication Publication Date Title
US10003582B2 (en) Technologies for synchronizing and restoring reference templates
CN109995781B (en) Data transmission method, device, medium and equipment
WO2016201732A1 (en) Virtual sim card parameter management method, mobile terminal, and server
CN110661748B (en) Log encryption method, log decryption method and log encryption device
CN111464295B (en) Bank card making method and device
CN109981576B (en) Key migration method and device
CN109660534B (en) Multi-merchant-based security authentication method and device, electronic equipment and storage medium
CN110635912B (en) Data processing method and device
CN115130140B (en) Safety joint analysis method for multi-party privacy data and financial privacy data
CN106161224B (en) Method for interchanging data, device and equipment
CN115801220A (en) Acceleration apparatus, computing system, and acceleration method
CN117077123A (en) Service processing method and device for multiple password cards and electronic equipment
CN103997405B (en) A kind of key generation method and device
CN110825811B (en) Block chain resource processing method and system
CN112839013A (en) Key transmission method, device and computer readable storage medium
CN106487761B (en) Message transmission method and network equipment
CN111294210A (en) Medical information management method and related equipment
CN114157425B (en) Method and device for responding to service request
CN108156112B (en) Data encryption method, electronic equipment and network side equipment
CN113452513B (en) Key distribution method, device and system
KR20200082916A (en) Survey response data security method and system
CN114860713A (en) Block chain-based data matching method and device, electronic equipment and storage medium
CN110889145B (en) Block chain resource processing method, platform, system and computer readable storage medium
CN109639409B (en) Key initialization method, key initialization device, electronic equipment and computer-readable storage medium
CN110098928B (en) Key generation method and device for collaborative signature

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