CN109685506B - Multi-signature account generation method and multi-signature account signature confirmation method - Google Patents
Multi-signature account generation method and multi-signature account signature confirmation method Download PDFInfo
- Publication number
- CN109685506B CN109685506B CN201811585950.XA CN201811585950A CN109685506B CN 109685506 B CN109685506 B CN 109685506B CN 201811585950 A CN201811585950 A CN 201811585950A CN 109685506 B CN109685506 B CN 109685506B
- Authority
- CN
- China
- Prior art keywords
- account
- owner
- transaction
- signature
- weight information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3829—Payment protocols; Details thereof insuring higher security of transaction involving key management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3825—Use of electronic signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/42—Confirmation, e.g. check or permission by the legal debtor of payment
Abstract
The invention provides a multiple signature account generation method and a signature confirmation method of a multiple signature account, wherein the method comprises the following steps: receiving and executing an account creation transaction to trigger a multiple signature contract to create a first multiple contract account; wherein the account creation transaction includes confirmation weight information of the first multi-contract account, weight information of the plurality of owners; the multiple signing contract is also used for calculating according to the weight information and the confirmation weight information of the owners of the plurality of signatures, and judging whether the owners of the plurality of signatures have the account configuration authority of the first multiple contract account. The invention realizes that the generated multiple signature accounts have strong fairness and the daily quota of different assets can be configured.
Description
Technical Field
The application relates to the technical field of block chains, in particular to a multi-signature account generation method and a multi-signature account signature confirmation method.
Background
In the current block chain industry, in a multiple signature account, only a creator (creator) has the authority to operate the attribute operation of the multiple signature account, wherein the operation comprises the operations of adding, deleting and replacing owners (owner) in the multiple signature account, and the operations have poor fairness; and although both the creator and the owner have the authority to operate the account operation of the multiple signature accounts, the operation comprises the transfer of assets in the multiple signature accounts and the like, the transfer of the multiple signature accounts is confirmed by the designated number of people and has poor fairness; in the existing multi-signature account, the limit value of the daily quota of all assets on the account is uniformly used, and the requirement of different daily quotas of different assets cannot be met.
Disclosure of Invention
In view of the above-mentioned deficiencies or inadequacies in the prior art, it would be desirable to provide a multiple-signature-account generation method and a multiple-signature-account signature validation method that are highly equitable and configurable for each daily allowance of different assets.
In a first aspect, the present invention provides a multiple signature account generation method, where a multiple signature contract is configured on a first block chain node, and the method includes:
receiving and executing an account creation transaction to trigger a multiple signature contract to create a first multiple contract account;
wherein the account creation transaction includes confirmation weight information of the first multi-contract account, weight information of the plurality of owners;
the multiple signing contract is also used for calculating according to the weight information and the confirmation weight information of the owners of the plurality of signatures, and judging whether the owners of the plurality of signatures have the account configuration authority of the first multiple contract account.
In a second aspect, the present invention provides a signature verification method for a multiple-signature account, the multiple-signature account being generated according to a multiple-signature account generation method, including:
receiving a first owner-signed account configuration transaction for a first multi-signed account;
executing account configuration transaction to trigger the multiple signing contract to operate according to the weight information of the owner of the signature and the confirmation weight information, and judging whether the owner of the signature has the account configuration authority of the first multiple contract account:
if yes, configuring the first multiple signature account according to the account configuration transaction;
if not, waiting to receive an account configuration transaction signed by a second owner of the first multi-contract account; and when the account configuration transaction signed by the second owner is received, returning to execute the account configuration transaction to trigger the multiple signing contract to perform operation according to the weight information and the confirmation weight information of the signed owner, and judging whether the signed owner has the account configuration authority of the first multiple contract account.
In a third aspect, the present invention provides a signature verification method for multiple signature accounts, where the multiple signature accounts are generated according to some multiple signature account generation methods, including:
receiving a first owner-signed transfer transaction for a first multi-contract account;
executing the transfer transaction to trigger the multi-signature contract to determine whether a single-day cumulative transaction amount for the first type of asset of the first multi-contract account exceeds a daily transaction limit for the first type of asset:
if not, transferring accounts according to the account transfer transaction;
if yes, calculating according to the weight information of the signed owner and the confirmation weight information, and judging whether the signed owner has the excess transaction authority of the first multiple contract account:
if yes, transferring accounts according to the account transfer transaction;
if not, waiting to receive a transfer transaction signed by a second owner of the first multiple contract account; and returning to perform operation according to the weight information and the confirmation weight information of the signed owner when the transfer transaction signed by the second owner is received, and judging whether the signed owner has the excess transaction authority of the first multiple contract account.
In a fourth aspect, the present invention also provides an apparatus comprising one or more processors and memory, wherein the memory contains instructions executable by the one or more processors to cause the one or more processors to perform a multiple signed account generation method and a multiple signed account signature validation method provided according to embodiments of the present invention.
In a fifth aspect, the present invention also provides a storage medium storing a computer program that causes a computer to execute the multiple-signature account generation method and the multiple-signature account signature verification method according to the embodiments of the present invention.
In the multiple signature account generation method and the multiple signature account signature confirmation method provided by the embodiments of the invention, the account creation transaction is received and executed to trigger the multiple signature contract to create the first multiple contract account; wherein the account creation transaction includes confirmation weight information of the first multi-contract account, weight information of the plurality of owners; the multiple signature contract is also used for calculating according to the weight information and the confirmation weight information of the owners of the signatures, and judging whether the owners of the signatures have the account configuration authority of the first multiple contract account, so that the generated multiple signature accounts have strong fairness and the daily quota of different assets can be configured.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a flowchart of a multiple signature account generation method according to an embodiment of the present invention.
Fig. 2 is a flowchart of a signature verification method for a multiple signature account according to an embodiment of the present invention.
Fig. 3 is a flowchart of a signature verification method for a multiple signature account according to an embodiment of the present invention.
Fig. 4 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 is a flowchart of a multiple signature account generation method according to an embodiment of the present invention. As shown in fig. 1, in this embodiment, the present invention provides a multiple signature account generation method, where a multiple signature contract is configured on a first blockchain node, and the method includes:
s12: receiving and executing an account creation transaction to trigger a multiple signature contract to create a first multiple contract account;
wherein the account creation transaction includes confirmation weight information of the first multi-contract account, weight information of the plurality of owners;
the multiple signing contract is also used for calculating according to the weight information and the confirmation weight information of the owners of the plurality of signatures, and judging whether the owners of the plurality of signatures have the account configuration authority of the first multiple contract account.
Specifically, the account creation transaction m sent by the user a is: the first user applies for creating a first multiple contract account, the owners of the multiple contract accounts are configured as a first user and a second user, the weight of the increased owner of the first user is configured to be 8, the authority of the increased owner of the second user is configured to be 4, and the confirmation weight information of the increased owner is configured to be 10.
In S12, the node receives and executes the account creation transaction m sent by the user A to trigger the multiple signing contract to create a first multiple contract account; the first multiple contract account is a multiple contract account with the owner being user A and user B, the increased owner of user A having a weight of 8, the increased owner of user B having a weight of 4, and the increased owner having a confirmation weight of 10.
The multiple signing contract is also used for calculating according to the weight information and the confirmation weight information of the owners of the plurality of signatures, and judging whether the owners of the plurality of signatures have the account configuration authority of the first multiple contract account.
When the node receives the signed account configuration transaction a sent by the user A (the account configuration transaction a indicates that the user A is to be added as the owner of the multi-contract account), the weight of the added owner of the user A is 8, and the information is 10, which is smaller than the confirmation weight of the added owner; and the node receives the signed account configuration transaction a sent by the user B and triggers the multiple signing contract, and the user B is added as the owner of the multiple contract account as the weight of the added owner of the user A is 8, the weight of the added owner of the user B is 4, and the sum of the weights is greater than the confirmation weight information 10 of the added owner.
The above embodiment creates a transaction by using the account sent by the user a as follows: the first user applies for creating a first multiple contract account, the owners of the multiple contract accounts are configured as a first user and a second user, the weight of the increased owner of the first user is configured as 8, the authority of the increased owner of the second user is configured as 4, and the confirmation weight information of the increased owner is configured as 10, which are taken as examples to describe the multiple signature account generating method provided by the invention in detail, in further embodiments, the multiple signed account generation method provided by the present invention is not limited to the above examples, and the same technical effect can be achieved by configuring the value of the owner of the multiple accounts as any positive integer, configuring the weight of the configuration authority (in this embodiment, increasing the owner) of each owner as any value, and configuring the confirmation weight information of the configuration authority (in this embodiment, increasing the owner) of each owner as any value according to the actual requirement.
The above-described embodiments enable the generated multi-signed account to be fairly strong and the daily quota for different assets to be configurable.
In a preferred embodiment, the account creation transaction further comprises at least one of: address information for each owner, daily trading limits for several classes of assets.
Specifically, the address information of the user A is configured as a public key address of the user A, and the address of the user B is configured as a public key address of the user B; there are two types of assets, token1 and token2, with the daily transaction limit for token1 configured as 10 and the daily transaction limit for token2 configured as 10000. The first multi-contract account is a multi-contract account with an owner of a user A and a user B, the weight of the increased owner of the user A is 8, the weight of the increased owner of the user B is 4, the confirmation weight of the increased owner is 10, the address information of the user A is the public key address of the user A, the address of the user B is the public key address of the user B, the daily transaction limit of token1 is 10, and the daily transaction limit of token2 is 10000.
In more embodiments, the address information of the user a may be configured as a public key of the user a, the address information of the user b may be configured as a public key of the user b, and the daily transaction limit of each type of asset may be configured as any value, so that the same technical effect may be achieved.
In a preferred embodiment, the account configuration rights include at least one of: configuration rights of the owner, configuration rights of the daily trading limit of each asset. Configuration rights of an owner include addition of the owner, deletion of the owner, modification of the owner, and replacement of the owner.
In a preferred embodiment, the multiple signature contract is further configured to perform an operation according to the weight information and the confirmation weight information of the signed owners, and determine whether the signed owners have an excess trading authority to trade the first type of assets when the single-day accumulated trading amount of the first type of assets exceeds the daily trading limit of the first type of assets.
Specifically, the transfer transaction n sent by the user A is taken as: 12000 tokens 2 are intended to be transferred to user X; the owners of the multiple contract accounts are a user A and a user B, the weight of the transfer transaction of the user A is configured to be 12, the authority of the transfer transaction of the user B is configured to be 12, and the confirmation weight information of the transfer transaction is configured to be 20.
The node receives the signed transfer transaction b sent by the user A and triggers a multiple signature contract, the weight of the transfer transaction of the user A is 12, and the weight information is 20 when the weight information is smaller than the confirmation weight information of the owner; and the node receives the signed transfer transaction b sent by the user B and triggers a multiple signature contract, the weight of the transfer transaction of the user A is 12, the weight of the transfer transaction of the user B is 12, and the sum of the weights is greater than the confirmation weight information 20 of the transfer transaction, so 12000 tokens 2 are transferred to the user X.
Fig. 2 is a flowchart of a signature verification method for a multiple signature account according to an embodiment of the present invention. As shown in fig. 2, in the present embodiment, the present invention provides a signature verification method for a multiple-signature account generated by a multiple-signature account generation method, the signature verification method including:
s22: receiving a first owner-signed account configuration transaction for a first multi-signed account;
s24 executes the account configuration transaction to trigger the multiple signing contract to perform operations according to the weight information of the signed owner and the confirmation weight information, and determines whether the signed owner has the account configuration right of the first multiple contract account:
s26: if yes, configuring the first multiple signature account according to the account configuration transaction;
s28: if not, waiting to receive an account configuration transaction signed by a second owner of the first multi-contract account; and when the account configuration transaction signed by the second owner is received, returning to execute the account configuration transaction to trigger the multiple signing contract to perform operation according to the weight information and the confirmation weight information of the signed owner, and judging whether the signed owner has the account configuration authority of the first multiple contract account.
Specifically, the account configuration transaction c is: the user is added as the owner of the multiple contract account; the weight of the added owner of the user A is configured to be 8, the weight of the added owner of the user B is configured to be 4, the weight of the added owner of the user C is configured to be 4, and the confirmation weight of the added owner is configured to be 10.
In step S22, the node receives an account configuration transaction c signed by a user a;
in step S24, the node executes the account configuration transaction c to trigger the multiple signing contract to perform calculation according to the increased owner weight and the confirmation weight of the increased owner of the user a, and determines whether the user a has the owner authority to increase the user a to the multiple contract account;
when the judgment result has the account configuration right of the first multiple contract account, executing the step S26;
when the judgment result is that the account configuration right of the first multiple contract account is not available, executing step S28;
since the weight of the added owner of the user a is 8 and the confirmation weight information smaller than the added owner is 10, step S28 is executed; the node waits for receiving account configuration transaction of the signature of the user B or the user C; when the node receives the account configuration transaction c signed by the user, executing step S24;
the node executes the account configuration transaction c to trigger the multiple signature contract to carry out operation according to the weight of the increased owner of the user A, the weight of the increased owner of the user C and the confirmation weight of the increased owner, and whether the user A has the authority of increasing the user B into the owner of the multiple contract account is judged;
since the increased owner weight of the user a is 8, the increased owner weight of the user c is 4, which is greater than the confirmation weight information of the increased owner is 10, step S26 is executed to increase the user d as the owner of the multiple contract account according to the account configuration transaction c.
Fig. 3 is a flowchart of a signature verification method for a multiple signature account according to an embodiment of the present invention. As shown in fig. 3, in this embodiment, the present invention provides a signature verification method for multiple signed accounts, where the multiple signed accounts are generated according to some multiple signed account generation methods, and the signature verification method includes:
s32: receiving a first owner-signed transfer transaction for a first multi-contract account;
s33: executing the transfer transaction to trigger the multi-signature contract to determine whether a single-day cumulative transaction amount for the first type of asset of the first multi-contract account exceeds a daily transaction limit for the first type of asset:
s34: if not, transferring accounts according to the account transfer transaction;
s35: if yes, calculating according to the weight information of the signed owner and the confirmation weight information, and judging whether the signed owner has the excess transaction authority of the first multiple contract account:
s36: if yes, transferring accounts according to the account transfer transaction;
s37: if not, waiting to receive a transfer transaction signed by a second owner of the first multiple contract account; and returning to perform operation according to the weight information and the confirmation weight information of the signed owner when the transfer transaction signed by the second owner is received, and judging whether the signed owner has the excess transaction authority of the first multiple contract account.
Specifically, consider the transfer transaction d as: 12000 tokens 2 are intended to be transferred to user X; the daily transaction limit of token2 is 10000, the owners of multiple contract accounts are user A, user B and user C, the weight of the transfer transaction of user A is set as 12, the authority of the transfer transaction of user B is set as 12, the weight of the transfer transaction of user A is set as 10, and the confirmation weight information of the transfer transaction is set as 20.
In step S32, the node receives the transfer transaction d signed by the user a;
in step S33, the node executes transfer transaction d to trigger the multiple signature contracts to determine whether the single daily cumulative transaction amount of token2 for the first multiple contract account exceeds the daily transaction limit of token 2;
when the judgment result is that the daily transaction limit of token2 is not exceeded, executing step S34;
when the judgment result is that the daily transaction limit of token2 is exceeded, executing step S35;
since the transfer transaction d is: 12000 tokens 2 are intended to be transferred to user X, 10000 per day transaction limits greater than token2, step S35 is performed; the node calculates according to the weight of the transfer transaction of the user A and the confirmation weight of the transfer transaction, and judges whether the user A has an excess transaction authority of transferring 12000 tokens 2 to the user X;
when the judgment result is that the excess transaction right exists, executing step S36;
when the judgment result is that no excess transaction right exists, executing step S37;
since the weight of the transfer transaction of the user a is 12, which is less than the confirmation weight information 20 of the transfer transaction, step S37 is performed; the node waits for the transfer transaction of the signature of the user B or the user C; when the node receives the account configuration transaction d signed by the user C, returning to the step S35, and judging whether the user A and the user C have the excess transaction authority for transferring 12000 tokens 2 to the user X according to the weight of the transfer transaction of the user A, the weight of the transfer transaction of the user C and the confirmation weight of the transfer transaction;
since the weight of the transfer transaction of the user A is 12, the weight of the transfer transaction of the user C is 10, and the sum of the weights of the transfer transactions of the user A and the user C is greater than the confirmation weight information 20 of the transfer transaction, step S36 is executed, and 12000token2 is transferred to the user X.
Fig. 4 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
As shown in fig. 4, as another aspect, the present application also provides an apparatus 400 including one or more Central Processing Units (CPUs) 401 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage section 408 into a Random Access Memory (RAM) 403. In the RAM403, various programs and data necessary for the operation of the device 400 are also stored. The CPU401, ROM402, and RAM403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
The following components are connected to the I/O interface 405: an input section 406 including a keyboard, a mouse, and the like; an output section 407 including a display device such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 408 including a hard disk and the like; and a communication section 409 including a network interface card such as a LAN card, a modem, or the like. The communication section 409 performs communication processing via a network such as the internet. A driver 410 is also connected to the I/O interface 405 as needed. A removable medium 411 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 410 as necessary, so that a computer program read out therefrom is mounted into the storage section 408 as necessary.
In particular, according to an embodiment of the present disclosure, the multiple signature account generation method and the signature confirmation method for multiple signature accounts described in any of the above embodiments may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising program code for performing a multi-signature account generation method and a signature validation method for multi-signature accounts. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 409, and/or installed from the removable medium 411.
As yet another aspect, the present application also provides a computer-readable storage medium, which may be the computer-readable storage medium included in the apparatus of the above-described embodiment; or it may be a separate computer readable storage medium not incorporated into the device. The computer-readable storage medium stores one or more programs for use by one or more processors in performing the multiple-signature-account generating method and the multiple-signature-account signature verifying method described in the present application.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments of the present application may be implemented by software or hardware. The described units or modules may also be provided in a processor, for example, each of the described units may be a software program provided in a computer or a mobile intelligent device, or may be a separately configured hardware device. Wherein the designation of a unit or module does not in some way constitute a limitation of the unit or module itself.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the present application. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.
Claims (5)
1. A method for generating a multi-signature account, wherein a first blockchain node is configured with a multi-signature contract, the method comprising:
receiving and executing an account creation transaction to trigger the multiple signing contracts to create a first multiple contract account;
wherein the account creation transaction includes validation weight information for the first multi-contract account, weight information for a number of owners;
the multiple signing contract is further used for being triggered to operate according to the weight information of the signed owner and the first confirmation weight information of the account configuration authority of the first multiple signing account when the received account configuration transaction signed by the first owner of the first multiple signing account is executed, and whether the weight information of the signed owner exceeds the first confirmation weight information is judged:
if so, configuring the first multiple signature account according to the account configuration transaction;
if not, waiting to receive an account configuration transaction signed by a second owner of the first multi-contract account; when the account configuration transaction signed by the second owner is received, returning the weight information of the signed owner and the first confirmation weight information of the account configuration authority of the first multi-contract account for operation;
the account creation transaction further comprises at least one of: address information of each said owner, daily transaction limits for a plurality of classes of assets;
the account configuration permissions include at least one of: configuration rights of the owner, configuration rights of daily trading limits of each of the assets;
the multi-signature contract is further to be triggered when executing the received third owner-signed transfer transaction for the first multi-signature account to determine whether a single-day cumulative transaction amount for a first class of assets of the first multi-signature account exceeds a daily transaction limit for the first class of assets:
if not, transferring accounts according to the account transfer transaction;
if so, performing calculation according to the weight information of the signed owner and second confirmation weight information of the excess transaction authority of the first multiple contract account, and judging whether the weight information of the signed owner exceeds the second confirmation weight information:
if yes, transferring accounts according to the account transfer transaction;
if not, waiting to receive a transfer transaction signed by a fourth owner of the first multi-contract account; and returning the weight information of the owner of the judgment signature to the second confirmation weight information when the transfer transaction signed by the fourth owner is received.
2. A signature verification method for a multiple-signature account, the multiple-signature account being generated according to the multiple-signature account generation method of claim 1, the signature verification method comprising:
receiving a first owner-signed account configuration transaction for a first multi-signed account;
executing the account configuration transaction to trigger the multiple signing contract to operate according to the weight information of the signed owner and the first confirmation weight information of the account configuration authority of the first multiple contract account, and judging whether the weight information of the signed owner exceeds the first confirmation weight information:
if so, configuring the first multiple signature account according to the account configuration transaction;
if not, waiting to receive an account configuration transaction signed by a second owner of the first multi-contract account; and when the account configuration transaction signed by the second owner is received, returning to the step of executing the account configuration transaction to trigger the multiple signing contracts to operate according to the weight information of the signed owner and the first confirmation weight information of the account configuration authority of the first multiple contract account.
3. A signature verification method for a multiple-signature account, the multiple-signature account being generated according to the multiple-signature account generation method of claim 1, the signature verification method comprising:
receiving a third owner-signed transfer transaction for the first multi-contract account;
executing the transfer transaction to trigger the multi-sign contract to determine whether a single-day cumulative transaction amount for a first category of assets of the first multi-contract account exceeds a daily transaction limit for the first category of assets:
if not, transferring accounts according to the account transfer transaction;
if so, performing calculation according to the weight information of the signed owner and second confirmation weight information of the excess transaction authority of the first multiple contract account, and judging whether the weight information of the signed owner exceeds the second confirmation weight information:
if yes, transferring accounts according to the account transfer transaction;
if not, waiting to receive a transfer transaction signed by a fourth owner of the first multi-contract account; and returning the weight information of the owner according to the signature and second confirmation weight information of the excess transaction authority of the first multiple contract account for operation when the transfer transaction signed by the fourth owner is received.
4. A computer device, the device comprising:
one or more processors;
a memory for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method recited in any of claims 1-3.
5. A storage medium storing a computer program, characterized in that the program, when executed by a processor, implements the method according to any one of claims 1-3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811585950.XA CN109685506B (en) | 2018-12-25 | 2018-12-25 | Multi-signature account generation method and multi-signature account signature confirmation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811585950.XA CN109685506B (en) | 2018-12-25 | 2018-12-25 | Multi-signature account generation method and multi-signature account signature confirmation method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109685506A CN109685506A (en) | 2019-04-26 |
CN109685506B true CN109685506B (en) | 2020-12-11 |
Family
ID=66188324
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811585950.XA Active CN109685506B (en) | 2018-12-25 | 2018-12-25 | Multi-signature account generation method and multi-signature account signature confirmation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109685506B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110443697A (en) * | 2019-08-08 | 2019-11-12 | 北京阿尔山区块链联盟科技有限公司 | The management method and device of bank account |
CN111523889B (en) * | 2020-04-17 | 2023-09-01 | 昆明大棒客科技有限公司 | Multiple signature implementation method, device, equipment and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105373955A (en) * | 2015-12-08 | 2016-03-02 | 布比(北京)网络技术有限公司 | Multi-signature-based digital asset treatment method and device |
KR101727134B1 (en) * | 2015-12-29 | 2017-04-26 | 주식회사 코인플러그 | Method and server for notarizing, verifying and revoking file |
CN107038578A (en) * | 2017-04-19 | 2017-08-11 | 浙江数秦科技有限公司 | Multi-signature exchange information processing method in data trade platform based on block chain |
CN107093143A (en) * | 2017-03-24 | 2017-08-25 | 钱德君 | A kind of block chain construction system of Quantum Chain |
CN107171812A (en) * | 2017-07-18 | 2017-09-15 | 光载无限(北京)科技有限公司 | It is a kind of based on block chain without key signature infrastructure construction method |
CN107370606A (en) * | 2017-07-26 | 2017-11-21 | 中山大学 | A kind of microblogging multi-signature method based on block chain |
CN108229962A (en) * | 2018-01-04 | 2018-06-29 | 众安信息技术服务有限公司 | Right management method and system based on block chain |
CN108446969A (en) * | 2018-03-29 | 2018-08-24 | 张文昌 | A kind of unified public transport book keeping operation and transaction system based on block chain |
CN108768659A (en) * | 2018-05-24 | 2018-11-06 | 深圳前海益链网络科技有限公司 | Across the chain tra nsfer system of Token assets between a kind of different blocks chain network |
CN108776896A (en) * | 2018-06-04 | 2018-11-09 | 中钞信用卡产业发展有限公司杭州区块链技术研究院 | Digital cash wallet business management method based on multi-signature and system |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160267472A1 (en) * | 2015-03-13 | 2016-09-15 | Gyft, Inc. | Securing digital gift cards with a public ledger |
US10812274B2 (en) * | 2015-05-07 | 2020-10-20 | Blockstream Corporation | Transferring ledger assets between blockchains via pegged sidechains |
CN107679857B (en) * | 2017-10-10 | 2021-04-27 | 马晶瑶 | Block chain cross-chain transaction method and storage medium |
CN108876337A (en) * | 2018-05-24 | 2018-11-23 | 深圳前海益链网络科技有限公司 | A kind of block chain network method for supporting different Token exchange money transfer transactions verifyings |
CN109039713B (en) * | 2018-07-16 | 2021-06-18 | 夸克链科技(深圳)有限公司 | Block chain consensus device and algorithm |
-
2018
- 2018-12-25 CN CN201811585950.XA patent/CN109685506B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105373955A (en) * | 2015-12-08 | 2016-03-02 | 布比(北京)网络技术有限公司 | Multi-signature-based digital asset treatment method and device |
KR101727134B1 (en) * | 2015-12-29 | 2017-04-26 | 주식회사 코인플러그 | Method and server for notarizing, verifying and revoking file |
CN107093143A (en) * | 2017-03-24 | 2017-08-25 | 钱德君 | A kind of block chain construction system of Quantum Chain |
CN107038578A (en) * | 2017-04-19 | 2017-08-11 | 浙江数秦科技有限公司 | Multi-signature exchange information processing method in data trade platform based on block chain |
CN107171812A (en) * | 2017-07-18 | 2017-09-15 | 光载无限(北京)科技有限公司 | It is a kind of based on block chain without key signature infrastructure construction method |
CN107370606A (en) * | 2017-07-26 | 2017-11-21 | 中山大学 | A kind of microblogging multi-signature method based on block chain |
CN108229962A (en) * | 2018-01-04 | 2018-06-29 | 众安信息技术服务有限公司 | Right management method and system based on block chain |
CN108446969A (en) * | 2018-03-29 | 2018-08-24 | 张文昌 | A kind of unified public transport book keeping operation and transaction system based on block chain |
CN108768659A (en) * | 2018-05-24 | 2018-11-06 | 深圳前海益链网络科技有限公司 | Across the chain tra nsfer system of Token assets between a kind of different blocks chain network |
CN108776896A (en) * | 2018-06-04 | 2018-11-09 | 中钞信用卡产业发展有限公司杭州区块链技术研究院 | Digital cash wallet business management method based on multi-signature and system |
Also Published As
Publication number | Publication date |
---|---|
CN109685506A (en) | 2019-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7385706B2 (en) | Method of distributing digital assets registered on blockchain and autonomous computing agent | |
CN109118214B (en) | Method and device for operating intelligent contract | |
US20230153453A1 (en) | Proof-of-approval distributed ledger | |
CN111309745B (en) | Virtual resource processing method and device, electronic equipment and storage medium | |
JP2017535011A (en) | Electronic money processing method and processing apparatus | |
CN101287018A (en) | Integrated data-handling method and device based on multi-system user | |
CN109685506B (en) | Multi-signature account generation method and multi-signature account signature confirmation method | |
CN108848125B (en) | Method and apparatus for providing consensus service in block chain and storage medium | |
CN109242674A (en) | Delayed flight compensation method and system, server and computer readable storage medium | |
CN109359938A (en) | A kind of optimization method of flow chart of data processing, device and terminal device | |
CN111476670A (en) | Block chain rollback insurance method, equipment and storage medium | |
CN115809909A (en) | Block chain network congestion adaptive digital asset event handling system and method | |
CN110689425A (en) | Method and device for pricing quota based on income and electronic equipment | |
CN113297594A (en) | Cross-chain transaction method and device, electronic equipment and storage medium | |
CN110991992B (en) | Processing method and device of business process information, storage medium and electronic equipment | |
CN109727040B (en) | Data publishing method, data calling method, device and storage medium | |
CN116029825B (en) | Block chain transaction method, device and system, electronic equipment and storage medium | |
US20070174113A1 (en) | Enterprise incentive management | |
CN111027977A (en) | Data verification method and device and electronic equipment | |
CN114912904B (en) | Project delivery state determining method, system, electronic equipment and storage medium | |
CN110866813A (en) | Intelligent accounting system for managing accountants | |
CN110992011A (en) | Data splitting method and device, electronic equipment and storage medium | |
Park et al. | Efficient computation offloading for ethereum DApps | |
US20180276670A1 (en) | Cognitive controlled credit card authorization | |
CN111951114B (en) | Task execution method and device, electronic equipment and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |