CN108307000A - Block chain generation method based on time scheduling - Google Patents

Block chain generation method based on time scheduling Download PDF

Info

Publication number
CN108307000A
CN108307000A CN201810115832.6A CN201810115832A CN108307000A CN 108307000 A CN108307000 A CN 108307000A CN 201810115832 A CN201810115832 A CN 201810115832A CN 108307000 A CN108307000 A CN 108307000A
Authority
CN
China
Prior art keywords
block
node
network address
request
rule
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.)
Withdrawn
Application number
CN201810115832.6A
Other languages
Chinese (zh)
Inventor
覃士忠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Kang Huiran Information Technology Consulting Co Ltd
Original Assignee
Wuhan Kang Huiran Information Technology Consulting Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Kang Huiran Information Technology Consulting Co Ltd filed Critical Wuhan Kang Huiran Information Technology Consulting Co Ltd
Priority to CN201810115832.6A priority Critical patent/CN108307000A/en
Publication of CN108307000A publication Critical patent/CN108307000A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5061Pools of addresses

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

A kind of block chain generation method based on time scheduling, includes the following steps:Block generates allocation rule, calculates power recognition rule in block generating process in S01, configuration block chain;S02, block sum in allocation rule generation block chain is generated by block, and block sum is allocated each network address section of acquisition according to network address section and corresponds to block pond;The block generation request of S03, receiving node, the block of decision node, which generates, asks whether corresponding request time meets default cooling time, and step S04 is jumped to when meeting, and otherwise refuses the block generation request of node;S04, allocation rule is generated according to preset block, calculates power recognition rule generation block.

Description

Block chain generation method based on time scheduling
Technical field
The present invention relates to block chain technical field, more particularly to a kind of block chain generation method based on time scheduling.
Background technology
Block chain technology is decentralization as a kind of anonymous, decentralization technology, essence, however in reality such as Bit coin, the calculation power for digging mine are excessively concentrated, and the mine factory of ranking several former has concentrated the one third or so of whole calculation power, this existing Shape has violated the original idea of block chain technology.
Invention content
In view of this, the present invention provides a kind of block chain generation method based on time scheduling.
A kind of block chain generation method based on time scheduling, includes the following steps:
Block generates allocation rule, calculates power recognition rule in block generating process in S01, configuration block chain;
S02, block sum in allocation rule generation block chain is generated by block, and by block sum according to network address Section is allocated each network address section of acquisition and corresponds to block pond;
The block generation request of S03, receiving node, whether the block of decision node generates asks corresponding request time full Foot presets cooling time, and step S04 is jumped to when meeting, and the block for otherwise refusing node generates request;
S04, allocation rule is generated according to preset block, calculates power recognition rule generation block.
In the block chain generation method of the present invention based on time scheduling,
The step S04 includes:
The block generation request of S1, receiving node, determine the network address section where the node of request, and judge place net It corresponds to whether block pond reaches the upper limit in network address field, step S4 is jumped to when reaching the upper limit, otherwise jump to step S2;
S2, judge whether the node of request occurs calculating power exception by calculating power recognition rule, jumped when power exception is calculated in appearance Step S4 is gone to, step S3 is otherwise jumped to;
S3, new block is generated according to default block create-rule information, and terminated;
S4, the block for refusing node generate request.
In the block chain generation method of the present invention based on time scheduling,
Judge whether the node of request occurs calculating power including extremely by calculating power recognition rule in the step S2:
S21, it is sent to node and calculates power test program, and the calculation power test result of receiving node feedback;
S22, judge whether the node of request occurs calculating power exception according to calculation power test result.
In the block chain generation method of the present invention based on time scheduling,
Further include before the step S21:
The mutual exclusion rule that each network address section interior nodes generate block chain is configured according to network address section;
Corresponding node, which is configured, according to mutual exclusion rule calculates power adjustment rule;
Correspondingly, the step S22 includes:
S221, judge whether the node of request meets mutual exclusion rule, when meeting mutual exclusion rule, jump to step S3;It is no Then jump to step S222;
S222, the calculation power that the node entry that power adjustment rule adjustment is asked is calculated according to node influence coefficient;
S223, the calculation power for influencing the node of the request after coefficient is adjusted by calculating power, and judge the request after adjustment Node calculation power whether calculate power exception.
In the block chain generation method of the present invention based on time scheduling,
Block sum is allocated each network address section of acquisition according to network address section in the step S02 and corresponds to area Block pond includes:
Network address is divided into the network address section of different levels;
Block sum divide according to the network address section of different levels and obtains each hierarchical network address field correspondence Block pond.
In the block chain generation method of the present invention based on time scheduling,
It is described according to network address section configure each network address section interior nodes and generate the mutual exclusion rule of block chain include:
According to the network address section configuration node of different levels different levels network address section standard request rate;
The mutual exclusion rule of block chain is generated according to standard request rate.
In the block chain generation method of the present invention based on time scheduling,
The step S21 includes:
S211, it is sent to node and calculates power test program, the calculation power test program includes floating-point operation, node unique identification Code obtains program;
The calculation power test result of the feedback of S222, receiving node, the calculation power test result include floating-point operation result, section Point unique identifier.
In the block chain generation method of the present invention based on time scheduling,
The step S3 includes:
Using the calculation power of the node of the request after adjustment as contribution margin according to generation new block.
Advantageous effects:The block chain generation method based on time scheduling of the present invention compared with the existing technology, can It realizes:It is generated by the block of decision node and asks whether corresponding request time meets default cooling time, avoided in network Certain some node constantly dug mine;Allocation rule is generated by block and generates block sum in block chain, and by block Sum is allocated each network address section of acquisition according to network address section and corresponds to block pond, can be carried out according to region to block Distribution distribution is forced, is avoided because the calculation power for digging mine is excessively concentrated, the generation of the most of block of mine factory monopolization of ranking several former.
Description of the drawings
Fig. 1 is the block chain generation method flow chart provided in an embodiment of the present invention based on time scheduling.
Specific implementation mode
As shown in Figure 1, in embodiments of the present invention, a kind of block chain generation method based on time scheduling, including it is as follows Step:
Block generates allocation rule, calculates power recognition rule in block generating process in S01, configuration block chain.
In the prior art, the allocation rule generated without block is gone yuan often by power size is calculated to determine generation Node contribution margin, although the determination of contribution margin there are many mode, does not have distribution mechanism;And simple passes through calculation power Size determines contribution margin so that large-scale mortar businesses concentrate a large amount of high-performance computers or server to be far longer than The calculation power of common computer is to obtain more blocks.This step, can be right by generating allocation rule, calculating power recognition rule It distinguishes to generate and be allocated, and the mine factory running that profession digs mine can be limited to a certain extent, improve its operating cost.
S02, block sum in allocation rule generation block chain is generated by block, and by block sum according to network address Section is allocated each network address section of acquisition and corresponds to block pond;
Optionally, block sum is allocated according to network address section and can carries out segmentation division by IP address with 1., Can also 2. IP address in such a way that MAC Address is combined or 3. pass through backbone network, IP Address in LAN distribution rule Then determine.
Optionally,
Block sum is allocated each network address section of acquisition according to network address section in the step S02 and corresponds to area Block pond includes:
Network address is divided into the network address section of different levels;
Block sum divide according to the network address section of different levels and obtains each hierarchical network address field correspondence Block pond.
In a preferred embodiment of the invention, by the way that network address to be divided into the network address section of different levels, and it is final Divide and obtain each hierarchical network address field and correspond to block pond, for example allocation rule is as follows:
First level network address section A, B, C, and limit the transformation that A, B, C correspond to block in block pond.
Further, in the second level network address section, A is divided into a1, a2, a3, and limits a1, a2, a3 correspondence The transformation of block in block pond, and can connect and be finely divided.
Preferred embodiment through the invention not only needs the requirement for meeting block pond in this hierarchical network address field, also needs The hierarchical network address field for meeting this hierarchical network address field or more corresponds to the requirement in block pond so that block generate when pair In limitation more the having levels property of quantity.
Optionally,
It is described according to network address section configure each network address section interior nodes and generate the mutual exclusion rule of block chain include:
According to the network address section configuration node of different levels different levels network address section standard request rate;
The mutual exclusion rule of block chain is generated according to standard request rate.
In a preferred embodiment of the invention, standard request rate is that the node asked in the hierarchical network address field accounts for all sections The ratio value of point, standard request rate are to generate the mutual exclusion rule of block chain.
The block generation request of S03, receiving node, whether the block of decision node generates asks corresponding request time full Foot presets cooling time, and step S04 is jumped to when meeting, and the block for otherwise refusing node generates request;
Optionally, the set-up mode that cooling time is set in the step S03 can be fixed cooling time, or floating Dynamic cooling time, floating length cooling time and the number of blocks that the node generates are proportional.
S04, allocation rule is generated according to preset block, calculates power recognition rule generation block.
Optionally, the step S04 includes:
The block generation request of S1, receiving node, determine the network address section where the node of request, and judge place net It corresponds to whether block pond reaches the upper limit in network address field, step S4 is jumped to when reaching the upper limit, otherwise jump to step S2;
S2, judge whether the node of request occurs calculating power exception by calculating power recognition rule, jumped when power exception is calculated in appearance Step S4 is gone to, step S3 is otherwise jumped to;
Optionally,
Judge whether the node of request occurs calculating power including extremely by calculating power recognition rule in the step S2:
S21, it is sent to node and calculates power test program, and the calculation power test result of receiving node feedback;
S22, judge whether the node of request occurs calculating power exception according to calculation power test result.
Optionally,
Further include before the step S21:
The mutual exclusion rule that each network address section interior nodes generate block chain is configured according to network address section;
Corresponding node, which is configured, according to mutual exclusion rule calculates power adjustment rule.
Optionally, configuring corresponding node calculation power adjustment rule according to mutual exclusion rule includes:
θ=δ12*...δn, wherein θ is that node calculates power Tuning function, δ1For node this level network address section Standard request rate, δ2For node the network address section of last layer grade standard request rate, and so on, n be node where Total level of network address section.
Optionally,
The step S21 includes:
S211, it is sent to node and calculates power test program, the calculation power test program includes floating-point operation, node unique identification Code obtains program;
The calculation power test result of the feedback of S222, receiving node, the calculation power test result include floating-point operation result, section Point unique identifier.
Correspondingly, the step S22 includes:
S221, judge whether the node of request meets mutual exclusion rule, when meeting mutual exclusion rule, jump to step S3;It is no Then jump to step S222;
S222, the calculation power that the node entry that power adjustment rule adjustment is asked is calculated according to node influence coefficient;
Optionally, the value of θ, which is the calculation power for the node entry asked, influences coefficient.
S223, the calculation power for influencing the node of the request after coefficient is adjusted by calculating power, and judge the request after adjustment Node calculation power whether calculate power exception.
Calculation power of the product of the calculation power of calculation power influence coefficient and the node of request as the node of the request after adjustment.
Optionally, power outlier threshold is calculated in setting, and the calculation power of the node of the request after adjustment is carried out with power outlier threshold is calculated Comparison then confirms that the calculation power of the node of the request after adjustment is abnormal if it is greater than power outlier threshold is calculated.
S3, new block is generated according to default block create-rule information, and terminated;
Optionally, of the present invention in the block chain generation method based on time scheduling,
The step S3 includes:
Using the calculation power of the node of the request after adjustment as contribution margin according to generation new block.
S4, the block for refusing node generate request.
Advantageous effects:The block chain generation method based on time scheduling of the present invention compared with the existing technology, can It realizes:It is generated by the block of decision node and asks whether corresponding request time meets default cooling time, avoided in network Certain some node constantly dug mine;Allocation rule is generated by block and generates block sum in block chain, and by block Sum is allocated each network address section of acquisition according to network address section and corresponds to block pond, can be carried out according to region to block Distribution distribution is forced, is avoided because the calculation power for digging mine is excessively concentrated, the generation of the most of block of mine factory monopolization of ranking several former.
It is understood that for those of ordinary skill in the art, can be conceived with the technique according to the invention and be done Go out various other corresponding changes and deformation, and all these changes and deformation should all belong to the protection model of the claims in the present invention It encloses.

Claims (8)

1. a kind of block chain based on time scheduling generates generation method, which is characterized in that include the following steps:
Block generates allocation rule, calculates power recognition rule in block generating process in S01, configuration block chain;
S02, by block generate allocation rule generate block chain in block sum, and by block sum according to network address section into Row distribution obtains each network address section and corresponds to block pond;
S03, receiving node block generate request, the block of decision node generates that ask corresponding request time whether to meet pre- If cooling time, step S04 is jumped to when meeting, the block for otherwise refusing node generates request;
S04, allocation rule, recognition rule generation block are generated according to preset block.
2. the block chain based on time scheduling generates generation method as described in claim 1, which is characterized in that
The step S04 includes:
The block generation request of S1, receiving node, determine the network address section where the node of request, and with judging place network It corresponds to whether block chain pond reaches the upper limit in the section of location, step S4 is jumped to when reaching the upper limit, otherwise jumps to step S2;
S2, judge whether the node of request occurs calculating power exception by calculating power recognition rule, jumped to when power exception is calculated in appearance Otherwise step S4 jumps to step S3;
S3, new block is generated according to default block create-rule information, and terminated;
S4, the block for refusing node generate request.
3. the block chain based on time scheduling generates generation method as described in claim 1, which is characterized in that
Judge whether the node of request occurs calculating power including extremely by calculating power recognition rule in the step S2:
S21, it is sent to node and calculates power test program, and the calculation power test result of receiving node feedback;
S22, judge whether the node of request occurs calculating power exception according to calculation power test result.
4. the block chain based on time scheduling generates generation method as claimed in claim 3, which is characterized in that
Further include before the step S21:
The mutual exclusion rule that each network address section interior nodes generate block chain is configured according to network address section;
Corresponding node, which is configured, according to mutual exclusion rule calculates power adjustment rule;
Correspondingly, the step S22 includes:
S221, judge whether the node of request meets mutual exclusion rule, when meeting mutual exclusion rule, jump to step S3;Otherwise it jumps Go to step S222;
S222, the calculation power that the node entry that power adjustment rule adjustment is asked is calculated according to node influence coefficient;
S223, the calculation power for influencing the node of the request after coefficient is adjusted by calculating power, and judge the section of the request after adjustment Whether the calculation power of point calculates power exception.
5. the block chain generation method based on time scheduling as claimed in claim 4, which is characterized in that
Block sum is allocated each network address section of acquisition according to network address section in the step S02 and corresponds to block pond Including:
Network address is divided into the network address section of different levels;
The each hierarchical network address field of division acquisition is carried out to block sum according to the network address section of different levels and corresponds to block Pond.
6. the block chain generation method based on time scheduling as claimed in claim 5, which is characterized in that
It is described according to network address section configure each network address section interior nodes and generate the mutual exclusion rule of block chain include:
According to the network address section configuration node of different levels different levels network address section standard request rate;
The mutual exclusion rule of block chain is generated according to standard request rate.
7. the block chain generation method based on time scheduling as claimed in claim 3, which is characterized in that
The step S21 includes:
S211, it is sent to node and calculates power test program, the calculation power test program includes that floating-point operation, nodes unique identifier obtain Program fetch;
The calculation power test result of the feedback of S222, receiving node, the calculation power test result include floating-point operation result, node only One identification code.
8. the block chain generation method based on time scheduling as claimed in claim 4, which is characterized in that
The step S3 includes:
Using the calculation power of the node of the request after adjustment as contribution margin according to generation new block.
CN201810115832.6A 2018-02-06 2018-02-06 Block chain generation method based on time scheduling Withdrawn CN108307000A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810115832.6A CN108307000A (en) 2018-02-06 2018-02-06 Block chain generation method based on time scheduling

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810115832.6A CN108307000A (en) 2018-02-06 2018-02-06 Block chain generation method based on time scheduling

Publications (1)

Publication Number Publication Date
CN108307000A true CN108307000A (en) 2018-07-20

Family

ID=62864201

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810115832.6A Withdrawn CN108307000A (en) 2018-02-06 2018-02-06 Block chain generation method based on time scheduling

Country Status (1)

Country Link
CN (1) CN108307000A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109218424A (en) * 2018-09-14 2019-01-15 四川海纳仁东科技有限公司 The method for allocating tasks of power is counted based on block chain link
CN109309708A (en) * 2018-08-16 2019-02-05 泰链(厦门)科技有限公司 The quickening method, medium, device and block catenary system of block speed of production in block catenary system
CN109993511A (en) * 2019-04-01 2019-07-09 北京众享比特科技有限公司 A kind of block verification method
CN111324442A (en) * 2020-03-02 2020-06-23 李斌 Micro-computing power scheduling system oriented to heterogeneous environment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017079652A1 (en) * 2015-11-05 2017-05-11 Pulsifer Allen Cryptographic transactions system
CN106920097A (en) * 2017-02-27 2017-07-04 钱德君 A kind of generation time block chain method of Quantum Chain common recognition agreement
CN107079059A (en) * 2016-12-21 2017-08-18 深圳前海达闼云端智能科技有限公司 Block chain storage method and device and node equipment
CN107341660A (en) * 2017-05-27 2017-11-10 唐盛(北京)物联技术有限公司 A kind of block chain bottom common recognition mechanism and the block catenary system based on the common recognition mechanism
CN107360206A (en) * 2017-03-29 2017-11-17 阿里巴巴集团控股有限公司 A kind of block chain common recognition method, equipment and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017079652A1 (en) * 2015-11-05 2017-05-11 Pulsifer Allen Cryptographic transactions system
CN107079059A (en) * 2016-12-21 2017-08-18 深圳前海达闼云端智能科技有限公司 Block chain storage method and device and node equipment
CN106920097A (en) * 2017-02-27 2017-07-04 钱德君 A kind of generation time block chain method of Quantum Chain common recognition agreement
CN107360206A (en) * 2017-03-29 2017-11-17 阿里巴巴集团控股有限公司 A kind of block chain common recognition method, equipment and system
CN107341660A (en) * 2017-05-27 2017-11-10 唐盛(北京)物联技术有限公司 A kind of block chain bottom common recognition mechanism and the block catenary system based on the common recognition mechanism

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
BRIAN BABCOCK等: ""Operator scheduling in data stream systems"", 《THE VLDB JOURNAL》 *
张岩等: ""基于区块链技术的去中心化数字出版平台研究"", 《出版科学》 *
张成成: ""区块链典型挖矿算法分析"", 《数字技术与应用》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109309708A (en) * 2018-08-16 2019-02-05 泰链(厦门)科技有限公司 The quickening method, medium, device and block catenary system of block speed of production in block catenary system
CN109309708B (en) * 2018-08-16 2021-06-04 泰链(厦门)科技有限公司 Method, medium, apparatus and system for increasing block production speed in block chain system
CN109218424A (en) * 2018-09-14 2019-01-15 四川海纳仁东科技有限公司 The method for allocating tasks of power is counted based on block chain link
CN109218424B (en) * 2018-09-14 2020-11-03 四川海纳仁东科技有限公司 Task allocation method based on block chain link point calculation force
CN109993511A (en) * 2019-04-01 2019-07-09 北京众享比特科技有限公司 A kind of block verification method
CN109993511B (en) * 2019-04-01 2021-07-06 北京众享比特科技有限公司 Block verification method
CN111324442A (en) * 2020-03-02 2020-06-23 李斌 Micro-computing power scheduling system oriented to heterogeneous environment

