CN109410050A - Modification method, equipment and storage medium when digging ore deposit consumption - Google Patents

Modification method, equipment and storage medium when digging ore deposit consumption Download PDF

Info

Publication number
CN109410050A
CN109410050A CN201811133671.XA CN201811133671A CN109410050A CN 109410050 A CN109410050 A CN 109410050A CN 201811133671 A CN201811133671 A CN 201811133671A CN 109410050 A CN109410050 A CN 109410050A
Authority
CN
China
Prior art keywords
duration
equity
mine
digging
average
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
Application number
CN201811133671.XA
Other languages
Chinese (zh)
Other versions
CN109410050B (en
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.)
Hangzhou Fuzamei Technology Co Ltd
Original Assignee
Hangzhou Fuzamei Technology 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 Hangzhou Fuzamei Technology Co Ltd filed Critical Hangzhou Fuzamei Technology Co Ltd
Priority to CN201811133671.XA priority Critical patent/CN109410050B/en
Publication of CN109410050A publication Critical patent/CN109410050A/en
Application granted granted Critical
Publication of CN109410050B publication Critical patent/CN109410050B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

Modification method and system when the present invention provides a kind of digging ore deposit consumption, the duration this method comprises: each first duration calculation first according to consumed by the first equity n times of mortgage digging mine is averaged;The average value of the average duration of the first of each first equity in calculation block chain network, obtains the second average duration;Judge whether the difference of the second average duration and the first average duration meets the first condition of pre-configuration: being that duration is then supplied according to difference and the calculating of the first formula;Freeze duration according to the mine of digging next time for supplying duration the first equity of configuration.Present invention amendment or part amendment part miner cheating improve the problem of unit obtains the probability for digging mineral rights by 1 digging mine qualification using the methods of system bug, provide more good user experience for other miners.

Description

