CN111698130A - Block chain server operation information uploading method and system - Google Patents

Block chain server operation information uploading method and system Download PDF

Info

Publication number
CN111698130A
CN111698130A CN202010521635.1A CN202010521635A CN111698130A CN 111698130 A CN111698130 A CN 111698130A CN 202010521635 A CN202010521635 A CN 202010521635A CN 111698130 A CN111698130 A CN 111698130A
Authority
CN
China
Prior art keywords
server
block chain
information
network
optimal
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.)
Granted
Application number
CN202010521635.1A
Other languages
Chinese (zh)
Other versions
CN111698130B (en
Inventor
孙伟
付海旭
孙飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Conglian Information Technology Co ltd
Original Assignee
Shanghai Conglian Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Conglian Information Technology Co ltd filed Critical Shanghai Conglian Information Technology Co ltd
Priority to CN202010521635.1A priority Critical patent/CN111698130B/en
Publication of CN111698130A publication Critical patent/CN111698130A/en
Application granted granted Critical
Publication of CN111698130B publication Critical patent/CN111698130B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/101Server selection for load balancing based on network conditions
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Energy 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 method for uploading running information of a block chain server comprises the following steps: each block chain server collects and arranges respective running information at a preset first time; each block chain server respectively tests the network state of the cloud server; each block chain server broadcasts the network state and the IP address to the IP section; each block chain server selects a block chain server with the optimal IP section network state according to the network state of the block chain server and the network states broadcasted by other block chain servers; each non-optimal block chain server sends respective running information to the block chain server with the optimal IP section network state; and the optimal block chain server sends the running information of the optimal block chain server and the running information of other block chain servers of the IP section to the cloud server at a preset second time. The invention has low cost and high accuracy.

Description

Block chain server operation information uploading method and system
Technical Field
The invention relates to the technical field of block chains, in particular to a method and a system for uploading running information of a block chain server.
Background
In centralized management, daily maintenance and fault elimination, the multiple blockchain servers need to count the running state and the error state of each server on the same day, so that reference is provided for subsequent maintenance and performance improvement.
The current mode is that each block chain server uploads the running state information and the server error state information to the cloud server in real time, the cloud server performs statistics, a large amount of connections of the cloud server can be occupied by the mode, certain requirements are required for the performance of the cloud server, the cost is high, the block chain server generally has an automatic recovery mechanism, the server error state information is uploaded to the cloud server in real time, a large amount of false alarms can be brought, 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 this, a method and a system for uploading operation information of a blockchain server are provided to solve the above technical problems.
In order to solve the technical problems, the invention adopts the following technical scheme:
a method for uploading running information of a block chain server comprises the following steps:
each block chain server collects and arranges respective running information at a preset first time, wherein the running information comprises running error information and running state information;
each block chain server respectively tests the network state of the cloud server, wherein the network state comprises network connectivity and network interaction time;
each block chain server broadcasts the network state and the IP address 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 broadcasted by other block chain servers:
selecting a block chain server with connectivity as an alternative server;
selecting the server with the shortest network interaction time from the alternative servers as an optimal block chain server;
each non-optimal block chain server sends respective running information to the block chain server with the optimal IP section network state;
and the optimal block chain server sends the running information of the optimal block chain server and the running information of other block chain servers of the IP section to the cloud server at a preset second time.
The block chain server tests the network state of the cloud server through the following steps:
sending a response request to the cloud server;
monitoring the response of the cloud server;
analyzing a response packet from the cloud server, determining whether the response packet can normally communicate with the cloud server, and obtaining network connectivity;
sending a timestamp request message to the cloud server;
and monitoring a timestamp response message from the cloud server, calculating the time difference between the response message and the request message, and acquiring the network interaction time.
The operation error information comprises fan problem information, server restarting times, server calculation error times, server operation overheating problem information and server calculation board falling problem information, and the operation state information comprises server operation calculation force information, server operation clock and working frequency information and server operation result accuracy information.
The present solution also relates to a system for uploading operating information of a blockchain server, comprising a plurality of blockchain servers configured to perform the steps of:
each block chain server collects and arranges respective running information at a preset first time, wherein the running information comprises running error information and running state information;
each block chain server respectively tests the network state of the cloud server, wherein the network state comprises network connectivity and network interaction time;
each block chain server broadcasts the network state and the IP address 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 broadcasted by other block chain servers:
selecting a block chain server with connectivity as an alternative server;
selecting the server with the shortest network interaction time from the alternative servers as an optimal block chain server;
each non-optimal block chain server sends respective running information to the block chain server with the optimal IP section network state;
and the optimal block chain server sends the running information of the optimal block chain server and the running information of other block chain servers of the IP section to the cloud server at a preset second time.
The block chain server tests the network state of the cloud server through the following steps:
sending a response request to the cloud server;
monitoring the response of the cloud server;
analyzing a response packet from the cloud server, determining whether the response packet can normally communicate with the cloud server, and obtaining network connectivity;
sending a timestamp request message to the cloud server;
and monitoring a timestamp response message from the cloud server, calculating the time difference between the response message and the request message, and acquiring the network interaction time.
The operation error information comprises fan problem information, server restarting times, server calculation error times, server operation overheating problem information and server calculation board falling problem information, and the operation state information comprises server operation calculation force information, server operation clock and working frequency information and server operation result accuracy information.
According to the method, the block chain servers collect and arrange respective operation information at fixed time, the network state of the block chain servers and the cloud server is tested, the block chain server with the optimal network state is selected, and finally the optimal block chain server uniformly sends the operation information of the block chain servers to the cloud server at fixed time, 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, error state information of the server is automatically collected and arranged by the block chain servers at fixed time, the condition of false alarm is avoided, the accuracy of statistical information is improved, the reference is high, and manual rechecking is not needed.
Drawings
The invention is described in detail below with reference to the following figures 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, collecting and arranging respective running information at a preset first time by each block chain server.
The operation information comprises operation error information and operation state information.
S102, each block chain server tests the network state of the cloud server.
Wherein the network state comprises network connectivity and network interaction time.
S103, each block chain server broadcasts the network state and the IP address of the 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 block chain server and the network states broadcasted by other block chain servers:
A) and selecting a blockchain server with connectivity as an alternative server.
B) And then selecting the server with the shortest network interaction time from the alternative servers as the optimal block chain server.
And S105, each non-optimal block chain server sends the respective running information to the block chain server with the optimal IP section network state.
And S106, the optimal block chain server sends the running information of the optimal block chain server and the running information of other block chain servers of the IP section to the cloud server at the preset second time.
In the invention, each block chain server collects and arranges the respective running information at a fixed time (preset first time), tests the network state of the cloud server, elects the block chain server with the optimal network state, and finally sends the running information of each block chain server to the cloud server by the optimal block chain server uniformly at the fixed time (preset second time), so that a large amount of connection of the cloud server is not occupied, the performance requirement on the cloud server is low, the cost is reduced, and as the server error state information is automatically collected and arranged by each block chain server at the fixed time, the condition of false alarm is avoided, the accuracy of statistical information is improved, the reference is high, and manual re-check is not needed.
For example, the running information can be collected and collated at 17 points per day and then uploaded to the cloud server by the optimal server at 18 points uniformly.
In this embodiment, the blockchain server tests the network status of the cloud server by:
A) and sending the response request to the cloud server through an ICMP protocol.
B) And monitoring the response of the cloud server.
C) And analyzing the response packet from the cloud server, determining whether the response packet can normally communicate with the cloud server, and obtaining network connectivity.
D) And sending the timestamp request message to a cloud server.
E) And monitoring a timestamp response message from the cloud server, calculating the time difference between the response message and the request message, and acquiring the network interaction time.
Specifically, the operation error information includes fan problem information, server restart times, server calculation error times, server operation overheating problem information, and server calculation board falling problem information, and the operation state information includes server operation calculation force information, server operation clock and working frequency information, and server operation result accuracy information.
The information may be detected by each device controller (e.g., a temperature sensor, a fan controller, etc.), or calculated by existing software according to the information detected by the device controller (e.g., the number of times of restarting the server, the information of the computing power of the server, etc.), and then sorted by the software, which is not described herein again.
The present solution also relates to a system for uploading operation information of a blockchain server, including a plurality of blockchain servers, where the plurality of blockchain servers are configured to perform the following steps, as shown in fig. 1:
s101, collecting and arranging respective running information at a preset first time by each block chain server.
The operation information comprises operation error information and operation state information.
S102, each block chain server tests the network state of the cloud server.
Wherein the network state comprises network connectivity and network interaction time.
S103, each block chain server broadcasts the network state and the IP address of the 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 block chain server and the network states broadcasted by other block chain servers:
A) and selecting a blockchain server with connectivity as an alternative server.
B) And then selecting the server with the shortest network interaction time from the alternative servers as the optimal block chain server.
And S105, each non-optimal block chain server sends the respective running information to the block chain server with the optimal IP section network state.
And S106, the optimal block chain server sends the running information of the optimal block chain server and the running information of other block chain servers of the IP section to the cloud server at the preset second time.
In this embodiment, the blockchain server tests the network status of the cloud server by:
A) and sending the response request to the cloud server through an ICMP protocol.
B) And monitoring the response of the cloud server.
C) And analyzing the response packet from the cloud server, determining whether the response packet can normally communicate with the cloud server, and obtaining network connectivity.
D) And sending the timestamp request message to a cloud server.
E) And monitoring a timestamp response message from the cloud server, calculating the time difference between the response message and the request message, and acquiring the network interaction time.
Specifically, the operation error information includes fan problem information, server restart times, server calculation error times, server operation overheating problem information, and server calculation board falling problem information, and the operation state information includes server operation calculation force information, server operation clock and working frequency information, and server operation result accuracy information.
The information may be detected by each device controller (e.g., a temperature sensor, a fan controller, etc.), or calculated by existing software according to the information detected by the device controller (e.g., the number of times of restarting the server, the information of the computing power of the server, etc.), and then sorted by the software, which is not described herein again.
However, those skilled in the art should realize that the above embodiments are illustrative only and not limiting to the present invention, and that changes and modifications to the above described embodiments are intended to fall within the scope of the appended claims, provided they fall within the true spirit of the present invention.