Similar Documents

Publication Publication Date Title
CN108307000A (en) Block chain generation method based on time scheduling
CN109586954B (en) Network traffic prediction method and device and electronic equipment
CN106484528A (en) It is used in Distributed Architecture realizing the method and device of cluster dynamic retractility
CN109976901B (en) Resource scheduling method, device, server and readable storage medium
CN107786364A (en) Modeling method for predicting complaint tendency of QOE system
CN111428435B (en) Integrated circuit layout power consumption optimization method and device
CN109474281A (en) Data encoding, coding/decoding method and device
CN105148521B (en) A kind of progress display system and method for capabilities attribute upgrading
CN105991571B (en) A kind of information processing method and device
CN108460602A (en) Agricultural product source tracing method and system based on block certification
CN116361130B (en) Evaluation method based on virtual reality man-machine interaction system
CN108429790A (en) Calculate the block chain generation method of dynamic balance
CN108428136A (en) Electric vehicle information authentication method
CN108234151A (en) A kind of cloud platform resource allocation methods
CN115130043A (en) Database-based data processing method, device, equipment and storage medium
CN109493025B (en) Account generating method and device
CN111107099B (en) Self-adaptive access control method suitable for mixed cloud environment
US10878156B1 (en) Probabilistic simulation method of a microelectronic device
CN110504689B (en) Power system load flow calculation method based on cloud calculation technology
WO2021044596A1 (en) Network design device, network design method, and program
CN109241763A (en) The block generation method issued based on permission
KR100297079B1 (en) Method for biasing designs of experiments
CN113301583A (en) Network slice remapping method, device and storage medium
CN115277370B (en) Method, device and equipment for determining root cause node of operation and maintenance system
CN115209431B (en) Triggering method, device, equipment and computer 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
WW01 Invention patent application withdrawn after publication

Application publication date: 20180720

WW01 Invention patent application withdrawn after publication