Modification method, equipment and storage medium when digging ore deposit consumption
Technical field
This application involves internet financial technology fields, and in particular to modification method, equipment and storage when a kind of digging ore deposit consumption Medium.
Background technique
In existing block chain technology, such as in certain block chain network where encrypting currency, the whole network node is joined jointly With the competition for digging mineral rights, compared to the miner for holding less equity, the miner for holding more equity, which is easier to obtain, digs mineral rights, at The node that function gets digging mineral rights is responsible for digging mine, by account book synchronizing information to whole network;As the return for digging mine, it is responsible for digging mine Miner is using certain newly-generated a certain number of encryption currency of the system that obtains as reward;The every a certain number of equity of mortgage of miner, Can obtain unit be 1 digging mine qualification, and unit be 1 diggings mine qualification obtain digging mineral rights probability be it is identical, i.e., if area The digging mine qualification that the whole network node is held in block chain network is identical, then it is assumed that it is identical that the whole network node, which obtains and digs the probability of mineral rights, 's.
In block chain network, such as method of the fruit part miner by practising fraud or utilizing system bug, digging is greatly shortened When ore deposit consumption, so that improving unit is obtained the probability for digging mineral rights by 1 digging mine qualification, then other nodes is caused to obtain indirectly The probability for digging mineral rights reduces.
Summary of the invention
In view of drawbacks described above in the prior art or deficiency, it is intended to provide a kind of amendment or part amendment part miner cheating Or using the methods of system bug improve unit for 1 digging mine qualification obtain digging mineral rights probability digging ore deposit consumption when modification method, Equipment and storage medium.
In a first aspect, modification method when the present invention provides a kind of digging ore deposit consumption, comprising:
According to the first equity n times of mortgage dig mine consumed by each first duration calculation first be averaged duration;Wherein, if One duration is less than the minimum duration being pre-configured, then a length of first duration when taking minimum, N is positive integer;
The average value of the average duration of the first of each first equity in calculation block chain network, obtains the second average duration;
Judge whether the difference of the second average duration and the first average duration meets the first condition of pre-configuration: being, then root Duration is supplied according to difference and the calculating of the first formula;
Freeze duration according to the mine of digging next time for supplying duration the first equity of configuration, wherein freeze duration for configuring The the first average duration for digging mine next time of first equity.
Second aspect, the update the system when present invention provides a kind of digging ore deposit consumption, comprising:
First average duration computing unit is configured to each first according to consumed by the first equity n times of mortgage digging mine Duration calculation first is averaged duration;Wherein, if the first duration is less than the minimum duration being pre-configured, when a length of first when taking minimum Long, N is positive integer;
Second average duration computing unit is configured to the first average duration of each first equity in calculation block chain network Average value, obtain the second average duration;
Judging unit is configured to judge whether the second average duration and the difference of the first average duration meet pre-configuration First condition: being, then supplies duration according to difference and the calculating of the first formula;
Freeze duration configuration unit, is configured to according to when the freezing of mine of digging next time for supplying duration the first equity of configuration It is long, wherein to freeze duration for configuring the first average duration for digging mine next time of the first equity.
The third 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 Modification method when the digging ore deposit consumption that embodiment provides.
Fourth aspect, the present invention also provides a kind of storage medium for being stored with computer program, which makes to count Modification method when calculation machine executes the digging ore deposit consumption that each embodiment provides according to the present invention.
Modification method, equipment and storage medium pass through according to the of mortgage when the digging ore deposit consumption that many embodiments of the present invention provide One equity n times dig each first duration calculation first consumed by mine and are averaged duration;Wherein, it is pre-configured most if the first duration is less than Small duration, then a length of first duration when taking minimum, N is positive integer;The first of each first equity is average in calculation block chain network The average value of duration obtains the second average duration;It is pre- to judge whether the difference of the second average duration and the first average duration meets The first condition of configuration: being, then supplies duration according to difference and the calculating of the first formula;The first equity is configured according to duration is supplied That digs mine next time freezes duration, wherein freezes duration for configuring the first average duration for digging mine next time of the first equity Method, amendment or part amendment part miner cheating or improve unit using the methods of system bug and obtained by 1 digging mine qualification The problem of probability of mineral rights must be dug, provides more good user experience for other miners.
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 scene is corrected when the another kind that one embodiment of the invention provides digs ore deposit consumption.
Fig. 2 is the flow chart of modification method when the another kind that one embodiment of the invention provides digs ore deposit consumption.
Fig. 3 is a kind of flow chart of preferred embodiment of method shown in Fig. 2.
Fig. 4 is the flow chart of step S15 in a kind of preferred embodiment of method shown in Fig. 2.
The structural schematic diagram of update the system when a kind of digging ore deposit consumption that Fig. 5 provides for one embodiment of the invention.
Fig. 6 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.
The present invention provides solution modified when several digging ore deposit consumptions, the block catenary system applied by the present invention program In, the duration for digging mine qualification consumption depends on digging the time point and dig the time point that mine qualification terminates that mine qualification generates, and first closes About the time point and the time supervision program for digging the time point that mine qualification terminates that mine qualification generates are dug configured with monitoring;Wherein, One contract will dig mine qualification and be issued to the time point that the time point in the account of user is digging mine qualification generation, and node, which obtains, digs mine The time point that power generates block is the time point digging mine qualification and terminating.
Dig the method that mine qualification generates are as follows: the first contract mortgages several equity and prewired by client according to user The exchange proportion of the equity and digging mine qualification set distributes the digging mine qualification with several equity respective numbers mortgaged for user, and The digging mine qualification of respective numbers is issued in the account of user.
The schematic diagram of scene is corrected when a kind of digging ore deposit consumption that Fig. 1 provides for one embodiment of the invention.As shown in Figure 1, with power Beneficial A, equity B, equity C, equity D, equity E are each equity in block chain network, equity B, equity C, equity D, equity E the One mean time length is identical;The average duration of the first of equity A averagely duration, and the second average duration and the first mean time less than second Long difference meets the first condition of pre-configuration, for needing calculating to supply duration, repairs when to another digging ore deposit consumption of the invention Direction-determining board is described in detail.
The flow chart of modification method when a kind of digging ore deposit consumption that Fig. 2 provides for one embodiment of the invention.As shown in Fig. 2, at this In embodiment, the present invention provides another modification method when digging ore deposit consumption, comprising:
S13: according to the first equity n times of mortgage dig mine consumed by each first duration calculation first be averaged duration;Wherein, If the first duration is less than the minimum duration being pre-configured, a length of first duration when taking minimum, N is positive integer;
S14: the average value of the average duration of the first of each first equity in calculation block chain network obtains the second mean time It is long;
S15: judge whether the difference of the second average duration and the first average duration meets the first condition of pre-configuration: being, Duration is then supplied according to difference and the calculating of the first formula;
S16: duration is freezed according to the mine of digging next time for supplying duration the first equity of configuration, wherein freeze duration and be used for Configure the first average duration for digging mine next time of the first equity.
Specifically, shown in Fig. 1 for scene, it is assumed that N 3, when minimum of pre-configuration, are 48 hours a length of, and the of pre-configuration One condition is that the difference of the second average duration and the first average duration is greater than 5 hours, a length of second average duration and the when supplying The difference of one average duration, under to dig mine several times be a length of 1.1 times of duration for supplying duration when digging mine next time and freezing;Power The first mean time of beneficial A a length of 50 hours, equity B, equity C, equity D, equity E the first average duration be 60 hours, and Equity B, equity C, equity D, equity E each first duration be all larger than the minimum duration of pre-configuration.
In step s 13, the first contract according to the first equity n times of mortgage dig mine consumed by each first duration calculation the One average duration (for example, 3 the first durations of equity A are respectively 30 hours, and 50 hours, 52 hours, the minimum duration of pre-configuration It is 48 hours, then the first mean time of equity A is a length ofHour, equity B, equity C, equity D, equity E First average duration is 60 hours);
In step S14, the average value of the average duration of the first of each first equity in the first contract calculation block chain network, The second average duration is obtained, the second mean time is a length of
The average value of the average duration of first of each first equity in calculation block chain network obtains the second average duration, Second mean time is a length ofHour;
In step S15, it is prewired that the first contract judges whether the difference of the second average duration and the first average duration meets The first condition set: being, then supplies duration according to difference and the calculating of the first formula;Due to the second mean time a length of 58 hours, power The first mean time of beneficial A a length of 50 hours, the difference of second averagely the first average duration of duration and equity A was 8 hours, was met (first condition of pre-configuration is that the second averagely difference of duration and the first average duration is small greater than 5 to the first condition of pre-configuration When), duration is supplied according to the calculating of the first formula;The difference of a length of second average duration and the first average duration when again due to supplying Value, therefore calculate a length of 8 hours when supplying of egress A;
In step s 16, the first contract freezes duration according to the mine of digging next time for supplying duration the first equity of configuration;By A length of 8 hours when supplying, under to dig mine several times be to dig mine and while freezing a length of 1.1 times of duration for supplying duration next time, Therefore the 8 × 1.1=8.8 hours a length of when freezing of mine qualification consumption is dug in lower 3 dry times of configuration equity A.
Above-mentioned example is with scene shown in Fig. 1, N 3,48 hours a length of, the first condition of pre-configuration when the minimum of pre-configuration Difference for the second average duration and the first average duration is greater than 5 hours, and a length of second average duration and first is averaged when supplying The difference of duration, a length of 1.1 times of duration for supplying duration when freezing;The first mean time of equity A a length of 50 hours, equity B, Equity C, equity D, equity E the first average duration be 60 hours, and equity B, equity C, equity D, equity E each first when Length is all larger than for the minimum duration of pre-configuration, illustrative elaboration has been carried out to method shown in FIG. 1, in more embodiments In, any different duration (such as 40 that can also according to actual needs configure the minimum duration of pre-configuration in zone of reasonableness Hour, 50 hours, 60 hours etc.), by the first condition of pre-configuration be configured to the ratio of difference and the first average duration, difference with The first condition for meeting pre-configuration is configured the number greater than the fixation being pre-configured by the other ways such as the ratio of the second average duration Value (such as 5 hours) or numerical value (such as the duration obtained according to certain algorithm) greater than floating, and, duration configuration will be supplied Fixed numerical value is added for the multiple (such as 1.2 times of difference) of difference or on the basis of difference, and identical skill can be achieved Art effect.
It is 1 that above-described embodiment, which provides and just or partially corrects part miner cheating or improve unit using the methods of system bug, Digging mine qualification obtain dig mineral rights probability digging ore deposit consumption when modification method.
Fig. 3 is a kind of flow chart of preferred embodiment of method shown in Fig. 2.As shown in figure 3, in a preferred embodiment In, before step S13 further include:
S11: several equity mortgaged according to user by client, and the equity being pre-configured and the exchange for digging mine qualification Ratio distributes the digging mine qualification with several equity respective numbers mortgaged for user, and by the digging mine qualification granting of respective numbers Into the account of user, wherein every digging mine will once consume a digging mine qualification;
S12: the corresponding relationship for digging mine qualification and account is stored in block chain.
Specifically, it is assumed that equity is certain encryption currency Y, and the equity of pre-configuration and the exchange proportion for digging mine qualification are 10000 (coin encrypts currency Y): 1 (a digging mine qualification), user mortgage 10000 coin by client and encrypt currency Y to exchange digging mine for The public key address that mine qualification and the corresponding relationship of account be digging mine qualification corresponding random number and account is dug in qualification;
In step s 11, the first contract encrypts currency Y by 10000 coin that client is mortgaged according to user, and pre- The equity of configuration and the exchange proportion 10000:1 for digging mine qualification distribute 1 digging mine qualification for user, and 1 digging mine qualification are sent out It is put into the account of user;
In step s 12, the corresponding relationship for digging mine qualification and account is stored in block chain by the first contract.
Above-described embodiment is certain encryption currency Y with equity, and the equity of pre-configuration and the exchange proportion for digging mine qualification are 10000 (coin encrypts currency Y): 1 (a digging mine qualification), the corresponding relationship for digging mine qualification and account is the random number and account for digging mine qualification For the public key address at family, above-described embodiment is illustrated, it, can also be according to actual needs by equity in more embodiments The assets of transaction can be standardized by being configured to gold, silver etc. arbitrarily, configure different number ratios for exchange proportion, with And random number and id of account etc. that the corresponding relationship for digging mine qualification and account is configured to digging mine qualification can be proved to dig mine money The parameter of the identity of lattice and account is, it can be achieved that identical technical effect.
Fig. 4 is the flow chart of step S15 in a kind of preferred embodiment of method shown in Fig. 2.As shown in figure 4, excellent one It selects in embodiment, step S15 includes:
S151: the difference of the second average duration and the first average duration is calculated;
S153: judging whether the first ratio is greater than the first threshold of pre-configuration, is, then when being supplied according to the calculating of the first formula It is long;Wherein, the first ratio is the ratio of difference with the second average duration.
Specifically, with scene shown in FIG. 1, the second mean time a length of 58 hours, the first mean time a length of 50 of equity A was small When, the first ratio is the ratio of difference with the second average duration, for the first threshold of pre-configuration is 10%;
In step S151, the first contract calculates the difference of the second average duration and the first average duration;Due to second flat It is 58 hours a length of when, the first mean time of equity A a length of 50 hours, therefore calculating its difference is 8 hours;
In step S253, the first contract judges whether the first ratio is greater than the first threshold of pre-configuration, calculates first Ratio is (58-50) ÷ 58=13.79%, greater than the first threshold 10% of pre-configuration, then when being supplied according to the calculating of the first formula It is long.
In more embodiments, fixed numbers can also be configured, it can be achieved that identical by the first ratio according to actual needs Technical effect.
In a preferred embodiment, the calculation method of the first ratio are as follows:Wherein, R is first ratio Value, M are the sum of each first node in block chain network, old1、old2、old3…oldMFor each first total duration; The circular of first ratio is identical as the step S153 in granting shown in Fig. 4, and details are not described herein again.
In a preferred embodiment, the calculation method of duration is supplied are as follows: Wherein, new1Duration is supplied to be described, M is the sum of each first node in block chain network, old1、old2、old3… oldMFor each first total duration, C is the degree-of-difficulty factor being pre-configured;With the second mean time a length of 58 hours, the first of equity A Mean time a length of 50 hours, the difference of the second average duration and the first average duration met the first condition of pre-configuration, C 0.8 For, calculate a length of 0.8 when supplying × (5850)=6.4 hour.
In a preferred embodiment, after step S16 further include:
First contract repeats step S13 to step 16, until meeting:
Judge whether the difference of the second average duration and the first average duration meets the first condition of pre-configuration: no.
Specifically, with equity A a length of 6.4 hours when freezing, the second mean time a length of 58 that equity A digs mine next time is small When, equity A digs the first mean time a length of 56.4 hours of mine next time, and the first condition of pre-configuration is the second average duration and the For the difference of one average duration is greater than 5 hours;It is calculated, equity A is dug next time under the first average duration and equity A of mine The difference of primary the first average duration for digging mine is 1.6 hours, less than 5 hours of pre-configuration, then terminates this method.
The structural schematic diagram of update the system when a kind of digging ore deposit consumption that Fig. 5 provides for one embodiment of the invention.System shown in fig. 5 System can correspond to either method shown in execution Fig. 2-4.As shown in figure 5, update the system 10 when the present invention provides a kind of digging ore deposit consumption, packet It includes the first average duration computing unit 101, second and be averaged and duration computing unit 102, judging unit 103 and freeze duration configuration singly Member 104.
First average duration computing unit 101 be configured to according to the first equity n times of mortgage dig mine consumed by each the One duration calculation first is averaged duration;Wherein, if the first duration is less than the minimum duration being pre-configured, a length of first when taking minimum Duration, N are positive integer;
Second average duration computing unit 102 is configured to the first mean time of each first equity in calculation block chain network Long average value obtains the second average duration;
Judging unit 103 is configured to judge whether the second average duration and the difference of the first average duration meet pre-configuration First condition: be, then according to difference and the first formula calculating supply duration;
Freeze duration configuration unit 104 to be configured to be freezed according to the digging mine next time for supplying duration the first equity of configuration Duration, wherein freeze duration for configuring the first average duration for digging mine next time of the first equity.
In a preferred embodiment, system further includes digging mine qualification allocation unit and corresponding relationship storage relation unit.It digs Mine qualification allocation unit is configured to several equity mortgaged according to user by client, and the equity and Wa Kuang that are pre-configured The exchange proportion of qualification distributes the digging mine qualification with several equity respective numbers mortgaged for user, and by the digging of respective numbers Mine qualification is issued in the account of user, wherein every digging mine will once consume a digging mine qualification;Corresponding relationship stores relationship list Member is configured to that the corresponding relationship deposit block chain of mine qualification and account will be dug.
In a preferred embodiment, judging unit 103 further includes difference computation subunit and judgment sub-unit.Difference calculates Subelement is configured to calculate the difference of the second average duration and the first average duration;Judgment sub-unit is configured to judgement first Whether ratio is greater than the first threshold of pre-configuration, is, then supplies duration according to difference and the calculating of the first formula;Wherein, the first ratio Value is the ratio of difference with the second average duration.
In a preferred embodiment, the calculation method of the first ratio are as follows:Wherein, R is the first ratio, and M is The sum of each first node, old in block chain network1、old2、old3…oldMFor each first total duration.
In a preferred embodiment, the calculation method of duration is supplied are as follows: Wherein, new1To supply duration, M is the sum of each first node in block chain network, old1、old2、old3…oldMIt is each One total duration, C are the degree-of-difficulty factor being pre-configured.
In a preferred embodiment, system further includes cycling element.Cycling element is configured to appoint shown in circulation Fig. 2-4 One method, until meeting:
Judge whether the difference of the second average duration and the first average duration meets the first condition of pre-configuration: no.
Principle is corrected when the digging ore deposit consumption of above-mentioned each system shown in fig. 5 can refer to method shown in Fig. 2-4, no longer superfluous herein It states.
Fig. 6 is a kind of structural schematic diagram for equipment that one embodiment of the invention provides.
As shown in fig. 6, present invention also provides a kind of equipment 600, including one or more centres as on the other hand Unit (CPU) 601 is managed, can be added according to the program being stored in read-only memory (ROM) 602 or from storage section 608 The program that is downloaded in random access storage device (RAM) 603 and execute various movements appropriate and processing.In RAM603, also deposit It contains equipment 600 and operates required various programs and data.CPU601, ROM602 and RAM603 pass through the phase each other of bus 604 Even.Input/output (I/O) interface 605 is also connected to bus 604.
I/O interface 605 is connected to lower component: the importation 606 including keyboard, mouse etc.;It is penetrated including such as cathode The output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 608 including hard disk etc.; And the communications portion 609 of the network interface card including LAN card, modem etc..Communications portion 609 via such as because The network of spy's net executes communication process.Driver 610 is also connected to I/O interface 605 as needed.Detachable media 611, such as Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 610, in order to read from thereon Computer program be mounted into storage section 608 as needed.
Particularly, in accordance with an embodiment of the present disclosure, modification method can be by when the digging ore deposit consumption of any of the above-described embodiment description It is embodied as computer software programs.For example, embodiment of the disclosure includes a kind of computer program product comprising visibly wrap Containing computer program on a machine-readable medium, the computer program includes the journey of modification method when digging ore deposit consumption for executing Sequence code.In such embodiments, which can be downloaded and installed from network by communications portion 609, And/or it is mounted from detachable media 611.
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 Modification method when program is used to execute the digging ore deposit consumption 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 (14)

1. modification method when a kind of digging ore deposit consumption characterized by comprising
According to the first equity n times of mortgage dig mine consumed by each first duration calculation first be averaged duration;Wherein, if described One duration is less than the minimum duration being pre-configured, then a length of first duration when taking described minimum, N is positive integer;
The average value of the average duration of the first of each first equity in calculation block chain network, obtains the second average duration;
Judge whether the difference of the described second average duration and the first average duration meets the first condition of pre-configuration: being, Duration is then supplied according to the difference and the calculating of the first formula;
According to it is described supply duration and configure the mine of digging next time of first equity freeze duration, wherein it is described to freeze duration For configuring the described first average duration for digging mine next time of first equity.
2. disappearing the method according to claim 1, wherein the continuous n times of first equity according to mortgage dig mine Each first duration calculation first of consumption is averaged before duration further include:
According to several first equity that user is mortgaged by client, and first equity and digging mine money that are pre-configured The exchange proportion of lattice distributes the digging mine qualification with several first equity respective numbers of the mortgage for user, and The digging mine qualification of the respective numbers is issued in the account of user, wherein every digging mine will once consume described in one Dig mine qualification;
The corresponding relationship of the digging mine qualification and the account is stored in block chain.
3. the method according to claim 1, wherein the average duration of the judgement described second and described first flat Whether the difference of equal duration meets the first condition of pre-configuration: being then to supply duration according to the difference and the calculating of the first formula Include:
Calculate the difference of the described second average duration and the first average duration;
Judge whether the first ratio is greater than the first threshold of pre-configuration, be, is then calculated according to the difference and first formula It is described to supply duration;Wherein, first ratio is the ratio of the difference with the described second average duration.
4. according to the method described in claim 3, it is characterized in that, the calculation method of first ratio are as follows:Wherein, R is first ratio, M is the sum of each first node in block chain network, old1、old2、old3…oldMFor each first total duration.
5. method according to claim 1-4, which is characterized in that the calculation method for supplying duration are as follows:Wherein, new1Duration is supplied to be described, M is block link network The sum of each first node, old in network1、old2、old3…oldMFor each first total duration, C is the difficulty being pre-configured Spend coefficient.
6. method according to claim 1-4, which is characterized in that described to be supplied according to described in duration configuration After mine is dug under first equity several times freeze duration after, further includes:
The method is recycled, until meeting:
Judge whether the difference of the described second average duration and the first average duration meets the first condition of pre-configuration: no.
7. update the system when a kind of digging ore deposit consumption characterized by comprising
First average duration computing unit is configured to each first duration according to consumed by the first equity n times of mortgage digging mine Calculate the first average duration;Wherein, if first duration is less than the minimum duration being pre-configured, a length of institute when taking described minimum The first duration is stated, N is positive integer;
Second average duration computing unit is configured to the first average duration of each first equity in calculation block chain network Average value, obtain the second average duration;
It is prewired to be configured to judge whether the difference of the described second average duration and the first average duration meets for judging unit The first condition set: being, then supplies duration according to the difference and the calculating of the first formula;
Freeze duration configuration unit, is configured to supply the jelly for digging mine next time that duration configures first equity according to Tie duration, wherein the duration of freezing is for configuring the described first average duration for digging mine next time of first equity.
8. system according to claim 7, which is characterized in that further include:
Mine qualification allocation unit is dug, several equity mortgaged according to user by client, and the power being pre-configured are configured to Benefit and the exchange proportion for digging mine qualification, distribute the digging mine qualification with several equity respective numbers of the mortgage for user, And the digging mine qualification of the respective numbers is issued in the account of user, wherein every digging mine will once consume an institute It states and digs mine qualification;
Corresponding relationship stores relation unit, is configured to the corresponding relationship of the digging mine qualification and the account being stored in block Chain.
9. system according to claim 7, which is characterized in that the judging unit further include:
Difference computation subunit is configured to calculate the difference of the described second average duration and the first average duration;
Judgment sub-unit is configured to judge the first threshold whether the first ratio is greater than pre-configuration, is, then according to the difference Duration is supplied with described in first formula calculating;Wherein, first ratio is the difference and the described second average duration Ratio.
10. system according to claim 7, which is characterized in that the calculation method of first ratio are as follows:Wherein, R is first ratio, M is the sum of each first node in block chain network, old1、old2、old3…oldMFor each first total duration.
11. according to the described in any item systems of claim 7-10, which is characterized in that the calculation method for supplying duration are as follows:Wherein, new1Duration is supplied to be described, M is block link network The sum of each first node, old in network1、old2、old3…oldMFor each first total duration, C is the difficulty being pre-configured Spend coefficient.
12. according to the described in any item systems of claim 7-10, which is characterized in that further include:
Cycling element is configured to circulation the method, until meeting:
Judge whether the difference of the described second average duration and the first average duration meets the first condition of pre-configuration: no.
13. 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-12.
14. 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-12.
CN201811133671.XA 2018-09-27 2018-09-27 Ore digging time consumption correction method, device and storage medium Active CN109410050B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811133671.XA CN109410050B (en) 2018-09-27 2018-09-27 Ore digging time consumption correction method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811133671.XA CN109410050B (en) 2018-09-27 2018-09-27 Ore digging time consumption correction method, device and storage medium

Publications (2)

Publication Number Publication Date
CN109410050A true CN109410050A (en) 2019-03-01
CN109410050B CN109410050B (en) 2021-08-06

Family

ID=65465328

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811133671.XA Active CN109410050B (en) 2018-09-27 2018-09-27 Ore digging time consumption correction method, device and storage medium

Country Status (1)

Country Link
CN (1) CN109410050B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111510348A (en) * 2020-04-08 2020-08-07 杭州复杂美科技有限公司 Abnormal ore excavation monitoring method and device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107078903A (en) * 2016-12-23 2017-08-18 深圳前海达闼云端智能科技有限公司 Digging ore deposit method, device and the node device of block chain
CN107945020A (en) * 2017-11-28 2018-04-20 浙江师范大学 A kind of block chain is sustainable to dig ore deposit method and system
US20180218176A1 (en) * 2017-01-30 2018-08-02 SALT Lending Holdings, Inc. System and method of creating an asset based automated secure agreement

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107078903A (en) * 2016-12-23 2017-08-18 深圳前海达闼云端智能科技有限公司 Digging ore deposit method, device and the node device of block chain
US20180218176A1 (en) * 2017-01-30 2018-08-02 SALT Lending Holdings, Inc. System and method of creating an asset based automated secure agreement
CN107945020A (en) * 2017-11-28 2018-04-20 浙江师范大学 A kind of block chain is sustainable to dig ore deposit method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111510348A (en) * 2020-04-08 2020-08-07 杭州复杂美科技有限公司 Abnormal ore excavation monitoring method and device and storage medium
CN111510348B (en) * 2020-04-08 2021-08-31 杭州复杂美科技有限公司 Abnormal ore excavation monitoring method and device and storage medium

