Block chain user identity confusion method based on payment hub

Through conditional transfer transactions and smart contract construction puzzles between payment hubs and users, the problem of increased computing and communication costs in the existing technology when the number of users is large is solved, efficient blockchain user identity confusion is achieved, and the block cost is reduced. The computational and communication costs of the chain.

CN118569863APending Publication Date: 2024-08-30HUZHOU UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410699206.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

The existing payment hub-based blockchain user identity obfuscation method increases linearly when the number of users is large, causing the computer hardware system to crash and lacking practicality.

Method used

By constructing puzzles through conditional transfer transactions and smart contracts between the payment hub T and users UAi and UBi, multiple conditional transfer transactions can be completed by solving the puzzle in one go, reducing the calculation and communication costs of the payment hub.

Benefits of technology

It is realized that when n users participate, the payment hub T only needs to solve the puzzle once to complete 2n conditional transfer transactions, which significantly reduces the calculation and communication costs of the blockchain and improves the system efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118569863A
    Figure CN118569863A
Patent Text Reader

Abstract

The invention discloses a block chain user identity confusion method based on a payment hub. The method comprises the following steps: 1, registration: storing a homogenized credential token commonly accepted by a payment hub T of a block chain and users UA1, UA2,..., UAn, UB1, UB2,..., UBn (totally 2n) to a joint address; 2, generating a puzzle: when a certain user UAi initiates a condition transfer request to T, generating a puzzle TX of condition transfer transactions, sending a transaction request to another user UBi, and recording the number n of condition transfer transactions by T; the UBi sends the TX to the T, and the payment hub T records the condition transfer transaction number n '; and through comparison of n and n ', when n' is equal to n, each UAi obtains one transfer token from T, T obtains one transfer token from each UBi, and one token is reduced from each UBi. And finally, the effect of dynamically supplementing and reducing the homogenized voucher can be established regardless of the number of the users, so that efficient user identity confusion can still be realized when the number of the users participating in confusion is large.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of blockchain technology, and in particular to a blockchain user identity obfuscation method based on a payment hub. Background Art

[0002] Blockchain technology is a decentralized database technology (distributed ledger technology). Blockchain technology itself still has some technical problems, especially the identity privacy of blockchain users. An existing technical solution to this problem is to use payment hub (HUB) technology.

