CN109447804A - Transaction shunt method, equipment and storage medium - Google Patents
Transaction shunt method, equipment and storage medium Download PDFInfo
- Publication number
- CN109447804A CN109447804A CN201811272469.5A CN201811272469A CN109447804A CN 109447804 A CN109447804 A CN 109447804A CN 201811272469 A CN201811272469 A CN 201811272469A CN 109447804 A CN109447804 A CN 109447804A
- Authority
- CN
- China
- Prior art keywords
- fragment
- transaction
- money transfer
- transfer transactions
- node
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
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
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- 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/08—Payment architectures
- G06Q20/16—Payments settled via telecommunication systems
-
- 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/3827—Use of message hashing
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Engineering & Computer Science (AREA)
- Finance (AREA)
- General Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- Strategic Management (AREA)
- Theoretical Computer Science (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Technology Law (AREA)
- Computer Security & Cryptography (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The present invention provides a kind of transaction shunt method, equipment and storage medium, this method comprises: judge the transaction amount of received money transfer transactions whether be greater than the first threshold of pre-configuration: be, then to each node broadcasts money transfer transactions of the first block chain;It is no, then money transfer transactions are broadcasted to the node of assigned fragment according to the transaction allocation method of pre-configuration;Wherein, the first block chain network includes several fragments.The program will be traded and be shunted according to transaction amount, and the big transaction of transaction amount needs the whole network node to know together, and the small transaction of transaction amount is assigned to different fragments and knows together, and while promoting block chain network performance, guarantee the safety of transaction.
Description
Technical field
This application involves internet financial technology fields, and in particular to a kind of transaction shunt method, equipment and storage medium.
Background technique
In traditional block chain technology, each transaction requires the common recognition by the full node in block chain network;It adopts
After allocation methods, each transaction only needs the node by feature a part by common recognition, and the time reached common understanding is reduced,
The performance (capacity and handling capacity) of block chain network improves.But the performance of block chain network (i.e. capacity and throughput) mentions
Rising is to use the safety for reducing block chain network and improve centralization as cost, can reduce transaction using allocation methods
Safety.
Summary of the invention
In view of drawbacks described above in the prior art or deficiency, while being intended to provide a kind of promotion block chain network performance,
Guarantee transaction shunt method, equipment and the storage medium of the safety of transaction.
In a first aspect, the present invention provides a kind of transaction shunt method, comprising:
Judge the transaction amount of received money transfer transactions whether be greater than the first threshold of pre-configuration:
It is, then to each node broadcasts money transfer transactions of the first block chain;
It is no, then money transfer transactions are broadcasted to the node of assigned fragment according to the transaction allocation method of pre-configuration;Its
In, the first block chain network includes several fragments.
Second aspect, the present invention also provides a kind of equipment, including one or more processors and memory, wherein memory
Comprising can by instruction that the one or more processors execute so that the one or more processors execute it is each according to the present invention
The transaction shunt method that embodiment provides.
The third aspect, the present invention also provides a kind of storage medium for being stored with computer program, which makes to count
Calculation machine executes the transaction shunt method that each embodiment provides according to the present invention.
Transaction shunt method, equipment and the storage medium that many embodiments of the present invention provide are transferred accounts by the way that judgement institute is received
Whether the transaction amount of transaction is greater than the first threshold of pre-configuration: being, then to each node broadcasts money transfer transactions of the first block chain;
It is no, then money transfer transactions are broadcasted to the node of assigned fragment according to the transaction allocation method of pre-configuration;Wherein, the firstth area
Block chain network includes the method for several fragments, transaction is shunted according to transaction amount, the big transaction of transaction amount needs the whole network
Node is known together, and the small transaction of transaction amount is assigned to different fragments and knows together, and is promoting block chain network performance
While, guarantee the safety of transaction.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is the schematic diagram that transaction shunts scene in one embodiment of the invention.
Fig. 2 is a kind of flow chart for transaction shunt method that one embodiment of the invention provides.
Fig. 3 is the flow chart of step S13 in a kind of preferred embodiment of method shown in Fig. 2.
Fig. 4 is the flow chart of step S14 in a kind of preferred embodiment of method shown in Fig. 2.
Fig. 5 is the flow chart of step S144 in a kind of preferred embodiment of method shown in Fig. 4.
Fig. 6 is the flow chart of step S142 in a kind of preferred embodiment of method shown in Fig. 4.
Fig. 7 is a kind of flow chart of preferred embodiment of method shown in Fig. 2.
Fig. 8 is a kind of structural schematic diagram for equipment that one embodiment of the invention provides.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to
Convenient for description, part relevant to invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is the schematic diagram that transaction shunts scene in one embodiment of the invention.As shown in Figure 1, in the present embodiment, first
After the node of block chain receives the transaction that user sends and filters out money transfer transactions, mentioned according to the transaction amount size of money transfer transactions
Service is shunted for transaction.The big transaction of transaction amount needs the whole network node to know together, and the small transaction of transaction amount is assigned to not
Same fragment is known together.Transaction shunt method provided by the invention is specifically described below in conjunction with Fig. 2.
Fig. 2 is a kind of flow chart for transaction shunt method that one embodiment of the invention provides.As shown in Fig. 2, in this implementation
In example, the present invention provides a kind of transaction shunt method, comprising:
Judge the transaction amount of received money transfer transactions whether be greater than the first threshold of pre-configuration:
It is to then follow the steps S13, it is no, then follow the steps S14;
S13: to each node broadcasts money transfer transactions of the first block chain;
S14: money transfer transactions are broadcasted to the node of assigned fragment according to the transaction allocation method of pre-configuration;Its
In, the first block chain network includes several fragments.
Specifically, by taking application scenarios shown in FIG. 1 as an example, the first threshold of pre-configuration is 1000, the transaction of money transfer transactions A
The amount of money is 5000, and the transaction amount of money transfer transactions B is 500;First block chain shares 2400 nodes, wherein node 1 to node
600 be the node for forming fragment 1, and the fragment number of fragment 1 is 0, and node 601 to node 1200 is the node for forming fragment 2, point
The fragment number of piece 2 is 1, and node 1201 to node 1800 is the node for forming fragment 3, and the fragment number of fragment 3 is 2, node
1801 to node 2400 be form fragment 4 node, fragment 4 fragment number be 3.
The node of first block chain judge the transaction amount of received money transfer transactions A whether be greater than the first threshold of pre-configuration
Value:
Since the transaction amount of money transfer transactions A is 5000, greater than the first threshold 1000 of pre-configuration, S13 is thened follow the steps,
To each node broadcasts money transfer transactions A of the first block chain.
The node of first block chain judge the transaction amount of received money transfer transactions B whether be greater than the first threshold of pre-configuration
Value:
Since the transaction amount of money transfer transactions B is 500, no more than the first threshold 1000 of pre-configuration, then follow the steps
S14 broadcasts money transfer transactions to the node of assigned fragment according to the transaction allocation method of pre-configuration;Wherein, the firstth area
Block chain network includes several fragments.
Above-described embodiment is with the first threshold that is pre-configured for 1000, and the transaction amount of money transfer transactions A is 5000, money transfer transactions
The transaction amount of B has carried out detailed elaboration to transaction shunt method provided by the invention for being 500, in more embodiments
In, transaction shunt method provided by the invention is not exemplified as limiting with above-mentioned, can also according to actual needs configure first threshold
For any number, it can be achieved that identical technical effect.
Above-described embodiment will be traded and be shunted according to transaction amount, and the big transaction of transaction amount needs the whole network node to be total to
Know, the small transaction of transaction amount is assigned to different fragments and knows together, and while promoting block chain network performance, guarantees
The safety of transaction.
Fig. 3 is the flow chart of step S13 in a kind of preferred embodiment of method shown in Fig. 2.As shown in figure 3, excellent one
It selects in embodiment, step S13 includes:
S132: by the global trading pit of money transfer transactions deposit present node;And
To each node broadcasts money transfer transactions of the first block chain, so that each node carries out global common recognition.
Specifically, by taking application scenarios shown in FIG. 1 as an example, the transaction amount of money transfer transactions A is 5000, greater than pre-configuration
First threshold 1000;
In step S132, money transfer transactions A is stored in the global trading pit of present node by the node of the first block chain;With
And
To each node broadcasts money transfer transactions A of the first block chain, so that each node carries out global common recognition.
Fig. 4 is the flow chart of step S14 in a kind of preferred embodiment of method shown in Fig. 2.As shown in figure 4, one
In preferred embodiment, step S14 includes:
S142: the fragment number of fragment corresponding to money transfer transactions is calculated;
S144: the node broadcasts money transfer transactions to corresponding fragment are numbered according to fragment, for the node of corresponding fragment
Carry out fragment common recognition.
Specifically, by taking application scenarios shown in FIG. 1 as an example, the transaction amount of money transfer transactions B is 500, no more than pre-configuration
First threshold 1000, and calculate fragment corresponding to money transfer transactions B fragment number be 0;
In step S142, the node of the first block chain calculates the fragment number of fragment corresponding to money transfer transactions B, transfers accounts
The fragment number of fragment corresponding to transaction B is 0;
In step S144, the node of the first block chain is according to fragment number 0, to the node for the fragment that fragment number is 0
Money transfer transactions B is broadcasted, for the node progress fragment common recognition for the fragment that fragment number is 0.
Fig. 5 is the flow chart of step S144 in a kind of preferred embodiment of method shown in Fig. 4.As shown in figure 5, excellent one
It selects in embodiment, step S144 includes:
According to the first fragment number with whether the second fragment number identical judges whether money transfer transactions are assigned to and work as prosthomere
Fragment where point;Wherein, the first fragment number is the fragment number of fragment where present node, and the second fragment number is to transfer accounts
The fragment number of transaction fragment according to assigned by the transaction allocation method of pre-configuration:
It is to then follow the steps S1442, it is no, then follow the steps S1444;
S1442: by the fragment trading pit of money transfer transactions deposit present node;And
Each node broadcasts money transfer transactions for the fragment numbered to the first fragment, for each section of the fragment of the first fragment number
Point carries out fragment common recognition;
S1444: the node broadcasts money transfer transactions for the fragment numbered to the second fragment, for the fragment of second fragment number
Node carries out fragment common recognition.
Specifically, by taking application scenarios shown in FIG. 1 as an example, present node had both been that the whole network that provides of the first block chain network is total to
Know service, is also numbered for fragment and provide fragment common recognition service for 0 fragment, money transfer transactions C is assigned to point that fragment number is 0
Piece, money transfer transactions D are assigned to the fragment that fragment number is 1.
The node of first block chain numbers whether identical judgement money transfer transactions are with the second fragment number according to the first fragment
The no fragment being assigned to where present node;Wherein, the first fragment number is the fragment number of fragment where present node, the
Two fragments number is the fragment number of money transfer transactions fragment according to assigned by the transaction allocation method of pre-configuration;
Since the whole network common recognition that provides that present node had both been the first block chain network services, point for being also 0 for fragment number
Piece provides fragment common recognition service, and money transfer transactions C is assigned to the fragment that fragment number is 0, the first fragment number and the second fragment
It numbers identical, thens follow the steps S1442, by the fragment trading pit for the fragment that money transfer transactions C deposit fragment number is 0;And to
Each node broadcasts money transfer transactions for the fragment that fragment number is 0 are total to so that each node that fragment numbers the fragment for being 0 carries out fragment
Know.
Since the whole network common recognition that provides that present node had both been the first block chain network services, point for being also 0 for fragment number
Piece provides fragment common recognition service, and money transfer transactions D is assigned to the fragment that fragment number is 1, the first fragment number and the second fragment
Number is not identical, thens follow the steps S1444, to the node broadcasts money transfer transactions B for the fragment that fragment number is 1, for fragment volume
Number for 1 fragment node carry out fragment common recognition.
Fig. 6 is the flow chart of step S142 in a kind of preferred embodiment of method shown in Fig. 4.As shown in fig. 6, excellent one
It selects in embodiment, step S142 includes:
S1422: the first random number is generated according to the transaction Hash of money transfer transactions;
S1424: complementation is carried out to the sum of fragment in the first random number and the first block chain, obtains fragment number.
Specifically, by taking application scenarios shown in FIG. 1 as an example, it is 1 that the cryptographic Hash of money transfer transactions A, which is rightmost four, remaining
Position is 0 256 binary Hash, is denoted as 0000 ... 1111, and it is random to generate first according to the transaction Hash of transaction
Several methods be will trade Hash translation be decimal number generate the first random number.
In step S1422, the node of the first block chain generates the first random number according to the transaction Hash of money transfer transactions A,
It is 1 since the transaction Hash of money transfer transactions A is rightmost four, remaining is 0 256 binary Hash, therefore
Decimal number is converted to by 1111, for the decimal number after converting into 15, the first random number is 15;
In step S1424, the sum of certain node of the first block chain to fragment in the first random number and the first block chain
Complementation is carried out, fragment number is obtained;Fragment number is 15mod3=0, and money transfer transactions A is assigned to the fragment that fragment number is 0,
I.e. in fragment 1.
Above-described embodiment is 1 using the cryptographic Hash of money transfer transactions A as rightmost four, remaining be 256 of 0 two into
Cryptographic Hash processed, is denoted as 0000 ... 1111, is the Hash that will trade according to the method that the transaction Hash of transaction generates the first random number
It is converted to for decimal number generates the first random number and is elaborated, it, can also be according to reality in more embodiments
Demand configures to trade Hash translation for the method for generating the first random number as octal number the first random number of generation, will trade
Hash translation is that hexadecimal number generates the first random number, and identical technical effect can be achieved.
Fig. 7 is a kind of flow chart of preferred embodiment of method shown in Fig. 2.As shown in fig. 7, in a preferred embodiment
In, the above method further include:
S11: the transaction that the client of user is sent is received;
Judge whether the received transaction of institute is money transfer transactions according to the first identifier received in transaction, it is no, then terminate simultaneously
It returns;
Wherein, first identifier for identify transaction whether money transfer transactions.
Specifically, by taking application scenarios shown in FIG. 1 as an example, money transfer transactions are configured with first identifier, and first identifier is to hand over
Prefixing acc before easily, transaction A, transaction B, transaction C, transaction D are equipped with first identifier, and transaction E is not configured with first identifier;
In step s 11, the node of the first block chain receives the transaction that the client of user is sent;
The node of first block chain judges whether the received transaction of institute is to transfer accounts according to the first identifier received in transaction
Transaction then terminates and returns since transaction E is not configured with first identifier;Since transaction A, transaction B, transaction C, transaction D are configured
There is first identifier, transaction A, transaction B, transaction C, transaction D are money transfer transactions, and the node of the first block chain is money transfer transactions A, turns
Account transaction B, money transfer transactions C, money transfer transactions D execute transaction shunt method.
Above-described embodiment is configured with first identifier with money transfer transactions, and first identifier is the prefixing acc before transaction, the A that trades,
Transaction B, transaction C, transaction D are equipped with first identifier, and transaction E is illustrated for being not configured with first identifier, more real
It applies in example, other characters can also be configured by first identifier according to actual needs, first identifier can also be configured and traded
Afterwards as suffix, it can be achieved that identical technical effect.
In a preferred embodiment, the sum of fragment and the sum of the first block chain interior joint are related.
In a preferred embodiment, the relationship of the sum of the sum and the first block chain interior joint of fragment are as follows:Wherein, N is the sum of fragment, and M is the sum of the first block chain interior joint, and L is prewired in each fragment
The sum for the node set, round are the function that rounds up;With the sum of the first block chain interior joint for 2400, in each fragment
For the sum of the node of pre-configuration is 600,The sum for calculating fragment is
4.In more embodiments, other numerical value can also be configured by the sum of the node of pre-configuration according to actual needs, it can be achieved that
Same technique effect.
Fig. 8 is a kind of structural schematic diagram for equipment that one embodiment of the invention provides.
As shown in figure 8, present invention also provides a kind of equipment 800, including one or more centres as on the other hand
Unit (CPU) 801 is managed, can be added according to the program being stored in read-only memory (ROM) 802 or from storage section 808
The program that is downloaded in random access storage device (RAM) 803 and execute various movements appropriate and processing.In RAM803, also deposit
It contains equipment 800 and operates required various programs and data.CPU801, ROM802 and RAM803 pass through the phase each other of bus 804
Even.Input/output (I/O) interface 805 is also connected to bus 804.
I/O interface 805 is connected to lower component: the importation 806 including keyboard, mouse etc.;It is penetrated including such as cathode
The output par, c 807 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 808 including hard disk etc.;
And the communications portion 809 of the network interface card including LAN card, modem etc..Communications portion 809 via such as because
The network of spy's net executes communication process.Driver 810 is also connected to I/O interface 805 as needed.Detachable media 811, such as
Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 810, in order to read from thereon
Computer program be mounted into storage section 808 as needed.
Particularly, in accordance with an embodiment of the present disclosure, the transaction shunt method of any of the above-described embodiment description can be implemented
For computer software programs.For example, embodiment of the disclosure includes a kind of computer program product comprising be tangibly embodied in
Computer program on machine readable media, the computer program include the program code for executing transaction shunt method.
In such embodiments, which can be downloaded and installed from network by communications portion 809, and/or from
Detachable media 811 is mounted.
As another aspect, present invention also provides a kind of computer readable storage medium, the computer-readable storage mediums
Matter can be computer readable storage medium included in the device of above-described embodiment;It is also possible to individualism, it is unassembled
Enter the computer readable storage medium in equipment.Computer-readable recording medium storage has one or more than one program, should
Program is used to execute the transaction shunt method for being described in the application by one or more than one processor.
Flow chart and block diagram in attached drawing are illustrated according to the system of various embodiments of the invention, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use
The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box
The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually
It can be basically executed in parallel, they can also be executed in the opposite order sometimes, this is depending on related function.Also it wants
It is noted that the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart, Ke Yitong
The dedicated hardware based system of functions or operations as defined in executing is crossed to realize, or by specialized hardware and can be calculated
The combination of machine instruction is realized.
Being described in the embodiment of the present application involved unit or module can be realized by way of software, can also be with
It is realized by way of hardware.Described unit or module also can be set in the processor, for example, each unit can
To be the software program being arranged in computer or intelligent movable equipment, it is also possible to the hardware device being separately configured.Wherein, this
The title of a little units or module does not constitute the restriction to the unit or module itself under certain conditions.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art
Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from the application design, appointed by above-mentioned technical characteristic or its equivalent feature
Other technical solutions of meaning combination and formation.Such as features described above and (but being not limited to) disclosed herein have similar functions
Technical characteristic replaced mutually and the technical solution that is formed.
Claims (10)
1. a kind of transaction shunt method characterized by comprising
Judge the transaction amount of received money transfer transactions whether be greater than the first threshold of pre-configuration:
It is, then money transfer transactions described in each node broadcasts to the first block chain;
It is no, then the money transfer transactions are broadcasted to the node of assigned fragment according to the transaction allocation method of pre-configuration;Its
In, the first block chain network includes several fragments.
2. the method according to claim 1, wherein transferring accounts described in each node broadcasts to the first block chain
Transaction includes:
By the global trading pit of money transfer transactions deposit present node;And
Money transfer transactions described in each node broadcasts to the first block chain, so that each node carries out global common recognition.
3. the method according to claim 1, wherein described described will turn according to the transaction allocation method of pre-configuration
Account transaction, which is broadcasted to the node of assigned fragment, includes:
Calculate the fragment number of fragment corresponding to the money transfer transactions;
Money transfer transactions described in the node broadcasts numbered according to the fragment to corresponding fragment, for the section of the corresponding fragment
Point carries out fragment common recognition.
4. according to the method described in claim 3, it is characterized in that, the section numbered according to the fragment to corresponding fragment
Point broadcasts the money transfer transactions, includes: so that the node of the corresponding fragment carries out fragment common recognition
According to the first fragment number with whether the second fragment number identical judges whether the money transfer transactions are assigned to and work as prosthomere
Fragment where point;Wherein, the first fragment number is the fragment number of fragment where present node, and second fragment is compiled
Number for money transfer transactions fragment according to assigned by the transaction allocation method of pre-configuration fragment number:
It is, then by the fragment trading pit of money transfer transactions deposit present node;And
Money transfer transactions described in each node broadcasts for the fragment numbered to first fragment, for point of first fragment number
Each node of piece carries out fragment common recognition;
It is no, then money transfer transactions described in the node broadcasts for the fragment numbered to second fragment, for second fragment number
Fragment node carry out fragment common recognition.
5. according to the method described in claim 3, it is characterized in that, described calculate the number of fragment corresponding to the money transfer transactions
Include:
The first random number is generated according to the transaction Hash of the money transfer transactions;
Complementation is carried out to the sum of fragment in first random number and the first block chain, obtains the fragment number.
6. method according to claim 1-5, which is characterized in that transaction includes that money transfer transactions and contract are traded,
Further include:
Receive the transaction that the client of user is sent;
Judge whether the received transaction of institute is the money transfer transactions according to the first identifier received in transaction, it is no, then terminate simultaneously
It returns;
Wherein, the first identifier for identify it is described transaction whether money transfer transactions.
7. method according to claim 1-5, which is characterized in that sum and first block of the fragment
The sum of chain interior joint is related.
8. the method according to the description of claim 7 is characterized in that the sum and the first block chain interior joint of the fragment
Sum relationship are as follows:Wherein, N is the sum of the fragment, and M is the first block chain interior joint
Sum, L is the sum of node being pre-configured in each fragment, and round is the function that rounds up.
9. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Memory, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors
Execute such as method of any of claims 1-8.
10. a kind of storage medium for being stored with computer program, which is characterized in that realize when the program is executed by processor as weighed
Benefit requires method described in any one of 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811272469.5A CN109447804B (en) | 2018-10-30 | 2018-10-30 | Transaction distribution method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811272469.5A CN109447804B (en) | 2018-10-30 | 2018-10-30 | Transaction distribution method, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109447804A true CN109447804A (en) | 2019-03-08 |
CN109447804B CN109447804B (en) | 2020-08-14 |
Family
ID=65549214
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811272469.5A Active CN109447804B (en) | 2018-10-30 | 2018-10-30 | Transaction distribution method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109447804B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110414955A (en) * | 2019-07-25 | 2019-11-05 | 泰康保险集团股份有限公司 | Transfer account method, device, medium and electronic equipment based on block chain |
CN110933022A (en) * | 2019-10-11 | 2020-03-27 | 深圳壹账通智能科技有限公司 | Block processing method and device, computer equipment and storage medium |
CN111404781A (en) * | 2020-03-13 | 2020-07-10 | 杭州复杂美科技有限公司 | Speed limiting method, apparatus and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108241968A (en) * | 2017-03-26 | 2018-07-03 | 杭州复杂美科技有限公司 | The method that front end processor participates in block chain common recognition |
CN108648084A (en) * | 2018-05-18 | 2018-10-12 | 百度在线网络技术(北京)有限公司 | A kind of data processing method, device, equipment and the storage medium of block chain network |
CN108648078A (en) * | 2018-05-02 | 2018-10-12 | 杭州秘猿科技有限公司 | A kind of transaction preprocess method, device and electronic equipment |
CN108664221A (en) * | 2018-05-11 | 2018-10-16 | 北京奇虎科技有限公司 | A kind of data proof of possession method, apparatus and readable storage medium storing program for executing |
CN108681943A (en) * | 2018-05-18 | 2018-10-19 | 百度在线网络技术(北京)有限公司 | A kind of data processing method, device, equipment and the storage medium of block chain network |
CN108681583A (en) * | 2018-05-11 | 2018-10-19 | 北京奇虎科技有限公司 | Data proof of possession method, apparatus and readable storage medium storing program for executing based on block chain |
-
2018
- 2018-10-30 CN CN201811272469.5A patent/CN109447804B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108241968A (en) * | 2017-03-26 | 2018-07-03 | 杭州复杂美科技有限公司 | The method that front end processor participates in block chain common recognition |
CN108648078A (en) * | 2018-05-02 | 2018-10-12 | 杭州秘猿科技有限公司 | A kind of transaction preprocess method, device and electronic equipment |
CN108664221A (en) * | 2018-05-11 | 2018-10-16 | 北京奇虎科技有限公司 | A kind of data proof of possession method, apparatus and readable storage medium storing program for executing |
CN108681583A (en) * | 2018-05-11 | 2018-10-19 | 北京奇虎科技有限公司 | Data proof of possession method, apparatus and readable storage medium storing program for executing based on block chain |
CN108648084A (en) * | 2018-05-18 | 2018-10-12 | 百度在线网络技术(北京)有限公司 | A kind of data processing method, device, equipment and the storage medium of block chain network |
CN108681943A (en) * | 2018-05-18 | 2018-10-19 | 百度在线网络技术(北京)有限公司 | A kind of data processing method, device, equipment and the storage medium of block chain network |
Non-Patent Citations (4)
Title |
---|
卢晓明: "《http://www.odaily.com/post/5132394》", 22 June 2018 * |
哈希未来: "《https://www.jianshu.com/p/b9095c398e69》", 2 August 2018 * |
潘晨 等: "《区块链可扩展性研究:问题与方法》", 《计算机研究与发展》 * |
韭菜炒鸡蛋: "《http://www.haxililiang.com/jishu/jinjie/28537.html》", 18 August 2018 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110414955A (en) * | 2019-07-25 | 2019-11-05 | 泰康保险集团股份有限公司 | Transfer account method, device, medium and electronic equipment based on block chain |
CN110933022A (en) * | 2019-10-11 | 2020-03-27 | 深圳壹账通智能科技有限公司 | Block processing method and device, computer equipment and storage medium |
CN111404781A (en) * | 2020-03-13 | 2020-07-10 | 杭州复杂美科技有限公司 | Speed limiting method, apparatus and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109447804B (en) | 2020-08-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109034800A (en) | A kind of privacy method of commerce, system and equipment | |
CN108200203B (en) | Block chain system based on double-layer network | |
CN110363665B (en) | Credit right data processing method, device, equipment and medium | |
CN107103462B (en) | Method and device for processing snapshot data of cross-border remittance of bank | |
CN109087099A (en) | A kind of privacy method of commerce and system, equipment and storage medium | |
CN109146490B (en) | Block generation method, device and system | |
CN109377225A (en) | Transaction allocation method, common recognition method, equipment and storage medium | |
CN109522362A (en) | Incomplete markets synchronous method, system and equipment based on block chain data | |
CN108347483B (en) | Decentralized computing system based on double-layer network | |
Wright et al. | SmartEdge: A smart contract for edge computing | |
CN109493205A (en) | Intelligent bookkeeping methods, computer readable storage medium and terminal device | |
CN109447804A (en) | Transaction shunt method, equipment and storage medium | |
CN109447610A (en) | Method and apparatus for determining payment channel | |
CN111612453A (en) | Decentralized transaction method and device based on block chain and electronic equipment | |
CN110535679A (en) | Management method, framework, network slice sales platform and the management system of slice | |
CN110163739A (en) | Pay complaint method, device, server and readable storage medium storing program for executing | |
CN107203946B (en) | Positioning method of community group, positioning method of risk group and positioning device of risk group | |
CN109919607A (en) | Transfer benefit method and device and electronic equipment based on offline code by bus | |
CN113609345A (en) | Target object association method and device, computing equipment and storage medium | |
CN108876339B (en) | E-pet transaction method and device based on certificate | |
CN110489151A (en) | A kind of terminal staging method and system | |
CN109829822A (en) | Transaction replacement method, transaction queuing strategy, equipment and storage medium | |
CN110473093A (en) | Parallel chain assets transfer method, equipment and storage medium | |
WO2023091082A1 (en) | Methods and systems for transaction processing using a blockchain | |
CN112801616B (en) | Abnormal account book processing method and device |
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 |