Claims (6)

1. A method for uploading running information of a block chain server is characterized by comprising the following steps:
each block chain server collects and arranges respective running information at a preset first time, wherein the running information comprises running error information and running state information;
each block chain server respectively tests the network state of the cloud server, wherein the network state comprises network connectivity and network interaction time;
each block chain server broadcasts the network state and the IP address 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 broadcasted by other block chain servers:
selecting a block chain server with connectivity as an alternative server;
selecting the server with the shortest network interaction time from the alternative servers as an optimal block chain server;
each non-optimal block chain server sends respective running information to the block chain server with the optimal IP section network state;
and the optimal block chain server sends the running information of the optimal block chain server and the running information of other block chain servers of the IP section to the cloud server at a preset second time.
2. The method of claim 1, wherein the blockchain server tests the network status of the cloud server by:
sending a response request to the cloud server;
monitoring the response of the cloud server;
analyzing a response packet from the cloud server, determining whether the response packet can normally communicate with the cloud server, and obtaining network connectivity;
sending a timestamp request message to the cloud server;
and monitoring a timestamp response message from the cloud server, calculating the time difference between the response message and the request message, and acquiring the network interaction time.
3. The method for uploading operation information of a blockchain server according to claim 1 or 2, wherein the operation error information includes information on a problem of a fan, information on a restart time of the server, information on a calculation error time of the server, information on an overheating operation problem of the server, and information on a problem of a board drop of a calculation board of the server, and the operation state information includes information on an operation calculation capability of the server, information on a clock and an operation frequency of the server, and information on a correct rate of an operation result of the server.
4. A blockchain server operation information uploading system, comprising a plurality of blockchain servers configured to perform the following steps:
each block chain server collects and arranges respective running information at a preset first time, wherein the running information comprises running error information and running state information;
each block chain server respectively tests the network state of the cloud server, wherein the network state comprises network connectivity and network interaction time;
each block chain server broadcasts the network state and the IP address 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 broadcasted by other block chain servers:
selecting a block chain server with connectivity as an alternative server;
selecting the server with the shortest network interaction time from the alternative servers as an optimal block chain server;
each non-optimal block chain server sends respective running information to the block chain server with the optimal IP section network state;
and the optimal block chain server sends the running information of the optimal block chain server and the running information of other block chain servers of the IP section to the cloud server at a preset second time.
5. The system for uploading operational information of a blockchain server as claimed in claim 4, wherein the blockchain server tests the network status of the cloud server by:
sending a response request to the cloud server;
monitoring the response of the cloud server;
analyzing a response packet from the cloud server, determining whether the response packet can normally communicate with the cloud server, and obtaining network connectivity;
sending a timestamp request message to the cloud server;
and monitoring a timestamp response message from the cloud server, calculating the time difference between the response message and the request message, and acquiring the network interaction time.
6. The method for uploading operation information of a blockchain server according to claim 4 or 5, wherein the operation error information includes information on fan problems, information on restart times of the server, information on error times of server calculation, information on overheating operation of the server, and information on board dropping problems of the server, and the operation state information includes information on operation calculation capacity of the server, information on operation clock and operation frequency of the server, and information on accuracy of operation results of the server.
CN202010521635.1A 2020-06-10 2020-06-10 Block chain server operation information uploading method and system thereof Active CN111698130B (en)

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 true CN111698130A (en) 2020-09-22
CN111698130B 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 (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101964824A (en) * 2010-11-05 2011-02-02 北京云快线软件服务有限公司 Method and device for selecting uploading server
US20120287469A1 (en) * 2011-05-10 2012-11-15 Konica Minolta Business Techonologies, Inc. Image processing system, image processing server, and image forming apparatus
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101964824A (en) * 2010-11-05 2011-02-02 北京云快线软件服务有限公司 Method and device for selecting uploading server
US20120287469A1 (en) * 2011-05-10 2012-11-15 Konica Minolta Business Techonologies, Inc. Image processing system, image processing server, and image forming apparatus
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
CN111698130B (en) 2023-05-05

Similar Documents

Publication Publication Date Title
CN116345696B (en) Anomaly information analysis management system and method based on global monitoring
CN112564964B (en) Fault link detection and recovery method based on software defined network
CN101197621B (en) Method and system for remote diagnosing and locating failure of network management system
CN110535710A (en) Remote diagnosis method and system, the network equipment and Cloud Server of the network equipment
CN103081407A (en) Failure analysis device, and system and method for same
US20140227992A1 (en) Method of and An Operating Support System for Providing Performance Management in a Mobile Telecommunications System
US20110122761A1 (en) KPI Driven High Availability Method and apparatus for UMTS radio access networks
WO2012034366A1 (en) Method and apparatus for detecting interface of communcation device
CN107294767B (en) Live broadcast network transmission fault monitoring method and system
JP2008283621A (en) Apparatus and method for monitoring network congestion state, and program
CN113708995A (en) Network fault diagnosis method, system, electronic equipment and storage medium
JP2008206135A (en) Remote monitoring apparatus and remote monitoring system
CN109039795A (en) A kind of Cloud Server resource monitoring method and system
CN106468904A (en) Can dynamic configuration operation real-time accumulated quality management and control implementation method
CN111585819A (en) Distribution network communication equipment fault analysis method and system
CN111600917A (en) Equipment operation and maintenance management system and method based on PC (personal computer) terminal
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
CN108989137B (en) Time delay measuring method and device for end-to-end communication and computer readable storage medium
CN117834007A (en) Fault root cause positioning method and device for forward link
KR100500836B1 (en) Fault management system of metro ethernet network and method thereof
CN112398707B (en) Distributed automatic test management method, device, equipment and storage medium
CN115687036A (en) Log collection method and device and log system
JP4299210B2 (en) Network monitoring method and apparatus

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