[0003] The technology is a centralized hub that performs obfuscation operations to protect the identity of blockchain users. Payment hub (T): is a blockchain user with its own public-private key pair (PK T , S.K. T The payment hub establishes a smart contract to realize the intermediary function. Each blockchain user U has his own public and private key pair (PK U , S.K. U ). Each user who participates in identity obfuscation is connected to the payment hub. Each blockchain user has a certain number of tokens, which are used to form a transaction format that meets the blockchain record requirements. However, the existing obfuscation operation based on the payment hub requires the payment hub's computing and communication costs to increase linearly with the number of users participating in the obfuscation. When the number of users who need to participate in the obfuscation is large, the computing and communication pressure of the payment hub also increases, and the computer hardware system is prone to crash. Therefore, the existing solution is not practical. Summary of the invention

[0004] The present invention aims at the problems pointed out in the above background technology. By using an algorithm, the calculation and communication cost of the payment hub can still be linearly reduced to a constant level when the number of users participating in the obfuscation is large, thereby realizing efficient user identity obfuscation based on the payment hub. The blockchain user identity obfuscation method based on the payment hub includes the following steps:

[0005] Phase 1 is registration: there are 2n users U A1 , U A2 ,…,U An ,U B1 ,U B2 ...U Bn Registration required. ni represents any one of the 2n users. Each user U ni Establish a public lock address PK with the payment hub T <Uni,T> , the address is composed of U niBoth T and T agree to save the token, and save one or more tokens; the token is in U ni and T agree on the distribution, and get U ni It will be effective after the joint signature of T is approved;

[0006] Stage 2 is to generate the puzzle:

[0007] Step 2-1: Each user U who needs to obtain a token from the payment hub T through this solution Ai (i=1,2,…,n) initiates a conditional transfer request Req to T and waits for T’s reply;

[0008] Step 2-2: T receives a user U Ai After the request, a puzzle is constructed using the smart contract, and the puzzle is defined as a conditional transfer transaction TX;

[0009] TX={If U Ai If T can provide the signature of the block with height h in the blockchain, then U Ai Public lock address PK with T <UAi,T> The existing allocation of tokens in is changed to U Ai Add a token, T reduces a token, || T signs this TX};

[0010] Step 2-3: U Ai After receiving TX, send it to another user U Bi Send a transaction request;

[0011] Step 2-4: T counts the number of conditional transfer transactions generated by T in this phase, and the total number is recorded as n;

[0012] Stage 3 is solving the puzzle:

[0013] Step 3-1: Each user U who needs to transfer tokens to the payment hub T through this solution Bi (i=1,2,…,n) initiates a conditional transfer transaction TX to T;

[0014] TX = {If T can provide "T's signature for the block with height h of the blockchain", then U Bi PK with T's public lock address <UBi,T> The existing token allocation is changed to "U Bi Reduce a token, T increase a token"||U Bi Sign this TX};

[0015] Step 3-2: T counts the number of conditional transfer requests received in this phase, and the total number is recorded as n′;

[0016] A. If, after the time T has been reached as scheduled, n' < n, T aborts the protocol;

[0017] B. If, within the time scheduled by T, n' = n, then:

[0018] i. T publicly releases "T's signature for the block at height h of the blockchain";

[0019] ii. T attaches its own signature to the TX in step 3-1 and publishes it to the blockchain, thereby obtaining the token;

[0020] iii. U Ai attaches its own signature to the TX in step 2-2 and publishes it to the blockchain, thereby obtaining the token. Ai

[0021] The beneficial effects of the present invention are:

[0022] This method enables, when n users participate, the payment hub T to solve the puzzle only once, and thus can complete 2n conditional transfer transactions at one time. Moreover, the costs for T to calculate and publish the solution of the puzzle are both independent of n, significantly reducing the computational and communication costs of the blockchain. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 Flowchart of the method of the present invention. DETAILED DESCRIPTION OF THE INVENTION

[0024] In combination with Figure 1 , there is a payment hub T and users U A1 of the blockchain, U A2 , …, U An , U B1 , U B2 ……U Bn Assuming that we take n = 2, that is, 4 users U A1 , U A2 , U B1 , U B2 , in the case of blockchain user identity obfuscation and assuming that the protocol does not abort, the specific steps of the solution implementation are explained as follows:

[0025] Phase 1 is the registration phase: The 4 users are respectively U A1 , U A2 , U B1 , U B2 All establish their respective joint addresses, that is, public lock addresses, with T respectively. Taking the public lock address of U A1 and T For example: suppose the address contains 3 tokens in total. Then the specific allocation of these 3 tokens (such as U A1 Get 2, T gets 1) Need to get U A1 It can only take effect with the joint signature of T. And it also prepares for the subsequent dynamic adjustment of tokens in the method of the present invention. Note: The token here refers to the homogeneous certificate transferred on the blockchain, with "piece" as the unit of measurement, and its specific meaning is determined by the blockchain. For example: A blockchain specifies that 1 token represents 1 credit point, and allows credit point transfer.

[0026] Phase 2 is the puzzle generation phase:

[0027] 2.1U A1 ,U A2 Initiate conditional payment requests Req to T respectively.

[0028] 2.2T constructs two conditional transfer transactions, that is, T generates a puzzle for Ai.

[0029] TX1={If U A1 If T can provide the signature of the block with a height of 1000, then U A1 Public lock address with T The token allocation in the A1 Add a token, T reduces a token"||T signs TX1 (that is, signs the added token)}.

[0030] TX2={If U A2 If T can provide the signature of the block with a height of 1000, then U A2 Public lock address with T The token allocation in the A2 Add a token, T reduces a token"||T signs TX2 (that is, signs the added token)}.

[0031] T counts the number of conditional transfer transactions generated by T in this phase, and the total number is recorded as n.

[0032] In this embodiment, n=2.

[0033] Phase 3: Puzzle Solving Phase

[0034] 3.1U B1 ,U B2 Send a conditional transfer transaction to T

[0035] ·TX3 = {If T can provide "the signature of T for the block at height 1000 of the blockchain", then modify the token allocation within B1 the public lock address of U and T to "U B1 reduces one token, T increases one token" || U B1 sign TX3 (i.e., sign the increased token)}.

[0036] ·TX4 = {If T can provide "the signature of T for the block at height 1000 of the blockchain", then modify the token allocation within B2 the public lock address of U and T to "U B2 reduces one token, T increases one token" || U B2 sign TX4 (i.e., sign the increased token)}.

[0037] 3.2 T counts the number of requests received at this stage (i.e., the total number of conditional transfer transactions received in 3.1), denoted as n'

[0038] When n' = n = 2

[0039] · T publicly releases "the signature of T for the block at height 1000 of the blockchain".

[0040] · T attaches its own signature to TX3 and TX4 and publishes them to the blockchain

[0041] · U A1 attaches the signature of U A1 to TX1 and publishes it to the blockchain;

[0042] U A2 attaches the signature of U A2 to TX2 and publishes it to the blockchain.

[0043] That is, as Figure 1 shown, when n' = n, each U Ai obtains 1 transfer token from T, T obtains 1 transfer token from each U Bi , and each U Bi reduces 1 token.

[0044] If within the time specified by T, enough requests cannot be collected, i.e., n' < n. Then T announces "mixing failure" and broadcasts this information simultaneously to terminate the execution of the entire protocol.

[0045] Through this method, it can be achieved that: TX1, TX2, TX3, TX4, these 4 transactions take effect simultaneously, realizing UA1 with U A2 , and U B1 with U B2 That is, when there are i users participating, the payment hub T only needs to solve the puzzle once, that is, it can complete 2i conditional transfer transactions at one time, and the cost of T calculating and publishing the solution to the puzzle is independent of i, and the computation and communication costs of the blockchain are significantly reduced.

[0046] Simulation platform and environment: Simulation platform: Dell G3-3590; Code and compilation: Programming language is C++, and the compilation platform is Visual Studio 17.5.3; Cryptographic component: The digital signature part uses ECDSA signature on the secp256k1 curve; Network communication: The implementation of the network communication part is based on ZeroMQ, and the communication adopts TCP protocol; Test level: A group of U A1 with U B1 The simulation test results are as follows: 1. The total calculation time of the scheme is about 0.009s (in T calculation time cost) or about 0.3s (in U A The time cost of computing is much less than that of the existing solutions. 2 In terms of communication volume, the total data sent and received by T is 2.634KiB, and U A1 ,U B1 ,The total network overhead of T is 10.953KiB, which is much smaller than the existing ,schemes.

Claims

1. Blockchain user identity obfuscation method based on a payment hub, characterized in that, the method specifically includes the following steps: Phase 1 is registration: There are 2n users U in total A1 , U A2 ,…,U An ,U B1 ,U B2 ...U Bn Registration required. ni represents any one of the 2n users. Each user U ni Establish a public lock address PK with the payment hub T <Uni,T> , the address is composed of U ni Jointly recognized with T, one or more tokens are stored; tokens are stored in U ni and T agree on the distribution, and get U ni It will be effective after being jointly signed and approved by T; Phase 2 is generating puzzles: Step 2-1: Each user U who needs to obtain a token from the payment hub T through this solution Ai (i=1,2,…,n) initiates a conditional transfer request Req to T and waits for T’s reply; Step 2-2: T receives a user U Ai After the request, a puzzle is constructed using the smart contract, and the puzzle is defined as a conditional transfer transaction TX; TX = {If U Ai If T can provide the signature of the block with height h in the blockchain, then U Ai Public lock address PK with T <UAi , the existing token allocation in T> is changed to U Ai Add a token, T reduces a token, || T signs this TX}; Step 2-3: U Ai After receiving TX, send it to another user U Bi Send a transaction request; Steps 2-4: T counts the number of conditional transfer transactions generated by T in this phase, and the total number is denoted as n; Phase 3 is solving the puzzles: Step 3-1: Each user U who needs to transfer tokens to the payment hub T through this solution Bi (i=1,2,…,n) initiates a conditional transfer transaction TX to T; TX = {If T can provide "T's signature for the block with height h of the blockchain", then U Bi PK with T's public lock address <UBi,T> The existing allocation of tokens is changed to "U Bi Reduce a token, T increase a token"||U Bi Sign this TX}; Steps 3-2: T counts the number of conditional transfer requests received in this phase, and the total number is denoted as n'; if after the time预定 by T arrives, n' < n, T aborts the protocol; if within the time预定 by T, n' = n, then: Step 3-2-1: T publicly releases "T's signature on the block with height h of the blockchain"; Step 3-2-2: T attaches T's own signature to the TX in Step 3-2 and publishes it to the blockchain to obtain a token; Step 3-2-3: U Ai Add U to TX in step 2-2 Ai Sign your own signature and publish it on the blockchain to obtain a token.