CN111698130B - Block chain server operation information uploading method and system thereof - Google Patents
Block chain server operation information uploading method and system thereof Download PDFInfo
- Publication number
- CN111698130B CN111698130B CN202010521635.1A CN202010521635A CN111698130B CN 111698130 B CN111698130 B CN 111698130B CN 202010521635 A CN202010521635 A CN 202010521635A CN 111698130 B CN111698130 B CN 111698130B
- Authority
- CN
- China
- Prior art keywords
- server
- information
- blockchain
- block chain
- network
- 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.)
- Active
Links
Images
Classifications
-
- 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/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- 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/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
-
- 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
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1004—Server selection for load balancing
- H04L67/1008—Server selection for load balancing based on parameters of servers, e.g. available memory or workload
-
- 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
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1004—Server selection for load balancing
- H04L67/101—Server selection for load balancing based on network conditions
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Computer And Data Communications (AREA)
Abstract
A block chain server operation information uploading method comprises the following steps: each block chain server collects and sorts the respective operation information at a preset first time; each block chain server respectively tests the network state of the cloud server; broadcasting the network state and the IP address of each block chain server to the IP section; each block chain server selects the block chain server with the optimal network state of the IP section according to the network state of the block chain server and the network states broadcast by other block chain servers; each non-optimal blockchain server sends the respective running information to the blockchain server with the optimal IP section network state; and the optimal blockchain server sends the running information of the optimal blockchain server and the running information of other blockchain servers in the IP section to the cloud server at a preset second time. The invention has low cost and high accuracy.
Description
Technical Field
The invention relates to the technical field of blockchain, in particular to a blockchain server operation information uploading method and a system thereof.
Background
In centralized management, daily maintenance and fault elimination, a plurality of blockchain servers are required to count the running states of each server and the error states of the servers on the same day, so that references are provided for subsequent maintenance and performance improvement.
The current mode is that each blockchain server uploads running state information and server error state information of the blockchain server to a cloud server in real time, the cloud server performs statistics, the mode occupies a large number of connections of the cloud server, certain requirements are met on the performance of the cloud server, the cost is high, the blockchain server is generally provided with an automatic recovery mechanism, and the server error state information is uploaded to the cloud server in real time to cause a large number of false alarms, so that the statistical information is inaccurate, the reference is low, manual review is often needed, and the labor cost is wasted.
Disclosure of Invention
Based on the above, a method and a system for uploading the operation information of the blockchain server are provided for the technical problems.
In order to solve the technical problems, the invention adopts the following technical scheme:
a block chain server operation information uploading method comprises the following steps:
each block chain server collects and sorts respective operation information at a preset first time, wherein the operation information comprises operation error information and operation state information;
each blockchain server respectively tests the network state of the cloud server, wherein the network state comprises network connectivity and network interaction time;
broadcasting the network state and the IP address of each block chain server to the IP section;
each block chain server selects the block chain server with the optimal IP section network state according to the network state of the block chain server and the network states broadcast by other block chain servers:
selecting a blockchain server with connectivity as an alternative server;
selecting a server with the shortest network interaction time from the alternative servers as an optimal blockchain server;
each non-optimal blockchain server sends the respective running information to the blockchain server with the optimal IP section network state;
and the optimal blockchain server sends the running information of the optimal blockchain server and the running information of other blockchain servers in the IP section to the cloud server at a preset second time.
The blockchain server tests the network state of the cloud server by the following steps:
transmitting a response request to the cloud server;
monitoring the response of the cloud server;
analyzing a response packet from the cloud server, and determining whether the response packet can normally communicate with the cloud server to acquire network connectivity;
sending a timestamp request message to the cloud server;
and monitoring a time stamp response message from the cloud server, and calculating the time difference between the response message and the request message to obtain network interaction time.
The operation error information comprises fan problem information, server restarting times, server calculating error times, server operation overheat problem information and server calculating board failure problem information, and the operation state information comprises server operation calculation information, server operation clock and working frequency information and server operation result accuracy information.
The present disclosure also relates to a blockchain server operation information uploading system including a plurality of blockchain servers configured to perform the steps of:
each block chain server collects and sorts respective operation information at a preset first time, wherein the operation information comprises operation error information and operation state information;
each blockchain server respectively tests the network state of the cloud server, wherein the network state comprises network connectivity and network interaction time;
broadcasting the network state and the IP address of each block chain server to the IP section;
each block chain server selects the block chain server with the optimal IP section network state according to the network state of the block chain server and the network states broadcast by other block chain servers:
selecting a blockchain server with connectivity as an alternative server;
selecting a server with the shortest network interaction time from the alternative servers as an optimal blockchain server;
each non-optimal blockchain server sends the respective running information to the blockchain server with the optimal IP section network state;
and the optimal blockchain server sends the running information of the optimal blockchain server and the running information of other blockchain servers in the IP section to the cloud server at a preset second time.
The blockchain server tests the network state of the cloud server by the following steps:
transmitting a response request to the cloud server;
monitoring the response of the cloud server;
analyzing a response packet from the cloud server, and determining whether the response packet can normally communicate with the cloud server to acquire network connectivity;
sending a timestamp request message to the cloud server;
and monitoring a time stamp response message from the cloud server, and calculating the time difference between the response message and the request message to obtain network interaction time.
The operation error information comprises fan problem information, server restarting times, server calculating error times, server operation overheat problem information and server calculating board failure problem information, and the operation state information comprises server operation calculation information, server operation clock and working frequency information and server operation result accuracy information.
According to the invention, each blockchain server collects and sorts the respective operation information at a fixed time, the network state of the cloud server is tested, the blockchain server with the optimal network state is selected, and finally, the operation information of each blockchain server is uniformly transmitted to the cloud server at the fixed time by the optimal blockchain server, so that a large number of connections of the cloud server are not occupied, the performance requirement on the cloud server is low, the cost is reduced, and because the error state information of the server is automatically collected and sorted at the fixed time by each blockchain server, the false report condition is avoided, the accuracy of the statistical information is improved, the reference is high, and the manual review is not required.
Drawings
The invention is described in detail below with reference to the attached drawings and detailed description:
FIG. 1 is a flow chart of the present invention.
Detailed Description
As shown in fig. 1, a method for uploading operation information of a blockchain server includes:
s101, each block chain server collects and sorts respective operation information at a preset first time.
The operation information comprises operation error information and operation state information.
S102, each blockchain server respectively tests the network state of the cloud server.
Wherein the network state includes network connectivity and network interaction time.
And S103, broadcasting the network state and the IP address of each block chain server to the IP section.
S104, each block chain server selects the block chain server with the optimal IP section network state according to the network state of the server and the network states broadcast by other block chain servers:
a) And selecting the blockchain server with connectivity as an alternative server.
B) And selecting the server with the shortest network interaction time from the alternative servers as the optimal blockchain server.
S105, each non-optimal block chain server sends the respective operation information to the block chain server with the optimal IP section network state.
And S106, the optimal blockchain server sends the running information of the optimal blockchain server and the running information of other blockchain servers in the IP section to the cloud server at a preset second time.
In the invention, each blockchain server collects and sorts the respective operation information at fixed time (preset first time), tests the network state of the cloud server, elects the blockchain server with the optimal network state, and finally sends the operation information of each blockchain server to the cloud server at fixed time (preset second time) uniformly by the optimal blockchain server, so that the cloud server is not occupied for a large number of connections, the performance requirement on the cloud server is low, the cost is reduced, and because the server error state information is collected and sorted by each blockchain server at fixed time, the false report condition is avoided, the accuracy of the statistical information is improved, the reference is high, and manual review is not needed.
For example, the running information can be collected and arranged at 17 points per day, and then uniformly uploaded to the cloud server by the optimal server at 18 points.
In this embodiment, the blockchain server tests the network status with the cloud server by:
a) And sending the response request to the cloud server through the ICMP protocol.
B) And monitoring the response of the cloud server.
C) And analyzing the response packet from the cloud server, and determining whether the response packet can normally communicate with the cloud server or not to acquire network connectivity.
D) And sending the timestamp request message to a cloud server.
E) And monitoring a time stamp response message from the cloud server, and calculating the time difference between the response message and the request message to obtain the network interaction time.
Specifically, the operation error information comprises fan problem information, server restarting times, server calculation error times, server operation overheat problem information and server calculation board drop problem information, and the operation state information comprises server operation calculation power information, server operation clock and working frequency information and server operation result accuracy rate information.
The information can be detected by each device controller (such as a temperature sensor, a fan controller and the like), or can be calculated by the existing software according to the information detected by the device controllers (such as the restarting times of the server, the operation calculation information of the server and the like), and the information is arranged by the software, and the details are not repeated here.
The present disclosure also relates to a blockchain server operation information uploading system, including a plurality of blockchain servers configured to perform the following steps, as shown in fig. 1:
s101, each block chain server collects and sorts respective operation information at a preset first time.
The operation information comprises operation error information and operation state information.
S102, each blockchain server respectively tests the network state of the cloud server.
Wherein the network state includes network connectivity and network interaction time.
And S103, broadcasting the network state and the IP address of each block chain server to the IP section.
S104, each block chain server selects the block chain server with the optimal IP section network state according to the network state of the server and the network states broadcast by other block chain servers:
a) And selecting the blockchain server with connectivity as an alternative server.
B) And selecting the server with the shortest network interaction time from the alternative servers as the optimal blockchain server.
S105, each non-optimal block chain server sends the respective operation information to the block chain server with the optimal IP section network state.
And S106, the optimal blockchain server sends the running information of the optimal blockchain server and the running information of other blockchain servers in the IP section to the cloud server at a preset second time.
In this embodiment, the blockchain server tests the network status with the cloud server by:
a) And sending the response request to the cloud server through the ICMP protocol.
B) And monitoring the response of the cloud server.
C) And analyzing the response packet from the cloud server, and determining whether the response packet can normally communicate with the cloud server or not to acquire network connectivity.
D) And sending the timestamp request message to a cloud server.
E) And monitoring a time stamp response message from the cloud server, and calculating the time difference between the response message and the request message to obtain the network interaction time.
Specifically, the operation error information comprises fan problem information, server restarting times, server calculation error times, server operation overheat problem information and server calculation board drop problem information, and the operation state information comprises server operation calculation power information, server operation clock and working frequency information and server operation result accuracy rate information.
The information can be detected by each device controller (such as a temperature sensor, a fan controller and the like), or can be calculated by the existing software according to the information detected by the device controllers (such as the restarting times of the server, the operation calculation information of the server and the like), and the information is arranged by the software, and the details are not repeated here.
However, it will be appreciated by persons skilled in the art that the above embodiments are provided for illustration of the invention and not for limitation thereof, and that changes and modifications to the above described embodiments are intended to fall within the scope of the appended claims as long as they fall within the true spirit of the invention.
Claims (6)
1. A blockchain server operation information uploading method, comprising:
each block chain server collects and sorts respective operation information at a preset first time, wherein the operation information comprises operation error information and operation state information;
each blockchain server respectively tests the network state of the cloud server, wherein the network state comprises network connectivity and network interaction time;
broadcasting the network state and the IP address of each block chain server to the IP section;
each block chain server selects the block chain server with the optimal IP section network state according to the network state of the block chain server and the network states broadcast by other block chain servers:
selecting a blockchain server with connectivity as an alternative server;
selecting a server with the shortest network interaction time from the alternative servers as an optimal blockchain server;
each non-optimal blockchain server sends the respective running information to the blockchain server with the optimal IP section network state;
and the optimal blockchain server sends the running information of the optimal blockchain server and the running information of other blockchain servers in the IP section to the cloud server at a preset second time.
2. The method for uploading operation information of a blockchain server according to claim 1, wherein the blockchain server tests the network state of the cloud server by:
transmitting a response request to the cloud server;
monitoring the response of the cloud server;
analyzing a response packet from the cloud server, and determining whether the response packet can normally communicate with the cloud server to acquire network connectivity;
sending a timestamp request message to the cloud server;
and monitoring a time stamp response message from the cloud server, and calculating the time difference between the response message and the request message to obtain network interaction time.
3. The blockchain server operation information uploading method according to claim 1 or 2, wherein the operation error information includes fan problem information, server restart times, server calculation error times, server operation overheat problem information and server calculation board drop problem information, and the operation state information includes server operation power information, server operation clock and working frequency information and server operation result accuracy information.
4. A blockchain server operating information uploading system comprising a plurality of blockchain servers configured to perform the steps of:
each block chain server collects and sorts respective operation information at a preset first time, wherein the operation information comprises operation error information and operation state information;
each blockchain server respectively tests the network state of the cloud server, wherein the network state comprises network connectivity and network interaction time;
broadcasting the network state and the IP address of each block chain server to the IP section;
each block chain server selects the block chain server with the optimal IP section network state according to the network state of the block chain server and the network states broadcast by other block chain servers:
selecting a blockchain server with connectivity as an alternative server;
selecting a server with the shortest network interaction time from the alternative servers as an optimal blockchain server;
each non-optimal blockchain server sends the respective running information to the blockchain server with the optimal IP section network state;
and the optimal blockchain server sends the running information of the optimal blockchain server and the running information of other blockchain servers in the IP section to the cloud server at a preset second time.
5. The blockchain server operating information uploading system of claim 4, wherein the blockchain server tests the network status with the cloud server by:
transmitting a response request to the cloud server;
monitoring the response of the cloud server;
analyzing a response packet from the cloud server, and determining whether the response packet can normally communicate with the cloud server to acquire network connectivity;
sending a timestamp request message to the cloud server;
and monitoring a time stamp response message from the cloud server, and calculating the time difference between the response message and the request message to obtain network interaction time.
6. The blockchain server operation information uploading system of claim 4 or 5, wherein the operation error information includes fan problem information, server restart times, server calculation error times, server operation overheat problem information and server calculation board drop problem information, and the operation state information includes server operation power information, server operation clock and operating frequency information and server operation result accuracy information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010521635.1A CN111698130B (en) | 2020-06-10 | 2020-06-10 | Block chain server operation information uploading method and system thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010521635.1A CN111698130B (en) | 2020-06-10 | 2020-06-10 | Block chain server operation information uploading method and system thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111698130A CN111698130A (en) | 2020-09-22 |
CN111698130B true CN111698130B (en) | 2023-05-05 |
Family
ID=72480051
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010521635.1A Active CN111698130B (en) | 2020-06-10 | 2020-06-10 | Block chain server operation information uploading method and system thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111698130B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101964824A (en) * | 2010-11-05 | 2011-02-02 | 北京云快线软件服务有限公司 | Method and device for selecting uploading server |
CN105099649A (en) * | 2015-08-14 | 2015-11-25 | 宋亚玲 | Method and system for synchronously inserting network time |
CN105467932A (en) * | 2014-08-11 | 2016-04-06 | 中兴通讯股份有限公司 | Method and device for optimizing heating of terminal system |
CN105974806A (en) * | 2015-11-17 | 2016-09-28 | 杭州赫智电子科技有限公司 | Intelligent household device pool control method and intelligent household device pool control system |
CN107689970A (en) * | 2016-08-03 | 2018-02-13 | 中国移动通信集团湖北有限公司 | A kind of method and device for selecting the optimal server that tests the speed |
WO2019024161A1 (en) * | 2017-08-04 | 2019-02-07 | 平安科技(深圳)有限公司 | Block chain-based data management method, block chain system, server and readable storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5321639B2 (en) * | 2011-05-10 | 2013-10-23 | コニカミノルタ株式会社 | Image processing system, image processing server, and image forming apparatus |
-
2020
- 2020-06-10 CN CN202010521635.1A patent/CN111698130B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101964824A (en) * | 2010-11-05 | 2011-02-02 | 北京云快线软件服务有限公司 | Method and device for selecting uploading server |
CN105467932A (en) * | 2014-08-11 | 2016-04-06 | 中兴通讯股份有限公司 | Method and device for optimizing heating of terminal system |
CN105099649A (en) * | 2015-08-14 | 2015-11-25 | 宋亚玲 | Method and system for synchronously inserting network time |
CN105974806A (en) * | 2015-11-17 | 2016-09-28 | 杭州赫智电子科技有限公司 | Intelligent household device pool control method and intelligent household device pool control system |
CN107689970A (en) * | 2016-08-03 | 2018-02-13 | 中国移动通信集团湖北有限公司 | A kind of method and device for selecting the optimal server that tests the speed |
WO2019024161A1 (en) * | 2017-08-04 | 2019-02-07 | 平安科技(深圳)有限公司 | Block chain-based data management method, block chain system, server and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111698130A (en) | 2020-09-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN116345696B (en) | Anomaly information analysis management system and method based on global monitoring | |
CN101617233B (en) | Methods and system for utility network outage detection | |
CN112564964B (en) | Fault link detection and recovery method based on software defined network | |
CN107733672A (en) | Fault handling method, device and controller | |
CN105682121A (en) | Data acquisition method for sensor network, gateway and data acquisition system | |
CN113497676B (en) | Data acquisition method based on industrial Internet of things acquisition system data | |
US20140227992A1 (en) | Method of and An Operating Support System for Providing Performance Management in a Mobile Telecommunications System | |
WO2012034366A1 (en) | Method and apparatus for detecting interface of communcation device | |
US20110122761A1 (en) | KPI Driven High Availability Method and apparatus for UMTS radio access networks | |
CN106468904A (en) | Can dynamic configuration operation real-time accumulated quality management and control implementation method | |
CN111600918A (en) | Equipment operation and maintenance management system and method based on mobile terminal | |
JP2008206135A (en) | Remote monitoring apparatus and remote monitoring system | |
CN101145977A (en) | A QoS monitoring system and its measuring method of IP data network | |
CN110740065A (en) | Method, device and system for identifying degradation fault point | |
CN111600917A (en) | Equipment operation and maintenance management system and method based on PC (personal computer) terminal | |
CN113783749A (en) | Method for detecting equipment fault based on network port | |
CN110647417B (en) | Energy internet abnormal data processing method, device and system | |
CN111698130B (en) | Block chain server operation information uploading method and system thereof | |
CN110830284A (en) | SDN network-based service fault monitoring method and device | |
JP2008072496A (en) | Network monitoring system, communication quality measuring system and communication quality measuring method | |
JP2007183731A (en) | Sustainment/maintenance service system for customer destination sensor network system, sensor node and monitoring server | |
CN108989137B (en) | Time delay measuring method and device for end-to-end communication and computer readable storage medium | |
US20220390929A1 (en) | Method, A System And A Computer Program Product For Monitoring An Industrial Ethernet Protocol Type Network | |
CN117834007A (en) | Fault root cause positioning method and device for forward link | |
KR101960324B1 (en) | Integration Remote Equipment Managing System |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |