WO2020253367A1 - Communication failure analysis method, device, and blockchain communication platform - Google Patents

Communication failure analysis method, device, and blockchain communication platform Download PDF

Info

Publication number
WO2020253367A1
WO2020253367A1 PCT/CN2020/086229 CN2020086229W WO2020253367A1 WO 2020253367 A1 WO2020253367 A1 WO 2020253367A1 CN 2020086229 W CN2020086229 W CN 2020086229W WO 2020253367 A1 WO2020253367 A1 WO 2020253367A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication
blockchain
node
block chain
target
Prior art date
Application number
PCT/CN2020/086229
Other languages
French (fr)
Chinese (zh)
Inventor
赵成龙
Original Assignee
深圳壹账通智能科技有限公司
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 深圳壹账通智能科技有限公司 filed Critical 深圳壹账通智能科技有限公司
Publication of WO2020253367A1 publication Critical patent/WO2020253367A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis

Definitions

  • This application relates to the technical field of block chain call links. Specifically, this application relates to a communication failure analysis method, device, and blockchain communication platform.
  • This application proposes a communication failure analysis method and device based on a system call link, and a blockchain communication platform to connect the network communication records between various communication systems, so that the system can be detected through the call link in a single communication system
  • a communication failure analysis method and device based on a system call link, and a blockchain communication platform to connect the network communication records between various communication systems, so that the system can be detected through the call link in a single communication system
  • a communication failure analysis method based on a system call link includes: using multiple communication systems as blockchain nodes to generate a blockchain communication platform; each blockchain node in the blockchain communication platform will The network communication record of this node is shared to the blockchain of the blockchain communication platform; the network communication record of each blockchain node corresponding to the system target communication is obtained through the blockchain; the system target communication The system communication information is retrieved from the network communication record of each corresponding blockchain node, and the target invocation link of the system target communication is generated according to each of the system communication information; the target invocation link is analyzed, and according to the analysis As a result, the failure information of the target communication of the system is determined.
  • the block chain communication platform includes a plurality of communication systems that communicate with each other. Each communication system serves as a block chain node of the block chain communication platform; the block chain communication platform also It includes a communication component shared by blockchain nodes; a plurality of the communication systems communicate data through the communication component, and the network communication records of the data communication process are packaged into blocks through the communication component, and the blocks are shared To the blockchain of the blockchain communication platform.
  • a communication failure analysis device based on a system call link includes: a first generation module, used for generating a blockchain communication platform by using multiple communication communication systems as blockchain nodes; a sharing module, used in the area Each block chain node in the block chain communication platform shares the network communication record of the node in the block chain of the block chain communication platform; the acquisition module is used to obtain the target communication corresponding to the system through the block chain The network communication record of each blockchain node; the second generation module is used to retrieve the system communication information from the network communication record of each blockchain node corresponding to the system target communication, according to each system The communication information generates the target invocation link of the system target communication; the analysis module is used to analyze the target invocation link, and determine the failure information of the system target communication according to the analysis result.
  • a computer device including: one or more processor memories; one or more computer programs, wherein the one or more computer programs are stored in the memory and configured to be processed by the one or more The one or more computer programs are configured to execute a communication failure analysis method based on the system call link:
  • the communication failure analysis method based on the system call link includes:
  • Each block chain node in the block chain communication platform shares the network communication record of the node in the block chain of the block chain communication platform;
  • a computer-readable storage medium has a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, a communication failure analysis method based on a system call link is realized, wherein the system call link-based
  • the communication failure analysis method includes the following steps:
  • Each block chain node in the block chain communication platform shares the network communication record of the node in the block chain of the block chain communication platform;
  • the communication failure analysis method based on the system call link uses multiple communication communication systems as blockchain nodes to form a blockchain communication platform.
  • Each communication system shares the network communication records of the system to the blockchain of the platform, so each communication system in the platform can obtain the network communication records of other communication systems.
  • the system target communication with the failure problem can be obtained through the blockchain in the platform.
  • the network communication record of each communication system can be used in each communication system.
  • the system communication information of each system is retrieved from the network communication record of the network, and the target call link is generated.
  • the fault problem in the system target communication can be determined. There is no need to manually log in to each system participating in the system target communication to view the network communication records of each system to analyze the communication fault problem. , Reduce the amount of manual operation and improve the efficiency of communication failure analysis.
  • FIG. 1 is a schematic structural diagram of an embodiment of a blockchain communication platform provided by this application.
  • FIG. 2 is a method flowchart in an embodiment of a communication failure analysis method based on a system call link provided by this application;
  • FIG. 3 is a flowchart of a method in an embodiment of step S200 provided in this application;
  • FIG. 5 is a flowchart of a part of the method in another embodiment of a communication failure analysis method based on a system call link provided by this application;
  • FIG. 6 is a structural block diagram in an embodiment of a communication failure analysis device based on a system call link provided by this application.
  • This application provides a communication failure analysis method based on a system call link.
  • the communication failure analysis method based on the system call link is applied to the blockchain communication platform described in this application to generate a system call chain, so as to obtain the network communication record of each communication system by analyzing the system call chain, and finally determine When the system target communication failure problem occurs, there is no need to manually log in to each system to view the network communication records of each system, which reduces the amount of manual operation and improves the efficiency of communication failure analysis.
  • the following first explains the blockchain communication platform mentioned in this application:
  • the blockchain communication platform includes a plurality of communication systems 100 that communicate with each other.
  • Each communication system 100 serves as a blockchain node of the blockchain communication platform, and the data between systems is performed through the blockchain 200 communication.
  • the blockchain communication platform is a system platform that uses blockchain technology to communicate with each other.
  • Each blockchain node participates in the platform through mining and transactions in blockchain technology, and becomes a blockchain node in the platform .
  • Blockchain nodes are computers in the blockchain network, such as mobile phones, mining machines, desktops, and servers. That is, the communication system 100 described in this application may be a communication system composed of servers, desktop computers, and the like.
  • the blockchain communication platform also includes communication components shared by blockchain nodes. Multiple communication systems 100 perform data communication through communication components, and package network communication records of the data communication process into blocks through the communication components, and share the blocks in the blockchain 200 of the blockchain communication platform. Therefore, each communication system 100 in the platform, as a blockchain node, can obtain the network communication record of the block from the blockchain 200.
  • the communication component is also used to monitor whether there is data communication between each blockchain node (communication system 100) in the blockchain communication platform.
  • the node information of each blockchain node through which the data flows and the communication information of the data communication are obtained, and the network link log is generated according to the node information and communication information, and the network link log is saved.
  • this application builds a blockchain communication platform with blockchain technology as the bottom layer, and each communication system 100 of the communication participates in the platform in the form of a blockchain node.
  • Each blockchain node has equal authority over the block information of the blockchain 200 and has a copy of all communication records of the platform.
  • data is transmitted through the communication components provided by the platform.
  • the communication component saves the log of the network link through which the data in the communication call process passes, and then packs it into blocks and puts it in the blockchain 200, so as to realize the trace of network communication on the platform, which can be used for subsequent troubleshooting and optimization .
  • this application also provides a communication failure analysis method based on the system call link.
  • the communication failure analysis method based on the system call link includes the following steps:
  • each communication system participating in network communication is used as the blockchain node of the blockchain communication platform.
  • each communication system can communicate data through blockchain technology or non-blockchain technology.
  • the communication system acts as a blockchain node to package the communication data into blocks and put them into the blockchain to communicate with other communication systems of the blockchain communication platform through the blockchain technology.
  • the communication system acts as a blockchain node and uses blockchain technology to communicate with other communication systems in the platform.
  • the communication system can also use traditional communication protocols, such as HTTP protocol, TCP protocol, etc., to communicate with other communication systems in the platform using non-blockchain technology.
  • Blockchain technology data communication or non-blockchain technology data communication depends on the communication method selected by the communication system 100.
  • the network communication records of the node are packaged into blocks and shared in the blockchain 200.
  • Any blockchain node of the blockchain communication platform can obtain network communication records of other blockchain nodes from the blockchain 200. That is, each communication system can obtain network communication records of other communication systems through the blockchain 200.
  • the network communication record contains the network communication log of the blockchain node (communication system).
  • the network communication log includes the sending information sent to the outside and the receiving information received from the outside, as well as the information in the sending and receiving process.
  • step S200 includes:
  • each blockchain node in the blockchain communication platform performs data communication through a communication component provided by the blockchain communication platform.
  • the communication component saves the log of the network link through which data flows during the data communication of each blockchain node in the blockchain communication platform, and packs the saved log and shares it to the In the blockchain of the blockchain communication platform.
  • each communication system 100 performs data transmission through the communication components provided by the platform.
  • the communication component saves the log of the network link through which the data flows in the calling process, and then packs it into blocks and puts it in the blockchain 200.
  • step S220 includes: the communication component monitors whether data communication is performed between each block chain node in the block chain communication platform; during data communication, each block chain node through which the data flows is obtained The node information and the communication information of the data communication; generate a network link log according to the node information and the communication information, and save the network link log.
  • S300 Obtain network communication records of each blockchain node corresponding to the target communication of the system through the blockchain.
  • a communication request initiated by a communication system may involve the collaborative operation of one or dozens of communication systems in the platform.
  • any communication system filters out the system target communication in the system, and scans out each communication system participating in the communication connection of the system target communication.
  • any communication system can obtain network communication records of other communication systems participating in the communication connection of the system target communication through the block chain of the platform.
  • the way for any communication system to filter out the system target communication in the system can be: when the system receives the operation of the user (such as system operation and maintenance personnel) to select the system communication, the system is selected from the system according to the user operation Target communication.
  • the method of scanning each communication system participating in the communication connection of the system target communication may be: after the system determines the system target communication, it scans the communication participating in the system target communication from the historical communication record information of the system.
  • Each communication system connected is: after the system determines the system target communication, it scans the communication participating in the system target communication from the historical communication record information of the system.
  • S400 retrieve system communication information from the network communication record of each blockchain node corresponding to the system target communication, and generate a target invocation link of the system target communication according to each of the system communication information.
  • the blockchain 200 contains the network communication records of all blockchain nodes of the platform, and the network communication records of different blockchain nodes are linked to obtain a complete system network communication call link. Therefore, when the operation and maintenance personnel determine the target communication of the system in any communication system in the platform, they can obtain the network communication records of each communication system participating in the communication connection during the communication process, and adjust from each communication system. Take out the system communication information to get the target call link of the system target communication.
  • the network communication record contains system communication information corresponding to the blockchain node (communication system).
  • the network communication log in the system communication information includes the sending information sent by the blockchain node and the receiving information received from the outside, as well as the information in the sending and receiving process of network communication.
  • the target invocation link is generated according to the sending information sent to the outside and the receiving information received from the outside in each of the system communication information, as well as the information in the sending and receiving process of network communication.
  • S500 Analyze the target call link, and determine the failure information of the system target communication according to the analysis result.
  • the target call link is analyzed.
  • the target call link contains the network communication records of each communication system participating in the communication connection of the system target communication and the communication data information between each communication system, and analyzes the network communication record of each communication system and the communication between each communication system Data information, get the analysis result, and finally determine the failure information of the system target communication based on the analysis result.
  • Multiple communication communication systems include communication system A, communication system B, communication system C, communication system D, and communication system E.
  • the communication system A, the communication system B, the communication system C, the communication system D and the communication system E are respectively regarded as the blockchain nodes, and the communication system A, the communication system B, the communication system C, the communication system D and the communication system
  • the blockchain communication platform of communication system E The blockchain communication platform of communication system E.
  • Communication system A, communication system B, communication system C, communication system D, and communication system E respectively share the network communication records of the system to the blockchain of the blockchain communication platform.
  • any communication system in the platform needs to confirm whether a system communication fails, the cause of the failure and the node where the failure occurs, first determine the detection object, that is, the system target communication, and determine the part of the system target communication by scanning Each communication system connected by communication.
  • the communication systems participating in the communication connection of the target communication of the system include communication system A, communication system B, and communication system D.
  • the communication system A can obtain the network communication records of the communication system B and the communication system D through the platform's blockchain, and then according to the network communication records of the communication system B and the communication system D, and this The network communication record of the system generates the target call link of the system target communication.
  • the failure information of the system target communication is determined according to the analysis result.
  • the communication system D can be determined when the faulty node occurs.
  • the cause of the fault is that the communication system D cannot send and receive data when participating in the system target communication. Therefore, there is no need to manually perform communication failure analysis in the communication system B and the communication system D, which reduces the amount of manual operation and improves the work efficiency of communication failure analysis.
  • the communication failure analysis method based on the system call link uses multiple communication communication systems as blockchain nodes to form a blockchain communication platform.
  • Each communication system shares the network communication records of the system to the blockchain of the platform, so each communication system in the platform can obtain the network communication records of other communication systems.
  • the system target communication with the failure problem can be obtained through the blockchain in the platform.
  • the network communication record of each communication system can be used in each communication system.
  • the system communication information of each system is retrieved from the network communication record of the network, and the target call link is generated.
  • the fault problem in the system target communication can be determined. There is no need to manually log in to each system participating in the system target communication to view the network communication records of each system to analyze the communication fault problem. , Reduce the amount of manual operation and improve the efficiency of communication failure analysis.
  • the method further includes:
  • S600 Pack the target call link and put it into the blockchain of the blockchain communication platform.
  • any communication system 100 in the blockchain communication platform generates a target call link according to the network communication record of each blockchain node corresponding to the target call link, and then packs the target call link into Blocks are put into the blockchain 200.
  • any communication system 100 in the platform can directly obtain the target call link from the blockchain 200, so that it can directly query whether the corresponding network communication call link has problems according to the target call link , There is no need to regenerate the target call link again according to the network communication record of the corresponding blockchain node, which reduces the workload of the query.
  • step S600 it further includes:
  • S700 Control each block chain node in the block chain communication platform to have equal operation authority for all network communication records in the block chain and the target call link.
  • each communication system 100 shares the network communication record of the system to the platform blockchain, it controls the network communication record and target call chain shared by each blockchain node to all communication systems in the blockchain Road has equal operation authority. These include the authority to add network communication records to the blockchain 200, the authority to obtain the existing network communication records in the blockchain 200, and the operation authority to obtain the target call link in the blockchain 200.
  • Each blockchain node has equal operation authority to all network communication records in the blockchain 200, which can ensure that each communication system 100 has access authority to the network communication records generated by other communication systems 100 in the platform.
  • Each communication system 100 can obtain the target call link generated by the communication in the platform, thereby making the information of the entire blockchain communication platform open and transparent.
  • step S700 the method further includes:
  • any blockchain node in the blockchain communication platform analyzes the communication status of each communicating blockchain node in the target call link, and judges each communicating blockchain node according to the communication status Is there any error in the communication of.
  • any blockchain node can obtain the target invocation link, and the network communication records uploaded by each blockchain node corresponding to the target invocation link can also be obtained from the blockchain 200.
  • Any blockchain node can analyze the communication status of each communicating blockchain node in the target call link, and judge whether the communication of each communicating blockchain node is wrong according to the communication status. If it is, the error information is packaged into the blockchain 200 and broadcast on the platform to inform each blockchain node corresponding to the target call link. Therefore, the block chain node corresponding to the target invocation link can directly obtain the error information, and there is no need to perform communication analysis on the target invocation link, avoiding repeated work.
  • step S820 it further includes:
  • any blockchain node corresponding to the target call link corrects the communication status of the blockchain node with a communication error according to the error information, and modifies the target call link according to the corrected information,
  • the modified target call link is packaged and put into the blockchain.
  • Any block chain node in the block chain communication platform can be based on the error message for communication errors.
  • the blockchain node corrects the communication status, and modifies the target invocation link according to the corrected information, and packs the modified target invocation link into the blockchain. Therefore, the limitation of the correction operation of the communication system with an error in the communication status can be broken, and the operation and maintenance personnel can complete the modification of the communication error without operating on the fixed communication system, which improves the flexibility of operation.
  • the application also provides a communication failure analysis device based on the system call link.
  • the device for generating the system call link includes a first generating module 10, a sharing module 20, an acquiring module 30, a second generating module 40 and an analyzing module 50.
  • the first generation module 10 is used to use multiple communication systems as blockchain nodes to generate a blockchain communication platform.
  • each communication system participating in network communication is used as the blockchain node of the blockchain communication platform.
  • each communication system can communicate data through blockchain technology or non-blockchain technology.
  • the communication system acts as a blockchain node to package the communication data into blocks and put them into the blockchain to communicate with other communication systems of the blockchain communication platform through the blockchain technology.
  • the communication system acts as a blockchain node and uses blockchain technology to communicate with other communication systems in the platform.
  • the communication system can also use traditional communication protocols, such as HTTP protocol, TCP protocol, etc., to communicate with other communication systems in the platform using non-blockchain technology.
  • Blockchain technology data communication or non-blockchain technology data communication depends on the communication method selected by the communication system 100.
  • the sharing module 20 is used for each block chain node in the block chain communication platform to share the network communication record of the node to the block chain of the block chain communication platform.
  • the network communication records of the node are packaged into blocks and shared in the blockchain 200.
  • Any blockchain node of the blockchain communication platform can obtain network communication records of other blockchain nodes from the blockchain 200. That is, each communication system can obtain network communication records of other communication systems through the blockchain 200.
  • the network communication record contains the network communication log of the blockchain node (communication system).
  • the network communication log includes the sending information sent to the outside and the receiving information received from the outside, as well as the information in the sending and receiving process.
  • the obtaining module 30 is configured to obtain the network communication record of each block chain node corresponding to the system target communication through the block chain.
  • a communication request initiated by a communication system may involve the collaborative operation of one or dozens of communication systems in the platform.
  • any communication system filters out the system target communication in the system, and scans out each communication system participating in the communication connection of the system target communication.
  • any communication system can obtain network communication records of other communication systems participating in the communication connection of the system target communication through the block chain of the platform.
  • the method for any communication system to filter out the system target communication in the system can be: when the system receives the user (such as system operation and maintenance personnel) to select the system communication operation, filter out the system target from the system according to the user operation communication.
  • the method of scanning each communication system participating in the communication connection of the system target communication may be: after the system determines the system target communication, it scans the communication participating in the system target communication from the historical communication record information of the system. Each communication system connected.
  • the second generation module 40 is configured to retrieve system communication information from the network communication record of each blockchain node corresponding to the system target communication, and generate the target call of the system target communication according to each of the system communication information link.
  • the blockchain 200 contains the network communication records of all blockchain nodes of the platform, and the network communication records of different blockchain nodes are linked to obtain a complete system network communication call link. Therefore, when the operation and maintenance personnel determine the target communication of the system in any communication system in the platform, they can obtain the network communication records of each communication system participating in the communication connection during the communication process, and adjust from each communication system. Take out the system communication information to get the target call link of the system target communication.
  • the analysis module 50 is configured to analyze the target call link, and determine the failure information of the system target communication according to the analysis result.
  • the target call link contains the network communication records of each communication system participating in the communication connection of the system target communication and the communication data information between each communication system, and analyzes the network communication record of each communication system and the communication between each communication system Data information, get the analysis result, and finally determine the failure information of the system target communication based on the analysis result.
  • This application also provides a computer device, including: one or more processor memories; one or more computer programs, wherein the one or more computer programs are stored in the memory and configured to be used by the one Or executed by multiple processors, and the one or more computer programs are configured to execute a communication failure analysis method based on a system call link:
  • the communication failure analysis method based on the system call link includes:
  • Each block chain node in the block chain communication platform shares the network communication record of the node in the block chain of the block chain communication platform;
  • the present application also provides a computer-readable storage medium, the storage medium is a volatile storage medium or a non-volatile storage medium, the computer-readable storage medium stores a computer program, and the computer program is executed by a processor
  • a communication failure analysis method based on a system call link is realized at a time, wherein the communication failure analysis method based on a system call link includes the following steps:
  • Each block chain node in the block chain communication platform shares the network communication record of the node in the block chain of the block chain communication platform;
  • the modules in the communication failure analysis device based on the system call link provided in this application are also used to execute the corresponding steps in the communication failure analysis method based on the system call link described in this application. Operation, no detailed explanation here.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present application provides a communication failure analysis method, a device, and a blockchain communication platform. The method comprises: using multiple communication systems for communication as blockchain nodes, and generating a blockchain communication platform; each blockchain node in the blockchain communication platform sharing a network communication record of the blockchain node itself to a blockchain of the blockchain communication platform; acquiring, by means of the blockchain, the network communication record of each blockchain node corresponding to a system target communication; retrieving system communication information from the network communication record of each blockchain node corresponding to the system target communication, and generating a target call link of the system target communication according to each piece of the system communication information; and analyzing the target call link, and determining failure information of the system target communication according to an analysis result. The method enables troubleshooting of a system communication failure in a single system by means of a call link without manually performing failure troubleshooting of each communication system, thereby reducing the amount of manual labor, and improving efficiency in communication failure analysis.