Also Published As

Publication number Publication date
CN109410050B (en) 2021-08-06

Similar Documents

Publication Publication Date Title
Wiesemann et al. Maximizing the net present value of a project under uncertainty
Hoopes et al. Guest editors' introduction to the special issue: why is there a resource‐based view? Toward a theory of competitive heterogeneity
Hazır et al. Discrete time/cost trade-off problem: A decomposition-based solution algorithm for the budget version
Jurado et al. Stock management in hospital pharmacy using chance-constrained model predictive control
Majumdar Sluggish giants, sticky cultures, and dynamic capability transformation
CN108596623A (en) A kind of block chain common recognition reaches method
CN109558112A (en) Random digit generation method, anti-cheating block catenary system, equipment and storage medium
Ding et al. The (σ, S) policy for uncertain multi-product newsboy problem
MirHassani et al. Implications of capacity expansion under uncertainty in oil industry
CN108648082A (en) A kind of computer system reached for block chain common recognition
CN108629588A (en) A kind of computer-readable medium reached for block chain common recognition
Ciaian et al. The economic dependency of bitcoin security
Liu et al. A distributed game theoretic approach for blockchain-based offloading strategy
Petit et al. Complexity-minded antitrust
CN109410050A (en) Modification method, equipment and storage medium when digging ore deposit consumption
Klages-Mundt et al. Optimal intervention in economic networks using influence maximization methods
Bottazzi et al. Selection in asset markets: the good, the bad, and the unknown
Peng et al. Towards uncertain network optimization
Afshar et al. Fuzzy multi-objective optimization of finance-based scheduling for construction projects with uncertainties in cost
Cockshott et al. Information and economics: A critique of Hayek
Powell Robinson Jr et al. Master production schedule time interval strategies in make-to-order supply chains
Soria et al. Optimal mining in proof-of-work blockchain protocols
CN109284989A (en) Modification method, equipment and storage medium when digging ore deposit consumption
Mandel et al. Stochastic stability in the Scarf economy
Randa et al. Heuristic methods for the capacitated stochastic lot-sizing problem under the static-dynamic uncertainty strategy

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