CN109509090A - It is a kind of to convert the method and device for taking virtual digit currencies - Google Patents

It is a kind of to convert the method and device for taking virtual digit currencies Download PDF

Info

Publication number
CN109509090A
CN109509090A CN201811058981.XA CN201811058981A CN109509090A CN 109509090 A CN109509090 A CN 109509090A CN 201811058981 A CN201811058981 A CN 201811058981A CN 109509090 A CN109509090 A CN 109509090A
Authority
CN
China
Prior art keywords
virtual digit
currency
odd
server
mine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811058981.XA
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.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch 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 Shenzhen Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN201811058981.XA priority Critical patent/CN109509090A/en
Publication of CN109509090A publication Critical patent/CN109509090A/en
Pending legal-status Critical Current

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
    • 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/06Asset management; Financial planning or analysis

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Technology Law (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Human Resources & Organizations (AREA)
  • Operations Research (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

This application discloses the method and devices that a kind of conversion takes virtual digit currencies.This method comprises: server calculates the digging mine odd-numbered day income for digging the virtual digit currency that mine equipment takes one or more types;The server determines that the odd-numbered day takes in highest virtual digit currency in the virtual digit currency of one or more of types;The server sends conversion instruction to the digging mine equipment, and the conversion instruction is used to indicate the digging mine equipment conversion and takes the highest virtual digit currency of the odd-numbered day income.It also discloses corresponding server and digs mine equipment.Using the scheme of the application, it can be achieved that mine virtual digit currencies is dug in conversion, so that dig mine equipment works in the highest currency of price always, the value of mine is dug in raising.

Description

It is a kind of to convert the method and device for taking virtual digit currencies
Technical field
This application involves methods and dress that block chain field more particularly to a kind of conversion take virtual digit currencies It sets.
Background technique
The birth of bit coin in 2009, a kind of ideal money based on P2P network enter the visual field of people.With bit The rule of mine are dug in the gradually in-depth of the gradually perfect and relevant block chain technology of coin investment market, the rise in price of bit coin Mould is constantly expanding, while also having derived many other ideal moneys, and people also start to dig various ideal moneys Mine.
Mine pond is the indispensable facility for exploiting ideal money, and the work for digging mine is calculated power by more mine machine cooperations and completed, and digs and arrives coin Later according to contribution distribution reward.But be currently in the mine machine in mine pond, a kind of mine machine can only for digging a kind of token, due to The price fluctuation of ideal money is larger, can frequently result in digging mine people and is unable to judge accurately the currency type taken, leads to the fluctuation of income It is larger.
Summary of the invention
This application provides the method and devices that a kind of conversion takes virtual digit currencies, to realize that accurate judgement is worked as The preceding highest currencies of income increases and digs mine income.
In a first aspect, providing a kind of method converted and take virtual digit currencies, comprising: server, which calculates, digs mine Equipment takes the digging mine odd-numbered day income of the virtual digit currency of one or more types;The server determines one or more The odd-numbered day takes in highest virtual digit currency in the virtual digit currency of a type;The server sends conversion instruction to described Mine equipment is dug, the conversion instruction is used to indicate the digging mine equipment conversion and takes the highest virtual digit goods of the odd-numbered day income Coin.
In one possible implementation, the server calculates one or more type virtual digit currency and digs mine list Day is taken in, comprising: the server is according to formula KX=D/B × C × A calculates the odd-numbered day of the virtual digit currency X of each type Income;Wherein, D is the own calculation power for digging mine equipment, and the whole network that B is digital cash X calculates power, and C is the whole network virtual digit goods The daily Gross Output of coin X, A are the price of virtual digit currency X.
In alternatively possible implementation, the server determines one or more of type virtual digit currency The middle odd-numbered day takes in highest virtual digit currency, comprising: digging of the server to a variety of virtual digit currency being calculated Mine odd-numbered day income is ranked up, and determines that the odd-numbered day takes in highest virtual digit currency.
In another possible implementation, before the server sends conversion instruction to the digging mine equipment, also It include: the digging mine node of the server registration variety classes virtual digit currency;When odd-numbered day income peak has update When, original virtual digit currency node working condition is set as suspending, the digging mine node of new virtual digit currency is worked State is set on.
Second aspect provides a kind of convert and takes the method for ideal money type, comprising: dig mine equipment take one or The virtual digit currency of multiple types;The digging mine equipment receives the conversion instruction from server, and the conversion instruction is used for Indicate that the digging mine equipment conversion takes the odd-numbered day highest virtual digit currency of income;The digging mine equipment conversion takes virtual number The type of word currency, the type that the conversion takes ideal money include that the determining odd-numbered day income of the server is highest virtual Digital cash.
In one possible implementation, after the computer equipment receives the conversion instruction from server, turn It is changed to the algorithm for calculating the virtual digit currency.
The third aspect provides a kind of server, comprising: computing unit takes one or more for calculating digging mine equipment The digging mine odd-numbered day of a type virtual digit currency is taken in;Determination unit, for determining one or more of type virtual digits The odd-numbered day takes in highest virtual digit currency in currency;Transmission unit, it is described for sending conversion instruction to the digging mine equipment Conversion instruction is used to indicate the digging mine equipment conversion and takes the highest virtual digit currency of the odd-numbered day income.
In one possible implementation, the server further include: registering unit, for registering the variety classes Virtual digit currency digging mine node;Converting unit: for converting the digging mine node of the variety classes virtual digit currency.
In alternatively possible implementation, the server further include: storage element: for storing the virtual number The word currency odd-numbered day takes in peak.
Fourth aspect provides a kind of digging mine equipment, comprising: mine unit is dug, for taking the void of one or more types Quasi- digital cash;Receiving unit, for receiving the conversion instruction from server, the conversion instruction is used to indicate the digging mine Equipment conversion takes the odd-numbered day highest virtual digit currency of income;Converting unit, conversion take the type of virtual digit currency, institute Stating conversion to take the type of ideal money includes taking in highest virtual digit currency in the server determining odd-numbered day.
In one possible implementation, the digging mine equipment further include: transmission unit is successfully believed for sending digging mine Number to server.
5th aspect, provides a kind of server, including processor, input equipment, output equipment and memory, the place It manages device, the input equipment, the output equipment and the memory to be connected with each other, wherein the memory is based on storing Calculation machine program, the computer program include program instruction, and the processor is configured for calling described program instruction, are executed The method of above-mentioned first aspect and its any possible implementation.
6th aspect, provides a kind of digging mine equipment, including processor, input equipment, output equipment and memory, described Processor, the input equipment, the output equipment and the memory are connected with each other, wherein the memory is for storing Computer program, the computer program include program instruction, and the processor is configured for calling described program instruction, are held The method of the above-mentioned second aspect of row and its any possible implementation.
7th aspect, provides a kind of computer readable storage medium, the computer-readable recording medium storage has meter Calculation machine program, the computer program include program instruction, and described program instruction makes the processor when being executed by a processor The method for executing above-mentioned first aspect and its any possible implementation.
Eighth aspect, provides a kind of computer readable storage medium, and the computer-readable recording medium storage has meter Calculation machine program, the computer program include program instruction, and described program instruction makes the processor when being executed by a processor The method for executing above-mentioned second aspect and its any possible implementation.
The embodiment of the present application calculates the virtual digit currency digging mine odd-numbered day receipts for taking one or more types by server Enter, then determine the virtual digit currencies of the highest income, is set finally, the server sends conversion instruction to mine is dug It is standby, to dig mine virtual digit currencies for digging the conversion of mine equipment, price highest is worked in always to reach and dig mine equipment Currency, improve dig mine value.
Detailed description of the invention
Fig. 1 is a kind of process signal for converting the method for taking virtual digit currencies provided by the embodiments of the present application Figure;
Fig. 2 be it is provided by the embodiments of the present application it is a kind of convert take virtual digit currencies method dig mine equipment it is initial The flow diagram of starting;
Fig. 3 be it is provided by the embodiments of the present application it is a kind of convert take virtual digit currencies method dig mine successfully flow Journey schematic diagram;
Fig. 4 is a kind of structural schematic diagram for digging mine equipment provided by the embodiments of the present application;
Fig. 5 is a kind of server architecture schematic diagram provided by the embodiments of the present application;
Fig. 6 is a kind of hardware structural diagram for digging mine equipment provided by the embodiments of the present application;
Fig. 7 is a kind of hardware structural diagram of server provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application is described.
It can be found that existing digging mine equipment can only specify a kind of virtual digit currency to be dug during Wa Kuang It takes, and the market price of virtual digit currency can change with some decisions of market or investor, so that these numbers are empty The price fluctuation of quasi- currency is very big, increasing in global influence power with regard to by bit coin for, and annual output is but increasingly Few, domestic many investors are eager to have a try, this income is lost and the digital cash Great War deposited will also continue many years.From 0.003 dollar of price starting, to the grand military success of 18674 dollars of summits, then more than 7000 dollars of middle price by now, this A fluctuation is undoubtedly huge.And with the development of block chain technology, other kinds of virtual digit goods is gradually also derived Coin, but with the price of various currency, being very difficult to judgement, when this takes any currency, cause volatitle revenue dynamic compared with Greatly, it tends not to obtain biggish income.Based on the above issues, the embodiment of the present application propose it is a kind of conversion take virtual digit The method of currencies, server and digging mine equipment: server calculates digging mine equipment and takes one or more type virtual digits Currency digs mine odd-numbered day income;The server determines that the digging mine equipment takes one or more type virtual digit currency odd-numbered days Take in highest virtual digit currency;The server sends conversion instruction to the digging mine equipment, and the conversion instruction is used for Indicate that the digging mine equipment conversion takes the highest virtual digit currency of the odd-numbered day income.Can be calculated in real time by server and Conversion instruction is sent, facilitates the judgement to variety classes digital virtual currency and takes, obtain larger income as far as possible.
Referring to Fig. 1, Fig. 1 is the method that a kind of conversion provided by the embodiments of the present application takes virtual digit currencies Flow diagram.
S101, server calculate digging mine equipment and take one or more type virtual digit currency digging mine odd-numbered days incomes.
Server obtains in real time from exchange dig the reality that mine equipment takes one or more type virtual digit currency first When price, the whole network for downloading one or more virtual digit currency in real time from internet calculates power, and server is known in advance to be dug The own calculation power and the daily Gross Output of currency of mine equipment are calculated and dig the mine equipment odd-numbered day and take one according to the four above parameter The odd-numbered day of kind or a variety of currency income.
Specifically, server calculates the odd-numbered day income K of the virtual digit currency X of each typeX=D/B × C × A, wherein D is the own calculation power for digging mine equipment, and the whole network that B is virtual digit currency X calculates power, and C is the every of the whole network virtual digit currency X Day Gross Output, A are the price of virtual digit currency X.Wherein, the price A of virtual digit currency is the server real-time collecting Virtual digit money price from exchange is a variable;It is also a variable that the whole network of virtual digit currency X, which calculates power, and It is a quantitative for digging the own power D and the Gross Output C of the whole network virtual digit currency of calculating of mine equipment.Pass through calculation formula described above, clothes Business device can obtain the virtual digit currency of all kinds in exchange by the own odd-numbered day Revenue calculating power and taking, after facilitating Continuous processing.
Server once receive the different digital virtual currency of one or more updated from exchange price or The whole network after variation calculates power, is just carried out calculating the income for digging the mine odd-numbered day according to the formula.
S102, server determine that digging mine equipment takes the highest void of one or more type virtual digit currency odd-numbered days incomes Quasi- digital cash.
The server is ranked up the odd-numbered day income for the virtual digit currency for calculating resulting one or more, obtains The virtual digit currencies of highest odd-numbered day income, while the value of highest odd-numbered day income is stored, to facilitate subsequent processing.
S103, digging mine equipment take virtual digit currency X.
Digging mine equipment to take the principle of virtual digit currency is to dig mine equipment to do a series of Hash operation, when operation obtains Cryptographic Hash meet goal rule, as digging mine success.
Wherein, S101, S102 and S103 can be executes parallel, is also possible to successively to execute, for example, S101, S102 and S103 parallel state are to dig mine equipment during Wa Kuang, and server is according to the one or more goods received in real time Coin price updating or the whole network, which are calculated, is recalculated and is determined that the odd-numbered day takes in highest virtual digit currencies after power updates.
S104, server send conversion instruction to mine equipment is dug.
It specifically, can be to digging after server determines that highest Revenue and highest take in corresponding virtual digit currencies Mine equipment sends the virtual digit currency object that conversion takes, and before that, server need to be registered simultaneously before starting to dig mine Digging mine node as one or more virtual digit currency.And before sending instruction, original digital cash is dug into mine node Working condition be set as suspending, by new digital cash dig mine node working condition be set on.
After server is updated virtual digit money price to data or the whole network calculates power, recalculate a kind of or more The odd-numbered day of kind currency digs mine income, and resulting highest Revenue is compared with the highest Revenue that the server stores, if working as Preceding highest Revenue is greater than the peak stored, then current value is replaced to the highest Revenue stored, and send conversion Mine equipment is extremely dug in instruction;If current calculated peak is less than or equal to stored highest Revenue, give up current highest The highest Revenue of Revenue, the server storage is constant, does not send conversion instruction to digging mine equipment.
S105, digging mine equipment conversion take the highest virtual digit currency of the odd-numbered day income.
In a kind of specific embodiment, if digging mine equipment is taking X token, come from when digging mine equipment receiving After the conversion instruction of server, digs mine device hardware and do not change, the hash algorithm that conversion takes token on software (such as takes It is SHA256 algorithm used in bit coin, takes ether coin and use the variant of Dagger-Hashimoto and take Zcash uses equihash algorithm), conversion to above-mentioned odd-numbered day is taken in the corresponding Hash of highest virtual digit currency and is calculated Method.
In another specific embodiment, if currently digging mine object is bit coin, digs mine equipment and calculating SHA256 algorithm, if receive server instruction be zcash currency odd-numbered day income it is higher, be converted to and take zcash currency, then mine Machine first suspends operation SHA256 algorithm, is converted to and starts operation equihash algorithm, then converts.
Take the method for virtual digit currencies according to a kind of convert provided by the present application, by server according to real-time The income that the one or more virtual digit currency odd-numbered days calculated dig mine is compared, and determines that the odd-numbered day takes in highest digital virtual Currencies sends conversion instruction to mine equipment is dug, takes to obtain virtual digit currency kind according to instruction conversion finally, digging mine equipment Class digs mine income to increase.
Referring to Fig. 2, Fig. 2 is that the method that a kind of conversion provided by the embodiments of the present application takes virtual digit currencies is dug The flow diagram of mine equipment initial start.
Wherein, initial start refers to that user disposes starting digging mine equipment and service for the first time after good digging mine equipment and server Process when device.Specific server first registers the digging mine node of various currency, this is repeated no more.And dig mine equipment be in Machine state, waiting for server, which is sent, digs mine instruction.
S201, server calculate digging mine equipment and take one or more type virtual digit currency digging mine odd-numbered days incomes.
Server obtains in real time from exchange dig the reality that mine equipment takes one or more type virtual digit currency first When price, the whole network for downloading one or more virtual digit currency in real time from internet calculates power, and server is known in advance to be dug The own calculation power and the daily Gross Output of currency of mine equipment are calculated and dig the mine equipment odd-numbered day and take one according to the four above parameter The odd-numbered day of kind or a variety of currency income.
Specifically, server calculates the odd-numbered day income K of the virtual digit currency X of each typeX=D/B × C × A, wherein D is the own calculation power for digging mine equipment, and the whole network that B is virtual digit currency X calculates power, and C is the every of the whole network virtual digit currency X Day Gross Output, A are the price of virtual digit currency X.Wherein, the price A of virtual digit currency is the server real-time collecting Virtual digit money price from exchange is a variable;It is also a variable that the whole network of virtual digit currency X, which calculates power, and It is a quantitative for digging the own power D and the Gross Output C of the whole network virtual digit currency of calculating of mine equipment.Pass through calculation formula described above, clothes Business device can obtain the virtual digit currency of all kinds in exchange by the own odd-numbered day Revenue calculating power and taking, after facilitating Continuous processing.
Server once receive the different digital virtual currency of one or more updated from exchange price or The whole network after variation calculates power, is just carried out calculating the income for digging the mine odd-numbered day according to above-mentioned formula.
S202, server determine that the digging mine equipment takes one or more type virtual digit currency odd-numbered day income highests Virtual digit currency.
Server is ranked up the odd-numbered day income for the virtual digit currency for calculating resulting one or more, obtains highest The virtual digit currencies of odd-numbered day income, while the value of highest odd-numbered day income is stored, to facilitate subsequent processing.
S203, server send conversion instruction to mine equipment is dug.
Specifically, after the server determines that highest Revenue and highest take in corresponding virtual digit currencies, The virtual digit currency object that conversion takes can be sent to mine equipment is dug, before that, server need to be before starting to dig mine, together When be registered as the digging mine nodes of one or more virtual digit currency.And before sending instruction, original digital cash is dug The working condition of mine node is set as suspending, and the working condition that new digital cash digs mine node is set on.
After server is updated virtual digit money price to data or the whole network calculates power, recalculate a kind of or more The odd-numbered day of kind currency digs mine income, and resulting highest Revenue is compared with the highest Revenue that the server stores, if working as Preceding highest Revenue is greater than the peak stored, then current value is replaced to the highest Revenue stored, and send conversion Mine equipment is extremely dug in instruction;If current calculated peak is less than or equal to stored highest Revenue, give up current highest The highest Revenue of Revenue, the server storage is constant, does not send conversion instruction to digging mine equipment.
S204, digging mine equipment start to take the highest virtual digit currency of the odd-numbered day income.
In a kind of specific embodiment, if digging mine equipment is taking X token, come from when digging mine equipment receiving After the conversion instruction of server, digs mine device hardware and do not change, the hash algorithm that conversion takes token on software (such as takes It is SHA256 algorithm used in bit coin, takes ether coin and use the variant of Dagger-Hashimoto and take Zcash uses equihash algorithm), conversion to above-mentioned odd-numbered day is taken in the corresponding Hash of highest virtual digit currency and is calculated Method.
In another specific embodiment, if currently digging mine object is bit coin, digs mine equipment and calculating SHA256 algorithm, if receive server instruction be zcash currency odd-numbered day income it is higher, be converted to and take zcash currency, then mine Machine first suspends operation SHA256 algorithm, is converted to and starts operation equihash algorithm, then converts.
Referring to Fig. 3, Fig. 3 is that the method that a kind of conversion provided by the embodiments of the present application takes virtual digit currencies is dug The successful flow diagram of mine.
S301, digging mine equipment take current virtual digital cash.
Digging mine equipment to take the principle of virtual digit currency is to dig mine equipment to do a series of Hash operation, when operation obtains Cryptographic Hash meet goal rule, as digging mine success.
S302, the digging mine success of mine equipment is dug.
It digs mine device authentication digging mine result and meets and dig the then successful to dig mine of mine rule.Wherein, digging after mine success can be with Directly take the instruction of currency of the same race or waiting for server.
S303, mine equipment is dug to server transmission digging mine pass signal.
Mine equipment is dug when successfully digging out certain virtual digit currency, is sent to server and digs the successful signal of mine, is waited The next step of server instructs.
S304, server calculate digging mine equipment and take one or more type virtual digit currency digging mine odd-numbered days incomes.
For server after receiving the successful signal of digging mine that digging mine equipment is sent, server is real-time from exchange at once Obtain and dig mine equipment and take the real time prices of one or more type virtual digit currency, downloaded in real time from internet one or The whole network of multiple virtual digit currency calculates power, and server shifts to an earlier date the known own calculation power and the daily total yield of currency for digging mine equipment Out, according to the four above parameters, the odd-numbered day income for digging that the mine equipment odd-numbered day takes one or more currency is calculated.
Specifically, server calculates the odd-numbered day income K of the virtual digit currency X of each typeX=D/B × C × A, wherein D is the own calculation power for digging mine equipment, and the whole network that B is virtual digit currency X calculates power, and C is the every of the whole network virtual digit currency X Day Gross Output, A are the price of virtual digit currency X.Wherein, the price A of virtual digit currency is the server real-time collecting Virtual digit money price from exchange is a variable;It is also a variable that the whole network of virtual digit currency X, which calculates power, and It is a quantitative for digging the own power D and the Gross Output C of the whole network virtual digit currency of calculating of mine equipment.Pass through calculation formula described above, clothes Business device can obtain the virtual digit currency of all kinds in exchange by the own odd-numbered day Revenue calculating power and taking, after facilitating Continuous processing.
S305, the server determine that the digging mine equipment takes one or more type virtual digit currency odd-numbered day incomes Highest virtual digit currency.
The server is ranked up the odd-numbered day income for the virtual digit currency for calculating resulting one or more, obtains The virtual digit currencies of highest odd-numbered day income, while the value of highest odd-numbered day income is stored, to facilitate subsequent processing.
S306, server send conversion instruction to mine equipment is dug.
Specifically, after the server determines that highest Revenue and highest take in corresponding virtual digit currencies, The virtual digit currency object that conversion takes can be sent to mine equipment is dug, before that, server need to be before starting to dig mine, together When be registered as the digging mine nodes of one or more virtual digit currency.And before sending instruction, original digital cash is dug The working condition of mine node is set as suspending, and the working condition that new digital cash digs mine node is set on.
After server is updated virtual digit money price to data or the whole network calculates power, recalculate a kind of or more The odd-numbered day of kind currency digs mine income, and resulting highest Revenue is compared with the highest Revenue that the server stores, if working as Preceding highest Revenue is greater than the peak stored, then current value is replaced to the highest Revenue stored, and send conversion Mine equipment is extremely dug in instruction;If current calculated peak is less than or equal to stored highest Revenue, give up current highest The highest Revenue of Revenue, the server storage is constant, does not send conversion instruction to digging mine equipment.
Optionally, mine equipment is dug after sending digging mine pass signal, can continue the virtual digit currency for taking present kind, The i.e. described mine equipment of digging continues to calculate the hash algorithm of current virtual digital cash.
Optionally, mine equipment is dug after sending digging mine pass signal, can carry out standby mode, the digging that waiting for server is sent Mine instruction, then carry out taking virtual digit currency.
S307, digging mine equipment conversion take the highest virtual digit currency of the odd-numbered day income.
In a kind of specific embodiment, if digging mine equipment is taking X token, come from when digging mine equipment receiving After the conversion instruction of server, digs mine device hardware and do not change, the hash algorithm that conversion takes token on software (such as takes It is SHA256 algorithm used in bit coin, takes ether coin and use the variant of Dagger-Hashimoto and take Zcash uses equihash algorithm), conversion to above-mentioned odd-numbered day is taken in the corresponding Hash of highest virtual digit currency and is calculated Method.
In another specific embodiment, if currently digging mine object is bit coin, digs mine equipment and calculating SHA256 algorithm, if receive server instruction be zcash currency odd-numbered day income it is higher, be converted to and take zcash currency, then mine Machine first suspends operation SHA256 algorithm, is converted to and starts operation equihash algorithm, then converts.
Referring to Fig. 4, Fig. 4 is a kind of structural schematic diagram for digging mine equipment provided by the embodiments of the present application.The digging mine equipment Include:
Receiving unit 401, for receiving the conversion instruction from the server;
Computing unit 402, for calculating the algorithm of the virtual digit currency;
Converting unit 403, for converting the type for taking virtual digit currency;
Transmission unit 404 digs mine pass signal to server for sending.
In one possible implementation, transmission unit 404 are also used to send and dig mine equipment itself digging mine state to clothes Business device.
Referring to Fig. 5, Fig. 5 is a kind of structural schematic diagram of server provided by the embodiments of the present application.The server includes:
Computing unit 501, for calculating the digging mine odd-numbered day dug mine equipment and take one or more type virtual digit currency Income;
Determination unit 502, for determining, the odd-numbered day takes in highest void in one or more of type virtual digit currency Quasi- digital cash;
Storage element 503: for storing the virtual digit currency odd-numbered day income peak;
Transmission unit 504: for sending conversion instruction to excavating equipment;
Receiving unit 505: mine pass signal is dug from the digging mine equipment for receiving;
Registering unit 506, for registering the digging mine node of different types of virtual digit currency;
Converting unit 507: for converting the digging mine node of the variety classes virtual digit currency.
In one possible implementation, above-mentioned receiving unit 505 is also used to the whole network calculation that above-mentioned reception comes internet The state of force data information and real-time money price data information or digging mine equipment itself from exchange.Above-mentioned determination unit 502, groundwork is divided into phase sorting and determines the stage, and phase sorting calculates computing unit 501 resulting one or more The odd-numbered day income of virtual digit currency is ranked up, and the stage of determination determines that the odd-numbered day takes in highest currencies.
It should be noted that the realization of each unit can also correspond to referring to figure 6 and figure 7 shown in embodiment of the method phase It should describe.
It will be appreciated that server provided by the embodiment of the present application can be used for executing the specific implementation side of the digging mine equipment Formula.Wherein, receiving unit 401 and transmission unit 404 described in Fig. 4 can be used for executing receiving unit 505 and transmission unit 504 Described specific implementation.
Referring to Fig. 6, Fig. 6 is a kind of hardware structural diagram for digging mine equipment provided by the embodiments of the present application, the device 6000 include one or more processors 61, can also include input unit 62, output device 63 and memory 64.Input dress It sets and is connected with each other between 62, output device 63, memory 64 and processor 61 by bus.
Memory include but is not limited to be random access memory (random access memory, RAM), read-only storage Device (read-only memory, ROM), Erasable Programmable Read Only Memory EPROM (erasable programmable read Only memory, EPROM) or portable read-only memory (compact disc read-only memory, CD-ROM), The memory is used for dependent instruction and data.
Input unit is used for output data and/or signal for input data and/or signal and output device.Output Device and input unit can be independent device, be also possible to the device of an entirety.
Processor may include be one or more processors, for example including one or more central processing unit (central Processing unit, CPU), in the case where processor is a CPU, which can be monokaryon CPU, be also possible to more Core CPU.
Memory is used for the program code and data of storage networking device, executes following steps:
In one implementation, processor 61 is configured for caller instruction execution:
Certain virtual digit currency that takes that server is sent is received to instruct;
It sends and digs mine state such as dig mine pass signal to the server;
Hash algorithm of the operation from the corresponding currencies of the income of maximum odd-numbered day of the server.
In the embodiment of the present application, alleged processor 61 can be central processing unit (Central Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing At programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete Door or transistor logic, discrete hardware components, video card etc..General processor can be microprocessor or the processor It is also possible to any conventional processor etc..
In the specific implementation, processor 61, sending device 62 described in the embodiment of the present application and receiving device 63 can be held The conversion that row the embodiment of the present application Fig. 1 to Fig. 3 is provided takes the embodiment of the method for virtual digit currencies, no longer superfluous herein It states.
Referring to Fig. 7, Fig. 7 is a kind of hardware structural diagram of server.
The device 7000 includes processor 71, can also include input unit 72, output device 73 and memory 74.This is defeated Enter and is connected with each other between device 72, output device 73, memory 74 and processor 71 by bus.
Memory include but is not limited to be random access memory, read-only memory, Erasable Programmable Read Only Memory EPROM, Or portable read-only memory, the memory are used for dependent instruction and data.
Input unit is used for output data and/or signal for input data and/or signal and output device.Output Device and input unit can be independent device, be also possible to the device of an entirety.
Processor may include be one or more processors, for example including one or more central processing units, handling In the case that device is a CPU, which can be monokaryon CPU, be also possible to multi-core CPU.
Memory is used for the program code and data of storage networking device.Processor 1101 is configured for caller and refers to It enables and executing:
It receives real-time the whole network and calculates power and one or more virtual digit money prices from exchange, calculate digging mine and set The standby odd-numbered day income for taking variety classes currency, and the odd-numbered day of calculated variety classes currency income is ranked up, it determines The highest odd-numbered day takes in virtual digit currencies.
Conversion instruction is sent to mine equipment is dug, the virtual digit currency object that conversion takes can be sent to mine equipment is dug, Before that, server need to be before starting to dig mine, while being registered as the digging mine node of one or more virtual digit currency.And Before sending instruction, the working condition that original digital cash digs mine node is set as suspending, new digital cash is dug into mine section The working condition of point is set on.
The memory 54 may include read-only memory and random access memory, and provide instruction sum number to processor 51 According to.The a part of of memory 54 can also include nonvolatile RAM.It is set for example, memory 54 can also store The information of standby type.
In the specific implementation, processor 54 described in the embodiment of the present application, executable storage server calculate in real time Daily highest Revenue.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with It realizes by another way.For example, the division of the unit, only a kind of logical function partition, can have in actual implementation Other division mode, for example, multiple units or components can be combined or can be integrated into another system or some features It can ignore, or not execute.Shown or discussed mutual coupling or direct-coupling or communication connection can be logical Some interfaces are crossed, the indirect coupling or communication connection of device or unit can be electrical property, mechanical or other forms.
Unit may or may not be physically separated as illustrated by the separation member, shown as a unit Component may or may not be physical unit, it can and it is in one place, or may be distributed over multiple networks On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program produces Product include one or more computer instructions.It is all or part of when loading and execute on computers the computer program instructions Ground generates the process or function according to the embodiment of the present application.The computer can be general purpose computer, special purpose computer, computer Network or other programmable devices.The computer instruction may be stored in a computer readable storage medium, or by being somebody's turn to do Computer readable storage medium is transmitted.The computer instruction can be from a web-site, computer, server or data Center passes through wired (such as coaxial cable, optical fiber, Digital Subscriber Line (digital subscriber line, DSL)) or wireless (such as infrared, wireless, microwave etc.) mode is transmitted to another web-site, computer, server or data center.It should Computer readable storage medium can be any usable medium that computer can access or include one or more available The data storage devices such as medium integrated server, data center.The usable medium can be read-only memory (read-only Memory, ROM) or random access memory (random access memory, RAM) or magnetic medium, for example, floppy disk, Hard disk, tape, magnetic disk or optical medium, for example, digital versatile disc (digital versatile disc, DVD) or half Conductive medium, for example, solid state hard disk (solid state disk, SSD) etc..

Claims (10)

1. a kind of convert the method for taking virtual digit currencies characterized by comprising
Server calculates the digging mine odd-numbered day income for digging the virtual digit currency that mine equipment takes one or more types;
The server determines that the odd-numbered day takes in highest virtual digit goods in the virtual digit currency of one or more of types Coin;
The server sends conversion instruction to the digging mine equipment, and the conversion instruction is used to indicate the digging mine equipment conversion Take the highest virtual digit currency of the odd-numbered day income.
2. the method according to claim 1, wherein the server calculates the virtual number of one or more types The digging mine odd-numbered day of word currency is taken in, comprising:
The server is according to formula KX=D/B × C × A calculates the odd-numbered day income of the virtual digit currency X of each type;
Wherein, D is the own calculation power for digging mine equipment, and the whole network that B is digital cash X calculates power, and C is the whole network virtual digit currency The daily Gross Output of X, A are the price of virtual digit currency X.
3. method according to claim 1 or 2, which is characterized in that the server determines one or more of types The odd-numbered day takes in highest virtual digit currency in virtual digit currency, comprising:
The server is ranked up the digging mine odd-numbered day income for a variety of virtual digit currency being calculated, and determines that the odd-numbered day receives Enter highest virtual digit currency.
4. the method according to claim 1, wherein the server sends conversion instruction to the digging mine equipment Before, further includes:
The digging mine node of the server registration variety classes virtual digit currency;
When the odd-numbered day, income peak had update, original virtual digit currency node working condition is set as suspending, it will The digging mine node working condition of new virtual digit currency is set on.
5. a kind of convert the method for taking ideal money type characterized by comprising
Dig the virtual digit currency that mine equipment takes one or more types;
The digging mine equipment receives the conversion instruction from server, and the conversion instruction is used to indicate the digging mine equipment conversion Take the odd-numbered day highest virtual digit currency of income;
The type dug the conversion of mine equipment and take virtual digit currency, the type for taking ideal money of converting is including described The odd-numbered day that server determines takes in highest virtual digit currency.
6. according to the method described in claim 5, it is characterized by further comprising:
After the digging mine equipment receives the conversion instruction from server, conversion calculates the algorithm of the virtual digit currency.
7. a kind of server characterized by comprising
Computing unit, for calculating the digging mine odd-numbered day income dug mine equipment and take one or more type virtual digit currency;
Determination unit, for determining, the odd-numbered day takes in highest virtual digit goods in one or more of type virtual digit currency Coin;
Transmission unit, for sending conversion instruction to the digging mine equipment, the conversion instruction is used to indicate the digging mine equipment Conversion takes the highest virtual digit currency of the odd-numbered day income.
8. a kind of digging mine equipment characterized by comprising
Mine unit is dug, for taking the virtual digit currency of one or more types;
Receiving unit, for receiving the conversion instruction from server, the conversion instruction is used to indicate the digging mine equipment and turns It changes and takes the odd-numbered day highest virtual digit currency of income;
Converting unit, conversion take the type of virtual digit currency, and it includes the clothes that the conversion, which takes the type of ideal money, The odd-numbered day that business device determines takes in highest virtual digit currency.
9. a kind of server, which is characterized in that including processor, input equipment, output equipment and memory, the processor, The input equipment, the output equipment and the memory are connected with each other, wherein the memory is for storing computer journey Sequence, the computer program include program instruction, and the processor is configured for calling described program instruction, execute such as right It is required that a kind of described in any item convert of 1-4 take the method for virtual digit currencies.
10. a kind of terminal device, which is characterized in that including processor, input equipment, output equipment and memory, the processing Device, the input equipment, the output equipment and the memory are connected with each other, wherein the memory is calculated for storing Machine program, the computer program include program instruction, and the processor is configured for calling described program instruction, are executed such as A kind of described in any item convert of claim 5-6 take the method for virtual digit currencies.
CN201811058981.XA 2018-09-11 2018-09-11 It is a kind of to convert the method and device for taking virtual digit currencies Pending CN109509090A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811058981.XA CN109509090A (en) 2018-09-11 2018-09-11 It is a kind of to convert the method and device for taking virtual digit currencies

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811058981.XA CN109509090A (en) 2018-09-11 2018-09-11 It is a kind of to convert the method and device for taking virtual digit currencies

Publications (1)

Publication Number Publication Date
CN109509090A true CN109509090A (en) 2019-03-22

Family

ID=65745730

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811058981.XA Pending CN109509090A (en) 2018-09-11 2018-09-11 It is a kind of to convert the method and device for taking virtual digit currencies

Country Status (1)

Country Link
CN (1) CN109509090A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110647496A (en) * 2019-09-20 2020-01-03 上海新储集成电路有限公司 Dig ore deposit processing system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150116477A (en) * 2014-04-07 2015-10-16 그린캣소프트(주) Method and System for Mining Digital Currency at PC-Bang
CN105989536A (en) * 2015-02-10 2016-10-05 上海华颂软件科技有限公司 Individual stock buying-selling method and system of stock investment
CN106570574A (en) * 2015-10-08 2017-04-19 金星勋 Financial trading system based on real-time prediction using virtual currency
CN107819756A (en) * 2017-10-31 2018-03-20 浙江师范大学 It is a kind of to improve the new method and system for digging ore deposit income

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150116477A (en) * 2014-04-07 2015-10-16 그린캣소프트(주) Method and System for Mining Digital Currency at PC-Bang
CN105989536A (en) * 2015-02-10 2016-10-05 上海华颂软件科技有限公司 Individual stock buying-selling method and system of stock investment
CN106570574A (en) * 2015-10-08 2017-04-19 金星勋 Financial trading system based on real-time prediction using virtual currency
CN107819756A (en) * 2017-10-31 2018-03-20 浙江师范大学 It is a kind of to improve the new method and system for digging ore deposit income

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
比特大陆科技: "蚁池"自动切换",BTC_BCH哪个收益高自动挖哪个!", 《比特大陆科技》 *
比特威风公司: "智能挖矿软件(AIMiner) V4.1", 《西西软件园》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110647496A (en) * 2019-09-20 2020-01-03 上海新储集成电路有限公司 Dig ore deposit processing system

Similar Documents

Publication Publication Date Title
EP3862952A2 (en) Payment processing method and apparatus for blockchain, electronic device and medium
KR102050129B1 (en) Block chain supporting multiple one-way functions used for verification of blocks
CN108984645B (en) Block chain processing method, device, equipment and storage medium
CN110349004A (en) Risk of fraud method for detecting and device based on user node relational network
CN110070364A (en) Method and apparatus, storage medium based on the fraud of graph model detection clique
CN106452884B (en) Data distributing method and device in block catenary system
CN106469413B (en) Data processing method and device for virtual resources
CN104281940A (en) Method and device for providing data processing mode list through communication network
CN109102282A (en) A kind of Multiple Currencies reimbursement method for processing business and device
CN109165947B (en) Account information determination method and device and server
CN109509090A (en) It is a kind of to convert the method and device for taking virtual digit currencies
JP6243488B1 (en) Remittance processing device and remittance processing method
CN111210345B (en) Signature method and device based on block chain network transaction and terminal equipment
CN113935069B (en) Data verification method, device and equipment based on block chain and storage medium
CN113657817B (en) Transaction processing method and device, electronic equipment and readable storage medium
CN108846706A (en) Offline businesses' promotion method, device and server
CN115412401A (en) Method and device for training virtual network embedding model and virtual network embedding
EP3908015A1 (en) Method of determining shared service index for shared service communication certificate
CN110570310B (en) Block chain transfer method and consensus realization method, device, equipment and medium
JP5868692B2 (en) Algorithmic trading matching system and algorithmic trading integrated matching system provided with the same
US20230334096A1 (en) Graph data processing method and apparatus, computer device, and storage medium
CN108961039A (en) Transaction processing method, apparatus and system
CN108647301A (en) A kind of creation method and terminal device of customer relationship net
CN103905286B (en) Information exchange device and method
CN113657790B (en) Distribution path determining method, distribution path determining device, electronic equipment and readable 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190322

RJ01 Rejection of invention patent application after publication