CN111008077A - System and method for acquiring digital currency accounting right by using idle cloud mobile phone - Google Patents
System and method for acquiring digital currency accounting right by using idle cloud mobile phone Download PDFInfo
- Publication number
- CN111008077A CN111008077A CN201911244998.9A CN201911244998A CN111008077A CN 111008077 A CN111008077 A CN 111008077A CN 201911244998 A CN201911244998 A CN 201911244998A CN 111008077 A CN111008077 A CN 111008077A
- Authority
- CN
- China
- Prior art keywords
- digital currency
- idle cloud
- accounting
- idle
- mobile phones
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5061—Partitioning or combining of resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/50—Indexing scheme relating to G06F9/50
- G06F2209/5017—Task decomposition
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/50—Indexing scheme relating to G06F9/50
- G06F2209/503—Resource availability
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention belongs to the technical field of cloud, and particularly relates to a system and a method for acquiring digital currency accounting right by using an idle cloud mobile phone. The invention utilizes the idle calculation power of the cloud mobile phones, and operates the calculation program of the digital currency to acquire the accounting right of the digital currency. The number of cloud handsets in which the digital currency calculation program is run may be dynamically adjusted according to an algorithm.
Description
Technical Field
The invention belongs to the technical field of cloud, and particularly relates to a system and a method for acquiring digital currency accounting right (mining) by using an idle cloud mobile phone.
Background
Cloud mobile phone operators deploy massive cloud mobile phones on line to provide cloud mobile phones for massive users. In order to ensure that a user can purchase cloud mobile phones at any time, a cloud mobile phone operator deploys cloud mobile phones with the number exceeding the current number of users on line. Therefore, the user can purchase the cloud mobile phone at any time when the purchase quantity of the user is sudden in some time periods, and the condition that the purchase is failed due to insufficient quantity of the cloud mobile phone is avoided.
In most digital currency systems, a workload certification (PoW) mechanism is adopted, in order to find out who has stronger computing power, the system generates a mathematical problem with a very difficult algorithm each time, only a computing node which solves the problem fastest has the qualification of accounting, and the computing node which robs the accounting right also obtains a corresponding digital currency reward (commonly called mining).
In the above scenario, a certain number of cloud mobile phones are always in an idle state on the line of the cloud mobile phone operator. Because these cloud cell-phones scatter in each rack of each computer lab, just there is some power of calculation idle phenomenon.
Disclosure of Invention
In view of the above disadvantages, the present invention provides a system and method for acquiring digital currency accounting rights by using an idle cloud phone.
The invention is realized by the following technical scheme:
a system for obtaining digital currency accounting rights using an idle cloud handset, the system consisting of 4 modules, comprising:
the cloud mobile phone operator background is used for providing the number and the list of the current idle cloud mobile phones for the scheduling node;
the scheduling node is used for regularly calculating which idle cloud mobile phones can be used for operating the digital currency calculation program;
the digital currency calculation center module acquires the total workload required to be calculated by the current block from the digital currency network and decomposes the difficulty of the total workload;
and the computing node cluster consists of a large number of idle cloud mobile phones, programs for computing the digital currency workload are operated on the cloud mobile phones, the decomposed workload is obtained from the digital currency computing center module, and the obtained workload is computed and then the computed result is returned to the digital currency computing center module.
Preferably, the list includes a cloud mobile phone ID.
Preferably, the scheduling node is further configured to, when the number of available idle cloud handsets is too large, lock a part of the idle cloud handsets so that the cloud handsets cannot be purchased by other users for a while, then install a digital currency calculation program in the locked idle cloud handsets and start the program; and stopping part of the idle cloud mobile phones running the digital currency calculation program when the number of the available idle cloud mobile phones is too small, so that the idle cloud mobile phones can be provided for users to purchase at any time.
Preferably, the digital currency calculation center module is configured to obtain a total calculation result after receiving the calculation result of the calculation node cluster to determine whether an accounting right is obtained; broadcasting the accounting right of the current block to the digital money network if the accounting right is obtained, and determining that the accounting right of the block is approved by the whole digital money network; if the accounting right of the block is not obtained, the accounting right of the next block is repeatedly obtained.
The invention provides a method for acquiring digital currency accounting right by using an idle cloud mobile phone, which comprises the following steps:
s1: providing the number and the list of the current idle cloud mobile phones to a scheduling node;
s2: the scheduling node regularly calculates which idle cloud mobile phones can be used for operating the digital currency calculation program; integrating available idle cloud mobile phones into a computing node cluster;
s3: the digital currency calculation center module acquires the total workload required to be calculated by the current block from the digital currency network and decomposes the total workload into difficulties;
s4: and the computing node cluster acquires the decomposed workload from the digital currency computing center module, calculates the acquired workload and returns the computing result to the digital currency computing center module.
Further, the list comprises cloud mobile phone IDs.
Further, the step S2 includes locking the partially idle cloud handsets so that the cloud handsets cannot be purchased by other users for a while when the number of available idle cloud handsets is too large, and then installing and starting the digital currency calculation program into the locked idle cloud handsets; and stopping part of the idle cloud mobile phones running the digital currency calculation program when the number of the available idle cloud mobile phones is too small, so that the idle cloud mobile phones can be provided for users to purchase at any time.
Further, the step S3 includes that, after receiving the calculation results of the computing node cluster, the digital currency calculation center module obtains a total calculation result to determine whether the accounting right is obtained; broadcasting the accounting right of the current block to the digital money network if the accounting right is obtained, and determining that the accounting right of the block is approved by the whole digital money network; if the accounting right of the block is not obtained, the accounting right of the next block is repeatedly obtained.
A computer readable storage medium having a computer program stored thereon, wherein the program when executed by a processor implements the steps of a method for obtaining digital currency accounting rights using an idle cloud handset.
A computer device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program performs the steps of a method of obtaining digital currency accounting rights using an idle cloud handset.
Compared with the prior art, the invention has at least the following beneficial effects or advantages: the invention utilizes the idle calculation power of the cloud mobile phone in the prior art, and operates the calculation program of the digital currency to acquire the accounting right of the digital currency. The number of cloud handsets in which the digital currency calculation program is run may be dynamically adjusted according to an algorithm.
Drawings
The present invention will be described in further detail with reference to the accompanying drawings;
FIG. 1 is a system architecture diagram of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention provides a system for acquiring digital currency accounting rights by using an idle cloud mobile phone, which uses a master-slave architecture and consists of 4 modules, as shown in figure 1.
Module 1: cloud cell-phone operator backstage supporter. Module 2 is provided with the number and list of cloud handsets (cloud handset ID, etc.) that are currently idle.
And (3) module 2: and scheduling the nodes. And regularly calculating which idle cloud mobile phones can be used for running the digital currency calculation program. When the number of available idle cloud mobile phones is too large, locking part of the idle cloud mobile phones so that the cloud mobile phones cannot be purchased by other users temporarily, and then installing a digital currency calculation program into the idle cloud mobile phones and starting the program; and when the number of available idle cloud mobile phones is too small, stopping part of the idle cloud mobile phones running the digital currency calculation program, so that the idle cloud mobile phones can be provided for users to purchase at any time.
And a module 3: a digital currency calculation center module. The module obtains the total workload of the current block needing to be calculated from the digital currency network and decomposes the total workload into difficulties. After receiving the calculation result of the module 4, the total calculation result is obtained to determine whether the accounting right is obtained. Broadcasting the accounting right of the current block to the digital money network if the accounting right is obtained, and determining that the accounting right of the block is approved by the whole digital money network; if the accounting right of the block is not obtained, the accounting right of the next block is repeatedly obtained.
And (4) module: a cluster of compute nodes. The system consists of a large number of idle cloud mobile phones, programs for calculating the workload of the digital currency are operated on the cloud mobile phones, the decomposed workload is obtained from the module 3, and the obtained workload is calculated and then the calculation result is returned to the module 3.
The present invention also provides a computer readable storage medium having a computer program stored thereon, where the program is to, when executed by a processor, perform the steps of a method for obtaining digital currency accounting rights using an idle cloud handset.
The invention also provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the steps of the method for obtaining digital currency accounting rights using an idle cloud handset.
The above-mentioned embodiments are provided to further explain the objects, technical solutions and advantages of the present invention in detail, and it should be understood that the above-mentioned embodiments are only examples of the present invention and are not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement and the like made without departing from the spirit and scope of the invention are also within the protection scope of the invention.
Claims (10)
1. A system for obtaining digital currency billing rights using an idle cloud handset, the system consisting of 4 modules, comprising:
the cloud mobile phone operator background is used for providing the number and the list of the current idle cloud mobile phones for the scheduling node;
the scheduling node is used for regularly calculating which idle cloud mobile phones can be used for operating the digital currency calculation program;
the digital currency calculation center module acquires the total workload required to be calculated by the current block from the digital currency network and decomposes the difficulty of the total workload;
and the computing node cluster consists of a large number of idle cloud mobile phones, programs for computing the digital currency workload are operated on the cloud mobile phones, the decomposed workload is obtained from the digital currency computing center module, and the obtained workload is computed and then the computed result is returned to the digital currency computing center module.
2. The system for acquiring digital currency accounting rights using an idle cloud phone as claimed in claim 1 wherein the manifest includes a cloud phone ID.
3. The system for acquiring digital currency accounting rights using idle cloud handsets as claimed in claim 1, wherein the scheduling node is further configured to lock a part of the idle cloud handsets so that they are temporarily unavailable for purchase by other users when the number of available idle cloud handsets is excessive, and then install a digital currency calculation program into the locked idle cloud handsets and start the program; and stopping part of the idle cloud mobile phones running the digital currency calculation program when the number of the available idle cloud mobile phones is too small, so that the idle cloud mobile phones can be provided for users to purchase at any time.
4. The system for acquiring digital currency accounting rights using an idle cloud handset as claimed in claim 1, wherein the digital currency accounting center module is configured to obtain a total computation result to determine whether accounting rights are acquired after receiving the computation results of the computing node cluster; broadcasting the accounting right of the current block to the digital money network if the accounting right is obtained, and determining that the accounting right of the block is approved by the whole digital money network; if the accounting right of the block is not obtained, the accounting right of the next block is repeatedly obtained.
5. A method for obtaining digital currency billing rights using an idle cloud handset, the method comprising the steps of:
s1: providing the number and the list of the current idle cloud mobile phones to a scheduling node;
s2: the scheduling node regularly calculates which idle cloud mobile phones can be used for operating the digital currency calculation program; integrating available idle cloud mobile phones into a computing node cluster;
s3: the digital currency calculation center module acquires the total workload required to be calculated by the current block from the digital currency network and decomposes the total workload into difficulties;
s4: and the computing node cluster acquires the decomposed workload from the digital currency computing center module, calculates the acquired workload and returns the computing result to the digital currency computing center module.
6. The method for obtaining digital currency accounting rights using an idle cloud handset as claimed in claim 5 wherein the list includes cloud handset ID.
7. The method for obtaining digital currency accounting rights using an idle cloud handset as claimed in claim 5, wherein the step S2 further comprises locking a part of the idle cloud handset to make it temporarily unavailable for purchase by other users when the number of the available idle cloud handsets is too large, and then installing a digital currency calculation program into the locked idle cloud handset and starting the program; and stopping part of the idle cloud mobile phones running the digital currency calculation program when the number of the available idle cloud mobile phones is too small, so that the idle cloud mobile phones can be provided for users to purchase at any time.
8. The method for obtaining digital currency accounting rights using an idle cloud phone as claimed in claim 5, wherein the step S3 further comprises the step of the digital currency accounting center module obtaining the total calculation result to determine whether accounting rights are obtained after receiving the calculation results of the computing node cluster; broadcasting the accounting right of the current block to the digital money network if the accounting right is obtained, and determining that the accounting right of the block is approved by the whole digital money network; if the accounting right of the block is not obtained, the accounting right of the next block is repeatedly obtained.
9. A computer-readable storage medium, having stored thereon, a computer program, wherein the program, when executed by a processor, performs the steps of the method for obtaining digital currency accounting rights using an idle cloud handset of any one of claims 5 to 8.
10. A computer device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program performs the steps of the method for obtaining digital currency accounting rights using an idle cloud handset as claimed in any one of claims 5 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911244998.9A CN111008077A (en) | 2019-12-06 | 2019-12-06 | System and method for acquiring digital currency accounting right by using idle cloud mobile phone |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911244998.9A CN111008077A (en) | 2019-12-06 | 2019-12-06 | System and method for acquiring digital currency accounting right by using idle cloud mobile phone |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111008077A true CN111008077A (en) | 2020-04-14 |
Family
ID=70114047
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911244998.9A Pending CN111008077A (en) | 2019-12-06 | 2019-12-06 | System and method for acquiring digital currency accounting right by using idle cloud mobile phone |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111008077A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114090247A (en) * | 2021-11-22 | 2022-02-25 | 北京百度网讯科技有限公司 | Method, device, equipment and storage medium for processing data |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160358135A1 (en) * | 2015-06-05 | 2016-12-08 | DiQi, Inc. | Digital currency management method and digital currency node apparatus |
CN106375373A (en) * | 2016-08-24 | 2017-02-01 | 广西小草信息产业有限责任公司 | Task decomposition method and system based on dynamic cloud nodes |
CN108810148A (en) * | 2018-06-15 | 2018-11-13 | 青岛宇硕云联信息科技有限公司 | Cloud mobile phone interaction system, method and device based on block chain |
CN109587244A (en) * | 2018-12-06 | 2019-04-05 | 青岛宇硕云联信息科技有限公司 | Cloud data in mobile phone processing method, device, computer readable storage medium and electronic equipment |
-
2019
- 2019-12-06 CN CN201911244998.9A patent/CN111008077A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160358135A1 (en) * | 2015-06-05 | 2016-12-08 | DiQi, Inc. | Digital currency management method and digital currency node apparatus |
CN106375373A (en) * | 2016-08-24 | 2017-02-01 | 广西小草信息产业有限责任公司 | Task decomposition method and system based on dynamic cloud nodes |
CN108810148A (en) * | 2018-06-15 | 2018-11-13 | 青岛宇硕云联信息科技有限公司 | Cloud mobile phone interaction system, method and device based on block chain |
CN109587244A (en) * | 2018-12-06 | 2019-04-05 | 青岛宇硕云联信息科技有限公司 | Cloud data in mobile phone processing method, device, computer readable storage medium and electronic equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114090247A (en) * | 2021-11-22 | 2022-02-25 | 北京百度网讯科技有限公司 | Method, device, equipment and storage medium for processing data |
WO2023088462A1 (en) * | 2021-11-22 | 2023-05-25 | 北京百度网讯科技有限公司 | Method and apparatus for processing data, device, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108255653B (en) | Product testing method and terminal thereof | |
CN108280022B (en) | Performance monitoring method and device | |
CN109858828B (en) | Power distribution network fixed value automatic setting method and device and distribution network system | |
CN111767142A (en) | Current limiting threshold setting method of service node and server side equipment | |
WO2016119389A1 (en) | Management method, device and system for system docking | |
CN111008077A (en) | System and method for acquiring digital currency accounting right by using idle cloud mobile phone | |
CN109257255A (en) | Traffic monitoring method, telephone watch, server and mobile terminal | |
CN110707729B (en) | Method and device for analyzing multi-region primary frequency modulation condition and storage medium | |
Akbar et al. | Towards the optimization of power and bandwidth consumption in mobile-cloud hybrid applications | |
CN116567535B (en) | Network searching method, device, electronic equipment and computer storage medium | |
EP3190518A1 (en) | Method and apparatus for acquiring power consumption of network element device | |
CN112737896B (en) | Bandwidth data checking method, device, medium and electronic equipment | |
CN107665135B (en) | Upgrading program pushing method and device | |
CN111428197A (en) | Data processing method, device and equipment | |
CN104348140A (en) | Low electric quantity prompting method and electronic equipment | |
CN107547742B (en) | Wake-up lock release method and device for mobile terminal | |
CN106936643B (en) | Equipment linkage method and terminal equipment | |
CN109462423B (en) | Method, device, equipment and medium for checking data transmission unit | |
CN109191701B (en) | Power metering method, system and server | |
Arapoglu et al. | A fault-tolerant and distributed capacitated connected dominating set algorithm for wireless sensor networks | |
CN109783362A (en) | Test rollback control method and device, terminal and computer readable storage medium | |
CN112994976A (en) | Gateway testing method and device, electronic equipment and storage medium | |
CN113415201A (en) | Control method for charging electric automobile and related equipment | |
CN112819358B (en) | Data processing method, device and equipment | |
CN118014319B (en) | Associated collaborative management method, device, equipment and medium for comprehensive power grid plan |
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 |