Summary of the invention
The present invention is directed to solve at least one of the technical problems existing in the prior art or related technologies.
For this purpose, the purpose of the present invention is to provide a kind of detection of a kind of detection method of mine machine failure, mine machine failure dresses
It sets, a kind of server and a kind of computer readable storage medium.
To achieve the goals above, the technical solution of the first aspect of the present invention provides a kind of detection side of mine machine failure
Method is suitable for server, comprising: sends status inquiry signal to multiple mine machines;Multiple mine machines are received according to status inquiry signal
The state value of feedback;Whether detecting state value matches with pre-existing state threshold value;Detecting state value and pre-existing state threshold value not
When matching, according to preset status inquiry model, failure mine machine is determined.
In the above-mentioned technical solutions, it is preferable that state value be Merkel's root, detecting state value whether with pre-existing state threshold
Value matching, specifically includes the following steps: the quantity for the consistent signal of Merkel's root that detection receives whether with multiple mine machines
Quantity it is identical;When the quantity of the quantity and multiple mine machines that detect consistent signal is inconsistent, determines state value and prestore shape
State threshold value mismatches.
In any of the above-described technical solution, it is preferable that further include: in the quantity and multiple mine machines for detecting consistent signal
It when quantity is consistent, determines that state value is matched with pre-existing state threshold value, continues to send status inquiry signal to wait.
In any of the above-described technical solution, it is preferable that when detecting that state value and pre-existing state threshold value mismatch, according to
Preset status inquiry model determines failure mine machine, specifically includes the following steps: by multiple mine machines carry out halve or it is closest
It halves and divides, to obtain first group of mine machine and second group of mine machine, first group of mine machine is identical as the quantity in second group of mine machine, or
The number differences of first group of mine machine and second group of mine machine are 1;State-detection is carried out to first group of mine machine;Whether detect failure mine machine
In first group of mine machine;When detecting that failure mine machine is in first group of mine machine, failure mine machine is confirmly detected, and by failure mine
Machine reports and terminates query procedure;When detecting failure mine machine not in first group of mine machine, second group of mine machine is carried out repeatedly
Iteration mine machine quantity segmentation, until detecting failure mine machine.
In any of the above-described technical solution, it is preferable that before sending status inquiry signal to multiple mine machines, further includes: from
Trusted sources obtain credible Merkel's root, using as pre-existing state threshold value.
The technical solution of the second aspect of the present invention provides a kind of detection method of mine machine failure, is suitable for mining site mine
Machine, comprising: when receiving the status inquiry signal of server transmission, current state value is generated according to status inquiry signal;
State value is sent to server, with by server determine mining site mine machine whether failure.
In the above-mentioned technical solutions, it is preferable that when receiving the status inquiry signal of server transmission, looked into according to state
It askes signal and generates current state value, specifically includes the following steps: generating Merkel tree when receiving status inquiry signal;
According to Merkel's root of Merkel's tree generation area build, Merkel's root is determined as state value.
Specifically, in the bottom of Merkel tree, data are divided into small data block, there is correspondingly Hash and its correspondence,
But up walk, two adjacent Hash are merged into a character string, then the Hash of this character string of operation, every in this way two
A Hash is just married and given birth to babies, and one " sub- Hash " has been obtained, if the Hash sum of the bottom is odd number, that necessarily goes out to the end
As soon as existing unmarried Hash, such case directly carries out Hash operation to it, so can also obtain its sub- Hash, then up
It pushes away, is still the same mode, the available less new level-one Hash of number finally necessarily forms a projecting tree, arrives
This position of tree root, this generation are left with a root Hash, it is called Merkle Root, i.e. Merkel tree by we
Merkel's root of generation area build.
The technical solution of the third aspect of the present invention provides a kind of detection device of mine machine failure, is suitable for server,
It include: transmission unit, for sending status inquiry signal to multiple mine machines;Receiving unit, for receiving multiple mine machines according to shape
State inquires the state value of signal feedback;Whether detection unit matches for detecting state value with pre-existing state threshold value;It determines single
Member, for according to preset status inquiry model, determining failure mine when detecting that state value and pre-existing state threshold value mismatch
Machine.
In the above-mentioned technical solutions, it is preferable that detection unit is also used to: detect the Merkel's root received one writes
Number quantity it is whether identical as the quantity of multiple mine machines;Determination unit is also used to: the quantity for detecting consistent signal with it is multiple
When the quantity of mine machine is inconsistent, determine that state value and pre-existing state threshold value mismatch.
In any of the above-described technical solution, it is preferable that determination unit is also used to: in the quantity that detects consistent signal and more
It when the quantity of a mine machine is consistent, determines that state value is matched with pre-existing state threshold value, continues to send status inquiry signal to wait.
In any of the above-described technical solution, it is preferable that further include: division unit, for multiple mine machines to be halved
Or it is divided closest to halving, the number to obtain first group of mine machine and second group of mine machine, in first group of mine machine and second group of mine machine
The number differences for measuring identical or first group of mine machine and second group of mine machine are 1;Detection unit is also used to: being carried out to first group of mine machine
State-detection;Detection unit is also used to: whether detection failure mine machine is in first group of mine machine;Determination unit is also used to: being detected
When to failure mine machine in first group of mine machine, failure mine machine is confirmly detected, and failure mine machine is reported and terminates query procedure;
Division unit is also used to: when detecting failure mine machine not in first group of mine machine, carrying out the mine that iterates to second group of mine machine
Machine quantity segmentation, until detecting failure mine machine.
In any of the above-described technical solution, it is preferable that further include: acquiring unit, for obtaining credible Merck from trusted sources
Your root, using as pre-existing state threshold value.
The technical solution of the fourth aspect of the present invention provides a kind of detection device of mine machine failure, is suitable for mining site mine
Machine, comprising: generation unit, for being generated according to status inquiry signal when receiving the status inquiry signal of server transmission
Current state value;Transmission unit, for state value to be sent to server, to determine whether mining site mine machine is former by server
Barrier.
In the above-mentioned technical solutions, it is preferable that generation unit is also used to: when receiving status inquiry signal, generating silent
Ke Er tree;Generation unit is also used to: according to Merkel's root of Merkel's tree generation area build, Merkel's root being determined as
State value.
The technical solution of the fifth aspect of the present invention provides a kind of server, including memory, processor and is stored in
On memory and the computer program that can run on a processor, processor realize of the invention first when executing computer program
The detection method of the mine machine failure of any one technical solution of aspect.
The technical solution of the sixth aspect of the present invention provides a kind of terminal, including memory, processor and is stored in
On reservoir and the computer program that can run on a processor, processor realize second party of the invention when executing computer program
The detection method of the mine machine failure of any one technical solution in face.
The technical solution of the seventh aspect of the present invention provides a kind of computer readable storage medium, is stored thereon with calculating
Machine program realizes the mine machine failure of any one technical solution of the first aspect of the present invention when computer program is executed by processor
Detection method.
The following technical effects are achieved for above-mentioned technical proposal:
(1) compared with detecting mine machine one by one by engineer and calculating the mode of state, mine machine can be effectively improved and calculate state
Detection speed and then engineer is facilitated to safeguard to quickly carry out effective position to failure mine machine.
(2) compared with detecting mine machine one by one by engineer and calculating the mode of state, it can reduce money caused by failure mine machine
Produce loss.
(3) be conducive to mine pond reasonable distribution calculating task, in turn result in the reasonable distribution of computing resource.
Additional aspect and advantage of the invention will become obviously in following description section, or practice through the invention
Recognize.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real
Applying mode, the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application
Feature in example and embodiment can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, still, the present invention may be used also
To be implemented using other than the one described here other modes, therefore, protection scope of the present invention is not by described below
Specific embodiment limitation.
As shown in Figure 1, the detection method of mine machine failure according to an embodiment of the invention, is suitable for server, fit
For server, comprising: step 102, send status inquiry signal to multiple mine machines;Step 104, multiple mine machines are received according to shape
State inquires the state value of signal feedback;Step 106, whether detecting state value matches with pre-existing state threshold value;Step 108, it is examining
When measuring state value and pre-existing state threshold value mismatch, according to preset status inquiry model, failure mine machine is determined.
In this embodiment, the state value fed back by receiving multiple mine machines according to the status inquiry signal of transmission, with inspection
It surveys and whether is matched with pre-existing state threshold value, and then when detecting mismatch, according to status inquiry algorithm, determine failure
Mine machine can effectively improve the detection that mine machine calculates state compared with detecting mine machine one by one by engineer and calculating the mode of state
Speed to quickly carry out effective position to failure mine machine, and then facilitates engineer to safeguard.
In the above embodiment, it is preferable that state value be Merkel's root, detecting state value whether with pre-existing state threshold value
Matching, specifically includes the following steps: the quantity for the consistent signal of Merkel's root that detection receives whether with multiple mine machines
Quantity is identical;When the quantity of the quantity and multiple mine machines that detect consistent signal is inconsistent, state value and pre-existing state are determined
Threshold value mismatches.
In this embodiment, whether identical as the trusted Merkel's root prestored by detection Merkel's root, i.e.,
Whether the quantitative value of the consistent signal of Merkel's root received is identical as the quantity of mine machine, when detecting not identical, i.e. table
Bright Merkel tree is damage or false, and then shows that there are failure mine machines, highly-safe, and verification efficiency is high.
In any of the above-described embodiment, it is preferable that further include: in the number of the quantity and multiple mine machines that detect consistent signal
It when measuring consistent, determines that state value is matched with pre-existing state threshold value, continues to send status inquiry signal to wait.
In any of the above-described embodiment, it is preferable that when detecting that state value and pre-existing state threshold value mismatch, according to pre-
If status inquiry model, failure mine machine is determined, specifically includes the following steps: multiple mine machines halve or closest to two
Equal part divides, and to obtain first group of mine machine and second group of mine machine, first group of mine machine is identical as the quantity in second group of mine machine or the
The number differences of one group of mine machine and second group of mine machine are 1;State-detection is carried out to first group of mine machine;Detect failure mine machine whether
In first group of mine machine;When detecting that failure mine machine is in first group of mine machine, failure mine machine is confirmly detected, and by failure mine machine
It reports and terminates query procedure;When detecting failure mine machine not in first group of mine machine, changed repeatedly to second group of mine machine
Divide for mine machine quantity, until detecting failure mine machine.
In this embodiment, the status inquiry of mine machine is carried out by using logarithm recursive algorithm, to determine problem mine machine, with
The mode for detecting mine machine calculating state one by one by engineer is compared, and can reduce loss of assets caused by failure mine machine.
In any of the above-described embodiment, it is preferable that before sending status inquiry signal to multiple mine machines, further includes: from can
Information source obtains credible Merkel's root, using as pre-existing state threshold value.
In this embodiment, by obtaining credible Merkel's root from trusted sources, it ensure that the reliability of state-detection.
As shown in Fig. 2, the detection method of mine machine failure according to another embodiment of the invention, is suitable for mining site mine
Machine, comprising: step 202, when receiving the status inquiry signal of server transmission, generated currently according to status inquiry signal
State value;Step 204, state value is sent to server, with by server determine mining site mine machine whether failure.
In this embodiment, by sending state value to service area, to be determined whether there is by server according to state value
Failure mine machine can effectively improve mine machine and calculate state compared with detecting mine machine one by one by engineer and calculating the mode of state
Speed is detected, to quickly carry out effective position to failure mine machine, and then engineer is facilitated to safeguard.
In the above embodiment, it is preferable that when receiving the status inquiry signal of server transmission, according to status inquiry
Signal generates current state value, specifically includes the following steps: generating Merkel tree when receiving status inquiry signal;Root
According to Merkel's root of Merkel's tree generation area build, Merkel's root is determined as state value.
In this embodiment, by generating Merkel's root, to detect whether Merkel's root prestores with trusted
Merkel's root is identical, that is, whether the quantitative value of the consistent signal of Merkel's root received is identical as the quantity of mine machine, is examining
When measuring not identical, that is, show that Merkel tree is damage or false, and then show that there are failure mine machines, it is highly-safe,
And verification efficiency is high.
Specifically, in the bottom of Merkel tree, data are divided into small data block, there is correspondingly Hash and its correspondence,
But up walk, two adjacent Hash are merged into a character string, then the Hash of this character string of operation, every in this way two
A Hash is just married and given birth to babies, and one " sub- Hash " has been obtained, if the Hash sum of the bottom is odd number, that necessarily goes out to the end
As soon as existing unmarried Hash, such case directly carries out Hash operation to it, so can also obtain its sub- Hash, then up
It pushes away, is still the same mode, the available less new level-one Hash of number finally necessarily forms a projecting tree, arrives
This position of tree root, this generation are left with a root Hash, it is called Merkle Root, i.e. Merkel tree by we
Merkel's root of generation area build.
As shown in figure 3, the detection device 300 of mine machine failure according to an embodiment of the invention, is suitable for server,
It include: transmission unit 302, for sending status inquiry signal to multiple mine machines;Receiving unit 304, for receiving multiple mine machines
The state value fed back according to status inquiry signal;Detection unit 306, for detecting state value whether with pre-existing state threshold value
Match;Determination unit 308, for when detecting that state value and pre-existing state threshold value mismatch, according to preset status inquiry mould
Type determines failure mine machine.
In this embodiment, the state value fed back by receiving multiple mine machines according to the status inquiry signal of transmission, with inspection
It surveys and whether is matched with pre-existing state threshold value, and then when detecting mismatch, according to status inquiry algorithm, determine failure
Mine machine can effectively improve the detection that mine machine calculates state compared with detecting mine machine one by one by engineer and calculating the mode of state
Speed to quickly carry out effective position to failure mine machine, and then facilitates engineer to safeguard.
In the above embodiment, it is preferable that detection unit 306 is also used to: detecting the consistent of the Merkel's root received
Whether the quantity of signal is identical as the quantity of multiple mine machines;Determination unit 308 is also used to: the quantity that detects consistent signal with
When the quantity of multiple mine machines is inconsistent, determine that state value and pre-existing state threshold value mismatch.
In this embodiment, whether identical as the trusted Merkel's root prestored by detection Merkel's root, i.e.,
Whether the quantitative value of the consistent signal of Merkel's root received is identical as the quantity of mine machine, when detecting not identical, i.e. table
Bright Merkel tree is damage or false, and then shows that there are failure mine machines, highly-safe, and verification efficiency is high.
In any of the above-described embodiment, it is preferable that determination unit 308 is also used to: the quantity that detects consistent signal with
It when the quantity of multiple mine machines is consistent, determines that state value is matched with pre-existing state threshold value, continues to send status inquiry signal to wait.
In any of the above-described embodiment, it is preferable that further include: division unit 310, for multiple mine machines to be halved
Or it is divided closest to halving, the number to obtain first group of mine machine and second group of mine machine, in first group of mine machine and second group of mine machine
The number differences for measuring identical or first group of mine machine and second group of mine machine are 1;Detection unit 306 is also used to: to first group of mine machine into
Row state-detection;Detection unit 306 is also used to: whether detection failure mine machine is in first group of mine machine;Determination unit 308 is also used
In: when detecting that failure mine machine is in first group of mine machine, confirmly detect failure mine machine, and failure mine machine is reported and terminated
Query procedure;Division unit 310 is also used to: when detecting failure mine machine not in first group of mine machine, to second group of mine machine into
The capable mine machine quantity segmentation that iterates, until detecting failure mine machine.
In this embodiment, the status inquiry of mine machine is carried out by using logarithm recursive algorithm, to determine problem mine machine, with
The mode for detecting mine machine calculating state one by one by engineer is compared, and can reduce loss of assets caused by failure mine machine.
In any of the above-described embodiment, it is preferable that further include: acquiring unit 312, for obtaining credible Merck from trusted sources
Your root, using as pre-existing state threshold value.
In this embodiment, by obtaining credible Merkel's root from trusted sources, it ensure that the reliability of state-detection.
As shown in figure 4, the detection device 400 of mine machine failure according to another embodiment of the invention, is suitable for mining site
Mine machine, comprising: generation unit 402, for receive server transmission status inquiry signal when, according to status inquiry signal
Generate current state value;Transmission unit 404, for state value to be sent to server, to determine mining site mine machine by server
Whether failure.
In this embodiment, by sending state value to service area, to be determined whether there is by server according to state value
Failure mine machine can effectively improve mine machine and calculate state compared with detecting mine machine one by one by engineer and calculating the mode of state
Speed is detected, to quickly carry out effective position to failure mine machine, and then engineer is facilitated to safeguard.
In the above embodiment, it is preferable that generation unit 402 is also used to: when receiving status inquiry signal, generating silent
Ke Er tree;Generation unit 402 is also used to: according to Merkel's root of Merkel's tree generation area build, Merkel's root is true
It is set to state value.
In this embodiment, by generating Merkel's root, to detect whether Merkel's root prestores with trusted
Merkel's root is identical, that is, whether the quantitative value of the consistent signal of Merkel's root received is identical as the quantity of mine machine, is examining
When measuring not identical, that is, show that Merkel tree is damage or false, and then show that there are failure mine machines, it is highly-safe,
And verification efficiency is high.
Specifically, bit coin is the network architecture of a decentralization, by install bit coin demons node come
Forward New Transaction and new block.And mine machine, mine pond have also been formed simultaneously another network, referred to as miner's network.
Miner's network is divided into several major parts such as mine machine, mine pond, wallet, and mine pond software and wallet are mounted on one sometimes
It rises, mine pond can be collectively referred to as.
Communications protocol between mine machine and mine pond software is stratum, and the communication between mine pond software and wallet is
Bitcoinrpc interface.
Stratum is that JSON is data format, and specific agreement is as follows:
1, task is subscribed to
The starting of mine machine, connects first in mining.subscribe method to mine pond, for subscribing to work.Mine pond with
Mining.notify returns to subscription number, ExtraNonce1 and ExtraNonce2_size.
2, task is distributed
The order periodically sends out rock feeder by mine pond, and after mine machine is with the registration of mining.subscribe method, mine pond should
The task is returned to mining.notify at once.
3, mine machine logs in
Mine machine is in mining.authorize method, and with some account number and password login to mine pond, password can be empty, and mine pond is returned
True is returned to login successfully.This method must be carried out at once after initialization connection, and otherwise mine machine cannot get mine pond task.
4, result is submitted
When mine machine finds legal share, task just is submitted to mine pond in " mining.submit " method.Mine pond returns
True is submitted successfully, has concrete reason in error if failure.
5, adjusting of difficulty
Adjusting of difficulty issues rock feeder by mine pond, with mining.set_difficulty method adjustment difficulty, in params
It is difficulty value.
Mine chance uses new difficulty in next task, and mine pond issues a new task and at once sometimes cleaning
Task is set as true, so that mine machine is at once with the work of new difficulty.
As shown in figure 5, server is attached and is communicated with each mine machine by bus.Due to the mine having in mining site
Machine quantity is hundreds to thousands platform, successively carries out fault detection to all mine machines by engineer, is unacceptable in time.
Therefore, the invention proposes a kind of fault detection methods based on above-mentioned network topology structure.
Merkel's root of file is first obtained from believable source, once obtain root, so that it may from other from incredible source
Obtain Merkel tree.The Merkel tree received is checked by believable tree root.If Merkel tree is damage or empty
False, another Merkel tree just is obtained from other sources, until obtaining one and the matched Merkel tree of credible tree root.
As shown in fig. 6, the detection method of the mine machine failure of still another embodiment in accordance with the present invention, comprising: step 602,
Send status inquiry signal;Step 604, if all consistent signals are received, when result is "Yes", enter step 606,
When result is "No", 608 are entered step;Step 606, status inquiry next time is waited;Step 608, status inquiry is executed to calculate
Method;Step 610, failure machine is inquired, when result is "Yes", enters step 612, when result is "No", return step
608;Step 612, failure mine machine is reported and waits status inquiry next time.
Specifically, server at certain intervals the time (preferably, one hour) to all mine machines (for example, n platform mine machine)
Same status inquiry signal is issued, mine machine sends Merkel's root of block head after receiving status inquiry signal to server
Value.If mine machine calculate state be it is normal, Merkel's root of block head transmitted by mine machine is deposited in advance with server
Merkel's root of storage is consistent;If mine machine state is failure, the Merkel's root and clothes of block head transmitted by mine machine
Pre-stored Merkel's root in device of being engaged in is inconsistent.
Wherein, transaction record is saved with trading card, the past 10 minutes, all newly generated trading cards of the whole network were stored in one
In new block, all blocks are together in series to form block chain.So block chain is equivalent to a distributed account book.The whole network
In each node participate in jointly safeguard this account book.One new block of generation in every 10 minutes, and synchronized update is into the whole network
So node.After the whole network confirmation, can not just it change.
After issuing a status inquiry signal, whether statistics receives the root one equal to mine machine total quantity is write server
Number (for example, the consistent signal of n root).If receiving the consistent signal of root equal to mine machine total quantity, under server waiting
Status inquiry.If not receiving the consistent signal of root equal to mine machine total quantity, server executes status inquiry and calculates
Method, to detect being which platform mine machine breaks down.After inquiring failure mine machine, failure mine machine number is reported mining site by server
With mine pond, in order to which engineer repairs and mine pond is made to redistribute calculating task.
As shown in Figure 8, it is assumed that the mine machine in mining site has n platform, and n platform mine machine can be divided into closest two of number
Point.Such as n is even number, then is divided into two groups, each n/2 platform;N is odd number, and one is (n+1)/2, and another group is n- (n+1)/2
Platform.
When confirm n platform mine machine in break down when, n platform is divided into two groups, then at random to wherein one group of detection failure (i.e.
Status inquiry signal is retransmitted to this group of mine machine).If it is not detected that (i.e. state detection unit 10 receives failure mine machine
In the consistent signal of Merkel's root of this group of quantity), then next group is detected, mine machine (the i.e. state-detection list if detection is out of order
Member 10 does not receive the consistent signal of Merkel's root equal to this group of quantity), then it is reported.This method is iterated, i.e.,
The mine machine for really occurring to calculate failure can be found.
The step of status inquiry algorithm, is summarized as follows:
Step 802: by the bisection of mine machine quantity or closest bisection;
Step 804: state-detection is carried out to wherein one group of mine machine;
Step 806: failure mine machine is determined whether in current group, if so, 4 are then entered step, if not, entering step 5;
Step 808: state-detection being carried out to another group of mine machine, then return step 802.
Step 810: being confirmed whether to detect failure mine machine, such as detect, enter step 812, i.e., report failure mine machine
And terminate query procedure, be such as not detected, then then return step 802.
The block size of bit coin is strictly limited within 1MB at present.The block size field of 4 bytes does not include herein
It is interior.
As shown in fig. 7, including in the server state detection unit, by being formed with lower unit: control unit 704, meter
Counting unit 702 sends and detects signal element 706.Its specific arrangement is as shown below:
In each status inquiry, transmission is controlled by control unit 704 and detection signal element 706 believes status inquiry
Number each mine machine is sent to by bus, sent and packet that detection signal element 706 returns each mine machine by bus feedback
The signal for including Merkel's root is sent to counting unit 702.By the statistics of counting unit 702 and pre-stored Merkel's root one
Merkel's root number of cause, and the number after statistics is sent to control unit 704 by counting unit 702.By control unit
704 confirmation epicycles inquire the mine machine that whether breaks down.
As shown in figure 9, some mine machines are set as main mine machine in the network topology structure, play the part of reality by these main mine machines
The role of server in example 1 is applied, that is, including state detection unit 10 in each main mine machine, and each main mine machine passes through always
Line executes above-mentioned status inquiry algorithm proposed by the present invention to the mine machine cluster for being subordinated to oneself respectively.When detecting failure mine machine
When, server is reported by main mine machine and then reports to mining site and mine pond.This network structure decomposes query task respectively
On a main mine machine, thus compared to embodiment 1, the operand of server is effectively reduced, and being capable of quickly positioning failure
Mine machine.
The server of embodiment according to the present invention, including memory, processor and storage on a memory and can located
The computer program run on reason device, processor realize that any one of the first aspect of the present invention is implemented when executing computer program
The detection method of the mine machine failure of example.
The terminal of embodiment according to the present invention, including memory, processor and storage on a memory and can handled
The computer program run on device, processor realize any one embodiment of the second aspect of the present invention when executing computer program
Mine machine failure detection method.
The computer readable storage medium of embodiment according to the present invention is stored thereon with computer program, computer journey
The detection method of the mine machine failure of any one embodiment of the first aspect of the present invention is realized when sequence is executed by processor.
Step in the method for the present invention can be sequentially adjusted, combined, and deleted according to actual needs.
Unit in apparatus of the present invention can be combined, divided, and deleted according to actual needs.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage
Medium include read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory,
RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits
Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only memory (One-
Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only memory
(Electrically-Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (Compact
Disc Read-Only Memory, CD-ROM) or other disc memories, magnetic disk storage, magnetic tape storage or can
For carrying or any other computer-readable medium of storing data.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.