CN110022225A - Communication means, system, mine machine and the storage medium of decentralization storage system - Google Patents
Communication means, system, mine machine and the storage medium of decentralization storage system Download PDFInfo
- Publication number
- CN110022225A CN110022225A CN201910013579.8A CN201910013579A CN110022225A CN 110022225 A CN110022225 A CN 110022225A CN 201910013579 A CN201910013579 A CN 201910013579A CN 110022225 A CN110022225 A CN 110022225A
- Authority
- CN
- China
- Prior art keywords
- network channel
- mine
- standby
- master network
- mine machine
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0663—Performing the actions predefined by failover planning, e.g. switching to standby network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0668—Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0823—Errors, e.g. transmission errors
-
- 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/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
This application discloses a kind of communication means of decentralization storage system, system, mine machine and storage mediums, decentralization storage system includes an at least mine machine, master network channel and standby network channel, this method comprises: mine machine monitoring master network channel is with the presence or absence of abnormal;It is not deposited when abnormal when monitoring master network channel, passes through master network channel and carry out communication service;It is deposited when abnormal when monitoring master network channel, switches to standby network channel and carry out communication service.By the above method, mine machine can not execute communication service caused by can preferably avoiding because of master network channel abnormal, realize preferably defensive attack, mine machine is allowed to provide stable service.
Description
Technical field
This application involves block chain fields, communication means, system, mine more particularly to a kind of decentralization storage system
Machine and storage medium.
Background technique
The rewards and punishments mechanism of Filecoin, which determines, needs unified centralized management backstage in filecoin network, so that mine
Field energy is enough to be interacted with filecoin network in time, the functions such as adjustment storage and retrieval order quotation, competition for orders, scheduling of resource,
It is constantly interacted with node device, updates node device strategy, scheduling node device resource realizes maximum revenue.But
Since there are competitive relations between mining site, the DDOS attack missile defense of mining site has thus been drawn, therefore has needed a kind of communication can
So that the scheme that the mine machine in mining site can still be communicated when encountering attack with external stabilization.
Summary of the invention
The application mainly solving the technical problems that provide one kind can with defensive attack, make mine machine can provide stable service
Scheme.
In order to solve the above technical problems, the technical solution that the application uses is: providing a kind of decentralization storage system
The communication means of system, the decentralization storage system include a mine machine, master network channel and standby network channel, the method
Include:
The mine machine monitors the master network channel with the presence or absence of abnormal;
It is not deposited when abnormal when monitoring the master network channel, communication service is carried out by the master network channel;
It is deposited when abnormal when monitoring the master network channel, switches to the standby network channel and carry out communication service.
In order to solve the above technical problems, another technical solution that the application uses is to provide a kind of mine machine, the mine machine
Including processor, memory and telecommunication circuit, the processor is connect with the memory and the telecommunication circuit;
Wherein, the memory is for storing program data;
The telecommunication circuit is used to be communicated under processor control with gateway;
The processor is used to run the described program data of the memory storage, goes to center as described above to execute
Change the communication means of storage system.
In order to solve the above technical problems, another technical solution that the application uses is to provide a kind of decentralization storage
System, which is characterized in that the system comprises at least one mine machine, mine pool equipment, master network channel and standby network channels;
The mine machine is mine machine as described above, at least one described mine machine respectively with the master network channel and described standby
Network channel is connected to the mine pool equipment.
In order to solve the above technical problems, another technical solution that the application uses is to provide a kind of storage medium, it is described
Storage medium is stored with program data, and described program data are performed the method for realizing mining site cyber-defence as described above.
Above scheme, mine machine is by monitoring master network channel with the presence or absence of exception, when detection master network channel has exception
When, communication service is carried out by master network channel, when monitoring that master network channel deposits when abnormal, switch to standby network channel into
Row communication service.Caused by because of reasons such as network attacks when Network Abnormal, scheme provided herein is by providing with standby
The system of network channel, and when judging that master network channel is abnormal, it switches to standby network channel and carries out communication service, avoid
Communication service can not be executed because Network Abnormal causes mine machine in time with external communication, while preferably defensive attack, so that mine
Machine can provide stable service.
Detailed description of the invention
Fig. 1 is flow diagram in a kind of one embodiment of communication means of decentralization storage system of the application;
Fig. 2 is a kind of flow diagram of another embodiment of communication means of decentralization storage system of the application;
Fig. 3 is a kind of another embodiment flow diagram of the communication means of decentralization storage system of the application;
Fig. 4 is the structural schematic diagram in a kind of one embodiment of mine machine of the application;
Fig. 5 is the structural schematic diagram in a kind of one embodiment of decentralization storage system of the application;
Fig. 6 is the structural schematic diagram in a kind of another embodiment of decentralization storage system of the application;
Fig. 7 is the structural schematic diagram in a kind of one embodiment of storage medium of the 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 carries out clear, complete
Site preparation description.It is understood that specific embodiment described herein is only used for explaining the application, rather than to the limit of the application
It is fixed.Based on the embodiment in the application, obtained by those of ordinary skill in the art without making creative efforts
Every other embodiment, shall fall in the protection scope of this application.
Term " first ", " second ", " third " in the application are used for description purposes only, and should not be understood as instruction or dark
Show relative importance or implicitly indicates the quantity of indicated technical characteristic.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments
It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
Referring to Figure 1, Fig. 1 is that the process in a kind of one embodiment of communication means of decentralization storage system of the application is shown
It is intended to.Wherein, decentralization storage system as described herein can be Filecoin network system.The decentralization storage system
Including an at least mine machine, master network channel and standby network channel.The communication of decentralization storage system provided herein
The executing subject of method is the mine machine in decentralization storage system.Specifically, in the present example, a kind of decentralization is deposited
The communication means of storage system includes:
S110: mine machine monitors master network channel with the presence or absence of abnormal.
For mine machine while being worked, the monitoring currently used master network channel of mine machine is with the presence or absence of abnormal.Wherein,
Master network channel is monitored with the presence or absence of exception, is whether monitoring master network channel occurs such as to block, go offline or maliciously attack
The abnormal conditions such as hit.It specifically, in the present example can be by logical by master network between monitoring mine machine and mine pool equipment
Road whether can be with Successful transmissions data, to monitor master network channel with the presence or absence of abnormal.
In the present example, master network channel refers to the higher network channel of preset and transmittability.Mine machine
Refer to the terminal device for earning bit coin, specifically can be the computer etc. of the digging mine wafer with profession.
Further, in one embodiment, when mine machine is communicated by master network channel and mine pool equipment, mine machine can
To be interval setting time monitoring master network channel with the presence or absence of abnormal.Wherein, the length of setting time is previously according to experience
Value is set, and can be adjusted according to the actual needs.
It is as usual by the data exchange speed between master network channel and mine pool equipment when monitoring mine machine, and there is no go offline
Or situations such as by malicious attack, then it may determine that master network channel does not have exception.Conversely, when mine machine monitors to pass through major network
Data exchange between network channel and mine pool equipment is unsmooth in the presence of blocking, or often goes offline, or is occurred by malice
When attack, then it is abnormal to may determine that master network channel exists.
Further, in another embodiment, when mine machine is worked, when monitor mine machine by master network channel with
When data transmission bauds between mine pool equipment is consistently less than preset threshold, then it is stifled to may determine that current master network channel exists
Plug, needs to carry out network operation, can be determined that need to shift to mine machine-cut at this time and lead on standby network channel with mine pool equipment
Communication service.Wherein, preset threshold is preset, can be used for measuring the value of the transmission speed in master network channel, specifically can be with
Equal to the speed mean value that data are transmitted in master network channel under normal circumstances.
Specifically, when in step S110 monitor master network channel do not deposit when abnormal, S120 is thened follow the steps, conversely, working as
Master network channel is monitored in step S110 to deposit when abnormal, thens follow the steps S130.
S120: communication service is carried out by master network channel.
When monitoring that master network channel do not deposit when abnormal, mine machine carries out communication service by master network channel, either
Continue to keep carrying out communication service by master network channel.Wherein, the communication service that mine machine is carried out include it is following at least one:
The management and scheduling to realize mine pool equipment to mine machine are interacted with mine pool equipment;Competition book keeping operation power, and in competition to book keeping operation
Temporary store user data.
S130: it switches to standby network channel and carries out communication service.
When monitoring that master network channel is deposited when abnormal in step S110, then it will start the operation in handover network channel, it will
Mine machine-cut shifts to standby network channel and carries out communication service.As described above, the communication service for switching to standby network channel progress includes
Below at least one: the management and scheduling to realize mine pool equipment to mine machine are interacted with mine pool equipment;Competition book keeping operation power, and
User data is temporary stored to book keeping operation in competition.
In the present example, method provided herein whether there is abnormal by monitoring master network channel, and
Master network channel is monitored there is no when exception, communication service is carried out by master network channel, is deposited when monitoring obtains master network channel
When abnormal, it switches to standby network channel and carries out communication service, can preferably realize there is abnormal, mine machine in master network channel
When can not carry out communicating communication with mine pool equipment by master network channel, communication industry can be carried out by switching to standby network channel
Business, can make mine machine deposit when abnormal in master network channel, can still provide stable data service, preferably anti-
Imperial attack is avoided because there are network attacks can not carry out unnecessary loss caused by communication service with mine pool equipment in time.
Fig. 2 is referred to, Fig. 2 is that a kind of process of another embodiment of communication means of decentralization storage system of the application is shown
It is intended to.In current implement, a kind of communication means of decentralization storage system provided herein includes:
S201: mine machine monitors master network channel with the presence or absence of abnormal.
Step S201 is identical as the step S110 in above-described embodiment, and particular content, which refers to, to be described above, herein no longer
It is described in detail.
When monitoring master network channel there is no when exception, then step S202, S203 and/or step can be further executed
S204.It is deposited when abnormal when monitoring master network channel, then successively executes step S205 and step S206 after step S201.
S202: communication service is carried out by master network channel.
When monitoring that master network channel is not present abnormal, then communication service can be carried out by master network channel, either
Maintenance carries out communication service by master network channel.Specifically, mine machine passes through the communication service that master network channel is carried out
Include at least: it is following at least one: the management and scheduling to realize mine pool equipment to mine machine are interacted with mine pool equipment;Competition
Book keeping operation power, and user data is temporary stored to book keeping operation in competition.
Further, mine machine interacts the management for realizing mine pool equipment to mine machine by master network channel and mine pool equipment
It is specifically included with scheduling: receiving scheduling data or instruction that mine pool equipment is sent, or send control information to mine pool equipment
With basic attribute information.
S203: when carrying out communication service by master network channel, interval preset time passes through standby network channel and mine pond
Equipment is communicated, to determine standby network channel with the presence or absence of abnormal.
When carrying out communication service by master network channel, then it can be spaced preset time and be set by standby network channel with mine pond
It is standby to be communicated.Specifically, carrying out communication by standby network channel and mine pool equipment is that interval setting time is logical by standby network
Road sends control information to mine pool equipment, is determined with the feedback information for the successful reception that whether can receive mine pool equipment feedback
Standby network channel determines whether standby network channel can guarantee normally to lead between mine machine and mine pool equipment with the presence or absence of exception
News.Wherein, when control information to mine pool equipment can not be successfully transmitted by standby network channel, or standby network channel can not be passed through
When receiving the information of mine pool equipment transmission, and or by standby network channel can not send control information to mine pool equipment,
And when can not also receive the information of mine pool equipment transmission by standby network channel, then there are different for the standby network channel for judging at this time
Often.Conversely, when can successfully send control information to mine pool equipment by standby network channel, and standby network channel can also be passed through
The information for receiving the transmission of mine pool equipment then judges that exception is not present in standby network channel at this time.In the present example, pass through
When carrying out communication service using master network channel, while being spaced preset time and monitoring for network channel with the presence or absence of exception, it can
It can be guaranteed with preferably realizing when master network channel is abnormal, standby network channel keeps available mode at any time, i.e., for net
Network channel can enable at any time, to guarantee the lasting normal communication between mine machine and mine pool equipment.
S204: the exception information of standby network channel is reported into mine pool equipment by master network channel.
It, will current standby network by master network channel when determining that standby network channel is deposited when abnormal by above-mentioned steps S203
Exception information existing for channel reports to mine pool equipment, to inform that administrative staff carry out network operation.Specifically, it can be and pass through
Network management ToolTips currently for network alarm, notifies network to need to safeguard.
Further, in another embodiment, when determine standby network equipment channel there are after exception, it is provided herein
Method further include: monitor whether standby network channel restores normal.It for network channel or is to detect whether particular by poll
Dependent instruction or the information of the completion maintenance of mine pool equipment transmission are received to detect whether standby network channel restores normal.Work as inspection
After measuring standby network channel recovery normally, interval preset time it can be led to again by standby network channel with mine pool equipment
News, to determine standby network channel with the presence or absence of abnormal.
S205: it switches to standby network channel and carries out communication service.
When monitoring that master network channel deposits when abnormal, mine chance switches to standby network channel and carries out communication service, continues
Completing duplication proves to prove with space-time, proves acquisition positive incentive or negative incentive to construct effective work.Present example
In step S205 it is identical as the step S130 in embodiment corresponding to Fig. 1, can be with reference to above for step S130
Elaboration.
S206: the exception information in master network channel is reported to by mine pool equipment by standby network channel.
It, can also be by standby network channel by master network after mine machine is completed to switch to standby network channel from master network channel
The exception information in channel reports to mine pool equipment.
In another embodiment, when the exception information in master network channel is reported to mine pool equipment by standby network channel,
After notice mine pool equipment needs to safeguard master network channel, can also further poll master network channel, to judge to lead
Whether network channel completes network operation, if restores normal.In other embodiments, mine machine can also detect whether to receive
The notification information safeguarded to master network channel is completed, from mine pool equipment to determine whether master network channel completes network operation.
Further, it is monitoring that it is abnormal that master network channel exists, or is determining that standby network channel is deposited when abnormal, the application
Provided method further include: notice mine pool equipment pause carries out scheduling of resource to the mining site where mine machine.Wherein, in notice mine
After pool equipment pause is to mining site carries out scheduling of resource where mine machine, mine is reconnected to by other network channels in mine machine
After pool equipment restores communication, then it can be again started up and scheduling of resource is carried out to the mining site where mine machine.Specifically, when monitoring
It is that master network channel is deposited when abnormal, then notifies the pause of mine pool equipment to provide the mining site where mine machine by standby network channel
Source scheduling;When monitoring it is that standby network channel is deposited when abnormal, then the pause of mine pool equipment can be notified to mine by master network channel
Mining site where machine carries out scheduling of resource.
Exception information mentioned in present example is communication abnormality type.Communication abnormality type include: mine machine with it is right
The communication abnormality between the communication abnormality and/or gateway and internet between the gateway in network channel answered.Specifically, for
The judgement of Exception Type can be judged by judging whether can to carry out communication with corresponding gateway, and will tentatively be judged
As a result mine pool equipment is reported to by the network channel that can be communicated.
Fig. 3 is referred to, Fig. 3 is a kind of another embodiment process signal of communication means of decentralization storage system of the application
Figure.In the present example, when monitoring master network channel is deposited when abnormal, switch to standby network channel carry out communication service it
Afterwards, method provided herein further include:
S301: whether restore normal in monitoring master network channel.
There is exception in monitoring master network channel, notice mine pool equipment carries out after network operation, it is also necessary to monitor major network
Whether network channel, which completes, is safeguarded, restores normal.Wherein, whether monitoring master network channel restores normally to include: to instruct by poll
And/or by monitoring whether to receive the data or information from mine pool equipment Jing Guo master network channel transfer.
S302: it when monitoring master network routing restoration is normal, switches to master network channel and carries out communication service.
In the present example, the transmittability in master network channel is higher than standby network channel, therefore for rock feeder offer
Better data transport service then can switch to master network by standby network channel when monitoring that master network routing restoration is normal
Channel carries out communication service.
Further, if the transmittability of standby network channel is weaker, backup can not be provided for more mine machine simultaneously and passed
When defeated service, or the mine machine in same mining site is equipped with different standby network channels.It specifically can be according to mine machine in mine
Distributing position relationship in is grouped multiple mine machines, and then it is logical for network to be equipped at least one for the mine machine for each group
Road.
Further, in technical solution provided herein, master network channel includes the master with mine machine wired connection
Gateway, standby network channel include the standby gateway being wirelessly connected with mine machine.In the present example, for primary gateway and mine pool equipment
Between be wired connection, be to be wirelessly connected between standby gateway and mine pool equipment, more stable network transmission be provided for mine machine
While service, the investment for setting up channel cost is also preferably reduced.
Further, in another embodiment, method provided herein further include: control standby gateway and report mining site position
Confidence is ceased to mine pond.Wherein, in the present example, as long as standby network channel is there is no when exception, standby gateway can be to mine
Pool equipment reporting position information provides reference position information to carry out scheduling of resource distribution for mine pool equipment, so that mine pool equipment
It can be that mine machine reasonable distribution is nearest according to the location information (i.e. for the location information of gateway or mining site location information) of mine machine
Resource.When standby gateway includes locating module, the location information of mining site be can be by standby gateway itself acquisition, then by mine machine
Control is reported.
In another embodiment, when mine machine includes locating module, either mine machine is fixed setting and pre-enters position
After information, the location information of mining site can also be that mine machine is sent to standby gateway, then controls standby gateway and reports mining site location information
Scheduling of resource rationally is carried out for mine machine to mine pool equipment for the location information that mine pool equipment can be reported according to gateway.
Fig. 4 is referred to, Fig. 4 is the structural schematic diagram in a kind of one embodiment of mine machine of the application.In the present example, originally
Mine machine 400 provided by applying includes processor 401, memory 402 and telecommunication circuit 403, processor 401 and memory 402
It is connected with telecommunication circuit 403.
Wherein, for memory 402 for storing program data, the program data stored, which is performed, can be achieved texts and pictures as above
1 to Fig. 3 and its corresponding each embodiment described in a kind of communication means of decentralization storage system.
Telecommunication circuit 403 for being communicated under the control of processor 401 with gateway, for externally send data or
Receive data.Wherein, gateway is the primary gateway in decentralization storage system or standby gateway.
Processor 401 is used for the program data that run memory 402 stores, to execute decentralization storage as described below
The communication means of system.
Fig. 5 is referred to, Fig. 5 is the structural schematic diagram in a kind of one embodiment of decentralization storage system of the application.Working as
In preceding embodiment, decentralization storage system 500 includes that an at least mine machine 501 (only illustrates the feelings of a mine machine in Fig. 5
Condition), mine pool equipment 504, master network channel 502 and standby network channel 503.
Wherein, mine machine 501 is such as the mine machine in Fig. 4 and its corresponding embodiment.In the present example, at least one
Mine machine 501 is connected to mine pool equipment 504 with master network channel 502 and standby network channel 503 respectively.
Mine pool equipment 504 is used to collect the information of each mine machine 501 connected and/or connects to the mine pool equipment 504
The mine machine 501 connect carries out scheduling of resource.It is particularly used for that mine machine 501 is managed and is dispatched.In another embodiment, mine pond
Equipment 504 also provides the interface of a human-computer interaction, for showing relevant information, or acquisition user's input to miner, that is, user
Dependent instruction, with by mine pool equipment 504 control mine machine.
Further, Fig. 6 is referred to, Fig. 6 is the structure in a kind of another embodiment of decentralization storage system of the application
Schematic diagram illustrates in a mining site including multiple mine machines and including multiple standby network channels in the embodiment shown in fig. 6
Situation, specifically primary gateway 603 is connect with mine machine 606, mine machine 607 and mine machine 608 respectively in embodiment illustrated in fig. 6, but mine machine
606 and mine machine 607 be connected to the same standby network channel, be connected to same standby gateway 604, mine machine 608 individually connects another standby
Network channel, this includes standby gateway 2 (605) for network channel.Further, in one embodiment, standby gateway can be wireless
Interface, such as WIFI.
In the present example, master network channel (Fig. 6 is not identified) includes primary gateway 603.It is arranged in embodiment illustrated in fig. 6
Two standby network channel (Fig. 6 is not identified), standby network channel includes standby gateway 604.Wherein, primary gateway 603 is used in master network
When channel is normal, the communication data of chute 606 (or mine machine 607 and mine machine 608) is passed, standby gateway 1 (604) is used in master network
When channel abnormal, the communication data of the mine machine 606 and mine machine 607 that are attached thereto is transmitted.In another embodiment, primary gateway 603
It is wired connection (solid line schematical sections in Fig. 6) between mine machine and primary gateway and mine pool equipment, standby gateway 1 (604) or standby net
Closing between 2 (605) and mine machine, standby gateway 1 (604) or standby gateway 2 (605) and mine pool equipment is that (dotted line shows wireless connection in Fig. 6
Meaning part).
In another embodiment, standby gateway 1 (604) or standby gateway 2 (605) include locating module, current for obtaining it
Location information.Therefore in present example, standby gateway 1 (604) or the location information for being also used to report itself for gateway 2 (605)
To mine pool equipment 602.The position as set by each standby gateway is located proximate to where with corresponding mine machine, therefore standby gateway can be with
Location information by above putting gateway on record informs the mine seat in the plane that mine pool equipment 602 is attached thereto to mine pool equipment 602 with realization
It sets, so that mine pool equipment 602 can be preferably mine machine reasonable distribution resource according to the location information that standby gateway reports.
The application also provides a kind of storage medium.Fig. 7 is referred to, Fig. 7 is in a kind of one embodiment of storage medium of the application
Structural schematic diagram, in the present example, storage medium 700 is stored with program data 701, the program data 701 stored
It is performed the communication means that a kind of decentralization storage system as described in figure 1 above to Fig. 3 and its each embodiment can be achieved.
Specifically, the above-mentioned storage medium 700 with store function can be memory, personal computer, server, the network equipment or
Person's USB flash disk etc. is one such.
The foregoing is merely presently filed embodiments, are not intended to limit the scope of the patents of the application, all to utilize this
Equivalent structure or equivalent flow shift made by application specification and accompanying drawing content, it is relevant to be applied directly or indirectly in other
Technical field similarly includes in the scope of patent protection of the application.
Claims (11)
1. a kind of communication means of decentralization storage system, which is characterized in that the decentralization storage system includes at least
One mine machine, master network channel and standby network channel, which comprises
The mine machine monitors the master network channel with the presence or absence of abnormal;
It is not deposited when abnormal when monitoring the master network channel, communication service is carried out by the master network channel;
It is deposited when abnormal when monitoring the master network channel, switches to the standby network channel and carry out communication service.
2. the method according to claim 1, wherein the communication service include it is following at least one:
It is interacted with mine pool equipment to realize management and scheduling of the mine pool equipment to the mine machine;
Competition book keeping operation power, and user data is temporary stored to book keeping operation in competition.
3. the method according to claim 1, wherein the method also includes:
It deposits when abnormal when monitoring the master network channel, is believed the exception in the master network channel by the standby network channel
Breath reports to mine pool equipment.
4. the method according to claim 1, wherein when monitor the master network channel there is no it is abnormal when, institute
State method further include:
Interval preset time communicated by the standby network channel with mine pool equipment, with the determination standby network channel whether
There are exceptions;
When determining that the standby network channel deposits when abnormal, the exception information of the standby network channel is led to by the master network
Road reports to the mine pool equipment.
5. according to the method described in claim 4, it is characterized in that, when monitoring the master network channel in the presence of abnormal or determining
The standby network channel deposit when abnormal, the method also includes:
The mine pool equipment pause is notified to carry out scheduling of resource to the mining site where the mine machine;
The exception information is communication abnormality type, and the communication abnormality type includes: the mine machine and corresponding network channel
In gateway between communication abnormality and/or the gateway and internet between communication abnormality.
6. the method according to claim 1, wherein the master network channel includes and the mine machine wired connection
Primary gateway, the standby network channel include with the mine machine be wirelessly connected standby gateway;
The method also includes: the control standby gateway reports the mining site location information to the mine pool equipment.
7. the method according to claim 1, wherein described when the monitoring master network channel has exception
When, it switches to after standby network channel progress communication service, the method also includes:
Monitor whether the master network channel restores normal;
When the monitoring master network routing restoration is normal, switches to the master network channel and carry out the communication service.
8. a kind of mine machine, which is characterized in that the mine machine includes processor, memory and telecommunication circuit, the processor and institute
Memory is stated to connect with the telecommunication circuit;
Wherein, the memory is for storing program data;
The telecommunication circuit is used to be communicated under processor control with gateway;
The processor is used to run the described program data of the memory storage, to execute such as any one of claim 1 to 7
The method.
9. a kind of decentralization storage system, which is characterized in that the system comprises at least one mine machines, mine pool equipment, major network
Network channel and standby network channel;
The mine machine be mine machine as claimed in claim 8, at least one described mine machine respectively with the master network channel and institute
It states standby network channel and is connected to the mine pool equipment.
10. system according to claim 9, which is characterized in that the master network channel includes primary gateway, the standby network
Channel includes standby gateway;The primary gateway is used for when the master network channel is normal, transmits the communication data of the mine machine;Institute
It states standby gateway to be used in the master network channel abnormal, transmits the communication data of the mine machine;
The standby gateway is also used to report the location information of the standby gateway to the mine pool equipment.
11. a kind of storage medium, which is characterized in that the storage medium is stored with program data, and described program data are performed
Shi Shixian method as described in any one of claim 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910013579.8A CN110022225A (en) | 2019-01-07 | 2019-01-07 | Communication means, system, mine machine and the storage medium of decentralization storage system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910013579.8A CN110022225A (en) | 2019-01-07 | 2019-01-07 | Communication means, system, mine machine and the storage medium of decentralization storage system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110022225A true CN110022225A (en) | 2019-07-16 |
Family
ID=67188752
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910013579.8A Pending CN110022225A (en) | 2019-01-07 | 2019-01-07 | Communication means, system, mine machine and the storage medium of decentralization storage system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110022225A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040128201A1 (en) * | 2003-06-12 | 2004-07-01 | Datawire Communication Networks, Inc. | Versatile terminal adapter and network for transaction processing |
CN1553628A (en) * | 2003-06-04 | 2004-12-08 | 深圳市中兴通讯股份有限公司南京分公 | Method for realizing chain circuit polymer function based on strategy route |
CN1665174A (en) * | 2004-03-03 | 2005-09-07 | 华为技术有限公司 | Apparatus for providing node protection in optical network and implementing method thereof |
CN101060442A (en) * | 2006-04-22 | 2007-10-24 | 华为技术有限公司 | A linkage status detection device and method |
CN101179334A (en) * | 2006-11-09 | 2008-05-14 | 英保达股份有限公司 | Optical fiber network alternate channel switch controller |
CN101826722A (en) * | 2010-05-20 | 2010-09-08 | 山西省电力公司电力通信中心 | Relay protecting private channel switching system of high-voltage electric power circuit |
US20180191520A1 (en) * | 2015-06-25 | 2018-07-05 | Thomson Licensing | Gateway and diagnosing method thereof |
CN108768686A (en) * | 2018-04-08 | 2018-11-06 | 安徽展航信息科技发展有限公司 | A kind of link backup method of computer network |
-
2019
- 2019-01-07 CN CN201910013579.8A patent/CN110022225A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1553628A (en) * | 2003-06-04 | 2004-12-08 | 深圳市中兴通讯股份有限公司南京分公 | Method for realizing chain circuit polymer function based on strategy route |
US20040128201A1 (en) * | 2003-06-12 | 2004-07-01 | Datawire Communication Networks, Inc. | Versatile terminal adapter and network for transaction processing |
CN1665174A (en) * | 2004-03-03 | 2005-09-07 | 华为技术有限公司 | Apparatus for providing node protection in optical network and implementing method thereof |
CN101060442A (en) * | 2006-04-22 | 2007-10-24 | 华为技术有限公司 | A linkage status detection device and method |
CN101179334A (en) * | 2006-11-09 | 2008-05-14 | 英保达股份有限公司 | Optical fiber network alternate channel switch controller |
CN101826722A (en) * | 2010-05-20 | 2010-09-08 | 山西省电力公司电力通信中心 | Relay protecting private channel switching system of high-voltage electric power circuit |
US20180191520A1 (en) * | 2015-06-25 | 2018-07-05 | Thomson Licensing | Gateway and diagnosing method thereof |
CN108768686A (en) * | 2018-04-08 | 2018-11-06 | 安徽展航信息科技发展有限公司 | A kind of link backup method of computer network |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104094577B (en) | Method and apparatus for evaluating the state of mobile body indirectly | |
US20030204768A1 (en) | Network restoration using refreshed switch state tables | |
CN104487989B (en) | Autonomous network sentry | |
CN100512128C (en) | Method and system for protecting multicast repeat path and service router | |
CN102257848B (en) | Main and secondary apparatuses conversion method betwenn communication equipment, communication equipment and system, and request equipment of system and service | |
CN103229462B (en) | A kind of optimal route selection method, relevant device and communication system | |
EP1563649A2 (en) | Protection against the effect of equipment failure in a communications system | |
CN101304340A (en) | Method and apparatus for monitoring resource condition as well as communication network | |
CN100521603C (en) | Method for realizing high-usability of network security equipment under cluster mode | |
US5959969A (en) | Method for initiating a distributed restoration process | |
CN107947998A (en) | A kind of real-time monitoring system based on application system | |
AU2012231488B2 (en) | Ethernet ring protection switching method, network device and system | |
CN102265556B (en) | Conversion method between an main communicational equipment and a spare communicational equipment, the communicational equipments and a service request equipment | |
CN106464511B (en) | A kind of service protecting method and device | |
CN101599906B (en) | Port state setting method and device | |
KR20120106898A (en) | Method and equipment for preventing repeated refreshing of ethernet ring node address table | |
CN108900338B (en) | Channel backup communication system and method | |
CN110022225A (en) | Communication means, system, mine machine and the storage medium of decentralization storage system | |
CN102904816A (en) | Service traffic protection method and device | |
CN103299584A (en) | Method for optimizing network performance after a temporary loss of connection | |
CN104253747A (en) | Transmission method and transmission device for performing 1: 1 protection on message in link aggregation group | |
CN101695049A (en) | Method and device for processing businesses in monitoring system | |
CN103139005A (en) | Method and device for detecting reasonability of network resource allocation | |
CN115865940A (en) | Data interaction processing method based on block chain | |
CN112769653B (en) | Network detection and switching method, system and medium based on network port binding |
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: 20190716 |
|
RJ01 | Rejection of invention patent application after publication |