Disclosure of Invention
The present application mainly aims to provide a node monitoring method based on a block chain, which solves the problem of high cost of uniformly arranging node detection in the prior art.
In order to achieve the above object, according to an aspect of the present application, there is provided a node monitoring method based on a block chain, including:
registering an account of the monitoring system and becoming a temporary node;
storing account conditions of corresponding accounts in the monitoring system by the nodes;
the temporary node participates or receives tasks of the monitoring system, manages the executed tasks and inquires historical participation task records;
and executing each network service monitoring task received by the node, and feeding back a corresponding result.
Optionally, the account condition includes a rights accumulation, a consumable credit.
Optionally, the method further comprises: and operating a browser plug-in, and registering an account number of the monitoring system in the browser plug-in.
Optionally, before operating the abortus plug-in, the method further comprises: and downloading the browser plug-in.
Optionally, the method further comprises: and when the account condition of the temporary node reaches a preset threshold value, the temporary node can be applied to become a stable node.
Optionally, the monitoring node applying and accessing includes:
s201: an individual user needs to apply for an account through registration;
s202: installing a relevant browser plug-in on personal equipment needing to participate in network monitoring;
s203: the plug-in detects the equipment environment, including the contents such as bandwidth, network service provider, equipment address and equipment identification number, and does not relate to the personal privacy in the equipment;
s204: the account can be bound with one or more personal devices capable of surfing the Internet, and the bound device can log in a related account;
s205: each device can only accept one task each time, and the device identification is carried out according to the device identification number;
s206: after the device receives the task, the pre-installed browser plug-in automatically carries out related tasks;
s207: after the task is completed, the task report is issued to the account bound to the equipment.
Optionally, the applying for the monitoring service includes: a monitoring service application user submits a related monitoring request to the system; after receiving the tasks, the data processing nodes are decomposed into a plurality of tasks through intelligent contracts, and node condition requirements of the decomposed tasks and the received tasks are published according to a preset algorithm; the related nodes access the tasks to perform corresponding detection or monitoring tasks, the nodes completing the tasks submit the tasks, multiple sampling mechanisms are adopted to calculate the mean value and the peak value of the detection results when the multiple nodes execute the same task together, the contribution degree of the tasks is calculated according to the closeness of the submitted results and the final acquired value, other nodes perform verification, and if the verification is passed, the contribution of the related tasks is recorded and certain feedback excitation is obtained.
According to an aspect of the present application, there is also provided a node monitoring system based on a block chain, including:
the personal account module is used for storing the corresponding account number conditions of the individual in the system, including rights and interests accumulation and consumable points;
the task management module is used for the node user to participate or receive the system task, manage the task in execution and inquire the history participation task record;
and the monitoring analysis module is used for executing various network service monitoring tasks received by the user and feeding back corresponding results.
There is also provided according to an aspect of the application a computer device comprising a memory, a processor and a computer program stored in the memory and executable by the processor, the processor implementing the method of any one of the above when executing the computer program.
There is also provided according to an aspect of the application a computer-readable storage medium, a non-volatile readable storage medium, having stored therein a computer program which, when executed by a processor, implements the method of any of the above.
There is also provided, according to an aspect of the present application, a computer program product comprising computer readable code which, when executed by a computer device, causes the computer device to perform the method of any of the above.
Compared with the prior art, the node detection method provided by the application has the following advantages:
redundancy: based on the distributed characteristic, all nodes in the system designed by the patent are distributed and independent, and the reliability of the collected monitoring data is ensured by using higher redundancy.
Globalization: based on the characteristics of the distributed system, the service application party can apply for the related service monitoring service in any region of the global access network and obtain relatively consistent monitoring analysis results, and relatively incomplete monitoring results are not obtained due to the limitation of the region and network conditions of the service provider like the traditional centralized monitoring service.
Visualization of the whole network: all monitoring nodes are further refined and decomposed to specific individual terminal users from the traditional data center level, and end-to-end visual monitoring of the whole network is achieved.
Deep network AI: due to the high refinement of system nodes, the system can collect data on a standard workstation, an Internet of things system and mobile equipment, and a deep network data intelligent analysis model is further formed through the collection of the data.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Furthermore, the term "connected", is to be understood in a broad sense. For example, it may be a fixed connection, a removable connection, or a unitary construction; can be a mechanical connection, or an electrical connection; may be directly connected, or indirectly connected through intervening media, or may be interconnected between two devices, elements or components. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Referring to fig. 1, in an embodiment of the present application, a node monitoring method based on a block chain is provided, including:
s102: registering an account of the monitoring system and becoming a temporary node;
s104: storing account conditions of corresponding accounts in the monitoring system by the nodes;
s106: the temporary node participates or receives tasks of the monitoring system, manages the executed tasks and inquires historical participation task records;
s108: and executing each network service monitoring task received by the node, and feeding back a corresponding result.
In an embodiment of the present application, the account condition includes a rights accumulation and a consumable credit.
In an embodiment of the present application, the node monitoring method based on a block chain further includes:
s101: and operating a browser plug-in, and registering an account number of the monitoring system in the browser plug-in.
In an embodiment of the present application, before operating the abortive device plug-in, the method further comprises:
s100: and downloading the browser plug-in.
In an embodiment of the present application, the node monitoring method based on a block chain further includes:
and when the account condition of the temporary node reaches a preset threshold value, the temporary node can be applied to become a stable node.
Referring to fig. 2, the present application further provides a node monitoring system based on a block chain, including: the system comprises a personal account module, a task management module and a monitoring and analyzing module. The personal account module is used for storing the corresponding account number conditions of a person in the system, including rights and interests accumulation and consumable points; the task management module is used for the node user to participate or receive system tasks, manage the tasks in execution and inquire historical participation task records; the monitoring analysis module is used for executing various network service monitoring tasks received by the user and feeding back corresponding results.
In an embodiment of the present application, the node monitoring system based on a block chain further includes:
and the browser plug-in module is used for registering the account number of the monitoring system and becoming a temporary node.
Referring to fig. 3, in an embodiment of the present application, a monitoring node applies for and accesses to a network node, including:
s201: an individual user needs to apply for an account through registration;
s202: installing a relevant browser plug-in on personal equipment needing to participate in network monitoring;
s203: the plug-in detects the equipment environment, including the contents such as bandwidth, network service provider, equipment address and equipment identification number, and does not relate to the personal privacy in the equipment;
s204: the account can be bound with one or more personal devices capable of surfing the Internet, and the bound device can log in a related account;
s205: each device can only accept one task each time, and the device identification is carried out according to the device identification number;
s206: after the device receives the task, the pre-installed browser plug-in automatically carries out related tasks;
s207: after the task is completed, the task report is issued to the account bound to the equipment.
Referring to fig. 4, in an embodiment of the present application, the application for the monitoring service includes:
s301: a monitoring service application user submits a related monitoring request to the system;
s302: after receiving the tasks, the data processing nodes are decomposed into a plurality of tasks through intelligent contracts, and node condition requirements of the decomposed tasks and the received tasks are published according to a preset algorithm;
s303: the related nodes access the tasks to perform corresponding detection or monitoring tasks, and the nodes completing the tasks submit the tasks;
s304: when a plurality of nodes execute the same task together, a multi-sampling mechanism is adopted to calculate the mean value and the peak value of the detection result;
s305: calculating the contribution degree of the task according to the closeness of the submitted result and the last adopted value;
s306: and other nodes carry out verification, and if the verification is passed, the contribution of the relevant tasks is recorded and certain feedback excitation is obtained.
In an embodiment of the present application, the monitoring service mainly includes but is not limited to:
service availability monitoring: the node network is used for detecting and monitoring the availability of the own site or the infrastructure of the network at any time and any place.
And (3) interactive testing: ensuring that the website interaction works as expected.
Visit speed monitor: and tracking and analyzing the page loading time of the application website in an all-around manner.
Real-time alarming: the website applying for service monitoring is warned in real time, and if the service cannot be accessed, the website owner is immediately informed.
DDoS attack report: and carrying out all-dimensional multi-dimensional data analysis to form various analysis data of service performance during DDoS attack.
Path and route visualization: and providing corresponding data packet loss rate and delay by inquiring the node service path, and obtaining a website access route optimization basis.
CDN performance: the test data obtained by the multi-mode access form the CDN performance of the user at the network boundary.
BGP routing: and supervising the routing in and out of the network.
ISP monitoring: and monitoring the service data of the website network service provider to the website and providing a traceable basis.
In an embodiment of the present application, the system operation ecology includes: the patent uses system points as a unique contribution measurement system of each participant in the system, node members in the system can obtain points in a certain proportion when completing system tasks, participating in system decisions and carrying out other activities beneficial to the system, and the point attributes are divided into rights and interests functions and consumption functions. The tasks issued by the system provide two excitation forms of direct reward and corresponding integral, the terminal nodes can directly acquire the reward of the tasks (deducting the operation cost of part of the system) when submitting related network service monitoring tasks, and the terminal nodes can directly acquire the excitation without acquiring corresponding interest accumulation through the tasks.
In one embodiment of the present application, the entitlement functions include: when the user obtains the system reward points, the user obtains the corresponding interest accumulation of the points at the same time. Only the credit reward points issued by the system have the interest point attribute, thereby preventing the system interest from being illegally accumulated through the credit transaction. After the equity value is accumulated to a certain degree, higher member authority can be obtained, for example, higher feedback is obtained when the node participates in a task, higher discount authority is obtained when the node applies for service, and the like, the equity accumulation does not disappear along with the consumption and the use of points, but declines according to time, and the equity value of the node which is inactive for a long time is reduced according to a certain proportion.
In one embodiment of the present application, the consuming functions include: the obtained points can be consumed in addition to accumulating rights and interests, and can be exchanged for various monitoring services or other commercial services provided in the system. The business services are accessed and provided by third parties.
Traditional uptime and performance monitoring solutions are created by creating a network of monitoring nodes around the world. The invention is different from the traditional solution in that all detection nodes for monitoring and collecting information are formed by distributed and independent application programs, the minimum forming unit of the node is terminal user level rather than data center level, the inventive measure allows the system to construct more extensive and diversified data acquisition and built-in redundancy points, and simultaneously realizes end-to-end visibility, expands the network monitoring from data center level to individual user level mainly based on individual mobile terminal, and greatly expands the comprehensiveness of network service monitoring.
The main invention of the patent comprises the following parts: 1) a system concept architecture; 2) ecological design of a system; 3) designing a monitoring node; 4) service and incentive feedback mechanisms;
1) the system concept architecture, like the traditional centralized time and performance monitoring solution, creates a network of monitoring nodes around the world. The system is different from the traditional scheme in that a multi-centralized data processing system and distributed monitoring nodes are adopted, the nodes for monitoring and collecting information are formed by distributed and independent application programs, and the minimum forming unit of the nodes is a personal terminal user instead of a data center level. An individual user needs to apply for registering a system account and download a corresponding browser plug-in, and an individual device which logs in an account and runs a related plug-in becomes a temporary node for claiming and completing related tasks (service monitoring, result verification and the like), and related incentives are fed back to the login account after the tasks are completed. At the same time, the user can apply for becoming a stable node, which needs to have a relatively stable area range and network provider (ISP) and guarantee a stable access time. Compared with the temporary node, the stable node has a higher probability of applying for the system task and has a larger proportion of task return.
2) Ecological design of system
The patent uses system points as a unique contribution measurement system of each participant in the system, node members in the system can obtain points in a certain proportion when completing system tasks, participating in system decisions and carrying out other activities beneficial to the system, and the point attributes are divided into rights and interests functions and consumption functions. The equity function: the credit rights represent the rights owned by the member in the system; a consuming function: the obtained points can be consumed in addition to accumulating rights and interests, and can be exchanged for various monitoring services or other commercial services provided in the system.
3) Monitoring node design
The invention uses the lightweight plug-in design, and the terminal user can register and apply for the monitoring node only by installing the corresponding plug-in the browser of the own equipment. After the successful registration application is the monitoring node, various tasks issued by the system can be participated in through the browser loaded with the plug-in. The plug-in mainly comprises a personal account module, a task management module and a monitoring analysis module. The personal account module mainly stores the corresponding account number conditions of the individual in the system, including rights and interests accumulation, consumable points and the like; the task management module is mainly used for node users to participate in/receive system tasks, manage tasks in execution, inquire historical participation task records and the like; the monitoring analysis module is mainly used for executing various network service monitoring tasks received by the user and feeding back corresponding results.
4) Service and incentive feedback mechanism
The system adopts a payment system, firstly, a user uses the system designed by the patent to monitor network service, firstly, the user submits a relevant application to the system and pays a certain fee, a data processing node automatically decomposes a user request according to a function contract, the decomposed task and a monitoring node for carrying out a corresponding task are issued to the whole network according to the requirement, after receiving the task, the nodes meeting the condition execute relevant operation, after operation submission, the contribution degree of each node participating in the task is automatically distributed according to the result, and each node automatically obtains the task reward corresponding to the share according to the contribution degree.
Referring to fig. 5, the present application further provides a computer device including a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the method of any one of the above methods when executing the computer program.
Referring to fig. 6, the present application further provides a computer-readable storage medium, a non-volatile readable storage medium, having stored therein a computer program, which when executed by a processor implements the method of any of the above.
The present application also provides a computer program product comprising computer readable code which, when executed by a computer device, causes the computer device to perform the method of any of the above.
The method is based on distributed detection node architecture design, two stages of detection nodes are further lightened from a data center stage to a personal terminal by utilizing a block chain, and a more comprehensive redundant network service detection and monitoring solution is realized. The design of detection service is carried out by utilizing the free bandwidth and computing resources of a personal terminal (desktop \ mobile device) in the form of plug-in, and various detection, monitoring services and network service detection, monitoring and terminal user personal consumption economic ecological models are integrated based on system integration.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and they may alternatively be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, or fabricated separately as individual integrated circuit modules, or fabricated as a single integrated circuit module from multiple modules or steps. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.