Description

通讯故障分析方法、装置及区块链通讯平台Communication failure analysis method, device and blockchain communication platform
本申请要求于2019年06月19日提交中国专利局、申请号为201910532772.2,发明名称为“通讯故障分析方法、装置及区块链通讯平台”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on June 19, 2019, the application number is 201910532772.2, and the invention title is "Communication Failure Analysis Method, Device and Blockchain Communication Platform", the entire content of which is by reference Incorporated in this application.
技术领域Technical field
本申请涉及区块链的调用链路技术领域,具体而言,本申请涉及一种通讯故障分析方法、装置及区块链通讯平台。This application relates to the technical field of block chain call links. Specifically, this application relates to a communication failure analysis method, device, and blockchain communication platform.
背景技术Background technique
当前多个***间通信的行业现状中,一旦各个***间的网络通讯的可靠性出现问题,很大程度上依靠运维人员登录各个***服务器查看日志或通过对各个***服务器的通信数据进行抓包,以一一排查问题。各个***间的网络调用链路记录及通讯记录多且杂,通过人工对多个***服务器进行查看分析,耗费大量的人力,并且工作效率低。In the current industry situation of communication between multiple systems, once the reliability of network communication between each system has problems, it is largely dependent on operation and maintenance personnel to log in to each system server to view logs or to capture the communication data of each system server To troubleshoot problems one by one. The network call link records and communication records between various systems are numerous and complicated. Manually viewing and analyzing multiple system servers consumes a lot of manpower and is inefficient.
发明内容Summary of the invention
本申请提出一种基于***调用链路的通讯故障分析方法、装置及区块链通讯平台,以连通各个通讯***间的网络通讯记录,使得在单个通讯***内即可通过调用链路排查出***通讯的故障问题,无需人工对每个通讯***进行故障排查,减少了人工操作量,提高了通讯故障分析的效率。This application proposes a communication failure analysis method and device based on a system call link, and a blockchain communication platform to connect the network communication records between various communication systems, so that the system can be detected through the call link in a single communication system For communication failures, there is no need to manually troubleshoot each communication system, which reduces the amount of manual operations and improves the efficiency of communication failure analysis.
本申请提供以下方案:This application provides the following solutions:
一种基于***调用链路的通讯故障分析方法,包括:将多个通讯的通讯***作为区块链节点,生成区块链通讯平台;所述区块链通讯平台中每个区块链节点将本节点的网络通讯记录共享到所述区块链通讯平台的区块链中;通过所述区块链获取***目标通讯对应的每个区块链节点的网络通讯记录;从所述***目标通讯对应的每个区块链节点的网络通讯记录中调取出***通讯信息,根据每个所述***通讯信息生成所述***目标通讯的目标调用链路;分析所述目标调用链路,根据分析结果确定所述***目标通讯的故障信息。A communication failure analysis method based on a system call link includes: using multiple communication systems as blockchain nodes to generate a blockchain communication platform; each blockchain node in the blockchain communication platform will The network communication record of this node is shared to the blockchain of the blockchain communication platform; the network communication record of each blockchain node corresponding to the system target communication is obtained through the blockchain; the system target communication The system communication information is retrieved from the network communication record of each corresponding blockchain node, and the target invocation link of the system target communication is generated according to each of the system communication information; the target invocation link is analyzed, and according to the analysis As a result, the failure information of the target communication of the system is determined.
一种区块链通讯平台,所述区块链通讯平台包括多个相互通讯的通讯***,每个通讯***作为所述区块链通讯平台的区块链节点;所述区块链通讯平台还包括区块链节点共用的通讯组件;多个所述通讯***通过所述通讯组件进行数据通讯,并通过所述通讯组件将数据通讯过程的网络通讯记录打包为区块,将所述区块共享到所述区块链通讯平台的区块链中。A block chain communication platform. The block chain communication platform includes a plurality of communication systems that communicate with each other. Each communication system serves as a block chain node of the block chain communication platform; the block chain communication platform also It includes a communication component shared by blockchain nodes; a plurality of the communication systems communicate data through the communication component, and the network communication records of the data communication process are packaged into blocks through the communication component, and the blocks are shared To the blockchain of the blockchain communication platform.
一种基于***调用链路的通讯故障分析装置,包括:第一生成模块,用于将多个通讯的通讯***作为区块链节点,生成区块链通讯平台;共享模块,用于所述区块链通讯平台中每个区块链节点将本节点的网络通讯记录共享到所述区块链通讯平台的区块链中;获取模块,用于通过所述区块链获取***目标通讯对应的每个区块链节点的网络通讯记录;第二生成模块,用于从所述***目标通讯对应的每个区块链节点的网络通讯记录中调取出***通讯信息,根据每个所述***通讯信息生成所述***目标通讯的目标调用链路;分析模块,用于分析所述目标调用链路,根据分析结果确定所述***目标通讯的故障信息。A communication failure analysis device based on a system call link includes: a first generation module, used for generating a blockchain communication platform by using multiple communication communication systems as blockchain nodes; a sharing module, used in the area Each block chain node in the block chain communication platform shares the network communication record of the node in the block chain of the block chain communication platform; the acquisition module is used to obtain the target communication corresponding to the system through the block chain The network communication record of each blockchain node; the second generation module is used to retrieve the system communication information from the network communication record of each blockchain node corresponding to the system target communication, according to each system The communication information generates the target invocation link of the system target communication; the analysis module is used to analyze the target invocation link, and determine the failure information of the system target communication according to the analysis result.
一种计算机设备,包括:一个或多个处理器存储器;一个或多个计算机程序,其中所述一个或多个计算机程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个计算机程序配置用于执行一种基于***调用链路的通讯故障分析方法:A computer device, including: one or more processor memories; one or more computer programs, wherein the one or more computer programs are stored in the memory and configured to be processed by the one or more The one or more computer programs are configured to execute a communication failure analysis method based on the system call link:
其中,所述基于***调用链路的通讯故障分析方法包括:Wherein, the communication failure analysis method based on the system call link includes:
将多个通讯的通讯***作为区块链节点,生成区块链通讯平台;Use multiple communication systems as blockchain nodes to generate a blockchain communication platform;
所述区块链通讯平台中每个区块链节点将本节点的网络通讯记录共享到所述区块链通讯平台的区块链中;Each block chain node in the block chain communication platform shares the network communication record of the node in the block chain of the block chain communication platform;
通过所述区块链获取***目标通讯对应的每个区块链节点的网络通讯记录;Obtain the network communication record of each blockchain node corresponding to the target communication of the system through the blockchain;
从所述***目标通讯对应的每个区块链节点的网络通讯记录中调取出***通讯信息,根据每个所述***通讯信息生成所述***目标通讯的目标调用链路;Retrieve system communication information from the network communication record of each blockchain node corresponding to the system target communication, and generate the target call link of the system target communication according to each of the system communication information;
分析所述目标调用链路,根据分析结果确定所述***目标通讯的故障信息。Analyze the target call link, and determine the failure information of the system target communication according to the analysis result.
一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现基于***调用链路的通讯故障分析方法,其中,所述基于***调用链路的通讯故障分析方法包括以下步骤:A computer-readable storage medium has a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, a communication failure analysis method based on a system call link is realized, wherein the system call link-based The communication failure analysis method includes the following steps:
将多个通讯的通讯***作为区块链节点,生成区块链通讯平台;Use multiple communication systems as blockchain nodes to generate a blockchain communication platform;
所述区块链通讯平台中每个区块链节点将本节点的网络通讯记录共享到所述区块链通讯平台的区块链中;Each block chain node in the block chain communication platform shares the network communication record of the node in the block chain of the block chain communication platform;
通过所述区块链获取***目标通讯对应的每个区块链节点的网络通讯记录;Obtain the network communication record of each blockchain node corresponding to the target communication of the system through the blockchain;
从所述***目标通讯对应的每个区块链节点的网络通讯记录中调取出***通讯信息,根据每个所述***通讯信息生成所述***目标通讯的目标调用链路;Retrieve system communication information from the network communication record of each blockchain node corresponding to the system target communication, and generate the target call link of the system target communication according to each of the system communication information;
分析所述目标调用链路,根据分析结果确定所述***目标通讯的故障信息。上述实施例提供的基于***调用链路的通讯故障分析方法,将多个通讯的通讯***作为区块链节点,构成区块链通讯平台。每个通讯***将本***的网络通讯记录共享到平台的区块链中,因此平台中每个通讯*** 均可获得其他通讯***的网络通讯记录。当***的网络通讯出现故障问题时,在单个通讯***中,可以通过平台中的区块链可获得出现故障问题的***目标通讯中,每个通讯***的网络通讯记录,从而在每个通讯***的网络通讯记录中调取各个***的***通讯信息,生成目标调用链路。进一步地,通过分析目标调用链路,即可确定出***目标通讯中的故障问题,无需人工一一登录每个参与***目标通讯的***,以查看每个***的网络通信记录来分析通讯故障问题,减少了人工操作量,提高了通讯故障分析的效率。Analyze the target call link, and determine the failure information of the system target communication according to the analysis result. The communication failure analysis method based on the system call link provided in the above embodiment uses multiple communication communication systems as blockchain nodes to form a blockchain communication platform. Each communication system shares the network communication records of the system to the blockchain of the platform, so each communication system in the platform can obtain the network communication records of other communication systems. When the system's network communication has a failure problem, in a single communication system, the system target communication with the failure problem can be obtained through the blockchain in the platform. The network communication record of each communication system can be used in each communication system. The system communication information of each system is retrieved from the network communication record of the network, and the target call link is generated. Furthermore, by analyzing the target call link, the fault problem in the system target communication can be determined. There is no need to manually log in to each system participating in the system target communication to view the network communication records of each system to analyze the communication fault problem. , Reduce the amount of manual operation and improve the efficiency of communication failure analysis.
本申请附加的方面和优点将在下面的描述中部分给出,这些将从下面的描述中变得明显,或通过本申请的实践了解到。The additional aspects and advantages of this application will be partly given in the following description, which will become obvious from the following description, or be understood through the practice of this application.
附图说明Description of the drawings
本申请上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present application will become obvious and easy to understand from the following description of the embodiments in conjunction with the accompanying drawings, in which:
图1为本申请提供的一种区块链通讯平台的一实施例中的结构示意图;FIG. 1 is a schematic structural diagram of an embodiment of a blockchain communication platform provided by this application;
图2为本申请提供的一种基于***调用链路的通讯故障分析方法的一实施例中的方法流程图;2 is a method flowchart in an embodiment of a communication failure analysis method based on a system call link provided by this application;
图3为本申请提供的步骤S200的一实施例中的方法流程图;FIG. 3 is a flowchart of a method in an embodiment of step S200 provided in this application;
图4为本申请提供的一种基于***调用链路的通讯故障分析方法的另一实施例中的方法流程图;4 is a method flowchart in another embodiment of a communication fault analysis method based on a system call link provided by this application;
图5为本申请提供的一种基于***调用链路的通讯故障分析方法的又一实施例中的部分方法流程图;5 is a flowchart of a part of the method in another embodiment of a communication failure analysis method based on a system call link provided by this application;
图6为本申请提供的一种基于***调用链路的通讯故障分析装置的一实施例中的结构框图。FIG. 6 is a structural block diagram in an embodiment of a communication failure analysis device based on a system call link provided by this application.
具体实施方式Detailed ways
下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本申请,而不能解释为对本申请的限制。The embodiments of the present application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals indicate the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the drawings are exemplary, and are only used to explain the present application, and cannot be construed as a limitation to the present application.
本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式,这里使用的“第一”、“第二”仅用于区别同一技术特征,并不对该技术特征的顺序和数量等加以限定。应该进一步理解的是,本申请的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。Those skilled in the art can understand that, unless specifically stated otherwise, the singular forms "a", "an", "the" and "the" used herein may also include plural forms. The "first" and "second" used herein "It is only used to distinguish the same technical feature, and does not limit the order and quantity of the technical feature. It should be further understood that the term "comprising" used in the specification of this application refers to the presence of the described features, integers, steps, operations, elements, and/or components, but does not exclude the presence or addition of one or more other features, Integers, steps, operations, elements, components, and/or groups thereof.
本技术领域技术人员可以理解,除非另外定义,这里使用的所有术语 (包括技术术语和科学术语),具有与本申请所属领域中的普通技术人员的一般理解相同的意义。还应该理解的是,诸如通用字典中定义的那些术语,应该被理解为具有与现有技术的上下文中的意义一致的意义,并且除非像这里一样被特定定义,否则不会用理想化或过于正式的含义来解释。Those skilled in the art can understand that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meanings as those commonly understood by those skilled in the art to which this application belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have a meaning consistent with the meaning in the context of the prior art, and unless specifically defined as here, they will not be idealized or overly Explain the formal meaning.
本申请提供一种基于***调用链路的通讯故障分析方法。该基于***调用链路的通讯故障分析方法应用于本申请所述的区块链通讯平台中,以生成***调用链,从而通过分析***调用链得出每个通讯***的网络通讯记录,最终确定出***目标通讯的故障问题,无需人工一一登录每个***以查看每个***的网络通信记录,减少了人工操作量,提高了通讯故障分析的效率。以下先对本申请所述的区块链通讯平台进行解释说明:This application provides a communication failure analysis method based on a system call link. The communication failure analysis method based on the system call link is applied to the blockchain communication platform described in this application to generate a system call chain, so as to obtain the network communication record of each communication system by analyzing the system call chain, and finally determine When the system target communication failure problem occurs, there is no need to manually log in to each system to view the network communication records of each system, which reduces the amount of manual operation and improves the efficiency of communication failure analysis. The following first explains the blockchain communication platform mentioned in this application:
如图1所示,该区块链通讯平台包括多个相互通讯的通讯***100,每个通讯***100均作为区块链通讯平台的区块链节点,通过区块链200进行***间的数据通讯。该区块链通讯平台为使用区块链技术打造的互相通讯的***平台,每个区块链节点通过区块链技术中的挖矿和交易参与到平台中,成为平台中的区块链节点。区块链节点为区块链网络中的计算机,例如手机、矿机、台式机和服务器等等。也即是,本申请所述的通讯***100可以服务器、台式机等组成的通讯***。As shown in Figure 1, the blockchain communication platform includes a plurality of communication systems 100 that communicate with each other. Each communication system 100 serves as a blockchain node of the blockchain communication platform, and the data between systems is performed through the blockchain 200 communication. The blockchain communication platform is a system platform that uses blockchain technology to communicate with each other. Each blockchain node participates in the platform through mining and transactions in blockchain technology, and becomes a blockchain node in the platform . Blockchain nodes are computers in the blockchain network, such as mobile phones, mining machines, desktops, and servers. That is, the communication system 100 described in this application may be a communication system composed of servers, desktop computers, and the like.
区块链通讯平台还包括区块链节点共用的通讯组件。多个通讯***100通过通讯组件进行数据通讯,并通过通讯组件将数据通讯过程的网络通讯记录打包为区块,将该区块共享到区块链通讯平台的区块链200中。因此,平台中每个通讯***100作为区块链节点,均可从区块链200中获得区块的网络通讯记录。The blockchain communication platform also includes communication components shared by blockchain nodes. Multiple communication systems 100 perform data communication through communication components, and package network communication records of the data communication process into blocks through the communication components, and share the blocks in the blockchain 200 of the blockchain communication platform. Therefore, each communication system 100 in the platform, as a blockchain node, can obtain the network communication record of the block from the blockchain 200.
进一步地,通讯组件还用于监控区块链通讯平台中每个区块链节点(通讯***100)之间是否进行数据通讯。在进行数据通讯时,获取数据流经的各个区块链节点的节点信息以及数据通讯的通讯信息,根据节点信息以及通讯信息,生成网络链路日志,保存网络链路日志。Further, the communication component is also used to monitor whether there is data communication between each blockchain node (communication system 100) in the blockchain communication platform. During data communication, the node information of each blockchain node through which the data flows and the communication information of the data communication are obtained, and the network link log is generated according to the node information and communication information, and the network link log is saved.
因此,本申请打造以区块链技术为底层的区块链通讯平台,通讯的各个通讯***100以区块链节点的形式参与到平台中。各区块链节点对区块链200的区块信息具有平等权限及拥有平台的全部通讯记录副本。各个区块链节点通讯时,通过平台提供的通讯组件进行数据传输。通讯组件将通讯调用过程中的数据流经的网络链路的日志进行保存,后续打包成区块放入区块链200中,从而实现网络通讯在平台的留痕,可供后续排查问题及优化。Therefore, this application builds a blockchain communication platform with blockchain technology as the bottom layer, and each communication system 100 of the communication participates in the platform in the form of a blockchain node. Each blockchain node has equal authority over the block information of the blockchain 200 and has a copy of all communication records of the platform. When each blockchain node communicates, data is transmitted through the communication components provided by the platform. The communication component saves the log of the network link through which the data in the communication call process passes, and then packs it into blocks and puts it in the blockchain 200, so as to realize the trace of network communication on the platform, which can be used for subsequent troubleshooting and optimization .
基于上述区块链通讯平台,本申请还提供一种基于***调用链路的通讯故障分析方法。在一实施例中,如图2所示,该基于***调用链路的通讯故障分析方法,包括以下步骤:Based on the aforementioned blockchain communication platform, this application also provides a communication failure analysis method based on the system call link. In one embodiment, as shown in FIG. 2, the communication failure analysis method based on the system call link includes the following steps:
S100,将多个通讯的通讯***作为区块链节点,生成区块链通讯平台。S100, using multiple communication systems as blockchain nodes to generate a blockchain communication platform.
在本实施例中,将参与网络通讯的各个通讯***作为区块链通讯平台的区块链节点。区块链通讯平台中,每个通讯***既可以通过区块链技术 进行数据通讯,也可以通过非区块链技术进行数据通讯。具体地,通讯***作为区块链节点将通讯的数据打包成区块,放入区块链中,以通过区块链技术与区块链通讯平台的其他通讯***进行通讯。此时,通讯***作为区块链节点,使用区块链技术在平台中与其他通讯***进行数据通讯。通讯***还可以通过传统的通讯协议,如HTTP协议、TCP协议等,与平台中其他通讯***进行非区块链技术的数据通讯。区块链技术的数据通讯或者非区块链技术的数据通讯,取决于通讯***100选择采用的通信方式。In this embodiment, each communication system participating in network communication is used as the blockchain node of the blockchain communication platform. In the blockchain communication platform, each communication system can communicate data through blockchain technology or non-blockchain technology. Specifically, the communication system acts as a blockchain node to package the communication data into blocks and put them into the blockchain to communicate with other communication systems of the blockchain communication platform through the blockchain technology. At this time, the communication system acts as a blockchain node and uses blockchain technology to communicate with other communication systems in the platform. The communication system can also use traditional communication protocols, such as HTTP protocol, TCP protocol, etc., to communicate with other communication systems in the platform using non-blockchain technology. Blockchain technology data communication or non-blockchain technology data communication depends on the communication method selected by the communication system 100.
S200,所述区块链通讯平台中每个区块链节点将本节点的网络通讯记录共享到所述区块链通讯平台的区块链中。S200: Each blockchain node in the blockchain communication platform shares the network communication record of the node in the blockchain of the blockchain communication platform.
在本实施例中,每个区块链节点采用区块链技术进行数据通讯时,将本节点的网络通讯记录打包成区块,共享到区块链200中。区块链通讯平台的任一区块链节点均可从区块链200中获得其他区块链节点的网络通讯记录。也即是,每个通讯***均可通过区块链200可获得其他通讯***的网络通讯记录。其中,网络通讯记录中包含有该区块链节点(通讯***)的网络通讯日志。网络通讯日志包括向外发送的发送信息和接收到外部发送的接收信息,以及发送与接收过程中的信息。In this embodiment, when each blockchain node uses blockchain technology for data communication, the network communication records of the node are packaged into blocks and shared in the blockchain 200. Any blockchain node of the blockchain communication platform can obtain network communication records of other blockchain nodes from the blockchain 200. That is, each communication system can obtain network communication records of other communication systems through the blockchain 200. Wherein, the network communication record contains the network communication log of the blockchain node (communication system). The network communication log includes the sending information sent to the outside and the receiving information received from the outside, as well as the information in the sending and receiving process.
在一实施例中,如图3所示,步骤S200,包括:In an embodiment, as shown in FIG. 3, step S200 includes:
S210,所述区块链通讯平台中每个区块链节点通过所述区块链通讯平台提供的通讯组件进行数据通讯。S210, each blockchain node in the blockchain communication platform performs data communication through a communication component provided by the blockchain communication platform.
S220,所述通讯组件将所述区块链通讯平台中每个区块链节点在数据通讯过程中数据流经的网络链路的日志进行保存,并将保存后的日志打包后共享到所述区块链通讯平台的区块链中。S220. The communication component saves the log of the network link through which data flows during the data communication of each blockchain node in the blockchain communication platform, and packs the saved log and shares it to the In the blockchain of the blockchain communication platform.
在该实施例中,每个通讯***100通过平台提供的通讯组件进行数据传输。通讯组件将调用过程中的数据流经的网络链路的日志保存,后续打包成区块放入区块链200中。In this embodiment, each communication system 100 performs data transmission through the communication components provided by the platform. The communication component saves the log of the network link through which the data flows in the calling process, and then packs it into blocks and puts it in the blockchain 200.
具体地,步骤S220,包括:所述通讯组件监控所述区块链通讯平台中每个区块链节点之间是否进行数据通讯;在进行数据通讯时,获取数据流经的各个区块链节点的节点信息以及数据通讯的通讯信息;根据所述节点信息以及所述通讯信息,生成网络链路日志,保存所述网络链路日志。Specifically, step S220 includes: the communication component monitors whether data communication is performed between each block chain node in the block chain communication platform; during data communication, each block chain node through which the data flows is obtained The node information and the communication information of the data communication; generate a network link log according to the node information and the communication information, and save the network link log.
S300,通过所述区块链获取***目标通讯对应的每个区块链节点的网络通讯记录。S300: Obtain network communication records of each blockchain node corresponding to the target communication of the system through the blockchain.
区块链通讯平台中,一个通讯***发起的通讯请求,可能会涉及到平台中一个或几十个通讯***的协同操作。在本实施例中,任一通讯***在本***中筛选出***目标通讯,并扫描出参与该***目标通讯的通讯连接的各个通讯***。该任一通讯***作为区块链通讯平台中的区块链节点,可通过平台的区块链获取其他参与***目标通讯的通讯连接的各个通讯***的网络通讯记录。其中,任一通讯***在本***中筛选出***目标通讯的方式可以是:***接收到用户(如***运维人员)选取***通讯的操作时,根据用户操作从本***中筛选出所述***目标通讯。另外,扫描出 参与该***目标通讯的通讯连接的各个通讯***的方式可以是:***确定出所述***目标通讯之后,从本***的历史通讯记录信息中扫描出参与所述***目标通讯的通讯连接的各个通讯***。In the blockchain communication platform, a communication request initiated by a communication system may involve the collaborative operation of one or dozens of communication systems in the platform. In this embodiment, any communication system filters out the system target communication in the system, and scans out each communication system participating in the communication connection of the system target communication. As a block chain node in a block chain communication platform, any communication system can obtain network communication records of other communication systems participating in the communication connection of the system target communication through the block chain of the platform. Among them, the way for any communication system to filter out the system target communication in the system can be: when the system receives the operation of the user (such as system operation and maintenance personnel) to select the system communication, the system is selected from the system according to the user operation Target communication. In addition, the method of scanning each communication system participating in the communication connection of the system target communication may be: after the system determines the system target communication, it scans the communication participating in the system target communication from the historical communication record information of the system. Each communication system connected.
S400,从所述***目标通讯对应的每个区块链节点的网络通讯记录中调取出***通讯信息,根据每个所述***通讯信息生成所述***目标通讯的目标调用链路。S400: Retrieve system communication information from the network communication record of each blockchain node corresponding to the system target communication, and generate a target invocation link of the system target communication according to each of the system communication information.
在本实施例中,区块链200中包含平台所有区块链节点的网络通讯记录,将不同区块链节点的网络通讯记录链接起来,即可得到一条完整的***网络通信的调用链路。因此,运维人员在平台中任何一个通讯***中,确定出***目标通讯时,可获取***目标通讯在通讯过程中,参与通讯连接的各个通讯***的网络通讯记录,从每个通讯***中调取出***通讯信息,即可得到该***目标通讯的目标调用链路。In this embodiment, the blockchain 200 contains the network communication records of all blockchain nodes of the platform, and the network communication records of different blockchain nodes are linked to obtain a complete system network communication call link. Therefore, when the operation and maintenance personnel determine the target communication of the system in any communication system in the platform, they can obtain the network communication records of each communication system participating in the communication connection during the communication process, and adjust from each communication system. Take out the system communication information to get the target call link of the system target communication.
在一具体实施方式中,网络通讯记录中包含有对应区块链节点(通讯***)的***通讯信息。***通讯信息中的网络通讯日志包括该区块链节点向外发送的发送信息和接收到外部发送的接收信息,以及网络通讯时发送与接收过程中的信息。进一步地,根据每个所述***通讯信息中的向外发送的发送信息和接收到外部发送的接收信息,以及网络通讯时发送与接收过程中的信息生成所述目标调用链路。In a specific embodiment, the network communication record contains system communication information corresponding to the blockchain node (communication system). The network communication log in the system communication information includes the sending information sent by the blockchain node and the receiving information received from the outside, as well as the information in the sending and receiving process of network communication. Further, the target invocation link is generated according to the sending information sent to the outside and the receiving information received from the outside in each of the system communication information, as well as the information in the sending and receiving process of network communication.
S500,分析所述目标调用链路,根据分析结果确定所述***目标通讯的故障信息。S500: Analyze the target call link, and determine the failure information of the system target communication according to the analysis result.
在本实施例中,平台中任一通讯***得到***目标通讯的目标调用链路之后,对目标调用链路进行分析。目标调用链路中包含有参与***目标通讯的通讯连接的各个通讯***的网络通讯记录以及各个通讯***之间的通讯数据信息,分析每个通讯***的网络通讯记录以及各个通讯***之间的通讯数据信息,得到分析结果,最终根据分析结果确定出***目标通讯的故障信息。In this embodiment, after any communication system in the platform obtains the target call link of the system target communication, the target call link is analyzed. The target call link contains the network communication records of each communication system participating in the communication connection of the system target communication and the communication data information between each communication system, and analyzes the network communication record of each communication system and the communication between each communication system Data information, get the analysis result, and finally determine the failure information of the system target communication based on the analysis result.
以下结合上述步骤S100至步骤S500,给出一具体实施场景:A specific implementation scenario is given below in combination with the above steps S100 to S500:
多个通讯的通讯***包括通讯***A、通讯***B、通讯***C、通讯***D和通讯***E。将通讯***A、通讯***B、通讯***C、通讯***D和通讯***E分别作为区块链节点,通过区块链技术得到包含通讯***A、通讯***B、通讯***C、通讯***D和通讯***E的区块链通讯平台。通讯***A、通讯***B、通讯***C、通讯***D和通讯***E分别将本***的网络通讯记录共享到区块链通讯平台的区块链中。当平台中任一通讯***需确认某一***通讯是否发生故障,发生故障的原因以及发生故障的节点时,先确定出检测对象,即***目标通讯,通过扫描的方式确定参与该***目标通讯的通讯连接的各个通讯***。假设平台中任一通讯***为通讯***A,参与该***目标通讯的通讯连接的各个通讯***包括通讯***A、通讯***B和通讯***D。此时,通讯***A作为平台的区块链节点,能够通过平台的区块链获取通讯***B和通讯*** D的网络通讯记录,从而根据通讯***B和通讯***D的网络通讯记录,以及本***的网络通讯记录,生成***目标通讯的目标调用链路。最后通过分析所述目标调用链路,根据分析结果确定***目标通讯的故障信息。如,可确定发生故障的节点时通讯***D,发生故障的原因为通讯***D在参与***目标通讯时无法进行数据的发送和接收。因此,无需人工分别在通讯***B和通讯***D中进行通讯故障分析,减少了人工操作量,提高了通讯故障分析的工作效率。Multiple communication communication systems include communication system A, communication system B, communication system C, communication system D, and communication system E. The communication system A, the communication system B, the communication system C, the communication system D and the communication system E are respectively regarded as the blockchain nodes, and the communication system A, the communication system B, the communication system C, the communication system D and the communication system The blockchain communication platform of communication system E. Communication system A, communication system B, communication system C, communication system D, and communication system E respectively share the network communication records of the system to the blockchain of the blockchain communication platform. When any communication system in the platform needs to confirm whether a system communication fails, the cause of the failure and the node where the failure occurs, first determine the detection object, that is, the system target communication, and determine the part of the system target communication by scanning Each communication system connected by communication. Assuming that any communication system in the platform is communication system A, the communication systems participating in the communication connection of the target communication of the system include communication system A, communication system B, and communication system D. At this time, as the blockchain node of the platform, the communication system A can obtain the network communication records of the communication system B and the communication system D through the platform's blockchain, and then according to the network communication records of the communication system B and the communication system D, and this The network communication record of the system generates the target call link of the system target communication. Finally, by analyzing the target call link, the failure information of the system target communication is determined according to the analysis result. For example, the communication system D can be determined when the faulty node occurs. The cause of the fault is that the communication system D cannot send and receive data when participating in the system target communication. Therefore, there is no need to manually perform communication failure analysis in the communication system B and the communication system D, which reduces the amount of manual operation and improves the work efficiency of communication failure analysis.
上述实施例提供的基于***调用链路的通讯故障分析方法,将多个通讯的通讯***作为区块链节点,构成区块链通讯平台。每个通讯***将本***的网络通讯记录共享到平台的区块链中,因此平台中每个通讯***均可获得其他通讯***的网络通讯记录。当***的网络通讯出现故障问题时,在单个通讯***中,可以通过平台中的区块链可获得出现故障问题的***目标通讯中,每个通讯***的网络通讯记录,从而在每个通讯***的网络通讯记录中调取各个***的***通讯信息,生成目标调用链路。进一步地,通过分析目标调用链路,即可确定出***目标通讯中的故障问题,无需人工一一登录每个参与***目标通讯的***,以查看每个***的网络通信记录来分析通讯故障问题,减少了人工操作量,提高了通讯故障分析的效率。The communication failure analysis method based on the system call link provided in the above embodiment uses multiple communication communication systems as blockchain nodes to form a blockchain communication platform. Each communication system shares the network communication records of the system to the blockchain of the platform, so each communication system in the platform can obtain the network communication records of other communication systems. When the system's network communication has a failure problem, in a single communication system, the system target communication with the failure problem can be obtained through the blockchain in the platform. The network communication record of each communication system can be used in each communication system. The system communication information of each system is retrieved from the network communication record of the network, and the target call link is generated. Furthermore, by analyzing the target call link, the fault problem in the system target communication can be determined. There is no need to manually log in to each system participating in the system target communication to view the network communication records of each system to analyze the communication fault problem. , Reduce the amount of manual operation and improve the efficiency of communication failure analysis.
在一实施例中,如图4所示,步骤S400之后,还包括:In an embodiment, as shown in FIG. 4, after step S400, the method further includes:
S600,将所述目标调用链路打包后放进所述区块链通讯平台的区块链中。S600: Pack the target call link and put it into the blockchain of the blockchain communication platform.
在该实施例中,区块链通讯平台中任一通讯***100根据目标调用链路对应的每个区块链节点的网络通讯记录,生成目标调用链路之后,将该目标调用链路打包成区块,放入区块链200中。平台中任一通讯***100作为区块链节点,均可直接从区块链200中获得该目标调用链路,从而可直接根据目标调用链路查询到对应的网络通讯的调用链路是否出现问题,无需根据对应的区块链节点的网络通讯记录再次重新生成目标调用链路,减少了查询的工作量。In this embodiment, any communication system 100 in the blockchain communication platform generates a target call link according to the network communication record of each blockchain node corresponding to the target call link, and then packs the target call link into Blocks are put into the blockchain 200. As a blockchain node, any communication system 100 in the platform can directly obtain the target call link from the blockchain 200, so that it can directly query whether the corresponding network communication call link has problems according to the target call link , There is no need to regenerate the target call link again according to the network communication record of the corresponding blockchain node, which reduces the workload of the query.
进一步地,如图5所示,步骤S600之后,还包括:Further, as shown in FIG. 5, after step S600, it further includes:
S700,控制所述区块链通讯平台中每个区块链节点对所述区块链中所有的网络通讯记录以及所述目标调用链路有平等的操作权限。S700: Control each block chain node in the block chain communication platform to have equal operation authority for all network communication records in the block chain and the target call link.
每个通讯***100(区块链节点)将本***的网络通讯记录分享到平台区块链之后,控制每个区块链节点对区块链中所有通讯***分享的网络通讯记录以及目标调用链路有平等的操作权限。其中包括向区块链200中的添加网络通讯记录的权限、获取区块链200中已有的网络通讯记录的权限,以及获取区块链200中的目标调用链路等操作权限。每个区块链节点对区块链200中所有的网络通讯记录有平等的操作权限,可确保每个通讯***100均对平台中其他通讯***100相互通讯产生的网络通讯记录具备访问权限,每个通讯***100均可得到平台中通讯产生的目标调用链路,从而使得整个区块链通讯平台的信息的公开透明性。After each communication system 100 (blockchain node) shares the network communication record of the system to the platform blockchain, it controls the network communication record and target call chain shared by each blockchain node to all communication systems in the blockchain Road has equal operation authority. These include the authority to add network communication records to the blockchain 200, the authority to obtain the existing network communication records in the blockchain 200, and the operation authority to obtain the target call link in the blockchain 200. Each blockchain node has equal operation authority to all network communication records in the blockchain 200, which can ensure that each communication system 100 has access authority to the network communication records generated by other communication systems 100 in the platform. Each communication system 100 can obtain the target call link generated by the communication in the platform, thereby making the information of the entire blockchain communication platform open and transparent.
在一实施方式中,步骤S700之后,还包括:In an embodiment, after step S700, the method further includes:
S810,所述区块链通讯平台中任一区块链节点分析所述目标调用链路中,每个通讯的区块链节点的通讯状况,根据所述通讯状况判断各个通讯的区块链节点的通讯是否有误。S810, any blockchain node in the blockchain communication platform analyzes the communication status of each communicating blockchain node in the target call link, and judges each communicating blockchain node according to the communication status Is there any error in the communication of.
S820,若任一通讯的区块链节点的通讯存在错误,将错误信息打包后放入所述区块链中,并根据所述错误信息向所述目标调用链路对应的每个区块链节点进行错误提醒。S820: If there is an error in the communication of any communicating blockchain node, pack the error information into the blockchain, and call each blockchain corresponding to the target link according to the error information The node reminds the error.
在该实施方式中,任一区块链节点均可得到目标调用链路,并且还可从区块链200中得到该目标调用链路对应的各个区块链节点上传的网络通讯记录。任一区块链节点均可分析得到目标调用链路中,每个通讯的区块链节点的通讯状况,根据通讯状况判断各个通讯的区块链节点的通讯是否有误。若是,则将错误信息打包放入区块链200中,并在平台上进行广播,以告知目标调用链路对应的每个区块链节点。因此,目标调用链路对应的区块链节点可直接得到错误信息,无需对目标调用链路进行通讯分析,避免重复的工作。In this embodiment, any blockchain node can obtain the target invocation link, and the network communication records uploaded by each blockchain node corresponding to the target invocation link can also be obtained from the blockchain 200. Any blockchain node can analyze the communication status of each communicating blockchain node in the target call link, and judge whether the communication of each communicating blockchain node is wrong according to the communication status. If it is, the error information is packaged into the blockchain 200 and broadcast on the platform to inform each blockchain node corresponding to the target call link. Therefore, the block chain node corresponding to the target invocation link can directly obtain the error information, and there is no need to perform communication analysis on the target invocation link, avoiding repeated work.
进一步地,步骤S820之后,还包括:Further, after step S820, it further includes:
S900,所述目标调用链路对应的任一区块链节点根据所述错误信息对存在通讯错误的区块链节点进行通讯状况更正,根据更正后的信息对所述目标调用链路进行修改,将修改后的目标调用链路进行打包后放入所述区块链中。S900, any blockchain node corresponding to the target call link corrects the communication status of the blockchain node with a communication error according to the error information, and modifies the target call link according to the corrected information, The modified target call link is packaged and put into the blockchain.
区块链通讯平台中任一区块链节点,包括目标调用链路对应的区块链节点和其他非目标调用链路对应的区块链节点,均可根据所述错误信息对存在通讯错误的区块链节点进行通讯状况更正,并根据更正后的信息对目标调用链路进行修改,将修改后的目标调用链路进行打包后放入所述区块链中。因此,可打破对通讯状况存在错误的通讯***的更正的操作的局限性,运维人员不必在固定的通讯***上进行操作即可完成对通讯错误的修改,提高了操作的灵活性。Any block chain node in the block chain communication platform, including the block chain node corresponding to the target call link and the block chain node corresponding to other non-target call links, can be based on the error message for communication errors. The blockchain node corrects the communication status, and modifies the target invocation link according to the corrected information, and packs the modified target invocation link into the blockchain. Therefore, the limitation of the correction operation of the communication system with an error in the communication status can be broken, and the operation and maintenance personnel can complete the modification of the communication error without operating on the fixed communication system, which improves the flexibility of operation.
本申请还提供一种基于***调用链路的通讯故障分析装置。在一实施例中,如图6所示,该***调用链路的生成装置包括第一生成模块10、共享模块20、获取模块30、第二生成模块40和分析模块50。The application also provides a communication failure analysis device based on the system call link. In an embodiment, as shown in FIG. 6, the device for generating the system call link includes a first generating module 10, a sharing module 20, an acquiring module 30, a second generating module 40 and an analyzing module 50.
第一生成模块10用于将多个通讯的通讯***作为区块链节点,生成区块链通讯平台。在本实施例中,将参与网络通讯的各个通讯***作为区块链通讯平台的区块链节点。区块链通讯平台中,每个通讯***既可以通过区块链技术进行数据通讯,也可以通过非区块链技术进行数据通讯。具体地,通讯***作为区块链节点将通讯的数据打包成区块,放入区块链中,以通过区块链技术与区块链通讯平台的其他通讯***进行通讯。此时,通讯***作为区块链节点,使用区块链技术在平台中与其他通讯***进行数据通讯。通讯***还可以通过传统的通讯协议,如HTTP协议、TCP协议等,与平台中其他通讯***进行非区块链技术的数据通讯。区块链技术的 数据通讯或者非区块链技术的数据通讯,取决于通讯***100选择采用的通信方式。The first generation module 10 is used to use multiple communication systems as blockchain nodes to generate a blockchain communication platform. In this embodiment, each communication system participating in network communication is used as the blockchain node of the blockchain communication platform. In the blockchain communication platform, each communication system can communicate data through blockchain technology or non-blockchain technology. Specifically, the communication system acts as a blockchain node to package the communication data into blocks and put them into the blockchain to communicate with other communication systems of the blockchain communication platform through the blockchain technology. At this time, the communication system acts as a blockchain node and uses blockchain technology to communicate with other communication systems in the platform. The communication system can also use traditional communication protocols, such as HTTP protocol, TCP protocol, etc., to communicate with other communication systems in the platform using non-blockchain technology. Blockchain technology data communication or non-blockchain technology data communication depends on the communication method selected by the communication system 100.
共享模块20用于所述区块链通讯平台中每个区块链节点将本节点的网络通讯记录共享到所述区块链通讯平台的区块链中。在本实施例中,每个区块链节点采用区块链技术进行数据通讯时,将本节点的网络通讯记录打包成区块,共享到区块链200中。区块链通讯平台的任一区块链节点均可从区块链200中获得其他区块链节点的网络通讯记录。也即是,每个通讯***均可通过区块链200可获得其他通讯***的网络通讯记录。其中,网络通讯记录中包含有该区块链节点(通讯***)的网络通讯日志。网络通讯日志包括向外发送的发送信息和接收到外部发送的接收信息,以及发送与接收过程中的信息。The sharing module 20 is used for each block chain node in the block chain communication platform to share the network communication record of the node to the block chain of the block chain communication platform. In this embodiment, when each blockchain node uses blockchain technology for data communication, the network communication records of the node are packaged into blocks and shared in the blockchain 200. Any blockchain node of the blockchain communication platform can obtain network communication records of other blockchain nodes from the blockchain 200. That is, each communication system can obtain network communication records of other communication systems through the blockchain 200. Wherein, the network communication record contains the network communication log of the blockchain node (communication system). The network communication log includes the sending information sent to the outside and the receiving information received from the outside, as well as the information in the sending and receiving process.
获取模块30用于通过所述区块链获取***目标通讯对应的每个区块链节点的网络通讯记录。区块链通讯平台中,一个通讯***发起的通讯请求,可能会涉及到平台中一个或几十个通讯***的协同操作。在本实施例中,任一通讯***在本***中筛选出***目标通讯,并扫描出参与该***目标通讯的通讯连接的各个通讯***。该任一通讯***作为区块链通讯平台中的区块链节点,可通过平台的区块链获取其他参与***目标通讯的通讯连接的各个通讯***的网络通讯记录。其中,任一通讯***在本***中筛选出***目标通讯的方式可以是:***接收到用户(如***运维人员)选取***通讯操作时,根据用户操作从本***中筛选出所述***目标通讯。另外,扫描出参与该***目标通讯的通讯连接的各个通讯***的方式可以是:***确定出所述***目标通讯之后,从本***的历史通讯记录信息中扫描出参与所述***目标通讯的通讯连接的各个通讯***。The obtaining module 30 is configured to obtain the network communication record of each block chain node corresponding to the system target communication through the block chain. In the blockchain communication platform, a communication request initiated by a communication system may involve the collaborative operation of one or dozens of communication systems in the platform. In this embodiment, any communication system filters out the system target communication in the system, and scans out each communication system participating in the communication connection of the system target communication. As a block chain node in a block chain communication platform, any communication system can obtain network communication records of other communication systems participating in the communication connection of the system target communication through the block chain of the platform. Among them, the method for any communication system to filter out the system target communication in the system can be: when the system receives the user (such as system operation and maintenance personnel) to select the system communication operation, filter out the system target from the system according to the user operation communication. In addition, the method of scanning each communication system participating in the communication connection of the system target communication may be: after the system determines the system target communication, it scans the communication participating in the system target communication from the historical communication record information of the system. Each communication system connected.
第二生成模块40用于从所述***目标通讯对应的每个区块链节点的网络通讯记录中调取出***通讯信息,根据每个所述***通讯信息生成所述***目标通讯的目标调用链路。在本实施例中,区块链200中包含平台所有区块链节点的网络通讯记录,将不同区块链节点的网络通讯记录链接起来,即可得到一条完整的***网络通信的调用链路。因此,运维人员在平台中任何一个通讯***中,确定出***目标通讯时,可获取***目标通讯在通讯过程中,参与通讯连接的各个通讯***的网络通讯记录,从每个通讯***中调取出***通讯信息,即可得到该***目标通讯的目标调用链路。The second generation module 40 is configured to retrieve system communication information from the network communication record of each blockchain node corresponding to the system target communication, and generate the target call of the system target communication according to each of the system communication information link. In this embodiment, the blockchain 200 contains the network communication records of all blockchain nodes of the platform, and the network communication records of different blockchain nodes are linked to obtain a complete system network communication call link. Therefore, when the operation and maintenance personnel determine the target communication of the system in any communication system in the platform, they can obtain the network communication records of each communication system participating in the communication connection during the communication process, and adjust from each communication system. Take out the system communication information to get the target call link of the system target communication.
分析模块50用于分析所述目标调用链路,根据分析结果确定所述***目标通讯的故障信息。在本实施例中,平台中任一通讯***得到***目标通讯的目标调用链路之后,对目标调用链路进行分析。目标调用链路中包含有参与***目标通讯的通讯连接的各个通讯***的网络通讯记录以及各个通讯***之间的通讯数据信息,分析每个通讯***的网络通讯记录以及各个通讯***之间的通讯数据信息,得到分析结果,最终根据分析结果确定出***目标通讯的故障信息。The analysis module 50 is configured to analyze the target call link, and determine the failure information of the system target communication according to the analysis result. In this embodiment, after any communication system in the platform obtains the target call link of the system target communication, the target call link is analyzed. The target call link contains the network communication records of each communication system participating in the communication connection of the system target communication and the communication data information between each communication system, and analyzes the network communication record of each communication system and the communication between each communication system Data information, get the analysis result, and finally determine the failure information of the system target communication based on the analysis result.
本申请还提供一种计算机设备,包括:一个或多个处理器存储器;一个或多个计算机程序,其中所述一个或多个计算机程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个计算机程序配置用于执行一种基于***调用链路的通讯故障分析方法:This application also provides a computer device, including: one or more processor memories; one or more computer programs, wherein the one or more computer programs are stored in the memory and configured to be used by the one Or executed by multiple processors, and the one or more computer programs are configured to execute a communication failure analysis method based on a system call link:
其中,所述基于***调用链路的通讯故障分析方法包括:Wherein, the communication failure analysis method based on the system call link includes:
将多个通讯的通讯***作为区块链节点,生成区块链通讯平台;Use multiple communication systems as blockchain nodes to generate a blockchain communication platform;
所述区块链通讯平台中每个区块链节点将本节点的网络通讯记录共享到所述区块链通讯平台的区块链中;Each block chain node in the block chain communication platform shares the network communication record of the node in the block chain of the block chain communication platform;
通过所述区块链获取***目标通讯对应的每个区块链节点的网络通讯记录;Obtain the network communication record of each blockchain node corresponding to the target communication of the system through the blockchain;
从所述***目标通讯对应的每个区块链节点的网络通讯记录中调取出***通讯信息,根据每个所述***通讯信息生成所述***目标通讯的目标调用链路;Retrieve system communication information from the network communication record of each blockchain node corresponding to the system target communication, and generate the target call link of the system target communication according to each of the system communication information;
分析所述目标调用链路,根据分析结果确定所述***目标通讯的故障信息。Analyze the target call link, and determine the failure information of the system target communication according to the analysis result.
本申请还提供一种计算机可读存储介质,所述存储介质为易失性存储介质或非易失性存储介质,所述计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现基于***调用链路的通讯故障分析方法,其中,所述基于***调用链路的通讯故障分析方法包括以下步骤:The present application also provides a computer-readable storage medium, the storage medium is a volatile storage medium or a non-volatile storage medium, the computer-readable storage medium stores a computer program, and the computer program is executed by a processor A communication failure analysis method based on a system call link is realized at a time, wherein the communication failure analysis method based on a system call link includes the following steps:
将多个通讯的通讯***作为区块链节点,生成区块链通讯平台;Use multiple communication systems as blockchain nodes to generate a blockchain communication platform;
所述区块链通讯平台中每个区块链节点将本节点的网络通讯记录共享到所述区块链通讯平台的区块链中;Each block chain node in the block chain communication platform shares the network communication record of the node in the block chain of the block chain communication platform;
通过所述区块链获取***目标通讯对应的每个区块链节点的网络通讯记录;Obtain the network communication record of each blockchain node corresponding to the target communication of the system through the blockchain;
从所述***目标通讯对应的每个区块链节点的网络通讯记录中调取出***通讯信息,根据每个所述***通讯信息生成所述***目标通讯的目标调用链路;Retrieve system communication information from the network communication record of each blockchain node corresponding to the system target communication, and generate the target call link of the system target communication according to each of the system communication information;
分析所述目标调用链路,根据分析结果确定所述***目标通讯的故障信息。Analyze the target call link, and determine the failure information of the system target communication according to the analysis result.
在其他实施例中,本申请提供的基于***调用链路的通讯故障分析装置中的各个模块还用于执行本申请所述的基于***调用链路的通讯故障分析方法中,对应各个步骤执行的操作,在此不再做详细的说明。In other embodiments, the modules in the communication failure analysis device based on the system call link provided in this application are also used to execute the corresponding steps in the communication failure analysis method based on the system call link described in this application. Operation, no detailed explanation here.
以上所述仅是本申请的部分实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。The above are only part of the implementation of this application. It should be pointed out that for those of ordinary skill in the art, without departing from the principle of this application, several improvements and modifications can be made, and these improvements and modifications are also Should be regarded as the scope of protection of this application.
应该理解的是,在本申请各实施例中的各功能单元可集成在一个处理模块中,也可以各个单元单独物理存在,也可以两个或两个以上单元集成于一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。It should be understood that the functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or software functional modules.
以上所述仅是本申请的部分实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。The above are only part of the implementation of this application. It should be pointed out that for those of ordinary skill in the art, without departing from the principle of this application, several improvements and modifications can be made, and these improvements and modifications are also Should be regarded as the scope of protection of this application.

