CN108768792B - Network detection system - Google Patents

Network detection system Download PDF

Info

Publication number
CN108768792B
CN108768792B CN201810739547.1A CN201810739547A CN108768792B CN 108768792 B CN108768792 B CN 108768792B CN 201810739547 A CN201810739547 A CN 201810739547A CN 108768792 B CN108768792 B CN 108768792B
Authority
CN
China
Prior art keywords
detection
task
accounting
module
check value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201810739547.1A
Other languages
Chinese (zh)
Other versions
CN108768792A (en
Inventor
欧阳德志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wangsu Science and Technology Co Ltd
Original Assignee
Wangsu Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wangsu Science and Technology Co Ltd filed Critical Wangsu Science and Technology Co Ltd
Priority to CN201810739547.1A priority Critical patent/CN108768792B/en
Publication of CN108768792A publication Critical patent/CN108768792A/en
Application granted granted Critical
Publication of CN108768792B publication Critical patent/CN108768792B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/12Network monitoring probes
    • 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/14Network analysis or design
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/18Protocol analysers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Abstract

The embodiment of the invention relates to the technical field of network testing, and discloses a network detection system. The network detection system comprises a task generation module, a task processing module and a task processing module, wherein the task generation module generates a detection task and detection task information of a detection target according to preset configuration information of the detection target; the accounting module writes the detection task information into the block chain when receiving the detection task information; after acquiring the detection task information from the block chain, the detection module executes the detection task of the detection target according to the detection task information, acquires the detection result of the detection target and initiates an accounting request to the accounting module; the accounting module calculates the check value of the detection result according to the accounting request in a preset mode and writes the check value into the block chain; and when the check value is written into the block chain, the data analysis module analyzes the detection result to obtain the health degree of the detection target. In the invention, the detection task information and the detection result check value are tamper-proof, the detection task and the detection result are prevented from being modified, and the security is higher.

Description

Network detection system
Technical Field
The embodiment of the invention relates to the technical field of network testing, in particular to a network detection system.
Background
At present, the network operation quality is tested and evaluated, so that a basis can be provided for network planning, construction and operation, and good user experience service is further provided for an internet end user. Network test data acquisition is the basis for evaluating the network operation quality, and in the prior art, network test tasks can be executed from distributed detection nodes, network test data can be acquired, and the network test data can be sent to a central server of a network for storage.
The inventor finds that at least the following problems exist in the prior art: in the prior art, the network test tasks and the network test data are stored in the central server, however, when the central server is attacked by human malicious attacks, the stored network test tasks and the stored network test data may be modified, and at this time, the health degree of each edge node in the network, which is obtained by the scheduling server of the network according to the network test data, is inaccurate.
Disclosure of Invention
The embodiment of the invention aims to provide a network detection system, which realizes the tamper resistance of the detection task information and the check value of the detection result, thereby preventing the detection task and the detection result from being modified and having higher safety; and moreover, the accuracy of the health degree of the detection target calculated according to the detection result can be ensured.
In order to solve the above technical problem, an embodiment of the present invention provides a network probing system, including: the system comprises a task generating module, a data analyzing module, a detecting module and an accounting module; the task generating module is used for generating a detection task and detection task information of the detection target according to preset configuration information of the detection target; the accounting module is used for writing the detection task information into the block chain when receiving the detection task information; the detection module is used for executing a detection task of a detection target according to the detection task information after the detection task information is acquired from the block chain, acquiring a detection result of the detection target and initiating an accounting request to the accounting module; the accounting module is also used for calculating a check value of the detection result according to the accounting request in a preset mode and writing the check value into the block chain; and the data analysis module is used for analyzing the detection result when the check value is written into the block chain, and acquiring the health degree of the detection target.
Compared with the prior art, the task generating module generates the detection task of the detection target and corresponding detection task information according to the preset configuration information of the detection target, and sends the detection task information to the accounting module, and the accounting module writes the detection task information into the block chain when receiving the detection task information; after acquiring the detection task information from the block chain, the detection module executes a corresponding detection task according to the detection task information, acquires a detection result and initiates an accounting request to the accounting module; the accounting module calculates the check value of the detection result according to the accounting request in a preset mode and writes the check value into the block chain; and the data analysis module analyzes the detection result when the check value is written into the block chain to obtain the health degree of the detection target. Writing the detection task information and the check value of the detection result into the block chain, so as to ensure that the detection task information and the detection result cannot be modified, and if the detection task or the detection result is modified, the modified detection task or the check value of the detection result cannot be matched with the detection task information or the check value corresponding to the block chain, so that the detection task and the detection result cannot be modified and have higher safety; and moreover, the accuracy of the health degree of the detection target calculated according to the detection result can be ensured.
In addition, the network probing system further comprises: a storage module; the detection module is also used for calculating a check value of the detection result according to a preset mode after the detection result of the detection target is obtained and recording the check value as an initial check value; the detection module is specifically used for sending the detection result and the initial check value to the storage module for storage and sending an accounting request to the accounting module; the accounting module is specifically used for acquiring the detection result from the storage module according to the accounting request and calculating the check value of the detection result according to a preset mode; and the accounting module is specifically used for writing the check value into the block chain when the check value is judged to be matched with the initial check value. In the embodiment, after the detection module obtains the detection result, the detection module calculates a check value of the detection result according to a preset mode and records the check value as an initial check value; the accounting module judges whether the current check value is matched with the check value when the check value of the detection result is written into the block chain; when the current check value is judged to be matched with the check value, the detection result is not maliciously modified or counterfeited and submitted, the detection result is valid, and then the check value is written into the block chain, so that the check value recorded on the block chain is ensured to be the check value of the valid detection result; that is, the check value based on the same detection result is unique, the validity of the detection result is verified by calculating the check value of the detection result twice, and the detection result is ensured not to be maliciously modified or counterfeited and submitted, so that the accuracy of the health degree of the obtained detection target after the detection result is analyzed is further ensured.
In addition, the probing module comprises a plurality of probing nodes; the detection task information at least comprises a task identity and a detection node requirement; the detection node is used for initiating a detection participation request to the accounting module when judging that the detection node meets the requirements of the detection node; the accounting module is used for selecting at least one detection node from the detection nodes for executing the detection task according to the participation detection request; the detection node is used for acquiring a detection task of a detection target from the task generation module according to the task identity mark and executing the detection task. In this embodiment, the probe node meeting the probe node requirement may initiate a probe participation request to the accounting module, and the accounting module selects the probe node for executing the probe task according to the probe participation request, thereby forming a competitive execution mechanism of the probe task.
In addition, the participation detection request comprises historical task execution conditions and current task saturation. The present embodiment provides specific contents for participating in a probe request.
In addition, the detection task information also comprises detection conditions; the detection node is used for judging whether the detection task of the detection target is effective according to the detection condition, acquiring the detection task of the detection target from the task generation module according to the task identity mark when the detection task is judged to be effective, and executing the detection task. In this embodiment, the detection node determines the validity of the detection task before executing the detection task, and executes the detection task when determining that the detection task is valid, so as to avoid executing an invalid detection task.
In addition, the detection condition includes a task validity period; the detection node is specifically configured to determine whether the detection task is within the task validity period, and determine that the detection task is valid when the detection task is within the task validity period. The embodiment provides a specific implementation manner for judging whether the detection task is effective or not.
In addition, the accounting module is further configured to pay the detection cost to the detection node corresponding to the effective detection result according to a preset payment contract after writing the initial check value into the block chain; and when the check value of the detection result is matched with the initial check value, the detection result is valid. In this embodiment, after the detection node executes the detection task of the detection target, if the obtained detection result is valid, the corresponding detection cost is paid to the detection node, and the incentive mechanism is formed, so that the enthusiasm of the detection node is improved.
In addition, the accounting module comprises a plurality of accounting nodes; the task generating module is specifically used for generating a detection task and detection task information of the detection target according to preset configuration information of the detection target, and broadcasting the detection task information so that an accounting node with an accounting right can receive the detection task information; the accounting node is used for writing the detection task information into the block chain when receiving the detection task information and broadcasting first accounting information containing the detection task information so that the accounting node without accounting right writes the detection task information into the block chain according to the first accounting information; the detection module is specifically used for initiating an accounting request to an accounting node with an accounting right; the accounting node is used for calculating the check value of the detection result according to the accounting request and a preset mode; the accounting node is further used for broadcasting second accounting information containing the check value when the check value is written into the block chain, so that the accounting node without accounting right writes the check value into the block chain according to the second accounting information. In this embodiment, the plurality of accounting nodes perform distributed accounting, that is, accounts of the plurality of accounting nodes are consistent, and even if the account of one accounting node is tampered, other accounting nodes still have correct accounts, so that the method has high security.
In addition, the most powerful accounting node in the plurality of accounting nodes is the accounting node with the accounting right. In this embodiment, a specific way of selecting the accounting node with the accounting right is provided.
In addition, at least one of the plurality of accounting nodes is a probe target. In this embodiment, the accounting node may reuse the probe target, saving cost.
In addition, the probing node requirements include one or any combination of the following: the method comprises the following steps of detecting node area requirements, detecting node operator requirements and detecting node quantity requirements. The embodiment provides specific contents required by the detection node.
In addition, the preset mode is a hash algorithm. This embodiment provides a specific type of the preset manner.
In addition, the task generation module, the storage module and the data analysis module are integrated in one server.
In addition, the server is a central server for detecting the target. In the embodiment, the central server of the server reuse detection target integrating the task generation module, the storage module and the data analysis module is more convenient and saves cost.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
FIG. 1 is a block schematic diagram of a network probing system according to a first embodiment of the present invention;
FIG. 2 is a block schematic diagram of a network probing system according to a second embodiment of the present invention;
FIG. 3 is a block schematic diagram of a network probing system according to a third embodiment of the present invention;
fig. 4 is a block schematic diagram of a network probing system according to a fifth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments.
A first embodiment of the present invention relates to a network probing system for measuring the health of a probe target in a network, the network comprising a central server and a plurality of edge nodes, the probe target being all nodes of the network, i.e. the network probing system can calculate the health of the nodes. The Network is, for example, a Content Delivery Network (CDN Network). Referring to fig. 1, the network probe system includes a task generating module 1, a data analyzing module 2, a probe module 3, and a billing module 4.
The task generating module 1 is configured to generate a detection task of the detection target 5 and detection task information corresponding to the detection task according to preset configuration information of the detection target 5, and send the detection task information to the accounting module 4.
After receiving the probe task information, the accounting module 4 packages and writes the probe task information into one block of the block chain by running an intelligent contract on the block chain, and based on the characteristics of the block chain, the probe task information cannot be modified, thereby ensuring that the probe task corresponding to the probe task information cannot be modified.
The detection module 3 is configured to, after acquiring detection task information from the block chain in the accounting module 4, execute a detection task of the detection target 5 according to the detection task information, where the detection task is, for example, TCP/IP detection or HTTP detection, acquire a detection result of the detection target 5 after executing the detection task, and initiate an accounting request to the accounting module 4;
the accounting module 4 is further configured to calculate a check value of the detection result according to the accounting request in a preset manner, write the check value of the detection result into one block of the block chain by running an intelligent contract on the block chain, where the check value of the detection result is not modifiable and the check value of the detection result is unique based on the characteristic of the block chain, and therefore, it is possible to determine whether the detection result is modified by calculating the check value of the detection result and matching the calculated check value with the check value on the block chain, so that it is possible to ensure that the detection result is not modified.
In one example, the preset manner is a hash algorithm, that is, the detection module 3 calculates a hash value of the detection result as a check value of the detection result through the hash algorithm.
And the data analysis module 2 is used for analyzing the detection result when the check value is written into the block chain, and acquiring the health degree of the detection target. The data analysis module 2 can check the block chain in real time, and when the check value of the detection result is written into the block chain, analyze the detection result to obtain the health degree of the detection target.
Compared with the prior art, the task generating module generates the detection task of the detection target and corresponding detection task information according to the preset configuration information of the detection target, and sends the detection task information to the accounting module, and the accounting module writes the detection task information into the block chain when receiving the detection task information; after acquiring the detection task information from the block chain, the detection module executes a corresponding detection task according to the detection task information, acquires a detection result and initiates an accounting request to the accounting module; the accounting module calculates the check value of the detection result according to the accounting request in a preset mode and writes the check value into the block chain; and the data analysis module analyzes the detection result when the check value is written into the block chain to obtain the health degree of the detection target. Writing the detection task information and the check value of the detection result into the block chain, so as to ensure that the detection task information and the detection result cannot be modified, and if the detection task or the detection result is modified, the modified detection task or the check value of the detection result cannot be matched with the detection task information or the check value corresponding to the block chain, so that the detection task and the detection result cannot be modified and have higher safety; and moreover, the accuracy of the health degree of the detection target calculated according to the detection result can be ensured.
A second embodiment of the present invention relates to a network probing system. The second embodiment is an improvement on the first embodiment, and the main improvement lies in that: referring to fig. 2, the network probing system further includes a storage module 6.
The detection module is further used for calculating a check value of the detection result according to a preset mode after the detection result of the detection target is obtained, and recording the check value as an initial check value.
The detection module 3 is specifically configured to send the detection result and the initial check value of the detection result to the storage module 6 for storage, and initiate an accounting request to the accounting module 4; when the storage module 6 stores the detection result, the detection result is marked to be verified.
The accounting module 4 is further configured to obtain the detection result from the storage module 6 according to the accounting request, and calculate a check value of the detection result according to a preset mode; the accounting request at least comprises a task identification corresponding to the detection task of the detection target, so that the accounting module 4 can obtain the detection result of the detection task corresponding to the task identification from the storage module 6 according to the task identification, and calculate the check value of the detection result according to a preset mode.
If the preset mode for calculating the detection result by the detection module 3 is a hash algorithm, the accounting module 4 also calculates the hash value of the detection result as the check value of the detection result by the hash algorithm.
The accounting module 4 is further configured to determine whether the current check value matches the initial check value through an intelligent contract running on the block chain, that is, the accounting module 4 matches the check value of the detection result calculated by itself with the initial check value of the detection result calculated by the detection module 3 to verify whether the detection result is maliciously modified in the transmission and storage processes, and when it is determined that the check value matches the initial check value, it indicates that the detection result is not maliciously modified, and the detection result is valid, and writes the check value of the valid detection result into one block of the block chain, and based on the characteristics of the block chain, the check value of the valid detection result cannot be modified, and the check value of the detection result is unique, thereby ensuring that the corresponding detection result of the check value stored in the storage module 6 cannot be modified. In addition, the accounting module 4 may also notify the storage module 6 that the detection result is valid, and the storage module 6 changes the mark of the detection result from to-be-verified to be valid.
In one example, the task generating module 1, the storage module 6, and the data analyzing module 2 are integrated in one server, but not limited thereto, and the task generating module 1, the storage module 6, and the data analyzing module 2 may be separately deployed. Preferably, the server is a central server for detecting the target 5, that is, a central server of the network, which is more convenient and cost-saving.
Compared with the first embodiment, the detection module calculates the check value of the detection result according to a preset mode after obtaining the detection result, and records the check value as the initial check value; the accounting module judges whether the current check value is matched with the check value when the check value of the detection result is written into the block chain; when the current check value is judged to be matched with the check value, the detection result is not maliciously modified or counterfeited and submitted, the detection result is valid, and then the check value is written into the block chain, so that the check value recorded on the block chain is ensured to be the check value of the valid detection result; that is, the check value based on the same detection result is unique, the validity of the detection result is verified by calculating the check value of the detection result twice, and the detection result is ensured not to be maliciously modified or counterfeited and submitted, so that the accuracy of the health degree of the obtained detection target after the detection result is analyzed is further ensured.
A third embodiment of the present invention relates to a network probing system. The third embodiment is an improvement on the first embodiment, and the main improvement lies in that: referring to fig. 3, the probing module 3 includes a plurality of probing nodes 31.
The plurality of detection nodes 31 all acquire detection task information from the block chain in the accounting module 4, the detection task information at least comprises task identity identifiers and detection node requirements, each detection node 31 judges whether the detection node 31 meets the detection node requirements in the detection task information after acquiring the detection task information, and if the detection node requirements are judged to be met, the detection node initiates a participation detection request to the accounting module 4.
In one example, the probing node 31 is required to include one or any combination of the following: the method comprises the following steps of detecting node area requirements, detecting node operator requirements and detecting node quantity requirements. Wherein, the probing node area requires that the probing node 31 in the preset area can initiate a probing participation request to the accounting module 4; the probing node operator requests that the probing node 31 of the preset operator can initiate a probing participation request to the accounting module 4; the number of probing nodes requires that only a preset number of probing nodes 31 can initiate a participation probe request to the accounting module 4.
The accounting module 4 is configured to select at least one probe node 31 from the probe nodes 31 for performing a probe task according to the participating probe request by an intelligent contract running on the blockchain. The participation detection request comprises a historical task execution condition and a current task saturation, the historical task execution condition is whether the detection task obtained by the history is effectively executed, and the more detection tasks are effectively executed, the higher the credit degree is; the current task saturation is whether an unexecuted detection task exists at present; for example, three probe nodes 31 initiate probe requests for participating in a certain probe task to the accounting module 4, the accounting module first determines whether there are currently unexecuted probe tasks for the three probe nodes 31, and if there are currently unexecuted probe tasks for a certain probe node 31, the probe node is excluded; then, the probing node 31 with high credit is selected from the remaining two probing nodes 31 to perform the probing task.
The detection node 31 selected by the accounting module 4 acquires the corresponding detection task from the task generating module 1 according to the task identity, executes the detection task, acquires the detection result of the detection target 5, calculates the check value of the detection result according to a preset mode, and records the check value as the initial check value.
In this embodiment, the probe task information further includes information such as an address of the probe target 5 and a probe frequency for executing the probe task.
Preferably, when the accounting module 4 determines that the check value matches the initial check value through the intelligent contract running on the block chain, the accounting module packs the check value of the valid detection result and writes the check value into one block of the block chain, and then pays the detection cost to the detection node 31 corresponding to the valid detection result according to a preset payment contract. And when the check value of the detection result is matched with the initial check value, the detection result is valid.
Compared with the first embodiment, the detection node meeting the detection node requirement can initiate a probe participation request to the accounting module, the accounting module selects the detection node for executing the detection task according to the probe participation request, a competitive execution mechanism of the detection task is formed, and the competitive execution mechanism is guaranteed by an intelligent contract running on a block chain; after the detection node executes the detection task of the detection target, if the obtained detection result is valid, the corresponding detection cost is paid to the detection node, and the formed reward mechanism improves the enthusiasm of the detection node. The present embodiment can be modified from the second embodiment to achieve the same technical effects.
A fourth embodiment of the present invention relates to a network probing system, and the fourth embodiment is an improvement on the third embodiment, and the main improvements are: the detection node executes the detection task when judging that the detection task is effective; the probe task information also includes probe conditions.
Referring to fig. 3, before acquiring a corresponding probe task from the task generating module 1 and executing the probe task according to the task identity, the probe node 31 selected by the bookkeeping module 4 determines the validity of the probe task according to the probe condition, and if the probe task of the probe target 5 is determined to be valid according to the probe condition, acquires the corresponding probe task from the task generating module 1 and executes the probe task according to the task identity.
In one example, the probing condition includes a task validity period, and the probing node 31 selected by the accounting module 4 is specifically configured to determine whether the probing task is within the task validity period, and determine that the probing task is valid when the probing task is within the task validity period. The task validity period may be a time point, and if the time for the detection node 31 to execute the detection task does not exceed the time point of the task validity period, the detection task is valid; however, the task validity period may be a time period, and if the probe node 31 executes the probe task within the time period of the task validity period after receiving the probe task information, it determines that the probe task is valid.
Compared with the third embodiment, in the present embodiment, before the detection module executes the detection task, the detection module determines the validity of the detection task, and executes the detection task when determining that the detection task is valid, so as to avoid executing an invalid detection task.
A fifth embodiment of the present invention relates to a network probing system. The fifth embodiment is an improvement on the first embodiment, and the main improvements are as follows: referring to fig. 4, the accounting module 4 comprises a plurality of accounting nodes 41. Preferably, the accounting node 41 may multiplex the probe targets 5, i.e. at least one of the plurality of accounting nodes 41 is a probe target 5, which saves costs.
The task generating module 1 is configured to generate a probe task and probe task information of the probe target 5 according to preset configuration information of the probe target, and broadcast the probe task information so that the accounting node 41 with the accounting right receives the probe task information. The accounting node 41 with the highest calculation power among the accounting nodes 41 is the accounting node 41 with the accounting right, and the specific way is that a task of calculating a check value (for example, a hash value) of a certain block is issued to the accounting nodes 41, and the accounting node 41 which calculates the check value of the block first has the accounting right of the probe task information.
It should be noted that, in this embodiment, the accounting node 41 having the accounting right may also be selected by adopting a regional accounting node extraction manner, that is, one accounting node 41 is extracted in a certain region as the accounting node 41 having the accounting right in the region.
After receiving the probe task information, the accounting node 41 with accounting right records the probe task information into one block of the block chain, and broadcasts the first accounting information containing the probe task information, and the other accounting nodes 41 (without accounting right) receive and write the probe task information into one block of the block chain according to the first accounting information, that is, the plurality of accounting nodes 41 store the probe task information in a distributed manner, thereby ensuring the consistency of the memory block chains of the plurality of accounting nodes 41.
The block head of each block stores the check value of the last block and the check value of the block, so that a plurality of blocks are connected to form a block chain.
The detection module 3 is specifically configured to, after acquiring the detection task information from the block chain in the accounting node 41 with the accounting right, initiate an accounting request to the accounting node 41 with the accounting right; the contention mode of the accounting rights of the accounting nodes 41 is the same as that described above, and is not described herein again.
The accounting node 41 with the accounting right calculates the check value of the detection result in a preset manner according to the accounting request, writes the check value of the detection result into one block of the block chain by operating an intelligent contract on the block chain, and based on the characteristics of the block chain, the check value of the detection result cannot be modified, but the check value of the detection result is unique, so that whether the detection result is modified can be judged by calculating the check value of the detection result and matching the calculated check value with the check value on the block chain, and the detection result can be ensured not to be modified.
Compared with the first embodiment, the embodiment has the advantages that the plurality of accounting nodes perform distributed accounting, and the plurality of accounting nodes perform distributed accounting, that is, accounts of the plurality of accounting nodes are consistent, even if the account of one accounting node is tampered, other accounting nodes still have correct accounts, and the security is high. It should be noted that this embodiment may also be regarded as an improvement on any one of the second to fourth embodiments, and the same technical effects may be achieved.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (12)

1. A network probing system, comprising: the system comprises a task generating module, a data analyzing module, a detecting module, a storage module and an accounting module;
the task generating module is used for generating a detection task and detection task information of the detection target according to preset configuration information of the detection target;
the accounting module is used for writing the detection task information into a block chain when the detection task information is received;
the detection module is used for executing the detection task of the detection target according to the detection task information after the detection task information is obtained from the block chain, obtaining the detection result of the detection target, calculating the check value of the detection result according to a preset mode after the detection result of the detection target is obtained, recording the check value as an initial check value, sending the detection result and the initial check value to the storage module for storage, and sending an accounting request to the accounting module;
the accounting module is further used for acquiring the detection result from the storage module according to the accounting request, calculating a check value of the detection result according to a preset mode, judging whether the current check value is matched with the initial check value through an intelligent contract running on a block chain, verifying whether the detection result is maliciously modified in the transmission and storage processes, and writing the check value into the block chain when judging that the check value is matched with the initial check value;
the data analysis module is used for analyzing the detection result when the check value is written into the block chain to obtain the health degree of the detection target;
the detection module comprises a plurality of detection nodes, and the detection task information at least comprises detection node requirements;
the detection node is used for initiating a detection participation request to the accounting module when judging that the detection node meets the requirements of the detection node;
the participation detection request comprises a historical task execution condition and a current task saturation, the historical task execution condition is whether the detection task obtained in the history is effectively executed, the current task saturation is whether the detection task which is not executed currently exists, the accounting module is used for eliminating the detection nodes which have the detection task which is not executed currently, and the detection nodes which have more detection tasks which are effectively executed are selected to execute the detection task.
2. The network probe system of claim 1, wherein the probe task information further comprises a task identity;
the accounting module is used for selecting at least one detection node from the detection nodes for executing the detection task according to the participation detection request;
and the detection node is used for acquiring the detection task of the detection target from the task generation module according to the task identity mark and executing the detection task.
3. The network probing system of claim 2 wherein said probing task information further comprises probing conditions;
the detection node is used for judging whether the detection task of the detection target is effective according to the detection condition, acquiring the detection task of the detection target from the task generation module according to the task identity mark and executing the detection task when the detection task is judged to be effective.
4. The network probing system of claim 3 wherein said probing conditions include a task validity period;
the detection node is specifically configured to determine whether the detection task is within the task validity period, and determine that the detection task is valid when the detection task is within the task validity period.
5. The network probing system according to claim 1, wherein the accounting module is further configured to pay a probing fee to the probing node corresponding to the valid probing result according to a preset payment contract after writing the check value into the block chain; and when the check value of the detection result is matched with the initial check value, the detection result is valid.
6. The network probing system of claim 1 wherein the accounting module comprises a plurality of accounting nodes;
the task generating module is specifically configured to generate a detection task and detection task information of a detection target according to preset configuration information of the detection target, and broadcast the detection task information so that the accounting node with the accounting right receives the detection task information;
the accounting node is used for writing the detection task information into the block chain when receiving the detection task information, and broadcasting first accounting information containing the detection task information so that the accounting node without accounting right writes the detection task information into the block chain according to the first accounting information;
the detection module is specifically configured to initiate an accounting request to the accounting node having the accounting right;
the accounting node is used for calculating the check value of the detection result according to the accounting request and a preset mode;
and the accounting node is further used for broadcasting second accounting information containing the check value when the check value is written into the block chain, so that the accounting node without accounting right writes the check value into the block chain according to the second accounting information.
7. The network probing system as recited in claim 6, wherein the most computationally intensive one of said plurality of accounting nodes is an accounting node with accounting rights.
8. The network probe system of claim 6, wherein at least one of the plurality of accounting nodes is the probe target.
9. The network probing system of claim 2 wherein said probing node requirements comprise one or any combination of: the method comprises the following steps of detecting node area requirements, detecting node operator requirements and detecting node quantity requirements.
10. The network probing system as recited in claim 1 wherein said predetermined manner is a hash algorithm.
11. The network probing system of claim 1 wherein said task generation module, said storage module and said data analysis module are integrated in a server.
12. The network probe system of claim 11, wherein the server is a central server of the probe target.
CN201810739547.1A 2018-07-06 2018-07-06 Network detection system Expired - Fee Related CN108768792B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810739547.1A CN108768792B (en) 2018-07-06 2018-07-06 Network detection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810739547.1A CN108768792B (en) 2018-07-06 2018-07-06 Network detection system

Publications (2)

Publication Number Publication Date
CN108768792A CN108768792A (en) 2018-11-06
CN108768792B true CN108768792B (en) 2021-02-12

Family

ID=63972789

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810739547.1A Expired - Fee Related CN108768792B (en) 2018-07-06 2018-07-06 Network detection system

Country Status (1)

Country Link
CN (1) CN108768792B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109783372A (en) * 2018-12-26 2019-05-21 中链科技有限公司 Method for testing software, device, electronic equipment and storage medium based on block chain
CN109753433A (en) * 2018-12-26 2019-05-14 中链科技有限公司 Automated testing method, device and electronic equipment based on block chain
CN109951488B (en) * 2019-03-27 2022-01-07 百度在线网络技术(北京)有限公司 Method, device, equipment and storage medium for realizing service of content distribution network
CN110474818B (en) * 2019-07-11 2023-02-28 福州博泉网络科技有限公司 Block chain network sniffer, network sniffing method and optimization method
CN111884869A (en) * 2020-05-21 2020-11-03 网宿科技股份有限公司 Method, device and system for monitoring network quality
CN111651260A (en) * 2020-06-24 2020-09-11 北京米弘科技有限公司 Network detection task scheduling method and device based on block chain technology
CN114745292B (en) * 2022-03-14 2023-09-05 优刻得科技股份有限公司 Edge container cloud detection method, device, equipment and storage medium

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217417A (en) * 2007-12-28 2008-07-09 西安西电捷通无线网络通信有限公司 A distributed IP network performance test system
CN102891779B (en) * 2012-09-27 2014-10-22 北京网瑞达科技有限公司 Large-scale network performance measuring system and method for IP network
CN104009890B (en) * 2014-06-10 2017-08-15 江苏省邮电规划设计院有限责任公司 Network quality test system and method in a kind of internet
US20160283939A1 (en) * 2015-03-25 2016-09-29 Qualcomm Incorporated System and method to prevent loss of bitcoins due to address errors
CN105976232B (en) * 2016-06-24 2020-04-28 深圳前海微众银行股份有限公司 Asset transaction method and device
CN106452785B (en) * 2016-09-29 2019-05-17 财付通支付科技有限公司 Block chain network, branch node and block chain network application method
CN106875164A (en) * 2016-12-29 2017-06-20 北京握奇智能科技有限公司 A kind of decentralization electricity transaction method and system based on block chain technology
CN106656675B (en) * 2017-01-03 2020-01-21 北京奇虎科技有限公司 Detection method and device for transmission node cluster
CN107360206B (en) * 2017-03-29 2020-03-27 创新先进技术有限公司 Block chain consensus method, equipment and system
CN107146087A (en) * 2017-04-11 2017-09-08 广东网金控股股份有限公司 A kind of quick common recognition bookkeeping methods and system based on block chain alliance chain
CN107172135A (en) * 2017-05-03 2017-09-15 施瑞琦 Method for statisticsing audience rating and system based on block chain
CN108182581B (en) * 2017-12-29 2020-08-11 北京欧链科技有限公司 Accounting method and device for block chain

Also Published As

Publication number Publication date
CN108768792A (en) 2018-11-06

Similar Documents

Publication Publication Date Title
CN108768792B (en) Network detection system
CN108846673B (en) Block data processing method, device, equipment and storage medium
Radanovic et al. Incentive schemes for participatory sensing
CN104901936B (en) A kind of method for processing business, device, terminal and server
WO2012127042A1 (en) Fast device classification
CN110300167A (en) Business information processing method, equipment and readable storage medium storing program for executing based on block chain
CN103297267B (en) A kind of methods of risk assessment of network behavior and system
CN110572480A (en) method, device and equipment for realizing calibration of test equipment
CN109842858A (en) A kind of service exception order detection method and device
CN110943884A (en) Data processing method and device
US11157948B2 (en) Method and system for independent validation of asset serving
CN111710422A (en) Identification code determination method and device, electronic equipment and readable storage medium
CN114826946A (en) Unauthorized access interface detection method, device, equipment and storage medium
CN111160919A (en) Block chain address risk assessment method and device
CN109101577A (en) A kind of data circulation method, apparatus and system
CN113765850B (en) Internet of things abnormality detection method and device, computing equipment and computer storage medium
CN110825451B (en) Configuration and verification method and device for applet page address
CN112766963A (en) Data security detection method combining block chain and digital currency and cloud computing center
CN110119602B (en) Man-machine recognition method, device, server, client and storage medium
CN109711166A (en) Leak detection method and device
CN107993155A (en) Policy information processing method, device, server and storage medium
CN109788349A (en) A kind of method and relevant apparatus detecting computing capability
CN110213341B (en) Method and device for detecting downloading of application program
CN114218577A (en) API risk determination method, device, equipment and medium
CN111159196A (en) Block chain data storage and acquisition method and device based on fragmentation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210212

CF01 Termination of patent right due to non-payment of annual fee