CN111027973A - Transfer certificate authorization submitting method, device and storage medium - Google Patents
Transfer certificate authorization submitting method, device and storage medium Download PDFInfo
- Publication number
- CN111027973A CN111027973A CN201911224017.4A CN201911224017A CN111027973A CN 111027973 A CN111027973 A CN 111027973A CN 201911224017 A CN201911224017 A CN 201911224017A CN 111027973 A CN111027973 A CN 111027973A
- Authority
- CN
- China
- Prior art keywords
- transaction
- authorization
- server
- submission
- certificate
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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 OR CALCULATING; 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/40—Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06Q20/401—Transaction verification
- G06Q20/4014—Identity check for transactions
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Physics & Mathematics (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Technology Law (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention provides a transfer certificate authorization submitting method, a device and a storage medium, which relate to the technical field of block chains and the like, and the method comprises the following steps: and in response to the current user entrusting the first certificate submitting server to submit the transfer certificate, generating a first authorized transaction comprising first authorization information and sending the first authorized transaction to the data forwarding server. The method and the device ensure the assets of all users in the channel and improve the user experience.
Description
Technical Field
The application relates to the technical field of block chains, in particular to a transfer certificate authorization submitting method, device and storage medium.
Background
In another patent application with application number CN201911073994.9 filed by the applicant, it is assumed that a first user sends two down-link transactions tx1 to a second user, and the second user sends one down-link transaction tx2 to the first user; when the first client of the first user sends a close channel transaction (which includes only tx2) that is eventually correctly executed by the blockchain node, the second client, due to an offline failure to timely submit proof of transfer including tx1, clears the final transaction, the second user's assets are compromised.
Disclosure of Invention
In view of the above-described deficiencies or inadequacies in the prior art, it would be desirable to provide a transfer certificate authority submission method, apparatus, and storage medium that ensure the assets of each user within a channel.
In a first aspect, the present invention provides a transfer certificate authorization submitting method suitable for a client, where the method includes:
responding to a current user to entrust a first certificate submitting server to submit a transfer certificate, generating a first authorization transaction comprising first authorization information, sending the first authorization transaction to a data forwarding server, enabling the data forwarding server to forward the first authorization transaction to a block chain node, enabling the block chain node to execute the first authorization transaction through a first contract, recording the first authorization information on the block chain, enabling the data forwarding server to update first registration request information of a current client after acquiring an execution result of the first authorization transaction from the block chain, and storing a first push address of the current client and a second push address of the first certificate submitting server according to the updated first registration request information;
wherein the first authorization information comprises a public key of the first attestation submission server; the data forwarding server is further configured to forward, to the first certification submitting server, the first downlink transaction, in which the first user transfers money to the current user in the first channel, to the first certification submitting server according to the second push address, so that the first certification submitting server:
storing the first downlink transaction;
obtaining an execution result of the first closed channel transaction from the blockchain; wherein the first close channel transaction is generated by the first client in response to the first user closing the first channel with the current user;
judging whether the transfer certificate of the current user is qualified to be submitted:
if yes, generating second transfer certificates according to the plurality of first under-chain transactions found from the local, generating submission certificate transactions according to the second transfer certificates, sending the submission certificate transactions to the blockchain nodes so that the blockchain nodes execute the submission certificate transactions according to the first authorization information through the first contracts, and recording the second transfer certificates on the blockchain.
In a second aspect, the present invention provides a transfer certificate authorization submitting method suitable for a data forwarding server, where the method includes:
receiving a first authorization transaction comprising first authorization information, forwarding the first authorization transaction to a blockchain node, so that the blockchain node executes the first authorization transaction through a first contract, and recording the first authorization information to a blockchain; the first authorization information comprises a public key of a first certificate submitting server, and the first authorization transaction is generated by the second client in response to the second user trusting the first certificate submitting server to submit the transfer certificate;
after the execution result of the first authorized transaction is obtained from the blockchain, updating first registration request information of the second client, and storing a first push address of the second client and a second push address of the first certificate submission server according to the updated first registration request information;
forwarding a first downlink transaction, which is transferred by the first user to the second user in the first channel, to the first certificate submission server according to the second push address, so that the first certificate submission server:
storing the first downlink transaction;
obtaining an execution result of the first closed channel transaction from the blockchain; wherein the first close channel transaction is generated by the first client in response to the first user closing the first channel with the second user;
judging whether the transfer certificate of the second user is qualified to be submitted:
if yes, generating second transfer certificates according to the plurality of first under-chain transactions found from the local, generating submission certificate transactions according to the second transfer certificates, sending the submission certificate transactions to the blockchain nodes so that the blockchain nodes execute the submission certificate transactions according to the first authorization information through the first contracts, and recording the second transfer certificates on the blockchain.
In a third aspect, the present invention provides a transfer certification authorization submission method for a certification submission server, the method comprising:
receiving a first down-link transaction forwarded by the data forwarding server according to a second push address of the current server; the second push address is stored according to the updated first registration request information after the data forwarding server acquires the execution result of the first authorized transaction from the blockchain; the first authorized transaction is generated by the second client in response to the second user entrusting the current server to submit the transfer certificate, the first authorized transaction comprises first authorized information, the first authorized information comprises a public key of the current server, the first authorized transaction is sent to the block chain node by the second client through the data forwarding server, so that the block chain node executes the first authorized transaction through a first contract, and the first authorized information is recorded to the block chain;
obtaining an execution result of the first closed channel transaction from the blockchain; wherein the first close channel transaction is generated by the first client in response to the first user closing the first channel with the second user;
judging whether the transfer certificate of the second user is qualified to be submitted:
generating second transfer certificates according to a plurality of first down-chain transactions searched locally, generating submission certificate transactions according to the second transfer certificates, sending the submission certificate transactions to the blockchain nodes so that the blockchain nodes execute the submission certificate transactions according to the first authorization information through the first contracts, and recording the second transfer certificates on the blockchain.
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 transfer proof authorization submission method provided in accordance with embodiments of the present invention.
In a fifth aspect, the present invention also provides a storage medium storing a computer program for causing a computer to execute the transfer certificate authority submitting method according to the embodiments of the present invention.
According to the transfer certificate authorization submitting method, the transfer certificate authorization submitting device and the storage medium, provided by the embodiments of the invention, the first authorization transaction including the first authorization information is generated and sent to the data forwarding server by responding to the fact that the current user trusts the first certificate submitting server to submit the transfer certificate, so that the assets of each user in the channel are ensured, and the user experience is improved.
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 transfer certificate authority submission method according to an embodiment of the present invention.
FIG. 2 is a flow diagram of a preferred embodiment of the method shown in FIG. 1.
FIG. 3 is a flow chart of another transfer certificate authority submission method provided by an embodiment of the invention.
FIG. 4 is a flow chart of a preferred embodiment of the method shown in FIG. 3.
FIG. 5 is a flow chart of another transfer certificate authority submission method provided by an embodiment of the invention.
FIG. 6 is a flow chart of a preferred embodiment of the method shown in FIG. 5.
Fig. 7 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.
In another patent application with application number CN201911073994.9 filed by the applicant, the applicant proposed a transaction mechanism that enables a lightweight user terminal outside a blockchain network to perform a fast and secure offline transaction by configuring a lightning network contract on a blockchain and configuring a data forwarding server (the data forwarding server is the server in the patent document with application number CN 201911073994.9) outside the blockchain network to serve users of the lightning network.
Taking the example that the user a and the user b perform the down-link transaction, and the transfer certificate submitted by the user a only includes the down-link transaction sent by the user b through the data forwarding server, the business logic of the transaction mechanism is as follows:
a and b are respectively registered in a data forwarding server;
a or b sends a channel to a block link point through a data forwarding server to create a transaction tx _ openchannel, and after a lightning network contract successfully executes the tx _ openchannel, a first channel between a and b is created on the link;
a, a deposit transaction tx _ destination _ a of a is sent to a block link point through a data forwarding server, after a lightning network contract is successfully executed tx _ destination _ a, the data forwarding server generates an execution result of tx _ destination _ a and informs a and b, and a and b update the expendable asset limit information of a according to tx _ destination _ a; similarly, b sends the deposit transaction tx _ destination _ b of b and executes the same steps, and finally a and b update the expendable asset limit information of b according to tx _ destination _ b;
a sends a down-link transaction tx _ offchain (a-b) which is transferred from a to b in a first channel to b through a data forwarding server;
b sending a down-link transaction tx _ offchain (b-a) to a through the data forwarding server, wherein the b transfers to a in the first channel;
a, sending a closing channel transaction tx _ close including tx _ offchain (b-a) to a block chain node through a data forwarding server, and closing a first channel between a and b after a lightning network contract successfully executes tx _ close; the data forwarding server generates an execution result of tx _ close and informs a and b;
if the b finds that the tx _ close only comprises tx _ offchain (b-a), the b sends a submission proof transaction tx _ update comprising the tx _ offchain (a-b) to the block link point through the data forwarding server, and after the lightning network contract is successfully executed tx _ update, the data forwarding server generates an execution result of the tx _ update and informs the a and the b;
a or b sends clearing transaction tx _ set to the block chain node through the data forwarding server, and after the lightning network contract executes the tx _ set successfully, assets of a and b are cleared according to tx _ offchain (b-a) and tx _ offchain (a-b).
In the above mechanism, if b does not submit tx _ offchain (b-a) in time, the second user will assume the problem of failing to acquire or failing to acquire sufficient assets.
The problems caused by the above mechanism can be solved by the data acquisition method shown in fig. 1.
Fig. 1 is a flowchart of a transfer certificate authority submission method according to an embodiment of the present invention. As shown in fig. 1, in this embodiment, the present invention provides a transfer certificate authority submitting method suitable for a client, where the method includes:
s12: responding to a current user to entrust a first certificate submitting server to submit a transfer certificate, generating a first authorization transaction comprising first authorization information, sending the first authorization transaction to a data forwarding server, enabling the data forwarding server to forward the first authorization transaction to a block chain node, enabling the block chain node to execute the first authorization transaction through a first contract, recording the first authorization information on the block chain, enabling the data forwarding server to update first registration request information of a current client after acquiring an execution result of the first authorization transaction from the block chain, and storing a first push address of the current client and a second push address of the first certificate submitting server according to the updated first registration request information;
wherein the first authorization information comprises a public key of the first attestation submission server; the data forwarding server is further configured to forward, to the first certification submitting server, the first downlink transaction, in which the first user transfers money to the current user in the first channel, to the first certification submitting server according to the second push address, so that the first certification submitting server:
storing the first downlink transaction;
obtaining an execution result of the first closed channel transaction from the blockchain; wherein the first close channel transaction is generated by the first client in response to the first user closing the first channel with the current user;
judging whether the transfer certificate of the current user is qualified to be submitted:
if yes, generating second transfer certificates according to the plurality of first under-chain transactions found from the local, generating submission certificate transactions according to the second transfer certificates, sending the submission certificate transactions to the blockchain nodes so that the blockchain nodes execute the submission certificate transactions according to the first authorization information through the first contracts, and recording the second transfer certificates on the blockchain.
Specifically, assuming that the transaction amount of the first-link-down transaction is configured as the sum of the transaction amount of the last first-link-down transaction and the transaction amount to be transferred as an example, assuming that a first user is a, a first client is a, a second user is B, a second client is B, a first certificate submission server is USS, a public key of the first certificate submission server is pub _ USS, and a data forwarding server is DFS; the first contract is a lightning network contract, a first closed channel transaction is generated by a responding to a first channel between a closed state and a closed state, and after the DSF stores a first push address of b and a second push address of the USS according to the updated first registration request information, a sends two first off-link transactions tx1 and tx2 to b in sequence through the DFS;
in step S12, B generates and sends a first authorized transaction including the first authorization information of pub _ C to the DFS in response to B committing C to submit proof of transfer;
the DFS forwards the first authorized transaction to the blockchain node;
the block chain link point executes a first authorization transaction through a first contract, and records first authorization information including pub _ USS to the block chain;
after the DFS obtains the execution result of the first authorized transaction from the blockchain, updating the first registration request information of the B, and storing a first push address of the B and a second push address of the USS according to the updated first registration request information;
the DFS forwards tx1 transferring b in the first channel by a to the USS according to the second push address, and the USS stores tx 1;
the DFS forwards tx2 transferring b in the first channel by a to the USS according to the second push address, and the USS stores tx 2;
the USS acquires an execution result of the first closed channel transaction from the blockchain;
the USS judges whether the transfer certificate of b is qualified to be submitted:
since the block chain records the first authorization information comprising pub _ USS, the block chain indicates that USS has the transfer certification submission qualification of b; the USS generates a second transfer certificate according to a plurality of first-chain down-link transactions searched locally; because the transaction amount of the first-chain down transaction is configured to be the sum of the transaction amount of the last first-chain down transaction and the transaction amount to be transferred, the USS generates a second transfer certificate according to tx2, generates a submission certificate transaction according to the second transfer certificate, and sends the submission certificate transaction to the blockchain node;
and the block link point executes a submission certification transaction according to the first authorization information through a first contract (namely, the block link point judges whether the USS has the transfer certification submission qualification of b or not, and the block chain records the first authorization information comprising pub _ USS and indicates that the USS has the transfer certification submission qualification of b), and records a second transfer certification on the block chain.
In the above embodiment, the transaction amount of the first-link-down transaction is configured as the sum of the transaction amount of the last first-link-down transaction and the transaction amount to be transferred, assuming that the first user is a, the first client is a, the second user is B, the second client is B, the first certificate submitting server is USS, the public key of the first certificate submitting server is pub _ USS, and the data forwarding server is DFS; the first contract is a lightning network contract, a first closed channel transaction is generated by a responding to a first channel between a closed state and a closed state, after the DSF stores a first push address of b and a second push address of USS according to updated first registration request information, a sends two first down-link transactions tx1 and tx2 to b in sequence through DFS for detailed explanation;
in more embodiments, the transaction amount of the second downlink transaction may be configured to be the sum of the transaction amounts of all the first downlink transactions according to actual requirements, that is, the second transfer certificate needs to be generated according to all the searched downlink transactions; it is assumed that the USS has other first-chain transaction tx0 on the DSF before being authorized by b, and only tx1, tx2 are received on the USS at this time; in order to correctly generate the second transfer proof, the USS needs to request all the first offline transactions existing on the DFS from the DFS, and the USS generates the second transfer proof according to tx0, tx1 and tx2, so that the same technical effect can be realized.
In further embodiments, a forwarding party configured to forward the first downlink transaction to the USS according to actual requirements, for example, configured as a second client, may be further configured, where the specific implementation is as follows:
after receiving the first-chain-down transaction forwarded by the A through the DFS, the B sends receipt information of the first-chain-down transaction successfully received to the A through the DFS, and simultaneously sends the received first-chain-down transaction to the USS, so that the same technical effect can be achieved.
The embodiment ensures that the assets of each user in the channel are not damaged, and improves the user experience.
FIG. 2 is a flow diagram of a preferred embodiment of the method shown in FIG. 1. As shown in fig. 2, in a preferred embodiment, the method further comprises:
s14: receiving authorization notification information; the authorization notification information is generated by the data forwarding server acquiring the execution result of the first authorization transaction from the blockchain and is respectively pushed to each client and the first certification submitting server in the first channel.
In further embodiments, the receiver of the authorization notification information may also be configured according to actual requirements, for example, the receiver of the authorization notification information is configured as the second client and the first certificate submitting server, and the same technical effect may be achieved.
The embodiment enables the clients and the first certificate submitting server in the first channel to acquire the authorization notification information in time, and further improves user experience.
Preferably, the authorization information further includes a channel id.
Specifically, assume that three channels are created between a and b, and the ids of the three channels are id1, id2, id 3; b may specifically configure the qualification of the USS to submit proof of transfer by configuring the channel id in the authorization information, e.g., specifying the channel id as id2 in the authorization information, the USS only qualifies to generate a commit certification transaction for the channel on which b is located at id 2;
the embodiment enables the user to selectively authorize the certificate submitting server to submit the transfer certificate, and further improves the user experience.
FIG. 3 is a flow chart of another transfer certificate authority submission method provided by an embodiment of the invention. As shown in fig. 3, in this embodiment, the present invention provides a transfer certificate authority submitting method suitable for a data forwarding server, where the method includes:
s22: receiving a first authorization transaction comprising first authorization information, forwarding the first authorization transaction to a blockchain node, so that the blockchain node executes the first authorization transaction through a first contract, and recording the first authorization information to a blockchain; the first authorization information comprises a public key of a first certificate submitting server, and the first authorization transaction is generated by the second client in response to the second user trusting the first certificate submitting server to submit the transfer certificate;
s24: after the execution result of the first authorized transaction is obtained from the blockchain, updating first registration request information of the second client, and storing a first push address of the second client and a second push address of the first certificate submission server according to the updated first registration request information;
s26: forwarding a first downlink transaction, which is transferred by the first user to the second user in the first channel, to the first certificate submission server according to the second push address, so that the first certificate submission server:
storing the first downlink transaction;
obtaining an execution result of the first closed channel transaction from the blockchain; wherein the first close channel transaction is generated by the first client in response to the first user closing the first channel with the second user;
judging whether the transfer certificate of the second user is qualified to be submitted:
if yes, generating second transfer certificates according to the plurality of first under-chain transactions found from the local, generating submission certificate transactions according to the second transfer certificates, sending the submission certificate transactions to the blockchain nodes so that the blockchain nodes execute the submission certificate transactions according to the first authorization information through the first contracts, and recording the second transfer certificates on the blockchain.
The transfer proof authorization submission principle of the above embodiment may refer to the method shown in fig. 1, and is not described herein again.
FIG. 4 is a flow chart of a preferred embodiment of the method shown in FIG. 3. As shown in fig. 4, in a preferred embodiment, step S24 is followed by:
s25: and acquiring an execution result of the first authorization transaction from the blockchain to generate authorization notification information, and respectively pushing the authorization notification information to each client and the first certificate submitting server in the first channel.
The transfer proof authorization submission principle of the above embodiment may refer to the method shown in fig. 2, and is not described herein again.
Preferably, the authorization information further includes a channel id.
The transfer certification authority submission principle of the above embodiment may refer to a method shown in a preferred embodiment shown in fig. 1, and is not described herein again.
FIG. 5 is a flow chart of another transfer certificate authority submission method provided by an embodiment of the invention. As shown in fig. 5, in this embodiment, the present invention provides a transfer certification authorization submission method suitable for a certification submission server, where the method includes:
s32: receiving a first down-link transaction forwarded by the data forwarding server according to a second push address of the current server; the second push address is stored according to the updated first registration request information after the data forwarding server acquires the execution result of the first authorized transaction from the blockchain; the first authorized transaction is generated by the second client in response to the second user entrusting the current server to submit the transfer certificate, the first authorized transaction comprises first authorized information, the first authorized information comprises a public key of the current server, the first authorized transaction is sent to the block chain node by the second client through the data forwarding server, so that the block chain node executes the first authorized transaction through a first contract, and the first authorized information is recorded to the block chain;
s34: obtaining an execution result of the first closed channel transaction from the blockchain; wherein the first close channel transaction is generated by the first client in response to the first user closing the first channel with the second user;
s36: judging whether the transfer certificate of the second user is qualified to be submitted:
if yes, go to step S37: and generating second transfer certificates according to the plurality of first under-chain transactions found locally, generating submission certificate transactions according to the second transfer certificates, sending the submission certificate transactions to the blockchain nodes so that the blockchain nodes execute the submission certificate transactions according to the first authorization information through the first contracts, and recording the second transfer certificates on the blockchain.
The transfer proof authorization submission principle of the above embodiment may refer to the method shown in fig. 1, and is not described herein again.
FIG. 6 is a flow chart of a preferred embodiment of the method shown in FIG. 5. As shown in fig. 6, in a preferred embodiment, step S32 is preceded by:
s31: receiving authorization notification information sent by a data forwarding server; and the data forwarding server acquires the execution result of the first authorization transaction from the blockchain to generate authorization notification information, and the authorization notification information is respectively pushed to each client and the current server in the first channel.
The transfer proof authorization submission principle of the above embodiment may refer to the method shown in fig. 2, and is not described herein again.
Preferably, the authorization information further includes a channel id.
The transfer certification authority submission principle of the above embodiment may refer to a method shown in a preferred embodiment shown in fig. 1, and is not described herein again.
Fig. 7 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
As shown in fig. 7, as another aspect, the present application also provides an apparatus 700 including one or more Central Processing Units (CPUs) 701 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)702 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 703. In the RAM703, various programs and data necessary for the operation of the apparatus 700 are also stored. The CPU701, the ROM702, and the RAM703 are connected to each other via a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
The following components are connected to the I/O interface 705: an input portion 706 including a keyboard, a mouse, and the like; an output section 707 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 708 including a hard disk and the like; and a communication section 709 including a network interface card such as a LAN card, a modem, or the like. The communication section 709 performs communication processing via a network such as the internet. A drive 710 is also connected to the I/O interface 705 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 710 as necessary, so that a computer program read out therefrom is mounted into the storage section 708 as necessary.
In particular, according to an embodiment of the present disclosure, the transfer certificate authority submission method 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 transfer proof authorization submission method. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 709, and/or installed from the removable medium 711.
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 transfer certificate authority submission methods described herein.
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 (11)
1. A transfer certificate authorization submission method, applicable to a client, the method comprising:
responding to a current user to entrust a first certificate submitting server to submit a transfer certificate, generating a first authorization transaction comprising first authorization information, sending the first authorization transaction to a data forwarding server, enabling the data forwarding server to forward the first authorization transaction to a block chain node, enabling the block chain node to execute the first authorization transaction through a first contract, recording the first authorization information to the block chain, enabling the data forwarding server to update first registration request information of a current client after acquiring an execution result of the first authorization transaction from the block chain, and storing a first push address of the current client and a second push address of the first certificate submitting server according to the updated first registration request information;
wherein the first authorization information comprises a public key of the first attestation submission server; the data forwarding server is further configured to forward, to the first certification submitting server, a first downlink transaction, in which the first user transfers money to the current user in the first channel, according to the second push address, so that the first certification submitting server:
storing the first downlink transaction;
obtaining an execution result of the first closed channel transaction from the blockchain; wherein the first close channel transaction is generated by the first client in response to the first user closing the first channel with the current user;
judging whether the transfer certificate of the current user is qualified to be submitted:
if yes, generating second transfer certificates according to the plurality of first under-chain transactions found locally, generating submission certificate transactions according to the second transfer certificates, sending the submission certificate transactions to blockchain nodes, enabling the blockchain nodes to execute the submission certificate transactions according to the first authorization information through the first contracts, and recording the second transfer certificates on blockchains.
2. The method of claim 1, further comprising:
receiving authorization notification information; the authorization notification information is generated by the data forwarding server acquiring the execution result of the first authorization transaction from the blockchain and is respectively pushed to each client in the first channel and the first certification submitting server.
3. The method of claim 1, wherein the authorization information further comprises a channel id.
4. A transfer certificate authorization submission method, adapted for use with a data forwarding server, the method comprising:
receiving a first authorization transaction comprising first authorization information, forwarding the first authorization transaction to a blockchain node, so that the blockchain node executes the first authorization transaction through a first contract, and recording the first authorization information on a blockchain; wherein the first authorization information comprises a public key of the first proof submission server, the first authorized transaction generated by the second client in response to the second user committing the first proof submission server to submit the proof of transfer;
after the execution result of the first authorized transaction is obtained from the blockchain, updating first registration request information of the second client, and storing a first push address of the second client and a second push address of the first certificate submission server according to the updated first registration request information;
forwarding a first downlink transaction, which is transferred by a first user to the second user in a first channel, to the first certification submission server according to the second push address, so that the first certification submission server:
storing the first downlink transaction;
obtaining an execution result of the first closed channel transaction from the blockchain; wherein the first close channel transaction is generated by a first client in response to the first user closing a first channel with the second user;
determining whether the transfer certificate submission qualification of the second user is possessed:
if yes, generating second transfer certificates according to the plurality of first under-chain transactions found locally, generating submission certificate transactions according to the second transfer certificates, sending the submission certificate transactions to blockchain nodes, enabling the blockchain nodes to execute the submission certificate transactions according to the first authorization information through the first contracts, and recording the second transfer certificates on blockchains.
5. The method of claim 4, wherein after storing the first push address of the second client and the second push address of the first credential submission server according to the updated first registration request information, further comprising:
and acquiring an execution result of the first authorization transaction from the blockchain to generate authorization notification information, and respectively pushing the authorization notification information to each client in the first channel and the first certificate submitting server.
6. The method of claim 4, wherein the authorization information further comprises a channel id.
7. A transfer attestation authorization submission method, adapted for an attestation submission server, the method comprising:
receiving a first down-link transaction forwarded by the data forwarding server according to a second push address of the current server; the second push address is stored according to the updated first registration request information after the data forwarding server acquires the execution result of the first authorized transaction from the blockchain and updates the first registration request information of the second client; the first authorized transaction is generated by the second client in response to the second user entrusting the current server to submit the transfer certificate, the first authorized transaction comprises first authorized information, the first authorized information comprises a public key of the current server, the first authorized transaction is sent to the block chain node by the second client through the data forwarding server, so that the block chain node executes the first authorized transaction through a first contract, and the first authorized information is recorded on the block chain;
obtaining an execution result of the first closed channel transaction from the blockchain; wherein the first close channel transaction is generated by the first client in response to the first user closing the first channel with the second user;
determining whether the transfer certificate submission qualification of the second user is possessed:
generating second transfer proofs according to a plurality of first under-chain transactions found locally, generating submission proofs according to the second transfer proofs, sending the submission proofs to blockchain nodes, allowing the blockchain nodes to execute the submission proofs according to the first authorization information through the first contract, and recording the second transfer proofs to blockchains.
8. The method of claim 7, wherein before the first off-link transaction forwarded by the receiving data forwarding server according to the second push address of the current server, further comprising:
receiving authorization notification information sent by the data forwarding server; and the data forwarding server acquires the execution result of the first authorization transaction from the blockchain to generate authorization notification information, and the authorization notification information is respectively pushed to each client and the current server in the first channel.
9. The method of claim 7, wherein the authorization information further comprises a channel id.
10. An apparatus, characterized in that the apparatus comprises:
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-9.
11. 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-9.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911224017.4A CN111027973A (en) | 2019-12-04 | 2019-12-04 | Transfer certificate authorization submitting method, device and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911224017.4A CN111027973A (en) | 2019-12-04 | 2019-12-04 | Transfer certificate authorization submitting method, device and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN111027973A true CN111027973A (en) | 2020-04-17 |
Family
ID=70204120
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201911224017.4A Pending CN111027973A (en) | 2019-12-04 | 2019-12-04 | Transfer certificate authorization submitting method, device and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111027973A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112488725A (en) * | 2020-12-25 | 2021-03-12 | 杭州复杂美科技有限公司 | Private authorized transfer method, device and storage medium |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB201717414D0 (en) * | 2017-10-23 | 2017-12-06 | Cygnetise Ltd | Methods and apparatus for verifying a user transaction |
| WO2018036701A1 (en) * | 2016-08-24 | 2018-03-01 | Siemens Aktiengesellschaft | Secure processing of an authorisation verification request |
| CN108009917A (en) * | 2017-10-13 | 2018-05-08 | 中国银联股份有限公司 | The transaction verification and register method and system of digital cash |
| WO2018112946A1 (en) * | 2016-12-23 | 2018-06-28 | 深圳前海达闼云端智能科技有限公司 | Registration and authorization method, device and system |
| CN108229962A (en) * | 2018-01-04 | 2018-06-29 | 众安信息技术服务有限公司 | Right management method and system based on block chain |
| CN108764872A (en) * | 2018-06-01 | 2018-11-06 | 杭州复杂美科技有限公司 | A kind of authority to pay method and system, equipment and storage medium |
| CN109146448A (en) * | 2018-07-13 | 2019-01-04 | 杭州复杂美科技有限公司 | Across chain assets transfer method, equipment and storage medium |
| WO2019072299A2 (en) * | 2018-12-19 | 2019-04-18 | Alibaba Group Holding Limited | Data isolation in a blockchain network |
-
2019
- 2019-12-04 CN CN201911224017.4A patent/CN111027973A/en active Pending
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2018036701A1 (en) * | 2016-08-24 | 2018-03-01 | Siemens Aktiengesellschaft | Secure processing of an authorisation verification request |
| WO2018112946A1 (en) * | 2016-12-23 | 2018-06-28 | 深圳前海达闼云端智能科技有限公司 | Registration and authorization method, device and system |
| CN108009917A (en) * | 2017-10-13 | 2018-05-08 | 中国银联股份有限公司 | The transaction verification and register method and system of digital cash |
| GB201717414D0 (en) * | 2017-10-23 | 2017-12-06 | Cygnetise Ltd | Methods and apparatus for verifying a user transaction |
| CN108229962A (en) * | 2018-01-04 | 2018-06-29 | 众安信息技术服务有限公司 | Right management method and system based on block chain |
| CN108764872A (en) * | 2018-06-01 | 2018-11-06 | 杭州复杂美科技有限公司 | A kind of authority to pay method and system, equipment and storage medium |
| CN109146448A (en) * | 2018-07-13 | 2019-01-04 | 杭州复杂美科技有限公司 | Across chain assets transfer method, equipment and storage medium |
| WO2019072299A2 (en) * | 2018-12-19 | 2019-04-18 | Alibaba Group Holding Limited | Data isolation in a blockchain network |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112488725A (en) * | 2020-12-25 | 2021-03-12 | 杭州复杂美科技有限公司 | Private authorized transfer method, device and storage medium |
| CN112488725B (en) * | 2020-12-25 | 2022-04-05 | 杭州复杂美科技有限公司 | Private authorized transfer method, device and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP3903268B1 (en) | Blockchain management system | |
| CN109636427B (en) | Business processing method, device, medium and electronic equipment based on block chain system | |
| KR102206940B1 (en) | How to execute multiparty transactions using smart contracts | |
| US9967334B2 (en) | Computing device configuration and management using a secure decentralized transaction ledger | |
| CN107846278B (en) | Intelligent contract processing method and device | |
| CN111107130B (en) | Carrier class telecommunications blockchain | |
| US12126734B2 (en) | Cross-chain data transmission method and apparatus, computer device, storage medium, and computer program product | |
| JP2022508247A (en) | High-performance distributed recording system with reliability-based consensus | |
| US11038685B1 (en) | Correcting blockchain transactions with cryptocurrency type mistakes | |
| US20190108498A1 (en) | Decentralized pooled mining for enabling proof-of-work on blockchains | |
| JP2022534023A (en) | Computer-implemented system and method | |
| CN114586314A (en) | Blockchain transaction control based on private key management | |
| US12034868B2 (en) | Systems and methods for generating secure, encrypted communications across distributed computer networks for authorizing use of cryptography-based digital repositories in order to perform blockchain operations in decentralized applications | |
| US12081653B2 (en) | Systems and methods for providing secure, encrypted communications across distributed computer networks by coordinating cryptography-based digital repositories in order to perform blockchain operations in decentralized applications | |
| CN110619222A (en) | Authorization processing method, device, system and medium based on block chain | |
| WO2022222110A1 (en) | Federated learning method and apparatus applied to mobile communication system, and terminal and medium | |
| CN114143062A (en) | Block chain-based security authentication system, method, terminal and medium for fog computing environment | |
| CN114978635A (en) | Cross-domain authentication method and device, and user registration method and device | |
| US12244743B2 (en) | Systems and methods for performing blockchain operations using multi-party computation cohort management groupings | |
| US12277550B2 (en) | Systems and methods for requesting secure, encrypted communications across distributed computer networks for authorizing use of cryptography-based digital repositories in order to perform blockchain operations in decentralized applications | |
| Aumayr et al. | Donner: UTXO-Based Virtual Channels Across Multiple Hops. | |
| Krummacker et al. | DLT architectures for trust anchors in 6G | |
| US12256027B2 (en) | Systems and methods for performing two-tiered multi-party computation signing procedures to perform blockchain operations | |
| CN110942300B (en) | Transfer certificate submitting method, device and storage medium | |
| CN111027973A (en) | Transfer certificate authorization submitting method, device and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| WD01 | Invention patent application deemed withdrawn after publication | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20200417 |