Claims (20)

  1. 一种基于***调用链路的通讯故障分析方法,其中,包括:A communication failure analysis method based on system call link, which includes:
    将多个通讯的通讯***作为区块链节点,生成区块链通讯平台;Use multiple communication systems as blockchain nodes to generate a blockchain communication platform;
    所述区块链通讯平台中每个区块链节点将本节点的网络通讯记录共享到所述区块链通讯平台的区块链中;Each block chain node in the block chain communication platform shares the network communication record of the node in the block chain of the block chain communication platform;
    通过所述区块链获取***目标通讯对应的每个区块链节点的网络通讯记录;Obtain the network communication record of each blockchain node corresponding to the target communication of the system through the blockchain;
    从所述***目标通讯对应的每个区块链节点的网络通讯记录中调取出***通讯信息,根据每个所述***通讯信息生成所述***目标通讯的目标调用链路;Retrieve system communication information from the network communication record of each blockchain node corresponding to the system target communication, and generate the target call link of the system target communication according to each of the system communication information;
    分析所述目标调用链路,根据分析结果确定所述***目标通讯的故障信息。Analyze the target call link, and determine the failure information of the system target communication according to the analysis result.
  2. 根据权利要求1所述的方法,其中,所述区块链通讯平台中每个区块链节点将本节点的网络通讯记录共享到所述区块链通讯平台的区块链中,包括:The method according to claim 1, wherein each block chain node in the block chain communication platform shares the network communication record of the node in the block chain of the block chain communication platform, comprising:
    所述区块链通讯平台中每个区块链节点通过所述区块链通讯平台提供的通讯组件进行数据通讯;Each block chain node in the block chain communication platform performs data communication through the communication component provided by the block chain communication platform;
    所述通讯组件将所述区块链通讯平台中每个区块链节点在数据通讯过程中数据流经的网络链路的日志进行保存,并将保存后的日志打包后共享到所述区块链通讯平台的区块链中。The communication component saves the log of the network link through which data flows during the data communication process of each blockchain node in the blockchain communication platform, and packs the saved log and shares it to the block In the blockchain of the chain communication platform.
  3. 根据权利要求2所述的方法,其中,所述通讯组件将所述区块链通讯平台中每个区块链节点在数据通讯过程中数据流经的网络链路的日志进行保存,包括:The method according to claim 2, wherein the communication component saves a log of the network link through which data flows by each blockchain node in the blockchain communication platform during the data communication process, comprising:
    所述通讯组件监控所述区块链通讯平台中每个区块链节点之间是否进行数据通讯;The communication component monitors whether data communication is carried out between each blockchain node in the blockchain communication platform;
    在进行数据通讯时,获取数据流经的各个区块链节点的节点信息以及数据通讯的通讯信息;During data communication, obtain the node information of each blockchain node through which the data flows and the communication information of data communication;
    根据所述节点信息以及所述通讯信息,生成网络链路日志,保存所述网络链路日志。According to the node information and the communication information, a network link log is generated, and the network link log is saved.
  4. 根据权利要求1所述的方法,其中,所述根据每个所述***通讯信息生成所述***目标通讯的目标调用链路之后,还包括:The method according to claim 1, wherein after said generating the target invocation link of the system target communication according to each of the system communication information, the method further comprises:
    将所述目标调用链路打包后放进所述区块链通讯平台的区块链中。Pack the target call link and put it into the blockchain of the blockchain communication platform.
  5. 根据权利要求4所述的方法,其中,所述将所述目标调用链路打包后放进所述区块链通讯平台的区块链中之后,还包括:The method according to claim 4, wherein after packaging the target call link into the blockchain of the blockchain communication platform, the method further comprises:
    控制所述区块链通讯平台中每个区块链节点对所述区块链中所有的网络通讯记录以及所述目标调用链路有平等的操作权限。Control each block chain node in the block chain communication platform to have equal operation authority to all network communication records in the block chain and the target call link.
  6. 根据权利要求5所述的方法,其中,所述控制所述区块链通讯平台中每个区块链节点对所述区块链中所有的网络通讯记录以及所述目标 调用链路有平等的操作权限之后,还包括:The method according to claim 5, wherein the control of each blockchain node in the blockchain communication platform has equal access to all network communication records in the blockchain and the target call link After operating permissions, it also includes:
    所述区块链通讯平台中任一区块链节点分析所述目标调用链路中,每个通讯的区块链节点的通讯状况,根据所述通讯状况判断各个通讯的区块链节点的通讯是否有误;Any blockchain node in the blockchain communication platform analyzes the communication status of each communicating blockchain node in the target call link, and judges the communication of each communicating blockchain node according to the communication status Whether it is wrong
    若任一通讯的区块链节点的通讯存在错误,将错误信息打包后放入所述区块链中,并根据所述错误信息向所述目标调用链路对应的每个区块链节点进行错误提醒。If there is an error in the communication of any communicating blockchain node, the error information is packaged and put into the blockchain, and the error information is sent to each blockchain node corresponding to the target call link Error reminder.
  7. 根据权利要求6所述的方法,其中,所述根据所述错误信息向所述目标调用链路对应的每个区块链节点进行错误提醒之后,还包括:The method according to claim 6, wherein, after the error reminding to each blockchain node corresponding to the target invocation link according to the error information, the method further comprises:
    所述目标调用链路对应的任一区块链节点根据所述错误信息对存在通讯错误的区块链节点进行通讯状况更正,根据更正后的信息对所述目标调用链路进行修改,将修改后的目标调用链路进行打包后放入所述区块链中。Any blockchain node corresponding to the target invocation link corrects the communication status of the blockchain node with a communication error according to the error information, and modifies the target invocation link according to the corrected information. The latter target call link is packaged and put into the blockchain.
  8. 一种区块链通讯平台,所述区块链通讯平台包括多个相互通讯的通讯***,每个通讯***作为所述区块链通讯平台的区块链节点;所述区块链通讯平台还包括区块链节点共用的通讯组件;A block chain communication platform. The block chain communication platform includes a plurality of communication systems that communicate with each other. Each communication system serves as a block chain node of the block chain communication platform; the block chain communication platform also Including communication components shared by blockchain nodes;
    多个所述通讯***通过所述通讯组件进行数据通讯,并通过所述通讯组件将数据通讯过程的网络通讯记录打包为区块,将所述区块共享到所述区块链通讯平台的区块链中。A plurality of the communication systems perform data communication through the communication component, and package the network communication record of the data communication process into a block through the communication component, and share the block in the area of the blockchain communication platform Block chain.
  9. 根据权利要求8所述的区块链通讯平台,其中,所述通讯组件还用于监控所述区块链通讯平台中每个区块链节点之间是否进行数据通讯;在进行数据通讯时,获取数据流经的各个区块链节点的节点信息以及数据通讯的通讯信息;根据所述节点信息以及所述通讯信息,生成网络链路日志,保存所述网络链路日志。The blockchain communication platform according to claim 8, wherein the communication component is also used to monitor whether data communication is carried out between each blockchain node in the blockchain communication platform; during data communication, Obtain node information of each blockchain node through which data flows and communication information of data communication; generate a network link log according to the node information and the communication information, and save the network link log.
  10. 一种基于***调用链路的通讯故障分析装置,其中,包括:A communication failure analysis device based on a system call link, which includes:
    第一生成模块,用于将多个通讯的通讯***作为区块链节点,生成区块链通讯平台;The first generation module is used to use multiple communication systems as blockchain nodes to generate a blockchain communication platform;
    共享模块,用于所述区块链通讯平台中每个区块链节点将本节点的网络通讯记录共享到所述区块链通讯平台的区块链中;The sharing module is used for each block chain node in the block chain communication platform to share the network communication record of the node to the block chain of the block chain communication platform;
    获取模块,用于通过所述区块链获取***目标通讯对应的每个区块链节点的网络通讯记录;The obtaining module is used to obtain the network communication record of each block chain node corresponding to the system target communication through the block chain;
    第二生成模块,用于从所述***目标通讯对应的每个区块链节点的网络通讯记录中调取出***通讯信息,根据每个所述***通讯信息生成所述***目标通讯的目标调用链路;The second generation module is used to retrieve system communication information from the network communication record of each blockchain node corresponding to the system target communication, and generate the target call of the system target communication according to each of the system communication information link;
    分析模块,用于分析所述目标调用链路,根据分析结果确定所述***目标通讯的故障信息。The analysis module is used to analyze the target call link, and determine the failure information of the system target communication according to the analysis result.
  11. 一种计算机设备,其中,包括:A computer device, which includes:
    一个或多个处理器;One or more processors;
    存储器;Memory
    一个或多个计算机程序,其中所述一个或多个计算机程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个计算机程序配置用于执行一种基于***调用链路的通讯故障分析方法:One or more computer programs, wherein the one or more computer programs are stored in the memory and configured to be executed by the one or more processors, and the one or more computer programs are configured to execute A communication failure analysis method based on system call link:
    其中,所述基于***调用链路的通讯故障分析方法包括:Wherein, the communication failure analysis method based on the system call link includes:
    将多个通讯的通讯***作为区块链节点,生成区块链通讯平台;Use multiple communication systems as blockchain nodes to generate a blockchain communication platform;
    所述区块链通讯平台中每个区块链节点将本节点的网络通讯记录共享到所述区块链通讯平台的区块链中;Each block chain node in the block chain communication platform shares the network communication record of the node in the block chain of the block chain communication platform;
    通过所述区块链获取***目标通讯对应的每个区块链节点的网络通讯记录;Obtain the network communication record of each blockchain node corresponding to the target communication of the system through the blockchain;
    从所述***目标通讯对应的每个区块链节点的网络通讯记录中调取出***通讯信息,根据每个所述***通讯信息生成所述***目标通讯的目标调用链路;Retrieve system communication information from the network communication record of each blockchain node corresponding to the system target communication, and generate the target call link of the system target communication according to each of the system communication information;
    分析所述目标调用链路,根据分析结果确定所述***目标通讯的故障信息。Analyze the target call link, and determine the failure information of the system target communication according to the analysis result.
  12. 根据权利要求11所述的计算机设备,其中,所述区块链通讯平台中每个区块链节点将本节点的网络通讯记录共享到所述区块链通讯平台的区块链中,包括:The computer device according to claim 11, wherein each block chain node in the block chain communication platform shares the network communication record of the node in the block chain of the block chain communication platform, comprising:
    所述区块链通讯平台中每个区块链节点通过所述区块链通讯平台提供的通讯组件进行数据通讯;Each block chain node in the block chain communication platform performs data communication through the communication component provided by the block chain communication platform;
    所述通讯组件将所述区块链通讯平台中每个区块链节点在数据通讯过程中数据流经的网络链路的日志进行保存,并将保存后的日志打包后共享到所述区块链通讯平台的区块链中。The communication component saves the log of the network link through which data flows during the data communication process of each blockchain node in the blockchain communication platform, and packs the saved log and shares it to the block In the blockchain of the chain communication platform.
  13. 根据权利要求12所述的计算机设备,其中,所述通讯组件将所述区块链通讯平台中每个区块链节点在数据通讯过程中数据流经的网络链路的日志进行保存,包括:The computer device according to claim 12, wherein the communication component saves a log of the network link through which data flows during the data communication process of each blockchain node in the blockchain communication platform, comprising:
    所述通讯组件监控所述区块链通讯平台中每个区块链节点之间是否进行数据通讯;The communication component monitors whether data communication is carried out between each blockchain node in the blockchain communication platform;
    在进行数据通讯时,获取数据流经的各个区块链节点的节点信息以及数据通讯的通讯信息;During data communication, obtain the node information of each blockchain node through which the data flows and the communication information of data communication;
    根据所述节点信息以及所述通讯信息,生成网络链路日志,保存所述网络链路日志。According to the node information and the communication information, a network link log is generated, and the network link log is saved.
  14. 根据权利要求11所述的计算机设备,其中,所述根据每个所述***通讯信息生成所述***目标通讯的目标调用链路之后,还包括:11. The computer device according to claim 11, wherein after said generating the target invocation link of the system target communication according to each of the system communication information, the method further comprises:
    将所述目标调用链路打包后放进所述区块链通讯平台的区块链中。Pack the target call link and put it into the blockchain of the blockchain communication platform.
  15. 根据权利要求14所述的计算机设备,其中,所述将所述目标调用链路打包后放进所述区块链通讯平台的区块链中之后,还包括:The computer device according to claim 14, wherein after the said target call link is packaged and placed in the blockchain of the blockchain communication platform, it further comprises:
    控制所述区块链通讯平台中每个区块链节点对所述区块链中所有的网络通讯记录以及所述目标调用链路有平等的操作权限。Control each block chain node in the block chain communication platform to have equal operation authority to all network communication records in the block chain and the target call link.
  16. 根据权利要求15所述的计算机设备,其中,所述控制所述区块 链通讯平台中每个区块链节点对所述区块链中所有的网络通讯记录以及所述目标调用链路有平等的操作权限之后,还包括:The computer device according to claim 15, wherein the control of each blockchain node in the blockchain communication platform has equal access to all network communication records in the blockchain and the target call link After the operation authority, it also includes:
    所述区块链通讯平台中任一区块链节点分析所述目标调用链路中,每个通讯的区块链节点的通讯状况,根据所述通讯状况判断各个通讯的区块链节点的通讯是否有误;Any blockchain node in the blockchain communication platform analyzes the communication status of each communicating blockchain node in the target call link, and judges the communication of each communicating blockchain node according to the communication status Whether it is wrong
    若任一通讯的区块链节点的通讯存在错误,将错误信息打包后放入所述区块链中,并根据所述错误信息向所述目标调用链路对应的每个区块链节点进行错误提醒。If there is an error in the communication of any communicating blockchain node, the error information is packaged and put into the blockchain, and the error information is sent to each blockchain node corresponding to the target call link Error reminder.
  17. 根据权利要求16所述的计算机设备,其中,所述根据所述错误信息向所述目标调用链路对应的每个区块链节点进行错误提醒之后,还包括:The computer device according to claim 16, wherein after the error reminding to each blockchain node corresponding to the target call link according to the error information, the method further comprises:
    所述目标调用链路对应的任一区块链节点根据所述错误信息对存在通讯错误的区块链节点进行通讯状况更正,根据更正后的信息对所述目标调用链路进行修改,将修改后的目标调用链路进行打包后放入所述区块链中。Any blockchain node corresponding to the target invocation link corrects the communication status of the blockchain node with a communication error according to the error information, and modifies the target invocation link according to the corrected information. The latter target call link is packaged and put into the blockchain.
  18. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现基于***调用链路的通讯故障分析方法,其中,所述基于***调用链路的通讯故障分析方法包括以下步骤:A computer-readable storage medium has a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, a communication failure analysis method based on a system call link is realized, wherein the system call link-based The communication failure analysis method includes the following steps:
    将多个通讯的通讯***作为区块链节点,生成区块链通讯平台;Use multiple communication systems as blockchain nodes to generate a blockchain communication platform;
    所述区块链通讯平台中每个区块链节点将本节点的网络通讯记录共享到所述区块链通讯平台的区块链中;Each block chain node in the block chain communication platform shares the network communication record of the node in the block chain of the block chain communication platform;
    通过所述区块链获取***目标通讯对应的每个区块链节点的网络通讯记录;Obtain the network communication record of each blockchain node corresponding to the target communication of the system through the blockchain;
    从所述***目标通讯对应的每个区块链节点的网络通讯记录中调取出***通讯信息,根据每个所述***通讯信息生成所述***目标通讯的目标调用链路;Retrieve system communication information from the network communication record of each blockchain node corresponding to the system target communication, and generate the target call link of the system target communication according to each of the system communication information;
    分析所述目标调用链路,根据分析结果确定所述***目标通讯的故障信息。Analyze the target call link, and determine the failure information of the system target communication according to the analysis result.
  19. 根据权利要求18所述的计算机可读存储介质,其中,所述区块链通讯平台中每个区块链节点将本节点的网络通讯记录共享到所述区块链通讯平台的区块链中,包括:The computer-readable storage medium according to claim 18, wherein each blockchain node in the blockchain communication platform shares the network communication record of the node in the blockchain of the blockchain communication platform ,include:
    所述区块链通讯平台中每个区块链节点通过所述区块链通讯平台提供的通讯组件进行数据通讯;Each block chain node in the block chain communication platform performs data communication through the communication component provided by the block chain communication platform;
    所述通讯组件将所述区块链通讯平台中每个区块链节点在数据通讯过程中数据流经的网络链路的日志进行保存,并将保存后的日志打包后共享到所述区块链通讯平台的区块链中。The communication component saves the log of the network link through which data flows during the data communication process of each blockchain node in the blockchain communication platform, and packs the saved log and shares it to the block In the blockchain of the chain communication platform.
  20. 根据权利要求19所述的计算机可读存储介质,其中,所述通讯组件将所述区块链通讯平台中每个区块链节点在数据通讯过程中数据流 经的网络链路的日志进行保存,包括:The computer-readable storage medium according to claim 19, wherein the communication component saves a log of the network link through which data flows during the data communication process of each blockchain node in the blockchain communication platform ,include:
    所述通讯组件监控所述区块链通讯平台中每个区块链节点之间是否进行数据通讯;The communication component monitors whether data communication is carried out between each blockchain node in the blockchain communication platform;
    在进行数据通讯时,获取数据流经的各个区块链节点的节点信息以及数据通讯的通讯信息;During data communication, obtain the node information of each blockchain node through which the data flows and the communication information of data communication;
    根据所述节点信息以及所述通讯信息,生成网络链路日志,保存所述网络链路日志。According to the node information and the communication information, a network link log is generated, and the network link log is saved.
PCT/CN2020/086229 2019-06-19 2020-04-22 Communication failure analysis method, device, and blockchain communication platform WO2020253367A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910532772.2 2019-06-19
CN201910532772.2A CN110380893B (en) 2019-06-19 2019-06-19 Communication fault analysis method and device and block chain communication platform

Publications (1)

Publication Number Publication Date
WO2020253367A1 true WO2020253367A1 (en) 2020-12-24

Family

ID=68248958

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/086229 WO2020253367A1 (en) 2019-06-19 2020-04-22 Communication failure analysis method, device, and blockchain communication platform

Country Status (2)

Country Link
CN (1) CN110380893B (en)
WO (1) WO2020253367A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110380893B (en) * 2019-06-19 2022-08-12 深圳壹账通智能科技有限公司 Communication fault analysis method and device and block chain communication platform
CN113495750B (en) * 2020-04-01 2023-02-10 中移物联网有限公司 Upgrade detection method and device for equipment and server
CN111405074B (en) * 2020-06-08 2020-09-08 南京邮电大学 Data center network fault diagnosis and automatic configuration method based on hybrid chain

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105516297A (en) * 2015-12-04 2016-04-20 新浪网技术(中国)有限公司 Information reporting method and device
CN109598505A (en) * 2018-10-31 2019-04-09 阿里巴巴集团控股有限公司 A kind of qualitative data treating method and apparatus based on block chain
CN109617759A (en) * 2018-12-04 2019-04-12 中钞***产业发展有限公司杭州区块链技术研究院 Block catenary system stability test method, apparatus, equipment and storage medium
WO2019087006A1 (en) * 2017-11-02 2019-05-09 nChain Holdings Limited Computer-implemented systems and methods for combining blockchain technology with digital twins
CN110380893A (en) * 2019-06-19 2019-10-25 深圳壹账通智能科技有限公司 Communication failure analysis method, device and block chain communication platform

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571464B (en) * 2010-12-16 2015-06-03 中兴通讯股份有限公司 Link tracking processing method and system
CN109474489B (en) * 2018-11-02 2021-04-20 新华三信息安全技术有限公司 Link detection method, device and network equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105516297A (en) * 2015-12-04 2016-04-20 新浪网技术(中国)有限公司 Information reporting method and device
WO2019087006A1 (en) * 2017-11-02 2019-05-09 nChain Holdings Limited Computer-implemented systems and methods for combining blockchain technology with digital twins
CN109598505A (en) * 2018-10-31 2019-04-09 阿里巴巴集团控股有限公司 A kind of qualitative data treating method and apparatus based on block chain
CN109617759A (en) * 2018-12-04 2019-04-12 中钞***产业发展有限公司杭州区块链技术研究院 Block catenary system stability test method, apparatus, equipment and storage medium
CN110380893A (en) * 2019-06-19 2019-10-25 深圳壹账通智能科技有限公司 Communication failure analysis method, device and block chain communication platform

Also Published As

Publication number Publication date
CN110380893A (en) 2019-10-25
CN110380893B (en) 2022-08-12

Similar Documents

Publication Publication Date Title
WO2020253367A1 (en) Communication failure analysis method, device, and blockchain communication platform
US6925586B1 (en) Methods and systems for centrally-controlled client-side filtering
US7308597B2 (en) Analysis of pipelined networks
US8135979B2 (en) Collecting network-level packets into a data structure in response to an abnormal condition
US9973582B2 (en) Method and apparatus for bi-directional communication and data replication between multiple locations during intermittent connectivity
WO2016184175A1 (en) Database processing method and apparatus
CN102385582A (en) Method, server and system for processing production test data
CN106911648B (en) Environment isolation method and equipment
US9413542B2 (en) Managing data feeds
CN106126419A (en) The adjustment method of a kind of application program and device
EP3416354A1 (en) Method and apparatus for bi-directional communication and data replication between multiple locations during intermittent connectivity
KR20090123518A (en) Real-time data replication system
CN117273628A (en) Business processing system, method, device and medium based on flow automation
US11914495B1 (en) Evaluating machine and process performance in distributed system
US11184113B2 (en) Packet replay in response to checksum error
CN115643271A (en) Method, device, server and medium for synchronizing multi-application data on cloud
CN107330089B (en) Cross-network structured data collection system
CN117440410B (en) FTP protocol-based debugging control method and debugging controller
WO2023221520A1 (en) Data access method and apparatus, electronic device and storage medium
CN113726865B (en) Data transmission and collaboration system based on edge calculation
CN117201292B (en) Method capable of accurately positioning request call exception among micro services
US20240005182A1 (en) Streaming Media Processing Method, Device and Electronic Equipment Based on Inference Service
CN114513502B (en) File processing method and device, electronic equipment and storage medium
EP2739010B1 (en) Method for improving reliability of distributed computer systems based on service-oriented architecture
CN117615057A (en) Fault detection method, device, system, computer equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20825965

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20825965

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 290322)

122 Ep: pct application non-entry in european phase

Ref document number: 20825965

Country of ref document: EP

Kind code of ref document: A1